diff --git a/404.html b/404.html index 1d8c0d97..88496d16 100644 --- a/404.html +++ b/404.html @@ -6,10 +6,10 @@ 404 | 轻雪机器人 - + - + @@ -18,7 +18,7 @@
- + \ No newline at end of file diff --git a/assets/app.BPrFwhCc.js b/assets/app.BPrFwhCc.js new file mode 100644 index 00000000..9314b12f --- /dev/null +++ b/assets/app.BPrFwhCc.js @@ -0,0 +1 @@ +import{R as p}from"./chunks/theme.BxnBdNII.js";import{R as o,a8 as u,a9 as l,aa as c,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,ah as v,d as P,u as R,v as w,s as y,ai as C,aj as b,ak as E,al as S}from"./chunks/framework.Z6UMW4JZ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; diff --git a/assets/app.BT9SExIC.js b/assets/app.BT9SExIC.js deleted file mode 100644 index a6f28338..00000000 --- a/assets/app.BT9SExIC.js +++ /dev/null @@ -1 +0,0 @@ -import{R as p}from"./chunks/theme.DjavgrUf.js";import{R as o,a8 as u,a9 as l,aa as c,d as f,u as d,v as m,s as h,ab as g,ac as A,ad as v,ae as P,af as R,ag as w,ah as y,ai as C,aj as b,ak as E,al as S}from"./chunks/framework._avq4Ty7.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=f({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=d();return m(()=>{h(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&g(),A(),v(),s.setup&&s.setup(),()=>P(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(R,e);const t=w(e.route);return a.provide(y,t),a.component("Content",C),a.component("ClientOnly",b),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:E}),{app:a,router:e,data:t}}function D(){return c(T)}function _(){let e=o,a;return u(t=>{let n=l(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{S(a.route,t.site),e.mount("#app")})});export{j as createApp}; diff --git a/assets/chunks/@localSearchIndexen.0ahcIb7N.js b/assets/chunks/@localSearchIndexen.0ahcIb7N.js new file mode 100644 index 00000000..9fc62ebf --- /dev/null +++ b/assets/chunks/@localSearchIndexen.0ahcIb7N.js @@ -0,0 +1 @@ +const e=`{"documentCount":307,"nextId":307,"documentIds":{"0":"/en/deploy/config.html#configurations","1":"/en/deploy/config.html#basic-configuration","2":"/en/deploy/config.html#other-configurations","3":"/en/deploy/config.html#example-configuration-of-onebot-implementation-side-connected-to-nonebot","4":"/en/deploy/config.html#other","5":"/en/deploy/fandq.html#faq","6":"/en/deploy/fandq.html#frequently-asked-questions","7":"/en/deploy/fandq.html#other-questions","8":"/en/deploy/install.html#install","9":"/en/deploy/install.html#normal-installation","10":"/en/deploy/install.html#run-with-docker","11":"/en/deploy/install.html#device-requirements","12":"/en/deploy/install.html#for-other-questions-please-refer-to-faq","13":"/en/dev/api/bot/lifespan.html#module-liteyuki-bot-lifespan","14":"/en/dev/api/bot/lifespan.html#var-sync-lifespan-func","15":"/en/dev/api/bot/lifespan.html#var-async-lifespan-func","16":"/en/dev/api/bot/lifespan.html#var-lifespan-func","17":"/en/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","18":"/en/dev/api/bot/lifespan.html#var-async-process-lifespan-func","19":"/en/dev/api/bot/lifespan.html#var-process-lifespan-func","20":"/en/dev/api/bot/lifespan.html#class-lifespan","21":"/en/dev/api/bot/lifespan.html#func-init-self-none","22":"/en/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","23":"/en/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","24":"/en/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","25":"/en/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","26":"/en/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","27":"/en/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","28":"/en/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","29":"/en/dev/api/bot/lifespan.html#async-func-before-start-self-none","30":"/en/dev/api/bot/lifespan.html#async-func-after-start-self-none","31":"/en/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","32":"/en/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","33":"/en/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","34":"/en/dev/api/bot/lifespan.html#async-func-after-restart-self-none","35":"/en/dev/api/bot/#module-liteyuki-bot","36":"/en/dev/api/bot/#class-liteyukibot","37":"/en/dev/api/bot/#func-init-self-kwargs-none","38":"/en/dev/api/bot/#func-run-self","39":"/en/dev/api/bot/#func-restart-self-delay-int-0","40":"/en/dev/api/bot/#func-restart-process-self-name-optional-str-none","41":"/en/dev/api/bot/#func-init-self-args-kwargs","42":"/en/dev/api/bot/#func-init-logger-self","43":"/en/dev/api/bot/#func-stop-self","44":"/en/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","45":"/en/dev/api/bot/#func-on-after-start-self-func-lifespan-func","46":"/en/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","47":"/en/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","48":"/en/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","49":"/en/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","50":"/en/dev/api/bot/#func-get-bot-liteyukibot","51":"/en/dev/api/bot/#func-get-config-key-str-default-any-none-any","52":"/en/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","53":"/en/dev/api/comm/channel.html#module-liteyuki-comm-channel","54":"/en/dev/api/comm/channel.html#var-sync-on-receive-func","55":"/en/dev/api/comm/channel.html#var-on-receive-func","56":"/en/dev/api/comm/channel.html#var-sync-filter-func","57":"/en/dev/api/comm/channel.html#var-async-filter-func","58":"/en/dev/api/comm/channel.html#var-filter-func","59":"/en/dev/api/comm/channel.html#class-channel-generic-t","60":"/en/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","61":"/en/dev/api/comm/channel.html#func-send-self-data-t","62":"/en/dev/api/comm/channel.html#func-receive-self-t","63":"/en/dev/api/comm/channel.html#async-func-async-receive-self-t","64":"/en/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","65":"/en/dev/api/comm/channel.html#var-active-channel","66":"/en/dev/api/comm/channel.html#var-passive-channel","67":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel","68":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel","69":"/en/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","70":"/en/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","71":"/en/dev/api/comm/channel.html#func-get-channel-name-str-channel","72":"/en/dev/api/comm/channel.html#func-get-channels-dict-str-channel","73":"/en/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","74":"/en/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","75":"/en/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","76":"/en/dev/api/comm/#module-liteyuki-comm","77":"/en/dev/api/comm/event.html#module-liteyuki-comm-event","78":"/en/dev/api/comm/event.html#class-event","79":"/en/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","80":"/en/dev/api/comm/storage.html#module-liteyuki-comm-storage","81":"/en/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","82":"/en/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","83":"/en/dev/api/comm/storage.html#class-keyvaluestore","84":"/en/dev/api/comm/storage.html#func-init-self","85":"/en/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","86":"/en/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","87":"/en/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","88":"/en/dev/api/comm/storage.html#func-get-all-self-dict-str-any","89":"/en/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","90":"/en/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","91":"/en/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","92":"/en/dev/api/comm/storage.html#async-func-start-receive-loop-self","93":"/en/dev/api/comm/storage.html#class-globalkeyvaluestore","94":"/en/dev/api/comm/storage.html#func-get-instance-cls","95":"/en/dev/api/comm/storage.html#attr-instance-none","96":"/en/dev/api/comm/storage.html#attr-lock-threading-lock","97":"/en/dev/api/comm/storage.html#var-shared-memory","98":"/en/dev/api/comm/storage.html#var-ref-count","99":"/en/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","100":"/en/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","101":"/en/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","102":"/en/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","103":"/en/dev/api/config.html#module-liteyuki-config","104":"/en/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","105":"/en/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","106":"/en/dev/api/config.html#func-load-from-json-file-str-dict-str-any","107":"/en/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","108":"/en/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","109":"/en/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","110":"/en/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","111":"/en/dev/api/core/#module-liteyuki-core","112":"/en/dev/api/dev/#module-liteyuki-dev","113":"/en/dev/api/core/manager.html#module-liteyuki-core-manager","114":"/en/dev/api/core/manager.html#class-channeldeliver","115":"/en/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","116":"/en/dev/api/core/manager.html#class-processmanager","117":"/en/dev/api/core/manager.html#func-init-self-lifespan-lifespan","118":"/en/dev/api/core/manager.html#func-start-all-self","119":"/en/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","120":"/en/dev/api/core/manager.html#func-join-all-self","121":"/en/dev/api/core/manager.html#func-terminate-self-name-str","122":"/en/dev/api/core/manager.html#func-terminate-all-self","123":"/en/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","124":"/en/dev/api/core/manager.html#class-subprocessmanager","125":"/en/dev/api/core/manager.html#func-init-self","126":"/en/dev/api/core/manager.html#func-add-self-name-str-func-processfunctype-args-kwargs","127":"/en/dev/api/core/manager.html#func-start-self-name-str","128":"/en/dev/api/core/manager.html#func-start-all-self-1","129":"/en/dev/api/core/manager.html#func-terminate-self-name-str-1","130":"/en/dev/api/core/manager.html#func-terminate-all-self-1","131":"/en/dev/api/core/manager.html#func-get-process-self-name-str-subprocess-none","132":"/en/dev/api/dev/observer.html#module-liteyuki-dev-observer","133":"/en/dev/api/dev/observer.html#var-callback-func","134":"/en/dev/api/dev/observer.html#var-filter-func","135":"/en/dev/api/dev/observer.html#func-debounce-wait","136":"/en/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","137":"/en/dev/api/dev/observer.html#func-on-modified-self-event","138":"/en/dev/api/dev/observer.html#func-on-created-self-event","139":"/en/dev/api/dev/observer.html#func-on-deleted-self-event","140":"/en/dev/api/dev/observer.html#func-on-moved-self-event","141":"/en/dev/api/dev/observer.html#func-on-any-event-self-event","142":"/en/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","143":"/en/dev/api/dev/plugin.html#module-liteyuki-dev-plugin","144":"/en/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","145":"/en/dev/api/exception.html#module-liteyuki-exception","146":"/en/dev/api/exception.html#class-liteyukiexception-baseexception","147":"/en/dev/api/#module-liteyuki","148":"/en/dev/api/#var-version","149":"/en/dev/api/log.html#module-liteyuki-log","150":"/en/dev/api/log.html#func-get-format-level-str-str","151":"/en/dev/api/log.html#func-init-log-config-dict","152":"/en/dev/api/plugin/#module-liteyuki-plugin","153":"/en/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","154":"/en/dev/api/plugin/load.html#module-liteyuki-plugin-load","155":"/en/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","156":"/en/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","157":"/en/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","158":"/en/dev/api/plugin/manager.html#module-liteyuki-plugin-manager","159":"/en/dev/api/plugin/model.html#module-liteyuki-plugin-model","160":"/en/dev/api/plugin/model.html#class-plugintype-enum","161":"/en/dev/api/plugin/model.html#attr-application-application","162":"/en/dev/api/plugin/model.html#attr-service-service","163":"/en/dev/api/plugin/model.html#attr-module-module","164":"/en/dev/api/plugin/model.html#attr-unclassified-unclassified","165":"/en/dev/api/plugin/model.html#attr-test-test","166":"/en/dev/api/plugin/model.html#class-pluginmetadata-basemodel","167":"/en/dev/api/plugin/model.html#attr-name-str-no-default","168":"/en/dev/api/plugin/model.html#attr-description-str","169":"/en/dev/api/plugin/model.html#attr-usage-str","170":"/en/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","171":"/en/dev/api/plugin/model.html#attr-author-str","172":"/en/dev/api/plugin/model.html#attr-homepage-str","173":"/en/dev/api/plugin/model.html#attr-extra-dict-str-any","174":"/en/dev/api/plugin/model.html#class-plugin-basemodel","175":"/en/dev/api/plugin/model.html#func-hash-self","176":"/en/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","177":"/en/dev/api/plugin/model.html#attr-name-str-no-default-1","178":"/en/dev/api/plugin/model.html#attr-module-moduletype-no-default","179":"/en/dev/api/plugin/model.html#attr-module-name-str-no-default","180":"/en/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","181":"/en/dev/api/plugins/#module-liteyuki-plugins","182":"/en/dev/api/plugins/liteecho.html#module-liteyuki-plugins-liteecho","183":"/en/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","184":"/en/dev/api/plugins/plugin_loader/#module-liteyuki-plugins-plugin-loader","185":"/en/dev/api/plugins/plugin_loader/#func-default-plugins-loader","186":"/en/dev/api/session/#module-liteyuki-session","187":"/en/dev/api/session/#func-message-handler-thread-i-chans-iterable-chan-any","188":"/en/dev/api/session/event.html#module-liteyuki-session-event","189":"/en/dev/api/session/event.html#class-messageevent","190":"/en/dev/api/session/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","191":"/en/dev/api/session/event.html#func-reply-self-message-str-dict-str-any","192":"/en/dev/api/session/matcher.html#module-liteyuki-session-matcher","193":"/en/dev/api/session/matcher.html#class-matcher","194":"/en/dev/api/session/matcher.html#func-init-self-rule-rule-priority-int-block-bool","195":"/en/dev/api/session/matcher.html#func-handle-self-callable-eventhandler-eventhandler","196":"/en/dev/api/session/matcher.html#async-func-run-self-event-messageevent-none","197":"/en/dev/api/session/message/segments.html#module-liteyuki-session-message-segments","198":"/en/dev/api/session/message/segments.html#class-baseseg-basemodel","199":"/en/dev/api/session/message/segments.html#attr-type-str-segment","200":"/en/dev/api/session/message/segments.html#attr-data-dict-str-any-no-default","201":"/en/dev/api/session/message/segments.html#class-text-baseseg","202":"/en/dev/api/session/message/segments.html#attr-content-str-no-default","203":"/en/dev/api/session/message/segments.html#class-image-baseseg","204":"/en/dev/api/session/message/segments.html#attr-url-str-no-default","205":"/en/dev/api/session/models.html#module-liteyuki-session-models","206":"/en/dev/api/session/models.html#class-scenetype-int-enum","207":"/en/dev/api/session/models.html#attr-private-0","208":"/en/dev/api/session/models.html#attr-group-1","209":"/en/dev/api/session/models.html#attr-guild-2","210":"/en/dev/api/session/models.html#attr-channel-text-3","211":"/en/dev/api/session/models.html#attr-channel-category-4","212":"/en/dev/api/session/models.html#attr-channel-voice-5","213":"/en/dev/api/session/models.html#class-user-basemodel","214":"/en/dev/api/session/models.html#attr-id-str-no-default","215":"/en/dev/api/session/models.html#attr-name-str-none-none","216":"/en/dev/api/session/models.html#attr-nick-str-none-none","217":"/en/dev/api/session/models.html#attr-avatar-str-none-none","218":"/en/dev/api/session/models.html#attr-gender-str-none-none","219":"/en/dev/api/session/models.html#class-scene-basemodel","220":"/en/dev/api/session/models.html#attr-id-str-no-default-1","221":"/en/dev/api/session/models.html#attr-type-scenetype-no-default","222":"/en/dev/api/session/models.html#attr-name-str-none-none-1","223":"/en/dev/api/session/models.html#attr-avatar-str-none-none-1","224":"/en/dev/api/session/models.html#attr-parent-scene-none-none","225":"/en/dev/api/session/models.html#class-role-basemodel","226":"/en/dev/api/session/models.html#attr-id-str-no-default-2","227":"/en/dev/api/session/models.html#attr-level-int-none-none","228":"/en/dev/api/session/models.html#attr-name-str-none-none-2","229":"/en/dev/api/session/models.html#class-member-basemodel","230":"/en/dev/api/session/models.html#attr-user-user-no-default","231":"/en/dev/api/session/models.html#attr-nickname-str-none-none","232":"/en/dev/api/session/models.html#attr-role-role-none-none","233":"/en/dev/api/session/models.html#attr-mute-bool-none-none","234":"/en/dev/api/session/models.html#attr-joined-at-datetime-none-none","235":"/en/dev/api/session/models.html#class-session-basemodel","236":"/en/dev/api/session/models.html#func-session-id-self","237":"/en/dev/api/session/models.html#func-target-id-self","238":"/en/dev/api/session/models.html#attr-self-id-str-no-default","239":"/en/dev/api/session/models.html#attr-adapter-str-no-default","240":"/en/dev/api/session/models.html#attr-scope-str-no-default","241":"/en/dev/api/session/models.html#attr-scene-scene-no-default","242":"/en/dev/api/session/models.html#attr-user-user-no-default-1","243":"/en/dev/api/session/models.html#attr-member-member-none-none","244":"/en/dev/api/session/models.html#attr-operator-member-none-none","245":"/en/dev/api/session/on.html#module-liteyuki-session-on","246":"/en/dev/api/session/on.html#func-add-matcher-matcher-matcher","247":"/en/dev/api/session/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","248":"/en/dev/api/session/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","249":"/en/dev/api/session/rule.html#module-liteyuki-session-rule","250":"/en/dev/api/session/rule.html#var-rulehandlerfunc","251":"/en/dev/api/session/rule.html#class-rule","252":"/en/dev/api/session/rule.html#func-init-self-handler-rulehandlerfunc","253":"/en/dev/api/session/rule.html#func-self-other-rule-rule","254":"/en/dev/api/session/rule.html#func-self-other-rule-rule-1","255":"/en/dev/api/session/rule.html#async-func-self-event-messageevent-bool","256":"/en/dev/api/session/rule.html#async-func-empty-rule-event-messageevent-bool","257":"/en/dev/api/session/rule.html#async-func-is-su-rule-event-messageevent-bool","258":"/en/dev/api/utils.html#module-liteyuki-utils","259":"/en/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","260":"/en/dev/api/utils.html#func-run-coroutine-coro-coroutine","261":"/en/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","262":"/en/dev/api/utils.html#func-path-to-module-name-path-path-str","263":"/en/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","264":"/en/dev/best_practices.html#best-practices","265":"/en/dev/best_practices.html#bot-applications","266":"/en/dev/best_practices.html#plugins","267":"/en/dev/best_practices.html#others","268":"/en/dev/comm.html#channel-communication","269":"/en/dev/comm.html#introduction","270":"/en/dev/comm.html#example","271":"/en/dev/comm.html#共享内存通信","272":"/en/dev/comm.html#简介","273":"/en/dev/comm.html#示例","274":"/en/dev/lyfunc.html#轻雪函数","275":"/en/dev/lyfunc.html#函数文件","276":"/en/dev/lyfunc.html#命令文档","277":"/en/dev/lyfunc.html#示例","278":"/en/dev/lyfunc.html#api","279":"/en/dev/lyfunc.html#结束关键字","280":"/en/dev/guide.html#development-guide","281":"/en/dev/guide.html#how-to-develop","282":"/en/dev/guide.html#suggestions","283":"/en/dev/guide.html#project-structure","284":"/en/dev/guide.html#standardization","285":"/en/dev/guide.html#finally","286":"/en/dev/plugin.html#简介","287":"/en/dev/plugin.html#开始","288":"/en/dev/plugin.html#创建插件","289":"/en/dev/plugin.html#编写逻辑部分","290":"/en/dev/plugin.html#加载插件","291":"/en/dev/plugin.html#方法1","292":"/en/dev/plugin.html#方法2","293":"/en/dev/resource.html#简介","294":"/en/dev/resource.html#加载资源包","295":"/en/usage/agreement.html#用户协议","296":"/en/usage/basic.html#基础插件","297":"/en/usage/basic.html#轻雪命令liteyuki-command","298":"/en/usage/basic.html#命令别名","299":"/en/usage/basic.html#插件-包管理器-liteyuki-pacman","300":"/en/usage/basic.html#命令别名-1","301":"/en/usage/basic.html#用户管理liteyuki-user","302":"/en/usage/extra.html#功能插件命令","303":"/en/usage/extra.html#轻雪天气liteyuki-weather","304":"/en/usage/extra.html#命令别名","305":"/en/usage/extra.html#统计信息liteyuki-statistics","306":"/en/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,50],"1":[2,1,82],"2":[2,1,67],"3":[9,1,71],"4":[1,1,21],"5":[1,1,1],"6":[3,1,105],"7":[2,1,18],"8":[1,1,1],"9":[2,1,61],"10":[3,1,41],"11":[2,1,83],"12":[6,3,1],"13":[4,1,24],"14":[4,4,8],"15":[4,4,9],"16":[3,4,11],"17":[5,4,9],"18":[5,4,10],"19":[4,4,12],"20":[2,4,1],"21":[5,6,34],"22":[13,6,41],"23":[8,6,23],"24":[8,6,23],"25":[10,6,25],"26":[8,6,23],"27":[10,6,25],"28":[8,6,23],"29":[7,6,23],"30":[7,6,23],"31":[10,6,26],"32":[7,6,24],"33":[10,6,26],"34":[7,6,24],"35":[3,1,1],"36":[2,3,1],"37":[6,5,65],"38":[4,5,31],"39":[8,5,62],"40":[10,5,38],"41":[6,5,19],"42":[5,5,16],"43":[4,5,18],"44":[8,5,22],"45":[8,5,21],"46":[8,5,22],"47":[10,5,24],"48":[10,5,25],"49":[8,5,22],"50":[5,3,37],"51":[10,3,29],"52":[14,3,48],"53":[4,1,3],"54":[5,4,9],"55":[4,4,12],"56":[4,4,9],"57":[4,4,11],"58":[3,4,11],"59":[5,4,1],"60":[12,9,66],"61":[6,9,47],"62":[5,9,32],"63":[6,9,31],"64":[15,9,66],"65":[3,4,9],"66":[3,4,9],"67":[4,4,11],"68":[4,4,12],"69":[7,4,43],"70":[7,4,22],"71":[7,4,34],"72":[8,4,39],"73":[10,4,27],"74":[10,4,30],"75":[10,4,29],"76":[3,1,8],"77":[4,1,2],"78":[2,4,1],"79":[9,6,16],"80":[4,1,4],"81":[6,4,12],"82":[6,4,12],"83":[2,4,1],"84":[4,6,33],"85":[9,6,34],"86":[12,6,40],"87":[12,6,45],"88":[9,6,33],"89":[9,6,24],"90":[13,6,54],"91":[11,6,31],"92":[7,6,45],"93":[2,4,2],"94":[5,6,21],"95":[4,6,1],"96":[6,6,1],"97":[3,4,9],"98":[3,4,17],"99":[9,4,31],"100":[9,4,29],"101":[9,4,29],"102":[10,4,29],"103":[3,1,14],"104":[8,3,41],"105":[10,3,38],"106":[10,3,37],"107":[10,3,37],"108":[14,3,46],"109":[16,3,52],"110":[15,3,39],"111":[3,1,1],"112":[3,1,2],"113":[4,1,24],"114":[2,4,1],"115":[14,6,21],"116":[2,4,1],"117":[6,6,20],"118":[5,6,31],"119":[14,6,51],"120":[5,6,16],"121":[6,6,34],"122":[5,6,15],"123":[9,6,30],"124":[2,4,1],"125":[4,6,15],"126":[9,6,26],"127":[6,6,25],"128":[5,6,23],"129":[6,6,25],"130":[5,6,23],"131":[10,6,23],"132":[4,1,5],"133":[3,4,9],"134":[3,4,9],"135":[4,4,28],"136":[4,4,3],"137":[6,8,19],"138":[6,8,12],"139":[6,8,12],"140":[6,8,12],"141":[6,8,12],"142":[20,4,54],"143":[4,1,24],"144":[9,4,33],"145":[3,1,2],"146":[4,3,1],"147":[2,1,10],"148":[3,2,7],"149":[3,1,24],"150":[6,3,24],"151":[6,3,58],"152":[3,1,1],"153":[9,3,20],"154":[4,1,24],"155":[12,4,78],"156":[15,4,61],"157":[9,4,40],"158":[4,1,24],"159":[4,1,24],"160":[4,4,1],"161":[5,8,1],"162":[5,8,1],"163":[5,8,1],"164":[5,8,1],"165":[5,8,1],"166":[4,4,1],"167":[6,8,1],"168":[5,8,1],"169":[5,8,1],"170":[5,8,1],"171":[5,8,1],"172":[5,8,1],"173":[7,8,1],"174":[4,4,1],"175":[3,8,13],"176":[9,8,1],"177":[6,8,1],"178":[6,8,1],"179":[7,8,1],"180":[6,8,1],"181":[3,1,15],"182":[4,1,30],"183":[6,4,23],"184":[5,1,24],"185":[5,5,24],"186":[3,1,4],"187":[10,3,29],"188":[4,1,24],"189":[2,4,1],"190":[24,6,35],"191":[9,6,37],"192":[4,1,24],"193":[2,4,1],"194":[10,6,28],"195":[7,6,23],"196":[8,6,33],"197":[5,1,1],"198":[4,5,1],"199":[6,9,1],"200":[8,9,1],"201":[4,5,1],"202":[6,9,1],"203":[4,5,1],"204":[6,9,1],"205":[4,1,123],"206":[5,4,1],"207":[4,9,1],"208":[4,9,1],"209":[4,9,1],"210":[5,9,1],"211":[5,9,1],"212":[5,9,1],"213":[4,4,1],"214":[6,8,1],"215":[6,8,1],"216":[6,8,1],"217":[6,8,1],"218":[6,8,1],"219":[4,4,1],"220":[6,8,1],"221":[6,8,1],"222":[6,8,1],"223":[6,8,1],"224":[6,8,1],"225":[4,4,1],"226":[6,8,1],"227":[6,8,1],"228":[6,8,1],"229":[4,4,1],"230":[6,8,1],"231":[6,8,1],"232":[6,8,1],"233":[6,8,1],"234":[7,8,1],"235":[4,4,2],"236":[5,8,34],"237":[5,8,30],"238":[7,8,1],"239":[6,8,1],"240":[6,8,1],"241":[6,8,1],"242":[6,8,1],"243":[6,8,1],"244":[6,8,1],"245":[4,1,24],"246":[5,4,24],"247":[15,4,21],"248":[16,4,32],"249":[4,1,24],"250":[2,4,11],"251":[2,4,1],"252":[6,6,13],"253":[7,6,21],"254":[7,6,22],"255":[8,6,23],"256":[8,4,19],"257":[9,4,24],"258":[3,1,5],"259":[9,3,33],"260":[6,3,45],"261":[8,3,23],"262":[8,3,41],"263":[8,3,28],"264":[2,1,1],"265":[2,2,19],"266":[1,2,10],"267":[1,2,30],"268":[2,1,1],"269":[1,2,46],"270":[1,2,105],"271":[1,2,1],"272":[1,3,9],"273":[1,3,18],"274":[1,1,9],"275":[1,1,25],"276":[1,1,33],"277":[1,2,26],"278":[1,1,7],"279":[1,1,18],"280":[2,1,1],"281":[3,2,67],"282":[1,5,34],"283":[2,2,60],"284":[1,2,141],"285":[1,2,23],"286":[1,1,4],"287":[1,1,1],"288":[1,2,42],"289":[1,2,58],"290":[1,2,1],"291":[1,3,6],"292":[1,3,25],"293":[1,1,31],"294":[1,1,56],"295":[1,1,28],"296":[1,1,16],"297":[2,1,86],"298":[1,3,30],"299":[4,1,53],"300":[1,5,38],"301":[2,1,20],"302":[1,1,1],"303":[2,1,30],"304":[1,3,8],"305":[2,1,35],"306":[1,3,17]},"averageFieldLength":[5.508143322475572,4.491856677524429,20.66449511400653],"storedFields":{"0":{"title":"Configurations","titles":[]},"1":{"title":"Basic Configuration","titles":["Configurations"]},"2":{"title":"Other configurations","titles":["Configurations"]},"3":{"title":"Example: Configuration of OneBot implementation side connected to NoneBot","titles":["Configurations"]},"4":{"title":"Other","titles":["Configurations"]},"5":{"title":"FAQ","titles":[]},"6":{"title":"Frequently Asked Questions","titles":["FAQ"]},"7":{"title":"Other questions","titles":["FAQ"]},"8":{"title":"Install","titles":[]},"9":{"title":"Normal Installation","titles":["Install"]},"10":{"title":"Run with Docker","titles":["Install"]},"11":{"title":"Device Requirements","titles":["Install"]},"12":{"title":"For other questions, please refer to","titles":["Install","Device Requirements"]},"13":{"title":"Module liteyuki.bot.lifespan","titles":[]},"14":{"title":"var SYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"15":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"16":{"title":"var LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"17":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"18":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"19":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"20":{"title":"class Lifespan","titles":["Module liteyuki.bot.lifespan"]},"21":{"title":"func __init__(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"22":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"23":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"24":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"25":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"26":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"27":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"28":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"29":{"title":"async func before_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"30":{"title":"async func after_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"31":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"32":{"title":"async func after_shutdown(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"33":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"34":{"title":"async func after_restart(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"35":{"title":"Module liteyuki.bot","titles":[]},"36":{"title":"class LiteyukiBot","titles":["Module liteyuki.bot"]},"37":{"title":"func __init__(self, **kwargs) -> None","titles":["Module liteyuki.bot","class LiteyukiBot"]},"38":{"title":"func run(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"39":{"title":"func restart(self, delay: int = 0)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"40":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"41":{"title":"func init(self, *args, **kwargs)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"42":{"title":"func init_logger(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"43":{"title":"func stop(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"44":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"45":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"46":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"47":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"48":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"49":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"50":{"title":"func get_bot() -> LiteyukiBot","titles":["Module liteyuki.bot"]},"51":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"52":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"53":{"title":"Module liteyuki.comm.channel","titles":[]},"54":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"55":{"title":"var ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"56":{"title":"var SYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"57":{"title":"var ASYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"58":{"title":"var FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"59":{"title":"class Channel(Generic[T])","titles":["Module liteyuki.comm.channel"]},"60":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"61":{"title":"func send(self, data: T)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"62":{"title":"func receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"63":{"title":"async func async_receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"64":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"65":{"title":"var active_channel","titles":["Module liteyuki.comm.channel"]},"66":{"title":"var passive_channel","titles":["Module liteyuki.comm.channel"]},"67":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"68":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"69":{"title":"func set_channel(name: str, channel: Channel)","titles":["Module liteyuki.comm.channel"]},"70":{"title":"func set_channels(channels: dict[str, Channel])","titles":["Module liteyuki.comm.channel"]},"71":{"title":"func get_channel(name: str) -> Channel","titles":["Module liteyuki.comm.channel"]},"72":{"title":"func get_channels() -> dict[str, Channel]","titles":["Module liteyuki.comm.channel"]},"73":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"74":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"75":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"76":{"title":"Module liteyuki.comm","titles":[]},"77":{"title":"Module liteyuki.comm.event","titles":[]},"78":{"title":"class Event","titles":["Module liteyuki.comm.event"]},"79":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["Module liteyuki.comm.event","class Event"]},"80":{"title":"Module liteyuki.comm.storage","titles":[]},"81":{"title":"var _on_main_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"82":{"title":"var _on_sub_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"83":{"title":"class KeyValueStore","titles":["Module liteyuki.comm.storage"]},"84":{"title":"func __init__(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"85":{"title":"func set(self, key: str, value: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"86":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"87":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"88":{"title":"func get_all(self) -> dict[str, Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"89":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"90":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"91":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"92":{"title":"async func start_receive_loop(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"93":{"title":"class GlobalKeyValueStore","titles":["Module liteyuki.comm.storage"]},"94":{"title":"func get_instance(cls)","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"95":{"title":"attr _instance = None","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"96":{"title":"attr _lock = threading.Lock()","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"97":{"title":"var shared_memory","titles":["Module liteyuki.comm.storage"]},"98":{"title":"var _ref_count","titles":["Module liteyuki.comm.storage"]},"99":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"100":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"101":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"102":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"103":{"title":"Module liteyuki.config","titles":[]},"104":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["Module liteyuki.config"]},"105":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"106":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"107":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"108":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"109":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"110":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"111":{"title":"Module liteyuki.core","titles":[]},"112":{"title":"Module liteyuki.dev","titles":[]},"113":{"title":"Module liteyuki.core.manager","titles":[]},"114":{"title":"class ChannelDeliver","titles":["Module liteyuki.core.manager"]},"115":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["Module liteyuki.core.manager","class ChannelDeliver"]},"116":{"title":"class ProcessManager","titles":["Module liteyuki.core.manager"]},"117":{"title":"func __init__(self, lifespan: Lifespan)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"118":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"119":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"120":{"title":"func join_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"121":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"122":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"123":{"title":"func is_process_alive(self, name: str) -> bool","titles":["Module liteyuki.core.manager","class ProcessManager"]},"124":{"title":"class _SubProcessManager","titles":["Module liteyuki.core.manager"]},"125":{"title":"func __init__(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"126":{"title":"func add(self, name: str, func: ProcessFuncType, *args, **kwargs)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"127":{"title":"func start(self, name: str)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"128":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"129":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"130":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"131":{"title":"func get_process(self, name: str) -> SubProcess | None","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"132":{"title":"Module liteyuki.dev.observer","titles":[]},"133":{"title":"var CALLBACK_FUNC","titles":["Module liteyuki.dev.observer"]},"134":{"title":"var FILTER_FUNC","titles":["Module liteyuki.dev.observer"]},"135":{"title":"func debounce(wait)","titles":["Module liteyuki.dev.observer"]},"136":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["Module liteyuki.dev.observer"]},"137":{"title":"func on_modified(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"138":{"title":"func on_created(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"139":{"title":"func on_deleted(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"140":{"title":"func on_moved(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"141":{"title":"func on_any_event(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"142":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["Module liteyuki.dev.observer"]},"143":{"title":"Module liteyuki.dev.plugin","titles":[]},"144":{"title":"func run_plugins(*module_path: str | Path)","titles":["Module liteyuki.dev.plugin"]},"145":{"title":"Module liteyuki.exception","titles":[]},"146":{"title":"class LiteyukiException(BaseException)","titles":["Module liteyuki.exception"]},"147":{"title":"Module liteyuki","titles":[]},"148":{"title":"var __version__","titles":["Module liteyuki"]},"149":{"title":"Module liteyuki.log","titles":[]},"150":{"title":"func get_format(level: str) -> str","titles":["Module liteyuki.log"]},"151":{"title":"func init_log(config: dict)","titles":["Module liteyuki.log"]},"152":{"title":"Module liteyuki.plugin","titles":[]},"153":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["Module liteyuki.plugin"]},"154":{"title":"Module liteyuki.plugin.load","titles":[]},"155":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["Module liteyuki.plugin.load"]},"156":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["Module liteyuki.plugin.load"]},"157":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["Module liteyuki.plugin.load"]},"158":{"title":"Module liteyuki.plugin.manager","titles":[]},"159":{"title":"Module liteyuki.plugin.model","titles":[]},"160":{"title":"class PluginType(Enum)","titles":["Module liteyuki.plugin.model"]},"161":{"title":"attr APPLICATION = 'application'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"162":{"title":"attr SERVICE = 'service'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"163":{"title":"attr MODULE = 'module'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"164":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"165":{"title":"attr TEST = 'test'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"166":{"title":"class PluginMetadata(BaseModel)","titles":["Module liteyuki.plugin.model"]},"167":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"168":{"title":"attr description: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"169":{"title":"attr usage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"170":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"171":{"title":"attr author: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"172":{"title":"attr homepage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"173":{"title":"attr extra: dict[str, Any] = {}","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"174":{"title":"class Plugin(BaseModel)","titles":["Module liteyuki.plugin.model"]},"175":{"title":"func hash self","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"176":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"177":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"178":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"179":{"title":"attr module_name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"180":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"181":{"title":"Module liteyuki.plugins","titles":[]},"182":{"title":"Module liteyuki.plugins.liteecho","titles":[]},"183":{"title":"async func liteecho(event: MessageEvent)","titles":["Module liteyuki.plugins.liteecho"]},"184":{"title":"Module liteyuki.plugins.plugin_loader","titles":[]},"185":{"title":"func default_plugins_loader()","titles":["Module liteyuki.plugins.plugin_loader"]},"186":{"title":"Module liteyuki.session","titles":[]},"187":{"title":"func message_handler_thread(i_chans: Iterable[Chan[Any]])","titles":["Module liteyuki.session"]},"188":{"title":"Module liteyuki.session.event","titles":[]},"189":{"title":"class MessageEvent","titles":["Module liteyuki.session.event"]},"190":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["Module liteyuki.session.event","class MessageEvent"]},"191":{"title":"func reply(self, message: str | dict[str, Any])","titles":["Module liteyuki.session.event","class MessageEvent"]},"192":{"title":"Module liteyuki.session.matcher","titles":[]},"193":{"title":"class Matcher","titles":["Module liteyuki.session.matcher"]},"194":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["Module liteyuki.session.matcher","class Matcher"]},"195":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["Module liteyuki.session.matcher","class Matcher"]},"196":{"title":"async func run(self, event: MessageEvent) -> None","titles":["Module liteyuki.session.matcher","class Matcher"]},"197":{"title":"Module liteyuki.session.message.segments","titles":[]},"198":{"title":"class BaseSeg(BaseModel)","titles":["Module liteyuki.session.message.segments"]},"199":{"title":"attr type: str = 'Segment'","titles":["Module liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"200":{"title":"attr data: dict[str, Any] = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"201":{"title":"class Text(BaseSeg)","titles":["Module liteyuki.session.message.segments"]},"202":{"title":"attr content: str = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class Text(BaseSeg)"]},"203":{"title":"class Image(BaseSeg)","titles":["Module liteyuki.session.message.segments"]},"204":{"title":"attr url: str = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class Image(BaseSeg)"]},"205":{"title":"Module liteyuki.session.models","titles":[]},"206":{"title":"class SceneType(int, Enum)","titles":["Module liteyuki.session.models"]},"207":{"title":"attr PRIVATE = 0","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"208":{"title":"attr GROUP = 1","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"209":{"title":"attr GUILD = 2","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"210":{"title":"attr CHANNEL_TEXT = 3","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"211":{"title":"attr CHANNEL_CATEGORY = 4","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"212":{"title":"attr CHANNEL_VOICE = 5","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"213":{"title":"class User(BaseModel)","titles":["Module liteyuki.session.models"]},"214":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"215":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"216":{"title":"attr nick: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"217":{"title":"attr avatar: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"218":{"title":"attr gender: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"219":{"title":"class Scene(BaseModel)","titles":["Module liteyuki.session.models"]},"220":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"221":{"title":"attr type: SceneType = NO_DEFAULT","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"222":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"223":{"title":"attr avatar: str | None = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"224":{"title":"attr parent: 'Scene | None' = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"225":{"title":"class Role(BaseModel)","titles":["Module liteyuki.session.models"]},"226":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"227":{"title":"attr level: int | None = None","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"228":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"229":{"title":"class Member(BaseModel)","titles":["Module liteyuki.session.models"]},"230":{"title":"attr user: User = NO_DEFAULT","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"231":{"title":"attr nickname: str | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"232":{"title":"attr role: Role | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"233":{"title":"attr mute: bool | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"234":{"title":"attr joined_at: datetime | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"235":{"title":"class Session(BaseModel)","titles":["Module liteyuki.session.models"]},"236":{"title":"func session_id(self)","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"237":{"title":"func target_id(self)","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"238":{"title":"attr self_id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"239":{"title":"attr adapter: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"240":{"title":"attr scope: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"241":{"title":"attr scene: Scene = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"242":{"title":"attr user: User = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"243":{"title":"attr member: 'Member | None' = None","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"244":{"title":"attr operator: 'Member | None' = None","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"245":{"title":"Module liteyuki.session.on","titles":[]},"246":{"title":"func add_matcher(matcher: Matcher)","titles":["Module liteyuki.session.on"]},"247":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.session.on"]},"248":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.session.on"]},"249":{"title":"Module liteyuki.session.rule","titles":[]},"250":{"title":"var RuleHandlerFunc","titles":["Module liteyuki.session.rule"]},"251":{"title":"class Rule","titles":["Module liteyuki.session.rule"]},"252":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["Module liteyuki.session.rule","class Rule"]},"253":{"title":"func self | other: Rule => Rule","titles":["Module liteyuki.session.rule","class Rule"]},"254":{"title":"func self & other: Rule => Rule","titles":["Module liteyuki.session.rule","class Rule"]},"255":{"title":"async func self () event: MessageEvent => bool","titles":["Module liteyuki.session.rule","class Rule"]},"256":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.session.rule"]},"257":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.session.rule"]},"258":{"title":"Module liteyuki.utils","titles":[]},"259":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["Module liteyuki.utils"]},"260":{"title":"func run_coroutine(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"261":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"262":{"title":"func path_to_module_name(path: Path) -> str","titles":["Module liteyuki.utils"]},"263":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["Module liteyuki.utils"]},"264":{"title":"Best Practices","titles":[]},"265":{"title":"Bot applications","titles":["Best Practices"]},"266":{"title":"plugins","titles":["Best Practices"]},"267":{"title":"Others","titles":["Best Practices"]},"268":{"title":"Channel Communication","titles":[]},"269":{"title":"Introduction","titles":["Channel Communication"]},"270":{"title":"Example","titles":["Channel Communication"]},"271":{"title":"共享内存通信","titles":["Channel Communication"]},"272":{"title":"简介","titles":["Channel Communication","共享内存通信"]},"273":{"title":"示例","titles":["Channel Communication","共享内存通信"]},"274":{"title":"轻雪函数","titles":[]},"275":{"title":"函数文件","titles":["轻雪函数"]},"276":{"title":"命令文档","titles":["轻雪函数"]},"277":{"title":"示例","titles":["轻雪函数","命令文档"]},"278":{"title":"API","titles":["轻雪函数"]},"279":{"title":"结束关键字","titles":["轻雪函数"]},"280":{"title":"Development Guide","titles":[]},"281":{"title":"How to Develop","titles":["Development Guide"]},"282":{"title":"Suggestions","titles":["Development Guide","How to Develop"]},"283":{"title":"Project Structure","titles":["Development Guide"]},"284":{"title":"Standardization","titles":["Development Guide"]},"285":{"title":"Finally","titles":["Development Guide"]},"286":{"title":"简介","titles":[]},"287":{"title":"开始","titles":["简介"]},"288":{"title":"创建插件","titles":["简介","开始"]},"289":{"title":"编写逻辑部分","titles":["简介","开始"]},"290":{"title":"加载插件","titles":["简介","开始"]},"291":{"title":"方法1","titles":["简介","开始","加载插件"]},"292":{"title":"方法2","titles":["简介","开始","加载插件"]},"293":{"title":"简介","titles":[]},"294":{"title":"加载资源包","titles":["简介"]},"295":{"title":"用户协议","titles":[]},"296":{"title":"基础插件","titles":[]},"297":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"299":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"300":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"301":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"302":{"title":"功能插件命令","titles":[]},"303":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"305":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"306":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["或",{"2":{"305":2}}],["或插件路径",{"2":{"155":1}}],["当前bot",{"2":{"305":1}}],["当前群聊",{"2":{"305":1}}],["当前会话启用",{"2":{"299":1}}],["秒",{"2":{"305":2}}],["小时",{"2":{"305":2}}],["天",{"2":{"305":2}}],["天气",{"2":{"303":1,"304":1}}],["格式",{"2":{"305":1}}],["格式为onebot",{"2":{"297":1}}],["统计时间范围为duration",{"2":{"305":1}}],["统计周期为period",{"2":{"305":1}}],["统计信息",{"2":{"305":1}}],["统计信息liteyuki",{"0":{"305":1},"1":{"306":1}}],["功能",{"2":{"305":1}}],["功能插件命令",{"0":{"302":1},"1":{"303":1,"304":1,"305":1,"306":1}}],["绑定城市",{"2":{"304":1}}],["绑定查询城市",{"2":{"303":1}}],["个人全局生效",{"2":{"303":1}}],["个人信息",{"2":{"301":1}}],["海淀",{"2":{"303":1}}],["北京",{"2":{"303":1}}],["支持中英文",{"2":{"303":2}}],["支持中英文城市名",{"2":{"303":1}}],["支持多个关键词查询",{"2":{"303":1}}],["支持绑定城市",{"2":{"303":1}}],["支持单行注释",{"2":{"275":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"300":1}}],["帮助",{"2":{"300":1}}],["列表",{"2":{"300":1}}],["列出所有资源包",{"2":{"299":1}}],["列出所有插件",{"2":{"299":1}}],["更改",{"2":{"300":1}}],["更新",{"2":{"300":1}}],["更新插件商店索引",{"2":{"299":1}}],["更新轻雪",{"2":{"297":1,"298":1}}],["全局停用",{"2":{"300":1}}],["全局启用",{"2":{"299":1,"300":1}}],["搜索",{"2":{"300":1}}],["卸载",{"2":{"300":2}}],["卸载资源包",{"2":{"299":1}}],["卸载插件",{"2":{"299":1}}],["私聊所有人可用",{"2":{"299":2}}],["包管理器",{"0":{"299":1},"1":{"300":1}}],["包括子task",{"2":{"276":1}}],["切换图片模式",{"2":{"298":1}}],["状态",{"2":{"298":1}}],["别名",{"2":{"298":1,"300":1,"301":1,"304":1,"306":1}}],["所有人",{"2":{"297":1,"299":1,"301":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"279":1}}],["群聊",{"2":{"298":1}}],["群聊仅群主",{"2":{"297":1,"299":2}}],["群号",{"2":{"297":1}}],["管理员",{"2":{"297":1,"299":2}}],["停用插件",{"2":{"299":2}}],["停用",{"2":{"298":1,"300":1}}],["停用机器人",{"2":{"297":1}}],["停止轻雪",{"2":{"40":1,"43":1}}],["停止后钩子",{"2":{"32":1}}],["停止前钩子",{"2":{"31":1}}],["停止",{"2":{"21":1}}],["该功能需要commit",{"2":{"297":1}}],["该模块封装通道实现",{"2":{"272":1}}],["该模块参考并引用了nonebot",{"2":{"186":1}}],["该模块用于存放一些开发工具",{"2":{"112":1}}],["该模块用于常用配置文件的加载",{"2":{"103":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"76":1}}],["推荐私聊使用",{"2":{"297":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"293":1}}],["查询目标地实时天气",{"2":{"303":1}}],["查询实时天气",{"2":{"303":1}}],["查询",{"2":{"298":1,"301":1}}],["查询配置项",{"2":{"297":1}}],["查看用户信息菜单",{"2":{"301":1}}],["查看插件帮助",{"2":{"299":1}}],["查看轻雪文档",{"2":{"297":1}}],["查看统计信息和状态",{"2":{"297":1}}],["查看当前bot",{"2":{"297":1}}],["和风天气的天气key",{"2":{"303":1}}],["和",{"2":{"297":1}}],["和10是不一样的",{"2":{"297":1}}],["和config目录下的所有配置文件",{"2":{"110":1}}],["输入值会被执行以转换为正确的类型",{"2":{"297":1}}],["输出",{"2":{"275":1}}],["版本",{"2":{"297":1}}],["超级用户可用",{"2":{"297":1,"299":2}}],["超级用户",{"2":{"297":10,"299":10}}],["重载",{"2":{"300":1}}],["重载所有资源包",{"2":{"299":1}}],["重载资源",{"2":{"298":1}}],["重载轻雪",{"2":{"297":1}}],["重启轻雪",{"2":{"298":1}}],["重启轻雪即可加载插件",{"2":{"291":1}}],["重启轻雪本体",{"2":{"39":1}}],["重启后钩子",{"2":{"34":1}}],["重启前钩子",{"2":{"33":1}}],["重启",{"2":{"21":1}}],["举例",{"2":{"297":1}}],["权限",{"2":{"297":1,"299":2,"301":1}}],["说明",{"2":{"297":1,"299":2,"301":1}}],["~代替",{"2":{"296":1}}],["~可以使用插件",{"2":{"296":1}}],["安装插件",{"2":{"299":1}}],["安装",{"2":{"296":1,"300":1}}],["安装的插件",{"2":{"155":1}}],["命令",{"2":{"297":1,"298":1,"299":2,"300":1,"301":2,"303":1,"304":1,"305":1,"306":1}}],["命令别名",{"0":{"298":1,"300":1,"304":1,"306":1},"2":{"296":1,"301":1}}],["命令文档",{"0":{"276":1},"1":{"277":1}}],["为可选参数",{"2":{"296":1}}],["为必填参数",{"2":{"296":1}}],["为子进程重启时调用",{"2":{"48":1}}],["为子进程停止时调用",{"2":{"47":1}}],["基础插件",{"0":{"296":1},"1":{"297":1,"298":1,"299":1,"300":1,"301":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"295":1}}],["且通道标识为",{"2":{"270":1}}],["系统信息及python信息",{"2":{"295":1}}],["内存",{"2":{"295":1}}],["内存共享是线程安全的",{"2":{"272":1}}],["内存共享使得代码编写更加简洁",{"2":{"272":1}}],["分钟",{"2":{"305":2}}],["分发",{"2":{"295":1}}],["分工明确",{"2":{"103":1}}],["修改优先级",{"2":{"299":1}}],["修改",{"2":{"295":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"295":1}}],["本项目遵循mit协议",{"2":{"295":1}}],["本模块使用了nonebot",{"2":{"205":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"77":1}}],["本模块定义了一个通用的通道类",{"2":{"53":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"294":1}}],["同步接收数据",{"2":{"62":1}}],["同步接收函数",{"2":{"54":1}}],["同步过滤函数",{"2":{"56":1}}],["同步进程生命周期函数",{"2":{"17":1}}],["同步生命周期函数",{"2":{"14":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"294":1}}],["对于主动推送的插件不生效",{"2":{"300":1}}],["对于不同资源包的不同文件",{"2":{"294":1}}],["对外启动方法",{"2":{"118":1}}],["└─",{"2":{"294":1}}],["└───",{"2":{"294":1}}],["└─resource",{"2":{"294":2}}],["├─templates",{"2":{"294":1}}],["├─metadata",{"2":{"294":2}}],["正常的路径应该是这样的",{"2":{"294":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"294":1}}],["zip格式压缩的",{"2":{"294":1}}],["zh",{"2":{"2":1,"283":1}}],["以上内容仅用于项目的优化",{"2":{"295":1}}],["以避免出现无法预料的问题",{"2":{"293":1}}],["以下我们会编写一个简单的插件",{"2":{"289":1}}],["错位等无法预料的事情发生",{"2":{"293":1}}],["异常",{"2":{"293":1}}],["异步任务结束关键字",{"2":{"279":1}}],["异步等待",{"2":{"276":1}}],["异步包装器",{"2":{"263":1}}],["异步接收数据",{"2":{"63":1}}],["异步过滤函数",{"2":{"57":1}}],["异步进程生命周期函数",{"2":{"18":1}}],["异步生命周期函数",{"2":{"15":1}}],["请阅读插件主页的说明",{"2":{"300":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"293":1}}],["请注意",{"2":{"293":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"103":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"293":1}}],["部分异常信息",{"2":{"295":1}}],["部分内容制作需要一点点前端基础",{"2":{"293":1}}],["部分来源于",{"2":{"258":1}}],["讲起打包成一个新的资源包",{"2":{"293":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"293":1}}],["那么加载b包后",{"2":{"294":1}}],["那么你能够很快就上手",{"2":{"293":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"279":1}}],["如果你接触过minecraft的资源包",{"2":{"293":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"275":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"293":1}}],["主题商店提供了一些资源包供你选择",{"2":{"293":1}}],["主进程中",{"2":{"270":1}}],["主进程中通过get",{"2":{"270":1}}],["主进程订阅者接收函数",{"2":{"81":1}}],["主进程创建单例",{"2":{"67":1}}],["资源",{"2":{"293":1}}],["资源包管理",{"2":{"299":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"294":1}}],["资源包的制作很简单",{"2":{"293":1}}],["资源包加载遵循一个优先级",{"2":{"294":1}}],["资源包描述",{"2":{"294":1}}],["资源包名称",{"2":{"294":1}}],["资源包通常是以",{"2":{"294":1}}],["资源包",{"2":{"293":1,"300":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"293":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"274":1}}],["语言包等",{"2":{"293":1}}],["字体包",{"2":{"293":1}}],["亦可根据用途称为主题包",{"2":{"293":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"292":1}}],["我们在src",{"2":{"292":1}}],["然后运行python",{"2":{"292":1}}],["方法2",{"0":{"292":1}}],["方法1",{"0":{"291":1}}],["用户管理liteyuki",{"0":{"301":1}}],["用户协议",{"0":{"295":1}}],["用observer的on",{"2":{"289":1}}],["用于统计bot接收到的消息",{"2":{"305":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"289":1}}],["用于结束当前已完成function的执行",{"2":{"279":1}}],["用于存放内置插件",{"2":{"181":1}}],["用于获取和唯一标识",{"2":{"119":1}}],["用于进程间通信",{"2":{"53":1}}],["排除的文件扩展名",{"2":{"289":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"289":1}}],["定义插件元数据",{"2":{"288":1}}],["定义变量",{"2":{"276":1}}],["导入轻雪bot和日志",{"2":{"289":1}}],["导入文件系统事件",{"2":{"289":1}}],["导入文件系统观察器",{"2":{"289":1}}],["导入文件夹下多个插件",{"2":{"156":1}}],["导入逻辑部分",{"2":{"288":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"294":1}}],["即可创建一个插件",{"2":{"288":1}}],["即不等待",{"2":{"276":1}}],["首先创建一个文件夹",{"2":{"288":1}}],["开始",{"0":{"287":1},"1":{"288":1,"289":1,"290":1,"291":1,"292":1}}],["编写逻辑部分",{"0":{"289":1}}],["编写轻雪函数推荐你使用vs",{"2":{"279":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"275":1}}],["有一个task任务没有完成而await被执行了",{"2":{"279":1}}],["的情况是效率提升的关键",{"2":{"279":1}}],["单线程走到底",{"2":{"279":1}}],["单位s",{"2":{"276":1}}],["避免出现",{"2":{"279":1}}],["由于liteyukibot基于异步运行",{"2":{"279":1}}],["结束关键字",{"0":{"279":1}}],["结束函数关键字",{"2":{"276":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"278":1}}],["则该文件夹不会被识别为资源包",{"2":{"294":1}}],["则需要删除await",{"2":{"277":1}}],["则传入泛型默认开启",{"2":{"60":1}}],["无需手动创建实例",{"2":{"292":1}}],["无需手动初始化bot",{"2":{"144":1}}],["无限戳",{"2":{"277":1}}],["执行",{"2":{"277":1}}],["疯狂戳好友",{"2":{"277":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"293":1}}],["否则task对象会被销毁",{"2":{"276":1}}],["否则默认关闭",{"2":{"60":1}}],["需要在最后调用",{"2":{"276":1}}],["等待所有异步任务结束",{"2":{"276":1}}],["使用通用日期简写",{"2":{"305":2}}],["使用此项目代表你已经同意以上协议",{"2":{"295":1}}],["使用开发工具快速运行插件",{"2":{"292":1}}],["使用",{"2":{"277":1}}],["使用新的task执行命令",{"2":{"276":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"132":1}}],["调用机器人函数",{"2":{"297":1}}],["调用机器人api",{"2":{"297":1}}],["调用重启进程方法",{"2":{"289":1}}],["调用函数",{"2":{"276":1}}],["调用bot",{"2":{"276":1}}],["也支持句末注释",{"2":{"275":1}}],["例如npm",{"2":{"296":1}}],["例如nonebot插件中",{"2":{"270":1}}],["例如你在a中定义了templates",{"2":{"294":1}}],["例如html",{"2":{"293":1}}],["例如main",{"2":{"292":1}}],["例如watchdog",{"2":{"288":1,"291":1}}],["例如",{"2":{"275":2,"294":1,"303":1}}],["例如test",{"2":{"275":1,"292":1}}],["文件内容为一系列的命令",{"2":{"275":1}}],["文件名以",{"2":{"275":1}}],["文件夹路径",{"2":{"156":1}}],["函数文件放在资源包的functions目录下",{"2":{"275":1}}],["函数文件",{"0":{"275":1}}],["函数列表",{"2":{"22":1}}],["属于资源包的一部分",{"2":{"274":1}}],["类似于minecraft的mcfunction",{"2":{"274":1}}],["类似于redis",{"2":{"80":1}}],["是可以相对引用的",{"2":{"294":1}}],["是轻雪的一个功能",{"2":{"274":1}}],["是否为协程可调用对象",{"2":{"259":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"194":1}}],["是否忽略警告",{"2":{"156":1}}],["是否忽略键不存在的错误",{"2":{"87":1}}],["是否递归监听子目录",{"2":{"142":1}}],["是否关闭警告",{"2":{"110":1}}],["是否开启类型检查",{"2":{"60":1}}],["源代码",{"2":{"273":1}}],["示例",{"0":{"273":1,"277":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"272":1}}],["你在a包中定义了一个index",{"2":{"294":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"294":1}}],["你也可以自己制作资源包",{"2":{"293":1}}],["你的插件代码",{"2":{"288":1}}],["你可以选择开启auto",{"2":{"295":1}}],["你可以自由使用",{"2":{"295":1}}],["你可以自定义一些信息",{"2":{"294":1}}],["你可以在多个线程中读写共享内存",{"2":{"272":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"272":1}}],["你应该使用其他储存方式",{"2":{"103":1}}],["相比于普通进程通信",{"2":{"272":1}}],["简介",{"0":{"272":1,"286":1,"293":1},"1":{"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"294":1}}],["被动模式",{"2":{"270":1}}],["被动通道传递通道",{"2":{"68":1}}],["被动通道",{"2":{"66":1}}],["每隔0",{"2":{"277":1}}],["每行一个命令",{"2":{"275":1}}],["每次接收到字符串数据时都会运行",{"2":{"270":1}}],["每3秒发送一次消息",{"2":{"270":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"103":1}}],["创建入口文件",{"2":{"292":1}}],["创建插件",{"0":{"288":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"270":1}}],["创建asyncio",{"2":{"118":1}}],["+",{"2":{"262":1}}],["+=",{"2":{"39":1,"64":1}}],["模块名",{"2":{"262":1}}],["路径a",{"2":{"262":1}}],["转换路径为模块名",{"2":{"262":1}}],["可用",{"2":{"297":1}}],["可用参数",{"2":{"297":1}}],["可以在配置文件中把auto",{"2":{"295":1}}],["可以在a的index",{"2":{"294":1}}],["可以在此基础上进行修改",{"2":{"293":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"286":1}}],["可以是本地插件或是通过",{"2":{"155":1}}],["可递归",{"2":{"276":1}}],["可调用对象",{"2":{"259":1}}],["判断是否为协程可调用对象",{"2":{"259":1}}],["并且应该在metadata",{"2":{"294":1}}],["并且不用修改源代码",{"2":{"293":1}}],["并在其中写入一些代码",{"2":{"292":1}}],["并在其中写入以下代码",{"2":{"292":1}}],["并在其中创建一个",{"2":{"288":1}}],["并遵循其许可进行修改",{"2":{"258":1}}],["并发运行异步函数",{"2":{"22":1}}],["一个",{"2":{"288":1}}],["一个键不要多次出现",{"2":{"103":1}}],["一些常用的工具类",{"2":{"258":1}}],["x26",{"2":{"248":1}}],["x3c",{"2":{"38":4,"39":1,"151":7,"155":2,"157":2,"246":1,"276":6,"303":2,"305":2}}],["优先级",{"2":{"194":1}}],["规则函数签名",{"2":{"250":1}}],["规则",{"2":{"194":1}}],["匹配器",{"2":{"194":1}}],["505468b及以后的lagrange",{"2":{"297":1}}],["55",{"2":{"249":1}}],["52",{"2":{"245":1}}],["5",{"0":{"212":1}}],["51",{"2":{"192":1}}],["59",{"2":{"154":1,"158":1}}],["回复消息",{"2":{"191":1}}],["多路输入管道组",{"2":{"187":1}}],["多配置文件编写原则",{"2":{"103":1}}],["应在初始化时调用",{"2":{"185":1}}],["根据不同类型插件设置颜色",{"2":{"157":1}}],["加载",{"2":{"300":1}}],["加载资源包",{"0":{"294":1},"2":{"299":1}}],["加载插件",{"0":{"290":1},"1":{"291":1,"292":1}}],["加载插件加载器",{"2":{"37":1}}],["加载单个插件",{"2":{"155":1}}],["下午10",{"2":{"184":1,"188":1,"192":1,"245":1,"249":1}}],["下午12",{"2":{"182":1}}],["下午11",{"2":{"154":1,"158":1}}],["下午8",{"2":{"13":1}}],["插件停用只能阻断传入响应",{"2":{"300":1}}],["插件管理",{"2":{"299":1,"300":1}}],["插件",{"0":{"299":1},"1":{"300":1}}],["插件信息",{"2":{"295":1}}],["插件描述",{"2":{"288":1}}],["插件版本",{"2":{"288":1}}],["插件类型",{"2":{"157":1,"288":1}}],["插件名称",{"2":{"155":1,"157":1,"288":1}}],["插件字典",{"2":{"153":1}}],["插件路径",{"2":{"144":1}}],["🔍",{"2":{"151":1}}],["🐛",{"2":{"151":1}}],["❌",{"2":{"151":1,"297":11}}],["⭕",{"2":{"151":1}}],["⚠️",{"2":{"151":1}}],["✅",{"2":{"151":1}}],["ℹ️信息",{"2":{"270":4}}],["ℹ️",{"2":{"151":1}}],["在群聊启用",{"2":{"297":1}}],["在普通图片和markdown大图之间切换",{"2":{"297":1}}],["在b中定义了templates",{"2":{"294":1}}],["在配置文件中的liteyuki",{"2":{"291":1}}],["在设备上执行命令",{"2":{"276":1}}],["在发信器输出",{"2":{"275":1}}],["在任意进程中均可使用",{"2":{"273":1}}],["在子进程中",{"2":{"270":1}}],["在轻雪插件中",{"2":{"270":1}}],["在新线程中运行协程",{"2":{"261":1}}],["在语言加载完成后执行",{"2":{"151":1}}],["在主进程中运行",{"2":{"92":1}}],["日志等级",{"2":{"150":1}}],["31",{"2":{"182":1}}],["3",{"0":{"210":1},"2":{"148":1,"156":1,"270":1}}],["300~500mb",{"2":{"11":1}}],["6",{"2":{"148":1}}],["测试版本号",{"2":{"148":1}}],["此模块为内置插件文件夹",{"2":{"181":1}}],["此模块为liteyuki的框架整体",{"2":{"147":1}}],["此模块用于注册观察者函数",{"2":{"132":1}}],["参考liteyuki",{"2":{"144":1}}],["参数列表",{"2":{"297":2}}],["参数为调用set",{"2":{"270":1}}],["参数",{"2":{"41":1,"296":1,"305":1}}],["运行环境的设备信息",{"2":{"295":1}}],["运行在主进程中",{"2":{"286":1}}],["运行协程",{"2":{"260":1}}],["运行处理函数",{"2":{"196":1}}],["运行插件",{"2":{"144":1}}],["运行订阅者接收函数",{"2":{"91":1}}],["上午12",{"2":{"159":1}}],["上午11",{"2":{"113":1}}],["上午9",{"2":{"149":1}}],["上午5",{"2":{"143":1}}],["装饰一个函数在接收到数据后执行",{"2":{"142":1}}],["装饰器",{"2":{"64":1,"90":1,"142":1,"195":2}}],["返回true则执行回调函数",{"2":{"142":1}}],["事件过滤器",{"2":{"142":1}}],["事件循环",{"2":{"37":1}}],["监听目录们",{"2":{"142":1}}],["防抖函数",{"2":{"135":1}}],["防止获取空指针",{"2":{"98":1}}],["位置1为filesystemevent",{"2":{"133":1,"134":1}}],["启用",{"2":{"298":1,"300":1}}],["启用插件后",{"2":{"292":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"132":1}}],["启动后控制台输出",{"2":{"270":1}}],["启动后钩子",{"2":{"30":1}}],["启动所有子进程",{"2":{"128":1}}],["启动所有进程",{"2":{"118":1}}],["启动指定子进程",{"2":{"127":1}}],["启动发布订阅接收器循环",{"2":{"92":1}}],["启动前钩子",{"2":{"29":1}}],["启动",{"2":{"21":1}}],["终止所有子进程",{"2":{"130":1}}],["终止指定子进程",{"2":{"129":1}}],["终止进程并从进程字典中删除",{"2":{"121":1}}],["添加配置项",{"2":{"297":1}}],["添加sleep",{"2":{"277":1}}],["添加处理函数",{"2":{"195":1}}],["添加子进程",{"2":{"126":1}}],["添加进程",{"2":{"119":1}}],["检查进程是否存活",{"2":{"123":1}}],["通过关键词搜索插件",{"2":{"299":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"270":1}}],["通常是目录不存在或目录为空",{"2":{"156":1}}],["通常会默认传入chan",{"2":{"119":1}}],["通道实例",{"2":{"69":1,"70":1,"71":1,"72":1}}],["通道名称",{"2":{"69":1,"71":1}}],["通道传递通道",{"2":{"67":1}}],["通道id",{"2":{"60":1}}],["项目目录下的配置文件优先",{"2":{"110":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"103":1}}],["项目目录下的config",{"2":{"110":1}}],["按照读取文件的优先级反向覆盖",{"2":{"109":1}}],["不带key返回配置项列表",{"2":{"297":1}}],["不包含任何隐私信息",{"2":{"295":1}}],["不含隐私部分",{"2":{"295":1}}],["不含插件数据",{"2":{"295":1}}],["不同adapter",{"2":{"278":1}}],["不递归",{"2":{"109":1}}],["不要出现过多的嵌套",{"2":{"103":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"110":1}}],["从目录下加载配置文件",{"2":{"109":1}}],["从指定文件加载配置项",{"2":{"108":1}}],["默认普通图片",{"2":{"297":1}}],["默认开启",{"2":{"295":1}}],["默认插件加载器",{"2":{"185":1}}],["默认执行扁平化选项",{"2":{"108":1,"109":1}}],["默认值",{"2":{"51":1,"52":1,"86":1}}],["8",{"2":{"105":1,"106":1,"107":1,"143":1,"182":1,"183":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["但请注意甄别第三方插件的安全性",{"2":{"295":1}}],["但请保证以上三个字段",{"2":{"294":1}}],["但是请保留原作者信息",{"2":{"295":1}}],["但是更加轻量级并且线程安全",{"2":{"80":1}}],["但若出现非单function的情况",{"2":{"279":1}}],["但需单独起篇幅",{"2":{"274":1}}],["但也包含原有的键值对",{"2":{"104":1}}],["扁平化后的配置文件",{"2":{"104":1}}],["扁平化配置文件",{"2":{"104":1}}],["扁平化编写",{"2":{"103":1}}],["注意不要嵌套文件夹",{"2":{"294":1}}],["注意冲突时的优先级",{"2":{"103":1}}],["注册一个函数在nonebot启动后运行",{"2":{"270":1}}],["注册一个函数在轻雪启动后运行",{"2":{"270":1}}],["注册文件系统变化监听器",{"2":{"142":1}}],["注册启动后的函数",{"2":{"45":1}}],["注册启动前的函数",{"2":{"44":1}}],["注册启动时的函数",{"2":{"23":1,"24":1}}],["注册重启后的函数",{"2":{"28":1,"49":1}}],["注册进程重启前的函数",{"2":{"27":1,"48":1}}],["注册进程停止前的函数",{"2":{"25":1,"47":1}}],["注册停止后的函数",{"2":{"26":1,"46":1}}],["尽量不要冲突",{"2":{"103":1}}],["引用计数",{"2":{"98":1}}],["共享内存通信",{"0":{"271":1},"1":{"272":1,"273":1}}],["共享内存对象",{"2":{"97":1}}],["共享内存模块",{"2":{"80":1}}],["若不存在则返回空",{"2":{"297":1}}],["若不存在则创建于config",{"2":{"297":1}}],["若存在则返回",{"2":{"297":1}}],["若存在则覆盖",{"2":{"297":1}}],["若存在则会覆盖",{"2":{"297":1}}],["若你不希望提供这些信息",{"2":{"295":1}}],["若没有metadata",{"2":{"294":1}}],["若要戳20s后停止",{"2":{"277":1}}],["若函数中启动了其他task",{"2":{"276":1}}],["若有子进程订阅则推送给子进程",{"2":{"92":1}}],["若为空",{"2":{"60":1}}],["订阅者接收消息时的回调",{"2":{"90":1}}],["频道",{"2":{"89":1,"90":1,"91":1}}],["发布消息",{"2":{"89":1}}],["发送函数为同步函数",{"2":{"61":1}}],["发送数据",{"2":{"61":1}}],["删除键值对",{"2":{"87":1}}],["值",{"2":{"85":1,"86":1}}],["键值对",{"2":{"88":1}}],["键",{"2":{"85":1,"86":1,"87":1}}],["设置用户信息或打开属性设置菜单",{"2":{"301":1}}],["设置",{"2":{"298":1,"301":1}}],["设置共享内存",{"2":{"273":1}}],["设置后的插件名称",{"2":{"157":1}}],["设置插件名称颜色",{"2":{"157":1}}],["设置键值对",{"2":{"85":1}}],["设置通道实例",{"2":{"69":1,"70":1}}],["依赖关系",{"2":{"76":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"270":1}}],["子进程中导入单例active",{"2":{"270":1}}],["子进程名称",{"2":{"126":1,"127":1,"129":1,"131":1}}],["子进程函数关键字参数",{"2":{"126":1}}],["子进程函数参数",{"2":{"126":1}}],["子进程函数",{"2":{"126":1}}],["子进程订阅者接收函数",{"2":{"82":1}}],["子进程初始化时实例化",{"2":{"67":1}}],["子进程可用的主动和被动通道",{"2":{"65":1}}],["接收数据并执行函数",{"2":{"64":1}}],["接收函数",{"2":{"55":1}}],["会自动判断key版本",{"2":{"303":1}}],["会自动识别文件格式",{"2":{"108":1}}],["会话负载信息",{"2":{"295":1}}],["会触发最大递归深度限制",{"2":{"277":1}}],["会挂起等待",{"2":{"63":1}}],["会阻塞线程",{"2":{"62":1}}],["数据",{"2":{"61":1,"62":1,"63":1,"89":1,"91":1}}],["没有异步的必要",{"2":{"61":1}}],["过滤函数",{"2":{"58":1,"64":1}}],["兼容键",{"2":{"52":1}}],["兼容旧版本",{"2":{"52":1}}],["获取用户信息",{"2":{"301":1}}],["获取唯一的轻雪bot实例",{"2":{"289":1}}],["获取共享内存",{"2":{"273":1}}],["获取主动通道",{"2":{"270":1}}],["获取被动通道",{"2":{"270":1}}],["获取已加载的插件",{"2":{"153":1}}],["获取日志格式",{"2":{"150":1}}],["获取指定子进程",{"2":{"131":1}}],["获取所有键值对",{"2":{"88":1}}],["获取键值对",{"2":{"86":1}}],["获取通道实例们",{"2":{"72":1}}],["获取通道实例",{"2":{"71":1}}],["获取配置",{"2":{"51":1,"52":1}}],["获取轻雪实例",{"2":{"50":1}}],["轻雪天气liteyuki",{"0":{"303":1},"1":{"304":1}}],["轻雪文档",{"2":{"298":1}}],["轻雪命令liteyuki",{"0":{"297":1},"1":{"298":1}}],["轻雪会收集以下内容",{"2":{"295":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"293":1}}],["轻雪主进程不涉及聊天部分",{"2":{"289":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"286":1}}],["轻雪函数",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1},"2":{"274":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"272":1}}],["轻雪抽象消息事件",{"2":{"190":1}}],["轻雪实例",{"2":{"50":1}}],["轻雪生命周期管理",{"2":{"21":1}}],["关键字参数",{"2":{"41":1}}],["自动调用",{"2":{"41":1}}],["延迟重启时间",{"2":{"39":1}}],["外部启动接口",{"2":{"38":1}}],["生命周期管理",{"2":{"37":1}}],["生命周期函数",{"2":{"16":1,"23":2,"24":2,"26":2,"28":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2}}],["初始化通道",{"2":{"60":1}}],["初始化日志",{"2":{"42":1}}],["初始化轻雪",{"2":{"41":1}}],["初始化轻雪实例",{"2":{"37":1}}],["初始化",{"2":{"37":1}}],["常规操作",{"2":{"37":1}}],["总通道",{"2":{"37":1}}],["配置项",{"2":{"303":1}}],["配置项目",{"2":{"104":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"296":1}}],["配置文件尽量扁平化",{"2":{"103":1}}],["配置值",{"2":{"51":1,"52":1}}],["配置键",{"2":{"51":1,"52":1}}],["配置",{"2":{"37":2,"151":1,"298":1}}],["未实现",{"2":{"32":1,"34":1,"46":1,"49":1}}],["进程名",{"2":{"40":1,"119":1}}],["进程生命周期函数",{"2":{"25":2,"27":2}}],["进程函数关键字参数",{"2":{"119":1}}],["进程函数参数",{"2":{"119":1}}],["进程函数",{"2":{"19":1,"119":1}}],["kind",{"2":{"205":1}}],["kill",{"2":{"121":1}}],["k",{"2":{"104":2}}],["keyword",{"2":{"248":2}}],["keywords为城市名",{"2":{"303":2}}],["keywords",{"0":{"248":2},"2":{"248":5,"299":1,"303":2}}],["keyerror",{"2":{"87":1,"127":1,"129":1}}],["keyvaluestore",{"0":{"83":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1},"2":{"94":1,"97":1}}],["keys",{"0":{"52":1},"2":{"52":3}}],["key",{"0":{"51":1,"52":1,"85":1,"86":1,"87":2},"2":{"51":3,"52":10,"85":6,"86":6,"87":11,"99":3,"100":3,"101":3,"104":2,"273":2,"297":4,"301":2,"303":1}}],["keyboardinterrupt",{"2":{"38":1}}],["kwargs=none",{"2":{"119":1}}],["kwargs",{"0":{"22":1,"31":1,"33":1,"37":1,"41":1,"119":1,"126":1},"2":{"22":3,"31":2,"33":2,"37":3,"41":2,"119":4,"126":3,"135":2,"263":2,"297":2}}],["knowledge",{"2":{"281":1}}],["know",{"2":{"6":1}}],["=none",{"2":{"40":1,"60":1,"64":1,"86":1,"190":2}}],["==",{"2":{"39":3,"72":1,"73":2,"74":2,"75":1,"92":1,"98":1,"99":2,"100":2,"101":2,"102":1,"150":1,"236":1,"237":1,"262":1}}],["=",{"0":{"39":1,"40":1,"51":1,"52":1,"60":1,"64":1,"86":1,"87":1,"95":1,"96":1,"108":1,"109":1,"110":1,"119":2,"142":2,"156":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"190":2,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"247":3,"248":3,"253":1,"254":1,"255":1},"2":{"21":7,"22":1,"37":9,"39":6,"40":2,"60":10,"61":1,"62":1,"63":2,"64":1,"69":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":2,"84":6,"85":2,"86":2,"87":1,"88":1,"90":2,"92":1,"94":1,"99":3,"100":2,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":5,"117":3,"119":5,"121":1,"125":1,"126":1,"135":3,"142":2,"144":4,"151":2,"155":12,"156":6,"157":5,"190":10,"191":1,"194":5,"247":1,"252":1,"259":1,"260":2,"262":1,"263":1,"270":5,"273":1,"288":1,"289":2}}],[">",{"2":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"44":1,"48":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":3,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":2,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"123":1,"131":1,"135":1,"142":2,"150":1,"153":1,"155":1,"156":1,"157":3,"195":2,"196":1,"247":1,"248":1,"253":2,"254":2,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1,"303":2}}],["|",{"0":{"22":1,"131":1,"144":1,"155":1,"190":1,"191":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":1,"224":1,"227":1,"228":1,"231":1,"232":1,"233":1,"234":1,"243":1,"244":1,"253":1},"2":{"16":1,"19":1,"22":2,"55":1,"58":1,"131":1,"144":1,"155":1,"190":1,"191":1}}],["7",{"2":{"13":1,"113":1,"149":1,"154":1,"158":1,"159":1}}],["$",{"2":{"10":1}}],["qq群号",{"2":{"305":1}}],["qq",{"2":{"7":1}}],["questions",{"0":{"6":1,"7":1,"12":1}}],["quotes",{"2":{"284":2}}],["quot",{"2":{"3":2,"205":4,"279":2,"284":1,"297":2,"303":4}}],["joined",{"0":{"234":1}}],["join",{"0":{"120":1},"2":{"7":1,"39":1,"109":1,"120":2,"121":1,"156":2,"262":2}}],["json",{"0":{"106":1},"2":{"0":2,"106":4,"108":2,"110":1}}],["guidelines",{"2":{"284":2}}],["guide",{"0":{"280":1},"1":{"281":1,"282":1,"283":1,"284":1,"285":1},"2":{"284":1}}],["guild",{"0":{"209":1},"2":{"236":1,"237":1}}],["google",{"2":{"284":2}}],["go",{"2":{"269":1}}],["girl",{"2":{"265":1}}],["gitmoji",{"2":{"284":2}}],["github",{"2":{"7":1,"9":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"265":1}}],["git",{"2":{"6":1,"9":2,"10":1,"11":2}}],["g",{"2":{"157":1,"306":1}}],["group",{"0":{"208":1},"2":{"236":1,"237":1,"297":9,"298":1,"299":2,"305":3,"306":1}}],["group775840726",{"2":{"7":1}}],["granted",{"2":{"205":1}}],["green>",{"2":{"151":1}}],["gender",{"0":{"218":1}}],["generator",{"2":{"267":1}}],["generate",{"2":{"0":1,"284":1}}],["generic",{"0":{"59":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"60":2,"61":1}}],["getattr",{"2":{"259":1}}],["get",{"0":{"50":1,"51":1,"52":1,"71":1,"72":1,"74":1,"75":1,"86":1,"88":1,"94":1,"99":1,"102":1,"131":1,"150":1,"153":1},"2":{"40":2,"50":2,"51":3,"52":5,"60":2,"61":1,"63":1,"71":2,"72":2,"73":1,"74":4,"75":3,"85":1,"86":4,"87":1,"88":2,"94":1,"97":1,"98":1,"99":3,"101":1,"102":3,"131":2,"144":1,"150":1,"151":2,"153":1,"155":3,"156":1,"185":2,"260":1,"270":8,"273":1,"289":2,"297":3,"298":1,"301":2}}],["globalkeyvaluestore",{"0":{"93":1},"1":{"94":1,"95":1,"96":1},"2":{"97":1}}],["global",{"2":{"37":1,"64":1,"151":1,"299":2,"300":2}}],["gather",{"2":{"22":1,"260":1}}],["gt",{"0":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"44":1,"48":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"123":1,"131":1,"142":1,"150":1,"153":1,"155":1,"156":1,"157":1,"195":1,"196":1,"247":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1},"2":{"76":3,"104":1,"194":1,"262":1,"284":2,"296":1,"297":7,"299":10,"301":2}}],["\`",{"2":{"3":1}}],["voice",{"0":{"212":1},"2":{"236":1,"237":1}}],["v",{"2":{"104":2}}],["validate",{"2":{"61":1}}],["valueerror",{"2":{"60":2,"69":1,"236":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["value",{"0":{"85":1},"2":{"2":1,"3":3,"85":5,"100":3,"104":3,"273":2,"297":2,"301":1}}],["var=value",{"2":{"276":1}}],["var2=value2",{"2":{"276":1}}],["var1=value1>",{"2":{"276":1}}],["var",{"0":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"98":1,"133":1,"134":1,"148":1,"250":1}}],["version=",{"2":{"288":1}}],["version",{"0":{"148":1},"2":{"11":1,"294":1}}],["venv",{"2":{"9":8}}],["vitepress",{"2":{"284":1}}],["view",{"2":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["virtual",{"2":{"6":1,"9":5}}],["visit",{"2":{"3":1}}],["v11协议api",{"2":{"297":2}}],["v11",{"2":{"3":1,"278":1}}],["2s戳两次",{"2":{"277":1}}],["22",{"2":{"182":1}}],["27",{"2":{"113":1,"149":1}}],["24",{"2":{"13":1,"159":1}}],["23",{"2":{"13":1,"154":1,"158":1}}],["20代替空格",{"2":{"297":1}}],["20和end",{"2":{"277":1}}],["2024",{"2":{"13":2,"113":2,"143":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"188":2,"192":2,"205":1,"245":2,"249":2}}],["2020",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["20216",{"2":{"1":1,"3":1,"10":2}}],["20",{"2":{"11":1}}],["2019+",{"2":{"11":1}}],["2",{"0":{"209":1},"2":{"2":1,"277":1,"294":1}}],["occurred",{"2":{"260":1}}],["occupy",{"2":{"11":1}}],["object",{"2":{"269":1}}],["obtaining",{"2":{"205":1}}],["observer",{"0":{"132":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1},"2":{"142":1,"289":2}}],["overall",{"2":{"147":1}}],["os",{"2":{"108":1,"109":3,"156":9,"289":2}}],["operator",{"0":{"244":1}}],["open",{"2":{"39":1,"105":1,"106":1,"107":1,"285":1}}],["option",{"2":{"296":1}}],["optional",{"0":{"40":1,"60":1,"64":1,"86":2,"155":1,"180":1,"190":2},"2":{"39":1,"40":2,"51":1,"52":1,"60":1,"64":3,"84":2,"86":3,"155":1,"190":2}}],["opt",{"2":{"38":2,"155":3}}],["o",{"2":{"37":1}}],["out",{"2":{"205":1}}],["outlook",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["output",{"2":{"2":1}}],["ordinary",{"2":{"284":1}}],["organization",{"2":{"281":1}}],["or",{"2":{"4":1,"6":1,"11":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"205":9,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":3,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"284":3}}],["official",{"2":{"265":2,"267":1}}],["of",{"0":{"3":1},"2":{"6":2,"10":1,"11":1,"61":1,"69":1,"147":1,"155":1,"205":8,"267":1,"281":4,"284":5}}],["others",{"0":{"267":1}}],["otherwise",{"2":{"205":1}}],["other",{"0":{"2":1,"4":1,"7":1,"12":1,"253":1,"254":1},"2":{"2":1,"3":1,"11":2,"205":2,"253":2,"254":2,"269":3}}],["one",{"2":{"6":1,"270":1}}],["onebot",{"0":{"3":1},"2":{"2":2,"3":2,"4":1,"278":1,"297":1}}],["only",{"2":{"0":1,"64":1,"270":1}}],["on",{"0":{"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"54":1,"55":1,"64":1,"73":1,"74":1,"75":1,"81":1,"82":1,"90":3,"99":1,"100":1,"101":1,"102":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"245":1,"247":1,"248":1},"1":{"246":1,"247":1,"248":1},"2":{"0":1,"3":1,"6":1,"7":1,"9":1,"11":3,"21":1,"22":1,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":3,"45":3,"46":3,"47":3,"48":3,"49":3,"50":1,"51":1,"52":1,"55":2,"60":3,"61":1,"62":1,"63":1,"64":5,"69":1,"70":1,"71":1,"72":2,"73":4,"74":4,"75":3,"79":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":12,"91":2,"92":1,"94":1,"98":1,"99":4,"100":4,"101":4,"102":3,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":3,"138":3,"139":3,"140":3,"141":3,"142":3,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"182":1,"183":2,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"245":1,"246":1,"247":2,"248":5,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"265":1,"270":6,"284":1,"289":1}}],["45m",{"2":{"305":2}}],["47",{"2":{"188":1}}],["41",{"2":{"10":1}}],["40",{"2":{"10":1}}],["4",{"0":{"211":1},"2":{"1":1}}],["utility",{"2":{"283":1}}],["utils",{"0":{"258":1},"1":{"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"283":1}}],["utf",{"2":{"105":1,"106":1,"107":1}}],["url",{"0":{"204":1}}],["unload",{"2":{"299":1,"300":1}}],["understand",{"2":{"284":1}}],["unit",{"2":{"283":1}}],["uninfo的部分模型定义",{"2":{"205":1}}],["uninstall",{"2":{"6":2,"299":1,"300":1}}],["until",{"2":{"260":2}}],["unclassified",{"0":{"164":2,"170":1}}],["unsupported",{"2":{"108":1}}],["ubuntu",{"2":{"11":1}}],["usage",{"0":{"169":1},"2":{"281":1}}],["using",{"2":{"6":3,"10":1}}],["users",{"2":{"284":1}}],["user",{"0":{"190":1,"213":1,"230":2,"242":2,"301":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"190":3,"191":2,"236":1,"237":2,"257":1,"277":3,"284":1}}],["used",{"2":{"64":1,"181":1,"270":1,"284":1}}],["use",{"2":{"1":1,"3":2,"4":2,"6":4,"9":4,"10":1,"11":2,"52":1,"155":1,"205":2,"282":1,"284":2}}],["updates",{"2":{"1":1}}],["update",{"2":{"1":2,"2":2,"6":1,"11":2,"108":3,"109":1,"110":1,"297":1,"298":1,"299":1,"300":1}}],["feat",{"2":{"284":1}}],["features",{"2":{"284":2}}],["feature",{"2":{"284":1}}],["flake8",{"2":{"282":1}}],["flat",{"0":{"104":1},"2":{"104":2,"105":1,"106":1,"107":1}}],["flag",{"2":{"21":1}}],["front",{"2":{"281":1}}],["from",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1},"2":{"62":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":2,"187":2,"205":1,"269":1,"270":4,"288":1,"289":3}}],["friend",{"2":{"277":2}}],["free",{"2":{"205":1}}],["frequently",{"0":{"6":1}}],["framework",{"2":{"147":1,"269":1,"281":1,"283":3}}],["f",{"2":{"39":1,"40":2,"52":1,"60":2,"61":1,"69":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":1,"118":1,"121":2,"123":1,"127":1,"128":1,"129":1,"130":1,"155":5,"156":9,"157":1,"187":2,"236":2,"237":2,"260":1,"270":2,"289":1}}],["future",{"2":{"260":1}}],["furnished",{"2":{"205":1}}],["func=none",{"2":{"142":1}}],["func=lambda",{"2":{"72":1,"73":2,"74":2,"75":1,"270":1}}],["funcs",{"0":{"22":2,"81":1,"82":1,"91":1},"2":{"21":6,"22":4,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2,"64":1,"90":6,"91":2,"92":1}}],["func",{"0":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"21":1,"22":3,"23":4,"24":4,"25":4,"26":4,"27":4,"28":4,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":4,"45":3,"46":3,"47":3,"48":4,"49":3,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":3,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":3,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":2,"120":1,"121":1,"122":1,"123":1,"125":1,"126":2,"127":1,"128":1,"129":1,"130":1,"131":1,"133":1,"134":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":4,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":2},"2":{"16":2,"19":2,"21":6,"22":8,"23":8,"24":8,"25":8,"26":8,"27":8,"28":8,"44":7,"45":6,"46":6,"47":6,"48":7,"49":6,"55":2,"58":2,"60":2,"64":20,"81":1,"82":1,"90":8,"91":2,"119":1,"126":3,"135":2,"142":7,"259":2,"263":4,"276":1}}],["function实现语法高亮",{"2":{"279":1}}],["functions",{"2":{"29":1,"30":1,"31":1,"32":1,"33":1,"34":1}}],["function",{"2":{"11":2,"270":1,"274":1,"276":1,"277":2,"297":3}}],["full",{"2":{"6":1,"270":1}}],["familiar",{"2":{"281":2}}],["failed",{"2":{"6":2,"155":1}}],["faq",{"0":{"5":1},"1":{"6":1,"7":1}}],["false",{"0":{"108":1,"109":1,"110":1,"247":1,"248":1},"2":{"2":4,"60":2,"84":2,"259":1}}],["follow",{"2":{"284":4}}],["following",{"2":{"2":1,"205":1,"281":1,"284":2}}],["folder",{"2":{"181":1}}],["found",{"2":{"61":1,"69":1,"108":1,"109":1,"121":1,"123":1,"127":1,"129":1}}],["fork",{"2":{"281":1}}],["formatting",{"2":{"282":1}}],["format=get",{"2":{"151":1}}],["formats",{"2":{"109":1}}],["format",{"0":{"150":1,"157":1},"2":{"108":1,"150":3,"151":1,"155":2,"157":1,"284":1}}],["for",{"0":{"12":1},"2":{"1":1,"3":2,"6":2,"22":1,"40":1,"52":1,"60":1,"70":1,"91":1,"104":2,"108":1,"109":2,"118":1,"120":1,"122":1,"128":1,"130":1,"142":1,"156":2,"185":2,"187":1,"196":1,"205":2,"246":1,"248":1,"260":2,"269":1,"270":1,"282":1,"284":5,"288":1}}],["fonts",{"2":{"1":1}}],["finally",{"0":{"285":1}}],["field",{"2":{"284":3}}],["fields",{"2":{"0":1,"3":2}}],["fixing",{"2":{"284":2}}],["fitness",{"2":{"205":1}}],["filter=lambda",{"2":{"289":1}}],["filter",{"0":{"56":1,"57":1,"58":1,"64":2,"134":1,"142":2},"2":{"58":2,"64":8,"72":1,"73":2,"74":2,"75":1,"142":5,"270":1}}],["file",{"0":{"105":1,"106":1,"107":1,"142":1},"2":{"3":1,"13":1,"105":4,"106":4,"107":4,"108":12,"109":3,"113":1,"142":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1,"283":1,"289":3}}],["filesystemeventhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1}}],["filesystemevent",{"2":{"133":1,"134":1,"142":1,"289":2}}],["files",{"0":{"108":2},"2":{"0":4,"108":3,"109":1,"110":1,"205":1}}],["fill",{"2":{"1":1,"3":1,"284":1}}],["first",{"2":{"0":1,"6":1,"281":1}}],["b包也定义了一个index",{"2":{"294":1}}],["bilingual",{"2":{"284":1}}],["bind",{"2":{"151":1,"304":1}}],["binding",{"2":{"1":1}}],["bin",{"2":{"9":2}}],["brief",{"2":{"284":1}}],["branch",{"2":{"281":4}}],["break",{"2":{"246":1}}],["browser",{"2":{"6":1}}],["black",{"2":{"282":1}}],["block",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"247":2,"248":2}}],["blue>",{"2":{"151":1}}],["b",{"2":{"104":1,"262":2,"306":1}}],["bool=false",{"2":{"108":1,"109":1,"110":1,"247":1,"248":1}}],["bool=true",{"2":{"87":1,"142":1,"156":1}}],["bool",{"0":{"60":1,"87":1,"108":1,"109":1,"110":1,"123":1,"142":1,"156":1,"194":1,"233":1,"247":1,"248":1,"255":1,"256":1,"257":1,"259":1},"2":{"56":1,"57":1,"60":1,"123":1,"134":1,"194":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":2}}],["both",{"2":{"283":1}}],["bot",{"0":{"13":1,"35":1,"50":1,"190":1,"265":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"1":1,"2":1,"10":1,"11":1,"37":2,"50":4,"51":1,"52":4,"144":2,"190":3,"191":2,"265":3,"266":1,"267":1,"270":4,"275":1,"283":2,"289":2,"297":1,"305":3,"306":1}}],["bugs",{"2":{"284":2}}],["bug",{"2":{"284":2}}],["business",{"2":{"283":1}}],["built",{"2":{"181":2,"283":1}}],["build",{"2":{"10":1}}],["but",{"2":{"3":1,"205":1,"270":1,"284":1}}],["based",{"2":{"265":1}}],["baseseg",{"0":{"198":1,"201":1,"203":1},"1":{"199":1,"200":1,"202":1,"204":1}}],["basemodel",{"0":{"166":1,"174":1,"198":1,"213":1,"219":1,"225":1,"229":1,"235":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["baseexception",{"0":{"146":1}}],["bashdocker",{"2":{"10":1}}],["bash",{"2":{"9":1}}],["basically",{"2":{"3":1}}],["basic",{"0":{"1":1},"2":{"281":2}}],["better",{"2":{"285":1}}],["between",{"2":{"6":1}}],["best",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["before",{"0":{"23":1,"25":1,"27":1,"29":1,"31":1,"33":1,"44":1,"47":1,"48":1},"2":{"21":3,"23":2,"25":2,"27":2,"29":3,"31":3,"33":3,"44":2,"47":2,"48":2}}],["be",{"2":{"3":1,"6":1,"11":1,"52":1,"61":1,"64":1,"69":1,"137":1,"205":2,"270":1,"284":2}}],["by",{"2":{"3":1,"4":1,"6":1,"270":1,"282":1}}],["14s",{"2":{"305":2}}],["1h",{"2":{"305":2}}],["1d",{"2":{"305":2}}],["19",{"2":{"188":1,"192":1,"245":1,"249":1}}],["1919810",{"2":{"1":1}}],["1145141919810",{"2":{"297":1}}],["11",{"2":{"184":1}}],["10",{"2":{"148":1,"297":1}}],["10+",{"2":{"9":1,"11":1}}],["18",{"2":{"143":1}}],["12",{"2":{"113":1,"149":1}}],["127",{"2":{"1":1,"3":1}}],["1gb",{"2":{"11":2}}],["1vcpu",{"2":{"11":1}}],["1",{"0":{"208":1},"2":{"1":1,"2":1,"3":1,"39":2,"40":2,"64":1,"73":2,"74":2,"75":1,"92":2,"99":3,"100":2,"101":1,"102":1,"104":1,"136":1,"137":1,"155":4,"262":2,"288":1,"294":2}}],["03",{"2":{"270":2}}],["0000",{"2":{"270":3}}],["00",{"2":{"270":18}}],["02",{"2":{"159":1,"184":1}}],["04",{"2":{"143":1}}],["04+",{"2":{"11":1}}],["0",{"0":{"39":1,"207":1,"247":1,"248":1},"2":{"1":2,"3":2,"21":1,"37":1,"39":2,"72":1,"73":2,"74":2,"75":1,"92":1,"98":2,"99":2,"100":2,"101":2,"102":1,"194":1,"277":1,"288":2,"294":2}}],["html中用",{"2":{"294":1}}],["html",{"2":{"294":1}}],["html文件会被覆盖",{"2":{"294":1}}],["html文件",{"2":{"294":2}}],["https",{"2":{"9":1}}],["has",{"2":{"284":1}}],["hash",{"0":{"175":1},"2":{"175":2}}],["harmless",{"2":{"284":1}}],["handle",{"0":{"195":1},"2":{"182":1,"183":1,"195":1}}],["handlers",{"2":{"194":1,"195":1,"196":1}}],["handler",{"0":{"187":1,"252":1},"2":{"142":3,"187":1,"195":4,"196":2,"252":3,"253":4,"254":4,"255":2}}],["have",{"2":{"3":1,"7":1,"10":1,"11":1}}],["hints",{"2":{"284":1}}],["hint",{"2":{"60":1}}],["holders",{"2":{"205":1}}],["homepage",{"0":{"172":1}}],["how",{"0":{"281":1},"1":{"282":1},"2":{"6":2}}],["host",{"2":{"1":1}}],["help",{"2":{"299":1,"300":1}}],["hello",{"2":{"275":5,"297":1}}],["hereby",{"2":{"205":1}}],["here",{"2":{"3":2}}],["header",{"2":{"1":1}}],["easy",{"2":{"284":1}}],["each",{"2":{"284":2}}],["editing",{"2":{"284":1}}],["etc",{"2":{"284":1}}],["echo",{"2":{"275":3}}],["e",{"2":{"87":2,"155":1,"157":1,"260":2}}],["elif",{"2":{"39":2,"60":1,"64":1,"108":4,"155":2,"156":1,"236":1,"237":1}}],["else",{"2":{"22":1,"39":1,"40":1,"50":1,"64":2,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":2,"105":1,"106":1,"107":1,"150":1,"151":7,"155":2,"236":1,"246":1,"260":1,"262":1}}],["event装饰器监听文件系统事件",{"2":{"289":1}}],["events",{"2":{"289":1}}],["eventhandler",{"0":{"195":2},"2":{"194":1,"195":4}}],["event",{"0":{"77":1,"78":1,"137":1,"138":1,"139":1,"140":1,"141":2,"142":2,"183":1,"188":1,"196":1,"255":1,"256":1,"257":1},"1":{"78":1,"79":2,"189":1,"190":1,"191":1},"2":{"37":4,"43":1,"76":1,"137":1,"138":2,"139":2,"140":2,"141":3,"142":8,"183":3,"188":1,"191":2,"196":4,"205":1,"248":2,"253":3,"254":3,"255":2,"256":1,"257":2,"260":2,"284":1,"289":8}}],["every",{"2":{"1":1}}],["emoji",{"2":{"284":1}}],["email",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["empty",{"0":{"247":1,"248":1,"256":1},"2":{"1":1,"155":1,"156":1,"256":1}}],["errors",{"2":{"6":1}}],["error",{"0":{"87":1},"2":{"6":1,"87":3,"151":1,"260":1}}],["express",{"2":{"205":1}}],["extra",{"0":{"173":1}}],["extensions",{"2":{"289":2}}],["extend",{"2":{"144":1}}],["external",{"2":{"1":1}}],["exclude",{"2":{"289":2}}],["exc",{"2":{"155":1,"196":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"145":1}}],["exception",{"0":{"145":1},"1":{"146":1},"2":{"155":1,"196":1,"260":2}}],["except",{"2":{"38":1,"87":1,"155":1,"196":1,"260":2}}],["executor",{"2":{"63":1}}],["executable",{"2":{"6":1,"11":1,"39":3}}],["exist",{"2":{"156":1}}],["exists",{"2":{"60":2,"69":1,"108":1,"109":1,"156":2}}],["exit",{"2":{"39":1}}],["example",{"0":{"3":1,"270":1},"2":{"6":2}}],["enclosed",{"2":{"284":1}}],["encoding=",{"2":{"105":1,"106":1,"107":1}}],["english",{"2":{"283":1}}],["en",{"2":{"283":1}}],["entry",{"2":{"283":1}}],["enter",{"2":{"6":1}}],["end",{"2":{"276":1,"281":1}}],["endswith",{"2":{"108":3,"109":1,"156":1,"289":1}}],["enumerate",{"2":{"246":1}}],["enum",{"0":{"160":1,"206":1},"1":{"161":1,"162":1,"163":1,"164":1,"165":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1}}],["enforcing",{"2":{"60":1}}],["environment",{"2":{"9":6}}],["environments",{"2":{"3":1,"6":1,"11":1}}],["ensure",{"2":{"1":1,"260":1,"281":1,"284":7}}],["enable",{"2":{"1":1,"282":1,"297":2,"298":1,"299":2,"300":2}}],["mcfunction",{"2":{"275":2}}],["mix",{"2":{"284":1}}],["mit",{"2":{"205":1}}],["minimum",{"2":{"11":1}}],["msg",{"2":{"187":3,"297":1}}],["much",{"2":{"284":3}}],["mute",{"0":{"233":1}}],["must",{"2":{"61":1,"69":1,"137":1}}],["multiple",{"2":{"0":1,"11":1,"284":1}}],["m",{"2":{"9":2,"11":1,"157":1,"246":2,"306":1}}],["mypy",{"2":{"282":1}}],["my",{"2":{"6":1}}],["member",{"0":{"229":1,"243":2,"244":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1},"2":{"297":1}}],["memory",{"0":{"97":1},"2":{"11":1,"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"119":1,"269":1,"273":3}}],["merchantability",{"2":{"205":1}}],["merge",{"2":{"0":1,"205":1,"281":1}}],["meta",{"2":{"155":4,"288":1}}],["metadata",{"0":{"180":1},"2":{"155":13}}],["methods",{"2":{"3":1}}],["messages",{"2":{"269":2}}],["message=",{"2":{"191":1,"297":1}}],["message=message",{"2":{"191":1}}],["messageevent",{"0":{"183":1,"189":1,"190":1,"196":1,"255":1,"256":1,"257":1},"1":{"190":1,"191":1},"2":{"183":1,"190":1,"191":1,"196":1,"248":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1}}],["message",{"0":{"187":1,"190":3,"191":1,"197":1,"247":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1},"2":{"4":1,"183":1,"187":1,"190":9,"191":5,"247":1,"248":2,"284":5,"305":1,"306":1}}],["make",{"2":{"285":1}}],["mark",{"2":{"284":1}}],["markdown",{"2":{"281":1,"284":1}}],["marsho",{"2":{"265":1}}],["map",{"2":{"267":1}}],["matcher",{"0":{"192":1,"193":1,"246":3,"247":1,"248":1},"1":{"193":1,"194":2,"195":2,"196":2},"2":{"192":1,"246":9,"247":6,"248":1}}],["match",{"2":{"157":1}}],["maintainer",{"2":{"281":1}}],["mainprocess",{"2":{"269":1}}],["main",{"0":{"81":1},"2":{"6":1,"9":1,"50":1,"60":2,"64":4,"69":1,"71":1,"72":1,"84":1,"85":1,"86":1,"87":1,"88":1,"90":5,"91":1,"92":1,"269":1,"270":6,"281":1,"283":1,"292":1}}],["management",{"2":{"267":1}}],["manager",{"0":{"113":1,"158":1},"1":{"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1},"2":{"37":1,"38":1,"39":1,"40":1,"43":1,"113":1,"158":1}}],["many",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["may",{"2":{"3":1}}],["moved",{"0":{"140":1},"2":{"140":1}}],["more",{"2":{"2":1,"11":1,"282":1}}],["moduletype",{"0":{"178":1}}],["module=module",{"2":{"155":1}}],["module",{"0":{"13":1,"35":1,"53":1,"76":1,"77":1,"80":1,"103":1,"111":1,"112":1,"113":1,"132":1,"143":1,"144":1,"145":1,"147":1,"149":1,"152":1,"154":1,"155":1,"158":1,"159":1,"163":2,"178":1,"179":1,"181":1,"182":1,"184":1,"186":1,"188":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1,"262":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"79":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"189":1,"190":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"144":3,"147":1,"155":26,"156":9,"157":1,"175":1,"181":1,"262":1}}],["modified",{"0":{"137":1},"2":{"10":1,"137":2,"138":1,"139":1,"140":1,"141":1,"142":4}}],["modify",{"2":{"0":2,"205":1}}],["modes",{"2":{"270":1}}],["models",{"0":{"205":1},"1":{"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["model",{"0":{"159":1,"176":1},"1":{"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1},"2":{"159":1,"265":1}}],["mode为true",{"2":{"132":1}}],["mode",{"2":{"2":5,"6":3,"270":5,"282":2,"297":2,"298":1}}],["most",{"2":{"0":1}}],["lt",{"2":{"284":2,"296":1,"297":7,"299":10,"301":2}}],["lyf结尾",{"2":{"275":1}}],["lyfunction语法",{"2":{"297":1}}],["lyfunction",{"2":{"275":1}}],["lead",{"2":{"284":1}}],["least",{"2":{"11":2}}],["level=level",{"2":{"151":1}}],["level",{"0":{"150":1,"227":1},"2":{"1":3,"150":3,"151":10}}],["last",{"2":{"135":4}}],["lambda",{"2":{"98":1,"99":2,"100":2,"101":2,"102":1}}],["latest",{"2":{"10":1}}],["language",{"2":{"2":2,"281":1,"284":3}}],["location",{"2":{"267":1}}],["local",{"2":{"1":1}}],["locks",{"2":{"87":1}}],["lock",{"0":{"96":2},"2":{"85":3,"86":3,"87":3,"94":1}}],["loop",{"0":{"92":1},"2":{"37":4,"60":1,"63":3,"84":2,"92":2,"260":10}}],["logic",{"2":{"283":1}}],["log0000",{"2":{"270":1}}],["logo",{"2":{"37":1}}],["logger",{"0":{"42":1},"2":{"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":2,"39":1,"41":1,"42":1,"52":1,"105":1,"106":1,"107":1,"108":2,"109":1,"118":1,"121":2,"123":1,"128":1,"130":1,"151":11,"155":3,"156":3,"187":2,"260":1,"270":3,"289":2}}],["logs",{"2":{"2":1}}],["log",{"0":{"149":1,"151":1},"1":{"150":1,"151":1},"2":{"1":4,"6":3,"42":1,"149":1,"151":3,"270":1}}],["loaded",{"0":{"153":1},"2":{"153":1}}],["loader",{"0":{"184":1,"185":1},"1":{"185":1},"2":{"37":1,"185":1}}],["loading",{"2":{"105":1,"106":1,"107":1}}],["load",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"154":1,"155":1,"156":1},"1":{"155":1,"156":1,"157":1},"2":{"0":1,"2":2,"37":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":3,"144":2,"154":1,"155":3,"156":2,"185":2,"299":1,"300":1}}],["links",{"2":{"284":2}}],["linux",{"2":{"9":2,"11":1,"39":1}}],["like",{"2":{"269":1}}],["liability",{"2":{"205":1}}],["liable",{"2":{"205":1}}],["limitation",{"2":{"205":1}}],["limited",{"2":{"4":1,"205":1}}],["license",{"2":{"205":1}}],["litedoc",{"2":{"267":1,"284":1}}],["liteecho",{"0":{"182":1,"183":1},"1":{"183":1},"2":{"182":2,"183":2,"297":1}}],["liteyukiexception",{"0":{"146":1}}],["liteyukistudio",{"2":{"9":1,"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["liteyuki",{"0":{"13":1,"35":1,"53":1,"76":1,"77":1,"80":1,"103":1,"111":1,"112":1,"113":1,"132":1,"143":1,"145":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"186":1,"188":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1,"299":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"79":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"189":1,"190":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"300":1},"2":{"1":6,"2":4,"3":2,"4":2,"6":3,"9":2,"10":1,"11":1,"37":2,"50":1,"144":2,"147":1,"155":5,"185":3,"265":4,"266":3,"267":6,"269":1,"270":12,"273":2,"274":1,"281":4,"283":6,"284":2,"285":1,"288":1,"289":4,"292":1,"293":1,"297":4,"298":3}}],["liteyukibot",{"0":{"36":1,"50":1},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1},"2":{"0":5,"9":2,"10":1,"39":1,"50":2,"144":1,"265":2,"266":2,"267":2,"269":1,"283":3}}],["life",{"2":{"21":1}}],["lifespan=self",{"2":{"37":1}}],["lifespan",{"0":{"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"44":2,"45":1,"46":1,"47":1,"48":2,"49":1,"117":2},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":2,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2},"2":{"13":1,"16":2,"19":2,"21":6,"22":4,"23":4,"24":4,"25":4,"26":4,"27":4,"28":4,"37":3,"44":5,"45":4,"46":4,"47":4,"48":5,"49":4,"117":4}}],["listen",{"2":{"269":1}}],["listening",{"2":{"1":1}}],["listdir",{"2":{"109":1,"156":2}}],["list",{"0":{"190":1,"248":1},"2":{"1":4,"21":6,"60":2,"81":1,"82":1,"190":1,"194":1,"246":3,"248":1,"297":1,"299":2,"300":1}}],["switch",{"2":{"297":2,"298":1}}],["simple",{"2":{"288":1}}],["single",{"2":{"284":1}}],["signature",{"2":{"263":2}}],["sides",{"2":{"3":1}}],["side",{"0":{"3":1}}],["src",{"2":{"185":1,"283":2,"289":5}}],["script",{"2":{"267":1}}],["scripts",{"2":{"9":2}}],["scope",{"0":{"240":1},"2":{"236":4,"237":4}}],["scene",{"0":{"219":1,"224":1,"241":2},"1":{"220":1,"221":1,"222":1,"223":1,"224":1},"2":{"236":1,"237":1}}],["scenetype",{"0":{"206":1,"221":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"236":7,"237":6}}],["schedule",{"2":{"142":1}}],["shinjuku",{"2":{"303":1}}],["should",{"2":{"284":7}}],["showing",{"2":{"267":1}}],["show",{"2":{"151":8}}],["shellstatistic",{"2":{"305":1}}],["shellbind",{"2":{"303":1}}],["shellweather",{"2":{"303":1}}],["shellmain",{"2":{"294":1}}],["shellvar",{"2":{"276":1}}],["shellcmd",{"2":{"275":1}}],["shell",{"2":{"275":1,"277":1}}],["shall",{"2":{"205":2}}],["shared",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"119":1,"269":1,"273":3}}],["shutdown",{"0":{"25":1,"26":1,"31":1,"32":1,"46":1,"47":1},"2":{"21":2,"25":2,"26":2,"31":3,"32":3,"46":2,"47":2}}],["sleep",{"2":{"39":1,"270":1,"276":1,"277":1}}],["search",{"2":{"299":1,"300":1}}],["see",{"2":{"282":1}}],["segment",{"0":{"199":1}}],["segments",{"0":{"197":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1}}],["sell",{"2":{"205":1}}],["select",{"2":{"187":1}}],["self",{"0":{"21":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"60":1,"61":1,"62":1,"63":1,"64":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"92":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"137":1,"138":1,"139":1,"140":1,"141":1,"175":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"238":1,"252":1,"253":1,"254":1,"255":1},"2":{"21":8,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":3,"30":3,"31":3,"32":3,"33":3,"34":3,"37":13,"38":4,"39":4,"40":2,"41":2,"42":1,"43":3,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"60":14,"61":6,"62":3,"63":2,"64":3,"79":3,"84":7,"85":3,"86":3,"87":4,"88":3,"89":2,"90":1,"92":4,"115":6,"117":4,"118":2,"119":2,"120":2,"121":3,"122":3,"123":3,"125":2,"126":2,"127":3,"128":2,"129":3,"130":2,"131":2,"137":1,"138":2,"139":2,"140":2,"141":2,"175":2,"190":10,"191":3,"194":5,"195":2,"196":3,"236":7,"237":8,"252":2,"253":2,"254":2,"255":3}}],["session",{"0":{"186":1,"188":1,"190":2,"192":1,"197":1,"205":1,"235":1,"236":1,"245":1,"249":1},"1":{"187":1,"189":1,"190":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":2,"237":2,"238":2,"239":2,"240":2,"241":2,"242":2,"243":2,"244":2,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1},"2":{"190":6,"191":5,"236":1}}],["service",{"0":{"162":2},"2":{"157":1,"288":1}}],["server",{"2":{"1":1,"3":1,"11":1}}],["send",{"0":{"61":1},"2":{"40":2,"60":2,"61":4,"69":1,"71":1,"72":1,"74":1,"75":1,"85":1,"86":1,"87":1,"88":1,"89":1,"92":1,"99":1,"102":1,"191":1,"269":1,"270":3,"297":1}}],["setting",{"2":{"282":1}}],["set",{"0":{"69":1,"70":1,"73":1,"85":1,"100":1,"156":1},"2":{"37":1,"43":1,"69":2,"70":2,"72":1,"73":3,"85":2,"99":1,"100":3,"156":2,"260":1,"273":1,"297":2,"298":1,"301":2}}],["sequence",{"0":{"22":1},"2":{"22":2}}],["style",{"2":{"284":2,"294":2}}],["stem",{"2":{"262":2}}],["stdout",{"2":{"151":1}}],["store",{"2":{"84":1,"85":1,"86":1,"87":2,"88":1,"181":1}}],["storage",{"0":{"80":1},"1":{"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"76":2,"273":2}}],["stopped",{"2":{"38":1}}],["stopping",{"2":{"38":1}}],["stop",{"0":{"43":1},"2":{"37":1,"38":1,"43":2}}],["standardization",{"0":{"284":1}}],["statistic",{"2":{"306":1}}],["statistics",{"0":{"305":1},"1":{"306":1}}],["staticmethod",{"2":{"21":1,"22":1,"90":1,"91":1}}],["status",{"2":{"297":1,"298":1}}],["stat",{"2":{"267":1,"306":1}}],["star",{"2":{"267":1}}],["starmap",{"2":{"267":1}}],["startup",{"2":{"270":2}}],["startswith",{"2":{"182":1,"183":1}}],["started",{"2":{"6":1}}],["start",{"0":{"23":1,"24":1,"29":1,"30":1,"44":1,"45":1,"92":1,"118":1,"127":1,"128":1},"2":{"1":2,"6":1,"21":2,"23":2,"24":2,"29":3,"30":3,"38":1,"39":2,"44":2,"45":2,"92":2,"118":2,"127":2,"128":2,"261":1,"270":1}}],["starting",{"2":{"0":1,"118":1,"128":1}}],["strings",{"2":{"284":2}}],["strip",{"2":{"183":2}}],["structure",{"0":{"283":1},"2":{"61":1}}],["str",{"0":{"40":1,"51":1,"52":2,"60":1,"69":1,"70":1,"71":1,"72":1,"73":2,"74":2,"75":2,"79":2,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"115":2,"119":1,"121":1,"123":1,"126":1,"127":1,"129":1,"131":1,"142":1,"144":1,"150":2,"153":1,"155":1,"156":1,"157":2,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"177":1,"179":1,"190":9,"191":2,"199":1,"200":1,"202":1,"204":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"222":1,"223":1,"226":1,"228":1,"231":1,"238":1,"239":1,"240":1,"248":1,"262":1},"2":{"17":1,"18":1,"37":1,"40":2,"51":2,"52":3,"60":2,"68":2,"69":2,"70":2,"71":2,"72":3,"73":2,"74":2,"75":2,"79":2,"81":1,"82":1,"84":5,"85":1,"86":1,"87":1,"88":3,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"115":2,"117":2,"119":1,"121":1,"123":1,"125":1,"126":1,"127":1,"129":1,"131":1,"142":1,"144":1,"150":2,"153":2,"155":1,"156":1,"157":3,"190":9,"191":2,"248":1,"257":1,"262":2,"270":1}}],["syntax",{"2":{"281":1,"284":1}}],["sync",{"0":{"14":1,"17":1,"54":1,"56":1},"2":{"16":1,"19":1,"55":1,"58":1,"263":1}}],["sys",{"2":{"39":3,"151":1}}],["system",{"0":{"142":1},"2":{"11":2,"39":4,"142":1,"289":2}}],["snowykami",{"2":{"13":2,"113":2,"143":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"188":2,"192":2,"245":2,"249":2}}],["s",{"2":{"11":1}}],["sparkles",{"2":{"284":2}}],["space",{"2":{"11":1}}],["split",{"2":{"155":4}}],["specified",{"2":{"155":1}}],["specific",{"2":{"6":1,"11":1}}],["specify",{"2":{"6":1}}],["so",{"2":{"205":1,"283":1}}],["software",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":9,"245":1,"249":1}}],["source",{"2":{"9":2,"11":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"267":1,"283":1,"285":1}}],["some",{"2":{"1":1,"6":2}}],["summary",{"2":{"284":1}}],["such",{"2":{"282":1,"284":2}}],["succeeded",{"2":{"155":1}}],["success",{"2":{"121":1,"151":1,"155":2}}],["suggestions",{"0":{"282":1}}],["su",{"0":{"257":1},"2":{"182":1,"183":1,"257":1}}],["substantial",{"2":{"205":1}}],["subscribe",{"2":{"90":1}}],["subscriber",{"0":{"81":1,"82":1,"90":1,"91":1},"2":{"90":7,"91":2,"92":1}}],["subject",{"2":{"205":1}}],["sublicense",{"2":{"205":1}}],["subprocess",{"0":{"131":1},"2":{"125":1,"126":1,"131":1}}],["subprocessmanager",{"0":{"124":1},"1":{"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1}}],["sub",{"0":{"82":1},"2":{"50":1,"60":1,"64":1,"84":1,"90":4,"92":1}}],["submitted",{"2":{"284":1}}],["submit",{"2":{"7":1,"281":2}}],["support",{"2":{"266":2,"284":1}}],["supported",{"2":{"4":1,"6":1,"109":1}}],["supports",{"2":{"0":1}}],["superuser",{"2":{"1":1}}],["superusers",{"2":{"0":1,"1":1,"257":1}}],["same",{"2":{"3":2}}],["safe",{"2":{"2":2,"6":3,"105":1}}],["num为每页显示数量",{"2":{"299":2}}],["num",{"2":{"299":2}}],["number",{"2":{"10":2}}],["nliteyuki",{"2":{"275":1}}],["name>",{"2":{"276":2}}],["name=module",{"2":{"155":3}}],["name=f",{"2":{"119":2}}],["name=",{"2":{"65":1,"66":1,"84":3,"288":1}}],["name",{"0":{"40":1,"60":1,"69":1,"71":1,"79":1,"119":1,"121":1,"123":1,"126":1,"127":1,"129":1,"131":1,"157":2,"167":1,"177":1,"179":1,"215":1,"222":1,"228":1,"262":1},"2":{"40":6,"60":9,"69":7,"70":2,"71":5,"73":3,"74":3,"79":3,"118":3,"119":5,"120":1,"121":6,"122":2,"123":5,"126":4,"127":5,"128":2,"129":5,"130":2,"131":3,"155":20,"156":9,"157":6,"175":1,"262":1,"270":2,"297":4,"299":8}}],["nick",{"0":{"216":1}}],["nickname",{"0":{"231":1},"2":{"0":1,"1":2}}],["nightly",{"2":{"10":1}}],["npm",{"2":{"6":1,"299":7,"300":1}}],["nesting",{"2":{"284":1}}],["new",{"2":{"37":1,"104":3,"260":1,"281":1,"284":2}}],["necessary",{"2":{"6":1}}],["needs",{"2":{"270":1}}],["need",{"2":{"0":1,"2":1,"281":1}}],["non",{"2":{"285":1}}],["noninfringement",{"2":{"205":1}}],["nonlocal",{"2":{"135":1}}],["nonedog",{"2":{"288":1}}],["none",{"0":{"21":1,"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"40":1,"51":1,"52":1,"60":1,"64":1,"85":1,"86":1,"87":1,"89":1,"95":1,"119":1,"131":1,"142":1,"180":1,"190":2,"196":1,"215":2,"216":2,"217":2,"218":2,"222":2,"223":2,"224":2,"227":2,"228":2,"231":2,"232":2,"233":2,"234":2,"243":2,"244":2},"2":{"21":1,"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"40":2,"50":1,"51":1,"52":1,"60":3,"61":1,"63":1,"64":2,"85":1,"87":1,"89":1,"94":2,"105":1,"106":1,"107":1,"119":1,"131":2,"133":1,"135":1,"142":1,"155":4,"156":1,"190":1,"196":1,"250":2,"255":1,"259":1}}],["nonebot2",{"2":{"4":2}}],["nonebot",{"0":{"3":1},"2":{"1":2,"2":2,"3":1,"6":1,"258":1,"266":6,"270":3,"283":3,"288":1,"289":4,"292":1}}],["nohup",{"2":{"39":2,"276":1,"277":1}}],["node",{"2":{"11":1}}],["notice",{"2":{"205":2}}],["notimplementederror",{"2":{"137":1}}],["not",{"2":{"1":1,"2":1,"4":1,"11":2,"40":1,"50":1,"60":1,"61":2,"64":4,"69":1,"87":1,"90":3,"92":1,"105":1,"106":1,"107":1,"108":3,"109":3,"121":2,"123":2,"127":2,"129":2,"142":2,"155":1,"156":8,"196":1,"205":1,"284":3,"289":2}}],["normal>",{"2":{"151":1}}],["normal",{"0":{"9":1},"2":{"1":1}}],["no",{"0":{"108":1,"109":1,"110":1,"167":1,"177":1,"178":1,"179":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"1":1,"67":1,"68":1,"108":3,"109":3,"110":4,"205":1,"284":1}}],["image",{"0":{"203":1},"1":{"204":1},"2":{"297":2,"298":1}}],["impossible",{"2":{"269":1}}],["import",{"2":{"98":1,"155":1,"270":5,"273":1,"288":2,"289":3,"292":1}}],["implied",{"2":{"205":1}}],["implement",{"2":{"270":1}}],["implemented",{"2":{"137":1,"270":1}}],["implementation",{"0":{"3":1},"2":{"3":1}}],["ignore",{"0":{"87":1,"156":1},"2":{"87":3,"156":5}}],["id仅超级用户可用",{"2":{"297":1}}],["id=user",{"2":{"277":2}}],["id=1234567",{"2":{"297":2}}],["id=123456",{"2":{"277":1}}],["id=self",{"2":{"191":3}}],["id",{"0":{"190":3,"214":1,"220":1,"226":1,"236":1,"237":1,"238":1},"2":{"64":5,"190":9,"191":3,"236":3,"237":4,"257":1,"277":2,"297":2,"299":1,"305":4}}],["ids",{"2":{"60":2,"64":2}}],["icu",{"2":{"10":1}}],["icon=f",{"2":{"151":7}}],["icon",{"2":{"1":2,"151":9}}],["i",{"0":{"187":1},"2":{"6":1,"37":1,"187":3,"246":2,"270":6}}],["isclass",{"2":{"259":1}}],["iscoroutinefunction",{"2":{"259":2}}],["isroutine",{"2":{"259":1}}],["isfile",{"2":{"156":1,"289":1}}],["isdir",{"2":{"156":2}}],["isinstance",{"2":{"69":1,"104":1,"155":1,"270":1}}],["issue",{"2":{"7":1}}],["is",{"0":{"123":1,"257":1,"259":1},"2":{"1":3,"2":1,"3":3,"4":1,"9":1,"11":1,"22":1,"37":1,"38":2,"40":1,"50":2,"60":6,"61":1,"64":5,"69":1,"71":1,"72":1,"84":2,"85":1,"86":1,"87":1,"88":1,"90":3,"92":1,"94":2,"105":1,"106":1,"107":1,"119":1,"121":1,"123":2,"142":1,"147":1,"155":1,"156":2,"181":1,"190":1,"205":4,"255":1,"257":1,"259":1,"260":1,"269":2,"270":3,"283":3,"284":12,"285":1}}],["if",{"2":{"1":2,"2":4,"3":1,"6":1,"7":1,"10":2,"11":2,"22":1,"39":2,"40":1,"50":2,"52":2,"60":5,"61":3,"62":1,"64":6,"69":3,"71":1,"72":1,"85":1,"86":1,"87":3,"88":1,"90":5,"92":2,"94":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":3,"119":1,"121":2,"123":1,"127":1,"129":1,"135":1,"142":1,"150":1,"151":7,"155":2,"156":9,"190":1,"191":1,"196":1,"236":1,"237":1,"246":1,"255":1,"259":2,"260":1,"262":1,"281":3,"284":2}}],["index",{"2":{"294":1}}],["inaccessible",{"2":{"284":1}}],["inspect",{"2":{"259":4,"263":1}}],["insert",{"2":{"246":1}}],["instances",{"2":{"267":1}}],["instance",{"0":{"94":1,"95":1},"2":{"37":2,"50":4,"61":1,"69":1,"94":5,"97":1}}],["installed",{"2":{"11":1}}],["installation",{"0":{"9":1},"2":{"6":2}}],["install",{"0":{"8":1},"1":{"9":1,"10":1,"11":1,"12":1},"2":{"6":3,"9":3,"11":2,"296":1,"299":1,"300":1}}],["instead",{"2":{"6":1,"10":1,"52":1}}],["invalid",{"2":{"236":1}}],["invalidgitrepositoryerror",{"2":{"6":1}}],["included",{"2":{"205":1,"283":1}}],["including",{"2":{"11":1,"205":2}}],["inner",{"2":{"60":2}}],["initialized",{"2":{"50":1}}],["initializing",{"2":{"37":1}}],["init",{"0":{"21":1,"37":1,"41":1,"42":1,"60":1,"79":1,"84":1,"115":1,"117":1,"125":1,"151":1,"190":1,"194":1,"252":1},"2":{"21":1,"37":2,"41":2,"42":2,"60":1,"79":1,"84":1,"115":1,"117":1,"125":1,"151":1,"156":2,"184":1,"190":1,"194":1,"252":1,"262":1,"288":3}}],["introducing",{"2":{"284":1}}],["introduction",{"0":{"269":1}}],["into",{"2":{"281":1}}],["inter",{"2":{"269":1}}],["interface",{"2":{"267":1}}],["interpreter",{"2":{"6":1}}],["interpreters",{"2":{"6":2}}],["int=0",{"2":{"39":1,"247":1,"248":1}}],["int",{"0":{"39":1,"194":1,"206":1,"227":1,"247":1,"248":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"21":1,"39":1,"60":2,"194":1}}],["intact",{"2":{"6":1}}],["information",{"2":{"3":1,"282":1}}],["info",{"2":{"1":1,"37":1,"38":2,"39":1,"151":1,"187":1,"270":2}}],["in",{"0":{"110":1,"261":1},"2":{"0":3,"1":1,"2":1,"3":2,"6":5,"22":1,"40":1,"50":1,"52":3,"60":2,"63":1,"64":1,"69":1,"70":1,"87":1,"90":3,"91":1,"92":1,"104":2,"108":1,"109":2,"110":1,"118":1,"120":1,"121":1,"122":1,"123":1,"127":1,"128":1,"129":1,"130":1,"142":1,"144":1,"156":2,"181":2,"185":2,"187":1,"196":1,"205":6,"236":1,"237":1,"246":1,"248":2,"257":1,"260":2,"261":1,"269":1,"281":5,"282":2,"283":4,"284":6,"285":1,"289":1}}],["iterable",{"0":{"187":1},"2":{"187":1}}],["items",{"2":{"0":1,"6":1,"70":1,"104":2,"128":1,"130":1}}],["it",{"2":{"0":1,"2":2,"3":1,"9":1,"269":2}}],["rpm",{"2":{"299":5,"300":1}}],["rpc",{"2":{"76":1}}],["role",{"0":{"225":1,"232":2},"1":{"226":1,"227":1,"228":1}}],["rf",{"2":{"205":1}}],["railt",{"2":{"205":1}}],["raise",{"2":{"50":2,"60":3,"61":2,"62":1,"64":1,"69":2,"87":1,"90":1,"92":1,"127":1,"129":1,"137":1,"236":1}}],["raw",{"0":{"190":1},"2":{"183":1,"190":3,"191":1,"248":1}}],["rulehandlerfunc",{"0":{"250":1,"252":1},"2":{"252":1}}],["rule=empty",{"2":{"247":1,"248":1}}],["rule=is",{"2":{"182":1,"183":1}}],["rule",{"0":{"194":2,"247":3,"248":2,"249":1,"251":1,"253":2,"254":2,"256":1,"257":1},"1":{"250":1,"251":1,"252":2,"253":2,"254":2,"255":2,"256":1,"257":1},"2":{"182":1,"183":1,"194":5,"196":1,"247":3,"248":5,"249":1,"253":3,"254":3,"255":1,"256":3,"257":2}}],["runnable",{"2":{"284":1}}],["running",{"2":{"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"60":1,"63":1,"84":2,"260":2,"269":1}}],["runtimeerror",{"2":{"50":2,"61":1,"62":1,"64":1,"90":1,"92":1,"260":1}}],["run",{"0":{"10":1,"22":1,"38":1,"91":1,"144":1,"196":1,"260":1,"261":1},"2":{"0":1,"9":2,"11":1,"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"38":3,"63":1,"91":1,"92":1,"118":1,"144":2,"196":1,"260":3,"261":1,"292":2}}],["r>",{"2":{"155":2}}],["rights",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1}}],["r",{"2":{"9":1,"11":1,"105":1,"106":1,"107":1}}],["revise",{"2":{"284":1}}],["reverse",{"2":{"3":2}}],["read",{"2":{"281":2}}],["reload",{"2":{"297":1,"298":2,"299":1,"300":1}}],["reloading",{"2":{"289":1}}],["related",{"2":{"283":1,"284":1}}],["relative",{"2":{"262":1}}],["rel",{"2":{"262":5}}],["red>",{"2":{"151":2}}],["remove",{"2":{"151":1}}],["ref",{"0":{"98":1}}],["refer",{"0":{"12":1},"2":{"6":1,"284":1}}],["reference",{"2":{"3":1,"281":1}}],["return",{"2":{"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":4,"62":2,"63":2,"64":7,"71":3,"72":3,"86":3,"88":3,"90":3,"94":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"121":1,"123":1,"131":1,"135":3,"142":4,"150":2,"153":2,"155":2,"156":1,"157":2,"175":1,"195":3,"196":1,"236":2,"237":2,"247":1,"248":2,"253":2,"254":2,"255":2,"256":1,"257":1,"259":4,"262":3,"263":3}}],["resource",{"2":{"283":1}}],["resources",{"2":{"283":1,"293":1,"294":1,"298":1}}],["resolve",{"2":{"262":2}}],["restriction",{"2":{"205":1,"284":1}}],["restarting",{"2":{"39":1}}],["restart",{"0":{"27":1,"28":1,"33":1,"34":1,"39":1,"40":1,"48":1,"49":1},"2":{"0":1,"21":2,"27":2,"28":2,"33":3,"34":3,"37":1,"39":3,"40":1,"48":2,"49":2,"289":2}}],["reserved",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["reply",{"0":{"191":1},"2":{"183":1,"191":3}}],["replace",{"2":{"10":1}}],["repository",{"2":{"281":7,"283":2,"284":1}}],["repo",{"2":{"9":1}}],["report设定为false",{"2":{"295":1}}],["report",{"2":{"1":2,"6":1,"295":1}}],["request",{"2":{"281":1}}],["requests",{"2":{"1":1}}],["required",{"2":{"60":1,"284":1}}],["requires",{"2":{"11":1}}],["requirements",{"0":{"11":1},"1":{"12":1},"2":{"9":1,"11":1}}],["receiving",{"2":{"270":1}}],["receive",{"0":{"54":1,"55":1,"62":1,"63":1,"64":1,"81":1,"82":1,"90":3,"91":1,"92":1,"190":1},"2":{"1":1,"55":2,"60":3,"62":2,"63":2,"64":4,"71":1,"72":2,"73":2,"74":2,"75":1,"81":1,"82":1,"84":2,"86":1,"88":1,"90":11,"91":2,"92":4,"98":1,"99":2,"100":2,"101":2,"102":1,"190":3,"191":3,"270":11}}],["recursive=recursive",{"2":{"142":1}}],["recursive",{"0":{"142":1},"2":{"142":2}}],["recv",{"2":{"60":2,"62":2,"71":5,"72":5,"74":3,"75":3,"86":5,"88":5,"99":3,"102":3,"187":2}}],["recommended",{"2":{"3":1,"9":1,"11":2,"284":1}}],["city",{"2":{"303":1,"304":1}}],["css相对路径引用b中的css",{"2":{"294":1}}],["css",{"2":{"293":1,"294":1}}],["cwd",{"2":{"262":1}}],["cyan>",{"2":{"151":1}}],["critical",{"2":{"151":1}}],["created",{"0":{"138":1},"2":{"138":1}}],["create",{"2":{"0":1,"9":2,"91":1,"281":2}}],["cfg",{"2":{"144":4}}],["cute",{"2":{"265":1}}],["current|bot",{"2":{"305":1}}],["current|group",{"2":{"305":1}}],["current",{"2":{"135":3,"305":2,"306":1}}],["custom",{"2":{"2":4,"265":1}}],["customize",{"2":{"2":1}}],["cmd",{"2":{"39":5,"275":2,"276":1}}],["claim",{"2":{"205":1}}],["classmethod",{"2":{"93":1,"94":1}}],["class",{"0":{"20":1,"36":1,"59":1,"78":1,"83":1,"93":1,"114":1,"116":1,"124":1,"136":1,"146":1,"160":1,"166":1,"174":1,"189":1,"193":1,"198":1,"201":1,"203":1,"206":1,"213":1,"219":1,"225":1,"229":1,"235":1,"251":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"60":1,"61":1,"62":1,"63":1,"64":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"137":1,"138":1,"139":1,"140":1,"141":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"190":1,"191":1,"194":1,"195":1,"196":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"252":1,"253":1,"254":1,"255":1}}],["cls",{"0":{"94":1},"2":{"94":6}}],["close",{"2":{"260":1}}],["closed",{"2":{"60":1,"61":2,"62":2,"267":1}}],["clone",{"2":{"9":2}}],["cloning",{"2":{"6":1}}],["c",{"2":{"13":1,"104":1,"113":1,"143":1,"149":1,"154":1,"157":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1,"260":4,"262":2,"306":1}}],["cpu",{"2":{"11":1,"295":1}}],["cd",{"2":{"9":1}}],["chinese",{"2":{"283":1}}],["child",{"2":{"269":1}}],["chromium",{"2":{"11":1}}],["charge",{"2":{"205":1}}],["chans",{"0":{"187":1},"2":{"187":3}}],["channel时的通道标识",{"2":{"270":1}}],["channel即可",{"2":{"270":1}}],["channel及passive",{"2":{"270":1}}],["channel函数获取通道对象",{"2":{"270":2}}],["channel=none",{"2":{"191":1}}],["channeldeliver",{"0":{"114":1},"1":{"115":1},"2":{"119":1}}],["channels",{"0":{"70":2,"72":1,"75":1},"2":{"70":4,"72":2,"74":1,"75":3}}],["channel",{"0":{"53":1,"59":1,"65":1,"66":1,"67":2,"68":2,"69":3,"70":1,"71":2,"72":1,"73":1,"74":1,"89":1,"90":1,"91":1,"115":8,"190":2,"210":1,"211":1,"212":1,"268":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":2,"61":2,"62":2,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"269":1,"270":1,"271":1,"272":1,"273":1},"2":{"40":2,"60":5,"61":1,"62":1,"65":3,"66":3,"67":2,"68":1,"69":19,"70":5,"71":9,"72":10,"73":11,"74":7,"75":2,"76":2,"84":4,"86":1,"88":1,"89":4,"90":8,"91":3,"92":2,"115":12,"119":12,"190":4,"191":2,"236":3,"237":3,"269":3,"270":14}}],["chan",{"0":{"187":1},"2":{"37":4,"40":4,"71":5,"72":5,"74":3,"75":3,"84":2,"85":1,"86":6,"87":1,"88":6,"89":1,"92":1,"98":1,"99":5,"100":2,"101":2,"102":4,"119":2,"187":1,"270":2}}],["changed",{"2":{"289":1}}],["change",{"2":{"9":1,"299":1,"300":1}}],["chat",{"2":{"6":1,"7":1}}],["checking",{"2":{"282":1}}],["check",{"0":{"60":1},"2":{"1":1,"60":8,"61":1}}],["cn",{"2":{"2":1}}],["copies",{"2":{"205":2}}],["copy",{"2":{"104":1,"205":2,"281":1}}],["copyright",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":3,"245":1,"249":1}}],["color",{"2":{"157":7}}],["color=",{"2":{"151":7}}],["colors=true",{"2":{"38":2,"155":3}}],["count",{"0":{"98":1},"2":{"37":1,"39":2}}],["corresponding",{"2":{"284":1}}],["correct",{"2":{"284":2}}],["correctly",{"2":{"6":1,"284":1}}],["coro",{"0":{"260":1,"261":1},"2":{"260":5,"261":2}}],["coroutine",{"0":{"259":1,"260":2,"261":2,"263":1},"2":{"22":1,"57":1,"64":2,"90":1,"250":1,"259":1,"260":2,"261":3,"263":2}}],["core",{"0":{"111":1,"113":1},"1":{"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1}}],["code插件liteyuki",{"2":{"279":1}}],["codemodifiedhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"142":1}}],["code",{"2":{"11":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":4,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"281":2,"282":1,"283":1,"284":6}}],["come",{"2":{"269":1}}],["combined",{"2":{"253":2,"254":2}}],["com",{"2":{"9":1,"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["completing",{"2":{"284":1}}],["completion",{"2":{"2":2}}],["complete",{"2":{"260":2,"284":1}}],["compat",{"0":{"52":2},"2":{"52":8}}],["computer",{"2":{"6":1}}],["commit",{"2":{"284":6}}],["comment",{"2":{"284":1}}],["communicate",{"2":{"269":1}}],["communication",{"0":{"268":1},"1":{"269":1,"270":1,"271":1,"272":1,"273":1},"2":{"3":1,"269":1}}],["comm",{"0":{"53":1,"76":1,"77":1,"80":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"79":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"270":2,"273":2}}],["command>",{"2":{"276":2}}],["command",{"0":{"297":1},"1":{"298":1},"2":{"1":4}}],["conditions",{"2":{"205":1,"284":1}}],["contributions",{"2":{"285":1}}],["contract",{"2":{"205":1}}],["content",{"0":{"202":1},"2":{"283":1,"284":1}}],["continue",{"2":{"109":1,"156":3}}],["contact",{"2":{"6":1,"281":1}}],["connection",{"2":{"205":1}}],["connected",{"0":{"3":1}}],["conn",{"2":{"60":4,"61":1,"62":1}}],["confirm",{"2":{"6":1}}],["configs",{"0":{"109":1},"2":{"109":1,"110":1}}],["config=self",{"2":{"42":1}}],["configured",{"2":{"3":1}}],["configuration",{"0":{"1":1,"3":1},"2":{"0":5,"1":1,"2":2,"3":1,"6":1}}],["configurations",{"0":{"0":1,"2":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"2":1}}],["config",{"0":{"51":1,"52":1,"103":1,"104":2,"110":1,"151":1,"176":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"0":5,"2":2,"37":2,"42":1,"51":2,"52":6,"104":9,"105":6,"106":6,"107":6,"108":7,"109":4,"110":9,"144":1,"151":4,"185":2,"282":1,"297":4,"298":1}}],["conflicts",{"2":{"6":1,"9":1,"281":1}}],["console",{"2":{"1":1,"282":1}}],["cat",{"2":{"265":1}}],["category",{"0":{"211":1},"2":{"236":1,"237":1}}],["case",{"2":{"157":4,"281":1}}],["cases",{"2":{"0":1}}],["callback",{"0":{"133":1,"142":2},"2":{"64":1,"142":4,"270":1}}],["call",{"0":{"259":1},"2":{"37":1,"39":2,"135":4,"255":1,"259":7,"270":1}}],["callable",{"0":{"64":3,"90":1,"142":1,"195":1,"259":2,"263":2},"2":{"14":1,"15":1,"17":1,"18":1,"22":1,"54":1,"56":1,"57":1,"64":10,"90":2,"117":1,"133":1,"134":1,"142":1,"195":1,"250":1,"259":2,"263":4}}],["cannot",{"2":{"6":1,"61":1,"62":1,"90":1,"92":1}}],["can",{"2":{"0":2,"4":1,"6":2,"7":1,"9":1,"50":1,"64":1,"269":1,"270":1,"282":1,"284":1}}],["duration>",{"2":{"305":1}}],["duration",{"2":{"305":2,"306":1}}],["during",{"2":{"282":1}}],["duplex",{"2":{"270":1}}],["driver",{"2":{"270":4}}],["d",{"2":{"98":2,"99":4,"100":4,"101":4,"102":2,"262":2,"306":1}}],["datetime",{"0":{"234":1}}],["data=",{"2":{"191":1}}],["data",{"0":{"61":1,"73":1,"74":1,"75":1,"79":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"190":1,"200":1},"2":{"61":6,"62":2,"63":2,"64":5,"72":2,"73":7,"74":7,"75":4,"79":3,"89":4,"90":3,"91":3,"92":6,"99":4,"100":3,"101":2,"102":2,"190":5,"270":7}}],["damages",{"2":{"205":1}}],["daemon=true",{"2":{"39":1,"118":1,"261":1}}],["darwin",{"2":{"39":1}}],["day",{"2":{"1":1}}],["dog",{"2":{"288":1,"289":1}}],["double",{"2":{"284":1}}],["does",{"2":{"156":1}}],["docstring",{"2":{"284":2}}],["docs",{"2":{"283":1,"297":1,"298":1}}],["document",{"2":{"284":1}}],["documents",{"2":{"281":1}}],["documentation",{"2":{"6":1,"205":1,"267":1,"281":1,"283":3,"284":7}}],["docker",{"0":{"10":1},"2":{"283":2}}],["don",{"2":{"7":1}}],["download",{"2":{"6":1}}],["do",{"2":{"6":1,"11":1,"205":1,"284":1}}],["did",{"2":{"284":1}}],["diagnose=false",{"2":{"151":1}}],["dict",{"0":{"70":1,"72":1,"73":1,"74":1,"75":1,"79":1,"88":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"151":1,"153":1,"173":1,"190":2,"191":1,"200":1},"2":{"37":1,"68":1,"70":2,"72":3,"73":1,"74":1,"75":1,"79":1,"81":1,"82":1,"84":2,"88":3,"99":1,"100":1,"101":1,"102":1,"104":3,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":3,"125":1,"151":1,"153":2,"155":6,"190":2,"191":1}}],["disable",{"2":{"297":1,"298":1,"299":2,"300":2}}],["distribution",{"2":{"267":1}}],["distribute",{"2":{"205":1}}],["disk",{"2":{"11":1}}],["display",{"0":{"157":2},"2":{"1":1,"155":7,"157":4}}],["different",{"2":{"3":2,"6":1}}],["dir",{"0":{"156":1},"2":{"156":16,"185":2}}],["directories=",{"2":{"289":1}}],["directories",{"0":{"109":1,"142":1},"2":{"109":2,"142":3,"283":3}}],["directory",{"2":{"0":4,"1":1,"2":1,"9":1,"10":1,"109":6,"142":2,"156":1,"283":11}}],["directly",{"2":{"11":1}}],["direct",{"2":{"6":1,"269":1}}],["dirs",{"0":{"109":1},"2":{"1":1,"109":1,"110":1,"185":1}}],["details",{"2":{"284":1}}],["detailed",{"2":{"2":1,"3":1,"284":1}}],["dealings",{"2":{"205":1}}],["deal",{"2":{"205":1}}],["debounce",{"0":{"135":1},"2":{"135":1,"136":1,"137":1}}],["debugging",{"2":{"282":1}}],["debug",{"2":{"2":2,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"105":1,"106":1,"107":1,"118":1,"128":1,"130":1,"150":2,"151":2,"187":1,"289":1}}],["deepcopy",{"2":{"104":1}}],["decorator",{"2":{"64":2,"90":2,"135":2,"142":2,"195":2,"270":1}}],["del",{"2":{"87":2}}],["deleted",{"0":{"139":1},"2":{"139":1}}],["delete",{"0":{"87":1,"101":1},"2":{"87":2,"100":1,"101":3}}],["deliver",{"0":{"67":1,"68":1,"115":2},"2":{"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"115":6,"119":6}}],["delivery",{"2":{"4":1,"119":1}}],["delay",{"0":{"39":1},"2":{"39":3}}],["def",{"2":{"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"63":1,"64":2,"73":1,"74":1,"75":1,"90":2,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"135":2,"137":1,"142":2,"183":1,"195":1,"196":1,"236":1,"237":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"263":1,"270":3,"289":1}}],["defaults",{"2":{"39":1,"40":1,"51":1,"52":1,"64":1}}],["default",{"0":{"51":1,"52":1,"86":1,"110":1,"167":1,"177":1,"178":1,"179":1,"185":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"1":1,"2":3,"3":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"51":3,"52":3,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":2,"68":2,"81":1,"82":1,"86":5,"97":1,"98":1,"99":3,"110":1,"133":1,"134":1,"144":1,"148":1,"150":1,"185":1,"250":1}}],["deprecated",{"2":{"52":1}}],["depth=1",{"2":{"9":1}}],["deploy",{"2":{"6":1}}],["depend",{"2":{"11":1}}],["dependency",{"2":{"9":1}}],["dependencies",{"2":{"9":1,"11":1}}],["depends",{"2":{"3":1,"11":1}}],["depending",{"2":{"0":1}}],["description=",{"2":{"288":1}}],["description",{"0":{"168":1},"2":{"3":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"81":1,"82":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"97":1,"98":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"118":1,"119":1,"121":1,"123":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"133":1,"134":1,"135":1,"142":1,"144":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"185":1,"190":1,"191":1,"194":1,"195":1,"196":1,"250":1,"259":1,"260":1,"261":1,"262":1,"263":1,"284":1,"294":1}}],["developer",{"2":{"282":1,"288":1}}],["developing",{"2":{"281":2}}],["develop",{"0":{"281":1},"1":{"282":1},"2":{"281":1,"283":2}}],["development",{"0":{"280":1},"1":{"281":1,"282":1,"283":1,"284":1,"285":1},"2":{"2":3,"281":2,"282":1,"284":1,"285":1}}],["device",{"0":{"11":1},"1":{"12":1},"2":{"11":1}}],["dev",{"0":{"112":1,"132":1,"143":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1},"2":{"2":1,"282":1,"289":1,"292":1}}],["two",{"2":{"270":1}}],["text",{"0":{"201":1,"210":1},"1":{"202":1},"2":{"236":1,"237":1}}],["tests",{"2":{"283":1}}],["test",{"0":{"165":2},"2":{"157":1,"283":1}}],["terminating",{"2":{"130":1}}],["terminated",{"2":{"121":1}}],["terminate",{"0":{"121":1,"122":1,"129":1,"130":1},"2":{"39":1,"43":1,"121":2,"122":2,"129":2,"130":2}}],["tuple=",{"2":{"119":1}}],["tuplestr",{"2":{"52":1}}],["tuple",{"0":{"52":1,"73":1,"74":1,"75":1,"99":1,"100":1,"101":1,"102":1,"115":2,"119":1,"142":1},"2":{"52":1,"68":1,"73":1,"74":1,"75":1,"84":3,"99":1,"100":1,"101":1,"102":1,"115":2,"117":2,"142":1}}],["tar",{"2":{"205":1}}],["target",{"0":{"119":3,"237":1},"2":{"119":5,"237":1}}],["target=run",{"2":{"261":1}}],["target=self",{"2":{"118":1}}],["target=os",{"2":{"39":1}}],["targets",{"2":{"117":1,"118":1,"119":1,"120":1,"122":1,"123":1}}],["task",{"2":{"91":1,"118":1}}],["tasks",{"2":{"22":2}}],["transfer",{"2":{"269":1}}],["traceback",{"2":{"155":1,"196":1}}],["trace",{"2":{"151":1}}],["trss",{"2":{"267":1}}],["trim",{"2":{"265":2}}],["try",{"2":{"38":1,"87":1,"155":1,"196":1,"260":1}}],["true",{"0":{"87":1,"142":1,"156":1,"176":1},"2":{"1":3,"2":4,"6":1,"62":1,"92":1,"151":1,"255":1,"256":1,"270":2,"282":1}}],["type=plugintype",{"2":{"288":1}}],["type=self",{"2":{"191":2}}],["types",{"0":{"176":1}}],["typeerror",{"2":{"60":1,"61":1,"69":1}}],["typealias",{"2":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"54":1,"55":1,"56":1,"57":1,"58":1,"133":1,"134":1,"250":1}}],["type",{"0":{"60":1,"157":1,"170":1,"190":2,"199":1,"221":1},"2":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":11,"61":7,"65":1,"66":1,"67":1,"68":1,"69":1,"81":1,"82":1,"97":1,"133":1,"134":1,"155":2,"157":4,"190":6,"191":2,"250":1,"284":5}}],["time>",{"2":{"276":1}}],["timeout",{"2":{"121":1}}],["time",{"2":{"13":1,"39":1,"113":1,"135":9,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["tip",{"2":{"9":1,"10":1,"279":1,"294":1,"296":1}}],["txt",{"2":{"9":1,"11":1}}],["t",{"0":{"59":1,"61":1,"62":1,"63":1,"64":2},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"7":1,"50":1,"54":1,"56":1,"57":1,"61":2,"62":2,"63":2,"64":7}}],["through",{"2":{"269":2}}],["thread",{"0":{"187":1,"261":1},"2":{"39":1,"118":1,"187":1,"261":2}}],["threading",{"0":{"96":1},"2":{"37":1,"39":1,"118":1,"261":1}}],["this",{"2":{"147":1,"181":1,"205":2,"281":1,"283":2,"285":1}}],["that",{"2":{"6":1,"269":1,"270":1,"281":2,"284":7}}],["their",{"2":{"267":1}}],["then",{"2":{"9":1}}],["therefore",{"2":{"269":1}}],["there",{"2":{"1":1,"6":1,"11":1,"284":2}}],["these",{"2":{"0":1,"283":1}}],["the",{"2":{"0":6,"1":1,"2":4,"3":6,"4":2,"6":10,"9":1,"10":2,"11":4,"147":1,"155":1,"181":1,"205":14,"265":1,"269":1,"270":2,"281":10,"282":1,"283":6,"284":24}}],["tokyo",{"2":{"303":1}}],["token",{"2":{"2":2}}],["together",{"2":{"284":1}}],["tort",{"2":{"205":1}}],["tools",{"2":{"282":1}}],["too",{"2":{"6":1}}],["to",{"0":{"3":1,"12":1,"262":1,"281":1},"1":{"282":1},"2":{"0":1,"1":6,"2":3,"3":2,"4":1,"6":14,"9":6,"10":1,"11":5,"39":1,"40":1,"51":1,"52":1,"61":1,"64":1,"155":5,"156":2,"181":1,"205":8,"262":2,"266":2,"269":3,"270":2,"281":5,"282":1,"284":7,"285":1}}],["toml",{"0":{"107":1},"2":{"0":2,"107":4,"108":2,"110":1}}],["weather",{"0":{"303":1},"1":{"304":1},"2":{"303":1,"304":1}}],["welcome",{"2":{"285":1}}],["we",{"2":{"284":1,"285":1}}],["websocket",{"2":{"3":2}}],["world",{"2":{"275":5}}],["wrapper",{"0":{"263":1},"2":{"22":1,"64":2,"90":4,"119":1,"135":2,"142":2,"263":4}}],["watchdog",{"2":{"289":1,"292":1}}],["watch",{"2":{"288":1,"289":1}}],["wait",{"0":{"135":1},"2":{"135":2}}],["warranties",{"2":{"205":1}}],["warranty",{"2":{"205":1}}],["waring=no",{"2":{"110":1}}],["waring",{"0":{"109":1,"110":1},"2":{"109":3,"110":4}}],["warning=no",{"2":{"109":1,"110":1}}],["warning",{"0":{"108":1,"156":1},"2":{"11":2,"52":1,"108":5,"109":1,"121":1,"123":1,"151":1,"155":1,"156":8,"279":1,"300":1}}],["want",{"2":{"1":1}}],["without",{"2":{"11":1,"205":3}}],["with",{"0":{"10":1,"52":1},"2":{"10":1,"52":1,"85":1,"86":1,"87":1,"94":1,"205":1,"269":1,"270":1,"281":2}}],["windows10+",{"2":{"11":1}}],["windows",{"2":{"9":1,"10":1,"11":2,"39":1}}],["will",{"2":{"0":3,"2":3,"11":2,"52":1,"285":1}}],["what",{"2":{"284":1}}],["whom",{"2":{"205":1}}],["while",{"2":{"62":1,"92":1,"270":2}}],["which",{"2":{"6":2}}],["where",{"2":{"284":1}}],["whether",{"2":{"1":3,"2":1,"205":1}}],["when",{"2":{"0":2,"284":2}}],["ws",{"2":{"3":2}}],["p",{"2":{"306":1}}],["pep8",{"2":{"284":1}}],["period\`",{"2":{"306":1}}],["period>",{"2":{"305":1}}],["period",{"2":{"305":2}}],["permit",{"2":{"205":1,"284":1}}],["permission",{"2":{"205":2}}],["persons",{"2":{"205":1}}],["person",{"2":{"205":1}}],["personal",{"2":{"0":1,"281":1}}],["persists",{"2":{"6":1}}],["possible",{"2":{"284":3}}],["poke",{"2":{"277":4}}],["portions",{"2":{"205":1}}],["port",{"2":{"1":2,"10":2}}],["purpose",{"2":{"205":1}}],["publish=publish",{"2":{"119":1}}],["publish",{"0":{"89":1,"115":1},"2":{"84":2,"89":2,"92":2,"115":3,"205":1}}],["pull",{"2":{"10":1,"281":1}}],["pwd",{"2":{"10":1}}],["pipe",{"2":{"60":2}}],["pip",{"2":{"9":1,"11":1,"155":1}}],["py即可启动插件",{"2":{"292":1}}],["pyo",{"2":{"289":1}}],["pycache",{"2":{"289":1}}],["pyc",{"2":{"289":1}}],["pycharm",{"2":{"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["py文件",{"2":{"288":1}}],["py文件或一个包含",{"2":{"288":1}}],["py的文件夹即可被识别为插件",{"2":{"288":1}}],["py",{"2":{"6":1,"9":1,"13":1,"113":1,"143":1,"149":1,"154":1,"156":3,"158":1,"159":1,"182":1,"184":2,"188":1,"192":1,"245":1,"249":1,"273":1,"283":1,"288":1,"289":1,"292":2,"294":1}}],["python格式",{"2":{"275":1}}],["pythonfrom",{"2":{"270":1,"273":1,"288":1,"292":1}}],["pythonimport",{"2":{"270":1,"289":1}}],["pythonasync",{"2":{"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"63":1,"92":1,"196":1,"255":1}}],["pythondef",{"2":{"21":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"64":1,"69":1,"70":1,"71":1,"72":1,"79":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"135":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"185":1,"187":1,"190":1,"191":1,"194":1,"195":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["python3",{"2":{"9":1,"11":1}}],["python",{"2":{"6":5,"9":3,"11":3,"22":1,"73":1,"74":1,"75":1,"91":1,"94":1,"99":1,"100":1,"101":1,"102":1,"137":1,"183":1,"236":1,"237":1,"256":1,"257":1,"281":1,"284":1}}],["page为页数",{"2":{"299":2}}],["page",{"2":{"299":2}}],["pacman",{"0":{"299":1},"1":{"300":1}}],["pack",{"2":{"294":2,"299":3}}],["packs",{"2":{"283":1}}],["param",{"2":{"296":1}}],["parse",{"2":{"284":1}}],["parsing",{"2":{"1":1}}],["part",{"2":{"283":1,"284":1}}],["participate",{"2":{"285":1}}],["participation",{"2":{"281":1}}],["particular",{"2":{"205":1}}],["parts",{"2":{"262":2}}],["parent",{"0":{"224":1}}],["passive=channel",{"2":{"119":1}}],["passive=chan",{"2":{"119":1}}],["passive",{"0":{"66":1,"68":1,"115":2},"2":{"66":1,"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"84":2,"85":1,"86":1,"87":1,"88":1,"98":1,"99":2,"100":2,"101":2,"102":1,"115":6,"119":5,"270":15}}],["pathlib",{"2":{"155":1}}],["path",{"0":{"144":2,"155":2,"262":3},"2":{"6":2,"10":1,"11":3,"108":1,"109":2,"144":4,"155":16,"156":26,"262":11,"289":5}}],["platform",{"2":{"39":3}}],["platforms",{"2":{"6":3}}],["playwright",{"2":{"6":2}}],["plugintype",{"0":{"157":1,"160":1,"170":2},"1":{"161":1,"162":1,"163":1,"164":1,"165":1},"2":{"157":5,"288":1}}],["pluginmetadata",{"0":{"166":1,"180":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1},"2":{"155":4,"288":2}}],["plugin的函数签名",{"2":{"144":1}}],["plugin",{"0":{"143":1,"152":1,"153":1,"154":1,"155":2,"156":2,"157":1,"158":1,"159":1,"174":1,"184":1},"1":{"144":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":2,"177":2,"178":2,"179":2,"180":2,"185":1},"2":{"1":3,"4":1,"6":4,"37":2,"143":1,"153":2,"155":14,"156":5,"157":4,"181":1,"185":6,"186":1,"205":1,"266":4,"269":1,"281":2,"283":3,"288":4,"291":1,"292":2,"299":5}}],["plugins下创建一个文件",{"2":{"292":1}}],["plugins中添加你的插件路径",{"2":{"291":1}}],["plugins",{"0":{"144":1,"153":1,"156":1,"181":1,"182":1,"184":1,"185":1,"266":1},"1":{"183":1,"185":1},"2":{"1":1,"2":2,"6":3,"11":3,"37":1,"144":6,"153":2,"155":3,"156":9,"181":1,"185":4,"283":5,"289":1,"292":2}}],["please",{"0":{"12":1},"2":{"1":2,"2":1,"3":2,"6":3,"10":2,"11":1,"281":3,"283":2,"284":2}}],["practices",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["private",{"0":{"207":1},"2":{"236":1,"237":1}}],["priority",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"246":2,"247":2,"248":2}}],["print",{"2":{"37":1,"155":1,"196":1}}],["profile",{"2":{"301":4}}],["profit",{"2":{"285":1}}],["property",{"2":{"235":1,"236":2,"237":1}}],["processfunctype",{"0":{"126":1},"2":{"126":1}}],["processmanager",{"0":{"116":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1},"2":{"37":2}}],["process",{"0":{"17":1,"18":1,"19":1,"22":1,"25":3,"27":3,"31":1,"33":1,"40":1,"47":2,"48":3,"123":1,"131":1},"2":{"19":2,"21":4,"22":2,"25":6,"27":6,"31":2,"33":2,"37":1,"38":1,"39":1,"40":4,"43":1,"47":5,"48":6,"50":2,"60":1,"64":3,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":3,"92":2,"117":1,"118":2,"120":2,"121":7,"123":2,"127":1,"128":3,"129":1,"130":3,"131":1,"269":2,"270":8,"289":2}}],["processes",{"2":{"11":1,"40":1,"117":1,"121":2,"123":1,"125":1,"126":1,"127":2,"128":1,"129":2,"130":1,"131":1,"269":4}}],["problematic",{"2":{"6":1}}],["problem",{"2":{"6":1}}],["problems",{"2":{"1":1}}],["provides",{"2":{"269":1}}],["provide",{"2":{"6":1}}],["provided",{"2":{"3":1,"205":1}}],["protocol",{"2":{"3":1}}],["production",{"2":{"3":1}}],["project",{"0":{"283":1},"2":{"0":1,"10":1,"283":1,"285":2}}],["prefix",{"2":{"1":1}}],["preference",{"2":{"0":1}}],["y",{"2":{"157":1}}],["yellow>",{"2":{"151":1}}],["y>",{"2":{"38":2}}],["y>liteyuki",{"2":{"38":2}}],["yml格式的所有合法内容",{"2":{"297":1}}],["yml文件",{"2":{"294":1}}],["yml中填写一些信息",{"2":{"294":1}}],["yml",{"2":{"0":2,"108":1,"110":1,"282":1,"294":2,"297":1}}],["you",{"2":{"0":4,"1":1,"2":1,"3":1,"4":1,"6":2,"7":2,"9":1,"10":2,"11":2,"269":1,"281":5,"282":1,"284":2}}],["your",{"2":{"0":1,"10":1,"11":1,"155":2,"281":6,"285":1}}],["yamlweather",{"2":{"303":1}}],["yamlname",{"2":{"294":1}}],["yaml",{"0":{"105":1},"2":{"0":2,"1":1,"2":2,"105":4,"108":2,"110":1}}],["a包中的index",{"2":{"294":1}}],["api格式为onebot",{"2":{"297":1}}],["api文档",{"2":{"278":1}}],["api也有差别",{"2":{"278":1}}],["api",{"0":{"278":1},"2":{"267":2,"276":3,"277":2,"281":1,"297":3}}],["applications",{"0":{"265":1}}],["application",{"0":{"161":2},"2":{"157":1,"283":4}}],["append",{"2":{"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"64":2,"90":2,"195":1,"246":1}}],["app",{"2":{"10":1}}],["await",{"2":{"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"63":1,"64":2,"90":1,"92":2,"196":2,"253":2,"254":2,"255":1,"270":1,"276":1,"277":1,"279":1}}],["awaitable",{"2":{"15":1,"18":1}}],["arising",{"2":{"205":1}}],["arbitrary",{"0":{"176":1}}],["argv",{"2":{"39":1}}],["arguments",{"2":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"37":1,"39":1,"40":1,"41":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"51":1,"52":1,"60":1,"61":1,"64":1,"69":1,"70":1,"71":1,"85":1,"86":1,"87":1,"89":1,"90":1,"91":1,"104":1,"110":1,"119":1,"121":1,"123":1,"126":1,"127":1,"129":1,"131":1,"142":1,"144":1,"150":1,"151":1,"155":1,"156":1,"157":1,"187":1,"191":1,"194":1,"196":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["args=coro",{"2":{"261":1}}],["args=",{"2":{"39":1,"118":1}}],["args",{"0":{"22":1,"31":1,"33":1,"41":1,"119":1,"126":1},"2":{"22":3,"31":2,"33":2,"39":2,"41":2,"119":3,"126":3,"135":2,"263":2,"297":4}}],["are",{"2":{"1":1,"6":2,"10":1,"11":1,"269":1,"281":4,"283":1,"284":2}}],["above",{"2":{"205":1}}],["able",{"2":{"11":1}}],["absolute",{"2":{"10":1}}],["ability",{"2":{"6":1}}],["action",{"2":{"205":1}}],["active和",{"2":{"270":1}}],["active和chan",{"2":{"119":1}}],["active=channel",{"2":{"119":1}}],["active=chan",{"2":{"119":1}}],["active",{"0":{"65":1,"67":1,"115":2},"2":{"40":6,"65":1,"84":2,"89":1,"92":1,"115":6,"119":4,"270":13}}],["activate",{"2":{"9":7}}],["account",{"2":{"7":1,"281":1}}],["accesstoken",{"2":{"3":2}}],["access",{"2":{"2":2}}],["authors",{"2":{"205":1}}],["author",{"0":{"171":1},"2":{"6":1,"13":1,"113":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["auto",{"2":{"1":2,"2":2}}],["automatically",{"2":{"0":1,"1":2}}],["after",{"0":{"24":1,"26":1,"28":1,"30":1,"32":1,"34":1,"45":1,"46":1,"49":1},"2":{"6":1,"21":3,"24":2,"26":2,"28":2,"30":3,"32":3,"34":3,"45":2,"46":2,"49":2,"270":1,"284":1}}],["avatar",{"0":{"217":1,"223":1}}],["available",{"2":{"1":1}}],["avoid",{"2":{"6":1,"9":1}}],["a",{"2":{"3":1,"7":1,"9":2,"61":1,"62":1,"104":1,"156":1,"205":2,"262":1,"265":1,"269":1,"270":1,"281":4,"284":4,"285":1,"288":1}}],["an",{"2":{"7":1,"61":1,"69":1,"205":1}}],["anyone",{"2":{"285":1}}],["anybot",{"2":{"187":2}}],["any=none",{"2":{"51":1,"52":1}}],["any",{"0":{"51":2,"52":2,"64":2,"73":1,"74":1,"75":1,"79":1,"85":1,"86":2,"88":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":4,"141":1,"173":1,"187":1,"190":2,"191":1,"200":1,"259":1,"263":1},"2":{"2":1,"4":1,"14":1,"15":1,"17":1,"18":1,"37":3,"51":3,"52":3,"54":1,"57":2,"64":7,"67":1,"68":1,"71":1,"72":1,"73":1,"74":1,"75":1,"79":1,"84":3,"85":1,"86":4,"88":3,"89":1,"90":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"115":4,"141":1,"187":1,"190":2,"191":1,"205":3,"248":1,"259":1,"263":1}}],["and",{"2":{"0":6,"4":1,"6":3,"9":2,"11":2,"61":1,"142":1,"156":3,"205":5,"254":2,"265":1,"267":1,"269":3,"270":2,"281":4,"282":2,"283":2,"284":9,"285":1,"289":2}}],["adapter",{"0":{"239":1},"2":{"3":1,"4":2,"6":1}}],["advanced",{"2":{"2":1}}],["addition",{"2":{"284":1}}],["add",{"0":{"119":1,"126":1,"246":1},"2":{"2":1,"119":1,"126":1,"151":1,"156":1,"246":1,"247":1,"284":1}}],["address",{"2":{"1":1,"3":2}}],["amp",{"0":{"254":1},"2":{"10":2}}],["am",{"2":{"1":1,"270":6}}],["attr",{"0":{"95":1,"96":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["at",{"0":{"234":1},"2":{"1":1,"11":2}}],["alive",{"0":{"123":1},"2":{"121":1,"123":2}}],["already",{"2":{"60":2,"69":1,"281":1}}],["alconna的消息段定义",{"2":{"186":1}}],["alconna",{"2":{"1":2,"2":2}}],["allowing",{"2":{"266":2}}],["allowed",{"0":{"176":1}}],["allow",{"2":{"2":2}}],["all",{"0":{"88":1,"102":1,"118":1,"120":1,"122":1,"128":1,"130":1},"2":{"0":1,"2":1,"13":1,"38":1,"39":1,"43":1,"88":2,"101":1,"102":3,"113":1,"118":1,"120":1,"122":1,"128":1,"130":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1,"267":1}}],["assumes",{"2":{"281":1}}],["associated",{"2":{"205":1}}],["asynchronous",{"2":{"263":1}}],["asyncio",{"2":{"22":1,"37":2,"38":1,"63":1,"91":1,"260":5,"270":2}}],["async",{"0":{"15":1,"18":1,"22":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"57":1,"63":2,"91":1,"92":1,"183":1,"196":1,"255":1,"256":1,"257":1,"263":1},"2":{"16":1,"19":1,"22":3,"55":1,"58":1,"63":1,"64":1,"81":1,"82":1,"90":1,"91":1,"92":1,"183":1,"248":1,"253":1,"254":1,"256":1,"257":1,"263":2,"270":2}}],["asked",{"0":{"6":1}}],["as",{"2":{"0":1,"3":1,"87":1,"155":1,"205":1,"260":1,"282":1,"284":6}}]],"serializationVersion":2}`;export{e as default}; diff --git a/assets/chunks/@localSearchIndexen.tV9EBttR.js b/assets/chunks/@localSearchIndexen.tV9EBttR.js deleted file mode 100644 index 38406939..00000000 --- a/assets/chunks/@localSearchIndexen.tV9EBttR.js +++ /dev/null @@ -1 +0,0 @@ -const e=`{"documentCount":307,"nextId":307,"documentIds":{"0":"/en/deploy/config.html#configurations","1":"/en/deploy/config.html#basic-configuration","2":"/en/deploy/config.html#other-configurations","3":"/en/deploy/config.html#example-configuration-of-onebot-implementation-side-connected-to-nonebot","4":"/en/deploy/config.html#other","5":"/en/deploy/fandq.html#faq","6":"/en/deploy/fandq.html#frequently-asked-questions","7":"/en/deploy/fandq.html#other-questions","8":"/en/deploy/install.html#install","9":"/en/deploy/install.html#normal-installation","10":"/en/deploy/install.html#run-with-docker","11":"/en/deploy/install.html#device-requirements","12":"/en/deploy/install.html#for-other-questions-please-refer-to-faq","13":"/en/dev/api/bot/#module-liteyuki-bot","14":"/en/dev/api/bot/#class-liteyukibot","15":"/en/dev/api/bot/#func-init-self-kwargs-none","16":"/en/dev/api/bot/#func-run-self","17":"/en/dev/api/bot/#func-restart-self-delay-int-0","18":"/en/dev/api/bot/#func-restart-process-self-name-optional-str-none","19":"/en/dev/api/bot/#func-init-self-args-kwargs","20":"/en/dev/api/bot/#func-init-logger-self","21":"/en/dev/api/bot/#func-stop-self","22":"/en/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","23":"/en/dev/api/bot/#func-on-after-start-self-func-lifespan-func","24":"/en/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","25":"/en/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","26":"/en/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","27":"/en/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","28":"/en/dev/api/bot/#func-get-bot-liteyukibot","29":"/en/dev/api/bot/#func-get-config-key-str-default-any-none-any","30":"/en/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","31":"/en/dev/api/bot/lifespan.html#module-liteyuki-bot-lifespan","32":"/en/dev/api/bot/lifespan.html#var-sync-lifespan-func","33":"/en/dev/api/bot/lifespan.html#var-async-lifespan-func","34":"/en/dev/api/bot/lifespan.html#var-lifespan-func","35":"/en/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","36":"/en/dev/api/bot/lifespan.html#var-async-process-lifespan-func","37":"/en/dev/api/bot/lifespan.html#var-process-lifespan-func","38":"/en/dev/api/bot/lifespan.html#class-lifespan","39":"/en/dev/api/bot/lifespan.html#func-init-self-none","40":"/en/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","41":"/en/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","42":"/en/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","43":"/en/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","44":"/en/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","45":"/en/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","46":"/en/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","47":"/en/dev/api/bot/lifespan.html#async-func-before-start-self-none","48":"/en/dev/api/bot/lifespan.html#async-func-after-start-self-none","49":"/en/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","50":"/en/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","51":"/en/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","52":"/en/dev/api/bot/lifespan.html#async-func-after-restart-self-none","53":"/en/dev/api/comm/channel.html#module-liteyuki-comm-channel","54":"/en/dev/api/comm/channel.html#var-sync-on-receive-func","55":"/en/dev/api/comm/channel.html#var-on-receive-func","56":"/en/dev/api/comm/channel.html#var-sync-filter-func","57":"/en/dev/api/comm/channel.html#var-async-filter-func","58":"/en/dev/api/comm/channel.html#var-filter-func","59":"/en/dev/api/comm/channel.html#class-channel-generic-t","60":"/en/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","61":"/en/dev/api/comm/channel.html#func-send-self-data-t","62":"/en/dev/api/comm/channel.html#func-receive-self-t","63":"/en/dev/api/comm/channel.html#async-func-async-receive-self-t","64":"/en/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","65":"/en/dev/api/comm/channel.html#var-active-channel","66":"/en/dev/api/comm/channel.html#var-passive-channel","67":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel","68":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel","69":"/en/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","70":"/en/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","71":"/en/dev/api/comm/channel.html#func-get-channel-name-str-channel","72":"/en/dev/api/comm/channel.html#func-get-channels-dict-str-channel","73":"/en/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","74":"/en/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","75":"/en/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","76":"/en/dev/api/comm/event.html#module-liteyuki-comm-event","77":"/en/dev/api/comm/event.html#class-event","78":"/en/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","79":"/en/dev/api/comm/#module-liteyuki-comm","80":"/en/dev/api/comm/storage.html#module-liteyuki-comm-storage","81":"/en/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","82":"/en/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","83":"/en/dev/api/comm/storage.html#class-keyvaluestore","84":"/en/dev/api/comm/storage.html#func-init-self","85":"/en/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","86":"/en/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","87":"/en/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","88":"/en/dev/api/comm/storage.html#func-get-all-self-dict-str-any","89":"/en/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","90":"/en/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","91":"/en/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","92":"/en/dev/api/comm/storage.html#async-func-start-receive-loop-self","93":"/en/dev/api/comm/storage.html#class-globalkeyvaluestore","94":"/en/dev/api/comm/storage.html#func-get-instance-cls","95":"/en/dev/api/comm/storage.html#attr-instance-none","96":"/en/dev/api/comm/storage.html#attr-lock-threading-lock","97":"/en/dev/api/comm/storage.html#var-shared-memory","98":"/en/dev/api/comm/storage.html#var-ref-count","99":"/en/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","100":"/en/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","101":"/en/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","102":"/en/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","103":"/en/dev/api/config.html#module-liteyuki-config","104":"/en/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","105":"/en/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","106":"/en/dev/api/config.html#func-load-from-json-file-str-dict-str-any","107":"/en/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","108":"/en/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","109":"/en/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","110":"/en/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","111":"/en/dev/api/core/#module-liteyuki-core","112":"/en/dev/api/core/manager.html#module-liteyuki-core-manager","113":"/en/dev/api/core/manager.html#class-channeldeliver","114":"/en/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","115":"/en/dev/api/core/manager.html#class-processmanager","116":"/en/dev/api/core/manager.html#func-init-self-lifespan-lifespan","117":"/en/dev/api/core/manager.html#func-start-all-self","118":"/en/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","119":"/en/dev/api/core/manager.html#func-join-all-self","120":"/en/dev/api/core/manager.html#func-terminate-self-name-str","121":"/en/dev/api/core/manager.html#func-terminate-all-self","122":"/en/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","123":"/en/dev/api/core/manager.html#class-subprocessmanager","124":"/en/dev/api/core/manager.html#func-init-self","125":"/en/dev/api/core/manager.html#func-add-self-name-str-func-processfunctype-args-kwargs","126":"/en/dev/api/core/manager.html#func-start-self-name-str","127":"/en/dev/api/core/manager.html#func-start-all-self-1","128":"/en/dev/api/core/manager.html#func-terminate-self-name-str-1","129":"/en/dev/api/core/manager.html#func-terminate-all-self-1","130":"/en/dev/api/core/manager.html#func-get-process-self-name-str-subprocess-none","131":"/en/dev/api/dev/#module-liteyuki-dev","132":"/en/dev/api/dev/plugin.html#module-liteyuki-dev-plugin","133":"/en/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","134":"/en/dev/api/exception.html#module-liteyuki-exception","135":"/en/dev/api/exception.html#class-liteyukiexception-baseexception","136":"/en/dev/api/dev/observer.html#module-liteyuki-dev-observer","137":"/en/dev/api/dev/observer.html#var-callback-func","138":"/en/dev/api/dev/observer.html#var-filter-func","139":"/en/dev/api/dev/observer.html#func-debounce-wait","140":"/en/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","141":"/en/dev/api/dev/observer.html#func-on-modified-self-event","142":"/en/dev/api/dev/observer.html#func-on-created-self-event","143":"/en/dev/api/dev/observer.html#func-on-deleted-self-event","144":"/en/dev/api/dev/observer.html#func-on-moved-self-event","145":"/en/dev/api/dev/observer.html#func-on-any-event-self-event","146":"/en/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","147":"/en/dev/api/#module-liteyuki","148":"/en/dev/api/#var-version","149":"/en/dev/api/log.html#module-liteyuki-log","150":"/en/dev/api/log.html#func-get-format-level-str-str","151":"/en/dev/api/log.html#func-init-log-config-dict","152":"/en/dev/api/plugin/#module-liteyuki-plugin","153":"/en/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","154":"/en/dev/api/plugin/load.html#module-liteyuki-plugin-load","155":"/en/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","156":"/en/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","157":"/en/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","158":"/en/dev/api/plugin/manager.html#module-liteyuki-plugin-manager","159":"/en/dev/api/plugin/model.html#module-liteyuki-plugin-model","160":"/en/dev/api/plugin/model.html#class-plugintype-enum","161":"/en/dev/api/plugin/model.html#attr-application-application","162":"/en/dev/api/plugin/model.html#attr-service-service","163":"/en/dev/api/plugin/model.html#attr-module-module","164":"/en/dev/api/plugin/model.html#attr-unclassified-unclassified","165":"/en/dev/api/plugin/model.html#attr-test-test","166":"/en/dev/api/plugin/model.html#class-pluginmetadata-basemodel","167":"/en/dev/api/plugin/model.html#attr-name-str-no-default","168":"/en/dev/api/plugin/model.html#attr-description-str","169":"/en/dev/api/plugin/model.html#attr-usage-str","170":"/en/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","171":"/en/dev/api/plugin/model.html#attr-author-str","172":"/en/dev/api/plugin/model.html#attr-homepage-str","173":"/en/dev/api/plugin/model.html#attr-extra-dict-str-any","174":"/en/dev/api/plugin/model.html#class-plugin-basemodel","175":"/en/dev/api/plugin/model.html#func-hash-self","176":"/en/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","177":"/en/dev/api/plugin/model.html#attr-name-str-no-default-1","178":"/en/dev/api/plugin/model.html#attr-module-moduletype-no-default","179":"/en/dev/api/plugin/model.html#attr-module-name-str-no-default","180":"/en/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","181":"/en/dev/api/plugins/#module-liteyuki-plugins","182":"/en/dev/api/plugins/liteecho.html#module-liteyuki-plugins-liteecho","183":"/en/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","184":"/en/dev/api/plugins/plugin_loader/#module-liteyuki-plugins-plugin-loader","185":"/en/dev/api/plugins/plugin_loader/#func-default-plugins-loader","186":"/en/dev/api/session/event.html#module-liteyuki-session-event","187":"/en/dev/api/session/event.html#class-messageevent","188":"/en/dev/api/session/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","189":"/en/dev/api/session/event.html#func-reply-self-message-str-dict-str-any","190":"/en/dev/api/session/#module-liteyuki-session","191":"/en/dev/api/session/#func-message-handler-thread-i-chans-iterable-chan-any","192":"/en/dev/api/session/matcher.html#module-liteyuki-session-matcher","193":"/en/dev/api/session/matcher.html#class-matcher","194":"/en/dev/api/session/matcher.html#func-init-self-rule-rule-priority-int-block-bool","195":"/en/dev/api/session/matcher.html#func-handle-self-callable-eventhandler-eventhandler","196":"/en/dev/api/session/matcher.html#async-func-run-self-event-messageevent-none","197":"/en/dev/api/session/message/segments.html#module-liteyuki-session-message-segments","198":"/en/dev/api/session/message/segments.html#class-baseseg-basemodel","199":"/en/dev/api/session/message/segments.html#attr-type-str-segment","200":"/en/dev/api/session/message/segments.html#attr-data-dict-str-any-no-default","201":"/en/dev/api/session/message/segments.html#class-text-baseseg","202":"/en/dev/api/session/message/segments.html#attr-content-str-no-default","203":"/en/dev/api/session/message/segments.html#class-image-baseseg","204":"/en/dev/api/session/message/segments.html#attr-url-str-no-default","205":"/en/dev/api/session/models.html#module-liteyuki-session-models","206":"/en/dev/api/session/models.html#class-scenetype-int-enum","207":"/en/dev/api/session/models.html#attr-private-0","208":"/en/dev/api/session/models.html#attr-group-1","209":"/en/dev/api/session/models.html#attr-guild-2","210":"/en/dev/api/session/models.html#attr-channel-text-3","211":"/en/dev/api/session/models.html#attr-channel-category-4","212":"/en/dev/api/session/models.html#attr-channel-voice-5","213":"/en/dev/api/session/models.html#class-user-basemodel","214":"/en/dev/api/session/models.html#attr-id-str-no-default","215":"/en/dev/api/session/models.html#attr-name-str-none-none","216":"/en/dev/api/session/models.html#attr-nick-str-none-none","217":"/en/dev/api/session/models.html#attr-avatar-str-none-none","218":"/en/dev/api/session/models.html#attr-gender-str-none-none","219":"/en/dev/api/session/models.html#class-scene-basemodel","220":"/en/dev/api/session/models.html#attr-id-str-no-default-1","221":"/en/dev/api/session/models.html#attr-type-scenetype-no-default","222":"/en/dev/api/session/models.html#attr-name-str-none-none-1","223":"/en/dev/api/session/models.html#attr-avatar-str-none-none-1","224":"/en/dev/api/session/models.html#attr-parent-scene-none-none","225":"/en/dev/api/session/models.html#class-role-basemodel","226":"/en/dev/api/session/models.html#attr-id-str-no-default-2","227":"/en/dev/api/session/models.html#attr-level-int-none-none","228":"/en/dev/api/session/models.html#attr-name-str-none-none-2","229":"/en/dev/api/session/models.html#class-member-basemodel","230":"/en/dev/api/session/models.html#attr-user-user-no-default","231":"/en/dev/api/session/models.html#attr-nickname-str-none-none","232":"/en/dev/api/session/models.html#attr-role-role-none-none","233":"/en/dev/api/session/models.html#attr-mute-bool-none-none","234":"/en/dev/api/session/models.html#attr-joined-at-datetime-none-none","235":"/en/dev/api/session/models.html#class-session-basemodel","236":"/en/dev/api/session/models.html#func-session-id-self","237":"/en/dev/api/session/models.html#func-target-id-self","238":"/en/dev/api/session/models.html#attr-self-id-str-no-default","239":"/en/dev/api/session/models.html#attr-adapter-str-no-default","240":"/en/dev/api/session/models.html#attr-scope-str-no-default","241":"/en/dev/api/session/models.html#attr-scene-scene-no-default","242":"/en/dev/api/session/models.html#attr-user-user-no-default-1","243":"/en/dev/api/session/models.html#attr-member-member-none-none","244":"/en/dev/api/session/models.html#attr-operator-member-none-none","245":"/en/dev/api/session/rule.html#module-liteyuki-session-rule","246":"/en/dev/api/session/rule.html#var-rulehandlerfunc","247":"/en/dev/api/session/rule.html#class-rule","248":"/en/dev/api/session/rule.html#func-init-self-handler-rulehandlerfunc","249":"/en/dev/api/session/rule.html#func-self-other-rule-rule","250":"/en/dev/api/session/rule.html#func-self-other-rule-rule-1","251":"/en/dev/api/session/rule.html#async-func-self-event-messageevent-bool","252":"/en/dev/api/session/rule.html#async-func-empty-rule-event-messageevent-bool","253":"/en/dev/api/session/rule.html#async-func-is-su-rule-event-messageevent-bool","254":"/en/dev/api/session/on.html#module-liteyuki-session-on","255":"/en/dev/api/session/on.html#func-add-matcher-matcher-matcher","256":"/en/dev/api/session/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","257":"/en/dev/api/session/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","258":"/en/dev/api/utils.html#module-liteyuki-utils","259":"/en/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","260":"/en/dev/api/utils.html#func-run-coroutine-coro-coroutine","261":"/en/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","262":"/en/dev/api/utils.html#func-path-to-module-name-path-path-str","263":"/en/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","264":"/en/dev/best_practices.html#best-practices","265":"/en/dev/best_practices.html#bot-applications","266":"/en/dev/best_practices.html#plugins","267":"/en/dev/best_practices.html#others","268":"/en/dev/comm.html#channel-communication","269":"/en/dev/comm.html#introduction","270":"/en/dev/comm.html#example","271":"/en/dev/comm.html#共享内存通信","272":"/en/dev/comm.html#简介","273":"/en/dev/comm.html#示例","274":"/en/dev/guide.html#development-guide","275":"/en/dev/guide.html#how-to-develop","276":"/en/dev/guide.html#suggestions","277":"/en/dev/guide.html#project-structure","278":"/en/dev/guide.html#standardization","279":"/en/dev/guide.html#finally","280":"/en/dev/lyfunc.html#轻雪函数","281":"/en/dev/lyfunc.html#函数文件","282":"/en/dev/lyfunc.html#命令文档","283":"/en/dev/lyfunc.html#示例","284":"/en/dev/lyfunc.html#api","285":"/en/dev/lyfunc.html#结束关键字","286":"/en/dev/plugin.html#简介","287":"/en/dev/plugin.html#开始","288":"/en/dev/plugin.html#创建插件","289":"/en/dev/plugin.html#编写逻辑部分","290":"/en/dev/plugin.html#加载插件","291":"/en/dev/plugin.html#方法1","292":"/en/dev/plugin.html#方法2","293":"/en/dev/resource.html#简介","294":"/en/dev/resource.html#加载资源包","295":"/en/usage/agreement.html#用户协议","296":"/en/usage/basic.html#基础插件","297":"/en/usage/basic.html#轻雪命令liteyuki-command","298":"/en/usage/basic.html#命令别名","299":"/en/usage/basic.html#插件-包管理器-liteyuki-pacman","300":"/en/usage/basic.html#命令别名-1","301":"/en/usage/basic.html#用户管理liteyuki-user","302":"/en/usage/extra.html#功能插件命令","303":"/en/usage/extra.html#轻雪天气liteyuki-weather","304":"/en/usage/extra.html#命令别名","305":"/en/usage/extra.html#统计信息liteyuki-statistics","306":"/en/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,50],"1":[2,1,82],"2":[2,1,67],"3":[9,1,71],"4":[1,1,21],"5":[1,1,1],"6":[3,1,105],"7":[2,1,18],"8":[1,1,1],"9":[2,1,61],"10":[3,1,41],"11":[2,1,83],"12":[6,3,1],"13":[3,1,1],"14":[2,3,1],"15":[6,5,65],"16":[4,5,31],"17":[8,5,62],"18":[10,5,38],"19":[6,5,19],"20":[5,5,16],"21":[4,5,18],"22":[8,5,22],"23":[8,5,21],"24":[8,5,22],"25":[10,5,24],"26":[10,5,25],"27":[8,5,22],"28":[5,3,37],"29":[10,3,29],"30":[14,3,48],"31":[4,1,24],"32":[4,4,8],"33":[4,4,9],"34":[3,4,11],"35":[5,4,9],"36":[5,4,10],"37":[4,4,12],"38":[2,4,1],"39":[5,6,34],"40":[13,6,41],"41":[8,6,23],"42":[8,6,23],"43":[10,6,25],"44":[8,6,23],"45":[10,6,25],"46":[8,6,23],"47":[7,6,23],"48":[7,6,23],"49":[10,6,26],"50":[7,6,24],"51":[10,6,26],"52":[7,6,24],"53":[4,1,3],"54":[5,4,9],"55":[4,4,12],"56":[4,4,9],"57":[4,4,11],"58":[3,4,11],"59":[5,4,1],"60":[12,9,66],"61":[6,9,47],"62":[5,9,32],"63":[6,9,31],"64":[15,9,66],"65":[3,4,9],"66":[3,4,9],"67":[4,4,11],"68":[4,4,12],"69":[7,4,43],"70":[7,4,22],"71":[7,4,34],"72":[8,4,39],"73":[10,4,27],"74":[10,4,30],"75":[10,4,29],"76":[4,1,2],"77":[2,4,1],"78":[9,6,16],"79":[3,1,8],"80":[4,1,4],"81":[6,4,12],"82":[6,4,12],"83":[2,4,1],"84":[4,6,33],"85":[9,6,34],"86":[12,6,40],"87":[12,6,45],"88":[9,6,33],"89":[9,6,24],"90":[13,6,54],"91":[11,6,31],"92":[7,6,45],"93":[2,4,2],"94":[5,6,21],"95":[4,6,1],"96":[6,6,1],"97":[3,4,9],"98":[3,4,17],"99":[9,4,31],"100":[9,4,29],"101":[9,4,29],"102":[10,4,29],"103":[3,1,14],"104":[8,3,41],"105":[10,3,38],"106":[10,3,37],"107":[10,3,37],"108":[14,3,46],"109":[16,3,52],"110":[15,3,39],"111":[3,1,1],"112":[4,1,24],"113":[2,4,1],"114":[14,6,21],"115":[2,4,1],"116":[6,6,20],"117":[5,6,31],"118":[14,6,51],"119":[5,6,16],"120":[6,6,34],"121":[5,6,15],"122":[9,6,30],"123":[2,4,1],"124":[4,6,15],"125":[9,6,26],"126":[6,6,25],"127":[5,6,23],"128":[6,6,25],"129":[5,6,23],"130":[10,6,23],"131":[3,1,2],"132":[4,1,24],"133":[9,4,33],"134":[3,1,2],"135":[4,3,1],"136":[4,1,5],"137":[3,4,9],"138":[3,4,9],"139":[4,4,28],"140":[4,4,3],"141":[6,8,19],"142":[6,8,12],"143":[6,8,12],"144":[6,8,12],"145":[6,8,12],"146":[20,4,54],"147":[2,1,10],"148":[3,2,7],"149":[3,1,24],"150":[6,3,24],"151":[6,3,58],"152":[3,1,1],"153":[9,3,20],"154":[4,1,24],"155":[12,4,78],"156":[15,4,61],"157":[9,4,40],"158":[4,1,24],"159":[4,1,24],"160":[4,4,1],"161":[5,8,1],"162":[5,8,1],"163":[5,8,1],"164":[5,8,1],"165":[5,8,1],"166":[4,4,1],"167":[6,8,1],"168":[5,8,1],"169":[5,8,1],"170":[5,8,1],"171":[5,8,1],"172":[5,8,1],"173":[7,8,1],"174":[4,4,1],"175":[3,8,13],"176":[9,8,1],"177":[6,8,1],"178":[6,8,1],"179":[7,8,1],"180":[6,8,1],"181":[3,1,15],"182":[4,1,30],"183":[6,4,23],"184":[5,1,24],"185":[5,5,24],"186":[4,1,24],"187":[2,4,1],"188":[24,6,35],"189":[9,6,37],"190":[3,1,4],"191":[10,3,29],"192":[4,1,24],"193":[2,4,1],"194":[10,6,28],"195":[7,6,23],"196":[8,6,33],"197":[5,1,1],"198":[4,5,1],"199":[6,9,1],"200":[8,9,1],"201":[4,5,1],"202":[6,9,1],"203":[4,5,1],"204":[6,9,1],"205":[4,1,123],"206":[5,4,1],"207":[4,9,1],"208":[4,9,1],"209":[4,9,1],"210":[5,9,1],"211":[5,9,1],"212":[5,9,1],"213":[4,4,1],"214":[6,8,1],"215":[6,8,1],"216":[6,8,1],"217":[6,8,1],"218":[6,8,1],"219":[4,4,1],"220":[6,8,1],"221":[6,8,1],"222":[6,8,1],"223":[6,8,1],"224":[6,8,1],"225":[4,4,1],"226":[6,8,1],"227":[6,8,1],"228":[6,8,1],"229":[4,4,1],"230":[6,8,1],"231":[6,8,1],"232":[6,8,1],"233":[6,8,1],"234":[7,8,1],"235":[4,4,2],"236":[5,8,34],"237":[5,8,30],"238":[7,8,1],"239":[6,8,1],"240":[6,8,1],"241":[6,8,1],"242":[6,8,1],"243":[6,8,1],"244":[6,8,1],"245":[4,1,24],"246":[2,4,11],"247":[2,4,1],"248":[6,6,13],"249":[7,6,21],"250":[7,6,22],"251":[8,6,23],"252":[8,4,19],"253":[9,4,24],"254":[4,1,24],"255":[5,4,24],"256":[15,4,21],"257":[16,4,32],"258":[3,1,5],"259":[9,3,33],"260":[6,3,45],"261":[8,3,23],"262":[8,3,41],"263":[8,3,28],"264":[2,1,1],"265":[2,2,19],"266":[1,2,10],"267":[1,2,30],"268":[2,1,1],"269":[1,2,46],"270":[1,2,105],"271":[1,2,1],"272":[1,3,9],"273":[1,3,18],"274":[2,1,1],"275":[3,2,67],"276":[1,5,34],"277":[2,2,60],"278":[1,2,141],"279":[1,2,23],"280":[1,1,9],"281":[1,1,25],"282":[1,1,33],"283":[1,2,26],"284":[1,1,7],"285":[1,1,18],"286":[1,1,4],"287":[1,1,1],"288":[1,2,42],"289":[1,2,58],"290":[1,2,1],"291":[1,3,6],"292":[1,3,25],"293":[1,1,31],"294":[1,1,56],"295":[1,1,28],"296":[1,1,16],"297":[2,1,86],"298":[1,3,30],"299":[4,1,53],"300":[1,5,38],"301":[2,1,20],"302":[1,1,1],"303":[2,1,30],"304":[1,3,8],"305":[2,1,35],"306":[1,3,17]},"averageFieldLength":[5.508143322475572,4.491856677524429,20.664495114006513],"storedFields":{"0":{"title":"Configurations","titles":[]},"1":{"title":"Basic Configuration","titles":["Configurations"]},"2":{"title":"Other configurations","titles":["Configurations"]},"3":{"title":"Example: Configuration of OneBot implementation side connected to NoneBot","titles":["Configurations"]},"4":{"title":"Other","titles":["Configurations"]},"5":{"title":"FAQ","titles":[]},"6":{"title":"Frequently Asked Questions","titles":["FAQ"]},"7":{"title":"Other questions","titles":["FAQ"]},"8":{"title":"Install","titles":[]},"9":{"title":"Normal Installation","titles":["Install"]},"10":{"title":"Run with Docker","titles":["Install"]},"11":{"title":"Device Requirements","titles":["Install"]},"12":{"title":"For other questions, please refer to","titles":["Install","Device Requirements"]},"13":{"title":"Module liteyuki.bot","titles":[]},"14":{"title":"class LiteyukiBot","titles":["Module liteyuki.bot"]},"15":{"title":"func __init__(self, **kwargs) -> None","titles":["Module liteyuki.bot","class LiteyukiBot"]},"16":{"title":"func run(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"17":{"title":"func restart(self, delay: int = 0)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"18":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"19":{"title":"func init(self, *args, **kwargs)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func init_logger(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"21":{"title":"func stop(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func get_bot() -> LiteyukiBot","titles":["Module liteyuki.bot"]},"29":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"30":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"31":{"title":"Module liteyuki.bot.lifespan","titles":[]},"32":{"title":"var SYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"33":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"34":{"title":"var LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"35":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"36":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"37":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"38":{"title":"class Lifespan","titles":["Module liteyuki.bot.lifespan"]},"39":{"title":"func __init__(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"40":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"41":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"42":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"43":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"44":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"async func before_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"async func after_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"async func after_shutdown(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func after_restart(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"Module liteyuki.comm.channel","titles":[]},"54":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"55":{"title":"var ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"56":{"title":"var SYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"57":{"title":"var ASYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"58":{"title":"var FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"59":{"title":"class Channel(Generic[T])","titles":["Module liteyuki.comm.channel"]},"60":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"61":{"title":"func send(self, data: T)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"62":{"title":"func receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"63":{"title":"async func async_receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"64":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"65":{"title":"var active_channel","titles":["Module liteyuki.comm.channel"]},"66":{"title":"var passive_channel","titles":["Module liteyuki.comm.channel"]},"67":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"68":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"69":{"title":"func set_channel(name: str, channel: Channel)","titles":["Module liteyuki.comm.channel"]},"70":{"title":"func set_channels(channels: dict[str, Channel])","titles":["Module liteyuki.comm.channel"]},"71":{"title":"func get_channel(name: str) -> Channel","titles":["Module liteyuki.comm.channel"]},"72":{"title":"func get_channels() -> dict[str, Channel]","titles":["Module liteyuki.comm.channel"]},"73":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"74":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"75":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"76":{"title":"Module liteyuki.comm.event","titles":[]},"77":{"title":"class Event","titles":["Module liteyuki.comm.event"]},"78":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["Module liteyuki.comm.event","class Event"]},"79":{"title":"Module liteyuki.comm","titles":[]},"80":{"title":"Module liteyuki.comm.storage","titles":[]},"81":{"title":"var _on_main_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"82":{"title":"var _on_sub_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"83":{"title":"class KeyValueStore","titles":["Module liteyuki.comm.storage"]},"84":{"title":"func __init__(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"85":{"title":"func set(self, key: str, value: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"86":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"87":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"88":{"title":"func get_all(self) -> dict[str, Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"89":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"90":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"91":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"92":{"title":"async func start_receive_loop(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"93":{"title":"class GlobalKeyValueStore","titles":["Module liteyuki.comm.storage"]},"94":{"title":"func get_instance(cls)","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"95":{"title":"attr _instance = None","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"96":{"title":"attr _lock = threading.Lock()","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"97":{"title":"var shared_memory","titles":["Module liteyuki.comm.storage"]},"98":{"title":"var _ref_count","titles":["Module liteyuki.comm.storage"]},"99":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"100":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"101":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"102":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"103":{"title":"Module liteyuki.config","titles":[]},"104":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["Module liteyuki.config"]},"105":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"106":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"107":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"108":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"109":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"110":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"111":{"title":"Module liteyuki.core","titles":[]},"112":{"title":"Module liteyuki.core.manager","titles":[]},"113":{"title":"class ChannelDeliver","titles":["Module liteyuki.core.manager"]},"114":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["Module liteyuki.core.manager","class ChannelDeliver"]},"115":{"title":"class ProcessManager","titles":["Module liteyuki.core.manager"]},"116":{"title":"func __init__(self, lifespan: Lifespan)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"117":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"118":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"119":{"title":"func join_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"120":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"121":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"122":{"title":"func is_process_alive(self, name: str) -> bool","titles":["Module liteyuki.core.manager","class ProcessManager"]},"123":{"title":"class _SubProcessManager","titles":["Module liteyuki.core.manager"]},"124":{"title":"func __init__(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"125":{"title":"func add(self, name: str, func: ProcessFuncType, *args, **kwargs)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"126":{"title":"func start(self, name: str)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"127":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"128":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"129":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"130":{"title":"func get_process(self, name: str) -> SubProcess | None","titles":["Module liteyuki.core.manager","class _SubProcessManager"]},"131":{"title":"Module liteyuki.dev","titles":[]},"132":{"title":"Module liteyuki.dev.plugin","titles":[]},"133":{"title":"func run_plugins(*module_path: str | Path)","titles":["Module liteyuki.dev.plugin"]},"134":{"title":"Module liteyuki.exception","titles":[]},"135":{"title":"class LiteyukiException(BaseException)","titles":["Module liteyuki.exception"]},"136":{"title":"Module liteyuki.dev.observer","titles":[]},"137":{"title":"var CALLBACK_FUNC","titles":["Module liteyuki.dev.observer"]},"138":{"title":"var FILTER_FUNC","titles":["Module liteyuki.dev.observer"]},"139":{"title":"func debounce(wait)","titles":["Module liteyuki.dev.observer"]},"140":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["Module liteyuki.dev.observer"]},"141":{"title":"func on_modified(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"142":{"title":"func on_created(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"143":{"title":"func on_deleted(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"144":{"title":"func on_moved(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"145":{"title":"func on_any_event(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"146":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["Module liteyuki.dev.observer"]},"147":{"title":"Module liteyuki","titles":[]},"148":{"title":"var __version__","titles":["Module liteyuki"]},"149":{"title":"Module liteyuki.log","titles":[]},"150":{"title":"func get_format(level: str) -> str","titles":["Module liteyuki.log"]},"151":{"title":"func init_log(config: dict)","titles":["Module liteyuki.log"]},"152":{"title":"Module liteyuki.plugin","titles":[]},"153":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["Module liteyuki.plugin"]},"154":{"title":"Module liteyuki.plugin.load","titles":[]},"155":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["Module liteyuki.plugin.load"]},"156":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["Module liteyuki.plugin.load"]},"157":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["Module liteyuki.plugin.load"]},"158":{"title":"Module liteyuki.plugin.manager","titles":[]},"159":{"title":"Module liteyuki.plugin.model","titles":[]},"160":{"title":"class PluginType(Enum)","titles":["Module liteyuki.plugin.model"]},"161":{"title":"attr APPLICATION = 'application'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"162":{"title":"attr SERVICE = 'service'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"163":{"title":"attr MODULE = 'module'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"164":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"165":{"title":"attr TEST = 'test'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"166":{"title":"class PluginMetadata(BaseModel)","titles":["Module liteyuki.plugin.model"]},"167":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"168":{"title":"attr description: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"169":{"title":"attr usage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"170":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"171":{"title":"attr author: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"172":{"title":"attr homepage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"173":{"title":"attr extra: dict[str, Any] = {}","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"174":{"title":"class Plugin(BaseModel)","titles":["Module liteyuki.plugin.model"]},"175":{"title":"func hash self","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"176":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"177":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"178":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"179":{"title":"attr module_name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"180":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"181":{"title":"Module liteyuki.plugins","titles":[]},"182":{"title":"Module liteyuki.plugins.liteecho","titles":[]},"183":{"title":"async func liteecho(event: MessageEvent)","titles":["Module liteyuki.plugins.liteecho"]},"184":{"title":"Module liteyuki.plugins.plugin_loader","titles":[]},"185":{"title":"func default_plugins_loader()","titles":["Module liteyuki.plugins.plugin_loader"]},"186":{"title":"Module liteyuki.session.event","titles":[]},"187":{"title":"class MessageEvent","titles":["Module liteyuki.session.event"]},"188":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["Module liteyuki.session.event","class MessageEvent"]},"189":{"title":"func reply(self, message: str | dict[str, Any])","titles":["Module liteyuki.session.event","class MessageEvent"]},"190":{"title":"Module liteyuki.session","titles":[]},"191":{"title":"func message_handler_thread(i_chans: Iterable[Chan[Any]])","titles":["Module liteyuki.session"]},"192":{"title":"Module liteyuki.session.matcher","titles":[]},"193":{"title":"class Matcher","titles":["Module liteyuki.session.matcher"]},"194":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["Module liteyuki.session.matcher","class Matcher"]},"195":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["Module liteyuki.session.matcher","class Matcher"]},"196":{"title":"async func run(self, event: MessageEvent) -> None","titles":["Module liteyuki.session.matcher","class Matcher"]},"197":{"title":"Module liteyuki.session.message.segments","titles":[]},"198":{"title":"class BaseSeg(BaseModel)","titles":["Module liteyuki.session.message.segments"]},"199":{"title":"attr type: str = 'Segment'","titles":["Module liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"200":{"title":"attr data: dict[str, Any] = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"201":{"title":"class Text(BaseSeg)","titles":["Module liteyuki.session.message.segments"]},"202":{"title":"attr content: str = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class Text(BaseSeg)"]},"203":{"title":"class Image(BaseSeg)","titles":["Module liteyuki.session.message.segments"]},"204":{"title":"attr url: str = NO_DEFAULT","titles":["Module liteyuki.session.message.segments","class Image(BaseSeg)"]},"205":{"title":"Module liteyuki.session.models","titles":[]},"206":{"title":"class SceneType(int, Enum)","titles":["Module liteyuki.session.models"]},"207":{"title":"attr PRIVATE = 0","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"208":{"title":"attr GROUP = 1","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"209":{"title":"attr GUILD = 2","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"210":{"title":"attr CHANNEL_TEXT = 3","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"211":{"title":"attr CHANNEL_CATEGORY = 4","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"212":{"title":"attr CHANNEL_VOICE = 5","titles":["Module liteyuki.session.models","class SceneType(int, Enum)"]},"213":{"title":"class User(BaseModel)","titles":["Module liteyuki.session.models"]},"214":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"215":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"216":{"title":"attr nick: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"217":{"title":"attr avatar: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"218":{"title":"attr gender: str | None = None","titles":["Module liteyuki.session.models","class User(BaseModel)"]},"219":{"title":"class Scene(BaseModel)","titles":["Module liteyuki.session.models"]},"220":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"221":{"title":"attr type: SceneType = NO_DEFAULT","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"222":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"223":{"title":"attr avatar: str | None = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"224":{"title":"attr parent: 'Scene | None' = None","titles":["Module liteyuki.session.models","class Scene(BaseModel)"]},"225":{"title":"class Role(BaseModel)","titles":["Module liteyuki.session.models"]},"226":{"title":"attr id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"227":{"title":"attr level: int | None = None","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"228":{"title":"attr name: str | None = None","titles":["Module liteyuki.session.models","class Role(BaseModel)"]},"229":{"title":"class Member(BaseModel)","titles":["Module liteyuki.session.models"]},"230":{"title":"attr user: User = NO_DEFAULT","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"231":{"title":"attr nickname: str | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"232":{"title":"attr role: Role | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"233":{"title":"attr mute: bool | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"234":{"title":"attr joined_at: datetime | None = None","titles":["Module liteyuki.session.models","class Member(BaseModel)"]},"235":{"title":"class Session(BaseModel)","titles":["Module liteyuki.session.models"]},"236":{"title":"func session_id(self)","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"237":{"title":"func target_id(self)","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"238":{"title":"attr self_id: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"239":{"title":"attr adapter: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"240":{"title":"attr scope: str = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"241":{"title":"attr scene: Scene = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"242":{"title":"attr user: User = NO_DEFAULT","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"243":{"title":"attr member: 'Member | None' = None","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"244":{"title":"attr operator: 'Member | None' = None","titles":["Module liteyuki.session.models","class Session(BaseModel)"]},"245":{"title":"Module liteyuki.session.rule","titles":[]},"246":{"title":"var RuleHandlerFunc","titles":["Module liteyuki.session.rule"]},"247":{"title":"class Rule","titles":["Module liteyuki.session.rule"]},"248":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["Module liteyuki.session.rule","class Rule"]},"249":{"title":"func self | other: Rule => Rule","titles":["Module liteyuki.session.rule","class Rule"]},"250":{"title":"func self & other: Rule => Rule","titles":["Module liteyuki.session.rule","class Rule"]},"251":{"title":"async func self () event: MessageEvent => bool","titles":["Module liteyuki.session.rule","class Rule"]},"252":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.session.rule"]},"253":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.session.rule"]},"254":{"title":"Module liteyuki.session.on","titles":[]},"255":{"title":"func add_matcher(matcher: Matcher)","titles":["Module liteyuki.session.on"]},"256":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.session.on"]},"257":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.session.on"]},"258":{"title":"Module liteyuki.utils","titles":[]},"259":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["Module liteyuki.utils"]},"260":{"title":"func run_coroutine(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"261":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"262":{"title":"func path_to_module_name(path: Path) -> str","titles":["Module liteyuki.utils"]},"263":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["Module liteyuki.utils"]},"264":{"title":"Best Practices","titles":[]},"265":{"title":"Bot applications","titles":["Best Practices"]},"266":{"title":"plugins","titles":["Best Practices"]},"267":{"title":"Others","titles":["Best Practices"]},"268":{"title":"Channel Communication","titles":[]},"269":{"title":"Introduction","titles":["Channel Communication"]},"270":{"title":"Example","titles":["Channel Communication"]},"271":{"title":"共享内存通信","titles":["Channel Communication"]},"272":{"title":"简介","titles":["Channel Communication","共享内存通信"]},"273":{"title":"示例","titles":["Channel Communication","共享内存通信"]},"274":{"title":"Development Guide","titles":[]},"275":{"title":"How to Develop","titles":["Development Guide"]},"276":{"title":"Suggestions","titles":["Development Guide","How to Develop"]},"277":{"title":"Project Structure","titles":["Development Guide"]},"278":{"title":"Standardization","titles":["Development Guide"]},"279":{"title":"Finally","titles":["Development Guide"]},"280":{"title":"轻雪函数","titles":[]},"281":{"title":"函数文件","titles":["轻雪函数"]},"282":{"title":"命令文档","titles":["轻雪函数"]},"283":{"title":"示例","titles":["轻雪函数","命令文档"]},"284":{"title":"API","titles":["轻雪函数"]},"285":{"title":"结束关键字","titles":["轻雪函数"]},"286":{"title":"简介","titles":[]},"287":{"title":"开始","titles":["简介"]},"288":{"title":"创建插件","titles":["简介","开始"]},"289":{"title":"编写逻辑部分","titles":["简介","开始"]},"290":{"title":"加载插件","titles":["简介","开始"]},"291":{"title":"方法1","titles":["简介","开始","加载插件"]},"292":{"title":"方法2","titles":["简介","开始","加载插件"]},"293":{"title":"简介","titles":[]},"294":{"title":"加载资源包","titles":["简介"]},"295":{"title":"用户协议","titles":[]},"296":{"title":"基础插件","titles":[]},"297":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"299":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"300":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"301":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"302":{"title":"功能插件命令","titles":[]},"303":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"305":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"306":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["或",{"2":{"305":2}}],["或插件路径",{"2":{"155":1}}],["当前bot",{"2":{"305":1}}],["当前群聊",{"2":{"305":1}}],["当前会话启用",{"2":{"299":1}}],["秒",{"2":{"305":2}}],["小时",{"2":{"305":2}}],["天",{"2":{"305":2}}],["天气",{"2":{"303":1,"304":1}}],["格式",{"2":{"305":1}}],["格式为onebot",{"2":{"297":1}}],["统计时间范围为duration",{"2":{"305":1}}],["统计周期为period",{"2":{"305":1}}],["统计信息",{"2":{"305":1}}],["统计信息liteyuki",{"0":{"305":1},"1":{"306":1}}],["功能",{"2":{"305":1}}],["功能插件命令",{"0":{"302":1},"1":{"303":1,"304":1,"305":1,"306":1}}],["绑定城市",{"2":{"304":1}}],["绑定查询城市",{"2":{"303":1}}],["个人全局生效",{"2":{"303":1}}],["个人信息",{"2":{"301":1}}],["海淀",{"2":{"303":1}}],["北京",{"2":{"303":1}}],["支持中英文",{"2":{"303":2}}],["支持中英文城市名",{"2":{"303":1}}],["支持多个关键词查询",{"2":{"303":1}}],["支持绑定城市",{"2":{"303":1}}],["支持单行注释",{"2":{"281":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"300":1}}],["帮助",{"2":{"300":1}}],["列表",{"2":{"300":1}}],["列出所有资源包",{"2":{"299":1}}],["列出所有插件",{"2":{"299":1}}],["更改",{"2":{"300":1}}],["更新",{"2":{"300":1}}],["更新插件商店索引",{"2":{"299":1}}],["更新轻雪",{"2":{"297":1,"298":1}}],["全局停用",{"2":{"300":1}}],["全局启用",{"2":{"299":1,"300":1}}],["搜索",{"2":{"300":1}}],["卸载",{"2":{"300":2}}],["卸载资源包",{"2":{"299":1}}],["卸载插件",{"2":{"299":1}}],["私聊所有人可用",{"2":{"299":2}}],["包管理器",{"0":{"299":1},"1":{"300":1}}],["包括子task",{"2":{"282":1}}],["切换图片模式",{"2":{"298":1}}],["状态",{"2":{"298":1}}],["别名",{"2":{"298":1,"300":1,"301":1,"304":1,"306":1}}],["所有人",{"2":{"297":1,"299":1,"301":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"285":1}}],["群聊",{"2":{"298":1}}],["群聊仅群主",{"2":{"297":1,"299":2}}],["群号",{"2":{"297":1}}],["管理员",{"2":{"297":1,"299":2}}],["停用插件",{"2":{"299":2}}],["停用",{"2":{"298":1,"300":1}}],["停用机器人",{"2":{"297":1}}],["停止后钩子",{"2":{"50":1}}],["停止前钩子",{"2":{"49":1}}],["停止",{"2":{"39":1}}],["停止轻雪",{"2":{"18":1,"21":1}}],["该功能需要commit",{"2":{"297":1}}],["该模块封装通道实现",{"2":{"272":1}}],["该模块参考并引用了nonebot",{"2":{"190":1}}],["该模块用于存放一些开发工具",{"2":{"131":1}}],["该模块用于常用配置文件的加载",{"2":{"103":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"79":1}}],["推荐私聊使用",{"2":{"297":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"293":1}}],["查询目标地实时天气",{"2":{"303":1}}],["查询实时天气",{"2":{"303":1}}],["查询",{"2":{"298":1,"301":1}}],["查询配置项",{"2":{"297":1}}],["查看用户信息菜单",{"2":{"301":1}}],["查看插件帮助",{"2":{"299":1}}],["查看轻雪文档",{"2":{"297":1}}],["查看统计信息和状态",{"2":{"297":1}}],["查看当前bot",{"2":{"297":1}}],["和风天气的天气key",{"2":{"303":1}}],["和",{"2":{"297":1}}],["和10是不一样的",{"2":{"297":1}}],["和config目录下的所有配置文件",{"2":{"110":1}}],["输入值会被执行以转换为正确的类型",{"2":{"297":1}}],["输出",{"2":{"281":1}}],["版本",{"2":{"297":1}}],["超级用户可用",{"2":{"297":1,"299":2}}],["超级用户",{"2":{"297":10,"299":10}}],["重载",{"2":{"300":1}}],["重载所有资源包",{"2":{"299":1}}],["重载资源",{"2":{"298":1}}],["重载轻雪",{"2":{"297":1}}],["重启轻雪",{"2":{"298":1}}],["重启轻雪即可加载插件",{"2":{"291":1}}],["重启轻雪本体",{"2":{"17":1}}],["重启后钩子",{"2":{"52":1}}],["重启前钩子",{"2":{"51":1}}],["重启",{"2":{"39":1}}],["举例",{"2":{"297":1}}],["权限",{"2":{"297":1,"299":2,"301":1}}],["说明",{"2":{"297":1,"299":2,"301":1}}],["~代替",{"2":{"296":1}}],["~可以使用插件",{"2":{"296":1}}],["安装插件",{"2":{"299":1}}],["安装",{"2":{"296":1,"300":1}}],["安装的插件",{"2":{"155":1}}],["命令",{"2":{"297":1,"298":1,"299":2,"300":1,"301":2,"303":1,"304":1,"305":1,"306":1}}],["命令别名",{"0":{"298":1,"300":1,"304":1,"306":1},"2":{"296":1,"301":1}}],["命令文档",{"0":{"282":1},"1":{"283":1}}],["为可选参数",{"2":{"296":1}}],["为必填参数",{"2":{"296":1}}],["为子进程重启时调用",{"2":{"26":1}}],["为子进程停止时调用",{"2":{"25":1}}],["基础插件",{"0":{"296":1},"1":{"297":1,"298":1,"299":1,"300":1,"301":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"295":1}}],["且通道标识为",{"2":{"270":1}}],["系统信息及python信息",{"2":{"295":1}}],["内存",{"2":{"295":1}}],["内存共享是线程安全的",{"2":{"272":1}}],["内存共享使得代码编写更加简洁",{"2":{"272":1}}],["分钟",{"2":{"305":2}}],["分发",{"2":{"295":1}}],["分工明确",{"2":{"103":1}}],["修改优先级",{"2":{"299":1}}],["修改",{"2":{"295":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"295":1}}],["本项目遵循mit协议",{"2":{"295":1}}],["本模块使用了nonebot",{"2":{"205":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"76":1}}],["本模块定义了一个通用的通道类",{"2":{"53":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"294":1}}],["同步接收数据",{"2":{"62":1}}],["同步接收函数",{"2":{"54":1}}],["同步过滤函数",{"2":{"56":1}}],["同步进程生命周期函数",{"2":{"35":1}}],["同步生命周期函数",{"2":{"32":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"294":1}}],["对于主动推送的插件不生效",{"2":{"300":1}}],["对于不同资源包的不同文件",{"2":{"294":1}}],["对外启动方法",{"2":{"117":1}}],["└─",{"2":{"294":1}}],["└───",{"2":{"294":1}}],["└─resource",{"2":{"294":2}}],["├─templates",{"2":{"294":1}}],["├─metadata",{"2":{"294":2}}],["正常的路径应该是这样的",{"2":{"294":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"294":1}}],["zip格式压缩的",{"2":{"294":1}}],["zh",{"2":{"2":1,"277":1}}],["以上内容仅用于项目的优化",{"2":{"295":1}}],["以避免出现无法预料的问题",{"2":{"293":1}}],["以下我们会编写一个简单的插件",{"2":{"289":1}}],["错位等无法预料的事情发生",{"2":{"293":1}}],["异常",{"2":{"293":1}}],["异步任务结束关键字",{"2":{"285":1}}],["异步等待",{"2":{"282":1}}],["异步包装器",{"2":{"263":1}}],["异步接收数据",{"2":{"63":1}}],["异步过滤函数",{"2":{"57":1}}],["异步进程生命周期函数",{"2":{"36":1}}],["异步生命周期函数",{"2":{"33":1}}],["请阅读插件主页的说明",{"2":{"300":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"293":1}}],["请注意",{"2":{"293":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"103":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"293":1}}],["部分异常信息",{"2":{"295":1}}],["部分内容制作需要一点点前端基础",{"2":{"293":1}}],["部分来源于",{"2":{"258":1}}],["讲起打包成一个新的资源包",{"2":{"293":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"293":1}}],["那么加载b包后",{"2":{"294":1}}],["那么你能够很快就上手",{"2":{"293":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"285":1}}],["如果你接触过minecraft的资源包",{"2":{"293":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"281":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"293":1}}],["主题商店提供了一些资源包供你选择",{"2":{"293":1}}],["主进程中",{"2":{"270":1}}],["主进程中通过get",{"2":{"270":1}}],["主进程订阅者接收函数",{"2":{"81":1}}],["主进程创建单例",{"2":{"67":1}}],["资源",{"2":{"293":1}}],["资源包管理",{"2":{"299":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"294":1}}],["资源包的制作很简单",{"2":{"293":1}}],["资源包加载遵循一个优先级",{"2":{"294":1}}],["资源包描述",{"2":{"294":1}}],["资源包名称",{"2":{"294":1}}],["资源包通常是以",{"2":{"294":1}}],["资源包",{"2":{"293":1,"300":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"293":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"280":1}}],["语言包等",{"2":{"293":1}}],["字体包",{"2":{"293":1}}],["亦可根据用途称为主题包",{"2":{"293":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"292":1}}],["我们在src",{"2":{"292":1}}],["然后运行python",{"2":{"292":1}}],["方法2",{"0":{"292":1}}],["方法1",{"0":{"291":1}}],["用户管理liteyuki",{"0":{"301":1}}],["用户协议",{"0":{"295":1}}],["用observer的on",{"2":{"289":1}}],["用于统计bot接收到的消息",{"2":{"305":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"289":1}}],["用于结束当前已完成function的执行",{"2":{"285":1}}],["用于存放内置插件",{"2":{"181":1}}],["用于获取和唯一标识",{"2":{"118":1}}],["用于进程间通信",{"2":{"53":1}}],["排除的文件扩展名",{"2":{"289":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"289":1}}],["定义插件元数据",{"2":{"288":1}}],["定义变量",{"2":{"282":1}}],["导入轻雪bot和日志",{"2":{"289":1}}],["导入文件系统事件",{"2":{"289":1}}],["导入文件系统观察器",{"2":{"289":1}}],["导入文件夹下多个插件",{"2":{"156":1}}],["导入逻辑部分",{"2":{"288":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"294":1}}],["即可创建一个插件",{"2":{"288":1}}],["即不等待",{"2":{"282":1}}],["首先创建一个文件夹",{"2":{"288":1}}],["开始",{"0":{"287":1},"1":{"288":1,"289":1,"290":1,"291":1,"292":1}}],["编写逻辑部分",{"0":{"289":1}}],["编写轻雪函数推荐你使用vs",{"2":{"285":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"281":1}}],["有一个task任务没有完成而await被执行了",{"2":{"285":1}}],["的情况是效率提升的关键",{"2":{"285":1}}],["单线程走到底",{"2":{"285":1}}],["单位s",{"2":{"282":1}}],["避免出现",{"2":{"285":1}}],["由于liteyukibot基于异步运行",{"2":{"285":1}}],["结束关键字",{"0":{"285":1}}],["结束函数关键字",{"2":{"282":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"284":1}}],["则该文件夹不会被识别为资源包",{"2":{"294":1}}],["则需要删除await",{"2":{"283":1}}],["则传入泛型默认开启",{"2":{"60":1}}],["无需手动创建实例",{"2":{"292":1}}],["无需手动初始化bot",{"2":{"133":1}}],["无限戳",{"2":{"283":1}}],["执行",{"2":{"283":1}}],["疯狂戳好友",{"2":{"283":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"293":1}}],["否则task对象会被销毁",{"2":{"282":1}}],["否则默认关闭",{"2":{"60":1}}],["需要在最后调用",{"2":{"282":1}}],["等待所有异步任务结束",{"2":{"282":1}}],["使用通用日期简写",{"2":{"305":2}}],["使用此项目代表你已经同意以上协议",{"2":{"295":1}}],["使用开发工具快速运行插件",{"2":{"292":1}}],["使用",{"2":{"283":1}}],["使用新的task执行命令",{"2":{"282":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"136":1}}],["调用机器人函数",{"2":{"297":1}}],["调用机器人api",{"2":{"297":1}}],["调用重启进程方法",{"2":{"289":1}}],["调用函数",{"2":{"282":1}}],["调用bot",{"2":{"282":1}}],["也支持句末注释",{"2":{"281":1}}],["例如npm",{"2":{"296":1}}],["例如nonebot插件中",{"2":{"270":1}}],["例如你在a中定义了templates",{"2":{"294":1}}],["例如html",{"2":{"293":1}}],["例如main",{"2":{"292":1}}],["例如watchdog",{"2":{"288":1,"291":1}}],["例如",{"2":{"281":2,"294":1,"303":1}}],["例如test",{"2":{"281":1,"292":1}}],["文件内容为一系列的命令",{"2":{"281":1}}],["文件名以",{"2":{"281":1}}],["文件夹路径",{"2":{"156":1}}],["函数文件放在资源包的functions目录下",{"2":{"281":1}}],["函数文件",{"0":{"281":1}}],["函数列表",{"2":{"40":1}}],["属于资源包的一部分",{"2":{"280":1}}],["类似于minecraft的mcfunction",{"2":{"280":1}}],["类似于redis",{"2":{"80":1}}],["是可以相对引用的",{"2":{"294":1}}],["是轻雪的一个功能",{"2":{"280":1}}],["是否为协程可调用对象",{"2":{"259":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"194":1}}],["是否忽略警告",{"2":{"156":1}}],["是否忽略键不存在的错误",{"2":{"87":1}}],["是否递归监听子目录",{"2":{"146":1}}],["是否关闭警告",{"2":{"110":1}}],["是否开启类型检查",{"2":{"60":1}}],["源代码",{"2":{"273":1}}],["示例",{"0":{"273":1,"283":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"272":1}}],["你在a包中定义了一个index",{"2":{"294":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"294":1}}],["你也可以自己制作资源包",{"2":{"293":1}}],["你的插件代码",{"2":{"288":1}}],["你可以选择开启auto",{"2":{"295":1}}],["你可以自由使用",{"2":{"295":1}}],["你可以自定义一些信息",{"2":{"294":1}}],["你可以在多个线程中读写共享内存",{"2":{"272":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"272":1}}],["你应该使用其他储存方式",{"2":{"103":1}}],["相比于普通进程通信",{"2":{"272":1}}],["简介",{"0":{"272":1,"286":1,"293":1},"1":{"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"294":1}}],["被动模式",{"2":{"270":1}}],["被动通道传递通道",{"2":{"68":1}}],["被动通道",{"2":{"66":1}}],["每隔0",{"2":{"283":1}}],["每行一个命令",{"2":{"281":1}}],["每次接收到字符串数据时都会运行",{"2":{"270":1}}],["每3秒发送一次消息",{"2":{"270":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"103":1}}],["创建入口文件",{"2":{"292":1}}],["创建插件",{"0":{"288":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"270":1}}],["创建asyncio",{"2":{"117":1}}],["+",{"2":{"262":1}}],["+=",{"2":{"17":1,"64":1}}],["模块名",{"2":{"262":1}}],["路径a",{"2":{"262":1}}],["转换路径为模块名",{"2":{"262":1}}],["可用",{"2":{"297":1}}],["可用参数",{"2":{"297":1}}],["可以在配置文件中把auto",{"2":{"295":1}}],["可以在a的index",{"2":{"294":1}}],["可以在此基础上进行修改",{"2":{"293":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"286":1}}],["可以是本地插件或是通过",{"2":{"155":1}}],["可递归",{"2":{"282":1}}],["可调用对象",{"2":{"259":1}}],["判断是否为协程可调用对象",{"2":{"259":1}}],["并且应该在metadata",{"2":{"294":1}}],["并且不用修改源代码",{"2":{"293":1}}],["并在其中写入一些代码",{"2":{"292":1}}],["并在其中写入以下代码",{"2":{"292":1}}],["并在其中创建一个",{"2":{"288":1}}],["并遵循其许可进行修改",{"2":{"258":1}}],["并发运行异步函数",{"2":{"40":1}}],["一个",{"2":{"288":1}}],["一个键不要多次出现",{"2":{"103":1}}],["一些常用的工具类",{"2":{"258":1}}],["x26",{"2":{"257":1}}],["x3c",{"2":{"16":4,"17":1,"151":7,"155":2,"157":2,"255":1,"282":6,"303":2,"305":2}}],["优先级",{"2":{"194":1}}],["规则函数签名",{"2":{"246":1}}],["规则",{"2":{"194":1}}],["匹配器",{"2":{"194":1}}],["505468b及以后的lagrange",{"2":{"297":1}}],["52",{"2":{"254":1}}],["55",{"2":{"245":1}}],["5",{"0":{"212":1}}],["51",{"2":{"192":1}}],["59",{"2":{"154":1,"158":1}}],["多路输入管道组",{"2":{"191":1}}],["多配置文件编写原则",{"2":{"103":1}}],["回复消息",{"2":{"189":1}}],["应在初始化时调用",{"2":{"185":1}}],["根据不同类型插件设置颜色",{"2":{"157":1}}],["加载",{"2":{"300":1}}],["加载资源包",{"0":{"294":1},"2":{"299":1}}],["加载插件",{"0":{"290":1},"1":{"291":1,"292":1}}],["加载插件加载器",{"2":{"15":1}}],["加载单个插件",{"2":{"155":1}}],["下午10",{"2":{"184":1,"186":1,"192":1,"245":1,"254":1}}],["下午12",{"2":{"182":1}}],["下午11",{"2":{"154":1,"158":1}}],["下午8",{"2":{"31":1}}],["插件停用只能阻断传入响应",{"2":{"300":1}}],["插件管理",{"2":{"299":1,"300":1}}],["插件",{"0":{"299":1},"1":{"300":1}}],["插件信息",{"2":{"295":1}}],["插件描述",{"2":{"288":1}}],["插件版本",{"2":{"288":1}}],["插件类型",{"2":{"157":1,"288":1}}],["插件名称",{"2":{"155":1,"157":1,"288":1}}],["插件字典",{"2":{"153":1}}],["插件路径",{"2":{"133":1}}],["🔍",{"2":{"151":1}}],["🐛",{"2":{"151":1}}],["❌",{"2":{"151":1,"297":11}}],["⭕",{"2":{"151":1}}],["⚠️",{"2":{"151":1}}],["✅",{"2":{"151":1}}],["ℹ️信息",{"2":{"270":4}}],["ℹ️",{"2":{"151":1}}],["在群聊启用",{"2":{"297":1}}],["在普通图片和markdown大图之间切换",{"2":{"297":1}}],["在b中定义了templates",{"2":{"294":1}}],["在配置文件中的liteyuki",{"2":{"291":1}}],["在设备上执行命令",{"2":{"282":1}}],["在发信器输出",{"2":{"281":1}}],["在任意进程中均可使用",{"2":{"273":1}}],["在子进程中",{"2":{"270":1}}],["在轻雪插件中",{"2":{"270":1}}],["在新线程中运行协程",{"2":{"261":1}}],["在语言加载完成后执行",{"2":{"151":1}}],["在主进程中运行",{"2":{"92":1}}],["日志等级",{"2":{"150":1}}],["31",{"2":{"182":1}}],["3",{"0":{"210":1},"2":{"148":1,"156":1,"270":1}}],["300~500mb",{"2":{"11":1}}],["6",{"2":{"148":1}}],["测试版本号",{"2":{"148":1}}],["此模块为内置插件文件夹",{"2":{"181":1}}],["此模块为liteyuki的框架整体",{"2":{"147":1}}],["此模块用于注册观察者函数",{"2":{"136":1}}],["装饰一个函数在接收到数据后执行",{"2":{"146":1}}],["装饰器",{"2":{"64":1,"90":1,"146":1,"195":2}}],["返回true则执行回调函数",{"2":{"146":1}}],["事件过滤器",{"2":{"146":1}}],["事件循环",{"2":{"15":1}}],["监听目录们",{"2":{"146":1}}],["防抖函数",{"2":{"139":1}}],["防止获取空指针",{"2":{"98":1}}],["位置1为filesystemevent",{"2":{"137":1,"138":1}}],["启用",{"2":{"298":1,"300":1}}],["启用插件后",{"2":{"292":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"136":1}}],["启动后控制台输出",{"2":{"270":1}}],["启动后钩子",{"2":{"48":1}}],["启动所有子进程",{"2":{"127":1}}],["启动所有进程",{"2":{"117":1}}],["启动指定子进程",{"2":{"126":1}}],["启动发布订阅接收器循环",{"2":{"92":1}}],["启动前钩子",{"2":{"47":1}}],["启动",{"2":{"39":1}}],["参考liteyuki",{"2":{"133":1}}],["参数列表",{"2":{"297":2}}],["参数为调用set",{"2":{"270":1}}],["参数",{"2":{"19":1,"296":1,"305":1}}],["运行环境的设备信息",{"2":{"295":1}}],["运行在主进程中",{"2":{"286":1}}],["运行协程",{"2":{"260":1}}],["运行处理函数",{"2":{"196":1}}],["运行插件",{"2":{"133":1}}],["运行订阅者接收函数",{"2":{"91":1}}],["上午12",{"2":{"159":1}}],["上午11",{"2":{"112":1}}],["上午9",{"2":{"149":1}}],["上午5",{"2":{"132":1}}],["终止所有子进程",{"2":{"129":1}}],["终止指定子进程",{"2":{"128":1}}],["终止进程并从进程字典中删除",{"2":{"120":1}}],["添加配置项",{"2":{"297":1}}],["添加sleep",{"2":{"283":1}}],["添加处理函数",{"2":{"195":1}}],["添加子进程",{"2":{"125":1}}],["添加进程",{"2":{"118":1}}],["检查进程是否存活",{"2":{"122":1}}],["通过关键词搜索插件",{"2":{"299":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"270":1}}],["通常是目录不存在或目录为空",{"2":{"156":1}}],["通常会默认传入chan",{"2":{"118":1}}],["通道实例",{"2":{"69":1,"70":1,"71":1,"72":1}}],["通道名称",{"2":{"69":1,"71":1}}],["通道传递通道",{"2":{"67":1}}],["通道id",{"2":{"60":1}}],["项目目录下的配置文件优先",{"2":{"110":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"103":1}}],["项目目录下的config",{"2":{"110":1}}],["按照读取文件的优先级反向覆盖",{"2":{"109":1}}],["不带key返回配置项列表",{"2":{"297":1}}],["不包含任何隐私信息",{"2":{"295":1}}],["不含隐私部分",{"2":{"295":1}}],["不含插件数据",{"2":{"295":1}}],["不同adapter",{"2":{"284":1}}],["不递归",{"2":{"109":1}}],["不要出现过多的嵌套",{"2":{"103":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"110":1}}],["从目录下加载配置文件",{"2":{"109":1}}],["从指定文件加载配置项",{"2":{"108":1}}],["默认普通图片",{"2":{"297":1}}],["默认开启",{"2":{"295":1}}],["默认插件加载器",{"2":{"185":1}}],["默认执行扁平化选项",{"2":{"108":1,"109":1}}],["默认值",{"2":{"29":1,"30":1,"86":1}}],["8",{"2":{"105":1,"106":1,"107":1,"132":1,"182":1,"183":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["但请注意甄别第三方插件的安全性",{"2":{"295":1}}],["但请保证以上三个字段",{"2":{"294":1}}],["但是请保留原作者信息",{"2":{"295":1}}],["但是更加轻量级并且线程安全",{"2":{"80":1}}],["但若出现非单function的情况",{"2":{"285":1}}],["但需单独起篇幅",{"2":{"280":1}}],["但也包含原有的键值对",{"2":{"104":1}}],["扁平化后的配置文件",{"2":{"104":1}}],["扁平化配置文件",{"2":{"104":1}}],["扁平化编写",{"2":{"103":1}}],["注意不要嵌套文件夹",{"2":{"294":1}}],["注意冲突时的优先级",{"2":{"103":1}}],["注册一个函数在nonebot启动后运行",{"2":{"270":1}}],["注册一个函数在轻雪启动后运行",{"2":{"270":1}}],["注册文件系统变化监听器",{"2":{"146":1}}],["注册重启后的函数",{"2":{"27":1,"46":1}}],["注册进程重启前的函数",{"2":{"26":1,"45":1}}],["注册进程停止前的函数",{"2":{"25":1,"43":1}}],["注册停止后的函数",{"2":{"24":1,"44":1}}],["注册启动时的函数",{"2":{"41":1,"42":1}}],["注册启动后的函数",{"2":{"23":1}}],["注册启动前的函数",{"2":{"22":1}}],["尽量不要冲突",{"2":{"103":1}}],["引用计数",{"2":{"98":1}}],["共享内存通信",{"0":{"271":1},"1":{"272":1,"273":1}}],["共享内存对象",{"2":{"97":1}}],["共享内存模块",{"2":{"80":1}}],["若不存在则返回空",{"2":{"297":1}}],["若不存在则创建于config",{"2":{"297":1}}],["若存在则返回",{"2":{"297":1}}],["若存在则覆盖",{"2":{"297":1}}],["若存在则会覆盖",{"2":{"297":1}}],["若你不希望提供这些信息",{"2":{"295":1}}],["若没有metadata",{"2":{"294":1}}],["若要戳20s后停止",{"2":{"283":1}}],["若函数中启动了其他task",{"2":{"282":1}}],["若有子进程订阅则推送给子进程",{"2":{"92":1}}],["若为空",{"2":{"60":1}}],["订阅者接收消息时的回调",{"2":{"90":1}}],["频道",{"2":{"89":1,"90":1,"91":1}}],["发布消息",{"2":{"89":1}}],["发送函数为同步函数",{"2":{"61":1}}],["发送数据",{"2":{"61":1}}],["删除键值对",{"2":{"87":1}}],["值",{"2":{"85":1,"86":1}}],["键值对",{"2":{"88":1}}],["键",{"2":{"85":1,"86":1,"87":1}}],["设置用户信息或打开属性设置菜单",{"2":{"301":1}}],["设置",{"2":{"298":1,"301":1}}],["设置共享内存",{"2":{"273":1}}],["设置后的插件名称",{"2":{"157":1}}],["设置插件名称颜色",{"2":{"157":1}}],["设置键值对",{"2":{"85":1}}],["设置通道实例",{"2":{"69":1,"70":1}}],["依赖关系",{"2":{"79":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"270":1}}],["子进程中导入单例active",{"2":{"270":1}}],["子进程名称",{"2":{"125":1,"126":1,"128":1,"130":1}}],["子进程函数关键字参数",{"2":{"125":1}}],["子进程函数参数",{"2":{"125":1}}],["子进程函数",{"2":{"125":1}}],["子进程订阅者接收函数",{"2":{"82":1}}],["子进程初始化时实例化",{"2":{"67":1}}],["子进程可用的主动和被动通道",{"2":{"65":1}}],["接收数据并执行函数",{"2":{"64":1}}],["接收函数",{"2":{"55":1}}],["会自动判断key版本",{"2":{"303":1}}],["会自动识别文件格式",{"2":{"108":1}}],["会话负载信息",{"2":{"295":1}}],["会触发最大递归深度限制",{"2":{"283":1}}],["会挂起等待",{"2":{"63":1}}],["会阻塞线程",{"2":{"62":1}}],["数据",{"2":{"61":1,"62":1,"63":1,"89":1,"91":1}}],["没有异步的必要",{"2":{"61":1}}],["过滤函数",{"2":{"58":1,"64":1}}],["轻雪天气liteyuki",{"0":{"303":1},"1":{"304":1}}],["轻雪文档",{"2":{"298":1}}],["轻雪命令liteyuki",{"0":{"297":1},"1":{"298":1}}],["轻雪会收集以下内容",{"2":{"295":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"293":1}}],["轻雪主进程不涉及聊天部分",{"2":{"289":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"286":1}}],["轻雪函数",{"0":{"280":1},"1":{"281":1,"282":1,"283":1,"284":1,"285":1},"2":{"280":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"272":1}}],["轻雪抽象消息事件",{"2":{"188":1}}],["轻雪生命周期管理",{"2":{"39":1}}],["轻雪实例",{"2":{"28":1}}],["进程生命周期函数",{"2":{"43":2,"45":2}}],["进程函数关键字参数",{"2":{"118":1}}],["进程函数参数",{"2":{"118":1}}],["进程函数",{"2":{"37":1,"118":1}}],["进程名",{"2":{"18":1,"118":1}}],["|",{"0":{"40":1,"130":1,"133":1,"155":1,"188":1,"189":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":1,"224":1,"227":1,"228":1,"231":1,"232":1,"233":1,"234":1,"243":1,"244":1,"249":1},"2":{"34":1,"37":1,"40":2,"55":1,"58":1,"130":1,"133":1,"155":1,"188":1,"189":1}}],["7",{"2":{"31":1,"112":1,"149":1,"154":1,"158":1,"159":1}}],["兼容键",{"2":{"30":1}}],["兼容旧版本",{"2":{"30":1}}],["获取用户信息",{"2":{"301":1}}],["获取唯一的轻雪bot实例",{"2":{"289":1}}],["获取共享内存",{"2":{"273":1}}],["获取主动通道",{"2":{"270":1}}],["获取被动通道",{"2":{"270":1}}],["获取已加载的插件",{"2":{"153":1}}],["获取日志格式",{"2":{"150":1}}],["获取指定子进程",{"2":{"130":1}}],["获取所有键值对",{"2":{"88":1}}],["获取键值对",{"2":{"86":1}}],["获取通道实例们",{"2":{"72":1}}],["获取通道实例",{"2":{"71":1}}],["获取配置",{"2":{"29":1,"30":1}}],["获取轻雪实例",{"2":{"28":1}}],["未实现",{"2":{"24":1,"27":1,"50":1,"52":1}}],["生命周期函数",{"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"34":1,"41":2,"42":2,"44":2,"46":2}}],["生命周期管理",{"2":{"15":1}}],["关键字参数",{"2":{"19":1}}],["自动调用",{"2":{"19":1}}],["延迟重启时间",{"2":{"17":1}}],["外部启动接口",{"2":{"16":1}}],["初始化通道",{"2":{"60":1}}],["初始化日志",{"2":{"20":1}}],["初始化轻雪",{"2":{"19":1}}],["初始化轻雪实例",{"2":{"15":1}}],["初始化",{"2":{"15":1}}],["常规操作",{"2":{"15":1}}],["=none",{"2":{"18":1,"60":1,"64":1,"86":1,"188":2}}],["==",{"2":{"17":3,"72":1,"73":2,"74":2,"75":1,"92":1,"98":1,"99":2,"100":2,"101":2,"102":1,"150":1,"236":1,"237":1,"262":1}}],["=",{"0":{"17":1,"18":1,"29":1,"30":1,"60":1,"64":1,"86":1,"87":1,"95":1,"96":1,"108":1,"109":1,"110":1,"118":2,"146":2,"156":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"188":2,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"249":1,"250":1,"251":1,"256":3,"257":3},"2":{"15":9,"17":6,"18":2,"39":7,"40":1,"60":10,"61":1,"62":1,"63":2,"64":1,"69":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":2,"84":6,"85":2,"86":2,"87":1,"88":1,"90":2,"92":1,"94":1,"99":3,"100":2,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":5,"116":3,"118":5,"120":1,"124":1,"125":1,"133":4,"139":3,"146":2,"151":2,"155":12,"156":6,"157":5,"188":10,"189":1,"194":5,"248":1,"256":1,"259":1,"260":2,"262":1,"263":1,"270":5,"273":1,"288":1,"289":2}}],["总通道",{"2":{"15":1}}],[">",{"2":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":3,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":2,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"139":1,"146":2,"150":1,"153":1,"155":1,"156":1,"157":3,"195":2,"196":1,"249":2,"250":2,"251":1,"252":1,"253":1,"256":1,"257":1,"259":1,"262":1,"263":1,"303":2}}],["配置项",{"2":{"303":1}}],["配置项目",{"2":{"104":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"296":1}}],["配置文件尽量扁平化",{"2":{"103":1}}],["配置值",{"2":{"29":1,"30":1}}],["配置键",{"2":{"29":1,"30":1}}],["配置",{"2":{"15":2,"151":1,"298":1}}],["kind",{"2":{"205":1}}],["kill",{"2":{"120":1}}],["k",{"2":{"104":2}}],["keyword",{"2":{"257":2}}],["keywords为城市名",{"2":{"303":2}}],["keywords",{"0":{"257":2},"2":{"257":5,"299":1,"303":2}}],["keyerror",{"2":{"87":1,"126":1,"128":1}}],["keyvaluestore",{"0":{"83":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1},"2":{"94":1,"97":1}}],["keys",{"0":{"30":1},"2":{"30":3}}],["key",{"0":{"29":1,"30":1,"85":1,"86":1,"87":2},"2":{"29":3,"30":10,"85":6,"86":6,"87":11,"99":3,"100":3,"101":3,"104":2,"273":2,"297":4,"301":2,"303":1}}],["keyboardinterrupt",{"2":{"16":1}}],["kwargs=none",{"2":{"118":1}}],["kwargs",{"0":{"15":1,"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"15":3,"19":2,"40":3,"49":2,"51":2,"118":4,"125":3,"139":2,"263":2,"297":2}}],["knowledge",{"2":{"275":1}}],["know",{"2":{"6":1}}],["$",{"2":{"10":1}}],["qq群号",{"2":{"305":1}}],["qq",{"2":{"7":1}}],["questions",{"0":{"6":1,"7":1,"12":1}}],["quotes",{"2":{"278":2}}],["quot",{"2":{"3":2,"205":4,"278":1,"285":2,"297":2,"303":4}}],["joined",{"0":{"234":1}}],["join",{"0":{"119":1},"2":{"7":1,"17":1,"109":1,"119":2,"120":1,"156":2,"262":2}}],["json",{"0":{"106":1},"2":{"0":2,"106":4,"108":2,"110":1}}],["guidelines",{"2":{"278":2}}],["guide",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1},"2":{"278":1}}],["guild",{"0":{"209":1},"2":{"236":1,"237":1}}],["google",{"2":{"278":2}}],["go",{"2":{"269":1}}],["girl",{"2":{"265":1}}],["gitmoji",{"2":{"278":2}}],["github",{"2":{"7":1,"9":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"265":1}}],["git",{"2":{"6":1,"9":2,"10":1,"11":2}}],["g",{"2":{"157":1,"306":1}}],["group",{"0":{"208":1},"2":{"236":1,"237":1,"297":9,"298":1,"299":2,"305":3,"306":1}}],["group775840726",{"2":{"7":1}}],["granted",{"2":{"205":1}}],["green>",{"2":{"151":1}}],["gather",{"2":{"40":1,"260":1}}],["gender",{"0":{"218":1}}],["generator",{"2":{"267":1}}],["generate",{"2":{"0":1,"278":1}}],["generic",{"0":{"59":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"60":2,"61":1}}],["getattr",{"2":{"259":1}}],["get",{"0":{"28":1,"29":1,"30":1,"71":1,"72":1,"74":1,"75":1,"86":1,"88":1,"94":1,"99":1,"102":1,"130":1,"150":1,"153":1},"2":{"18":2,"28":2,"29":3,"30":5,"60":2,"61":1,"63":1,"71":2,"72":2,"73":1,"74":4,"75":3,"85":1,"86":4,"87":1,"88":2,"94":1,"97":1,"98":1,"99":3,"101":1,"102":3,"130":2,"133":1,"150":1,"151":2,"153":1,"155":3,"156":1,"185":2,"260":1,"270":8,"273":1,"289":2,"297":3,"298":1,"301":2}}],["globalkeyvaluestore",{"0":{"93":1},"1":{"94":1,"95":1,"96":1},"2":{"97":1}}],["global",{"2":{"15":1,"64":1,"151":1,"299":2,"300":2}}],["gt",{"0":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"146":1,"150":1,"153":1,"155":1,"156":1,"157":1,"195":1,"196":1,"249":1,"250":1,"251":1,"252":1,"253":1,"256":1,"257":1,"259":1,"262":1,"263":1},"2":{"79":3,"104":1,"194":1,"262":1,"278":2,"296":1,"297":7,"299":10,"301":2}}],["\`",{"2":{"3":1}}],["voice",{"0":{"212":1},"2":{"236":1,"237":1}}],["v",{"2":{"104":2}}],["validate",{"2":{"61":1}}],["valueerror",{"2":{"60":2,"69":1,"236":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["value",{"0":{"85":1},"2":{"2":1,"3":3,"85":5,"100":3,"104":3,"273":2,"297":2,"301":1}}],["var=value",{"2":{"282":1}}],["var2=value2",{"2":{"282":1}}],["var1=value1>",{"2":{"282":1}}],["var",{"0":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"98":1,"137":1,"138":1,"148":1,"246":1}}],["version=",{"2":{"288":1}}],["version",{"0":{"148":1},"2":{"11":1,"294":1}}],["venv",{"2":{"9":8}}],["vitepress",{"2":{"278":1}}],["view",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["virtual",{"2":{"6":1,"9":5}}],["visit",{"2":{"3":1}}],["v11协议api",{"2":{"297":2}}],["v11",{"2":{"3":1,"284":1}}],["2s戳两次",{"2":{"283":1}}],["22",{"2":{"182":1}}],["27",{"2":{"112":1,"149":1}}],["24",{"2":{"31":1,"159":1}}],["23",{"2":{"31":1,"154":1,"158":1}}],["20代替空格",{"2":{"297":1}}],["20和end",{"2":{"283":1}}],["2024",{"2":{"31":2,"112":2,"132":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"186":2,"192":2,"205":1,"245":2,"254":2}}],["2020",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["20216",{"2":{"1":1,"3":1,"10":2}}],["20",{"2":{"11":1}}],["2019+",{"2":{"11":1}}],["2",{"0":{"209":1},"2":{"2":1,"283":1,"294":1}}],["occurred",{"2":{"260":1}}],["occupy",{"2":{"11":1}}],["object",{"2":{"269":1}}],["obtaining",{"2":{"205":1}}],["observer",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1},"2":{"146":1,"289":2}}],["overall",{"2":{"147":1}}],["os",{"2":{"108":1,"109":3,"156":9,"289":2}}],["out",{"2":{"205":1}}],["outlook",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["output",{"2":{"2":1}}],["operator",{"0":{"244":1}}],["open",{"2":{"17":1,"105":1,"106":1,"107":1,"279":1}}],["option",{"2":{"296":1}}],["optional",{"0":{"18":1,"60":1,"64":1,"86":2,"155":1,"180":1,"188":2},"2":{"17":1,"18":2,"29":1,"30":1,"60":1,"64":3,"84":2,"86":3,"155":1,"188":2}}],["opt",{"2":{"16":2,"155":3}}],["o",{"2":{"15":1}}],["ordinary",{"2":{"278":1}}],["organization",{"2":{"275":1}}],["or",{"2":{"4":1,"6":1,"11":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"205":9,"236":1,"237":1,"248":1,"249":3,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"278":3}}],["official",{"2":{"265":2,"267":1}}],["of",{"0":{"3":1},"2":{"6":2,"10":1,"11":1,"61":1,"69":1,"147":1,"155":1,"205":8,"267":1,"275":4,"278":5}}],["others",{"0":{"267":1}}],["otherwise",{"2":{"205":1}}],["other",{"0":{"2":1,"4":1,"7":1,"12":1,"249":1,"250":1},"2":{"2":1,"3":1,"11":2,"205":2,"249":2,"250":2,"269":3}}],["one",{"2":{"6":1,"270":1}}],["onebot",{"0":{"3":1},"2":{"2":2,"3":2,"4":1,"284":1,"297":1}}],["only",{"2":{"0":1,"64":1,"270":1}}],["on",{"0":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"54":1,"55":1,"64":1,"73":1,"74":1,"75":1,"81":1,"82":1,"90":3,"99":1,"100":1,"101":1,"102":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"254":1,"256":1,"257":1},"1":{"255":1,"256":1,"257":1},"2":{"0":1,"3":1,"6":1,"7":1,"9":1,"11":3,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":3,"23":3,"24":3,"25":3,"26":3,"27":3,"28":1,"29":1,"30":1,"39":1,"40":1,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"55":2,"60":3,"61":1,"62":1,"63":1,"64":5,"69":1,"70":1,"71":1,"72":2,"73":4,"74":4,"75":3,"78":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":12,"91":2,"92":1,"94":1,"98":1,"99":4,"100":4,"101":4,"102":3,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":3,"142":3,"143":3,"144":3,"145":3,"146":3,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"182":1,"183":2,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":2,"257":5,"259":1,"260":1,"261":1,"262":1,"263":1,"265":1,"270":6,"278":1,"289":1}}],["45m",{"2":{"305":2}}],["47",{"2":{"186":1}}],["41",{"2":{"10":1}}],["40",{"2":{"10":1}}],["4",{"0":{"211":1},"2":{"1":1}}],["utility",{"2":{"277":1}}],["utils",{"0":{"258":1},"1":{"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"277":1}}],["utf",{"2":{"105":1,"106":1,"107":1}}],["url",{"0":{"204":1}}],["unload",{"2":{"299":1,"300":1}}],["understand",{"2":{"278":1}}],["unit",{"2":{"277":1}}],["uninfo的部分模型定义",{"2":{"205":1}}],["uninstall",{"2":{"6":2,"299":1,"300":1}}],["until",{"2":{"260":2}}],["unclassified",{"0":{"164":2,"170":1}}],["unsupported",{"2":{"108":1}}],["ubuntu",{"2":{"11":1}}],["usage",{"0":{"169":1},"2":{"275":1}}],["using",{"2":{"6":3,"10":1}}],["users",{"2":{"278":1}}],["user",{"0":{"188":1,"213":1,"230":2,"242":2,"301":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"188":3,"189":2,"236":1,"237":2,"253":1,"278":1,"283":3}}],["used",{"2":{"64":1,"181":1,"270":1,"278":1}}],["use",{"2":{"1":1,"3":2,"4":2,"6":4,"9":4,"10":1,"11":2,"30":1,"155":1,"205":2,"276":1,"278":2}}],["updates",{"2":{"1":1}}],["update",{"2":{"1":2,"2":2,"6":1,"11":2,"108":3,"109":1,"110":1,"297":1,"298":1,"299":1,"300":1}}],["feat",{"2":{"278":1}}],["features",{"2":{"278":2}}],["feature",{"2":{"278":1}}],["flake8",{"2":{"276":1}}],["flat",{"0":{"104":1},"2":{"104":2,"105":1,"106":1,"107":1}}],["flag",{"2":{"39":1}}],["friend",{"2":{"283":2}}],["front",{"2":{"275":1}}],["from",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1},"2":{"62":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":2,"191":2,"205":1,"269":1,"270":4,"288":1,"289":3}}],["free",{"2":{"205":1}}],["frequently",{"0":{"6":1}}],["framework",{"2":{"147":1,"269":1,"275":1,"277":3}}],["f",{"2":{"17":1,"18":2,"30":1,"60":2,"61":1,"69":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"126":1,"127":1,"128":1,"129":1,"155":5,"156":9,"157":1,"191":2,"236":2,"237":2,"260":1,"270":2,"289":1}}],["future",{"2":{"260":1}}],["furnished",{"2":{"205":1}}],["func=none",{"2":{"146":1}}],["func=lambda",{"2":{"72":1,"73":2,"74":2,"75":1,"270":1}}],["funcs",{"0":{"40":2,"81":1,"82":1,"91":1},"2":{"39":6,"40":4,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"64":1,"90":6,"91":2,"92":1}}],["func",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":4,"23":3,"24":3,"25":3,"26":4,"27":3,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":3,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":3,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":3,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":2,"119":1,"120":1,"121":1,"122":1,"124":1,"125":2,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"137":1,"138":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":4,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":2},"2":{"22":7,"23":6,"24":6,"25":6,"26":7,"27":6,"34":2,"37":2,"39":6,"40":8,"41":8,"42":8,"43":8,"44":8,"45":8,"46":8,"55":2,"58":2,"60":2,"64":20,"81":1,"82":1,"90":8,"91":2,"118":1,"125":3,"139":2,"146":7,"259":2,"263":4,"282":1}}],["function实现语法高亮",{"2":{"285":1}}],["functions",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1}}],["function",{"2":{"11":2,"270":1,"280":1,"282":1,"283":2,"297":3}}],["full",{"2":{"6":1,"270":1}}],["familiar",{"2":{"275":2}}],["failed",{"2":{"6":2,"155":1}}],["faq",{"0":{"5":1},"1":{"6":1,"7":1}}],["false",{"0":{"108":1,"109":1,"110":1,"256":1,"257":1},"2":{"2":4,"60":2,"84":2,"259":1}}],["follow",{"2":{"278":4}}],["following",{"2":{"2":1,"205":1,"275":1,"278":2}}],["folder",{"2":{"181":1}}],["found",{"2":{"61":1,"69":1,"108":1,"109":1,"120":1,"122":1,"126":1,"128":1}}],["fork",{"2":{"275":1}}],["formatting",{"2":{"276":1}}],["format=get",{"2":{"151":1}}],["formats",{"2":{"109":1}}],["format",{"0":{"150":1,"157":1},"2":{"108":1,"150":3,"151":1,"155":2,"157":1,"278":1}}],["for",{"0":{"12":1},"2":{"1":1,"3":2,"6":2,"18":1,"30":1,"40":1,"60":1,"70":1,"91":1,"104":2,"108":1,"109":2,"117":1,"119":1,"121":1,"127":1,"129":1,"146":1,"156":2,"185":2,"191":1,"196":1,"205":2,"255":1,"257":1,"260":2,"269":1,"270":1,"276":1,"278":5,"288":1}}],["fonts",{"2":{"1":1}}],["finally",{"0":{"279":1}}],["field",{"2":{"278":3}}],["fields",{"2":{"0":1,"3":2}}],["fixing",{"2":{"278":2}}],["fitness",{"2":{"205":1}}],["filter=lambda",{"2":{"289":1}}],["filter",{"0":{"56":1,"57":1,"58":1,"64":2,"138":1,"146":2},"2":{"58":2,"64":8,"72":1,"73":2,"74":2,"75":1,"146":5,"270":1}}],["file",{"0":{"105":1,"106":1,"107":1,"146":1},"2":{"3":1,"31":1,"105":4,"106":4,"107":4,"108":12,"109":3,"112":1,"132":1,"146":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1,"277":1,"289":3}}],["filesystemeventhandler",{"0":{"140":1},"1":{"141":1,"142":1,"143":1,"144":1,"145":1}}],["filesystemevent",{"2":{"137":1,"138":1,"146":1,"289":2}}],["files",{"0":{"108":2},"2":{"0":4,"108":3,"109":1,"110":1,"205":1}}],["fill",{"2":{"1":1,"3":1,"278":1}}],["first",{"2":{"0":1,"6":1,"275":1}}],["b包也定义了一个index",{"2":{"294":1}}],["bilingual",{"2":{"278":1}}],["bind",{"2":{"151":1,"304":1}}],["binding",{"2":{"1":1}}],["bin",{"2":{"9":2}}],["brief",{"2":{"278":1}}],["branch",{"2":{"275":4}}],["break",{"2":{"255":1}}],["browser",{"2":{"6":1}}],["black",{"2":{"276":1}}],["block",{"0":{"194":1,"256":1,"257":1},"2":{"194":4,"256":2,"257":2}}],["blue>",{"2":{"151":1}}],["b",{"2":{"104":1,"262":2,"306":1}}],["bool=false",{"2":{"108":1,"109":1,"110":1,"256":1,"257":1}}],["bool=true",{"2":{"87":1,"146":1,"156":1}}],["bool",{"0":{"60":1,"87":1,"108":1,"109":1,"110":1,"122":1,"146":1,"156":1,"194":1,"233":1,"251":1,"252":1,"253":1,"256":1,"257":1,"259":1},"2":{"56":1,"57":1,"60":1,"122":1,"138":1,"194":1,"246":1,"249":1,"250":1,"251":1,"252":1,"253":1,"259":2}}],["both",{"2":{"277":1}}],["bot",{"0":{"13":1,"28":1,"31":1,"188":1,"265":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"1":1,"2":1,"10":1,"11":1,"15":2,"28":4,"29":1,"30":4,"133":2,"188":3,"189":2,"265":3,"266":1,"267":1,"270":4,"277":2,"281":1,"289":2,"297":1,"305":3,"306":1}}],["bugs",{"2":{"278":2}}],["bug",{"2":{"278":2}}],["business",{"2":{"277":1}}],["built",{"2":{"181":2,"277":1}}],["build",{"2":{"10":1}}],["but",{"2":{"3":1,"205":1,"270":1,"278":1}}],["based",{"2":{"265":1}}],["baseseg",{"0":{"198":1,"201":1,"203":1},"1":{"199":1,"200":1,"202":1,"204":1}}],["basemodel",{"0":{"166":1,"174":1,"198":1,"213":1,"219":1,"225":1,"229":1,"235":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["baseexception",{"0":{"135":1}}],["bashdocker",{"2":{"10":1}}],["bash",{"2":{"9":1}}],["basically",{"2":{"3":1}}],["basic",{"0":{"1":1},"2":{"275":2}}],["better",{"2":{"279":1}}],["between",{"2":{"6":1}}],["best",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["before",{"0":{"22":1,"25":1,"26":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1},"2":{"22":2,"25":2,"26":2,"39":3,"41":2,"43":2,"45":2,"47":3,"49":3,"51":3}}],["be",{"2":{"3":1,"6":1,"11":1,"30":1,"61":1,"64":1,"69":1,"141":1,"205":2,"270":1,"278":2}}],["by",{"2":{"3":1,"4":1,"6":1,"270":1,"276":1}}],["14s",{"2":{"305":2}}],["1h",{"2":{"305":2}}],["1d",{"2":{"305":2}}],["19",{"2":{"186":1,"192":1,"245":1,"254":1}}],["1919810",{"2":{"1":1}}],["1145141919810",{"2":{"297":1}}],["11",{"2":{"184":1}}],["10",{"2":{"148":1,"297":1}}],["10+",{"2":{"9":1,"11":1}}],["18",{"2":{"132":1}}],["12",{"2":{"112":1,"149":1}}],["127",{"2":{"1":1,"3":1}}],["1gb",{"2":{"11":2}}],["1vcpu",{"2":{"11":1}}],["1",{"0":{"208":1},"2":{"1":1,"2":1,"3":1,"17":2,"18":2,"64":1,"73":2,"74":2,"75":1,"92":2,"99":3,"100":2,"101":1,"102":1,"104":1,"140":1,"141":1,"155":4,"262":2,"288":1,"294":2}}],["03",{"2":{"270":2}}],["0000",{"2":{"270":3}}],["00",{"2":{"270":18}}],["02",{"2":{"159":1,"184":1}}],["04",{"2":{"132":1}}],["04+",{"2":{"11":1}}],["0",{"0":{"17":1,"207":1,"256":1,"257":1},"2":{"1":2,"3":2,"15":1,"17":2,"39":1,"72":1,"73":2,"74":2,"75":1,"92":1,"98":2,"99":2,"100":2,"101":2,"102":1,"194":1,"283":1,"288":2,"294":2}}],["html中用",{"2":{"294":1}}],["html",{"2":{"294":1}}],["html文件会被覆盖",{"2":{"294":1}}],["html文件",{"2":{"294":2}}],["https",{"2":{"9":1}}],["has",{"2":{"278":1}}],["hash",{"0":{"175":1},"2":{"175":2}}],["harmless",{"2":{"278":1}}],["handle",{"0":{"195":1},"2":{"182":1,"183":1,"195":1}}],["handlers",{"2":{"194":1,"195":1,"196":1}}],["handler",{"0":{"191":1,"248":1},"2":{"146":3,"191":1,"195":4,"196":2,"248":3,"249":4,"250":4,"251":2}}],["have",{"2":{"3":1,"7":1,"10":1,"11":1}}],["hints",{"2":{"278":1}}],["hint",{"2":{"60":1}}],["holders",{"2":{"205":1}}],["homepage",{"0":{"172":1}}],["how",{"0":{"275":1},"1":{"276":1},"2":{"6":2}}],["host",{"2":{"1":1}}],["help",{"2":{"299":1,"300":1}}],["hello",{"2":{"281":5,"297":1}}],["hereby",{"2":{"205":1}}],["here",{"2":{"3":2}}],["header",{"2":{"1":1}}],["echo",{"2":{"281":3}}],["easy",{"2":{"278":1}}],["each",{"2":{"278":2}}],["editing",{"2":{"278":1}}],["etc",{"2":{"278":1}}],["e",{"2":{"87":2,"155":1,"157":1,"260":2}}],["emoji",{"2":{"278":1}}],["email",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["empty",{"0":{"252":1,"256":1,"257":1},"2":{"1":1,"155":1,"156":1,"252":1}}],["else",{"2":{"17":1,"18":1,"28":1,"40":1,"64":2,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":2,"105":1,"106":1,"107":1,"150":1,"151":7,"155":2,"236":1,"255":1,"260":1,"262":1}}],["elif",{"2":{"17":2,"60":1,"64":1,"108":4,"155":2,"156":1,"236":1,"237":1}}],["event装饰器监听文件系统事件",{"2":{"289":1}}],["events",{"2":{"289":1}}],["eventhandler",{"0":{"195":2},"2":{"194":1,"195":4}}],["event",{"0":{"76":1,"77":1,"141":1,"142":1,"143":1,"144":1,"145":2,"146":2,"183":1,"186":1,"196":1,"251":1,"252":1,"253":1},"1":{"77":1,"78":2,"187":1,"188":1,"189":1},"2":{"15":4,"21":1,"79":1,"141":1,"142":2,"143":2,"144":2,"145":3,"146":8,"183":3,"186":1,"189":2,"196":4,"205":1,"249":3,"250":3,"251":2,"252":1,"253":2,"257":2,"260":2,"278":1,"289":8}}],["every",{"2":{"1":1}}],["errors",{"2":{"6":1}}],["error",{"0":{"87":1},"2":{"6":1,"87":3,"151":1,"260":1}}],["express",{"2":{"205":1}}],["extra",{"0":{"173":1}}],["extensions",{"2":{"289":2}}],["extend",{"2":{"133":1}}],["external",{"2":{"1":1}}],["exclude",{"2":{"289":2}}],["exc",{"2":{"155":1,"196":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"134":1}}],["exception",{"0":{"134":1},"1":{"135":1},"2":{"155":1,"196":1,"260":2}}],["except",{"2":{"16":1,"87":1,"155":1,"196":1,"260":2}}],["executor",{"2":{"63":1}}],["executable",{"2":{"6":1,"11":1,"17":3}}],["exist",{"2":{"156":1}}],["exists",{"2":{"60":2,"69":1,"108":1,"109":1,"156":2}}],["exit",{"2":{"17":1}}],["example",{"0":{"3":1,"270":1},"2":{"6":2}}],["enclosed",{"2":{"278":1}}],["encoding=",{"2":{"105":1,"106":1,"107":1}}],["english",{"2":{"277":1}}],["en",{"2":{"277":1}}],["entry",{"2":{"277":1}}],["enter",{"2":{"6":1}}],["end",{"2":{"275":1,"282":1}}],["endswith",{"2":{"108":3,"109":1,"156":1,"289":1}}],["enumerate",{"2":{"255":1}}],["enum",{"0":{"160":1,"206":1},"1":{"161":1,"162":1,"163":1,"164":1,"165":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1}}],["enforcing",{"2":{"60":1}}],["environment",{"2":{"9":6}}],["environments",{"2":{"3":1,"6":1,"11":1}}],["ensure",{"2":{"1":1,"260":1,"275":1,"278":7}}],["enable",{"2":{"1":1,"276":1,"297":2,"298":1,"299":2,"300":2}}],["mcfunction",{"2":{"281":2}}],["mix",{"2":{"278":1}}],["mit",{"2":{"205":1}}],["minimum",{"2":{"11":1}}],["msg",{"2":{"191":3,"297":1}}],["much",{"2":{"278":3}}],["mute",{"0":{"233":1}}],["must",{"2":{"61":1,"69":1,"141":1}}],["multiple",{"2":{"0":1,"11":1,"278":1}}],["m",{"2":{"9":2,"11":1,"157":1,"255":2,"306":1}}],["mypy",{"2":{"276":1}}],["my",{"2":{"6":1}}],["member",{"0":{"229":1,"243":2,"244":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1},"2":{"297":1}}],["memory",{"0":{"97":1},"2":{"11":1,"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"269":1,"273":3}}],["merchantability",{"2":{"205":1}}],["merge",{"2":{"0":1,"205":1,"275":1}}],["meta",{"2":{"155":4,"288":1}}],["metadata",{"0":{"180":1},"2":{"155":13}}],["methods",{"2":{"3":1}}],["messages",{"2":{"269":2}}],["message=",{"2":{"189":1,"297":1}}],["message=message",{"2":{"189":1}}],["messageevent",{"0":{"183":1,"187":1,"188":1,"196":1,"251":1,"252":1,"253":1},"1":{"188":1,"189":1},"2":{"183":1,"188":1,"189":1,"196":1,"246":1,"249":1,"250":1,"251":1,"252":1,"253":1,"257":1}}],["message",{"0":{"188":3,"189":1,"191":1,"197":1,"256":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1},"2":{"4":1,"183":1,"188":9,"189":5,"191":1,"256":1,"257":2,"278":5,"305":1,"306":1}}],["make",{"2":{"279":1}}],["mark",{"2":{"278":1}}],["markdown",{"2":{"275":1,"278":1}}],["marsho",{"2":{"265":1}}],["map",{"2":{"267":1}}],["matcher",{"0":{"192":1,"193":1,"255":3,"256":1,"257":1},"1":{"193":1,"194":2,"195":2,"196":2},"2":{"192":1,"255":9,"256":6,"257":1}}],["match",{"2":{"157":1}}],["maintainer",{"2":{"275":1}}],["mainprocess",{"2":{"269":1}}],["main",{"0":{"81":1},"2":{"6":1,"9":1,"28":1,"60":2,"64":4,"69":1,"71":1,"72":1,"84":1,"85":1,"86":1,"87":1,"88":1,"90":5,"91":1,"92":1,"269":1,"270":6,"275":1,"277":1,"292":1}}],["management",{"2":{"267":1}}],["manager",{"0":{"112":1,"158":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":1,"21":1,"112":1,"158":1}}],["many",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["may",{"2":{"3":1}}],["moved",{"0":{"144":1},"2":{"144":1}}],["more",{"2":{"2":1,"11":1,"276":1}}],["moduletype",{"0":{"178":1}}],["module=module",{"2":{"155":1}}],["module",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"133":1,"134":1,"136":1,"147":1,"149":1,"152":1,"154":1,"155":1,"158":1,"159":1,"163":2,"178":1,"179":1,"181":1,"182":1,"184":1,"186":1,"190":1,"192":1,"197":1,"205":1,"245":1,"254":1,"258":1,"262":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"133":3,"147":1,"155":26,"156":9,"157":1,"175":1,"181":1,"262":1}}],["modified",{"0":{"141":1},"2":{"10":1,"141":2,"142":1,"143":1,"144":1,"145":1,"146":4}}],["modify",{"2":{"0":2,"205":1}}],["modes",{"2":{"270":1}}],["models",{"0":{"205":1},"1":{"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["model",{"0":{"159":1,"176":1},"1":{"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1},"2":{"159":1,"265":1}}],["mode为true",{"2":{"136":1}}],["mode",{"2":{"2":5,"6":3,"270":5,"276":2,"297":2,"298":1}}],["most",{"2":{"0":1}}],["lyf结尾",{"2":{"281":1}}],["lyfunction语法",{"2":{"297":1}}],["lyfunction",{"2":{"281":1}}],["lt",{"2":{"278":2,"296":1,"297":7,"299":10,"301":2}}],["lead",{"2":{"278":1}}],["least",{"2":{"11":2}}],["level=level",{"2":{"151":1}}],["level",{"0":{"150":1,"227":1},"2":{"1":3,"150":3,"151":10}}],["last",{"2":{"139":4}}],["lambda",{"2":{"98":1,"99":2,"100":2,"101":2,"102":1}}],["latest",{"2":{"10":1}}],["language",{"2":{"2":2,"275":1,"278":3}}],["location",{"2":{"267":1}}],["local",{"2":{"1":1}}],["locks",{"2":{"87":1}}],["lock",{"0":{"96":2},"2":{"85":3,"86":3,"87":3,"94":1}}],["loop",{"0":{"92":1},"2":{"15":4,"60":1,"63":3,"84":2,"92":2,"260":10}}],["logic",{"2":{"277":1}}],["log0000",{"2":{"270":1}}],["logger",{"0":{"20":1},"2":{"15":1,"16":2,"17":1,"19":1,"20":1,"30":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"127":1,"129":1,"151":11,"155":3,"156":3,"191":2,"260":1,"270":3,"289":2}}],["logo",{"2":{"15":1}}],["logs",{"2":{"2":1}}],["log",{"0":{"149":1,"151":1},"1":{"150":1,"151":1},"2":{"1":4,"6":3,"20":1,"149":1,"151":3,"270":1}}],["loaded",{"0":{"153":1},"2":{"153":1}}],["loader",{"0":{"184":1,"185":1},"1":{"185":1},"2":{"15":1,"185":1}}],["loading",{"2":{"105":1,"106":1,"107":1}}],["load",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"154":1,"155":1,"156":1},"1":{"155":1,"156":1,"157":1},"2":{"0":1,"2":2,"15":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":3,"133":2,"154":1,"155":3,"156":2,"185":2,"299":1,"300":1}}],["links",{"2":{"278":2}}],["linux",{"2":{"9":2,"11":1,"17":1}}],["like",{"2":{"269":1}}],["liability",{"2":{"205":1}}],["liable",{"2":{"205":1}}],["limitation",{"2":{"205":1}}],["limited",{"2":{"4":1,"205":1}}],["license",{"2":{"205":1}}],["litedoc",{"2":{"267":1,"278":1}}],["liteecho",{"0":{"182":1,"183":1},"1":{"183":1},"2":{"182":2,"183":2,"297":1}}],["liteyukiexception",{"0":{"135":1}}],["liteyukistudio",{"2":{"9":1,"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["liteyuki",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"134":1,"136":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"186":1,"190":1,"192":1,"197":1,"205":1,"245":1,"254":1,"258":1,"299":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"300":1},"2":{"1":6,"2":4,"3":2,"4":2,"6":3,"9":2,"10":1,"11":1,"15":2,"28":1,"133":2,"147":1,"155":5,"185":3,"265":4,"266":3,"267":6,"269":1,"270":12,"273":2,"275":4,"277":6,"278":2,"279":1,"280":1,"288":1,"289":4,"292":1,"293":1,"297":4,"298":3}}],["liteyukibot",{"0":{"14":1,"28":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1},"2":{"0":5,"9":2,"10":1,"17":1,"28":2,"133":1,"265":2,"266":2,"267":2,"269":1,"277":3}}],["life",{"2":{"39":1}}],["lifespan=self",{"2":{"15":1}}],["lifespan",{"0":{"22":2,"23":1,"24":1,"25":1,"26":2,"27":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"116":2},"1":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":2,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2},"2":{"15":3,"22":5,"23":4,"24":4,"25":4,"26":5,"27":4,"31":1,"34":2,"37":2,"39":6,"40":4,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"116":4}}],["listen",{"2":{"269":1}}],["listening",{"2":{"1":1}}],["listdir",{"2":{"109":1,"156":2}}],["list",{"0":{"188":1,"257":1},"2":{"1":4,"39":6,"60":2,"81":1,"82":1,"188":1,"194":1,"255":3,"257":1,"297":1,"299":2,"300":1}}],["switch",{"2":{"297":2,"298":1}}],["simple",{"2":{"288":1}}],["single",{"2":{"278":1}}],["signature",{"2":{"263":2}}],["sides",{"2":{"3":1}}],["side",{"0":{"3":1}}],["src",{"2":{"185":1,"277":2,"289":5}}],["script",{"2":{"267":1}}],["scripts",{"2":{"9":2}}],["scope",{"0":{"240":1},"2":{"236":4,"237":4}}],["scene",{"0":{"219":1,"224":1,"241":2},"1":{"220":1,"221":1,"222":1,"223":1,"224":1},"2":{"236":1,"237":1}}],["scenetype",{"0":{"206":1,"221":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"236":7,"237":6}}],["schedule",{"2":{"146":1}}],["shinjuku",{"2":{"303":1}}],["shellstatistic",{"2":{"305":1}}],["shellbind",{"2":{"303":1}}],["shellweather",{"2":{"303":1}}],["shellmain",{"2":{"294":1}}],["shellvar",{"2":{"282":1}}],["shellcmd",{"2":{"281":1}}],["shell",{"2":{"281":1,"283":1}}],["should",{"2":{"278":7}}],["showing",{"2":{"267":1}}],["show",{"2":{"151":8}}],["shall",{"2":{"205":2}}],["shared",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"269":1,"273":3}}],["shutdown",{"0":{"24":1,"25":1,"43":1,"44":1,"49":1,"50":1},"2":{"24":2,"25":2,"39":2,"43":2,"44":2,"49":3,"50":3}}],["syntax",{"2":{"275":1,"278":1}}],["sync",{"0":{"32":1,"35":1,"54":1,"56":1},"2":{"34":1,"37":1,"55":1,"58":1,"263":1}}],["sys",{"2":{"17":3,"151":1}}],["system",{"0":{"146":1},"2":{"11":2,"17":4,"146":1,"289":2}}],["snowykami",{"2":{"31":2,"112":2,"132":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"186":2,"192":2,"245":2,"254":2}}],["sleep",{"2":{"17":1,"270":1,"282":1,"283":1}}],["style",{"2":{"278":2,"294":2}}],["stem",{"2":{"262":2}}],["stdout",{"2":{"151":1}}],["store",{"2":{"84":1,"85":1,"86":1,"87":2,"88":1,"181":1}}],["storage",{"0":{"80":1},"1":{"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"79":2,"273":2}}],["stopped",{"2":{"16":1}}],["stopping",{"2":{"16":1}}],["stop",{"0":{"21":1},"2":{"15":1,"16":1,"21":2}}],["standardization",{"0":{"278":1}}],["statistic",{"2":{"306":1}}],["statistics",{"0":{"305":1},"1":{"306":1}}],["staticmethod",{"2":{"39":1,"40":1,"90":1,"91":1}}],["status",{"2":{"297":1,"298":1}}],["stat",{"2":{"267":1,"306":1}}],["star",{"2":{"267":1}}],["starmap",{"2":{"267":1}}],["startup",{"2":{"270":2}}],["startswith",{"2":{"182":1,"183":1}}],["started",{"2":{"6":1}}],["start",{"0":{"22":1,"23":1,"41":1,"42":1,"47":1,"48":1,"92":1,"117":1,"126":1,"127":1},"2":{"1":2,"6":1,"16":1,"17":2,"22":2,"23":2,"39":2,"41":2,"42":2,"47":3,"48":3,"92":2,"117":2,"126":2,"127":2,"261":1,"270":1}}],["starting",{"2":{"0":1,"117":1,"127":1}}],["strings",{"2":{"278":2}}],["strip",{"2":{"183":2}}],["structure",{"0":{"277":1},"2":{"61":1}}],["str",{"0":{"18":1,"29":1,"30":2,"60":1,"69":1,"70":1,"71":1,"72":1,"73":2,"74":2,"75":2,"78":2,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"133":1,"146":1,"150":2,"153":1,"155":1,"156":1,"157":2,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"177":1,"179":1,"188":9,"189":2,"199":1,"200":1,"202":1,"204":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"222":1,"223":1,"226":1,"228":1,"231":1,"238":1,"239":1,"240":1,"257":1,"262":1},"2":{"15":1,"18":2,"29":2,"30":3,"35":1,"36":1,"60":2,"68":2,"69":2,"70":2,"71":2,"72":3,"73":2,"74":2,"75":2,"78":2,"81":1,"82":1,"84":5,"85":1,"86":1,"87":1,"88":3,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"116":2,"118":1,"120":1,"122":1,"124":1,"125":1,"126":1,"128":1,"130":1,"133":1,"146":1,"150":2,"153":2,"155":1,"156":1,"157":3,"188":9,"189":2,"253":1,"257":1,"262":2,"270":1}}],["search",{"2":{"299":1,"300":1}}],["see",{"2":{"276":1}}],["segment",{"0":{"199":1}}],["segments",{"0":{"197":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1}}],["sell",{"2":{"205":1}}],["select",{"2":{"191":1}}],["self",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"92":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"141":1,"142":1,"143":1,"144":1,"145":1,"175":1,"188":1,"189":1,"194":1,"195":1,"196":1,"236":1,"237":1,"238":1,"248":1,"249":1,"250":1,"251":1},"2":{"15":13,"16":4,"17":4,"18":2,"19":2,"20":1,"21":3,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"39":8,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":3,"48":3,"49":3,"50":3,"51":3,"52":3,"60":14,"61":6,"62":3,"63":2,"64":3,"78":3,"84":7,"85":3,"86":3,"87":4,"88":3,"89":2,"90":1,"92":4,"114":6,"116":4,"117":2,"118":2,"119":2,"120":3,"121":3,"122":3,"124":2,"125":2,"126":3,"127":2,"128":3,"129":2,"130":2,"141":1,"142":2,"143":2,"144":2,"145":2,"175":2,"188":10,"189":3,"194":5,"195":2,"196":3,"236":7,"237":8,"248":2,"249":2,"250":2,"251":3}}],["session",{"0":{"186":1,"188":2,"190":1,"192":1,"197":1,"205":1,"235":1,"236":1,"245":1,"254":1},"1":{"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":2,"237":2,"238":2,"239":2,"240":2,"241":2,"242":2,"243":2,"244":2,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1},"2":{"188":6,"189":5,"236":1}}],["service",{"0":{"162":2},"2":{"157":1,"288":1}}],["server",{"2":{"1":1,"3":1,"11":1}}],["sequence",{"0":{"40":1},"2":{"40":2}}],["send",{"0":{"61":1},"2":{"18":2,"60":2,"61":4,"69":1,"71":1,"72":1,"74":1,"75":1,"85":1,"86":1,"87":1,"88":1,"89":1,"92":1,"99":1,"102":1,"189":1,"269":1,"270":3,"297":1}}],["setting",{"2":{"276":1}}],["set",{"0":{"69":1,"70":1,"73":1,"85":1,"100":1,"156":1},"2":{"15":1,"21":1,"69":2,"70":2,"72":1,"73":3,"85":2,"99":1,"100":3,"156":2,"260":1,"273":1,"297":2,"298":1,"301":2}}],["s",{"2":{"11":1}}],["sparkles",{"2":{"278":2}}],["space",{"2":{"11":1}}],["split",{"2":{"155":4}}],["specified",{"2":{"155":1}}],["specific",{"2":{"6":1,"11":1}}],["specify",{"2":{"6":1}}],["so",{"2":{"205":1,"277":1}}],["software",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":9,"245":1,"254":1}}],["source",{"2":{"9":2,"11":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"267":1,"277":1,"279":1}}],["some",{"2":{"1":1,"6":2}}],["summary",{"2":{"278":1}}],["such",{"2":{"276":1,"278":2}}],["succeeded",{"2":{"155":1}}],["success",{"2":{"120":1,"151":1,"155":2}}],["suggestions",{"0":{"276":1}}],["su",{"0":{"253":1},"2":{"182":1,"183":1,"253":1}}],["substantial",{"2":{"205":1}}],["subscribe",{"2":{"90":1}}],["subscriber",{"0":{"81":1,"82":1,"90":1,"91":1},"2":{"90":7,"91":2,"92":1}}],["subject",{"2":{"205":1}}],["sublicense",{"2":{"205":1}}],["subprocess",{"0":{"130":1},"2":{"124":1,"125":1,"130":1}}],["subprocessmanager",{"0":{"123":1},"1":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["sub",{"0":{"82":1},"2":{"28":1,"60":1,"64":1,"84":1,"90":4,"92":1}}],["submitted",{"2":{"278":1}}],["submit",{"2":{"7":1,"275":2}}],["support",{"2":{"266":2,"278":1}}],["supported",{"2":{"4":1,"6":1,"109":1}}],["supports",{"2":{"0":1}}],["superuser",{"2":{"1":1}}],["superusers",{"2":{"0":1,"1":1,"253":1}}],["same",{"2":{"3":2}}],["safe",{"2":{"2":2,"6":3,"105":1}}],["num为每页显示数量",{"2":{"299":2}}],["num",{"2":{"299":2}}],["number",{"2":{"10":2}}],["nliteyuki",{"2":{"281":1}}],["name>",{"2":{"282":2}}],["name=module",{"2":{"155":3}}],["name=f",{"2":{"118":2}}],["name=",{"2":{"65":1,"66":1,"84":3,"288":1}}],["name",{"0":{"18":1,"60":1,"69":1,"71":1,"78":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"157":2,"167":1,"177":1,"179":1,"215":1,"222":1,"228":1,"262":1},"2":{"18":6,"60":9,"69":7,"70":2,"71":5,"73":3,"74":3,"78":3,"117":3,"118":5,"119":1,"120":6,"121":2,"122":5,"125":4,"126":5,"127":2,"128":5,"129":2,"130":3,"155":20,"156":9,"157":6,"175":1,"262":1,"270":2,"297":4,"299":8}}],["nick",{"0":{"216":1}}],["nickname",{"0":{"231":1},"2":{"0":1,"1":2}}],["nightly",{"2":{"10":1}}],["npm",{"2":{"6":1,"299":7,"300":1}}],["nesting",{"2":{"278":1}}],["new",{"2":{"15":1,"104":3,"260":1,"275":1,"278":2}}],["necessary",{"2":{"6":1}}],["needs",{"2":{"270":1}}],["need",{"2":{"0":1,"2":1,"275":1}}],["non",{"2":{"279":1}}],["noninfringement",{"2":{"205":1}}],["nonlocal",{"2":{"139":1}}],["nonedog",{"2":{"288":1}}],["none",{"0":{"15":1,"18":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"64":1,"85":1,"86":1,"87":1,"89":1,"95":1,"118":1,"130":1,"146":1,"180":1,"188":2,"196":1,"215":2,"216":2,"217":2,"218":2,"222":2,"223":2,"224":2,"227":2,"228":2,"231":2,"232":2,"233":2,"234":2,"243":2,"244":2},"2":{"15":1,"18":2,"28":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":3,"61":1,"63":1,"64":2,"85":1,"87":1,"89":1,"94":2,"105":1,"106":1,"107":1,"118":1,"130":2,"137":1,"139":1,"146":1,"155":4,"156":1,"188":1,"196":1,"246":2,"251":1,"259":1}}],["nonebot2",{"2":{"4":2}}],["nonebot",{"0":{"3":1},"2":{"1":2,"2":2,"3":1,"6":1,"258":1,"266":6,"270":3,"277":3,"288":1,"289":4,"292":1}}],["nohup",{"2":{"17":2,"282":1,"283":1}}],["node",{"2":{"11":1}}],["notice",{"2":{"205":2}}],["notimplementederror",{"2":{"141":1}}],["not",{"2":{"1":1,"2":1,"4":1,"11":2,"18":1,"28":1,"60":1,"61":2,"64":4,"69":1,"87":1,"90":3,"92":1,"105":1,"106":1,"107":1,"108":3,"109":3,"120":2,"122":2,"126":2,"128":2,"146":2,"155":1,"156":8,"196":1,"205":1,"278":3,"289":2}}],["normal>",{"2":{"151":1}}],["normal",{"0":{"9":1},"2":{"1":1}}],["no",{"0":{"108":1,"109":1,"110":1,"167":1,"177":1,"178":1,"179":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"1":1,"67":1,"68":1,"108":3,"109":3,"110":4,"205":1,"278":1}}],["image",{"0":{"203":1},"1":{"204":1},"2":{"297":2,"298":1}}],["impossible",{"2":{"269":1}}],["import",{"2":{"98":1,"155":1,"270":5,"273":1,"288":2,"289":3,"292":1}}],["implied",{"2":{"205":1}}],["implement",{"2":{"270":1}}],["implemented",{"2":{"141":1,"270":1}}],["implementation",{"0":{"3":1},"2":{"3":1}}],["ignore",{"0":{"87":1,"156":1},"2":{"87":3,"156":5}}],["id仅超级用户可用",{"2":{"297":1}}],["id=user",{"2":{"283":2}}],["id=1234567",{"2":{"297":2}}],["id=123456",{"2":{"283":1}}],["id=self",{"2":{"189":3}}],["id",{"0":{"188":3,"214":1,"220":1,"226":1,"236":1,"237":1,"238":1},"2":{"64":5,"188":9,"189":3,"236":3,"237":4,"253":1,"283":2,"297":2,"299":1,"305":4}}],["ids",{"2":{"60":2,"64":2}}],["icu",{"2":{"10":1}}],["icon=f",{"2":{"151":7}}],["icon",{"2":{"1":2,"151":9}}],["i",{"0":{"191":1},"2":{"6":1,"15":1,"191":3,"255":2,"270":6}}],["isclass",{"2":{"259":1}}],["iscoroutinefunction",{"2":{"259":2}}],["isroutine",{"2":{"259":1}}],["isfile",{"2":{"156":1,"289":1}}],["isdir",{"2":{"156":2}}],["isinstance",{"2":{"69":1,"104":1,"155":1,"270":1}}],["issue",{"2":{"7":1}}],["is",{"0":{"122":1,"253":1,"259":1},"2":{"1":3,"2":1,"3":3,"4":1,"9":1,"11":1,"15":1,"16":2,"18":1,"28":2,"40":1,"60":6,"61":1,"64":5,"69":1,"71":1,"72":1,"84":2,"85":1,"86":1,"87":1,"88":1,"90":3,"92":1,"94":2,"105":1,"106":1,"107":1,"118":1,"120":1,"122":2,"146":1,"147":1,"155":1,"156":2,"181":1,"188":1,"205":4,"251":1,"253":1,"259":1,"260":1,"269":2,"270":3,"277":3,"278":12,"279":1}}],["if",{"2":{"1":2,"2":4,"3":1,"6":1,"7":1,"10":2,"11":2,"17":2,"18":1,"28":2,"30":2,"40":1,"60":5,"61":3,"62":1,"64":6,"69":3,"71":1,"72":1,"85":1,"86":1,"87":3,"88":1,"90":5,"92":2,"94":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":3,"118":1,"120":2,"122":1,"126":1,"128":1,"139":1,"146":1,"150":1,"151":7,"155":2,"156":9,"188":1,"189":1,"196":1,"236":1,"237":1,"251":1,"255":1,"259":2,"260":1,"262":1,"275":3,"278":2}}],["index",{"2":{"294":1}}],["inaccessible",{"2":{"278":1}}],["inspect",{"2":{"259":4,"263":1}}],["insert",{"2":{"255":1}}],["instances",{"2":{"267":1}}],["instance",{"0":{"94":1,"95":1},"2":{"15":2,"28":4,"61":1,"69":1,"94":5,"97":1}}],["installed",{"2":{"11":1}}],["installation",{"0":{"9":1},"2":{"6":2}}],["install",{"0":{"8":1},"1":{"9":1,"10":1,"11":1,"12":1},"2":{"6":3,"9":3,"11":2,"296":1,"299":1,"300":1}}],["instead",{"2":{"6":1,"10":1,"30":1}}],["invalid",{"2":{"236":1}}],["invalidgitrepositoryerror",{"2":{"6":1}}],["included",{"2":{"205":1,"277":1}}],["including",{"2":{"11":1,"205":2}}],["inner",{"2":{"60":2}}],["initialized",{"2":{"28":1}}],["initializing",{"2":{"15":1}}],["init",{"0":{"15":1,"19":1,"20":1,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"188":1,"194":1,"248":1},"2":{"15":2,"19":2,"20":2,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"156":2,"184":1,"188":1,"194":1,"248":1,"262":1,"288":3}}],["introducing",{"2":{"278":1}}],["introduction",{"0":{"269":1}}],["into",{"2":{"275":1}}],["inter",{"2":{"269":1}}],["interface",{"2":{"267":1}}],["interpreter",{"2":{"6":1}}],["interpreters",{"2":{"6":2}}],["int=0",{"2":{"17":1,"256":1,"257":1}}],["int",{"0":{"17":1,"194":1,"206":1,"227":1,"256":1,"257":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"17":1,"39":1,"60":2,"194":1}}],["intact",{"2":{"6":1}}],["information",{"2":{"3":1,"276":1}}],["info",{"2":{"1":1,"15":1,"16":2,"17":1,"151":1,"191":1,"270":2}}],["in",{"0":{"110":1,"261":1},"2":{"0":3,"1":1,"2":1,"3":2,"6":5,"18":1,"28":1,"30":3,"40":1,"60":2,"63":1,"64":1,"69":1,"70":1,"87":1,"90":3,"91":1,"92":1,"104":2,"108":1,"109":2,"110":1,"117":1,"119":1,"120":1,"121":1,"122":1,"126":1,"127":1,"128":1,"129":1,"133":1,"146":1,"156":2,"181":2,"185":2,"191":1,"196":1,"205":6,"236":1,"237":1,"253":1,"255":1,"257":2,"260":2,"261":1,"269":1,"275":5,"276":2,"277":4,"278":6,"279":1,"289":1}}],["iterable",{"0":{"191":1},"2":{"191":1}}],["items",{"2":{"0":1,"6":1,"70":1,"104":2,"127":1,"129":1}}],["it",{"2":{"0":1,"2":2,"3":1,"9":1,"269":2}}],["rpm",{"2":{"299":5,"300":1}}],["rpc",{"2":{"79":1}}],["role",{"0":{"225":1,"232":2},"1":{"226":1,"227":1,"228":1}}],["rf",{"2":{"205":1}}],["railt",{"2":{"205":1}}],["raise",{"2":{"28":2,"60":3,"61":2,"62":1,"64":1,"69":2,"87":1,"90":1,"92":1,"126":1,"128":1,"141":1,"236":1}}],["raw",{"0":{"188":1},"2":{"183":1,"188":3,"189":1,"257":1}}],["rule=empty",{"2":{"256":1,"257":1}}],["rule=is",{"2":{"182":1,"183":1}}],["rulehandlerfunc",{"0":{"246":1,"248":1},"2":{"248":1}}],["rule",{"0":{"194":2,"245":1,"247":1,"249":2,"250":2,"252":1,"253":1,"256":3,"257":2},"1":{"246":1,"247":1,"248":2,"249":2,"250":2,"251":2,"252":1,"253":1},"2":{"182":1,"183":1,"194":5,"196":1,"245":1,"249":3,"250":3,"251":1,"252":3,"253":2,"256":3,"257":5}}],["runnable",{"2":{"278":1}}],["running",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"63":1,"84":2,"260":2,"269":1}}],["runtimeerror",{"2":{"28":2,"61":1,"62":1,"64":1,"90":1,"92":1,"260":1}}],["run",{"0":{"10":1,"16":1,"40":1,"91":1,"133":1,"196":1,"260":1,"261":1},"2":{"0":1,"9":2,"11":1,"16":3,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"91":1,"92":1,"117":1,"133":2,"196":1,"260":3,"261":1,"292":2}}],["r>",{"2":{"155":2}}],["rights",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"254":1}}],["r",{"2":{"9":1,"11":1,"105":1,"106":1,"107":1}}],["revise",{"2":{"278":1}}],["reverse",{"2":{"3":2}}],["read",{"2":{"275":2}}],["reload",{"2":{"297":1,"298":2,"299":1,"300":1}}],["reloading",{"2":{"289":1}}],["related",{"2":{"277":1,"278":1}}],["relative",{"2":{"262":1}}],["rel",{"2":{"262":5}}],["red>",{"2":{"151":2}}],["remove",{"2":{"151":1}}],["ref",{"0":{"98":1}}],["refer",{"0":{"12":1},"2":{"6":1,"278":1}}],["reference",{"2":{"3":1,"275":1}}],["resource",{"2":{"277":1}}],["resources",{"2":{"277":1,"293":1,"294":1,"298":1}}],["resolve",{"2":{"262":2}}],["restriction",{"2":{"205":1,"278":1}}],["restarting",{"2":{"17":1}}],["restart",{"0":{"17":1,"18":1,"26":1,"27":1,"45":1,"46":1,"51":1,"52":1},"2":{"0":1,"15":1,"17":3,"18":1,"26":2,"27":2,"39":2,"45":2,"46":2,"51":3,"52":3,"289":2}}],["reserved",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["return",{"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":2,"30":4,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"62":2,"63":2,"64":7,"71":3,"72":3,"86":3,"88":3,"90":3,"94":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"120":1,"122":1,"130":1,"139":3,"146":4,"150":2,"153":2,"155":2,"156":1,"157":2,"175":1,"195":3,"196":1,"236":2,"237":2,"249":2,"250":2,"251":2,"252":1,"253":1,"256":1,"257":2,"259":4,"262":3,"263":3}}],["reply",{"0":{"189":1},"2":{"183":1,"189":3}}],["replace",{"2":{"10":1}}],["repository",{"2":{"275":7,"277":2,"278":1}}],["repo",{"2":{"9":1}}],["report设定为false",{"2":{"295":1}}],["report",{"2":{"1":2,"6":1,"295":1}}],["request",{"2":{"275":1}}],["requests",{"2":{"1":1}}],["required",{"2":{"60":1,"278":1}}],["requires",{"2":{"11":1}}],["requirements",{"0":{"11":1},"1":{"12":1},"2":{"9":1,"11":1}}],["receiving",{"2":{"270":1}}],["receive",{"0":{"54":1,"55":1,"62":1,"63":1,"64":1,"81":1,"82":1,"90":3,"91":1,"92":1,"188":1},"2":{"1":1,"55":2,"60":3,"62":2,"63":2,"64":4,"71":1,"72":2,"73":2,"74":2,"75":1,"81":1,"82":1,"84":2,"86":1,"88":1,"90":11,"91":2,"92":4,"98":1,"99":2,"100":2,"101":2,"102":1,"188":3,"189":3,"270":11}}],["recursive=recursive",{"2":{"146":1}}],["recursive",{"0":{"146":1},"2":{"146":2}}],["recv",{"2":{"60":2,"62":2,"71":5,"72":5,"74":3,"75":3,"86":5,"88":5,"99":3,"102":3,"191":2}}],["recommended",{"2":{"3":1,"9":1,"11":2,"278":1}}],["city",{"2":{"303":1,"304":1}}],["css相对路径引用b中的css",{"2":{"294":1}}],["css",{"2":{"293":1,"294":1}}],["cwd",{"2":{"262":1}}],["cyan>",{"2":{"151":1}}],["critical",{"2":{"151":1}}],["created",{"0":{"142":1},"2":{"142":1}}],["create",{"2":{"0":1,"9":2,"91":1,"275":2}}],["cute",{"2":{"265":1}}],["current|bot",{"2":{"305":1}}],["current|group",{"2":{"305":1}}],["current",{"2":{"139":3,"305":2,"306":1}}],["custom",{"2":{"2":4,"265":1}}],["customize",{"2":{"2":1}}],["cfg",{"2":{"133":4}}],["c",{"2":{"31":1,"104":1,"112":1,"132":1,"149":1,"154":1,"157":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"254":1,"260":4,"262":2,"306":1}}],["cmd",{"2":{"17":5,"281":2,"282":1}}],["claim",{"2":{"205":1}}],["classmethod",{"2":{"93":1,"94":1}}],["class",{"0":{"14":1,"38":1,"59":1,"77":1,"83":1,"93":1,"113":1,"115":1,"123":1,"135":1,"140":1,"160":1,"166":1,"174":1,"187":1,"193":1,"198":1,"201":1,"203":1,"206":1,"213":1,"219":1,"225":1,"229":1,"235":1,"247":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"141":1,"142":1,"143":1,"144":1,"145":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"188":1,"189":1,"194":1,"195":1,"196":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"248":1,"249":1,"250":1,"251":1}}],["cls",{"0":{"94":1},"2":{"94":6}}],["close",{"2":{"260":1}}],["closed",{"2":{"60":1,"61":2,"62":2,"267":1}}],["clone",{"2":{"9":2}}],["cloning",{"2":{"6":1}}],["cpu",{"2":{"11":1,"295":1}}],["cd",{"2":{"9":1}}],["chinese",{"2":{"277":1}}],["child",{"2":{"269":1}}],["chromium",{"2":{"11":1}}],["charge",{"2":{"205":1}}],["chans",{"0":{"191":1},"2":{"191":3}}],["channel时的通道标识",{"2":{"270":1}}],["channel即可",{"2":{"270":1}}],["channel及passive",{"2":{"270":1}}],["channel函数获取通道对象",{"2":{"270":2}}],["channel=none",{"2":{"189":1}}],["channeldeliver",{"0":{"113":1},"1":{"114":1},"2":{"118":1}}],["channels",{"0":{"70":2,"72":1,"75":1},"2":{"70":4,"72":2,"74":1,"75":3}}],["channel",{"0":{"53":1,"59":1,"65":1,"66":1,"67":2,"68":2,"69":3,"70":1,"71":2,"72":1,"73":1,"74":1,"89":1,"90":1,"91":1,"114":8,"188":2,"210":1,"211":1,"212":1,"268":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":2,"61":2,"62":2,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"269":1,"270":1,"271":1,"272":1,"273":1},"2":{"18":2,"60":5,"61":1,"62":1,"65":3,"66":3,"67":2,"68":1,"69":19,"70":5,"71":9,"72":10,"73":11,"74":7,"75":2,"79":2,"84":4,"86":1,"88":1,"89":4,"90":8,"91":3,"92":2,"114":12,"118":12,"188":4,"189":2,"236":3,"237":3,"269":3,"270":14}}],["chan",{"0":{"191":1},"2":{"15":4,"18":4,"71":5,"72":5,"74":3,"75":3,"84":2,"85":1,"86":6,"87":1,"88":6,"89":1,"92":1,"98":1,"99":5,"100":2,"101":2,"102":4,"118":2,"191":1,"270":2}}],["changed",{"2":{"289":1}}],["change",{"2":{"9":1,"299":1,"300":1}}],["chat",{"2":{"6":1,"7":1}}],["checking",{"2":{"276":1}}],["check",{"0":{"60":1},"2":{"1":1,"60":8,"61":1}}],["cn",{"2":{"2":1}}],["copies",{"2":{"205":2}}],["copy",{"2":{"104":1,"205":2,"275":1}}],["copyright",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":3,"245":1,"254":1}}],["color",{"2":{"157":7}}],["color=",{"2":{"151":7}}],["colors=true",{"2":{"16":2,"155":3}}],["corresponding",{"2":{"278":1}}],["correct",{"2":{"278":2}}],["correctly",{"2":{"6":1,"278":1}}],["coro",{"0":{"260":1,"261":1},"2":{"260":5,"261":2}}],["coroutine",{"0":{"259":1,"260":2,"261":2,"263":1},"2":{"40":1,"57":1,"64":2,"90":1,"246":1,"259":1,"260":2,"261":3,"263":2}}],["core",{"0":{"111":1,"112":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["count",{"0":{"98":1},"2":{"15":1,"17":2}}],["code插件liteyuki",{"2":{"285":1}}],["codemodifiedhandler",{"0":{"140":1},"1":{"141":1,"142":1,"143":1,"144":1,"145":1},"2":{"146":1}}],["code",{"2":{"11":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":4,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"275":2,"276":1,"277":1,"278":6}}],["come",{"2":{"269":1}}],["combined",{"2":{"249":2,"250":2}}],["com",{"2":{"9":1,"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["completing",{"2":{"278":1}}],["completion",{"2":{"2":2}}],["complete",{"2":{"260":2,"278":1}}],["compat",{"0":{"30":2},"2":{"30":8}}],["computer",{"2":{"6":1}}],["commit",{"2":{"278":6}}],["comment",{"2":{"278":1}}],["communicate",{"2":{"269":1}}],["communication",{"0":{"268":1},"1":{"269":1,"270":1,"271":1,"272":1,"273":1},"2":{"3":1,"269":1}}],["comm",{"0":{"53":1,"76":1,"79":1,"80":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"270":2,"273":2}}],["command>",{"2":{"282":2}}],["command",{"0":{"297":1},"1":{"298":1},"2":{"1":4}}],["conditions",{"2":{"205":1,"278":1}}],["contributions",{"2":{"279":1}}],["contract",{"2":{"205":1}}],["content",{"0":{"202":1},"2":{"277":1,"278":1}}],["continue",{"2":{"109":1,"156":3}}],["contact",{"2":{"6":1,"275":1}}],["connection",{"2":{"205":1}}],["connected",{"0":{"3":1}}],["conn",{"2":{"60":4,"61":1,"62":1}}],["confirm",{"2":{"6":1}}],["configs",{"0":{"109":1},"2":{"109":1,"110":1}}],["config=self",{"2":{"20":1}}],["configured",{"2":{"3":1}}],["configuration",{"0":{"1":1,"3":1},"2":{"0":5,"1":1,"2":2,"3":1,"6":1}}],["configurations",{"0":{"0":1,"2":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"2":1}}],["config",{"0":{"29":1,"30":1,"103":1,"104":2,"110":1,"151":1,"176":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"0":5,"2":2,"15":2,"20":1,"29":2,"30":6,"104":9,"105":6,"106":6,"107":6,"108":7,"109":4,"110":9,"133":1,"151":4,"185":2,"276":1,"297":4,"298":1}}],["conflicts",{"2":{"6":1,"9":1,"275":1}}],["console",{"2":{"1":1,"276":1}}],["cat",{"2":{"265":1}}],["category",{"0":{"211":1},"2":{"236":1,"237":1}}],["case",{"2":{"157":4,"275":1}}],["cases",{"2":{"0":1}}],["callback",{"0":{"137":1,"146":2},"2":{"64":1,"146":4,"270":1}}],["callable",{"0":{"64":3,"90":1,"146":1,"195":1,"259":2,"263":2},"2":{"32":1,"33":1,"35":1,"36":1,"40":1,"54":1,"56":1,"57":1,"64":10,"90":2,"116":1,"137":1,"138":1,"146":1,"195":1,"246":1,"259":2,"263":4}}],["call",{"0":{"259":1},"2":{"15":1,"17":2,"139":4,"251":1,"259":7,"270":1}}],["cannot",{"2":{"6":1,"61":1,"62":1,"90":1,"92":1}}],["can",{"2":{"0":2,"4":1,"6":2,"7":1,"9":1,"28":1,"64":1,"269":1,"270":1,"276":1,"278":1}}],["duration>",{"2":{"305":1}}],["duration",{"2":{"305":2,"306":1}}],["during",{"2":{"276":1}}],["duplex",{"2":{"270":1}}],["driver",{"2":{"270":4}}],["d",{"2":{"98":2,"99":4,"100":4,"101":4,"102":2,"262":2,"306":1}}],["datetime",{"0":{"234":1}}],["data=",{"2":{"189":1}}],["data",{"0":{"61":1,"73":1,"74":1,"75":1,"78":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"188":1,"200":1},"2":{"61":6,"62":2,"63":2,"64":5,"72":2,"73":7,"74":7,"75":4,"78":3,"89":4,"90":3,"91":3,"92":6,"99":4,"100":3,"101":2,"102":2,"188":5,"270":7}}],["damages",{"2":{"205":1}}],["daemon=true",{"2":{"17":1,"117":1,"261":1}}],["darwin",{"2":{"17":1}}],["day",{"2":{"1":1}}],["dog",{"2":{"288":1,"289":1}}],["double",{"2":{"278":1}}],["does",{"2":{"156":1}}],["docstring",{"2":{"278":2}}],["docs",{"2":{"277":1,"297":1,"298":1}}],["document",{"2":{"278":1}}],["documents",{"2":{"275":1}}],["documentation",{"2":{"6":1,"205":1,"267":1,"275":1,"277":3,"278":7}}],["docker",{"0":{"10":1},"2":{"277":2}}],["don",{"2":{"7":1}}],["download",{"2":{"6":1}}],["do",{"2":{"6":1,"11":1,"205":1,"278":1}}],["did",{"2":{"278":1}}],["diagnose=false",{"2":{"151":1}}],["dict",{"0":{"70":1,"72":1,"73":1,"74":1,"75":1,"78":1,"88":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"151":1,"153":1,"173":1,"188":2,"189":1,"200":1},"2":{"15":1,"68":1,"70":2,"72":3,"73":1,"74":1,"75":1,"78":1,"81":1,"82":1,"84":2,"88":3,"99":1,"100":1,"101":1,"102":1,"104":3,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":3,"124":1,"151":1,"153":2,"155":6,"188":2,"189":1}}],["disable",{"2":{"297":1,"298":1,"299":2,"300":2}}],["distribution",{"2":{"267":1}}],["distribute",{"2":{"205":1}}],["disk",{"2":{"11":1}}],["display",{"0":{"157":2},"2":{"1":1,"155":7,"157":4}}],["different",{"2":{"3":2,"6":1}}],["dir",{"0":{"156":1},"2":{"156":16,"185":2}}],["directories=",{"2":{"289":1}}],["directories",{"0":{"109":1,"146":1},"2":{"109":2,"146":3,"277":3}}],["directory",{"2":{"0":4,"1":1,"2":1,"9":1,"10":1,"109":6,"146":2,"156":1,"277":11}}],["directly",{"2":{"11":1}}],["direct",{"2":{"6":1,"269":1}}],["dirs",{"0":{"109":1},"2":{"1":1,"109":1,"110":1,"185":1}}],["details",{"2":{"278":1}}],["detailed",{"2":{"2":1,"3":1,"278":1}}],["dealings",{"2":{"205":1}}],["deal",{"2":{"205":1}}],["debounce",{"0":{"139":1},"2":{"139":1,"140":1,"141":1}}],["debugging",{"2":{"276":1}}],["debug",{"2":{"2":2,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"117":1,"127":1,"129":1,"150":2,"151":2,"191":1,"289":1}}],["deepcopy",{"2":{"104":1}}],["decorator",{"2":{"64":2,"90":2,"139":2,"146":2,"195":2,"270":1}}],["def",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"73":1,"74":1,"75":1,"90":2,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"139":2,"141":1,"146":2,"183":1,"195":1,"196":1,"236":1,"237":1,"249":1,"250":1,"251":1,"252":1,"253":1,"257":1,"263":1,"270":3,"289":1}}],["defaults",{"2":{"17":1,"18":1,"29":1,"30":1,"64":1}}],["default",{"0":{"29":1,"30":1,"86":1,"110":1,"167":1,"177":1,"178":1,"179":1,"185":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"1":1,"2":3,"3":1,"29":3,"30":3,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":2,"68":2,"81":1,"82":1,"86":5,"97":1,"98":1,"99":3,"110":1,"133":1,"137":1,"138":1,"148":1,"150":1,"185":1,"246":1}}],["del",{"2":{"87":2}}],["deleted",{"0":{"143":1},"2":{"143":1}}],["delete",{"0":{"87":1,"101":1},"2":{"87":2,"100":1,"101":3}}],["deliver",{"0":{"67":1,"68":1,"114":2},"2":{"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"114":6,"118":6}}],["delivery",{"2":{"4":1,"118":1}}],["delay",{"0":{"17":1},"2":{"17":3}}],["deprecated",{"2":{"30":1}}],["depth=1",{"2":{"9":1}}],["deploy",{"2":{"6":1}}],["depend",{"2":{"11":1}}],["dependency",{"2":{"9":1}}],["dependencies",{"2":{"9":1,"11":1}}],["depends",{"2":{"3":1,"11":1}}],["depending",{"2":{"0":1}}],["description=",{"2":{"288":1}}],["description",{"0":{"168":1},"2":{"3":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"81":1,"82":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"97":1,"98":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"117":1,"118":1,"120":1,"122":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"137":1,"138":1,"139":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"185":1,"188":1,"189":1,"194":1,"195":1,"196":1,"246":1,"259":1,"260":1,"261":1,"262":1,"263":1,"278":1,"294":1}}],["developer",{"2":{"276":1,"288":1}}],["developing",{"2":{"275":2}}],["develop",{"0":{"275":1},"1":{"276":1},"2":{"275":1,"277":2}}],["development",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1},"2":{"2":3,"275":2,"276":1,"278":1,"279":1}}],["device",{"0":{"11":1},"1":{"12":1},"2":{"11":1}}],["dev",{"0":{"131":1,"132":1,"136":1},"1":{"133":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1},"2":{"2":1,"276":1,"289":1,"292":1}}],["two",{"2":{"270":1}}],["text",{"0":{"201":1,"210":1},"1":{"202":1},"2":{"236":1,"237":1}}],["tests",{"2":{"277":1}}],["test",{"0":{"165":2},"2":{"157":1,"277":1}}],["terminating",{"2":{"129":1}}],["terminated",{"2":{"120":1}}],["terminate",{"0":{"120":1,"121":1,"128":1,"129":1},"2":{"17":1,"21":1,"120":2,"121":2,"128":2,"129":2}}],["tar",{"2":{"205":1}}],["target",{"0":{"118":3,"237":1},"2":{"118":5,"237":1}}],["target=run",{"2":{"261":1}}],["target=self",{"2":{"117":1}}],["target=os",{"2":{"17":1}}],["targets",{"2":{"116":1,"117":1,"118":1,"119":1,"121":1,"122":1}}],["task",{"2":{"91":1,"117":1}}],["tasks",{"2":{"40":2}}],["type=plugintype",{"2":{"288":1}}],["type=self",{"2":{"189":2}}],["types",{"0":{"176":1}}],["typeerror",{"2":{"60":1,"61":1,"69":1}}],["typealias",{"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"137":1,"138":1,"246":1}}],["type",{"0":{"60":1,"157":1,"170":1,"188":2,"199":1,"221":1},"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":11,"61":7,"65":1,"66":1,"67":1,"68":1,"69":1,"81":1,"82":1,"97":1,"137":1,"138":1,"155":2,"157":4,"188":6,"189":2,"246":1,"278":5}}],["tuple=",{"2":{"118":1}}],["tuplestr",{"2":{"30":1}}],["tuple",{"0":{"30":1,"73":1,"74":1,"75":1,"99":1,"100":1,"101":1,"102":1,"114":2,"118":1,"146":1},"2":{"30":1,"68":1,"73":1,"74":1,"75":1,"84":3,"99":1,"100":1,"101":1,"102":1,"114":2,"116":2,"146":1}}],["time>",{"2":{"282":1}}],["timeout",{"2":{"120":1}}],["time",{"2":{"17":1,"31":1,"112":1,"132":1,"139":9,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["tip",{"2":{"9":1,"10":1,"285":1,"294":1,"296":1}}],["transfer",{"2":{"269":1}}],["traceback",{"2":{"155":1,"196":1}}],["trace",{"2":{"151":1}}],["trss",{"2":{"267":1}}],["trim",{"2":{"265":2}}],["try",{"2":{"16":1,"87":1,"155":1,"196":1,"260":1}}],["true",{"0":{"87":1,"146":1,"156":1,"176":1},"2":{"1":3,"2":4,"6":1,"62":1,"92":1,"151":1,"251":1,"252":1,"270":2,"276":1}}],["txt",{"2":{"9":1,"11":1}}],["t",{"0":{"59":1,"61":1,"62":1,"63":1,"64":2},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"7":1,"28":1,"54":1,"56":1,"57":1,"61":2,"62":2,"63":2,"64":7}}],["through",{"2":{"269":2}}],["thread",{"0":{"191":1,"261":1},"2":{"17":1,"117":1,"191":1,"261":2}}],["threading",{"0":{"96":1},"2":{"15":1,"17":1,"117":1,"261":1}}],["this",{"2":{"147":1,"181":1,"205":2,"275":1,"277":2,"279":1}}],["that",{"2":{"6":1,"269":1,"270":1,"275":2,"278":7}}],["their",{"2":{"267":1}}],["then",{"2":{"9":1}}],["therefore",{"2":{"269":1}}],["there",{"2":{"1":1,"6":1,"11":1,"278":2}}],["these",{"2":{"0":1,"277":1}}],["the",{"2":{"0":6,"1":1,"2":4,"3":6,"4":2,"6":10,"9":1,"10":2,"11":4,"147":1,"155":1,"181":1,"205":14,"265":1,"269":1,"270":2,"275":10,"276":1,"277":6,"278":24}}],["tokyo",{"2":{"303":1}}],["token",{"2":{"2":2}}],["together",{"2":{"278":1}}],["tort",{"2":{"205":1}}],["tools",{"2":{"276":1}}],["too",{"2":{"6":1}}],["to",{"0":{"3":1,"12":1,"262":1,"275":1},"1":{"276":1},"2":{"0":1,"1":6,"2":3,"3":2,"4":1,"6":14,"9":6,"10":1,"11":5,"17":1,"18":1,"29":1,"30":1,"61":1,"64":1,"155":5,"156":2,"181":1,"205":8,"262":2,"266":2,"269":3,"270":2,"275":5,"276":1,"278":7,"279":1}}],["toml",{"0":{"107":1},"2":{"0":2,"107":4,"108":2,"110":1}}],["world",{"2":{"281":5}}],["weather",{"0":{"303":1},"1":{"304":1},"2":{"303":1,"304":1}}],["welcome",{"2":{"279":1}}],["we",{"2":{"278":1,"279":1}}],["websocket",{"2":{"3":2}}],["wrapper",{"0":{"263":1},"2":{"40":1,"64":2,"90":4,"118":1,"139":2,"146":2,"263":4}}],["watchdog",{"2":{"289":1,"292":1}}],["watch",{"2":{"288":1,"289":1}}],["wait",{"0":{"139":1},"2":{"139":2}}],["warranties",{"2":{"205":1}}],["warranty",{"2":{"205":1}}],["waring=no",{"2":{"110":1}}],["waring",{"0":{"109":1,"110":1},"2":{"109":3,"110":4}}],["warning=no",{"2":{"109":1,"110":1}}],["warning",{"0":{"108":1,"156":1},"2":{"11":2,"30":1,"108":5,"109":1,"120":1,"122":1,"151":1,"155":1,"156":8,"285":1,"300":1}}],["want",{"2":{"1":1}}],["without",{"2":{"11":1,"205":3}}],["with",{"0":{"10":1,"30":1},"2":{"10":1,"30":1,"85":1,"86":1,"87":1,"94":1,"205":1,"269":1,"270":1,"275":2}}],["windows10+",{"2":{"11":1}}],["windows",{"2":{"9":1,"10":1,"11":2,"17":1}}],["will",{"2":{"0":3,"2":3,"11":2,"30":1,"279":1}}],["what",{"2":{"278":1}}],["whom",{"2":{"205":1}}],["while",{"2":{"62":1,"92":1,"270":2}}],["which",{"2":{"6":2}}],["where",{"2":{"278":1}}],["whether",{"2":{"1":3,"2":1,"205":1}}],["when",{"2":{"0":2,"278":2}}],["ws",{"2":{"3":2}}],["p",{"2":{"306":1}}],["poke",{"2":{"283":4}}],["possible",{"2":{"278":3}}],["portions",{"2":{"205":1}}],["port",{"2":{"1":2,"10":2}}],["pep8",{"2":{"278":1}}],["period\`",{"2":{"306":1}}],["period>",{"2":{"305":1}}],["period",{"2":{"305":2}}],["permit",{"2":{"205":1,"278":1}}],["permission",{"2":{"205":2}}],["persons",{"2":{"205":1}}],["person",{"2":{"205":1}}],["personal",{"2":{"0":1,"275":1}}],["persists",{"2":{"6":1}}],["purpose",{"2":{"205":1}}],["publish=publish",{"2":{"118":1}}],["publish",{"0":{"89":1,"114":1},"2":{"84":2,"89":2,"92":2,"114":3,"205":1}}],["pull",{"2":{"10":1,"275":1}}],["pwd",{"2":{"10":1}}],["pipe",{"2":{"60":2}}],["pip",{"2":{"9":1,"11":1,"155":1}}],["py即可启动插件",{"2":{"292":1}}],["pyo",{"2":{"289":1}}],["pycache",{"2":{"289":1}}],["pyc",{"2":{"289":1}}],["pycharm",{"2":{"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["py文件",{"2":{"288":1}}],["py文件或一个包含",{"2":{"288":1}}],["py的文件夹即可被识别为插件",{"2":{"288":1}}],["py",{"2":{"6":1,"9":1,"31":1,"112":1,"132":1,"149":1,"154":1,"156":3,"158":1,"159":1,"182":1,"184":2,"186":1,"192":1,"245":1,"254":1,"273":1,"277":1,"288":1,"289":1,"292":2,"294":1}}],["python格式",{"2":{"281":1}}],["pythonfrom",{"2":{"270":1,"273":1,"288":1,"292":1}}],["pythonimport",{"2":{"270":1,"289":1}}],["pythonasync",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"92":1,"196":1,"251":1}}],["pythondef",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"62":1,"64":1,"69":1,"70":1,"71":1,"72":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"139":1,"142":1,"143":1,"144":1,"145":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"248":1,"249":1,"250":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["python3",{"2":{"9":1,"11":1}}],["python",{"2":{"6":5,"9":3,"11":3,"40":1,"73":1,"74":1,"75":1,"91":1,"94":1,"99":1,"100":1,"101":1,"102":1,"141":1,"183":1,"236":1,"237":1,"252":1,"253":1,"275":1,"278":1}}],["page为页数",{"2":{"299":2}}],["page",{"2":{"299":2}}],["pacman",{"0":{"299":1},"1":{"300":1}}],["pack",{"2":{"294":2,"299":3}}],["packs",{"2":{"277":1}}],["param",{"2":{"296":1}}],["parse",{"2":{"278":1}}],["parsing",{"2":{"1":1}}],["part",{"2":{"277":1,"278":1}}],["participate",{"2":{"279":1}}],["participation",{"2":{"275":1}}],["particular",{"2":{"205":1}}],["parts",{"2":{"262":2}}],["parent",{"0":{"224":1}}],["passive=channel",{"2":{"118":1}}],["passive=chan",{"2":{"118":1}}],["passive",{"0":{"66":1,"68":1,"114":2},"2":{"66":1,"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"84":2,"85":1,"86":1,"87":1,"88":1,"98":1,"99":2,"100":2,"101":2,"102":1,"114":6,"118":5,"270":15}}],["pathlib",{"2":{"155":1}}],["path",{"0":{"133":2,"155":2,"262":3},"2":{"6":2,"10":1,"11":3,"108":1,"109":2,"133":4,"155":16,"156":26,"262":11,"289":5}}],["platform",{"2":{"17":3}}],["platforms",{"2":{"6":3}}],["playwright",{"2":{"6":2}}],["plugintype",{"0":{"157":1,"160":1,"170":2},"1":{"161":1,"162":1,"163":1,"164":1,"165":1},"2":{"157":5,"288":1}}],["pluginmetadata",{"0":{"166":1,"180":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1},"2":{"155":4,"288":2}}],["plugin的函数签名",{"2":{"133":1}}],["plugin",{"0":{"132":1,"152":1,"153":1,"154":1,"155":2,"156":2,"157":1,"158":1,"159":1,"174":1,"184":1},"1":{"133":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":2,"177":2,"178":2,"179":2,"180":2,"185":1},"2":{"1":3,"4":1,"6":4,"15":2,"132":1,"153":2,"155":14,"156":5,"157":4,"181":1,"185":6,"190":1,"205":1,"266":4,"269":1,"275":2,"277":3,"288":4,"291":1,"292":2,"299":5}}],["plugins下创建一个文件",{"2":{"292":1}}],["plugins中添加你的插件路径",{"2":{"291":1}}],["plugins",{"0":{"133":1,"153":1,"156":1,"181":1,"182":1,"184":1,"185":1,"266":1},"1":{"183":1,"185":1},"2":{"1":1,"2":2,"6":3,"11":3,"15":1,"133":6,"153":2,"155":3,"156":9,"181":1,"185":4,"277":5,"289":1,"292":2}}],["please",{"0":{"12":1},"2":{"1":2,"2":1,"3":2,"6":3,"10":2,"11":1,"275":3,"277":2,"278":2}}],["practices",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["private",{"0":{"207":1},"2":{"236":1,"237":1}}],["priority",{"0":{"194":1,"256":1,"257":1},"2":{"194":4,"255":2,"256":2,"257":2}}],["print",{"2":{"15":1,"155":1,"196":1}}],["profile",{"2":{"301":4}}],["profit",{"2":{"279":1}}],["property",{"2":{"235":1,"236":2,"237":1}}],["processfunctype",{"0":{"125":1},"2":{"125":1}}],["processmanager",{"0":{"115":1},"1":{"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"15":2}}],["process",{"0":{"18":1,"25":2,"26":3,"35":1,"36":1,"37":1,"40":1,"43":3,"45":3,"49":1,"51":1,"122":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":4,"21":1,"25":5,"26":6,"28":2,"37":2,"39":4,"40":2,"43":6,"45":6,"49":2,"51":2,"60":1,"64":3,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":3,"92":2,"116":1,"117":2,"119":2,"120":7,"122":2,"126":1,"127":3,"128":1,"129":3,"130":1,"269":2,"270":8,"289":2}}],["processes",{"2":{"11":1,"18":1,"116":1,"120":2,"122":1,"124":1,"125":1,"126":2,"127":1,"128":2,"129":1,"130":1,"269":4}}],["problematic",{"2":{"6":1}}],["problem",{"2":{"6":1}}],["problems",{"2":{"1":1}}],["provides",{"2":{"269":1}}],["provide",{"2":{"6":1}}],["provided",{"2":{"3":1,"205":1}}],["protocol",{"2":{"3":1}}],["production",{"2":{"3":1}}],["project",{"0":{"277":1},"2":{"0":1,"10":1,"277":1,"279":2}}],["prefix",{"2":{"1":1}}],["preference",{"2":{"0":1}}],["y",{"2":{"157":1}}],["yellow>",{"2":{"151":1}}],["y>",{"2":{"16":2}}],["y>liteyuki",{"2":{"16":2}}],["yml格式的所有合法内容",{"2":{"297":1}}],["yml文件",{"2":{"294":1}}],["yml中填写一些信息",{"2":{"294":1}}],["yml",{"2":{"0":2,"108":1,"110":1,"276":1,"294":2,"297":1}}],["you",{"2":{"0":4,"1":1,"2":1,"3":1,"4":1,"6":2,"7":2,"9":1,"10":2,"11":2,"269":1,"275":5,"276":1,"278":2}}],["your",{"2":{"0":1,"10":1,"11":1,"155":2,"275":6,"279":1}}],["yamlweather",{"2":{"303":1}}],["yamlname",{"2":{"294":1}}],["yaml",{"0":{"105":1},"2":{"0":2,"1":1,"2":2,"105":4,"108":2,"110":1}}],["a包中的index",{"2":{"294":1}}],["api格式为onebot",{"2":{"297":1}}],["api文档",{"2":{"284":1}}],["api也有差别",{"2":{"284":1}}],["api",{"0":{"284":1},"2":{"267":2,"275":1,"282":3,"283":2,"297":3}}],["applications",{"0":{"265":1}}],["application",{"0":{"161":2},"2":{"157":1,"277":4}}],["append",{"2":{"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"64":2,"90":2,"195":1,"255":1}}],["app",{"2":{"10":1}}],["await",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"90":1,"92":2,"196":2,"249":2,"250":2,"251":1,"270":1,"282":1,"283":1,"285":1}}],["awaitable",{"2":{"33":1,"36":1}}],["arising",{"2":{"205":1}}],["arbitrary",{"0":{"176":1}}],["argv",{"2":{"17":1}}],["args=coro",{"2":{"261":1}}],["args=",{"2":{"17":1,"117":1}}],["args",{"0":{"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"17":2,"19":2,"40":3,"49":2,"51":2,"118":3,"125":3,"139":2,"263":2,"297":4}}],["arguments",{"2":{"15":1,"17":1,"18":1,"19":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"29":1,"30":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"64":1,"69":1,"70":1,"71":1,"85":1,"86":1,"87":1,"89":1,"90":1,"91":1,"104":1,"110":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"133":1,"146":1,"150":1,"151":1,"155":1,"156":1,"157":1,"189":1,"191":1,"194":1,"196":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["are",{"2":{"1":1,"6":2,"10":1,"11":1,"269":1,"275":4,"277":1,"278":2}}],["above",{"2":{"205":1}}],["able",{"2":{"11":1}}],["absolute",{"2":{"10":1}}],["ability",{"2":{"6":1}}],["action",{"2":{"205":1}}],["active和",{"2":{"270":1}}],["active和chan",{"2":{"118":1}}],["active=channel",{"2":{"118":1}}],["active=chan",{"2":{"118":1}}],["active",{"0":{"65":1,"67":1,"114":2},"2":{"18":6,"65":1,"84":2,"89":1,"92":1,"114":6,"118":4,"270":13}}],["activate",{"2":{"9":7}}],["account",{"2":{"7":1,"275":1}}],["accesstoken",{"2":{"3":2}}],["access",{"2":{"2":2}}],["authors",{"2":{"205":1}}],["author",{"0":{"171":1},"2":{"6":1,"31":1,"112":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"254":1}}],["auto",{"2":{"1":2,"2":2}}],["automatically",{"2":{"0":1,"1":2}}],["after",{"0":{"23":1,"24":1,"27":1,"42":1,"44":1,"46":1,"48":1,"50":1,"52":1},"2":{"6":1,"23":2,"24":2,"27":2,"39":3,"42":2,"44":2,"46":2,"48":3,"50":3,"52":3,"270":1,"278":1}}],["avatar",{"0":{"217":1,"223":1}}],["available",{"2":{"1":1}}],["avoid",{"2":{"6":1,"9":1}}],["a",{"2":{"3":1,"7":1,"9":2,"61":1,"62":1,"104":1,"156":1,"205":2,"262":1,"265":1,"269":1,"270":1,"275":4,"278":4,"279":1,"288":1}}],["an",{"2":{"7":1,"61":1,"69":1,"205":1}}],["anyone",{"2":{"279":1}}],["anybot",{"2":{"191":2}}],["any=none",{"2":{"29":1,"30":1}}],["any",{"0":{"29":2,"30":2,"64":2,"73":1,"74":1,"75":1,"78":1,"85":1,"86":2,"88":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"145":1,"173":1,"188":2,"189":1,"191":1,"200":1,"259":1,"263":1},"2":{"2":1,"4":1,"15":3,"29":3,"30":3,"32":1,"33":1,"35":1,"36":1,"54":1,"57":2,"64":7,"67":1,"68":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":3,"85":1,"86":4,"88":3,"89":1,"90":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"145":1,"188":2,"189":1,"191":1,"205":3,"257":1,"259":1,"263":1}}],["and",{"2":{"0":6,"4":1,"6":3,"9":2,"11":2,"61":1,"146":1,"156":3,"205":5,"250":2,"265":1,"267":1,"269":3,"270":2,"275":4,"276":2,"277":2,"278":9,"279":1,"289":2}}],["adapter",{"0":{"239":1},"2":{"3":1,"4":2,"6":1}}],["advanced",{"2":{"2":1}}],["addition",{"2":{"278":1}}],["add",{"0":{"118":1,"125":1,"255":1},"2":{"2":1,"118":1,"125":1,"151":1,"156":1,"255":1,"256":1,"278":1}}],["address",{"2":{"1":1,"3":2}}],["amp",{"0":{"250":1},"2":{"10":2}}],["am",{"2":{"1":1,"270":6}}],["attr",{"0":{"95":1,"96":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["at",{"0":{"234":1},"2":{"1":1,"11":2}}],["alive",{"0":{"122":1},"2":{"120":1,"122":2}}],["already",{"2":{"60":2,"69":1,"275":1}}],["alconna的消息段定义",{"2":{"190":1}}],["alconna",{"2":{"1":2,"2":2}}],["allowing",{"2":{"266":2}}],["allowed",{"0":{"176":1}}],["allow",{"2":{"2":2}}],["all",{"0":{"88":1,"102":1,"117":1,"119":1,"121":1,"127":1,"129":1},"2":{"0":1,"2":1,"16":1,"17":1,"21":1,"31":1,"88":2,"101":1,"102":3,"112":1,"117":1,"119":1,"121":1,"127":1,"129":1,"132":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"254":1,"267":1}}],["assumes",{"2":{"275":1}}],["associated",{"2":{"205":1}}],["asynchronous",{"2":{"263":1}}],["async",{"0":{"33":1,"36":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"57":1,"63":2,"91":1,"92":1,"183":1,"196":1,"251":1,"252":1,"253":1,"263":1},"2":{"34":1,"37":1,"40":3,"55":1,"58":1,"63":1,"64":1,"81":1,"82":1,"90":1,"91":1,"92":1,"183":1,"249":1,"250":1,"252":1,"253":1,"257":1,"263":2,"270":2}}],["asyncio",{"2":{"15":2,"16":1,"40":1,"63":1,"91":1,"260":5,"270":2}}],["asked",{"0":{"6":1}}],["as",{"2":{"0":1,"3":1,"87":1,"155":1,"205":1,"260":1,"276":1,"278":6}}]],"serializationVersion":2}`;export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.DtL6jhiS.js b/assets/chunks/@localSearchIndexroot.DrZL5TX6.js similarity index 91% rename from assets/chunks/@localSearchIndexroot.DtL6jhiS.js rename to assets/chunks/@localSearchIndexroot.DrZL5TX6.js index 023ea230..bc08c707 100644 --- a/assets/chunks/@localSearchIndexroot.DtL6jhiS.js +++ b/assets/chunks/@localSearchIndexroot.DrZL5TX6.js @@ -1 +1 @@ -const e=`{"documentCount":307,"nextId":307,"documentIds":{"0":"/deploy/config.html#配置","1":"/deploy/config.html#基础配置项","2":"/deploy/config.html#其他配置","3":"/deploy/config.html#示例-与nonebot对接的onebot实现端配置","4":"/deploy/config.html#其他","5":"/deploy/fandq.html#答疑","6":"/deploy/fandq.html#常见问题","7":"/deploy/fandq.html#其他问题","8":"/deploy/install.html#安装","9":"/deploy/install.html#常规部署","10":"/deploy/install.html#使用docker构建","11":"/deploy/install.html#装置要求","12":"/deploy/install.html#其他问题请移步至答疑","13":"/dev/api/bot/#模块-liteyuki-bot","14":"/dev/api/bot/#class-liteyukibot","15":"/dev/api/bot/#func-init-self-kwargs-none","16":"/dev/api/bot/#func-run-self","17":"/dev/api/bot/#func-restart-self-delay-int-0","18":"/dev/api/bot/#func-restart-process-self-name-optional-str-none","19":"/dev/api/bot/#func-init-self-args-kwargs","20":"/dev/api/bot/#func-init-logger-self","21":"/dev/api/bot/#func-stop-self","22":"/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","23":"/dev/api/bot/#func-on-after-start-self-func-lifespan-func","24":"/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","25":"/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","26":"/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","27":"/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","28":"/dev/api/bot/#func-get-bot-liteyukibot","29":"/dev/api/bot/#func-get-config-key-str-default-any-none-any","30":"/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","31":"/dev/api/bot/lifespan.html#模块-liteyuki-bot-lifespan","32":"/dev/api/bot/lifespan.html#var-sync-lifespan-func","33":"/dev/api/bot/lifespan.html#var-async-lifespan-func","34":"/dev/api/bot/lifespan.html#var-lifespan-func","35":"/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","36":"/dev/api/bot/lifespan.html#var-async-process-lifespan-func","37":"/dev/api/bot/lifespan.html#var-process-lifespan-func","38":"/dev/api/bot/lifespan.html#class-lifespan","39":"/dev/api/bot/lifespan.html#func-init-self-none","40":"/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","41":"/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","42":"/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","43":"/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","44":"/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","45":"/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","46":"/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","47":"/dev/api/bot/lifespan.html#async-func-before-start-self-none","48":"/dev/api/bot/lifespan.html#async-func-after-start-self-none","49":"/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","50":"/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","51":"/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","52":"/dev/api/bot/lifespan.html#async-func-after-restart-self-none","53":"/dev/api/comm/channel.html#模块-liteyuki-comm-channel","54":"/dev/api/comm/channel.html#var-sync-on-receive-func","55":"/dev/api/comm/channel.html#var-on-receive-func","56":"/dev/api/comm/channel.html#var-sync-filter-func","57":"/dev/api/comm/channel.html#var-async-filter-func","58":"/dev/api/comm/channel.html#var-filter-func","59":"/dev/api/comm/channel.html#class-channel-generic-t","60":"/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","61":"/dev/api/comm/channel.html#func-send-self-data-t","62":"/dev/api/comm/channel.html#func-receive-self-t","63":"/dev/api/comm/channel.html#async-func-async-receive-self-t","64":"/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","65":"/dev/api/comm/channel.html#var-active-channel","66":"/dev/api/comm/channel.html#var-passive-channel","67":"/dev/api/comm/channel.html#var-channel-deliver-active-channel","68":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel","69":"/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","70":"/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","71":"/dev/api/comm/channel.html#func-get-channel-name-str-channel","72":"/dev/api/comm/channel.html#func-get-channels-dict-str-channel","73":"/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","74":"/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","75":"/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","76":"/dev/api/comm/event.html#模块-liteyuki-comm-event","77":"/dev/api/comm/event.html#class-event","78":"/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","79":"/dev/api/comm/#模块-liteyuki-comm","80":"/dev/api/comm/storage.html#模块-liteyuki-comm-storage","81":"/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","82":"/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","83":"/dev/api/comm/storage.html#class-keyvaluestore","84":"/dev/api/comm/storage.html#func-init-self","85":"/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","86":"/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","87":"/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","88":"/dev/api/comm/storage.html#func-get-all-self-dict-str-any","89":"/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","90":"/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","91":"/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","92":"/dev/api/comm/storage.html#async-func-start-receive-loop-self","93":"/dev/api/comm/storage.html#class-globalkeyvaluestore","94":"/dev/api/comm/storage.html#func-get-instance-cls","95":"/dev/api/comm/storage.html#attr-instance-none","96":"/dev/api/comm/storage.html#attr-lock-threading-lock","97":"/dev/api/comm/storage.html#var-shared-memory","98":"/dev/api/comm/storage.html#var-ref-count","99":"/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","100":"/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","101":"/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","102":"/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","103":"/dev/api/config.html#模块-liteyuki-config","104":"/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","105":"/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","106":"/dev/api/config.html#func-load-from-json-file-str-dict-str-any","107":"/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","108":"/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","109":"/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","110":"/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","111":"/dev/api/core/#模块-liteyuki-core","112":"/dev/api/core/manager.html#模块-liteyuki-core-manager","113":"/dev/api/core/manager.html#class-channeldeliver","114":"/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","115":"/dev/api/core/manager.html#class-processmanager","116":"/dev/api/core/manager.html#func-init-self-lifespan-lifespan","117":"/dev/api/core/manager.html#func-start-all-self","118":"/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","119":"/dev/api/core/manager.html#func-join-all-self","120":"/dev/api/core/manager.html#func-terminate-self-name-str","121":"/dev/api/core/manager.html#func-terminate-all-self","122":"/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","123":"/dev/api/core/manager.html#class-subprocessmanager","124":"/dev/api/core/manager.html#func-init-self","125":"/dev/api/core/manager.html#func-add-self-name-str-func-processfunctype-args-kwargs","126":"/dev/api/core/manager.html#func-start-self-name-str","127":"/dev/api/core/manager.html#func-start-all-self-1","128":"/dev/api/core/manager.html#func-terminate-self-name-str-1","129":"/dev/api/core/manager.html#func-terminate-all-self-1","130":"/dev/api/core/manager.html#func-get-process-self-name-str-subprocess-none","131":"/dev/api/dev/#模块-liteyuki-dev","132":"/dev/api/dev/observer.html#模块-liteyuki-dev-observer","133":"/dev/api/dev/observer.html#var-callback-func","134":"/dev/api/dev/observer.html#var-filter-func","135":"/dev/api/dev/observer.html#func-debounce-wait","136":"/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","137":"/dev/api/dev/observer.html#func-on-modified-self-event","138":"/dev/api/dev/observer.html#func-on-created-self-event","139":"/dev/api/dev/observer.html#func-on-deleted-self-event","140":"/dev/api/dev/observer.html#func-on-moved-self-event","141":"/dev/api/dev/observer.html#func-on-any-event-self-event","142":"/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","143":"/dev/api/exception.html#模块-liteyuki-exception","144":"/dev/api/exception.html#class-liteyukiexception-baseexception","145":"/dev/api/dev/plugin.html#模块-liteyuki-dev-plugin","146":"/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","147":"/dev/api/#模块-liteyuki","148":"/dev/api/#var-version","149":"/dev/api/log.html#模块-liteyuki-log","150":"/dev/api/log.html#func-get-format-level-str-str","151":"/dev/api/log.html#func-init-log-config-dict","152":"/dev/api/plugin/#模块-liteyuki-plugin","153":"/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","154":"/dev/api/plugin/load.html#模块-liteyuki-plugin-load","155":"/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","156":"/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","157":"/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","158":"/dev/api/plugin/manager.html#模块-liteyuki-plugin-manager","159":"/dev/api/plugin/model.html#模块-liteyuki-plugin-model","160":"/dev/api/plugin/model.html#class-plugintype-enum","161":"/dev/api/plugin/model.html#attr-application-application","162":"/dev/api/plugin/model.html#attr-service-service","163":"/dev/api/plugin/model.html#attr-module-module","164":"/dev/api/plugin/model.html#attr-unclassified-unclassified","165":"/dev/api/plugin/model.html#attr-test-test","166":"/dev/api/plugin/model.html#class-pluginmetadata-basemodel","167":"/dev/api/plugin/model.html#attr-name-str-no-default","168":"/dev/api/plugin/model.html#attr-description-str","169":"/dev/api/plugin/model.html#attr-usage-str","170":"/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","171":"/dev/api/plugin/model.html#attr-author-str","172":"/dev/api/plugin/model.html#attr-homepage-str","173":"/dev/api/plugin/model.html#attr-extra-dict-str-any","174":"/dev/api/plugin/model.html#class-plugin-basemodel","175":"/dev/api/plugin/model.html#func-hash-self","176":"/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","177":"/dev/api/plugin/model.html#attr-name-str-no-default-1","178":"/dev/api/plugin/model.html#attr-module-moduletype-no-default","179":"/dev/api/plugin/model.html#attr-module-name-str-no-default","180":"/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","181":"/dev/api/plugins/#模块-liteyuki-plugins","182":"/dev/api/plugins/liteecho.html#模块-liteyuki-plugins-liteecho","183":"/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","184":"/dev/api/plugins/plugin_loader/#模块-liteyuki-plugins-plugin-loader","185":"/dev/api/plugins/plugin_loader/#func-default-plugins-loader","186":"/dev/api/session/event.html#模块-liteyuki-session-event","187":"/dev/api/session/event.html#class-messageevent","188":"/dev/api/session/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","189":"/dev/api/session/event.html#func-reply-self-message-str-dict-str-any","190":"/dev/api/session/#模块-liteyuki-session","191":"/dev/api/session/#func-message-handler-thread-i-chans-iterable-chan-any","192":"/dev/api/session/matcher.html#模块-liteyuki-session-matcher","193":"/dev/api/session/matcher.html#class-matcher","194":"/dev/api/session/matcher.html#func-init-self-rule-rule-priority-int-block-bool","195":"/dev/api/session/matcher.html#func-handle-self-callable-eventhandler-eventhandler","196":"/dev/api/session/matcher.html#async-func-run-self-event-messageevent-none","197":"/dev/api/session/message/segments.html#模块-liteyuki-session-message-segments","198":"/dev/api/session/message/segments.html#class-baseseg-basemodel","199":"/dev/api/session/message/segments.html#attr-type-str-segment","200":"/dev/api/session/message/segments.html#attr-data-dict-str-any-no-default","201":"/dev/api/session/message/segments.html#class-text-baseseg","202":"/dev/api/session/message/segments.html#attr-content-str-no-default","203":"/dev/api/session/message/segments.html#class-image-baseseg","204":"/dev/api/session/message/segments.html#attr-url-str-no-default","205":"/dev/api/session/models.html#模块-liteyuki-session-models","206":"/dev/api/session/models.html#class-scenetype-int-enum","207":"/dev/api/session/models.html#attr-private-0","208":"/dev/api/session/models.html#attr-group-1","209":"/dev/api/session/models.html#attr-guild-2","210":"/dev/api/session/models.html#attr-channel-text-3","211":"/dev/api/session/models.html#attr-channel-category-4","212":"/dev/api/session/models.html#attr-channel-voice-5","213":"/dev/api/session/models.html#class-user-basemodel","214":"/dev/api/session/models.html#attr-id-str-no-default","215":"/dev/api/session/models.html#attr-name-str-none-none","216":"/dev/api/session/models.html#attr-nick-str-none-none","217":"/dev/api/session/models.html#attr-avatar-str-none-none","218":"/dev/api/session/models.html#attr-gender-str-none-none","219":"/dev/api/session/models.html#class-scene-basemodel","220":"/dev/api/session/models.html#attr-id-str-no-default-1","221":"/dev/api/session/models.html#attr-type-scenetype-no-default","222":"/dev/api/session/models.html#attr-name-str-none-none-1","223":"/dev/api/session/models.html#attr-avatar-str-none-none-1","224":"/dev/api/session/models.html#attr-parent-scene-none-none","225":"/dev/api/session/models.html#class-role-basemodel","226":"/dev/api/session/models.html#attr-id-str-no-default-2","227":"/dev/api/session/models.html#attr-level-int-none-none","228":"/dev/api/session/models.html#attr-name-str-none-none-2","229":"/dev/api/session/models.html#class-member-basemodel","230":"/dev/api/session/models.html#attr-user-user-no-default","231":"/dev/api/session/models.html#attr-nickname-str-none-none","232":"/dev/api/session/models.html#attr-role-role-none-none","233":"/dev/api/session/models.html#attr-mute-bool-none-none","234":"/dev/api/session/models.html#attr-joined-at-datetime-none-none","235":"/dev/api/session/models.html#class-session-basemodel","236":"/dev/api/session/models.html#func-session-id-self","237":"/dev/api/session/models.html#func-target-id-self","238":"/dev/api/session/models.html#attr-self-id-str-no-default","239":"/dev/api/session/models.html#attr-adapter-str-no-default","240":"/dev/api/session/models.html#attr-scope-str-no-default","241":"/dev/api/session/models.html#attr-scene-scene-no-default","242":"/dev/api/session/models.html#attr-user-user-no-default-1","243":"/dev/api/session/models.html#attr-member-member-none-none","244":"/dev/api/session/models.html#attr-operator-member-none-none","245":"/dev/api/session/on.html#模块-liteyuki-session-on","246":"/dev/api/session/on.html#func-add-matcher-matcher-matcher","247":"/dev/api/session/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","248":"/dev/api/session/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","249":"/dev/api/session/rule.html#模块-liteyuki-session-rule","250":"/dev/api/session/rule.html#var-rulehandlerfunc","251":"/dev/api/session/rule.html#class-rule","252":"/dev/api/session/rule.html#func-init-self-handler-rulehandlerfunc","253":"/dev/api/session/rule.html#func-self-other-rule-rule","254":"/dev/api/session/rule.html#func-self-other-rule-rule-1","255":"/dev/api/session/rule.html#async-func-self-event-messageevent-bool","256":"/dev/api/session/rule.html#async-func-empty-rule-event-messageevent-bool","257":"/dev/api/session/rule.html#async-func-is-su-rule-event-messageevent-bool","258":"/dev/api/utils.html#模块-liteyuki-utils","259":"/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","260":"/dev/api/utils.html#func-run-coroutine-coro-coroutine","261":"/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","262":"/dev/api/utils.html#func-path-to-module-name-path-path-str","263":"/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","264":"/dev/best_practices.html#最佳实践","265":"/dev/best_practices.html#机器人应用","266":"/dev/best_practices.html#插件","267":"/dev/best_practices.html#其他","268":"/dev/comm.html#通道通信","269":"/dev/comm.html#简介","270":"/dev/comm.html#示例","271":"/dev/comm.html#共享内存通信","272":"/dev/comm.html#简介-1","273":"/dev/comm.html#示例-1","274":"/dev/guide.html#开发指南","275":"/dev/guide.html#如何开发","276":"/dev/guide.html#建议","277":"/dev/guide.html#项目结构","278":"/dev/guide.html#规范化","279":"/dev/guide.html#最后","280":"/dev/lyfunc.html#轻雪函数","281":"/dev/lyfunc.html#函数文件","282":"/dev/lyfunc.html#命令文档","283":"/dev/lyfunc.html#示例","284":"/dev/lyfunc.html#api","285":"/dev/lyfunc.html#结束关键字","286":"/dev/plugin.html#简介","287":"/dev/plugin.html#开始","288":"/dev/plugin.html#创建插件","289":"/dev/plugin.html#编写逻辑部分","290":"/dev/plugin.html#加载插件","291":"/dev/plugin.html#方法1","292":"/dev/plugin.html#方法2","293":"/dev/resource.html#简介","294":"/dev/resource.html#加载资源包","295":"/usage/agreement.html#用户协议","296":"/usage/basic.html#基础插件","297":"/usage/basic.html#轻雪命令liteyuki-command","298":"/usage/basic.html#命令别名","299":"/usage/basic.html#插件-包管理器-liteyuki-pacman","300":"/usage/basic.html#命令别名-1","301":"/usage/basic.html#用户管理liteyuki-user","302":"/usage/extra.html#功能插件命令","303":"/usage/extra.html#轻雪天气liteyuki-weather","304":"/usage/extra.html#命令别名","305":"/usage/extra.html#统计信息liteyuki-statistics","306":"/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,16],"1":[1,1,55],"2":[1,1,48],"3":[2,1,28],"4":[1,1,3],"5":[1,1,1],"6":[1,1,37],"7":[1,1,21],"8":[1,1,1],"9":[1,1,47],"10":[1,1,18],"11":[1,1,39],"12":[1,2,1],"13":[3,1,1],"14":[2,3,1],"15":[6,5,62],"16":[4,5,28],"17":[8,5,59],"18":[10,5,35],"19":[6,5,15],"20":[5,5,13],"21":[4,5,15],"22":[8,5,20],"23":[8,5,19],"24":[8,5,20],"25":[10,5,22],"26":[10,5,23],"27":[8,5,20],"28":[5,3,34],"29":[10,3,26],"30":[14,3,45],"31":[4,1,24],"32":[4,4,8],"33":[4,4,9],"34":[3,4,11],"35":[5,4,9],"36":[5,4,10],"37":[4,4,12],"38":[2,4,1],"39":[5,6,31],"40":[13,6,38],"41":[8,6,21],"42":[8,6,21],"43":[10,6,23],"44":[8,6,21],"45":[10,6,23],"46":[8,6,21],"47":[7,6,20],"48":[7,6,20],"49":[10,6,23],"50":[7,6,21],"51":[10,6,23],"52":[7,6,21],"53":[4,1,3],"54":[5,4,9],"55":[4,4,12],"56":[4,4,9],"57":[4,4,11],"58":[3,4,11],"59":[5,4,1],"60":[12,9,64],"61":[6,9,44],"62":[5,9,29],"63":[6,9,28],"64":[15,9,64],"65":[3,4,9],"66":[3,4,9],"67":[4,4,11],"68":[4,4,12],"69":[7,4,40],"70":[7,4,19],"71":[7,4,31],"72":[8,4,37],"73":[10,4,25],"74":[10,4,28],"75":[10,4,27],"76":[4,1,2],"77":[2,4,1],"78":[9,6,13],"79":[3,1,8],"80":[4,1,4],"81":[6,4,12],"82":[6,4,12],"83":[2,4,1],"84":[4,6,30],"85":[9,6,31],"86":[12,6,37],"87":[12,6,42],"88":[9,6,30],"89":[9,6,21],"90":[13,6,52],"91":[11,6,29],"92":[7,6,42],"93":[2,4,2],"94":[5,6,18],"95":[4,6,1],"96":[6,6,1],"97":[3,4,9],"98":[3,4,17],"99":[9,4,29],"100":[9,4,27],"101":[9,4,27],"102":[10,4,27],"103":[3,1,14],"104":[8,3,38],"105":[10,3,35],"106":[10,3,34],"107":[10,3,34],"108":[14,3,43],"109":[16,3,49],"110":[15,3,36],"111":[3,1,1],"112":[4,1,24],"113":[2,4,1],"114":[14,6,18],"115":[2,4,1],"116":[6,6,17],"117":[5,6,28],"118":[14,6,48],"119":[5,6,13],"120":[6,6,31],"121":[5,6,12],"122":[9,6,27],"123":[2,4,1],"124":[4,6,12],"125":[9,6,23],"126":[6,6,22],"127":[5,6,20],"128":[6,6,22],"129":[5,6,20],"130":[10,6,20],"131":[3,1,2],"132":[4,1,5],"133":[3,4,9],"134":[3,4,9],"135":[4,4,25],"136":[4,4,3],"137":[6,8,17],"138":[6,8,10],"139":[6,8,10],"140":[6,8,10],"141":[6,8,10],"142":[20,4,53],"143":[3,1,2],"144":[4,3,1],"145":[4,1,24],"146":[9,4,30],"147":[2,1,10],"148":[3,2,7],"149":[3,1,24],"150":[6,3,21],"151":[6,3,55],"152":[3,1,1],"153":[9,3,17],"154":[4,1,24],"155":[12,4,75],"156":[15,4,58],"157":[9,4,37],"158":[4,1,24],"159":[4,1,24],"160":[4,4,1],"161":[5,8,1],"162":[5,8,1],"163":[5,8,1],"164":[5,8,1],"165":[5,8,1],"166":[4,4,1],"167":[6,8,1],"168":[5,8,1],"169":[5,8,1],"170":[5,8,1],"171":[5,8,1],"172":[5,8,1],"173":[7,8,1],"174":[4,4,1],"175":[3,8,10],"176":[9,8,1],"177":[6,8,1],"178":[6,8,1],"179":[7,8,1],"180":[6,8,1],"181":[3,1,15],"182":[4,1,30],"183":[6,4,21],"184":[5,1,24],"185":[5,5,21],"186":[4,1,24],"187":[2,4,1],"188":[24,6,32],"189":[9,6,34],"190":[3,1,4],"191":[10,3,26],"192":[4,1,24],"193":[2,4,1],"194":[10,6,25],"195":[7,6,20],"196":[8,6,30],"197":[5,1,1],"198":[4,5,1],"199":[6,9,1],"200":[8,9,1],"201":[4,5,1],"202":[6,9,1],"203":[4,5,1],"204":[6,9,1],"205":[4,1,123],"206":[5,4,1],"207":[4,9,1],"208":[4,9,1],"209":[4,9,1],"210":[5,9,1],"211":[5,9,1],"212":[5,9,1],"213":[4,4,1],"214":[6,8,1],"215":[6,8,1],"216":[6,8,1],"217":[6,8,1],"218":[6,8,1],"219":[4,4,1],"220":[6,8,1],"221":[6,8,1],"222":[6,8,1],"223":[6,8,1],"224":[6,8,1],"225":[4,4,1],"226":[6,8,1],"227":[6,8,1],"228":[6,8,1],"229":[4,4,1],"230":[6,8,1],"231":[6,8,1],"232":[6,8,1],"233":[6,8,1],"234":[7,8,1],"235":[4,4,2],"236":[5,8,31],"237":[5,8,27],"238":[7,8,1],"239":[6,8,1],"240":[6,8,1],"241":[6,8,1],"242":[6,8,1],"243":[6,8,1],"244":[6,8,1],"245":[4,1,24],"246":[5,4,21],"247":[15,4,19],"248":[16,4,30],"249":[4,1,24],"250":[2,4,11],"251":[2,4,1],"252":[6,6,10],"253":[7,6,19],"254":[7,6,19],"255":[8,6,20],"256":[8,4,16],"257":[9,4,21],"258":[3,1,5],"259":[9,3,30],"260":[6,3,42],"261":[8,3,20],"262":[8,3,38],"263":[8,3,25],"264":[1,1,1],"265":[1,1,13],"266":[1,1,10],"267":[1,1,15],"268":[1,1,1],"269":[1,1,10],"270":[1,1,83],"271":[1,1,1],"272":[1,2,9],"273":[1,2,18],"274":[1,1,1],"275":[1,1,18],"276":[1,2,10],"277":[1,1,36],"278":[1,1,55],"279":[1,1,4],"280":[1,1,9],"281":[1,1,25],"282":[1,1,33],"283":[1,2,26],"284":[1,1,7],"285":[1,1,18],"286":[1,1,27],"287":[1,1,1],"288":[1,2,42],"289":[1,2,58],"290":[1,2,1],"291":[1,3,6],"292":[1,3,25],"293":[1,1,31],"294":[1,1,56],"295":[1,1,28],"296":[1,1,16],"297":[2,1,86],"298":[1,3,30],"299":[4,1,53],"300":[1,5,38],"301":[2,1,20],"302":[1,1,1],"303":[2,1,30],"304":[1,3,8],"305":[2,1,35],"306":[1,3,17]},"averageFieldLength":[5.416938110749186,4.43973941368078,17.846905537459275],"storedFields":{"0":{"title":"配置","titles":[]},"1":{"title":"基础配置项","titles":["配置"]},"2":{"title":"其他配置","titles":["配置"]},"3":{"title":"示例:与NoneBot对接的OneBot实现端配置","titles":["配置"]},"4":{"title":"其他","titles":["配置"]},"5":{"title":"答疑","titles":[]},"6":{"title":"常见问题","titles":["答疑"]},"7":{"title":"其他问题","titles":["答疑"]},"8":{"title":"安装","titles":[]},"9":{"title":"常规部署","titles":["安装"]},"10":{"title":"使用Docker构建","titles":["安装"]},"11":{"title":"装置要求","titles":["安装"]},"12":{"title":"其他问题请移步至","titles":["安装","装置要求"]},"13":{"title":"模块 liteyuki.bot","titles":[]},"14":{"title":"class LiteyukiBot","titles":["模块 liteyuki.bot"]},"15":{"title":"func __init__(self, **kwargs) -> None","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"16":{"title":"func run(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"17":{"title":"func restart(self, delay: int = 0)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"18":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"19":{"title":"func init(self, *args, **kwargs)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func init_logger(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"21":{"title":"func stop(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func get_bot() -> LiteyukiBot","titles":["模块 liteyuki.bot"]},"29":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"30":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"31":{"title":"模块 liteyuki.bot.lifespan","titles":[]},"32":{"title":"var SYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"33":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"34":{"title":"var LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"35":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"36":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"37":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"38":{"title":"class Lifespan","titles":["模块 liteyuki.bot.lifespan"]},"39":{"title":"func __init__(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"40":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"41":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"42":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"43":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"44":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"async func before_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"async func after_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"async func after_shutdown(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func after_restart(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"模块 liteyuki.comm.channel","titles":[]},"54":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"55":{"title":"var ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"56":{"title":"var SYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"57":{"title":"var ASYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"58":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"59":{"title":"class Channel(Generic[T])","titles":["模块 liteyuki.comm.channel"]},"60":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"61":{"title":"func send(self, data: T)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"62":{"title":"func receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"63":{"title":"async func async_receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"64":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"65":{"title":"var active_channel","titles":["模块 liteyuki.comm.channel"]},"66":{"title":"var passive_channel","titles":["模块 liteyuki.comm.channel"]},"67":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"68":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"69":{"title":"func set_channel(name: str, channel: Channel)","titles":["模块 liteyuki.comm.channel"]},"70":{"title":"func set_channels(channels: dict[str, Channel])","titles":["模块 liteyuki.comm.channel"]},"71":{"title":"func get_channel(name: str) -> Channel","titles":["模块 liteyuki.comm.channel"]},"72":{"title":"func get_channels() -> dict[str, Channel]","titles":["模块 liteyuki.comm.channel"]},"73":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"74":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"75":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"76":{"title":"模块 liteyuki.comm.event","titles":[]},"77":{"title":"class Event","titles":["模块 liteyuki.comm.event"]},"78":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["模块 liteyuki.comm.event","class Event"]},"79":{"title":"模块 liteyuki.comm","titles":[]},"80":{"title":"模块 liteyuki.comm.storage","titles":[]},"81":{"title":"var _on_main_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"82":{"title":"var _on_sub_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"83":{"title":"class KeyValueStore","titles":["模块 liteyuki.comm.storage"]},"84":{"title":"func __init__(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"85":{"title":"func set(self, key: str, value: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"86":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"87":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"88":{"title":"func get_all(self) -> dict[str, Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"89":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"90":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"91":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"92":{"title":"async func start_receive_loop(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"93":{"title":"class GlobalKeyValueStore","titles":["模块 liteyuki.comm.storage"]},"94":{"title":"func get_instance(cls)","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"95":{"title":"attr _instance = None","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"96":{"title":"attr _lock = threading.Lock()","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"97":{"title":"var shared_memory","titles":["模块 liteyuki.comm.storage"]},"98":{"title":"var _ref_count","titles":["模块 liteyuki.comm.storage"]},"99":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"100":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"101":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"102":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"103":{"title":"模块 liteyuki.config","titles":[]},"104":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"105":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"106":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"107":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"108":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"109":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"110":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"111":{"title":"模块 liteyuki.core","titles":[]},"112":{"title":"模块 liteyuki.core.manager","titles":[]},"113":{"title":"class ChannelDeliver","titles":["模块 liteyuki.core.manager"]},"114":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["模块 liteyuki.core.manager","class ChannelDeliver"]},"115":{"title":"class ProcessManager","titles":["模块 liteyuki.core.manager"]},"116":{"title":"func __init__(self, lifespan: Lifespan)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"117":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"118":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"119":{"title":"func join_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"120":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"121":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"122":{"title":"func is_process_alive(self, name: str) -> bool","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"123":{"title":"class _SubProcessManager","titles":["模块 liteyuki.core.manager"]},"124":{"title":"func __init__(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"125":{"title":"func add(self, name: str, func: ProcessFuncType, *args, **kwargs)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"126":{"title":"func start(self, name: str)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"127":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"128":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"129":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"130":{"title":"func get_process(self, name: str) -> SubProcess | None","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"131":{"title":"模块 liteyuki.dev","titles":[]},"132":{"title":"模块 liteyuki.dev.observer","titles":[]},"133":{"title":"var CALLBACK_FUNC","titles":["模块 liteyuki.dev.observer"]},"134":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.dev.observer"]},"135":{"title":"func debounce(wait)","titles":["模块 liteyuki.dev.observer"]},"136":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["模块 liteyuki.dev.observer"]},"137":{"title":"func on_modified(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"138":{"title":"func on_created(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"139":{"title":"func on_deleted(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"140":{"title":"func on_moved(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"141":{"title":"func on_any_event(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"142":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["模块 liteyuki.dev.observer"]},"143":{"title":"模块 liteyuki.exception","titles":[]},"144":{"title":"class LiteyukiException(BaseException)","titles":["模块 liteyuki.exception"]},"145":{"title":"模块 liteyuki.dev.plugin","titles":[]},"146":{"title":"func run_plugins(*module_path: str | Path)","titles":["模块 liteyuki.dev.plugin"]},"147":{"title":"模块 liteyuki","titles":[]},"148":{"title":"var __version__","titles":["模块 liteyuki"]},"149":{"title":"模块 liteyuki.log","titles":[]},"150":{"title":"func get_format(level: str) -> str","titles":["模块 liteyuki.log"]},"151":{"title":"func init_log(config: dict)","titles":["模块 liteyuki.log"]},"152":{"title":"模块 liteyuki.plugin","titles":[]},"153":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["模块 liteyuki.plugin"]},"154":{"title":"模块 liteyuki.plugin.load","titles":[]},"155":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["模块 liteyuki.plugin.load"]},"156":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["模块 liteyuki.plugin.load"]},"157":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["模块 liteyuki.plugin.load"]},"158":{"title":"模块 liteyuki.plugin.manager","titles":[]},"159":{"title":"模块 liteyuki.plugin.model","titles":[]},"160":{"title":"class PluginType(Enum)","titles":["模块 liteyuki.plugin.model"]},"161":{"title":"attr APPLICATION = 'application'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"162":{"title":"attr SERVICE = 'service'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"163":{"title":"attr MODULE = 'module'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"164":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"165":{"title":"attr TEST = 'test'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"166":{"title":"class PluginMetadata(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"167":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"168":{"title":"attr description: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"169":{"title":"attr usage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"170":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"171":{"title":"attr author: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"172":{"title":"attr homepage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"173":{"title":"attr extra: dict[str, Any] = {}","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"174":{"title":"class Plugin(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"175":{"title":"func hash self","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"176":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"177":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"178":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"179":{"title":"attr module_name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"180":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"181":{"title":"模块 liteyuki.plugins","titles":[]},"182":{"title":"模块 liteyuki.plugins.liteecho","titles":[]},"183":{"title":"async func liteecho(event: MessageEvent)","titles":["模块 liteyuki.plugins.liteecho"]},"184":{"title":"模块 liteyuki.plugins.plugin_loader","titles":[]},"185":{"title":"func default_plugins_loader()","titles":["模块 liteyuki.plugins.plugin_loader"]},"186":{"title":"模块 liteyuki.session.event","titles":[]},"187":{"title":"class MessageEvent","titles":["模块 liteyuki.session.event"]},"188":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["模块 liteyuki.session.event","class MessageEvent"]},"189":{"title":"func reply(self, message: str | dict[str, Any])","titles":["模块 liteyuki.session.event","class MessageEvent"]},"190":{"title":"模块 liteyuki.session","titles":[]},"191":{"title":"func message_handler_thread(i_chans: Iterable[Chan[Any]])","titles":["模块 liteyuki.session"]},"192":{"title":"模块 liteyuki.session.matcher","titles":[]},"193":{"title":"class Matcher","titles":["模块 liteyuki.session.matcher"]},"194":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["模块 liteyuki.session.matcher","class Matcher"]},"195":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["模块 liteyuki.session.matcher","class Matcher"]},"196":{"title":"async func run(self, event: MessageEvent) -> None","titles":["模块 liteyuki.session.matcher","class Matcher"]},"197":{"title":"模块 liteyuki.session.message.segments","titles":[]},"198":{"title":"class BaseSeg(BaseModel)","titles":["模块 liteyuki.session.message.segments"]},"199":{"title":"attr type: str = 'Segment'","titles":["模块 liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"200":{"title":"attr data: dict[str, Any] = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"201":{"title":"class Text(BaseSeg)","titles":["模块 liteyuki.session.message.segments"]},"202":{"title":"attr content: str = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class Text(BaseSeg)"]},"203":{"title":"class Image(BaseSeg)","titles":["模块 liteyuki.session.message.segments"]},"204":{"title":"attr url: str = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class Image(BaseSeg)"]},"205":{"title":"模块 liteyuki.session.models","titles":[]},"206":{"title":"class SceneType(int, Enum)","titles":["模块 liteyuki.session.models"]},"207":{"title":"attr PRIVATE = 0","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"208":{"title":"attr GROUP = 1","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"209":{"title":"attr GUILD = 2","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"210":{"title":"attr CHANNEL_TEXT = 3","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"211":{"title":"attr CHANNEL_CATEGORY = 4","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"212":{"title":"attr CHANNEL_VOICE = 5","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"213":{"title":"class User(BaseModel)","titles":["模块 liteyuki.session.models"]},"214":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"215":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"216":{"title":"attr nick: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"217":{"title":"attr avatar: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"218":{"title":"attr gender: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"219":{"title":"class Scene(BaseModel)","titles":["模块 liteyuki.session.models"]},"220":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"221":{"title":"attr type: SceneType = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"222":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"223":{"title":"attr avatar: str | None = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"224":{"title":"attr parent: 'Scene | None' = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"225":{"title":"class Role(BaseModel)","titles":["模块 liteyuki.session.models"]},"226":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"227":{"title":"attr level: int | None = None","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"228":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"229":{"title":"class Member(BaseModel)","titles":["模块 liteyuki.session.models"]},"230":{"title":"attr user: User = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"231":{"title":"attr nickname: str | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"232":{"title":"attr role: Role | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"233":{"title":"attr mute: bool | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"234":{"title":"attr joined_at: datetime | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"235":{"title":"class Session(BaseModel)","titles":["模块 liteyuki.session.models"]},"236":{"title":"func session_id(self)","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"237":{"title":"func target_id(self)","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"238":{"title":"attr self_id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"239":{"title":"attr adapter: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"240":{"title":"attr scope: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"241":{"title":"attr scene: Scene = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"242":{"title":"attr user: User = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"243":{"title":"attr member: 'Member | None' = None","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"244":{"title":"attr operator: 'Member | None' = None","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"245":{"title":"模块 liteyuki.session.on","titles":[]},"246":{"title":"func add_matcher(matcher: Matcher)","titles":["模块 liteyuki.session.on"]},"247":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.session.on"]},"248":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.session.on"]},"249":{"title":"模块 liteyuki.session.rule","titles":[]},"250":{"title":"var RuleHandlerFunc","titles":["模块 liteyuki.session.rule"]},"251":{"title":"class Rule","titles":["模块 liteyuki.session.rule"]},"252":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["模块 liteyuki.session.rule","class Rule"]},"253":{"title":"func self | other: Rule => Rule","titles":["模块 liteyuki.session.rule","class Rule"]},"254":{"title":"func self & other: Rule => Rule","titles":["模块 liteyuki.session.rule","class Rule"]},"255":{"title":"async func self () event: MessageEvent => bool","titles":["模块 liteyuki.session.rule","class Rule"]},"256":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.session.rule"]},"257":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.session.rule"]},"258":{"title":"模块 liteyuki.utils","titles":[]},"259":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["模块 liteyuki.utils"]},"260":{"title":"func run_coroutine(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"261":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"262":{"title":"func path_to_module_name(path: Path) -> str","titles":["模块 liteyuki.utils"]},"263":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["模块 liteyuki.utils"]},"264":{"title":"最佳实践","titles":[]},"265":{"title":"机器人应用","titles":["最佳实践"]},"266":{"title":"插件","titles":["最佳实践"]},"267":{"title":"其他","titles":["最佳实践"]},"268":{"title":"通道通信","titles":[]},"269":{"title":"简介","titles":["通道通信"]},"270":{"title":"示例","titles":["通道通信"]},"271":{"title":"共享内存通信","titles":["通道通信"]},"272":{"title":"简介","titles":["通道通信","共享内存通信"]},"273":{"title":"示例","titles":["通道通信","共享内存通信"]},"274":{"title":"开发指南","titles":[]},"275":{"title":"如何开发","titles":["开发指南"]},"276":{"title":"建议","titles":["开发指南","如何开发"]},"277":{"title":"项目结构","titles":["开发指南"]},"278":{"title":"规范化","titles":["开发指南"]},"279":{"title":"最后","titles":["开发指南"]},"280":{"title":"轻雪函数","titles":[]},"281":{"title":"函数文件","titles":["轻雪函数"]},"282":{"title":"命令文档","titles":["轻雪函数"]},"283":{"title":"示例","titles":["轻雪函数","命令文档"]},"284":{"title":"API","titles":["轻雪函数"]},"285":{"title":"结束关键字","titles":["轻雪函数"]},"286":{"title":"简介","titles":[]},"287":{"title":"开始","titles":["简介"]},"288":{"title":"创建插件","titles":["简介","开始"]},"289":{"title":"编写逻辑部分","titles":["简介","开始"]},"290":{"title":"加载插件","titles":["简介","开始"]},"291":{"title":"方法1","titles":["简介","开始","加载插件"]},"292":{"title":"方法2","titles":["简介","开始","加载插件"]},"293":{"title":"简介","titles":[]},"294":{"title":"加载资源包","titles":["简介"]},"295":{"title":"用户协议","titles":[]},"296":{"title":"基础插件","titles":[]},"297":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"299":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"300":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"301":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"302":{"title":"功能插件命令","titles":[]},"303":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"305":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"306":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["当前bot",{"2":{"305":1}}],["当前群聊",{"2":{"305":1}}],["当前会话启用",{"2":{"299":1}}],["秒",{"2":{"305":2}}],["小时",{"2":{"305":2}}],["天",{"2":{"305":2}}],["天气",{"2":{"303":1,"304":1}}],["格式",{"2":{"305":1}}],["格式为onebot",{"2":{"297":1}}],["统计时间范围为duration",{"2":{"305":1}}],["统计周期为period",{"2":{"305":1}}],["统计信息",{"2":{"305":1}}],["统计信息liteyuki",{"0":{"305":1},"1":{"306":1}}],["功能",{"2":{"305":1}}],["功能插件命令",{"0":{"302":1},"1":{"303":1,"304":1,"305":1,"306":1}}],["个人全局生效",{"2":{"303":1}}],["个人信息",{"2":{"301":1}}],["绑定城市",{"2":{"304":1}}],["绑定查询城市",{"2":{"303":1}}],["绑定端口",{"2":{"1":1}}],["海淀",{"2":{"303":1}}],["北京",{"2":{"303":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"300":1}}],["帮助",{"2":{"300":1}}],["列表",{"2":{"300":1}}],["列出所有资源包",{"2":{"299":1}}],["列出所有插件",{"2":{"299":1}}],["更改",{"2":{"300":1}}],["更新",{"2":{"300":1}}],["更新插件商店索引",{"2":{"299":1}}],["更新轻雪",{"2":{"297":1,"298":1}}],["更新轻雪失败",{"2":{"6":1}}],["全局停用",{"2":{"300":1}}],["全局启用",{"2":{"299":1,"300":1}}],["搜索",{"2":{"300":1}}],["卸载",{"2":{"300":2}}],["卸载资源包",{"2":{"299":1}}],["卸载插件",{"2":{"299":1}}],["私聊所有人可用",{"2":{"299":2}}],["包管理器",{"0":{"299":1},"1":{"300":1}}],["包括子task",{"2":{"282":1}}],["包括chromium",{"2":{"11":1}}],["切换图片模式",{"2":{"298":1}}],["切换到bot目录下",{"2":{"9":1}}],["状态",{"2":{"298":1}}],["别名",{"2":{"298":1,"300":1,"301":1,"304":1,"306":1}}],["别用你那b",{"2":{"11":1}}],["所有人",{"2":{"297":1,"299":1,"301":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"285":1}}],["所以此项目既是liteyukibot应用仓库",{"2":{"277":1}}],["群聊",{"2":{"298":1}}],["群聊仅群主",{"2":{"297":1,"299":2}}],["群号",{"2":{"297":1}}],["管理员",{"2":{"297":1,"299":2}}],["管理脚本",{"2":{"267":1}}],["停用插件",{"2":{"299":2}}],["停用",{"2":{"298":1,"300":1}}],["停用机器人",{"2":{"297":1}}],["停止后钩子",{"2":{"50":1}}],["停止前钩子",{"2":{"49":1}}],["停止",{"2":{"39":1}}],["停止轻雪",{"2":{"18":1,"21":1}}],["查询目标地实时天气",{"2":{"303":1}}],["查询实时天气",{"2":{"303":1}}],["查询",{"2":{"298":1,"301":1}}],["查询配置项",{"2":{"297":1}}],["查看用户信息菜单",{"2":{"301":1}}],["查看插件帮助",{"2":{"299":1}}],["查看轻雪文档",{"2":{"297":1}}],["查看统计信息和状态",{"2":{"297":1}}],["查看当前bot",{"2":{"297":1}}],["版本",{"2":{"297":1}}],["超级用户可用",{"2":{"297":1,"299":2}}],["超级用户",{"2":{"297":10,"299":10}}],["超级用户列表",{"2":{"1":1}}],["重载",{"2":{"300":1}}],["重载所有资源包",{"2":{"299":1}}],["重载资源",{"2":{"298":1}}],["重载轻雪",{"2":{"297":1}}],["重启轻雪",{"2":{"298":1}}],["重启轻雪即可加载插件",{"2":{"291":1}}],["重启轻雪本体",{"2":{"17":1}}],["重启后钩子",{"2":{"52":1}}],["重启前钩子",{"2":{"51":1}}],["重启",{"2":{"39":1}}],["举例",{"2":{"297":1}}],["权限",{"2":{"297":1,"299":2,"301":1}}],["~代替",{"2":{"296":1}}],["~可以使用插件",{"2":{"296":1}}],["命令",{"2":{"297":1,"298":1,"299":2,"300":1,"301":2,"303":1,"304":1,"305":1,"306":1}}],["命令别名",{"0":{"298":1,"300":1,"304":1,"306":1},"2":{"296":1,"301":1}}],["命令文档",{"0":{"282":1},"1":{"283":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"295":1}}],["且通道标识为",{"2":{"270":1}}],["系统信息及python信息",{"2":{"295":1}}],["分钟",{"2":{"305":2}}],["分发",{"2":{"295":1}}],["分工明确",{"2":{"103":1}}],["修改优先级",{"2":{"299":1}}],["修改",{"2":{"295":1}}],["修订文档时",{"2":{"278":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"294":1}}],["└─",{"2":{"294":1}}],["└───",{"2":{"294":1}}],["└─resource",{"2":{"294":2}}],["├─templates",{"2":{"294":1}}],["├─metadata",{"2":{"294":2}}],["正常的路径应该是这样的",{"2":{"294":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"294":1}}],["zip格式压缩的",{"2":{"294":1}}],["zh",{"2":{"2":1,"277":1}}],["错位等无法预料的事情发生",{"2":{"293":1}}],["异常",{"2":{"293":1}}],["异步任务结束关键字",{"2":{"285":1}}],["异步等待",{"2":{"282":1}}],["异步包装器",{"2":{"263":1}}],["异步接收数据",{"2":{"63":1}}],["异步过滤函数",{"2":{"57":1}}],["异步进程生命周期函数",{"2":{"36":1}}],["异步生命周期函数",{"2":{"33":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"293":1}}],["部分异常信息",{"2":{"295":1}}],["部分内容制作需要一点点前端基础",{"2":{"293":1}}],["部分来源于",{"2":{"258":1}}],["讲起打包成一个新的资源包",{"2":{"293":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"293":1}}],["那么加载b包后",{"2":{"294":1}}],["那么你能够很快就上手",{"2":{"293":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"285":1}}],["资源",{"2":{"293":1}}],["资源包管理",{"2":{"299":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"294":1}}],["资源包的制作很简单",{"2":{"293":1}}],["资源包加载遵循一个优先级",{"2":{"294":1}}],["资源包描述",{"2":{"294":1}}],["资源包名称",{"2":{"294":1}}],["资源包通常是以",{"2":{"294":1}}],["资源包",{"2":{"293":1,"300":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"293":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"280":1}}],["语言包等",{"2":{"293":1}}],["亦可根据用途称为主题包",{"2":{"293":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"292":1}}],["然后运行python",{"2":{"292":1}}],["然后用",{"2":{"6":1}}],["方法2",{"0":{"292":1}}],["方法1",{"0":{"291":1}}],["用户管理liteyuki",{"0":{"301":1}}],["用户协议",{"0":{"295":1}}],["用observer的on",{"2":{"289":1}}],["用于统计bot接收到的消息",{"2":{"305":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"289":1}}],["用于结束当前已完成function的执行",{"2":{"285":1}}],["用于存放内置插件",{"2":{"181":1}}],["用于获取和唯一标识",{"2":{"118":1}}],["用于进程间通信",{"2":{"53":1}}],["排除的文件扩展名",{"2":{"289":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"289":1}}],["因此无法通过共享内存和直接对象传递进行通信",{"2":{"269":1}}],["定义插件元数据",{"2":{"288":1}}],["定义变量",{"2":{"282":1}}],["导入轻雪bot和日志",{"2":{"289":1}}],["导入文件系统事件",{"2":{"289":1}}],["导入文件系统观察器",{"2":{"289":1}}],["导入文件夹下多个插件",{"2":{"156":1}}],["导入逻辑部分",{"2":{"288":1}}],["供其他插件调用",{"2":{"286":1}}],["提供一系列对外的ipc",{"2":{"286":1}}],["提交到轻雪仓库的代码",{"2":{"278":1}}],["服务",{"2":{"286":1}}],["把平台的消息转换为轻雪消息格式传入总线通道",{"2":{"286":1}}],["响应",{"2":{"286":1}}],["应用",{"2":{"286":1}}],["应在每次完成一个功能或修复一个bug后提交代码",{"2":{"278":1}}],["应在初始化时调用",{"2":{"185":1}}],["大部分情况下一个插件通常承担着多个责任",{"2":{"286":1}}],["等几种类型",{"2":{"286":1}}],["等待所有异步任务结束",{"2":{"282":1}}],["编写逻辑部分",{"0":{"289":1}}],["编写轻雪函数推荐你使用vs",{"2":{"285":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"281":1}}],["的情况是效率提升的关键",{"2":{"285":1}}],["的可爱猫娘机器人",{"2":{"265":1}}],["避免出现",{"2":{"285":1}}],["由于liteyukibot基于异步运行",{"2":{"285":1}}],["结束关键字",{"0":{"285":1}}],["结束函数关键字",{"2":{"282":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"284":1}}],["则该文件夹不会被识别为资源包",{"2":{"294":1}}],["则需要删除await",{"2":{"283":1}}],["则传入泛型默认开启",{"2":{"60":1}}],["无需手动创建实例",{"2":{"292":1}}],["无需手动初始化bot",{"2":{"146":1}}],["无限戳",{"2":{"283":1}}],["执行",{"2":{"283":1}}],["疯狂戳好友",{"2":{"283":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"293":1}}],["否则task对象会被销毁",{"2":{"282":1}}],["否则默认关闭",{"2":{"60":1}}],["需要在最后调用",{"2":{"282":1}}],["单线程走到底",{"2":{"285":1}}],["单位s",{"2":{"282":1}}],["单元测试目录",{"2":{"277":1}}],["调用机器人函数",{"2":{"297":1}}],["调用机器人api",{"2":{"297":1}}],["调用重启进程方法",{"2":{"289":1}}],["调用函数",{"2":{"282":1}}],["调用bot",{"2":{"282":1}}],["输入值会被执行以转换为正确的类型",{"2":{"297":1}}],["输入playwright",{"2":{"6":1}}],["输出",{"2":{"281":1}}],["也支持句末注释",{"2":{"281":1}}],["支持中英文",{"2":{"303":2}}],["支持中英文城市名",{"2":{"303":1}}],["支持多个关键词查询",{"2":{"303":1}}],["支持绑定城市",{"2":{"303":1}}],["支持单行注释",{"2":{"281":1}}],["支持轻雪",{"2":{"266":1}}],["函数文件放在资源包的functions目录下",{"2":{"281":1}}],["函数文件",{"0":{"281":1}}],["函数列表",{"2":{"40":1}}],["属于资源包的一部分",{"2":{"280":1}}],["是可以相对引用的",{"2":{"294":1}}],["是轻雪的一个功能",{"2":{"280":1}}],["是否为协程可调用对象",{"2":{"259":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"194":1}}],["是否忽略警告",{"2":{"156":1}}],["是否忽略键不存在的错误",{"2":{"87":1}}],["是否递归监听子目录",{"2":{"142":1}}],["是否关闭警告",{"2":{"110":1}}],["是否开启类型检查",{"2":{"60":1}}],["是否允许更新",{"2":{"2":1}}],["是否自动更新轻雪",{"2":{"1":1}}],["是否自动上报问题给轻雪服务器",{"2":{"1":1}}],["是否显示日志等级图标",{"2":{"1":1}}],["我们在src",{"2":{"292":1}}],["我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系",{"2":{"286":1}}],["我们欢迎任何人参与开发",{"2":{"279":1}}],["我们使用gitmoji来标记commit的类型",{"2":{"278":1}}],["最后",{"0":{"279":1}}],["最佳实践",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["总结来说就是你干了什么",{"2":{"278":1}}],["总通道",{"2":{"15":1}}],["给event添加新字段",{"2":{"278":1}}],["具体请参考gitmoji",{"2":{"278":1}}],["表示修复bug等",{"2":{"278":1}}],["表示引入新功能",{"2":{"278":1}}],["尽量避免使用单引号",{"2":{"278":1}}],["尽量不要冲突",{"2":{"103":1}}],["字体包",{"2":{"293":1}}],["字符串请使用双引号",{"2":{"278":1}}],["字段",{"2":{"3":1}}],["以上内容仅用于项目的优化",{"2":{"295":1}}],["以避免出现无法预料的问题",{"2":{"293":1}}],["以下我们会编写一个简单的插件",{"2":{"289":1}}],["以下为默认值",{"2":{"2":1}}],["以实现某些功能",{"2":{"286":1}}],["以保证litedoc能够正确解析并生成文档",{"2":{"278":1}}],["没有危害的",{"2":{"278":1}}],["没有异步的必要",{"2":{"61":1}}],["代码请遵循pep8和google",{"2":{"278":1}}],["规范化",{"0":{"278":1}}],["规则函数签名",{"2":{"250":1}}],["规则",{"2":{"194":1}}],["业务逻辑请在此目录下进行开发",{"2":{"277":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"294":1}}],["同时也是liteyuki框架的仓库",{"2":{"277":1}}],["同步接收数据",{"2":{"62":1}}],["同步接收函数",{"2":{"54":1}}],["同步过滤函数",{"2":{"56":1}}],["同步进程生命周期函数",{"2":{"35":1}}],["同步生命周期函数",{"2":{"32":1}}],["中文文档",{"2":{"277":1}}],["英文文档",{"2":{"277":1}}],["文件内容为一系列的命令",{"2":{"281":1}}],["文件名以",{"2":{"281":1}}],["文件夹路径",{"2":{"156":1}}],["文档请遵循markdown语法",{"2":{"278":1}}],["文档目录",{"2":{"277":1}}],["工具目录",{"2":{"277":1}}],["内置资源包目录",{"2":{"277":1}}],["内存共享是线程安全的",{"2":{"272":1}}],["内存共享使得代码编写更加简洁",{"2":{"272":1}}],["内存",{"2":{"11":1,"295":1}}],["框架目录",{"2":{"277":1}}],["项目结构",{"0":{"277":1}}],["项目目录下的配置文件优先",{"2":{"110":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"103":1}}],["项目目录下的config",{"2":{"110":1}}],["出现冲突请与仓库维护者联系",{"2":{"275":1}}],["将你的分支合并到轻雪仓库的main分支",{"2":{"275":1}}],["将你的代码提交到这个分支",{"2":{"275":1}}],["组织账户下",{"2":{"275":1}}],["首先创建一个文件夹",{"2":{"288":1}}],["首先fork一份轻雪仓库到你的个人",{"2":{"275":1}}],["首次运行后生成config",{"2":{"0":1}}],["引用",{"2":{"275":1}}],["引用计数",{"2":{"98":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"272":1}}],["相比于普通进程通信",{"2":{"272":1}}],["实现",{"2":{"270":1,"286":2}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"293":1}}],["主题商店提供了一些资源包供你选择",{"2":{"293":1}}],["主动模式需调用chan",{"2":{"270":1}}],["主进程中",{"2":{"270":1}}],["主进程中通过get",{"2":{"270":1}}],["主进程接收到消息后重启对应子进程",{"2":{"269":1}}],["主进程订阅者接收函数",{"2":{"81":1}}],["主进程创建单例",{"2":{"67":1}}],["被动模式",{"2":{"270":1}}],["被动模式由chan",{"2":{"270":1}}],["被动通道传递通道",{"2":{"68":1}}],["被动通道",{"2":{"66":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"294":1}}],["即可创建一个插件",{"2":{"288":1}}],["即不等待",{"2":{"282":1}}],["即被动模式和主动模式",{"2":{"270":1}}],["即轻雪作为服务端",{"2":{"3":1}}],["例如npm",{"2":{"296":1}}],["例如nonebot插件中",{"2":{"270":1}}],["例如你在a中定义了templates",{"2":{"294":1}}],["例如html",{"2":{"293":1}}],["例如main",{"2":{"292":1}}],["例如watchdog",{"2":{"288":1,"291":1}}],["例如echo",{"2":{"286":1}}],["例如",{"2":{"281":2,"294":1,"303":1}}],["例如test",{"2":{"281":1,"292":1}}],["例如子进程接收到用户信息需要重启机器人",{"2":{"269":1}}],["例如使用nonebot插件可对接支持的适配器平台",{"2":{"6":1}}],["这样可以避免很多潜在的问题",{"2":{"286":1}}],["这样可以在控制台看到更多的调试信息",{"2":{"276":1}}],["这样两个进程上下文是不会互相干扰的",{"2":{"269":1}}],["这时可以通过通道对主进程发送消息",{"2":{"269":1}}],["这里给出一个参考值",{"2":{"3":1}}],["有一个task任务没有完成而await被执行了",{"2":{"285":1}}],["有条件可以使用中英双语",{"2":{"278":1}}],["有两种接收模式",{"2":{"270":1}}],["有部分实现插件为了一些功能在子进程中运行",{"2":{"269":1}}],["有的插件安装后报错无法启动",{"2":{"6":1}}],["里",{"2":{"269":1}}],["简介",{"0":{"269":1,"272":1,"286":1,"293":1},"1":{"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"294":1}}],["闭源",{"2":{"267":1}}],["展示轻雪的所有实例及其位置分布",{"2":{"267":1}}],["让",{"2":{"266":1}}],["让轻雪支持",{"2":{"266":1}}],["基础插件",{"0":{"296":1},"1":{"297":1,"298":1,"299":1,"300":1,"301":1}}],["基础配置项",{"0":{"1":1}}],["基于",{"2":{"265":1}}],["官方定制轻雪机器人",{"2":{"265":1}}],["机器人源码目录",{"2":{"277":1}}],["机器人入口文件",{"2":{"277":1}}],["机器人应用",{"0":{"265":1}}],["机器人昵称列表",{"2":{"1":1}}],["+",{"2":{"262":1}}],["+=",{"2":{"17":1,"64":1}}],["路径a",{"2":{"262":1}}],["转换路径为模块名",{"2":{"262":1}}],["可用",{"2":{"297":1}}],["可用参数",{"2":{"297":1}}],["可按需调整",{"2":{"286":1}}],["可递归",{"2":{"282":1}}],["可调用对象",{"2":{"259":1}}],["可以在配置文件中把auto",{"2":{"295":1}}],["可以在a的index",{"2":{"294":1}}],["可以在此基础上进行修改",{"2":{"293":1}}],["可以在config",{"2":{"276":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"286":1}}],["可以是本地插件或是通过",{"2":{"155":1}}],["可以使用liteyuki镜像",{"2":{"9":1}}],["判断是否为协程可调用对象",{"2":{"259":1}}],["一个",{"2":{"288":1}}],["一个键不要多次出现",{"2":{"103":1}}],["一些常用的工具类",{"2":{"258":1}}],["x26",{"2":{"248":1}}],["x3c",{"2":{"16":4,"17":1,"151":7,"155":2,"157":2,"246":1,"282":6,"303":2,"305":2}}],["45m",{"2":{"305":2}}],["4",{"0":{"211":1}}],["47",{"2":{"186":1}}],["优先级",{"2":{"194":1}}],["匹配器",{"2":{"194":1}}],["505468b及以后的lagrange",{"2":{"297":1}}],["55",{"2":{"249":1}}],["52",{"2":{"245":1}}],["5",{"0":{"212":1}}],["51",{"2":{"192":1}}],["59",{"2":{"154":1,"158":1}}],["多路输入管道组",{"2":{"191":1}}],["多配置文件编写原则",{"2":{"103":1}}],["回复消息",{"2":{"189":1}}],["根据不同类型插件设置颜色",{"2":{"157":1}}],["下午10",{"2":{"184":1,"186":1,"192":1,"245":1,"249":1}}],["下午12",{"2":{"182":1}}],["下午11",{"2":{"154":1,"158":1}}],["下午8",{"2":{"31":1}}],["插件停用只能阻断传入响应",{"2":{"300":1}}],["插件管理",{"2":{"299":1,"300":1}}],["插件信息",{"2":{"295":1}}],["插件描述",{"2":{"288":1}}],["插件版本",{"2":{"288":1}}],["插件大致可分为应用",{"2":{"286":1}}],["插件开发请在此目录下进行开发",{"2":{"277":1}}],["插件开发无需阅读本文档",{"2":{"275":1}}],["插件",{"0":{"266":1,"299":1},"1":{"300":1},"2":{"266":2}}],["插件类型",{"2":{"157":1,"288":1}}],["插件名称",{"2":{"155":1,"157":1,"288":1}}],["插件字典",{"2":{"153":1}}],["插件路径",{"2":{"146":1}}],["🔍",{"2":{"151":1}}],["🐛",{"2":{"151":1}}],["❌",{"2":{"151":1,"297":11}}],["⭕",{"2":{"151":1}}],["⚠️",{"2":{"151":1}}],["✅",{"2":{"151":1}}],["ℹ️信息",{"2":{"270":4}}],["ℹ️",{"2":{"151":1}}],["测试版本号",{"2":{"148":1}}],["此模块为内置插件文件夹",{"2":{"181":1}}],["此模块为liteyuki的框架整体",{"2":{"147":1}}],["此模块用于注册观察者函数",{"2":{"132":1}}],["运行环境的设备信息",{"2":{"295":1}}],["运行在主进程中",{"2":{"286":1}}],["运行协程",{"2":{"260":1}}],["运行处理函数",{"2":{"196":1}}],["运行插件",{"2":{"146":1}}],["运行订阅者接收函数",{"2":{"91":1}}],["上午12",{"2":{"159":1}}],["上午11",{"2":{"112":1}}],["上午9",{"2":{"149":1}}],["上午5",{"2":{"145":1}}],["事件过滤器",{"2":{"142":1}}],["事件循环",{"2":{"15":1}}],["防抖函数",{"2":{"135":1}}],["防止获取空指针",{"2":{"98":1}}],["位置1为filesystemevent",{"2":{"133":1,"134":1}}],["启用",{"2":{"298":1,"300":1}}],["启用插件后",{"2":{"292":1}}],["启用开发者模式",{"2":{"276":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"132":1}}],["启动后控制台输出",{"2":{"270":1}}],["启动后钩子",{"2":{"48":1}}],["启动所有子进程",{"2":{"127":1}}],["启动所有进程",{"2":{"117":1}}],["启动指定子进程",{"2":{"126":1}}],["启动发布订阅接收器循环",{"2":{"92":1}}],["启动前钩子",{"2":{"47":1}}],["启动",{"2":{"39":1}}],["启动bot",{"2":{"9":1}}],["启动时会加载项目目录下config",{"2":{"0":1}}],["使用通用日期简写",{"2":{"305":2}}],["使用此项目代表你已经同意以上协议",{"2":{"295":1}}],["使用开发工具快速运行插件",{"2":{"292":1}}],["使用",{"2":{"283":1}}],["使用新的task执行命令",{"2":{"282":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"132":1}}],["使用docker构建",{"0":{"10":1}}],["终止所有子进程",{"2":{"129":1}}],["终止指定子进程",{"2":{"128":1}}],["终止进程并从进程字典中删除",{"2":{"120":1}}],["添加配置项",{"2":{"297":1}}],["添加sleep",{"2":{"283":1}}],["添加处理函数",{"2":{"195":1}}],["添加子进程",{"2":{"125":1}}],["添加进程",{"2":{"118":1}}],["检查进程是否存活",{"2":{"122":1}}],["通过关键词搜索插件",{"2":{"299":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"270":1}}],["通常是目录不存在或目录为空",{"2":{"156":1}}],["通常会默认传入chan",{"2":{"118":1}}],["通道是全双工的",{"2":{"270":1}}],["通道通信",{"0":{"268":1},"1":{"269":1,"270":1,"271":1,"272":1,"273":1}}],["通道实例",{"2":{"69":1,"70":1,"71":1,"72":1}}],["通道名称",{"2":{"69":1,"71":1}}],["通道传递通道",{"2":{"67":1}}],["通道id",{"2":{"60":1}}],["创建入口文件",{"2":{"292":1}}],["创建插件",{"0":{"288":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"270":1}}],["创建asyncio",{"2":{"117":1}}],["创建虚拟环境",{"2":{"9":1}}],["对于主动推送的插件不生效",{"2":{"300":1}}],["对于不同资源包的不同文件",{"2":{"294":1}}],["对接特定平台",{"2":{"286":1}}],["对外启动方法",{"2":{"117":1}}],["对公开放时建议设置",{"2":{"2":1}}],["按照读取文件的优先级反向覆盖",{"2":{"109":1}}],["从总线通道接收到消息后进行处理",{"2":{"286":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"110":1}}],["从目录下加载配置文件",{"2":{"109":1}}],["从指定文件加载配置项",{"2":{"108":1}}],["8",{"2":{"105":1,"106":1,"107":1,"145":1,"182":1,"183":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["但请注意甄别第三方插件的安全性",{"2":{"295":1}}],["但请保证以上三个字段",{"2":{"294":1}}],["但若出现非单function的情况",{"2":{"285":1}}],["但需单独起篇幅",{"2":{"280":1}}],["但在嵌套字符串时可以使用单引号",{"2":{"278":1}}],["但一个通道只能使用一种",{"2":{"270":1}}],["但也包含原有的键值对",{"2":{"104":1}}],["但是请保留原作者信息",{"2":{"295":1}}],["但是更加轻量级并且线程安全",{"2":{"80":1}}],["但是基本上都是一样的",{"2":{"3":1}}],["但是部分内容会被覆盖",{"2":{"1":1}}],["扁平化后的配置文件",{"2":{"104":1}}],["扁平化配置文件",{"2":{"104":1}}],["扁平化编写",{"2":{"103":1}}],["注意不要嵌套文件夹",{"2":{"294":1}}],["注意冲突时的优先级",{"2":{"103":1}}],["注册一个函数在nonebot启动后运行",{"2":{"270":1}}],["注册一个函数在轻雪启动后运行",{"2":{"270":1}}],["注册文件系统变化监听器",{"2":{"142":1}}],["注册重启后的函数",{"2":{"27":1,"46":1}}],["注册进程重启前的函数",{"2":{"26":1,"45":1}}],["注册进程停止前的函数",{"2":{"25":1,"43":1}}],["注册停止后的函数",{"2":{"24":1,"44":1}}],["注册启动时的函数",{"2":{"41":1,"42":1}}],["注册启动后的函数",{"2":{"23":1}}],["注册启动前的函数",{"2":{"22":1}}],["共享内存通信",{"0":{"271":1},"1":{"272":1,"273":1}}],["共享内存对象",{"2":{"97":1}}],["共享内存模块",{"2":{"80":1}}],["订阅者接收消息时的回调",{"2":{"90":1}}],["频道",{"2":{"89":1,"90":1,"91":1}}],["发布消息",{"2":{"89":1}}],["发送函数为同步函数",{"2":{"61":1}}],["发送数据",{"2":{"61":1}}],["删除键值对",{"2":{"87":1}}],["值",{"2":{"85":1,"86":1}}],["键值对",{"2":{"88":1}}],["键",{"2":{"85":1,"86":1,"87":1}}],["类似于minecraft的mcfunction",{"2":{"280":1}}],["类似于redis",{"2":{"80":1}}],["类型",{"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"133":1,"134":1,"250":1}}],["依赖关系",{"2":{"79":1}}],["该功能需要commit",{"2":{"297":1}}],["该模块封装通道实现",{"2":{"272":1}}],["该模块参考并引用了nonebot",{"2":{"190":1}}],["该模块用于存放一些开发工具",{"2":{"131":1}}],["该模块用于常用配置文件的加载",{"2":{"103":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"79":1}}],["该步骤为必要项",{"2":{"9":1}}],["设置用户信息或打开属性设置菜单",{"2":{"301":1}}],["设置",{"2":{"298":1,"301":1}}],["设置共享内存",{"2":{"273":1}}],["设置后的插件名称",{"2":{"157":1}}],["设置插件名称颜色",{"2":{"157":1}}],["设置键值对",{"2":{"85":1}}],["设置通道实例",{"2":{"69":1,"70":1}}],["设备上python环境太乱了",{"2":{"6":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"270":1}}],["子进程中导入单例active",{"2":{"270":1}}],["子进程名称",{"2":{"125":1,"126":1,"128":1,"130":1}}],["子进程函数关键字参数",{"2":{"125":1}}],["子进程函数参数",{"2":{"125":1}}],["子进程函数",{"2":{"125":1}}],["子进程订阅者接收函数",{"2":{"82":1}}],["子进程初始化时实例化",{"2":{"67":1}}],["子进程可用的主动和被动通道",{"2":{"65":1}}],["装饰回调函数实现",{"2":{"270":1}}],["装饰一个函数在接收到数据后执行",{"2":{"142":1}}],["装饰器",{"2":{"64":1,"90":1,"142":1,"195":2}}],["装置要求",{"0":{"11":1},"1":{"12":1}}],["接收数据并执行函数",{"2":{"64":1}}],["接收函数",{"2":{"55":1}}],["会自动判断key版本",{"2":{"303":1}}],["会自动识别文件格式",{"2":{"108":1}}],["会话负载信息",{"2":{"295":1}}],["会触发最大递归深度限制",{"2":{"283":1}}],["会挂起等待",{"2":{"63":1}}],["会阻塞线程",{"2":{"62":1}}],["数据",{"2":{"61":1,"62":1,"63":1,"89":1,"91":1}}],["过滤函数",{"2":{"58":1,"64":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"295":1}}],["本项目遵循mit协议",{"2":{"295":1}}],["本项目是一个非盈利的开源项目",{"2":{"279":1}}],["本模块使用了nonebot",{"2":{"205":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"76":1}}],["本模块定义了一个通用的通道类",{"2":{"53":1}}],["本机默认为127",{"2":{"3":1}}],["并且应该在metadata",{"2":{"294":1}}],["并且不用修改源代码",{"2":{"293":1}}],["并且支持vitepress相关内容",{"2":{"278":1}}],["并在其中写入一些代码",{"2":{"292":1}}],["并在其中写入以下代码",{"2":{"292":1}}],["并在其中创建一个",{"2":{"288":1}}],["并遵循其许可进行修改",{"2":{"258":1}}],["并发运行异步函数",{"2":{"40":1}}],["并使用克隆而非直接下载的方式部署轻雪",{"2":{"6":1}}],["进程生命周期函数",{"2":{"43":2,"45":2}}],["进程函数关键字参数",{"2":{"118":1}}],["进程函数参数",{"2":{"118":1}}],["进程函数",{"2":{"37":1,"118":1}}],["进程名",{"2":{"18":1,"118":1}}],["|",{"0":{"40":1,"130":1,"146":1,"155":1,"188":1,"189":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":1,"224":1,"227":1,"228":1,"231":1,"232":1,"233":1,"234":1,"243":1,"244":1,"253":1},"2":{"34":1,"37":1,"40":2,"55":1,"58":1,"130":1,"146":1,"155":1,"188":1,"189":1}}],["7",{"2":{"31":1,"112":1,"149":1,"154":1,"158":1,"159":1}}],["775840726",{"2":{"7":1}}],["兼容键",{"2":{"30":1}}],["兼容旧版本",{"2":{"30":1}}],["获取用户信息",{"2":{"301":1}}],["获取唯一的轻雪bot实例",{"2":{"289":1}}],["获取共享内存",{"2":{"273":1}}],["获取主动通道",{"2":{"270":1}}],["获取被动通道",{"2":{"270":1}}],["获取已加载的插件",{"2":{"153":1}}],["获取日志格式",{"2":{"150":1}}],["获取指定子进程",{"2":{"130":1}}],["获取所有键值对",{"2":{"88":1}}],["获取键值对",{"2":{"86":1}}],["获取通道实例们",{"2":{"72":1}}],["获取通道实例",{"2":{"71":1}}],["获取配置",{"2":{"29":1,"30":1}}],["获取轻雪实例",{"2":{"28":1}}],["为可选参数",{"2":{"296":1}}],["为必填参数",{"2":{"296":1}}],["为子进程重启时调用",{"2":{"26":1}}],["为子进程停止时调用",{"2":{"25":1}}],["为你的python可执行文件路径",{"2":{"11":1}}],["未实现",{"2":{"24":1,"27":1,"50":1,"52":1}}],["返回true则执行回调函数",{"2":{"142":1}}],["返回",{"2":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"62":1,"63":1,"64":1,"71":1,"72":1,"86":1,"88":1,"90":1,"104":1,"142":1,"153":1,"157":1,"195":1,"259":1,"262":1,"263":1}}],["关键字参数",{"2":{"19":1}}],["自动调用",{"2":{"19":1}}],["joined",{"0":{"234":1}}],["join",{"0":{"119":1},"2":{"17":1,"109":1,"119":2,"120":1,"156":2,"262":2}}],["json",{"0":{"106":1},"2":{"0":1,"106":4,"108":2,"110":1}}],["json和toml作为配置文件",{"2":{"0":1}}],["延迟重启时间",{"2":{"17":1}}],["echo",{"2":{"281":3}}],["emoji",{"2":{"278":1}}],["empty",{"0":{"247":1,"248":1,"256":1},"2":{"155":1,"156":1,"256":1}}],["email",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["enable",{"2":{"297":2,"298":1,"299":2,"300":2}}],["end",{"2":{"282":1}}],["endswith",{"2":{"108":3,"109":1,"156":1,"289":1}}],["en",{"2":{"277":1}}],["ensure",{"2":{"260":1}}],["enumerate",{"2":{"246":1}}],["enum",{"0":{"160":1,"206":1},"1":{"161":1,"162":1,"163":1,"164":1,"165":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1}}],["encoding=",{"2":{"105":1,"106":1,"107":1}}],["enforcing",{"2":{"60":1}}],["e",{"2":{"87":2,"155":1,"157":1,"260":2}}],["error",{"0":{"87":1},"2":{"87":3,"151":1,"260":1}}],["else",{"2":{"17":1,"18":1,"28":1,"40":1,"64":2,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":2,"105":1,"106":1,"107":1,"150":1,"151":7,"155":2,"236":1,"246":1,"260":1,"262":1}}],["elif",{"2":{"17":2,"60":1,"64":1,"108":4,"155":2,"156":1,"236":1,"237":1}}],["express",{"2":{"205":1}}],["extensions",{"2":{"289":2}}],["extend",{"2":{"146":1}}],["extra",{"0":{"173":1}}],["exclude",{"2":{"289":2}}],["exc",{"2":{"155":1,"196":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"143":1}}],["exception",{"0":{"143":1},"1":{"144":1},"2":{"155":1,"196":1,"260":2}}],["except",{"2":{"16":1,"87":1,"155":1,"196":1,"260":2}}],["executor",{"2":{"63":1}}],["executable",{"2":{"17":3}}],["exist",{"2":{"156":1}}],["exists",{"2":{"60":2,"69":1,"108":1,"109":1,"156":2}}],["exit",{"2":{"17":1}}],["event装饰器监听文件系统事件",{"2":{"289":1}}],["events",{"2":{"289":1}}],["eventhandler",{"0":{"195":2},"2":{"194":1,"195":4}}],["event",{"0":{"76":1,"77":1,"137":1,"138":1,"139":1,"140":1,"141":2,"142":2,"183":1,"186":1,"196":1,"255":1,"256":1,"257":1},"1":{"77":1,"78":2,"187":1,"188":1,"189":1},"2":{"15":4,"21":1,"79":1,"137":1,"138":2,"139":2,"140":2,"141":3,"142":8,"183":3,"186":1,"189":2,"196":4,"205":1,"248":2,"253":3,"254":3,"255":2,"256":1,"257":2,"260":2,"289":8}}],["外部启动接口",{"2":{"16":1}}],["加载",{"2":{"300":1}}],["加载资源包",{"0":{"294":1},"2":{"299":1}}],["加载插件",{"0":{"290":1},"1":{"291":1,"292":1}}],["加载插件加载器",{"2":{"15":1}}],["加载单个插件",{"2":{"155":1}}],["加入qq群",{"2":{"7":1}}],["生命周期函数",{"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"34":1,"41":2,"42":2,"44":2,"46":2}}],["生命周期管理",{"2":{"15":1}}],["生产环境中推荐反向websocket",{"2":{"3":1}}],["初始化通道",{"2":{"60":1}}],["初始化日志",{"2":{"20":1}}],["初始化轻雪",{"2":{"19":1}}],["初始化轻雪实例",{"2":{"15":1}}],["初始化",{"2":{"15":1}}],["occurred",{"2":{"260":1}}],["out",{"2":{"205":1}}],["outlook",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["otherwise",{"2":{"205":1}}],["other",{"0":{"253":1,"254":1},"2":{"205":2,"253":2,"254":2}}],["or",{"2":{"205":9,"253":2}}],["obtaining",{"2":{"205":1}}],["observer",{"0":{"132":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1},"2":{"142":1,"289":2}}],["overall",{"2":{"147":1}}],["os",{"2":{"108":1,"109":3,"156":9,"289":2}}],["of",{"2":{"61":1,"69":1,"147":1,"155":1,"205":8}}],["only",{"2":{"64":1}}],["on",{"0":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"54":1,"55":1,"64":1,"73":1,"74":1,"75":1,"81":1,"82":1,"90":3,"99":1,"100":1,"101":1,"102":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"245":1,"247":1,"248":1},"1":{"246":1,"247":1,"248":1},"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"55":2,"60":2,"64":4,"72":1,"73":3,"74":3,"75":2,"81":1,"82":1,"90":11,"91":1,"98":1,"99":3,"100":3,"101":3,"102":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":2,"182":1,"183":1,"245":1,"247":1,"248":4,"270":6,"289":1}}],["onebot",{"2":{"2":1,"3":1,"284":1,"297":1}}],["operator",{"0":{"244":1}}],["open",{"2":{"17":1,"105":1,"106":1,"107":1}}],["option",{"2":{"296":1}}],["optional",{"0":{"18":1,"60":1,"64":1,"86":2,"155":1,"180":1,"188":2},"2":{"17":1,"18":2,"29":1,"30":1,"60":1,"64":3,"84":2,"86":3,"155":1,"188":2}}],["opt",{"2":{"16":2,"155":3}}],["o",{"2":{"15":1}}],["=none",{"2":{"18":1,"60":1,"64":1,"86":1,"188":2}}],["==",{"2":{"17":3,"72":1,"73":2,"74":2,"75":1,"92":1,"98":1,"99":2,"100":2,"101":2,"102":1,"150":1,"236":1,"237":1,"262":1}}],["=",{"0":{"17":1,"18":1,"29":1,"30":1,"60":1,"64":1,"86":1,"87":1,"95":1,"96":1,"108":1,"109":1,"110":1,"118":2,"142":2,"156":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"188":2,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"247":3,"248":3,"253":1,"254":1,"255":1},"2":{"15":9,"17":6,"18":2,"39":7,"40":1,"60":10,"61":1,"62":1,"63":2,"64":1,"69":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":2,"84":6,"85":2,"86":2,"87":1,"88":1,"90":2,"92":1,"94":1,"99":3,"100":2,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":5,"116":3,"118":5,"120":1,"124":1,"125":1,"135":3,"142":2,"146":4,"151":2,"155":12,"156":6,"157":5,"188":10,"189":1,"194":5,"247":1,"252":1,"259":1,"260":2,"262":1,"263":1,"270":5,"273":1,"288":1,"289":2}}],[">",{"2":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":3,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":2,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"135":1,"142":2,"150":1,"153":1,"155":1,"156":1,"157":3,"195":2,"196":1,"247":1,"248":1,"253":2,"254":2,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1,"303":2}}],["在群聊启用",{"2":{"297":1}}],["在普通图片和markdown大图之间切换",{"2":{"297":1}}],["在b中定义了templates",{"2":{"294":1}}],["在配置文件中的liteyuki",{"2":{"291":1}}],["在设备上执行命令",{"2":{"282":1}}],["在发信器输出",{"2":{"281":1}}],["在你的仓库中创建一个pull",{"2":{"275":1}}],["在你的仓库中创建一个新的分支",{"2":{"275":1}}],["在你的仓库中进行开发",{"2":{"275":1}}],["在任意进程中均可使用",{"2":{"273":1}}],["在子进程中",{"2":{"270":1}}],["在轻雪插件中",{"2":{"270":1}}],["在新线程中运行协程",{"2":{"261":1}}],["在语言加载完成后执行",{"2":{"151":1}}],["在主进程中运行",{"2":{"92":1}}],["在github上查看",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["在安全模式下你可以使用npm",{"2":{"6":1}}],["或插件路径",{"2":{"155":1}}],["或",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"305":2}}],["源代码",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"273":1}}],["参与开发默认你已经了解python语言和轻雪框架的基本使用方法",{"2":{"275":1}}],["参考liteyuki",{"2":{"146":1}}],["参考值",{"2":{"3":1}}],["参数列表",{"2":{"297":2}}],["参数为调用set",{"2":{"270":1}}],["参数",{"2":{"15":1,"17":1,"18":1,"19":2,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"29":1,"30":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"64":1,"69":1,"70":1,"71":1,"85":1,"86":1,"87":1,"89":1,"90":1,"91":1,"104":1,"110":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"142":1,"146":1,"150":1,"151":1,"155":1,"156":1,"157":1,"189":1,"191":1,"194":1,"196":1,"259":1,"260":1,"261":1,"262":1,"263":1,"296":1,"305":1}}],["kind",{"2":{"205":1}}],["kill",{"2":{"120":1}}],["k",{"2":{"104":2}}],["keyword",{"2":{"248":2}}],["keywords为城市名",{"2":{"303":2}}],["keywords",{"0":{"248":2},"2":{"248":5,"299":1,"303":2}}],["keyerror",{"2":{"87":1,"126":1,"128":1}}],["keyvaluestore",{"0":{"83":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1},"2":{"94":1,"97":1}}],["keys",{"0":{"30":1},"2":{"30":3}}],["key",{"0":{"29":1,"30":1,"85":1,"86":1,"87":2},"2":{"29":3,"30":10,"85":6,"86":6,"87":11,"99":3,"100":3,"101":3,"104":2,"273":2,"297":4,"301":2,"303":1}}],["keyboardinterrupt",{"2":{"16":1}}],["kwargs=none",{"2":{"118":1}}],["kwargs",{"0":{"15":1,"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"15":3,"19":2,"40":3,"49":2,"51":2,"118":4,"125":3,"135":2,"263":2,"297":2}}],["k=szmdybfr6jy94o9kfnon7awelryi6m",{"2":{"7":1}}],["feat",{"2":{"278":1}}],["fitness",{"2":{"205":1}}],["filter=lambda",{"2":{"289":1}}],["filter",{"0":{"56":1,"57":1,"58":1,"64":2,"134":1,"142":2},"2":{"58":2,"64":8,"72":1,"73":2,"74":2,"75":1,"142":5,"270":1}}],["filesystemeventhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1}}],["filesystemevent",{"2":{"133":1,"134":1,"142":1,"289":2}}],["files",{"0":{"108":2},"2":{"108":3,"109":1,"110":1,"205":1}}],["file",{"0":{"105":1,"106":1,"107":1,"142":1},"2":{"31":1,"105":4,"106":4,"107":4,"108":12,"109":3,"112":1,"142":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1,"289":3}}],["future",{"2":{"260":1}}],["furnished",{"2":{"205":1}}],["function实现语法高亮",{"2":{"285":1}}],["function",{"2":{"280":1,"282":1,"283":2,"297":3}}],["functions",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1}}],["func=none",{"2":{"142":1}}],["func=lambda",{"2":{"72":1,"73":2,"74":2,"75":1,"270":1}}],["funcs",{"0":{"40":2,"81":1,"82":1,"91":1},"2":{"39":6,"40":4,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"64":1,"90":6,"91":2,"92":1}}],["func",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":4,"23":3,"24":3,"25":3,"26":4,"27":3,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":3,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":3,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":3,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":2,"119":1,"120":1,"121":1,"122":1,"124":1,"125":2,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":4,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":2},"2":{"22":7,"23":6,"24":6,"25":6,"26":7,"27":6,"34":2,"37":2,"39":6,"40":8,"41":8,"42":8,"43":8,"44":8,"45":8,"46":8,"55":2,"58":2,"60":2,"64":20,"81":1,"82":1,"90":8,"91":2,"118":1,"125":3,"135":2,"142":7,"259":2,"263":4,"282":1}}],["failed",{"2":{"155":1}}],["false",{"0":{"108":1,"109":1,"110":1,"247":1,"248":1},"2":{"2":4,"60":2,"84":2,"259":1}}],["friend",{"2":{"283":2}}],["free",{"2":{"205":1}}],["framework",{"2":{"147":1}}],["from",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1},"2":{"62":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":2,"191":2,"205":1,"270":4,"288":1,"289":3}}],["flake8",{"2":{"276":1}}],["flat",{"0":{"104":1},"2":{"104":2,"105":1,"106":1,"107":1}}],["flag",{"2":{"39":1}}],["following",{"2":{"205":1}}],["folder",{"2":{"181":1}}],["found",{"2":{"61":1,"69":1,"108":1,"109":1,"120":1,"122":1,"126":1,"128":1}}],["format=get",{"2":{"151":1}}],["formats",{"2":{"109":1}}],["format",{"0":{"150":1,"157":1},"2":{"108":1,"150":3,"151":1,"155":2,"157":1}}],["for",{"2":{"18":1,"30":1,"40":1,"60":1,"70":1,"91":1,"104":2,"108":1,"109":2,"117":1,"119":1,"121":1,"127":1,"129":1,"142":1,"156":2,"185":2,"191":1,"196":1,"205":2,"246":1,"248":1,"260":2,"288":1}}],["f",{"2":{"17":1,"18":2,"30":1,"60":2,"61":1,"69":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"126":1,"127":1,"128":1,"129":1,"155":5,"156":9,"157":1,"191":2,"236":2,"237":2,"260":1,"270":2,"289":1}}],["模块名",{"2":{"262":1}}],["模块",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"143":1,"145":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"186":1,"190":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["至少1gb空间",{"2":{"11":1}}],["至少1vcpu",{"2":{"11":1}}],["硬盘",{"2":{"11":1}}],["及服务",{"2":{"286":1}}],["及",{"2":{"11":1}}],["推荐私聊使用",{"2":{"297":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"293":1}}],["推荐",{"2":{"278":1}}],["推荐ubuntu",{"2":{"11":1}}],["推荐使用反向ws协议进行通信",{"2":{"3":1}}],["每隔0",{"2":{"283":1}}],["每行一个命令",{"2":{"281":1}}],["每个语言的文档都要修订",{"2":{"278":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"103":1}}],["每种语言都有对应的文档",{"2":{"278":1}}],["每次接收到字符串数据时都会运行",{"2":{"270":1}}],["每3秒发送一次消息",{"2":{"270":1}}],["每夜版镜像",{"2":{"10":1}}],["每天4点检查更新",{"2":{"1":1}}],["激活虚拟环境",{"2":{"9":1}}],["克隆项目到本地",{"2":{"9":1}}],["环境",{"2":{"9":1}}],["和风天气的天气key",{"2":{"303":1}}],["和10是不一样的",{"2":{"297":1}}],["和config目录下的所有配置文件",{"2":{"110":1}}],["和",{"2":{"9":1,"265":1,"297":1}}],["guide",{"2":{"278":1}}],["guild",{"0":{"209":1},"2":{"236":1,"237":1}}],["g",{"2":{"157":1,"306":1}}],["granted",{"2":{"205":1}}],["green>",{"2":{"151":1}}],["group",{"0":{"208":1},"2":{"7":1,"236":1,"237":1,"297":9,"298":1,"299":2,"305":3,"306":1}}],["gender",{"0":{"218":1}}],["generic",{"0":{"59":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"60":2,"61":1}}],["getattr",{"2":{"259":1}}],["get",{"0":{"28":1,"29":1,"30":1,"71":1,"72":1,"74":1,"75":1,"86":1,"88":1,"94":1,"99":1,"102":1,"130":1,"150":1,"153":1},"2":{"18":2,"28":2,"29":3,"30":5,"60":2,"61":1,"63":1,"71":2,"72":2,"73":1,"74":4,"75":3,"85":1,"86":4,"87":1,"88":2,"94":1,"97":1,"98":1,"99":3,"101":1,"102":3,"130":2,"146":1,"150":1,"151":2,"153":1,"155":3,"156":1,"185":2,"260":1,"270":8,"273":1,"289":2,"297":3,"298":1,"301":2}}],["gather",{"2":{"40":1,"260":1}}],["globalkeyvaluestore",{"0":{"93":1},"1":{"94":1,"95":1,"96":1},"2":{"97":1}}],["global",{"2":{"15":1,"64":1,"151":1,"299":2,"300":2}}],["gt",{"0":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"142":1,"150":1,"153":1,"155":1,"156":1,"157":1,"195":1,"196":1,"247":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1},"2":{"79":3,"104":1,"194":1,"262":1,"278":2,"296":1,"297":7,"299":10,"301":2}}],["github",{"2":{"9":1,"265":1}}],["git",{"2":{"9":3,"10":1}}],["常规操作",{"2":{"15":1}}],["常规部署",{"0":{"9":1}}],["常见问题",{"0":{"6":1}}],["安装插件",{"2":{"299":1}}],["安装的插件",{"2":{"155":1}}],["安装依赖",{"2":{"9":1}}],["安装",{"0":{"8":1},"1":{"9":1,"10":1,"11":1,"12":1},"2":{"9":1,"296":1,"300":1}}],["安全模式",{"2":{"2":1}}],["weather",{"0":{"303":1},"1":{"304":1},"2":{"303":1,"304":1}}],["world",{"2":{"281":5}}],["whether",{"2":{"205":1}}],["whom",{"2":{"205":1}}],["while",{"2":{"62":1,"92":1,"270":2}}],["watchdog",{"2":{"289":1,"292":1}}],["watch",{"2":{"288":1,"289":1}}],["wait",{"0":{"135":1},"2":{"135":2}}],["warranties",{"2":{"205":1}}],["warranty",{"2":{"205":1}}],["waring=no",{"2":{"110":1}}],["waring",{"0":{"109":1,"110":1},"2":{"109":3,"110":4}}],["warning=no",{"2":{"109":1,"110":1}}],["warning",{"0":{"108":1,"156":1},"2":{"11":2,"30":1,"108":5,"109":1,"120":1,"122":1,"151":1,"155":1,"156":8,"285":1,"300":1}}],["wrapper",{"0":{"263":1},"2":{"40":1,"64":2,"90":4,"118":1,"135":2,"142":2,"263":4}}],["will",{"2":{"30":1}}],["without",{"2":{"205":3}}],["with",{"0":{"30":1},"2":{"30":1,"85":1,"86":1,"87":1,"94":1,"205":1}}],["windows系统版本最低windows10+",{"2":{"11":1}}],["windows请使用项目绝对目录",{"2":{"10":1}}],["windows",{"2":{"9":1,"11":1,"17":1}}],["wv=1027",{"2":{"7":1}}],["ws",{"2":{"3":2}}],["b包也定义了一个index",{"2":{"294":1}}],["break",{"2":{"246":1}}],["bug",{"2":{"278":1}}],["but",{"2":{"205":1}}],["built",{"2":{"181":2}}],["black等工具进行代码检查和格式化",{"2":{"276":1}}],["block",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"247":2,"248":2}}],["blue>",{"2":{"151":1}}],["baseseg",{"0":{"198":1,"201":1,"203":1},"1":{"199":1,"200":1,"202":1,"204":1}}],["basemodel",{"0":{"166":1,"174":1,"198":1,"213":1,"219":1,"225":1,"229":1,"235":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["baseexception",{"0":{"144":1}}],["bashdocker",{"2":{"10":1}}],["bash",{"2":{"9":1}}],["b",{"2":{"104":1,"262":2,"306":1}}],["bool=false",{"2":{"108":1,"109":1,"110":1,"247":1,"248":1}}],["bool=true",{"2":{"87":1,"142":1,"156":1}}],["bool",{"0":{"60":1,"87":1,"108":1,"109":1,"110":1,"122":1,"142":1,"156":1,"194":1,"233":1,"247":1,"248":1,"255":1,"256":1,"257":1,"259":1},"2":{"56":1,"57":1,"60":1,"122":1,"134":1,"194":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":2}}],["bot无其他插件会占用300~500mb",{"2":{"11":1}}],["bot",{"0":{"13":1,"28":1,"31":1,"188":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"9":1,"10":1,"15":2,"28":4,"29":1,"30":4,"146":2,"188":3,"189":2,"270":4,"281":1,"289":2,"297":1,"305":3,"306":1}}],["bot部分插件提供了对接特定平台的能力",{"2":{"6":1}}],["be",{"2":{"30":1,"61":1,"64":1,"69":1,"137":1,"205":2}}],["before",{"0":{"22":1,"25":1,"26":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1},"2":{"22":2,"25":2,"26":2,"39":3,"41":2,"43":2,"45":2,"47":3,"49":3,"51":3}}],["bind",{"2":{"151":1,"304":1}}],["bin",{"2":{"7":1,"9":1}}],["qr",{"2":{"7":1}}],["qq群号",{"2":{"305":1}}],["qq",{"2":{"7":1}}],["qm",{"2":{"7":2}}],["quot",{"2":{"3":2,"205":4,"278":1,"285":2,"297":2,"303":4}}],["html中用",{"2":{"294":1}}],["html",{"2":{"294":1}}],["html文件会被覆盖",{"2":{"294":1}}],["html文件",{"2":{"294":2}}],["http等服务",{"2":{"286":1}}],["https",{"2":{"9":2}}],["http",{"2":{"7":1}}],["help",{"2":{"299":1,"300":1}}],["hello",{"2":{"281":5,"297":1}}],["hereby",{"2":{"205":1}}],["handle",{"0":{"195":1},"2":{"182":1,"183":1,"195":1}}],["handlers",{"2":{"194":1,"195":1,"196":1}}],["handler",{"0":{"191":1,"252":1},"2":{"142":3,"191":1,"195":4,"196":2,"252":3,"253":4,"254":4,"255":2}}],["hash",{"0":{"175":1},"2":{"175":2}}],["holders",{"2":{"205":1}}],["homepage",{"0":{"172":1}}],["host",{"2":{"1":1}}],["hint",{"2":{"60":1}}],["仍然出现问题",{"2":{"6":1}}],["确认插件必要配置项完好后",{"2":{"6":1}}],["怎么对接聊天平台",{"2":{"6":1}}],["报错invalidgitrepositoryerror",{"2":{"6":1}}],["其中type字段为commit类型且可选",{"2":{"278":1}}],["其中",{"2":{"6":1,"277":1}}],["其他插件占用视具体插件而定",{"2":{"11":1}}],["其他插件自带的调试功能也将开启",{"2":{"2":1}}],["其他问题请移步至",{"0":{"12":1}}],["其他问题",{"0":{"7":1}}],["其他",{"0":{"4":1,"267":1}}],["其他nonebot插件的配置项",{"2":{"2":1}}],["其他配置",{"0":{"2":1}}],["rpm",{"2":{"299":5,"300":1}}],["rpc",{"2":{"79":1,"286":1}}],["role",{"0":{"225":1,"232":2},"1":{"226":1,"227":1,"228":1}}],["rf",{"2":{"205":1}}],["railt",{"2":{"205":1}}],["raise",{"2":{"28":2,"60":3,"61":2,"62":1,"64":1,"69":2,"87":1,"90":1,"92":1,"126":1,"128":1,"137":1,"236":1}}],["raw",{"0":{"188":1},"2":{"183":1,"188":3,"189":1,"248":1}}],["rulehandlerfunc",{"0":{"250":1,"252":1},"2":{"252":1}}],["rule=empty",{"2":{"247":1,"248":1}}],["rule=is",{"2":{"182":1,"183":1}}],["rule",{"0":{"194":2,"247":3,"248":2,"249":1,"251":1,"253":2,"254":2,"256":1,"257":1},"1":{"250":1,"251":1,"252":2,"253":2,"254":2,"255":2,"256":1,"257":1},"2":{"182":1,"183":1,"194":5,"196":1,"247":3,"248":5,"249":1,"253":3,"254":3,"255":1,"256":3,"257":2}}],["running",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"63":1,"84":2,"260":2}}],["runtimeerror",{"2":{"28":2,"61":1,"62":1,"64":1,"90":1,"92":1,"260":1}}],["run",{"0":{"16":1,"40":1,"91":1,"146":1,"196":1,"260":1,"261":1},"2":{"16":3,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"91":1,"92":1,"117":1,"146":2,"196":1,"260":3,"261":1,"292":2}}],["r>",{"2":{"155":2}}],["rights",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"249":1}}],["request",{"2":{"275":1}}],["required",{"2":{"60":1}}],["requirements",{"2":{"6":1,"9":1,"11":1}}],["reload",{"2":{"297":1,"298":2,"299":1,"300":1}}],["reloading",{"2":{"289":1}}],["relative",{"2":{"262":1}}],["rel",{"2":{"262":5}}],["reply",{"0":{"189":1},"2":{"183":1,"189":3}}],["report设定为false",{"2":{"295":1}}],["report",{"2":{"1":1,"295":1}}],["red>",{"2":{"151":2}}],["remove",{"2":{"151":1}}],["ref",{"0":{"98":1}}],["recursive=recursive",{"2":{"142":1}}],["recursive",{"0":{"142":1},"2":{"142":2}}],["recv",{"2":{"60":2,"62":2,"71":5,"72":5,"74":3,"75":3,"86":5,"88":5,"99":3,"102":3,"191":2}}],["receive",{"0":{"54":1,"55":1,"62":1,"63":1,"64":1,"81":1,"82":1,"90":3,"91":1,"92":1,"188":1},"2":{"55":2,"60":3,"62":2,"63":2,"64":4,"71":1,"72":2,"73":2,"74":2,"75":1,"81":1,"82":1,"84":2,"86":1,"88":1,"90":11,"91":2,"92":4,"98":1,"99":2,"100":2,"101":2,"102":1,"188":3,"189":3,"270":11}}],["resources",{"2":{"277":1,"293":1,"294":1,"298":1}}],["resolve",{"2":{"262":2}}],["restriction",{"2":{"205":1}}],["restarting",{"2":{"17":1}}],["restart",{"0":{"17":1,"18":1,"26":1,"27":1,"45":1,"46":1,"51":1,"52":1},"2":{"15":1,"17":3,"18":1,"26":2,"27":2,"39":2,"45":2,"46":2,"51":3,"52":3,"289":2}}],["reserved",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["return",{"2":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":3,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"62":1,"63":1,"64":6,"71":2,"72":2,"86":2,"88":2,"90":2,"94":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"120":1,"122":1,"130":1,"135":3,"142":3,"150":2,"153":1,"155":2,"156":1,"157":1,"175":1,"195":2,"196":1,"236":2,"237":2,"247":1,"248":2,"253":2,"254":2,"255":2,"256":1,"257":1,"259":3,"262":2,"263":2}}],["r",{"2":{"6":1,"9":1,"11":1,"105":1,"106":1,"107":1}}],["mcfunction",{"2":{"281":2}}],["mute",{"0":{"233":1}}],["must",{"2":{"61":1,"69":1,"137":1}}],["mit",{"2":{"205":1}}],["msg",{"2":{"191":3,"297":1}}],["member",{"0":{"229":1,"243":2,"244":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1},"2":{"297":1}}],["memory",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"273":3}}],["merchantability",{"2":{"205":1}}],["merge",{"2":{"205":1}}],["message的语言",{"2":{"278":1}}],["message的格式为",{"2":{"278":1}}],["message字段为简短的描述",{"2":{"278":1}}],["message请遵循以下规范",{"2":{"278":1}}],["message=",{"2":{"189":1,"297":1}}],["message=message",{"2":{"189":1}}],["message",{"0":{"188":3,"189":1,"191":1,"197":1,"247":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1},"2":{"183":1,"188":9,"189":5,"191":1,"247":1,"248":2,"278":1,"305":1,"306":1}}],["messageevent",{"0":{"183":1,"187":1,"188":1,"196":1,"255":1,"256":1,"257":1},"1":{"188":1,"189":1},"2":{"183":1,"188":1,"189":1,"196":1,"248":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1}}],["meta",{"2":{"155":4,"288":1}}],["metadata",{"0":{"180":1},"2":{"155":13}}],["moved",{"0":{"140":1},"2":{"140":1}}],["modify",{"2":{"205":1}}],["modified",{"0":{"137":1},"2":{"137":2,"138":1,"139":1,"140":1,"141":1,"142":4}}],["moduletype",{"0":{"178":1}}],["module=module",{"2":{"155":1}}],["module",{"0":{"146":1,"155":1,"163":2,"178":1,"179":1,"262":1},"2":{"146":3,"147":1,"155":26,"156":9,"157":1,"175":1,"181":1,"262":1}}],["models",{"0":{"205":1},"1":{"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["model",{"0":{"159":1,"176":1},"1":{"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1},"2":{"159":1,"265":1}}],["mode为true",{"2":{"132":1}}],["mode",{"2":{"2":2,"6":1,"276":1,"297":2,"298":1}}],["marsho",{"2":{"265":1}}],["matcher",{"0":{"192":1,"193":1,"246":3,"247":1,"248":1},"1":{"193":1,"194":2,"195":2,"196":2},"2":{"192":1,"246":9,"247":6,"248":1}}],["match",{"2":{"157":1}}],["manager",{"0":{"112":1,"158":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":1,"21":1,"112":1,"158":1}}],["mainprocess",{"2":{"269":1}}],["main",{"0":{"81":1},"2":{"6":1,"9":1,"28":1,"60":2,"64":4,"69":1,"71":1,"72":1,"84":1,"85":1,"86":1,"87":1,"88":1,"90":5,"91":1,"92":1,"270":6,"277":1,"292":1}}],["m",{"2":{"6":1,"9":1,"11":1,"157":1,"246":2,"306":1}}],["答疑",{"0":{"5":1},"1":{"6":1,"7":1}}],["要使用其他通信方式请访问onebot",{"2":{"3":1}}],["如",{"2":{"278":2}}],["如需往轻雪仓库提交代码",{"2":{"275":1}}],["如需自定义请手动添加",{"2":{"2":1}}],["如何开发",{"0":{"275":1},"1":{"276":1}}],["如果是文档相关的开发",{"2":{"275":1}}],["如果你接触过minecraft的资源包",{"2":{"293":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"281":1}}],["如果你没有安装git直接下载源代码运行",{"2":{"11":1}}],["如果你给轻雪配置了accesstoken",{"2":{"3":1}}],["如果装置上有多个环境",{"2":{"11":1}}],["voice",{"0":{"212":1},"2":{"236":1,"237":1}}],["version=",{"2":{"288":1}}],["version",{"0":{"148":1},"2":{"294":1}}],["venv",{"2":{"9":4}}],["v",{"2":{"104":2}}],["validate",{"2":{"61":1}}],["value",{"0":{"85":1},"2":{"85":5,"100":3,"104":3,"273":2,"297":2,"301":1}}],["valueerror",{"2":{"60":2,"69":1,"236":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["var=value",{"2":{"282":1}}],["var2=value2",{"2":{"282":1}}],["var1=value1>",{"2":{"282":1}}],["var",{"0":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"98":1,"133":1,"134":1,"148":1,"250":1}}],["v11协议api",{"2":{"297":2}}],["v11",{"2":{"3":1,"284":1}}],["地址取决于配置文件",{"2":{"3":1}}],["地址",{"2":{"3":1}}],["反向websocket",{"2":{"3":1}}],["协议",{"2":{"3":1}}],["说明",{"2":{"3":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"81":1,"82":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"97":1,"98":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"117":1,"118":1,"120":1,"122":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"142":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"185":1,"188":1,"189":1,"194":1,"195":1,"196":1,"250":1,"259":1,"260":1,"261":1,"262":1,"263":1,"297":1,"299":2,"301":1}}],["不带key返回配置项列表",{"2":{"297":1}}],["不包含任何隐私信息",{"2":{"295":1}}],["不含隐私部分",{"2":{"295":1}}],["不含插件数据",{"2":{"295":1}}],["不同adapter",{"2":{"284":1}}],["不同的实现端给出的字段可能不同",{"2":{"3":1}}],["不限制commit",{"2":{"278":1}}],["不要出现无法访问的死链接",{"2":{"278":1}}],["不要出现过多的嵌套",{"2":{"103":1}}],["不要将多个功能或多个bug的代码混在一起提交",{"2":{"278":1}}],["不递归",{"2":{"109":1}}],["不再使用外层配置",{"2":{"1":1}}],["与nonebot对接的onebot实现端配置",{"0":{"3":1}}],["示例",{"0":{"3":1,"270":1,"273":1,"283":1}}],["监听目录们",{"2":{"142":1}}],["监听地址",{"2":{"1":1}}],["监视文件变化并自动重载",{"2":{"2":1}}],["开始",{"0":{"287":1},"1":{"288":1,"289":1,"290":1,"291":1,"292":1}}],["开发文档是详细的",{"2":{"278":1}}],["开发过程中可以使用mypy",{"2":{"276":1}}],["开发指南",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1}}],["开发者模式",{"2":{"2":1}}],["开发者选项",{"2":{"2":1}}],["开启后将会启动监视者",{"2":{"2":1}}],["开启后将不会加载任何第三方nonebot插件",{"2":{"2":1}}],["开启会自动重载bot或者资源",{"2":{"2":1}}],["2s戳两次",{"2":{"283":1}}],["22",{"2":{"182":1}}],["27",{"2":{"112":1,"149":1}}],["24",{"2":{"31":1,"159":1}}],["23",{"2":{"31":1,"154":1,"158":1}}],["20代替空格",{"2":{"297":1}}],["20和end",{"2":{"283":1}}],["2024",{"2":{"31":2,"112":2,"145":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"186":2,"192":2,"205":1,"245":2,"249":2}}],["2020",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["20216中的20216替换为你的端口号",{"2":{"10":1}}],["20216",{"2":{"1":1,"3":2}}],["20",{"2":{"11":1}}],["2019+",{"2":{"11":1}}],["2fghnnlvencigbdftsnn7",{"2":{"7":1}}],["2fdfn0tzbkycnbb",{"2":{"7":1}}],["2b5odg7k",{"2":{"7":1}}],["2",{"0":{"209":1},"2":{"2":1,"283":1,"294":1}}],["建议",{"0":{"276":1}}],["建议1gb以上",{"2":{"11":1}}],["建议开启",{"2":{"2":1}}],["建议迁移到liteyuki下",{"2":{"1":1}}],["默认普通图片",{"2":{"297":1}}],["默认开启",{"2":{"295":1}}],["默认插件加载器",{"2":{"185":1}}],["默认执行扁平化选项",{"2":{"108":1,"109":1}}],["默认值",{"2":{"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"86":1,"97":1,"98":1,"133":1,"134":1,"148":1,"250":1}}],["默认false",{"2":{"2":1}}],["默认语言",{"2":{"2":1}}],["默认为本机",{"2":{"1":1}}],["city",{"2":{"303":1,"304":1}}],["css相对路径引用b中的css",{"2":{"294":1}}],["css",{"2":{"293":1,"294":1}}],["cwd",{"2":{"262":1}}],["cyan>",{"2":{"151":1}}],["critical",{"2":{"151":1}}],["created",{"0":{"138":1},"2":{"138":1}}],["create",{"2":{"91":1}}],["cfg",{"2":{"146":4}}],["current|bot",{"2":{"305":1}}],["current|group",{"2":{"305":1}}],["current",{"2":{"135":3,"305":2,"306":1}}],["custom",{"2":{"2":4}}],["charge",{"2":{"205":1}}],["change",{"2":{"299":1,"300":1}}],["changed",{"2":{"289":1}}],["chans",{"0":{"191":1},"2":{"191":3}}],["channel时的通道标识",{"2":{"270":1}}],["channel即可",{"2":{"270":1}}],["channel及passive",{"2":{"270":1}}],["channel函数获取通道对象",{"2":{"270":2}}],["channel=none",{"2":{"189":1}}],["channeldeliver",{"0":{"113":1},"1":{"114":1},"2":{"118":1}}],["channels",{"0":{"70":2,"72":1,"75":1},"2":{"70":4,"72":2,"74":1,"75":3}}],["channel",{"0":{"53":1,"59":1,"65":1,"66":1,"67":2,"68":2,"69":3,"70":1,"71":2,"72":1,"73":1,"74":1,"89":1,"90":1,"91":1,"114":8,"188":2,"210":1,"211":1,"212":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":2,"61":2,"62":2,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1},"2":{"18":2,"60":5,"61":1,"62":1,"65":3,"66":3,"67":2,"68":1,"69":19,"70":5,"71":9,"72":10,"73":11,"74":7,"75":2,"79":2,"84":4,"86":1,"88":1,"89":4,"90":8,"91":3,"92":2,"114":12,"118":12,"188":4,"189":2,"236":3,"237":3,"270":12}}],["chan",{"0":{"191":1},"2":{"15":4,"18":4,"71":5,"72":5,"74":3,"75":3,"84":2,"85":1,"86":6,"87":1,"88":6,"89":1,"92":1,"98":1,"99":5,"100":2,"101":2,"102":4,"118":2,"191":1}}],["check",{"0":{"60":1},"2":{"60":8,"61":1}}],["c",{"2":{"31":1,"104":1,"112":1,"145":1,"149":1,"154":1,"157":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"249":1,"260":4,"262":2,"306":1}}],["category",{"0":{"211":1},"2":{"236":1,"237":1}}],["case",{"2":{"157":4}}],["cannot",{"2":{"61":1,"62":1,"90":1,"92":1}}],["can",{"2":{"28":1,"64":1}}],["callback",{"0":{"133":1,"142":2},"2":{"64":1,"142":4}}],["callable",{"0":{"64":3,"90":1,"142":1,"195":1,"259":2,"263":2},"2":{"32":1,"33":1,"35":1,"36":1,"40":1,"54":1,"56":1,"57":1,"64":10,"90":2,"116":1,"133":1,"134":1,"142":1,"195":1,"250":1,"259":2,"263":4}}],["call",{"0":{"259":1},"2":{"15":1,"17":2,"135":4,"255":1,"259":7}}],["cmd",{"2":{"17":5,"281":2,"282":1}}],["claim",{"2":{"205":1}}],["classmethod",{"2":{"93":1,"94":1}}],["class",{"0":{"14":1,"38":1,"59":1,"77":1,"83":1,"93":1,"113":1,"115":1,"123":1,"136":1,"144":1,"160":1,"166":1,"174":1,"187":1,"193":1,"198":1,"201":1,"203":1,"206":1,"213":1,"219":1,"225":1,"229":1,"235":1,"251":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"137":1,"138":1,"139":1,"140":1,"141":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"188":1,"189":1,"194":1,"195":1,"196":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"252":1,"253":1,"254":1,"255":1}}],["cls",{"0":{"94":1},"2":{"94":6}}],["close",{"2":{"260":1}}],["closed",{"2":{"60":1,"61":2,"62":2}}],["clone",{"2":{"9":1}}],["cpu",{"2":{"11":1,"295":1}}],["centos",{"2":{"11":1}}],["cd",{"2":{"9":1}}],["cgi",{"2":{"7":1}}],["copies",{"2":{"205":2}}],["copy",{"2":{"104":1,"205":2}}],["copyright",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":3,"245":1,"249":1}}],["color",{"2":{"157":7}}],["color=",{"2":{"151":7}}],["colors=true",{"2":{"16":2,"155":3}}],["code插件liteyuki",{"2":{"285":1}}],["code",{"2":{"142":3}}],["codemodifiedhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"142":1}}],["code=775840726",{"2":{"7":1}}],["coro",{"0":{"260":1,"261":1},"2":{"260":5,"261":2}}],["coroutine",{"0":{"259":1,"260":2,"261":2,"263":1},"2":{"40":1,"57":1,"64":2,"90":1,"250":1,"259":1,"260":2,"261":3,"263":2}}],["core",{"0":{"111":1,"112":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["conditions",{"2":{"205":1}}],["contract",{"2":{"205":1}}],["content",{"0":{"202":1}}],["continue",{"2":{"109":1,"156":3}}],["connection",{"2":{"205":1}}],["conn",{"2":{"60":4,"61":1,"62":1}}],["configs",{"0":{"109":1},"2":{"109":1,"110":1}}],["config=self",{"2":{"20":1}}],["config",{"0":{"29":1,"30":1,"103":1,"104":2,"110":1,"151":1,"176":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"2":2,"15":2,"20":1,"29":2,"30":6,"104":9,"105":6,"106":6,"107":6,"108":7,"109":4,"110":9,"146":1,"151":4,"185":2,"297":4,"298":1}}],["count",{"0":{"98":1},"2":{"15":1,"17":2}}],["combined",{"2":{"253":2,"254":2}}],["commit",{"2":{"278":2}}],["comm",{"0":{"53":1,"76":1,"79":1,"80":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"270":2,"273":2}}],["command>",{"2":{"282":2}}],["command",{"0":{"297":1},"1":{"298":1},"2":{"1":2}}],["complete",{"2":{"260":2}}],["completion",{"2":{"2":1}}],["compat",{"0":{"30":2},"2":{"30":8}}],["com",{"2":{"7":1,"9":1,"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["cn",{"2":{"2":1}}],["duration>",{"2":{"305":1}}],["duration",{"2":{"305":2,"306":1}}],["driver",{"2":{"270":4}}],["dog",{"2":{"288":1,"289":1}}],["docker相关内容目录",{"2":{"277":1}}],["docker",{"2":{"277":1}}],["docstring",{"2":{"278":1}}],["docstring或liteyuki",{"2":{"278":1}}],["docs",{"2":{"277":1,"297":1,"298":1}}],["documentation",{"2":{"205":1}}],["do",{"2":{"205":1}}],["does",{"2":{"156":1}}],["d",{"2":{"98":2,"99":4,"100":4,"101":4,"102":2,"262":2,"306":1}}],["datetime",{"0":{"234":1}}],["data=",{"2":{"189":1}}],["data",{"0":{"61":1,"73":1,"74":1,"75":1,"78":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"188":1,"200":1},"2":{"61":6,"62":2,"63":2,"64":5,"72":2,"73":7,"74":7,"75":4,"78":3,"89":4,"90":3,"91":3,"92":6,"99":4,"100":3,"101":2,"102":2,"188":5,"270":7}}],["damages",{"2":{"205":1}}],["daemon=true",{"2":{"17":1,"117":1,"261":1}}],["darwin",{"2":{"17":1}}],["disable",{"2":{"297":1,"298":1,"299":2,"300":2}}],["distribute",{"2":{"205":1}}],["display",{"0":{"157":2},"2":{"155":7,"157":4}}],["diagnose=false",{"2":{"151":1}}],["dir",{"0":{"156":1},"2":{"156":16,"185":2}}],["directory",{"2":{"109":6,"142":2,"156":1}}],["directories=",{"2":{"289":1}}],["directories",{"0":{"109":1,"142":1},"2":{"109":2,"142":3}}],["dirs",{"0":{"109":1},"2":{"1":1,"109":1,"110":1,"185":1}}],["dict",{"0":{"70":1,"72":1,"73":1,"74":1,"75":1,"78":1,"88":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"151":1,"153":1,"173":1,"188":2,"189":1,"200":1},"2":{"15":1,"68":1,"70":2,"72":3,"73":1,"74":1,"75":1,"78":1,"81":1,"82":1,"84":2,"88":3,"99":1,"100":1,"101":1,"102":1,"104":3,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":3,"124":1,"151":1,"153":2,"155":6,"188":2,"189":1}}],["dealings",{"2":{"205":1}}],["deal",{"2":{"205":1}}],["description=",{"2":{"288":1}}],["description",{"0":{"168":1},"2":{"294":1}}],["debounce",{"0":{"135":1},"2":{"135":1,"136":1,"137":1}}],["debug",{"2":{"2":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"117":1,"127":1,"129":1,"150":2,"151":2,"191":1,"289":1}}],["deepcopy",{"2":{"104":1}}],["del",{"2":{"87":2}}],["deleted",{"0":{"139":1},"2":{"139":1}}],["delete",{"0":{"87":1,"101":1},"2":{"87":2,"100":1,"101":3}}],["delivery",{"2":{"118":1}}],["deliver",{"0":{"67":1,"68":1,"114":2},"2":{"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"114":6,"118":6}}],["delay",{"0":{"17":1},"2":{"17":3}}],["decorator",{"2":{"64":2,"90":2,"135":2,"142":2,"195":2}}],["def",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"73":1,"74":1,"75":1,"90":2,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"135":2,"137":1,"142":2,"183":1,"195":1,"196":1,"236":1,"237":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"263":1,"270":3,"289":1}}],["defaults",{"2":{"17":1,"18":1,"29":1,"30":1,"64":1}}],["default",{"0":{"29":1,"30":1,"86":1,"110":1,"167":1,"177":1,"178":1,"179":1,"185":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"2":1,"29":3,"30":3,"67":1,"68":1,"86":5,"99":3,"110":1,"146":1,"150":1,"185":1}}],["deprecated",{"2":{"30":1}}],["depth=1",{"2":{"9":1}}],["developer",{"2":{"288":1}}],["dev",{"0":{"131":1,"132":1,"145":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"146":1},"2":{"2":1,"289":1,"292":1}}],["访问令牌",{"2":{"2":1}}],["a包中的index",{"2":{"294":1}}],["am",{"2":{"270":6}}],["amp",{"0":{"254":1},"2":{"7":4}}],["api格式为onebot",{"2":{"297":1}}],["api文档",{"2":{"284":1}}],["api也有差别",{"2":{"284":1}}],["api",{"0":{"284":1},"2":{"267":1,"282":3,"283":2,"297":3}}],["application",{"0":{"161":2},"2":{"157":1,"286":1}}],["append",{"2":{"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"64":2,"90":2,"195":1,"246":1}}],["app",{"2":{"9":1,"10":1}}],["at",{"0":{"234":1}}],["attr",{"0":{"95":1,"96":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["avatar",{"0":{"217":1,"223":1}}],["above",{"2":{"205":1}}],["arising",{"2":{"205":1}}],["arbitrary",{"0":{"176":1}}],["argv",{"2":{"17":1}}],["args=coro",{"2":{"261":1}}],["args=",{"2":{"17":1,"117":1}}],["args",{"0":{"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"17":2,"19":2,"40":3,"49":2,"51":2,"118":3,"125":3,"135":2,"263":2,"297":4}}],["adapter",{"0":{"239":1}}],["adapter获取详细信息",{"2":{"3":1}}],["add",{"0":{"118":1,"125":1,"246":1},"2":{"118":1,"125":1,"151":1,"156":1,"246":1,"247":1}}],["associated",{"2":{"205":1}}],["as",{"2":{"87":1,"155":1,"205":1,"260":1}}],["asynchronous",{"2":{"263":1}}],["async",{"0":{"33":1,"36":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"57":1,"63":2,"91":1,"92":1,"183":1,"196":1,"255":1,"256":1,"257":1,"263":1},"2":{"34":1,"37":1,"40":3,"55":1,"58":1,"63":1,"64":1,"81":1,"82":1,"90":1,"91":1,"92":1,"183":1,"248":1,"253":1,"254":1,"256":1,"257":1,"263":2,"270":2}}],["asyncio",{"2":{"15":2,"16":1,"40":1,"63":1,"91":1,"260":5,"270":2}}],["a",{"2":{"61":1,"62":1,"104":1,"156":1,"205":2,"262":1,"288":1}}],["an",{"2":{"61":1,"69":1,"205":1}}],["and",{"2":{"61":1,"142":1,"156":3,"205":5,"254":2,"289":2}}],["anybot",{"2":{"191":2}}],["any=none",{"2":{"29":1,"30":1}}],["any",{"0":{"29":2,"30":2,"64":2,"73":1,"74":1,"75":1,"78":1,"85":1,"86":2,"88":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"141":1,"173":1,"188":2,"189":1,"191":1,"200":1,"259":1,"263":1},"2":{"15":3,"29":3,"30":3,"32":1,"33":1,"35":1,"36":1,"54":1,"57":2,"64":7,"67":1,"68":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":3,"85":1,"86":4,"88":3,"89":1,"90":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"141":1,"188":2,"189":1,"191":1,"205":3,"248":1,"259":1,"263":1}}],["await",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"90":1,"92":2,"196":2,"253":2,"254":2,"255":1,"270":1,"282":1,"283":1,"285":1}}],["awaitable",{"2":{"33":1,"36":1}}],["after",{"0":{"23":1,"24":1,"27":1,"42":1,"44":1,"46":1,"48":1,"50":1,"52":1},"2":{"23":2,"24":2,"27":2,"39":3,"42":2,"44":2,"46":2,"48":3,"50":3,"52":3,"270":1}}],["action",{"2":{"205":1}}],["active和",{"2":{"270":1}}],["active和chan",{"2":{"118":1}}],["active=channel",{"2":{"118":1}}],["active=chan",{"2":{"118":1}}],["active",{"0":{"65":1,"67":1,"114":2},"2":{"18":6,"65":1,"84":2,"89":1,"92":1,"114":6,"118":4,"270":11}}],["activate",{"2":{"9":2}}],["accesstoken",{"2":{"3":1}}],["access",{"2":{"2":1}}],["authors",{"2":{"205":1}}],["author",{"0":{"171":1},"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["authkey=ygebdemdfnycwunr4w0m1m8",{"2":{"7":1}}],["auto",{"2":{"1":2,"2":1}}],["alive",{"0":{"122":1},"2":{"120":1,"122":2}}],["already",{"2":{"60":2,"69":1}}],["all",{"0":{"88":1,"102":1,"117":1,"119":1,"121":1,"127":1,"129":1},"2":{"16":1,"17":1,"21":1,"31":1,"88":2,"101":1,"102":3,"112":1,"117":1,"119":1,"121":1,"127":1,"129":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":1,"245":1,"249":1}}],["allowed",{"0":{"176":1}}],["allow",{"2":{"2":1}}],["alconna的消息段定义",{"2":{"190":1}}],["alconna是否自动补全指令",{"2":{"2":1}}],["alconna",{"2":{"2":1}}],["高级nonebot配置",{"2":{"2":1}}],["p",{"2":{"306":1}}],["poke",{"2":{"283":4}}],["portions",{"2":{"205":1}}],["port",{"2":{"1":1}}],["period\`",{"2":{"306":1}}],["period>",{"2":{"305":1}}],["period",{"2":{"305":2}}],["permit",{"2":{"205":1}}],["permission",{"2":{"205":2}}],["persons",{"2":{"205":1}}],["person",{"2":{"205":1}}],["purpose",{"2":{"205":1}}],["publish=publish",{"2":{"118":1}}],["publish",{"0":{"89":1,"114":1},"2":{"84":2,"89":2,"92":2,"114":3,"205":1}}],["pull",{"2":{"10":1}}],["page为页数",{"2":{"299":2}}],["page",{"2":{"299":2}}],["pacman",{"0":{"299":1},"1":{"300":1}}],["pack",{"2":{"294":2,"299":3}}],["param",{"2":{"296":1}}],["parts",{"2":{"262":2}}],["particular",{"2":{"205":1}}],["parent",{"0":{"224":1}}],["passive=channel",{"2":{"118":1}}],["passive=chan",{"2":{"118":1}}],["passive",{"0":{"66":1,"68":1,"114":2},"2":{"66":1,"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"84":2,"85":1,"86":1,"87":1,"88":1,"98":1,"99":2,"100":2,"101":2,"102":1,"114":6,"118":5,"270":13}}],["pathlib",{"2":{"155":1}}],["path",{"0":{"146":2,"155":2,"262":3},"2":{"6":3,"10":1,"11":1,"108":1,"109":2,"146":4,"155":16,"156":26,"262":11,"289":5}}],["profile",{"2":{"301":4}}],["property",{"2":{"235":1,"236":2,"237":1}}],["provided",{"2":{"205":1}}],["processfunctype",{"0":{"125":1},"2":{"125":1}}],["processes",{"2":{"18":1,"116":1,"120":2,"122":1,"124":1,"125":1,"126":2,"127":1,"128":2,"129":1,"130":1}}],["processmanager",{"0":{"115":1},"1":{"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"15":2}}],["process",{"0":{"18":1,"25":2,"26":3,"35":1,"36":1,"37":1,"40":1,"43":3,"45":3,"49":1,"51":1,"122":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":4,"21":1,"25":5,"26":6,"28":2,"37":2,"39":4,"40":2,"43":6,"45":6,"49":2,"51":2,"60":1,"64":3,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":3,"92":2,"116":1,"117":2,"119":2,"120":7,"122":2,"126":1,"127":3,"128":1,"129":3,"130":1,"270":8,"289":2}}],["private",{"0":{"207":1},"2":{"236":1,"237":1}}],["priority",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"246":2,"247":2,"248":2}}],["print",{"2":{"15":1,"155":1,"196":1}}],["pwd",{"2":{"10":1}}],["platform",{"2":{"17":3}}],["playwright安装失败",{"2":{"6":1}}],["plugintype",{"0":{"157":1,"160":1,"170":2},"1":{"161":1,"162":1,"163":1,"164":1,"165":1},"2":{"157":5,"288":1}}],["pluginmetadata",{"0":{"166":1,"180":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1},"2":{"155":4,"288":2}}],["plugin的函数签名",{"2":{"146":1}}],["plugin",{"0":{"145":1,"152":1,"153":1,"154":1,"155":2,"156":2,"157":1,"158":1,"159":1,"174":1,"184":1},"1":{"146":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":2,"177":2,"178":2,"179":2,"180":2,"185":1},"2":{"1":1,"15":2,"145":1,"153":2,"155":14,"156":5,"157":4,"181":1,"185":6,"190":1,"205":1,"266":2,"288":4,"291":1,"292":2,"299":5}}],["plugins下创建一个文件",{"2":{"292":1}}],["plugins中添加你的插件路径",{"2":{"291":1}}],["plugins目录下为插件目录",{"2":{"277":1}}],["plugins和nonebot",{"2":{"277":1}}],["plugins",{"0":{"146":1,"153":1,"156":1,"181":1,"182":1,"184":1,"185":1},"1":{"183":1,"185":1},"2":{"1":1,"15":1,"146":6,"153":2,"155":3,"156":9,"181":1,"185":4,"277":2,"289":1,"292":2}}],["py即可启动插件",{"2":{"292":1}}],["pyo",{"2":{"289":1}}],["pycache",{"2":{"289":1}}],["pyc",{"2":{"289":1}}],["pycharm",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["py文件",{"2":{"288":1}}],["py文件或一个包含",{"2":{"288":1}}],["py的文件夹即可被识别为插件",{"2":{"288":1}}],["py",{"2":{"9":1,"31":1,"112":1,"145":1,"149":1,"154":1,"156":3,"158":1,"159":1,"182":1,"184":2,"186":1,"192":1,"245":1,"249":1,"273":1,"277":1,"288":1,"289":1,"292":2,"294":1}}],["py来启动bot",{"2":{"6":1}}],["python格式",{"2":{"281":1}}],["pythonfrom",{"2":{"270":1,"273":1,"288":1,"292":1}}],["pythonimport",{"2":{"270":1,"289":1}}],["pythonasync",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"92":1,"196":1,"255":1}}],["pythondef",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"62":1,"64":1,"69":1,"70":1,"71":1,"72":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"138":1,"139":1,"140":1,"141":1,"142":1,"146":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"185":1,"188":1,"189":1,"191":1,"194":1,"195":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["python3",{"2":{"9":1}}],["python是你要用来运行bot的可执行文件",{"2":{"6":1}}],["python",{"2":{"6":2,"9":2,"11":2,"40":1,"73":1,"74":1,"75":1,"91":1,"94":1,"99":1,"100":1,"101":1,"102":1,"137":1,"183":1,"236":1,"237":1,"256":1,"257":1,"278":1}}],["pipe",{"2":{"60":2}}],["pip",{"2":{"6":1,"9":1,"11":1,"155":1}}],["pip和python不对应怎么办",{"2":{"6":1}}],["utils",{"0":{"258":1},"1":{"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"277":1}}],["utf",{"2":{"105":1,"106":1,"107":1}}],["url",{"0":{"204":1}}],["usage",{"0":{"169":1}}],["user",{"0":{"188":1,"213":1,"230":2,"242":2,"301":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"188":3,"189":2,"236":1,"237":2,"257":1,"283":3}}],["used",{"2":{"64":1,"181":1}}],["use",{"2":{"1":1,"30":1,"155":1,"205":2}}],["unload",{"2":{"299":1,"300":1}}],["until",{"2":{"260":2}}],["uninstall",{"2":{"299":1,"300":1}}],["uninstall卸载问题插件",{"2":{"6":1}}],["uninfo的部分模型定义",{"2":{"205":1}}],["unclassified",{"0":{"164":2,"170":1}}],["unsupported",{"2":{"108":1}}],["u",{"2":{"7":1}}],["update",{"2":{"1":1,"2":1,"108":3,"109":1,"110":1,"297":1,"298":1,"299":1,"300":1}}],["某些控制台字体不可用",{"2":{"1":1}}],["text",{"0":{"201":1,"210":1},"1":{"202":1},"2":{"236":1,"237":1}}],["tests",{"2":{"277":1}}],["test",{"0":{"165":2},"2":{"157":1}}],["terminating",{"2":{"129":1}}],["terminated",{"2":{"120":1}}],["terminate",{"0":{"120":1,"121":1,"128":1,"129":1},"2":{"17":1,"21":1,"120":2,"121":2,"128":2,"129":2}}],["the",{"2":{"147":1,"155":1,"181":1,"205":14}}],["this",{"2":{"147":1,"181":1,"205":2}}],["thread",{"0":{"191":1,"261":1},"2":{"17":1,"117":1,"191":1,"261":2}}],["threading",{"0":{"96":1},"2":{"15":1,"17":1,"117":1,"261":1}}],["type=plugintype",{"2":{"288":1}}],["type=self",{"2":{"189":2}}],["types",{"0":{"176":1}}],["typeerror",{"2":{"60":1,"61":1,"69":1}}],["type",{"0":{"60":1,"157":1,"170":1,"188":2,"199":1,"221":1},"2":{"60":11,"61":7,"69":1,"155":2,"157":4,"188":6,"189":2,"278":1}}],["typealias",{"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"133":1,"134":1,"250":1}}],["tar",{"2":{"205":1}}],["target",{"0":{"118":3,"237":1},"2":{"118":5,"237":1}}],["target=run",{"2":{"261":1}}],["target=self",{"2":{"117":1}}],["target=os",{"2":{"17":1}}],["targets",{"2":{"116":1,"117":1,"118":1,"119":1,"121":1,"122":1}}],["task",{"2":{"91":1,"117":1}}],["tasks",{"2":{"40":2}}],["tuple=",{"2":{"118":1}}],["tuplestr",{"2":{"30":1}}],["tuple",{"0":{"30":1,"73":1,"74":1,"75":1,"99":1,"100":1,"101":1,"102":1,"114":2,"118":1,"142":1},"2":{"30":1,"68":1,"73":1,"74":1,"75":1,"84":3,"99":1,"100":1,"101":1,"102":1,"114":2,"116":2,"142":1}}],["t",{"0":{"59":1,"61":1,"62":1,"63":1,"64":2},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"28":1,"54":1,"56":1,"57":1,"61":2,"62":2,"63":2,"64":7}}],["time>",{"2":{"282":1}}],["timeout",{"2":{"120":1}}],["time",{"2":{"17":1,"31":1,"112":1,"135":9,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["tip",{"2":{"10":1,"285":1,"294":1,"296":1}}],["trss",{"2":{"267":2}}],["trim",{"2":{"265":2}}],["traceback",{"2":{"155":1,"196":1}}],["trace",{"2":{"151":1}}],["try",{"2":{"16":1,"87":1,"155":1,"196":1,"260":1}}],["true下启动轻雪",{"2":{"6":1}}],["true",{"0":{"87":1,"142":1,"156":1,"176":1},"2":{"1":3,"2":1,"62":1,"92":1,"151":1,"255":1,"256":1,"270":2,"276":1}}],["txt",{"2":{"9":1}}],["txt来安装依赖",{"2":{"6":1,"11":1}}],["tokyo",{"2":{"303":1}}],["token",{"2":{"2":1}}],["tort",{"2":{"205":1}}],["toml",{"0":{"107":1},"2":{"107":4,"108":2,"110":1}}],["toml和config目录下的所有配置文件",{"2":{"0":1}}],["to",{"0":{"262":1},"2":{"6":3,"10":1,"11":2,"17":1,"18":1,"29":1,"30":1,"61":1,"64":1,"155":5,"156":2,"181":1,"205":8,"262":2}}],["image",{"0":{"203":1},"1":{"204":1},"2":{"297":2,"298":1}}],["implementation",{"2":{"286":1}}],["implemented",{"2":{"137":1}}],["implied",{"2":{"205":1}}],["import",{"2":{"98":1,"155":1,"270":5,"273":1,"288":2,"289":3,"292":1}}],["iterable",{"0":{"191":1},"2":{"191":1}}],["items",{"2":{"70":1,"104":2,"127":1,"129":1}}],["ignore",{"0":{"87":1,"156":1},"2":{"87":3,"156":5}}],["id仅超级用户可用",{"2":{"297":1}}],["id=user",{"2":{"283":2}}],["id=1234567",{"2":{"297":2}}],["id=123456",{"2":{"283":1}}],["id=self",{"2":{"189":3}}],["id",{"0":{"188":3,"214":1,"220":1,"226":1,"236":1,"237":1,"238":1},"2":{"64":5,"188":9,"189":3,"236":3,"237":4,"257":1,"283":2,"297":2,"299":1,"305":4}}],["ids",{"2":{"60":2,"64":2}}],["if",{"2":{"17":2,"18":1,"28":2,"30":2,"40":1,"60":5,"61":3,"62":1,"64":6,"69":3,"71":1,"72":1,"85":1,"86":1,"87":3,"88":1,"90":5,"92":2,"94":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":3,"118":1,"120":2,"122":1,"126":1,"128":1,"135":1,"142":1,"150":1,"151":7,"155":2,"156":9,"188":1,"189":1,"196":1,"236":1,"237":1,"246":1,"255":1,"259":2,"260":1,"262":1}}],["isclass",{"2":{"259":1}}],["iscoroutinefunction",{"2":{"259":2}}],["isroutine",{"2":{"259":1}}],["isfile",{"2":{"156":1,"289":1}}],["isdir",{"2":{"156":2}}],["isinstance",{"2":{"69":1,"104":1,"155":1,"270":1}}],["is",{"0":{"122":1,"257":1,"259":1},"2":{"15":1,"16":2,"18":1,"28":2,"40":1,"60":6,"61":1,"64":5,"69":1,"71":1,"72":1,"84":2,"85":1,"86":1,"87":1,"88":1,"90":3,"92":1,"94":2,"105":1,"106":1,"107":1,"118":1,"120":1,"122":2,"142":1,"147":1,"155":1,"156":2,"181":1,"188":1,"205":4,"255":1,"257":1,"259":1,"260":1}}],["i",{"0":{"191":1},"2":{"15":1,"191":3,"246":2,"270":6}}],["icu",{"2":{"9":1,"10":1}}],["icon=f",{"2":{"151":7}}],["icon",{"2":{"1":1,"151":9}}],["index",{"2":{"294":1}}],["inspect",{"2":{"259":4,"263":1}}],["insert",{"2":{"246":1}}],["instead",{"2":{"30":1}}],["instance",{"0":{"94":1,"95":1},"2":{"15":2,"28":4,"61":1,"69":1,"94":5,"97":1}}],["install安装浏览器",{"2":{"6":1}}],["install",{"2":{"6":1,"9":1,"11":1,"296":1,"299":1,"300":1}}],["invalid",{"2":{"236":1}}],["included",{"2":{"205":1}}],["including",{"2":{"205":2}}],["inner",{"2":{"60":2}}],["in",{"0":{"110":1,"261":1},"2":{"18":1,"28":1,"30":3,"40":1,"60":2,"63":1,"64":1,"69":1,"70":1,"87":1,"90":3,"91":1,"92":1,"104":2,"108":1,"109":2,"110":1,"117":1,"119":1,"120":1,"121":1,"122":1,"126":1,"127":1,"128":1,"129":1,"142":1,"146":1,"156":2,"181":2,"185":2,"191":1,"196":1,"205":6,"236":1,"237":1,"246":1,"248":2,"257":1,"260":2,"261":1,"289":1}}],["int=0",{"2":{"17":1,"247":1,"248":1}}],["int",{"0":{"17":1,"194":1,"206":1,"227":1,"247":1,"248":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"17":1,"39":1,"60":2,"194":1}}],["initialized",{"2":{"28":1}}],["initializing",{"2":{"15":1}}],["init",{"0":{"15":1,"19":1,"20":1,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"188":1,"194":1,"252":1},"2":{"15":2,"19":2,"20":2,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"156":2,"184":1,"188":1,"194":1,"252":1,"262":1,"288":3}}],["info",{"2":{"1":1,"15":1,"16":2,"17":1,"151":1,"191":1,"270":2}}],["日志等级",{"2":{"1":1,"150":1}}],["lyf结尾",{"2":{"281":1}}],["lyfunction语法",{"2":{"297":1}}],["lyfunction",{"2":{"281":1}}],["lt",{"2":{"278":2,"296":1,"297":7,"299":10,"301":2}}],["locks",{"2":{"87":1}}],["lock",{"0":{"96":2},"2":{"85":3,"86":3,"87":3,"94":1}}],["loaded",{"0":{"153":1},"2":{"153":1}}],["loader",{"0":{"184":1,"185":1},"1":{"185":1},"2":{"15":1,"185":1}}],["loading",{"2":{"105":1,"106":1,"107":1}}],["load",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"154":1,"155":1,"156":1},"1":{"155":1,"156":1,"157":1},"2":{"15":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":3,"146":2,"154":1,"155":3,"156":2,"185":2,"299":1,"300":1}}],["loop",{"0":{"92":1},"2":{"15":4,"60":1,"63":3,"84":2,"92":2,"260":10}}],["log0000",{"2":{"270":1}}],["logger",{"0":{"20":1},"2":{"15":1,"16":2,"17":1,"19":1,"20":1,"30":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"127":1,"129":1,"151":11,"155":3,"156":3,"191":2,"260":1,"270":3,"289":2}}],["logo",{"2":{"15":1}}],["log",{"0":{"149":1,"151":1},"1":{"150":1,"151":1},"2":{"1":2,"20":1,"149":1,"151":3,"270":1}}],["last",{"2":{"135":4}}],["lambda",{"2":{"98":1,"99":2,"100":2,"101":2,"102":1}}],["latest",{"2":{"10":1}}],["language",{"2":{"2":1}}],["liability",{"2":{"205":1}}],["liable",{"2":{"205":1}}],["limited",{"2":{"205":1}}],["limitation",{"2":{"205":1}}],["license",{"2":{"205":1}}],["litedoc",{"2":{"267":1}}],["liteecho",{"0":{"182":1,"183":1},"1":{"183":1},"2":{"182":2,"183":2,"297":1}}],["liteyuki框架是包含在liteyukibot应用中的",{"2":{"277":1}}],["liteyukiexception",{"0":{"144":1}}],["liteyukibot代替$",{"2":{"10":1}}],["liteyukibot",{"0":{"14":1,"28":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1},"2":{"9":2,"17":1,"28":2,"146":1,"265":2,"266":2,"267":2,"277":1}}],["liteyukistudio",{"2":{"9":1,"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"245":1,"249":1}}],["liteyuki",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"143":1,"145":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"186":1,"190":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1,"299":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"300":1},"2":{"1":2,"2":1,"9":1,"10":1,"15":2,"28":1,"146":2,"147":1,"155":5,"185":3,"265":1,"267":2,"270":12,"273":2,"277":3,"280":1,"288":1,"289":4,"292":1,"293":1,"297":4,"298":3}}],["listdir",{"2":{"109":1,"156":2}}],["list",{"0":{"188":1,"248":1},"2":{"39":6,"60":2,"81":1,"82":1,"188":1,"194":1,"246":3,"248":1,"297":1,"299":2,"300":1}}],["life",{"2":{"39":1}}],["lifespan=self",{"2":{"15":1}}],["lifespan",{"0":{"22":2,"23":1,"24":1,"25":1,"26":2,"27":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"116":2},"1":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":2,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2},"2":{"15":3,"22":5,"23":4,"24":4,"25":4,"26":5,"27":4,"31":1,"34":2,"37":2,"39":6,"40":4,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"116":4}}],["linux系统要支持python3",{"2":{"11":1}}],["linux",{"2":{"9":1,"17":1}}],["level=level",{"2":{"151":1}}],["level",{"0":{"150":1,"227":1},"2":{"1":1,"150":3,"151":10}}],["写在外层的配置项将会被覆盖",{"2":{"1":1}}],["switch",{"2":{"297":2,"298":1}}],["simple",{"2":{"288":1}}],["signature",{"2":{"263":2}}],["src目录下为应用程序部分",{"2":{"277":1}}],["src",{"2":{"185":1,"277":1,"289":5}}],["sparkles",{"2":{"278":2}}],["specified",{"2":{"155":1}}],["split",{"2":{"155":4}}],["scope",{"0":{"240":1},"2":{"236":4,"237":4}}],["scene",{"0":{"219":1,"224":1,"241":2},"1":{"220":1,"221":1,"222":1,"223":1,"224":1},"2":{"236":1,"237":1}}],["scenetype",{"0":{"206":1,"221":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"236":7,"237":6}}],["schedule",{"2":{"142":1}}],["scripts",{"2":{"9":1}}],["shinjuku",{"2":{"303":1}}],["shellstatistic",{"2":{"305":1}}],["shellbind",{"2":{"303":1}}],["shellweather",{"2":{"303":1}}],["shellmain",{"2":{"294":1}}],["shellvar",{"2":{"282":1}}],["shellcmd",{"2":{"281":1}}],["shell",{"2":{"281":1,"283":1}}],["shall",{"2":{"205":2}}],["shared",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"273":3}}],["show",{"2":{"151":8}}],["shutdown",{"0":{"24":1,"25":1,"43":1,"44":1,"49":1,"50":1},"2":{"24":2,"25":2,"39":2,"43":2,"44":2,"49":3,"50":3}}],["sync",{"0":{"32":1,"35":1,"54":1,"56":1},"2":{"34":1,"37":1,"55":1,"58":1,"263":1}}],["system",{"0":{"142":1},"2":{"17":4,"142":1,"289":2}}],["sys",{"2":{"17":3,"151":1}}],["so",{"2":{"205":1}}],["software",{"2":{"31":1,"112":1,"145":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"186":1,"192":1,"205":9,"245":1,"249":1}}],["source",{"2":{"9":1}}],["snowykami",{"2":{"31":2,"112":2,"145":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"186":2,"192":2,"245":2,"249":2}}],["su",{"0":{"257":1},"2":{"182":1,"183":1,"257":1}}],["succeeded",{"2":{"155":1}}],["success",{"2":{"120":1,"151":1,"155":2}}],["supported",{"2":{"109":1}}],["superusers",{"2":{"1":1,"257":1}}],["substantial",{"2":{"205":1}}],["subscribe",{"2":{"90":1}}],["subscriber",{"0":{"81":1,"82":1,"90":1,"91":1},"2":{"90":7,"91":2,"92":1}}],["subject",{"2":{"205":1}}],["sublicense",{"2":{"205":1}}],["subprocess",{"0":{"130":1},"2":{"124":1,"125":1,"130":1}}],["subprocessmanager",{"0":{"123":1},"1":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["sub",{"0":{"82":1},"2":{"28":1,"60":1,"64":1,"84":1,"90":4,"92":1}}],["sleep",{"2":{"17":1,"270":1,"282":1,"283":1}}],["style",{"2":{"278":1,"294":2}}],["stem",{"2":{"262":2}}],["stdout",{"2":{"151":1}}],["store",{"2":{"84":1,"85":1,"86":1,"87":2,"88":1,"181":1}}],["storage",{"0":{"80":1},"1":{"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"79":2,"273":2}}],["stopped",{"2":{"16":1}}],["stopping",{"2":{"16":1}}],["stop",{"0":{"21":1},"2":{"15":1,"16":1,"21":2}}],["stat",{"2":{"306":1}}],["statistic",{"2":{"306":1}}],["statistics",{"0":{"305":1},"1":{"306":1}}],["staticmethod",{"2":{"39":1,"40":1,"90":1,"91":1}}],["status",{"2":{"297":1,"298":1}}],["starmap",{"2":{"267":1}}],["startup",{"2":{"270":2}}],["startswith",{"2":{"182":1,"183":1}}],["starting",{"2":{"117":1,"127":1}}],["start保证alconna解析正常",{"2":{"1":1}}],["start",{"0":{"22":1,"23":1,"41":1,"42":1,"47":1,"48":1,"92":1,"117":1,"126":1,"127":1},"2":{"1":1,"16":1,"17":2,"22":2,"23":2,"39":2,"41":2,"42":2,"47":3,"48":3,"92":2,"117":2,"126":2,"127":2,"261":1,"270":1}}],["strip",{"2":{"183":2}}],["structure",{"2":{"61":1}}],["str",{"0":{"18":1,"29":1,"30":2,"60":1,"69":1,"70":1,"71":1,"72":1,"73":2,"74":2,"75":2,"78":2,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"142":1,"146":1,"150":2,"153":1,"155":1,"156":1,"157":2,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"177":1,"179":1,"188":9,"189":2,"199":1,"200":1,"202":1,"204":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"222":1,"223":1,"226":1,"228":1,"231":1,"238":1,"239":1,"240":1,"248":1,"262":1},"2":{"15":1,"18":2,"29":2,"30":3,"35":1,"36":1,"60":2,"68":2,"69":2,"70":2,"71":2,"72":3,"73":2,"74":2,"75":2,"78":2,"81":1,"82":1,"84":5,"85":1,"86":1,"87":1,"88":3,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"116":2,"118":1,"120":1,"122":1,"124":1,"125":1,"126":1,"128":1,"130":1,"142":1,"146":1,"150":2,"153":2,"155":1,"156":1,"157":3,"188":9,"189":2,"248":1,"257":1,"262":2,"270":1}}],["search",{"2":{"299":1,"300":1}}],["segment",{"0":{"199":1}}],["segments",{"0":{"197":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1}}],["sell",{"2":{"205":1}}],["select",{"2":{"191":1}}],["self",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"92":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"137":1,"138":1,"139":1,"140":1,"141":1,"175":1,"188":1,"189":1,"194":1,"195":1,"196":1,"236":1,"237":1,"238":1,"252":1,"253":1,"254":1,"255":1},"2":{"15":13,"16":4,"17":4,"18":2,"19":2,"20":1,"21":3,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"39":8,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":3,"48":3,"49":3,"50":3,"51":3,"52":3,"60":14,"61":6,"62":3,"63":2,"64":3,"78":3,"84":7,"85":3,"86":3,"87":4,"88":3,"89":2,"90":1,"92":4,"114":6,"116":4,"117":2,"118":2,"119":2,"120":3,"121":3,"122":3,"124":2,"125":2,"126":3,"127":2,"128":3,"129":2,"130":2,"137":1,"138":2,"139":2,"140":2,"141":2,"175":2,"188":10,"189":3,"194":5,"195":2,"196":3,"236":7,"237":8,"252":2,"253":2,"254":2,"255":3}}],["session",{"0":{"186":1,"188":2,"190":1,"192":1,"197":1,"205":1,"235":1,"236":1,"245":1,"249":1},"1":{"187":1,"188":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":2,"237":2,"238":2,"239":2,"240":2,"241":2,"242":2,"243":2,"244":2,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1},"2":{"188":6,"189":5,"236":1}}],["service",{"0":{"162":2},"2":{"157":1,"286":1,"288":1}}],["server",{"2":{"11":1}}],["sequence",{"0":{"40":1},"2":{"40":2}}],["send",{"0":{"61":1},"2":{"18":2,"60":2,"61":4,"69":1,"71":1,"72":1,"74":1,"75":1,"85":1,"86":1,"87":1,"88":1,"89":1,"92":1,"99":1,"102":1,"189":1,"270":3,"297":1}}],["set",{"0":{"69":1,"70":1,"73":1,"85":1,"100":1,"156":1},"2":{"15":1,"21":1,"69":2,"70":2,"72":1,"73":3,"85":2,"99":1,"100":3,"156":2,"260":1,"273":1,"297":2,"298":1,"301":2}}],["safe",{"2":{"2":1,"105":1}}],["num为每页显示数量",{"2":{"299":2}}],["num",{"2":{"299":2}}],["npm",{"2":{"299":7,"300":1}}],["nliteyuki",{"2":{"281":1}}],["nick",{"0":{"216":1}}],["nickname",{"0":{"231":1},"2":{"1":1}}],["name>",{"2":{"282":2}}],["name=module",{"2":{"155":3}}],["name=f",{"2":{"118":2}}],["name=",{"2":{"65":1,"66":1,"84":3,"288":1}}],["name",{"0":{"18":1,"60":1,"69":1,"71":1,"78":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"157":2,"167":1,"177":1,"179":1,"215":1,"222":1,"228":1,"262":1},"2":{"18":6,"60":9,"69":7,"70":2,"71":5,"73":3,"74":3,"78":3,"117":3,"118":5,"119":1,"120":6,"121":2,"122":5,"125":4,"126":5,"127":2,"128":5,"129":2,"130":3,"155":20,"156":9,"157":6,"175":1,"262":1,"270":2,"297":4,"299":8}}],["new",{"2":{"15":1,"104":3,"260":1}}],["normal>",{"2":{"151":1}}],["noninfringement",{"2":{"205":1}}],["nonlocal",{"2":{"135":1}}],["nonedog",{"2":{"288":1}}],["none",{"0":{"15":1,"18":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"64":1,"85":1,"86":1,"87":1,"89":1,"95":1,"118":1,"130":1,"142":1,"180":1,"188":2,"196":1,"215":2,"216":2,"217":2,"218":2,"222":2,"223":2,"224":2,"227":2,"228":2,"231":2,"232":2,"233":2,"234":2,"243":2,"244":2},"2":{"15":1,"18":2,"28":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":3,"61":1,"63":1,"64":2,"85":1,"87":1,"89":1,"94":2,"105":1,"106":1,"107":1,"118":1,"130":2,"133":1,"135":1,"142":1,"155":4,"156":1,"188":1,"196":1,"250":2,"255":1,"259":1}}],["nonebot插件目录",{"2":{"277":1}}],["nonebot",{"2":{"2":1,"258":1,"266":6,"270":3,"277":1,"288":1,"289":4,"292":1}}],["nonebot下配置已迁移至nonebot键下",{"2":{"1":1}}],["nonebot机器人的配置",{"2":{"1":1}}],["no",{"0":{"108":1,"109":1,"110":1,"167":1,"177":1,"178":1,"179":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"67":1,"68":1,"108":3,"109":3,"110":4,"205":1}}],["notice",{"2":{"205":2}}],["notimplementederror",{"2":{"137":1}}],["not",{"2":{"18":1,"28":1,"60":1,"61":2,"64":4,"69":1,"87":1,"90":3,"92":1,"105":1,"106":1,"107":1,"108":3,"109":3,"120":2,"122":2,"126":2,"128":2,"142":2,"155":1,"156":8,"196":1,"205":1,"289":2}}],["nohup",{"2":{"17":2,"282":1,"283":1}}],["node等进程",{"2":{"11":1}}],["noverify=0",{"2":{"7":1}}],["若不存在则返回空",{"2":{"297":1}}],["若不存在则创建于config",{"2":{"297":1}}],["若存在则返回",{"2":{"297":1}}],["若存在则覆盖",{"2":{"297":1}}],["若存在则会覆盖",{"2":{"297":1}}],["若要戳20s后停止",{"2":{"283":1}}],["若要接收外部请求请填写0",{"2":{"1":1}}],["若函数中启动了其他task",{"2":{"282":1}}],["若有面向普通用户部分",{"2":{"278":1}}],["若有子进程订阅则推送给子进程",{"2":{"92":1}}],["若为空",{"2":{"60":1}}],["若你不希望提供这些信息",{"2":{"295":1}}],["若你不能访问github",{"2":{"9":1}}],["若你修改了端口号请将20216",{"2":{"10":1}}],["若没有metadata",{"2":{"294":1}}],["若没有",{"2":{"1":1}}],["03",{"2":{"270":2}}],["0000",{"2":{"270":3}}],["00",{"2":{"270":18}}],["02",{"2":{"159":1,"184":1}}],["04",{"2":{"145":1}}],["04+",{"2":{"11":1}}],["0",{"0":{"17":1,"207":1,"247":1,"248":1},"2":{"1":5,"3":4,"15":1,"17":2,"39":1,"72":1,"73":2,"74":2,"75":1,"92":1,"98":2,"99":2,"100":2,"101":2,"102":1,"194":1,"283":1,"288":2,"294":2}}],["14s",{"2":{"305":2}}],["1h",{"2":{"305":2}}],["1d",{"2":{"305":2}}],["19",{"2":{"186":1,"192":1,"245":1,"249":1}}],["1919810",{"2":{"1":1}}],["1145141919810",{"2":{"297":1}}],["11",{"2":{"184":1}}],["18",{"2":{"145":1}}],["12",{"2":{"112":1,"149":1}}],["127",{"2":{"1":1,"3":1}}],["10",{"2":{"148":1,"297":1}}],["10+",{"2":{"9":1,"11":1}}],["10版本后",{"2":{"1":1}}],["1",{"0":{"208":1},"2":{"1":1,"2":1,"3":2,"17":2,"18":2,"64":1,"73":2,"74":2,"75":1,"92":2,"99":3,"100":2,"101":1,"102":1,"104":1,"136":1,"137":1,"155":4,"262":2,"288":1,"294":2}}],["请注意",{"2":{"293":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"293":1}}],["请确保用户文档是通俗易懂的",{"2":{"278":1}}],["请确保文档内的链接是正确的",{"2":{"278":1}}],["请确保文档是完善的",{"2":{"278":1}}],["请确保注释风格为google",{"2":{"278":1}}],["请确保代码的类型提示是正确的",{"2":{"278":1}}],["请确保代码是可运行的",{"2":{"278":1}}],["请确保你了解markdown语法和基本前端知识",{"2":{"275":1}}],["请遵循以下规范",{"2":{"278":1}}],["请阅读插件主页的说明",{"2":{"300":1}}],["请阅读插件开发文档和api",{"2":{"275":1}}],["请阅读以下内容",{"2":{"275":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"103":1}}],["请联系插件作者或在安全模式safe",{"2":{"6":1}}],["请先查阅插件文档",{"2":{"6":1}}],["请正确安装git",{"2":{"6":1}}],["请使用path",{"2":{"11":1}}],["请使用",{"2":{"6":1}}],["请在此填写相同的值",{"2":{"3":1}}],["请开启alconna",{"2":{"1":1}}],["请尽快迁移",{"2":{"1":1}}],["空命令头",{"2":{"1":1}}],["指令前缀",{"2":{"1":1}}],["31",{"2":{"182":1}}],["3",{"0":{"210":1},"2":{"1":1,"148":1,"156":1,"270":1}}],["6",{"2":{"1":1,"148":1}}],["轻雪天气liteyuki",{"0":{"303":1},"1":{"304":1}}],["轻雪文档",{"2":{"298":1}}],["轻雪命令liteyuki",{"0":{"297":1},"1":{"298":1}}],["轻雪会收集以下内容",{"2":{"295":1}}],["轻雪会自动合并这些配置文件",{"2":{"0":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"293":1}}],["轻雪主进程不涉及聊天部分",{"2":{"289":1}}],["轻雪函数",{"0":{"280":1},"1":{"281":1,"282":1,"283":1,"284":1,"285":1},"2":{"280":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"272":1}}],["轻雪运行在主进程",{"2":{"269":1}}],["轻雪api文档生成器",{"2":{"267":1}}],["轻雪官方星图",{"2":{"267":1}}],["轻雪官方机器人",{"2":{"265":1}}],["轻雪机器人统计接口",{"2":{"267":1}}],["轻雪机器人",{"2":{"266":1}}],["轻雪",{"2":{"265":1}}],["轻雪抽象消息事件",{"2":{"188":1}}],["轻雪生命周期管理",{"2":{"39":1}}],["轻雪实例",{"2":{"28":1}}],["轻雪的更新功能依赖git",{"2":{"11":1}}],["轻雪使用git进行版本管理",{"2":{"9":1}}],["轻雪不局限于onebot适配器",{"2":{"4":1}}],["轻雪调试",{"2":{"2":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"286":1}}],["轻雪插件目录",{"2":{"277":1}}],["轻雪插件目录列表",{"2":{"1":1}}],["轻雪插件列表",{"2":{"1":1}}],["轻雪支持yaml",{"2":{"0":1}}],["y",{"2":{"157":1}}],["your",{"2":{"155":2}}],["yellow>",{"2":{"151":1}}],["y>",{"2":{"16":2}}],["y>liteyuki",{"2":{"16":2}}],["yamlweather",{"2":{"303":1}}],["yamlname",{"2":{"294":1}}],["yamlnonebot",{"2":{"1":1}}],["yaml",{"0":{"105":1},"2":{"0":1,"2":1,"105":4,"108":2,"110":1}}],["yml格式的所有合法内容",{"2":{"297":1}}],["yml文件",{"2":{"294":1}}],["yml中填写一些信息",{"2":{"294":1}}],["yml中设置dev",{"2":{"276":1}}],["yml",{"2":{"0":1,"108":1,"110":1,"294":2,"297":1}}],["yml和config目录",{"2":{"0":1}}],["你在a包中定义了一个index",{"2":{"294":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"294":1}}],["你也可以自己制作资源包",{"2":{"293":1}}],["你的插件代码",{"2":{"288":1}}],["你的贡献将会使轻雪变得更好",{"2":{"279":1}}],["你应该使用其他储存方式",{"2":{"103":1}}],["你将无法使用更新功能",{"2":{"11":1}}],["你可以选择开启auto",{"2":{"295":1}}],["你可以自由使用",{"2":{"295":1}}],["你可以自定义一些信息",{"2":{"294":1}}],["你可以在多个线程中读写共享内存",{"2":{"272":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"272":1}}],["你可以使用nonebot2支持的任何适配器或使用轻雪讯息传递插件",{"2":{"4":1}}],["你可在config目录下创建多个配置文件",{"2":{"0":1}}],["你可修改配置项后重启轻雪",{"2":{"0":1}}],["你只需要修改superusers及nickname字段即可",{"2":{"0":1}}],["绝大多数情况下",{"2":{"0":1}}],["取决于你个人的喜好",{"2":{"0":1}}],["配置项",{"2":{"303":1}}],["配置项目",{"2":{"104":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"296":1}}],["配置文件尽量扁平化",{"2":{"103":1}}],["配置值",{"2":{"29":1,"30":1}}],["配置键",{"2":{"29":1,"30":1}}],["配置",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"15":2,"151":1,"298":1}}]],"serializationVersion":2}`;export{e as default}; +const e=`{"documentCount":307,"nextId":307,"documentIds":{"0":"/deploy/config.html#配置","1":"/deploy/config.html#基础配置项","2":"/deploy/config.html#其他配置","3":"/deploy/config.html#示例-与nonebot对接的onebot实现端配置","4":"/deploy/config.html#其他","5":"/deploy/fandq.html#答疑","6":"/deploy/fandq.html#常见问题","7":"/deploy/fandq.html#其他问题","8":"/deploy/install.html#安装","9":"/deploy/install.html#常规部署","10":"/deploy/install.html#使用docker构建","11":"/deploy/install.html#装置要求","12":"/deploy/install.html#其他问题请移步至答疑","13":"/dev/api/bot/#模块-liteyuki-bot","14":"/dev/api/bot/#class-liteyukibot","15":"/dev/api/bot/#func-init-self-kwargs-none","16":"/dev/api/bot/#func-run-self","17":"/dev/api/bot/#func-restart-self-delay-int-0","18":"/dev/api/bot/#func-restart-process-self-name-optional-str-none","19":"/dev/api/bot/#func-init-self-args-kwargs","20":"/dev/api/bot/#func-init-logger-self","21":"/dev/api/bot/#func-stop-self","22":"/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","23":"/dev/api/bot/#func-on-after-start-self-func-lifespan-func","24":"/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","25":"/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","26":"/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","27":"/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","28":"/dev/api/bot/#func-get-bot-liteyukibot","29":"/dev/api/bot/#func-get-config-key-str-default-any-none-any","30":"/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","31":"/dev/api/bot/lifespan.html#模块-liteyuki-bot-lifespan","32":"/dev/api/bot/lifespan.html#var-sync-lifespan-func","33":"/dev/api/bot/lifespan.html#var-async-lifespan-func","34":"/dev/api/bot/lifespan.html#var-lifespan-func","35":"/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","36":"/dev/api/bot/lifespan.html#var-async-process-lifespan-func","37":"/dev/api/bot/lifespan.html#var-process-lifespan-func","38":"/dev/api/bot/lifespan.html#class-lifespan","39":"/dev/api/bot/lifespan.html#func-init-self-none","40":"/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","41":"/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","42":"/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","43":"/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","44":"/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","45":"/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","46":"/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","47":"/dev/api/bot/lifespan.html#async-func-before-start-self-none","48":"/dev/api/bot/lifespan.html#async-func-after-start-self-none","49":"/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","50":"/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","51":"/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","52":"/dev/api/bot/lifespan.html#async-func-after-restart-self-none","53":"/dev/api/comm/channel.html#模块-liteyuki-comm-channel","54":"/dev/api/comm/channel.html#var-sync-on-receive-func","55":"/dev/api/comm/channel.html#var-on-receive-func","56":"/dev/api/comm/channel.html#var-sync-filter-func","57":"/dev/api/comm/channel.html#var-async-filter-func","58":"/dev/api/comm/channel.html#var-filter-func","59":"/dev/api/comm/channel.html#class-channel-generic-t","60":"/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","61":"/dev/api/comm/channel.html#func-send-self-data-t","62":"/dev/api/comm/channel.html#func-receive-self-t","63":"/dev/api/comm/channel.html#async-func-async-receive-self-t","64":"/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","65":"/dev/api/comm/channel.html#var-active-channel","66":"/dev/api/comm/channel.html#var-passive-channel","67":"/dev/api/comm/channel.html#var-channel-deliver-active-channel","68":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel","69":"/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","70":"/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","71":"/dev/api/comm/channel.html#func-get-channel-name-str-channel","72":"/dev/api/comm/channel.html#func-get-channels-dict-str-channel","73":"/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","74":"/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","75":"/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","76":"/dev/api/comm/event.html#模块-liteyuki-comm-event","77":"/dev/api/comm/event.html#class-event","78":"/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","79":"/dev/api/comm/#模块-liteyuki-comm","80":"/dev/api/comm/storage.html#模块-liteyuki-comm-storage","81":"/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","82":"/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","83":"/dev/api/comm/storage.html#class-keyvaluestore","84":"/dev/api/comm/storage.html#func-init-self","85":"/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","86":"/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","87":"/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","88":"/dev/api/comm/storage.html#func-get-all-self-dict-str-any","89":"/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","90":"/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","91":"/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","92":"/dev/api/comm/storage.html#async-func-start-receive-loop-self","93":"/dev/api/comm/storage.html#class-globalkeyvaluestore","94":"/dev/api/comm/storage.html#func-get-instance-cls","95":"/dev/api/comm/storage.html#attr-instance-none","96":"/dev/api/comm/storage.html#attr-lock-threading-lock","97":"/dev/api/comm/storage.html#var-shared-memory","98":"/dev/api/comm/storage.html#var-ref-count","99":"/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","100":"/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","101":"/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","102":"/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","103":"/dev/api/config.html#模块-liteyuki-config","104":"/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","105":"/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","106":"/dev/api/config.html#func-load-from-json-file-str-dict-str-any","107":"/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","108":"/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","109":"/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","110":"/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","111":"/dev/api/core/#模块-liteyuki-core","112":"/dev/api/core/manager.html#模块-liteyuki-core-manager","113":"/dev/api/core/manager.html#class-channeldeliver","114":"/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","115":"/dev/api/core/manager.html#class-processmanager","116":"/dev/api/core/manager.html#func-init-self-lifespan-lifespan","117":"/dev/api/core/manager.html#func-start-all-self","118":"/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","119":"/dev/api/core/manager.html#func-join-all-self","120":"/dev/api/core/manager.html#func-terminate-self-name-str","121":"/dev/api/core/manager.html#func-terminate-all-self","122":"/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","123":"/dev/api/core/manager.html#class-subprocessmanager","124":"/dev/api/core/manager.html#func-init-self","125":"/dev/api/core/manager.html#func-add-self-name-str-func-processfunctype-args-kwargs","126":"/dev/api/core/manager.html#func-start-self-name-str","127":"/dev/api/core/manager.html#func-start-all-self-1","128":"/dev/api/core/manager.html#func-terminate-self-name-str-1","129":"/dev/api/core/manager.html#func-terminate-all-self-1","130":"/dev/api/core/manager.html#func-get-process-self-name-str-subprocess-none","131":"/dev/api/dev/#模块-liteyuki-dev","132":"/dev/api/dev/observer.html#模块-liteyuki-dev-observer","133":"/dev/api/dev/observer.html#var-callback-func","134":"/dev/api/dev/observer.html#var-filter-func","135":"/dev/api/dev/observer.html#func-debounce-wait","136":"/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","137":"/dev/api/dev/observer.html#func-on-modified-self-event","138":"/dev/api/dev/observer.html#func-on-created-self-event","139":"/dev/api/dev/observer.html#func-on-deleted-self-event","140":"/dev/api/dev/observer.html#func-on-moved-self-event","141":"/dev/api/dev/observer.html#func-on-any-event-self-event","142":"/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","143":"/dev/api/dev/plugin.html#模块-liteyuki-dev-plugin","144":"/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","145":"/dev/api/exception.html#模块-liteyuki-exception","146":"/dev/api/exception.html#class-liteyukiexception-baseexception","147":"/dev/api/#模块-liteyuki","148":"/dev/api/#var-version","149":"/dev/api/log.html#模块-liteyuki-log","150":"/dev/api/log.html#func-get-format-level-str-str","151":"/dev/api/log.html#func-init-log-config-dict","152":"/dev/api/plugin/#模块-liteyuki-plugin","153":"/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","154":"/dev/api/plugin/load.html#模块-liteyuki-plugin-load","155":"/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","156":"/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","157":"/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","158":"/dev/api/plugin/manager.html#模块-liteyuki-plugin-manager","159":"/dev/api/plugin/model.html#模块-liteyuki-plugin-model","160":"/dev/api/plugin/model.html#class-plugintype-enum","161":"/dev/api/plugin/model.html#attr-application-application","162":"/dev/api/plugin/model.html#attr-service-service","163":"/dev/api/plugin/model.html#attr-module-module","164":"/dev/api/plugin/model.html#attr-unclassified-unclassified","165":"/dev/api/plugin/model.html#attr-test-test","166":"/dev/api/plugin/model.html#class-pluginmetadata-basemodel","167":"/dev/api/plugin/model.html#attr-name-str-no-default","168":"/dev/api/plugin/model.html#attr-description-str","169":"/dev/api/plugin/model.html#attr-usage-str","170":"/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","171":"/dev/api/plugin/model.html#attr-author-str","172":"/dev/api/plugin/model.html#attr-homepage-str","173":"/dev/api/plugin/model.html#attr-extra-dict-str-any","174":"/dev/api/plugin/model.html#class-plugin-basemodel","175":"/dev/api/plugin/model.html#func-hash-self","176":"/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","177":"/dev/api/plugin/model.html#attr-name-str-no-default-1","178":"/dev/api/plugin/model.html#attr-module-moduletype-no-default","179":"/dev/api/plugin/model.html#attr-module-name-str-no-default","180":"/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","181":"/dev/api/plugins/#模块-liteyuki-plugins","182":"/dev/api/plugins/liteecho.html#模块-liteyuki-plugins-liteecho","183":"/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","184":"/dev/api/session/event.html#模块-liteyuki-session-event","185":"/dev/api/session/event.html#class-messageevent","186":"/dev/api/session/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","187":"/dev/api/session/event.html#func-reply-self-message-str-dict-str-any","188":"/dev/api/plugins/plugin_loader/#模块-liteyuki-plugins-plugin-loader","189":"/dev/api/plugins/plugin_loader/#func-default-plugins-loader","190":"/dev/api/session/#模块-liteyuki-session","191":"/dev/api/session/#func-message-handler-thread-i-chans-iterable-chan-any","192":"/dev/api/session/matcher.html#模块-liteyuki-session-matcher","193":"/dev/api/session/matcher.html#class-matcher","194":"/dev/api/session/matcher.html#func-init-self-rule-rule-priority-int-block-bool","195":"/dev/api/session/matcher.html#func-handle-self-callable-eventhandler-eventhandler","196":"/dev/api/session/matcher.html#async-func-run-self-event-messageevent-none","197":"/dev/api/session/message/segments.html#模块-liteyuki-session-message-segments","198":"/dev/api/session/message/segments.html#class-baseseg-basemodel","199":"/dev/api/session/message/segments.html#attr-type-str-segment","200":"/dev/api/session/message/segments.html#attr-data-dict-str-any-no-default","201":"/dev/api/session/message/segments.html#class-text-baseseg","202":"/dev/api/session/message/segments.html#attr-content-str-no-default","203":"/dev/api/session/message/segments.html#class-image-baseseg","204":"/dev/api/session/message/segments.html#attr-url-str-no-default","205":"/dev/api/session/models.html#模块-liteyuki-session-models","206":"/dev/api/session/models.html#class-scenetype-int-enum","207":"/dev/api/session/models.html#attr-private-0","208":"/dev/api/session/models.html#attr-group-1","209":"/dev/api/session/models.html#attr-guild-2","210":"/dev/api/session/models.html#attr-channel-text-3","211":"/dev/api/session/models.html#attr-channel-category-4","212":"/dev/api/session/models.html#attr-channel-voice-5","213":"/dev/api/session/models.html#class-user-basemodel","214":"/dev/api/session/models.html#attr-id-str-no-default","215":"/dev/api/session/models.html#attr-name-str-none-none","216":"/dev/api/session/models.html#attr-nick-str-none-none","217":"/dev/api/session/models.html#attr-avatar-str-none-none","218":"/dev/api/session/models.html#attr-gender-str-none-none","219":"/dev/api/session/models.html#class-scene-basemodel","220":"/dev/api/session/models.html#attr-id-str-no-default-1","221":"/dev/api/session/models.html#attr-type-scenetype-no-default","222":"/dev/api/session/models.html#attr-name-str-none-none-1","223":"/dev/api/session/models.html#attr-avatar-str-none-none-1","224":"/dev/api/session/models.html#attr-parent-scene-none-none","225":"/dev/api/session/models.html#class-role-basemodel","226":"/dev/api/session/models.html#attr-id-str-no-default-2","227":"/dev/api/session/models.html#attr-level-int-none-none","228":"/dev/api/session/models.html#attr-name-str-none-none-2","229":"/dev/api/session/models.html#class-member-basemodel","230":"/dev/api/session/models.html#attr-user-user-no-default","231":"/dev/api/session/models.html#attr-nickname-str-none-none","232":"/dev/api/session/models.html#attr-role-role-none-none","233":"/dev/api/session/models.html#attr-mute-bool-none-none","234":"/dev/api/session/models.html#attr-joined-at-datetime-none-none","235":"/dev/api/session/models.html#class-session-basemodel","236":"/dev/api/session/models.html#func-session-id-self","237":"/dev/api/session/models.html#func-target-id-self","238":"/dev/api/session/models.html#attr-self-id-str-no-default","239":"/dev/api/session/models.html#attr-adapter-str-no-default","240":"/dev/api/session/models.html#attr-scope-str-no-default","241":"/dev/api/session/models.html#attr-scene-scene-no-default","242":"/dev/api/session/models.html#attr-user-user-no-default-1","243":"/dev/api/session/models.html#attr-member-member-none-none","244":"/dev/api/session/models.html#attr-operator-member-none-none","245":"/dev/api/session/on.html#模块-liteyuki-session-on","246":"/dev/api/session/on.html#func-add-matcher-matcher-matcher","247":"/dev/api/session/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","248":"/dev/api/session/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","249":"/dev/api/session/rule.html#模块-liteyuki-session-rule","250":"/dev/api/session/rule.html#var-rulehandlerfunc","251":"/dev/api/session/rule.html#class-rule","252":"/dev/api/session/rule.html#func-init-self-handler-rulehandlerfunc","253":"/dev/api/session/rule.html#func-self-other-rule-rule","254":"/dev/api/session/rule.html#func-self-other-rule-rule-1","255":"/dev/api/session/rule.html#async-func-self-event-messageevent-bool","256":"/dev/api/session/rule.html#async-func-empty-rule-event-messageevent-bool","257":"/dev/api/session/rule.html#async-func-is-su-rule-event-messageevent-bool","258":"/dev/api/utils.html#模块-liteyuki-utils","259":"/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","260":"/dev/api/utils.html#func-run-coroutine-coro-coroutine","261":"/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","262":"/dev/api/utils.html#func-path-to-module-name-path-path-str","263":"/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","264":"/dev/best_practices.html#最佳实践","265":"/dev/best_practices.html#机器人应用","266":"/dev/best_practices.html#插件","267":"/dev/best_practices.html#其他","268":"/dev/comm.html#通道通信","269":"/dev/comm.html#简介","270":"/dev/comm.html#示例","271":"/dev/comm.html#共享内存通信","272":"/dev/comm.html#简介-1","273":"/dev/comm.html#示例-1","274":"/dev/guide.html#开发指南","275":"/dev/guide.html#如何开发","276":"/dev/guide.html#建议","277":"/dev/guide.html#项目结构","278":"/dev/guide.html#规范化","279":"/dev/guide.html#最后","280":"/dev/lyfunc.html#轻雪函数","281":"/dev/lyfunc.html#函数文件","282":"/dev/lyfunc.html#命令文档","283":"/dev/lyfunc.html#示例","284":"/dev/lyfunc.html#api","285":"/dev/lyfunc.html#结束关键字","286":"/dev/plugin.html#简介","287":"/dev/plugin.html#开始","288":"/dev/plugin.html#创建插件","289":"/dev/plugin.html#编写逻辑部分","290":"/dev/plugin.html#加载插件","291":"/dev/plugin.html#方法1","292":"/dev/plugin.html#方法2","293":"/dev/resource.html#简介","294":"/dev/resource.html#加载资源包","295":"/usage/agreement.html#用户协议","296":"/usage/basic.html#基础插件","297":"/usage/basic.html#轻雪命令liteyuki-command","298":"/usage/basic.html#命令别名","299":"/usage/basic.html#插件-包管理器-liteyuki-pacman","300":"/usage/basic.html#命令别名-1","301":"/usage/basic.html#用户管理liteyuki-user","302":"/usage/extra.html#功能插件命令","303":"/usage/extra.html#轻雪天气liteyuki-weather","304":"/usage/extra.html#命令别名","305":"/usage/extra.html#统计信息liteyuki-statistics","306":"/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,16],"1":[1,1,55],"2":[1,1,48],"3":[2,1,28],"4":[1,1,3],"5":[1,1,1],"6":[1,1,37],"7":[1,1,21],"8":[1,1,1],"9":[1,1,47],"10":[1,1,18],"11":[1,1,39],"12":[1,2,1],"13":[3,1,1],"14":[2,3,1],"15":[6,5,62],"16":[4,5,28],"17":[8,5,59],"18":[10,5,35],"19":[6,5,15],"20":[5,5,13],"21":[4,5,15],"22":[8,5,20],"23":[8,5,19],"24":[8,5,20],"25":[10,5,22],"26":[10,5,23],"27":[8,5,20],"28":[5,3,34],"29":[10,3,26],"30":[14,3,45],"31":[4,1,24],"32":[4,4,8],"33":[4,4,9],"34":[3,4,11],"35":[5,4,9],"36":[5,4,10],"37":[4,4,12],"38":[2,4,1],"39":[5,6,31],"40":[13,6,38],"41":[8,6,21],"42":[8,6,21],"43":[10,6,23],"44":[8,6,21],"45":[10,6,23],"46":[8,6,21],"47":[7,6,20],"48":[7,6,20],"49":[10,6,23],"50":[7,6,21],"51":[10,6,23],"52":[7,6,21],"53":[4,1,3],"54":[5,4,9],"55":[4,4,12],"56":[4,4,9],"57":[4,4,11],"58":[3,4,11],"59":[5,4,1],"60":[12,9,64],"61":[6,9,44],"62":[5,9,29],"63":[6,9,28],"64":[15,9,64],"65":[3,4,9],"66":[3,4,9],"67":[4,4,11],"68":[4,4,12],"69":[7,4,40],"70":[7,4,19],"71":[7,4,31],"72":[8,4,37],"73":[10,4,25],"74":[10,4,28],"75":[10,4,27],"76":[4,1,2],"77":[2,4,1],"78":[9,6,13],"79":[3,1,8],"80":[4,1,4],"81":[6,4,12],"82":[6,4,12],"83":[2,4,1],"84":[4,6,30],"85":[9,6,31],"86":[12,6,37],"87":[12,6,42],"88":[9,6,30],"89":[9,6,21],"90":[13,6,52],"91":[11,6,29],"92":[7,6,42],"93":[2,4,2],"94":[5,6,18],"95":[4,6,1],"96":[6,6,1],"97":[3,4,9],"98":[3,4,17],"99":[9,4,29],"100":[9,4,27],"101":[9,4,27],"102":[10,4,27],"103":[3,1,14],"104":[8,3,38],"105":[10,3,35],"106":[10,3,34],"107":[10,3,34],"108":[14,3,43],"109":[16,3,49],"110":[15,3,36],"111":[3,1,1],"112":[4,1,24],"113":[2,4,1],"114":[14,6,18],"115":[2,4,1],"116":[6,6,17],"117":[5,6,28],"118":[14,6,48],"119":[5,6,13],"120":[6,6,31],"121":[5,6,12],"122":[9,6,27],"123":[2,4,1],"124":[4,6,12],"125":[9,6,23],"126":[6,6,22],"127":[5,6,20],"128":[6,6,22],"129":[5,6,20],"130":[10,6,20],"131":[3,1,2],"132":[4,1,5],"133":[3,4,9],"134":[3,4,9],"135":[4,4,25],"136":[4,4,3],"137":[6,8,17],"138":[6,8,10],"139":[6,8,10],"140":[6,8,10],"141":[6,8,10],"142":[20,4,53],"143":[4,1,24],"144":[9,4,30],"145":[3,1,2],"146":[4,3,1],"147":[2,1,10],"148":[3,2,7],"149":[3,1,24],"150":[6,3,21],"151":[6,3,55],"152":[3,1,1],"153":[9,3,17],"154":[4,1,24],"155":[12,4,75],"156":[15,4,58],"157":[9,4,37],"158":[4,1,24],"159":[4,1,24],"160":[4,4,1],"161":[5,8,1],"162":[5,8,1],"163":[5,8,1],"164":[5,8,1],"165":[5,8,1],"166":[4,4,1],"167":[6,8,1],"168":[5,8,1],"169":[5,8,1],"170":[5,8,1],"171":[5,8,1],"172":[5,8,1],"173":[7,8,1],"174":[4,4,1],"175":[3,8,10],"176":[9,8,1],"177":[6,8,1],"178":[6,8,1],"179":[7,8,1],"180":[6,8,1],"181":[3,1,15],"182":[4,1,30],"183":[6,4,21],"184":[4,1,24],"185":[2,4,1],"186":[24,6,32],"187":[9,6,34],"188":[5,1,24],"189":[5,5,21],"190":[3,1,4],"191":[10,3,26],"192":[4,1,24],"193":[2,4,1],"194":[10,6,25],"195":[7,6,20],"196":[8,6,30],"197":[5,1,1],"198":[4,5,1],"199":[6,9,1],"200":[8,9,1],"201":[4,5,1],"202":[6,9,1],"203":[4,5,1],"204":[6,9,1],"205":[4,1,123],"206":[5,4,1],"207":[4,9,1],"208":[4,9,1],"209":[4,9,1],"210":[5,9,1],"211":[5,9,1],"212":[5,9,1],"213":[4,4,1],"214":[6,8,1],"215":[6,8,1],"216":[6,8,1],"217":[6,8,1],"218":[6,8,1],"219":[4,4,1],"220":[6,8,1],"221":[6,8,1],"222":[6,8,1],"223":[6,8,1],"224":[6,8,1],"225":[4,4,1],"226":[6,8,1],"227":[6,8,1],"228":[6,8,1],"229":[4,4,1],"230":[6,8,1],"231":[6,8,1],"232":[6,8,1],"233":[6,8,1],"234":[7,8,1],"235":[4,4,2],"236":[5,8,31],"237":[5,8,27],"238":[7,8,1],"239":[6,8,1],"240":[6,8,1],"241":[6,8,1],"242":[6,8,1],"243":[6,8,1],"244":[6,8,1],"245":[4,1,24],"246":[5,4,21],"247":[15,4,19],"248":[16,4,30],"249":[4,1,24],"250":[2,4,11],"251":[2,4,1],"252":[6,6,10],"253":[7,6,19],"254":[7,6,19],"255":[8,6,20],"256":[8,4,16],"257":[9,4,21],"258":[3,1,5],"259":[9,3,30],"260":[6,3,42],"261":[8,3,20],"262":[8,3,38],"263":[8,3,25],"264":[1,1,1],"265":[1,1,13],"266":[1,1,10],"267":[1,1,15],"268":[1,1,1],"269":[1,1,10],"270":[1,1,83],"271":[1,1,1],"272":[1,2,9],"273":[1,2,18],"274":[1,1,1],"275":[1,1,18],"276":[1,2,10],"277":[1,1,36],"278":[1,1,55],"279":[1,1,4],"280":[1,1,9],"281":[1,1,25],"282":[1,1,33],"283":[1,2,26],"284":[1,1,7],"285":[1,1,18],"286":[1,1,27],"287":[1,1,1],"288":[1,2,42],"289":[1,2,58],"290":[1,2,1],"291":[1,3,6],"292":[1,3,25],"293":[1,1,31],"294":[1,1,56],"295":[1,1,28],"296":[1,1,16],"297":[2,1,86],"298":[1,3,30],"299":[4,1,53],"300":[1,5,38],"301":[2,1,20],"302":[1,1,1],"303":[2,1,30],"304":[1,3,8],"305":[2,1,35],"306":[1,3,17]},"averageFieldLength":[5.416938110749186,4.43973941368078,17.846905537459275],"storedFields":{"0":{"title":"配置","titles":[]},"1":{"title":"基础配置项","titles":["配置"]},"2":{"title":"其他配置","titles":["配置"]},"3":{"title":"示例:与NoneBot对接的OneBot实现端配置","titles":["配置"]},"4":{"title":"其他","titles":["配置"]},"5":{"title":"答疑","titles":[]},"6":{"title":"常见问题","titles":["答疑"]},"7":{"title":"其他问题","titles":["答疑"]},"8":{"title":"安装","titles":[]},"9":{"title":"常规部署","titles":["安装"]},"10":{"title":"使用Docker构建","titles":["安装"]},"11":{"title":"装置要求","titles":["安装"]},"12":{"title":"其他问题请移步至","titles":["安装","装置要求"]},"13":{"title":"模块 liteyuki.bot","titles":[]},"14":{"title":"class LiteyukiBot","titles":["模块 liteyuki.bot"]},"15":{"title":"func __init__(self, **kwargs) -> None","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"16":{"title":"func run(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"17":{"title":"func restart(self, delay: int = 0)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"18":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"19":{"title":"func init(self, *args, **kwargs)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func init_logger(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"21":{"title":"func stop(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func get_bot() -> LiteyukiBot","titles":["模块 liteyuki.bot"]},"29":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"30":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"31":{"title":"模块 liteyuki.bot.lifespan","titles":[]},"32":{"title":"var SYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"33":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"34":{"title":"var LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"35":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"36":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"37":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"38":{"title":"class Lifespan","titles":["模块 liteyuki.bot.lifespan"]},"39":{"title":"func __init__(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"40":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"41":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"42":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"43":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"44":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"async func before_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"async func after_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"async func after_shutdown(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func after_restart(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"模块 liteyuki.comm.channel","titles":[]},"54":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"55":{"title":"var ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"56":{"title":"var SYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"57":{"title":"var ASYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"58":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"59":{"title":"class Channel(Generic[T])","titles":["模块 liteyuki.comm.channel"]},"60":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"61":{"title":"func send(self, data: T)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"62":{"title":"func receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"63":{"title":"async func async_receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"64":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"65":{"title":"var active_channel","titles":["模块 liteyuki.comm.channel"]},"66":{"title":"var passive_channel","titles":["模块 liteyuki.comm.channel"]},"67":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"68":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"69":{"title":"func set_channel(name: str, channel: Channel)","titles":["模块 liteyuki.comm.channel"]},"70":{"title":"func set_channels(channels: dict[str, Channel])","titles":["模块 liteyuki.comm.channel"]},"71":{"title":"func get_channel(name: str) -> Channel","titles":["模块 liteyuki.comm.channel"]},"72":{"title":"func get_channels() -> dict[str, Channel]","titles":["模块 liteyuki.comm.channel"]},"73":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"74":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"75":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"76":{"title":"模块 liteyuki.comm.event","titles":[]},"77":{"title":"class Event","titles":["模块 liteyuki.comm.event"]},"78":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["模块 liteyuki.comm.event","class Event"]},"79":{"title":"模块 liteyuki.comm","titles":[]},"80":{"title":"模块 liteyuki.comm.storage","titles":[]},"81":{"title":"var _on_main_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"82":{"title":"var _on_sub_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"83":{"title":"class KeyValueStore","titles":["模块 liteyuki.comm.storage"]},"84":{"title":"func __init__(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"85":{"title":"func set(self, key: str, value: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"86":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"87":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"88":{"title":"func get_all(self) -> dict[str, Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"89":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"90":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"91":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"92":{"title":"async func start_receive_loop(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"93":{"title":"class GlobalKeyValueStore","titles":["模块 liteyuki.comm.storage"]},"94":{"title":"func get_instance(cls)","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"95":{"title":"attr _instance = None","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"96":{"title":"attr _lock = threading.Lock()","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"97":{"title":"var shared_memory","titles":["模块 liteyuki.comm.storage"]},"98":{"title":"var _ref_count","titles":["模块 liteyuki.comm.storage"]},"99":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"100":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"101":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"102":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"103":{"title":"模块 liteyuki.config","titles":[]},"104":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"105":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"106":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"107":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"108":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"109":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"110":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"111":{"title":"模块 liteyuki.core","titles":[]},"112":{"title":"模块 liteyuki.core.manager","titles":[]},"113":{"title":"class ChannelDeliver","titles":["模块 liteyuki.core.manager"]},"114":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["模块 liteyuki.core.manager","class ChannelDeliver"]},"115":{"title":"class ProcessManager","titles":["模块 liteyuki.core.manager"]},"116":{"title":"func __init__(self, lifespan: Lifespan)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"117":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"118":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"119":{"title":"func join_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"120":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"121":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"122":{"title":"func is_process_alive(self, name: str) -> bool","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"123":{"title":"class _SubProcessManager","titles":["模块 liteyuki.core.manager"]},"124":{"title":"func __init__(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"125":{"title":"func add(self, name: str, func: ProcessFuncType, *args, **kwargs)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"126":{"title":"func start(self, name: str)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"127":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"128":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"129":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"130":{"title":"func get_process(self, name: str) -> SubProcess | None","titles":["模块 liteyuki.core.manager","class _SubProcessManager"]},"131":{"title":"模块 liteyuki.dev","titles":[]},"132":{"title":"模块 liteyuki.dev.observer","titles":[]},"133":{"title":"var CALLBACK_FUNC","titles":["模块 liteyuki.dev.observer"]},"134":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.dev.observer"]},"135":{"title":"func debounce(wait)","titles":["模块 liteyuki.dev.observer"]},"136":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["模块 liteyuki.dev.observer"]},"137":{"title":"func on_modified(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"138":{"title":"func on_created(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"139":{"title":"func on_deleted(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"140":{"title":"func on_moved(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"141":{"title":"func on_any_event(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"142":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["模块 liteyuki.dev.observer"]},"143":{"title":"模块 liteyuki.dev.plugin","titles":[]},"144":{"title":"func run_plugins(*module_path: str | Path)","titles":["模块 liteyuki.dev.plugin"]},"145":{"title":"模块 liteyuki.exception","titles":[]},"146":{"title":"class LiteyukiException(BaseException)","titles":["模块 liteyuki.exception"]},"147":{"title":"模块 liteyuki","titles":[]},"148":{"title":"var __version__","titles":["模块 liteyuki"]},"149":{"title":"模块 liteyuki.log","titles":[]},"150":{"title":"func get_format(level: str) -> str","titles":["模块 liteyuki.log"]},"151":{"title":"func init_log(config: dict)","titles":["模块 liteyuki.log"]},"152":{"title":"模块 liteyuki.plugin","titles":[]},"153":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["模块 liteyuki.plugin"]},"154":{"title":"模块 liteyuki.plugin.load","titles":[]},"155":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["模块 liteyuki.plugin.load"]},"156":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["模块 liteyuki.plugin.load"]},"157":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["模块 liteyuki.plugin.load"]},"158":{"title":"模块 liteyuki.plugin.manager","titles":[]},"159":{"title":"模块 liteyuki.plugin.model","titles":[]},"160":{"title":"class PluginType(Enum)","titles":["模块 liteyuki.plugin.model"]},"161":{"title":"attr APPLICATION = 'application'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"162":{"title":"attr SERVICE = 'service'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"163":{"title":"attr MODULE = 'module'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"164":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"165":{"title":"attr TEST = 'test'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"166":{"title":"class PluginMetadata(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"167":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"168":{"title":"attr description: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"169":{"title":"attr usage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"170":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"171":{"title":"attr author: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"172":{"title":"attr homepage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"173":{"title":"attr extra: dict[str, Any] = {}","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"174":{"title":"class Plugin(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"175":{"title":"func hash self","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"176":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"177":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"178":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"179":{"title":"attr module_name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"180":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"181":{"title":"模块 liteyuki.plugins","titles":[]},"182":{"title":"模块 liteyuki.plugins.liteecho","titles":[]},"183":{"title":"async func liteecho(event: MessageEvent)","titles":["模块 liteyuki.plugins.liteecho"]},"184":{"title":"模块 liteyuki.session.event","titles":[]},"185":{"title":"class MessageEvent","titles":["模块 liteyuki.session.event"]},"186":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["模块 liteyuki.session.event","class MessageEvent"]},"187":{"title":"func reply(self, message: str | dict[str, Any])","titles":["模块 liteyuki.session.event","class MessageEvent"]},"188":{"title":"模块 liteyuki.plugins.plugin_loader","titles":[]},"189":{"title":"func default_plugins_loader()","titles":["模块 liteyuki.plugins.plugin_loader"]},"190":{"title":"模块 liteyuki.session","titles":[]},"191":{"title":"func message_handler_thread(i_chans: Iterable[Chan[Any]])","titles":["模块 liteyuki.session"]},"192":{"title":"模块 liteyuki.session.matcher","titles":[]},"193":{"title":"class Matcher","titles":["模块 liteyuki.session.matcher"]},"194":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["模块 liteyuki.session.matcher","class Matcher"]},"195":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["模块 liteyuki.session.matcher","class Matcher"]},"196":{"title":"async func run(self, event: MessageEvent) -> None","titles":["模块 liteyuki.session.matcher","class Matcher"]},"197":{"title":"模块 liteyuki.session.message.segments","titles":[]},"198":{"title":"class BaseSeg(BaseModel)","titles":["模块 liteyuki.session.message.segments"]},"199":{"title":"attr type: str = 'Segment'","titles":["模块 liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"200":{"title":"attr data: dict[str, Any] = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class BaseSeg(BaseModel)"]},"201":{"title":"class Text(BaseSeg)","titles":["模块 liteyuki.session.message.segments"]},"202":{"title":"attr content: str = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class Text(BaseSeg)"]},"203":{"title":"class Image(BaseSeg)","titles":["模块 liteyuki.session.message.segments"]},"204":{"title":"attr url: str = NO_DEFAULT","titles":["模块 liteyuki.session.message.segments","class Image(BaseSeg)"]},"205":{"title":"模块 liteyuki.session.models","titles":[]},"206":{"title":"class SceneType(int, Enum)","titles":["模块 liteyuki.session.models"]},"207":{"title":"attr PRIVATE = 0","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"208":{"title":"attr GROUP = 1","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"209":{"title":"attr GUILD = 2","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"210":{"title":"attr CHANNEL_TEXT = 3","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"211":{"title":"attr CHANNEL_CATEGORY = 4","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"212":{"title":"attr CHANNEL_VOICE = 5","titles":["模块 liteyuki.session.models","class SceneType(int, Enum)"]},"213":{"title":"class User(BaseModel)","titles":["模块 liteyuki.session.models"]},"214":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"215":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"216":{"title":"attr nick: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"217":{"title":"attr avatar: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"218":{"title":"attr gender: str | None = None","titles":["模块 liteyuki.session.models","class User(BaseModel)"]},"219":{"title":"class Scene(BaseModel)","titles":["模块 liteyuki.session.models"]},"220":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"221":{"title":"attr type: SceneType = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"222":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"223":{"title":"attr avatar: str | None = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"224":{"title":"attr parent: 'Scene | None' = None","titles":["模块 liteyuki.session.models","class Scene(BaseModel)"]},"225":{"title":"class Role(BaseModel)","titles":["模块 liteyuki.session.models"]},"226":{"title":"attr id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"227":{"title":"attr level: int | None = None","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"228":{"title":"attr name: str | None = None","titles":["模块 liteyuki.session.models","class Role(BaseModel)"]},"229":{"title":"class Member(BaseModel)","titles":["模块 liteyuki.session.models"]},"230":{"title":"attr user: User = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"231":{"title":"attr nickname: str | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"232":{"title":"attr role: Role | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"233":{"title":"attr mute: bool | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"234":{"title":"attr joined_at: datetime | None = None","titles":["模块 liteyuki.session.models","class Member(BaseModel)"]},"235":{"title":"class Session(BaseModel)","titles":["模块 liteyuki.session.models"]},"236":{"title":"func session_id(self)","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"237":{"title":"func target_id(self)","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"238":{"title":"attr self_id: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"239":{"title":"attr adapter: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"240":{"title":"attr scope: str = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"241":{"title":"attr scene: Scene = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"242":{"title":"attr user: User = NO_DEFAULT","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"243":{"title":"attr member: 'Member | None' = None","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"244":{"title":"attr operator: 'Member | None' = None","titles":["模块 liteyuki.session.models","class Session(BaseModel)"]},"245":{"title":"模块 liteyuki.session.on","titles":[]},"246":{"title":"func add_matcher(matcher: Matcher)","titles":["模块 liteyuki.session.on"]},"247":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.session.on"]},"248":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.session.on"]},"249":{"title":"模块 liteyuki.session.rule","titles":[]},"250":{"title":"var RuleHandlerFunc","titles":["模块 liteyuki.session.rule"]},"251":{"title":"class Rule","titles":["模块 liteyuki.session.rule"]},"252":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["模块 liteyuki.session.rule","class Rule"]},"253":{"title":"func self | other: Rule => Rule","titles":["模块 liteyuki.session.rule","class Rule"]},"254":{"title":"func self & other: Rule => Rule","titles":["模块 liteyuki.session.rule","class Rule"]},"255":{"title":"async func self () event: MessageEvent => bool","titles":["模块 liteyuki.session.rule","class Rule"]},"256":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.session.rule"]},"257":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.session.rule"]},"258":{"title":"模块 liteyuki.utils","titles":[]},"259":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["模块 liteyuki.utils"]},"260":{"title":"func run_coroutine(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"261":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"262":{"title":"func path_to_module_name(path: Path) -> str","titles":["模块 liteyuki.utils"]},"263":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["模块 liteyuki.utils"]},"264":{"title":"最佳实践","titles":[]},"265":{"title":"机器人应用","titles":["最佳实践"]},"266":{"title":"插件","titles":["最佳实践"]},"267":{"title":"其他","titles":["最佳实践"]},"268":{"title":"通道通信","titles":[]},"269":{"title":"简介","titles":["通道通信"]},"270":{"title":"示例","titles":["通道通信"]},"271":{"title":"共享内存通信","titles":["通道通信"]},"272":{"title":"简介","titles":["通道通信","共享内存通信"]},"273":{"title":"示例","titles":["通道通信","共享内存通信"]},"274":{"title":"开发指南","titles":[]},"275":{"title":"如何开发","titles":["开发指南"]},"276":{"title":"建议","titles":["开发指南","如何开发"]},"277":{"title":"项目结构","titles":["开发指南"]},"278":{"title":"规范化","titles":["开发指南"]},"279":{"title":"最后","titles":["开发指南"]},"280":{"title":"轻雪函数","titles":[]},"281":{"title":"函数文件","titles":["轻雪函数"]},"282":{"title":"命令文档","titles":["轻雪函数"]},"283":{"title":"示例","titles":["轻雪函数","命令文档"]},"284":{"title":"API","titles":["轻雪函数"]},"285":{"title":"结束关键字","titles":["轻雪函数"]},"286":{"title":"简介","titles":[]},"287":{"title":"开始","titles":["简介"]},"288":{"title":"创建插件","titles":["简介","开始"]},"289":{"title":"编写逻辑部分","titles":["简介","开始"]},"290":{"title":"加载插件","titles":["简介","开始"]},"291":{"title":"方法1","titles":["简介","开始","加载插件"]},"292":{"title":"方法2","titles":["简介","开始","加载插件"]},"293":{"title":"简介","titles":[]},"294":{"title":"加载资源包","titles":["简介"]},"295":{"title":"用户协议","titles":[]},"296":{"title":"基础插件","titles":[]},"297":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"299":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"300":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"301":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"302":{"title":"功能插件命令","titles":[]},"303":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"305":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"306":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["当前bot",{"2":{"305":1}}],["当前群聊",{"2":{"305":1}}],["当前会话启用",{"2":{"299":1}}],["秒",{"2":{"305":2}}],["小时",{"2":{"305":2}}],["天",{"2":{"305":2}}],["天气",{"2":{"303":1,"304":1}}],["格式",{"2":{"305":1}}],["格式为onebot",{"2":{"297":1}}],["统计时间范围为duration",{"2":{"305":1}}],["统计周期为period",{"2":{"305":1}}],["统计信息",{"2":{"305":1}}],["统计信息liteyuki",{"0":{"305":1},"1":{"306":1}}],["功能",{"2":{"305":1}}],["功能插件命令",{"0":{"302":1},"1":{"303":1,"304":1,"305":1,"306":1}}],["个人全局生效",{"2":{"303":1}}],["个人信息",{"2":{"301":1}}],["绑定城市",{"2":{"304":1}}],["绑定查询城市",{"2":{"303":1}}],["绑定端口",{"2":{"1":1}}],["海淀",{"2":{"303":1}}],["北京",{"2":{"303":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"300":1}}],["帮助",{"2":{"300":1}}],["列表",{"2":{"300":1}}],["列出所有资源包",{"2":{"299":1}}],["列出所有插件",{"2":{"299":1}}],["更改",{"2":{"300":1}}],["更新",{"2":{"300":1}}],["更新插件商店索引",{"2":{"299":1}}],["更新轻雪",{"2":{"297":1,"298":1}}],["更新轻雪失败",{"2":{"6":1}}],["全局停用",{"2":{"300":1}}],["全局启用",{"2":{"299":1,"300":1}}],["搜索",{"2":{"300":1}}],["卸载",{"2":{"300":2}}],["卸载资源包",{"2":{"299":1}}],["卸载插件",{"2":{"299":1}}],["私聊所有人可用",{"2":{"299":2}}],["包管理器",{"0":{"299":1},"1":{"300":1}}],["包括子task",{"2":{"282":1}}],["包括chromium",{"2":{"11":1}}],["切换图片模式",{"2":{"298":1}}],["切换到bot目录下",{"2":{"9":1}}],["状态",{"2":{"298":1}}],["别名",{"2":{"298":1,"300":1,"301":1,"304":1,"306":1}}],["别用你那b",{"2":{"11":1}}],["所有人",{"2":{"297":1,"299":1,"301":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"285":1}}],["所以此项目既是liteyukibot应用仓库",{"2":{"277":1}}],["群聊",{"2":{"298":1}}],["群聊仅群主",{"2":{"297":1,"299":2}}],["群号",{"2":{"297":1}}],["管理员",{"2":{"297":1,"299":2}}],["管理脚本",{"2":{"267":1}}],["停用插件",{"2":{"299":2}}],["停用",{"2":{"298":1,"300":1}}],["停用机器人",{"2":{"297":1}}],["停止后钩子",{"2":{"50":1}}],["停止前钩子",{"2":{"49":1}}],["停止",{"2":{"39":1}}],["停止轻雪",{"2":{"18":1,"21":1}}],["查询目标地实时天气",{"2":{"303":1}}],["查询实时天气",{"2":{"303":1}}],["查询",{"2":{"298":1,"301":1}}],["查询配置项",{"2":{"297":1}}],["查看用户信息菜单",{"2":{"301":1}}],["查看插件帮助",{"2":{"299":1}}],["查看轻雪文档",{"2":{"297":1}}],["查看统计信息和状态",{"2":{"297":1}}],["查看当前bot",{"2":{"297":1}}],["版本",{"2":{"297":1}}],["超级用户可用",{"2":{"297":1,"299":2}}],["超级用户",{"2":{"297":10,"299":10}}],["超级用户列表",{"2":{"1":1}}],["重载",{"2":{"300":1}}],["重载所有资源包",{"2":{"299":1}}],["重载资源",{"2":{"298":1}}],["重载轻雪",{"2":{"297":1}}],["重启轻雪",{"2":{"298":1}}],["重启轻雪即可加载插件",{"2":{"291":1}}],["重启轻雪本体",{"2":{"17":1}}],["重启后钩子",{"2":{"52":1}}],["重启前钩子",{"2":{"51":1}}],["重启",{"2":{"39":1}}],["举例",{"2":{"297":1}}],["权限",{"2":{"297":1,"299":2,"301":1}}],["~代替",{"2":{"296":1}}],["~可以使用插件",{"2":{"296":1}}],["命令",{"2":{"297":1,"298":1,"299":2,"300":1,"301":2,"303":1,"304":1,"305":1,"306":1}}],["命令别名",{"0":{"298":1,"300":1,"304":1,"306":1},"2":{"296":1,"301":1}}],["命令文档",{"0":{"282":1},"1":{"283":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"295":1}}],["且通道标识为",{"2":{"270":1}}],["系统信息及python信息",{"2":{"295":1}}],["分钟",{"2":{"305":2}}],["分发",{"2":{"295":1}}],["分工明确",{"2":{"103":1}}],["修改优先级",{"2":{"299":1}}],["修改",{"2":{"295":1}}],["修订文档时",{"2":{"278":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"294":1}}],["└─",{"2":{"294":1}}],["└───",{"2":{"294":1}}],["└─resource",{"2":{"294":2}}],["├─templates",{"2":{"294":1}}],["├─metadata",{"2":{"294":2}}],["正常的路径应该是这样的",{"2":{"294":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"294":1}}],["zip格式压缩的",{"2":{"294":1}}],["zh",{"2":{"2":1,"277":1}}],["错位等无法预料的事情发生",{"2":{"293":1}}],["异常",{"2":{"293":1}}],["异步任务结束关键字",{"2":{"285":1}}],["异步等待",{"2":{"282":1}}],["异步包装器",{"2":{"263":1}}],["异步接收数据",{"2":{"63":1}}],["异步过滤函数",{"2":{"57":1}}],["异步进程生命周期函数",{"2":{"36":1}}],["异步生命周期函数",{"2":{"33":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"293":1}}],["部分异常信息",{"2":{"295":1}}],["部分内容制作需要一点点前端基础",{"2":{"293":1}}],["部分来源于",{"2":{"258":1}}],["讲起打包成一个新的资源包",{"2":{"293":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"293":1}}],["那么加载b包后",{"2":{"294":1}}],["那么你能够很快就上手",{"2":{"293":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"285":1}}],["资源",{"2":{"293":1}}],["资源包管理",{"2":{"299":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"294":1}}],["资源包的制作很简单",{"2":{"293":1}}],["资源包加载遵循一个优先级",{"2":{"294":1}}],["资源包描述",{"2":{"294":1}}],["资源包名称",{"2":{"294":1}}],["资源包通常是以",{"2":{"294":1}}],["资源包",{"2":{"293":1,"300":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"293":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"280":1}}],["语言包等",{"2":{"293":1}}],["亦可根据用途称为主题包",{"2":{"293":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"292":1}}],["然后运行python",{"2":{"292":1}}],["然后用",{"2":{"6":1}}],["方法2",{"0":{"292":1}}],["方法1",{"0":{"291":1}}],["用户管理liteyuki",{"0":{"301":1}}],["用户协议",{"0":{"295":1}}],["用observer的on",{"2":{"289":1}}],["用于统计bot接收到的消息",{"2":{"305":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"289":1}}],["用于结束当前已完成function的执行",{"2":{"285":1}}],["用于存放内置插件",{"2":{"181":1}}],["用于获取和唯一标识",{"2":{"118":1}}],["用于进程间通信",{"2":{"53":1}}],["排除的文件扩展名",{"2":{"289":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"289":1}}],["因此无法通过共享内存和直接对象传递进行通信",{"2":{"269":1}}],["定义插件元数据",{"2":{"288":1}}],["定义变量",{"2":{"282":1}}],["导入轻雪bot和日志",{"2":{"289":1}}],["导入文件系统事件",{"2":{"289":1}}],["导入文件系统观察器",{"2":{"289":1}}],["导入文件夹下多个插件",{"2":{"156":1}}],["导入逻辑部分",{"2":{"288":1}}],["供其他插件调用",{"2":{"286":1}}],["提供一系列对外的ipc",{"2":{"286":1}}],["提交到轻雪仓库的代码",{"2":{"278":1}}],["服务",{"2":{"286":1}}],["把平台的消息转换为轻雪消息格式传入总线通道",{"2":{"286":1}}],["响应",{"2":{"286":1}}],["应用",{"2":{"286":1}}],["应在每次完成一个功能或修复一个bug后提交代码",{"2":{"278":1}}],["应在初始化时调用",{"2":{"189":1}}],["大部分情况下一个插件通常承担着多个责任",{"2":{"286":1}}],["等几种类型",{"2":{"286":1}}],["等待所有异步任务结束",{"2":{"282":1}}],["编写逻辑部分",{"0":{"289":1}}],["编写轻雪函数推荐你使用vs",{"2":{"285":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"281":1}}],["的情况是效率提升的关键",{"2":{"285":1}}],["的可爱猫娘机器人",{"2":{"265":1}}],["避免出现",{"2":{"285":1}}],["由于liteyukibot基于异步运行",{"2":{"285":1}}],["结束关键字",{"0":{"285":1}}],["结束函数关键字",{"2":{"282":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"284":1}}],["则该文件夹不会被识别为资源包",{"2":{"294":1}}],["则需要删除await",{"2":{"283":1}}],["则传入泛型默认开启",{"2":{"60":1}}],["无需手动创建实例",{"2":{"292":1}}],["无需手动初始化bot",{"2":{"144":1}}],["无限戳",{"2":{"283":1}}],["执行",{"2":{"283":1}}],["疯狂戳好友",{"2":{"283":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"293":1}}],["否则task对象会被销毁",{"2":{"282":1}}],["否则默认关闭",{"2":{"60":1}}],["需要在最后调用",{"2":{"282":1}}],["单线程走到底",{"2":{"285":1}}],["单位s",{"2":{"282":1}}],["单元测试目录",{"2":{"277":1}}],["调用机器人函数",{"2":{"297":1}}],["调用机器人api",{"2":{"297":1}}],["调用重启进程方法",{"2":{"289":1}}],["调用函数",{"2":{"282":1}}],["调用bot",{"2":{"282":1}}],["输入值会被执行以转换为正确的类型",{"2":{"297":1}}],["输入playwright",{"2":{"6":1}}],["输出",{"2":{"281":1}}],["也支持句末注释",{"2":{"281":1}}],["支持中英文",{"2":{"303":2}}],["支持中英文城市名",{"2":{"303":1}}],["支持多个关键词查询",{"2":{"303":1}}],["支持绑定城市",{"2":{"303":1}}],["支持单行注释",{"2":{"281":1}}],["支持轻雪",{"2":{"266":1}}],["函数文件放在资源包的functions目录下",{"2":{"281":1}}],["函数文件",{"0":{"281":1}}],["函数列表",{"2":{"40":1}}],["属于资源包的一部分",{"2":{"280":1}}],["是可以相对引用的",{"2":{"294":1}}],["是轻雪的一个功能",{"2":{"280":1}}],["是否为协程可调用对象",{"2":{"259":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"194":1}}],["是否忽略警告",{"2":{"156":1}}],["是否忽略键不存在的错误",{"2":{"87":1}}],["是否递归监听子目录",{"2":{"142":1}}],["是否关闭警告",{"2":{"110":1}}],["是否开启类型检查",{"2":{"60":1}}],["是否允许更新",{"2":{"2":1}}],["是否自动更新轻雪",{"2":{"1":1}}],["是否自动上报问题给轻雪服务器",{"2":{"1":1}}],["是否显示日志等级图标",{"2":{"1":1}}],["我们在src",{"2":{"292":1}}],["我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系",{"2":{"286":1}}],["我们欢迎任何人参与开发",{"2":{"279":1}}],["我们使用gitmoji来标记commit的类型",{"2":{"278":1}}],["最后",{"0":{"279":1}}],["最佳实践",{"0":{"264":1},"1":{"265":1,"266":1,"267":1}}],["总结来说就是你干了什么",{"2":{"278":1}}],["总通道",{"2":{"15":1}}],["给event添加新字段",{"2":{"278":1}}],["具体请参考gitmoji",{"2":{"278":1}}],["表示修复bug等",{"2":{"278":1}}],["表示引入新功能",{"2":{"278":1}}],["尽量避免使用单引号",{"2":{"278":1}}],["尽量不要冲突",{"2":{"103":1}}],["字体包",{"2":{"293":1}}],["字符串请使用双引号",{"2":{"278":1}}],["字段",{"2":{"3":1}}],["以上内容仅用于项目的优化",{"2":{"295":1}}],["以避免出现无法预料的问题",{"2":{"293":1}}],["以下我们会编写一个简单的插件",{"2":{"289":1}}],["以下为默认值",{"2":{"2":1}}],["以实现某些功能",{"2":{"286":1}}],["以保证litedoc能够正确解析并生成文档",{"2":{"278":1}}],["没有危害的",{"2":{"278":1}}],["没有异步的必要",{"2":{"61":1}}],["代码请遵循pep8和google",{"2":{"278":1}}],["规范化",{"0":{"278":1}}],["规则函数签名",{"2":{"250":1}}],["规则",{"2":{"194":1}}],["业务逻辑请在此目录下进行开发",{"2":{"277":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"294":1}}],["同时也是liteyuki框架的仓库",{"2":{"277":1}}],["同步接收数据",{"2":{"62":1}}],["同步接收函数",{"2":{"54":1}}],["同步过滤函数",{"2":{"56":1}}],["同步进程生命周期函数",{"2":{"35":1}}],["同步生命周期函数",{"2":{"32":1}}],["中文文档",{"2":{"277":1}}],["英文文档",{"2":{"277":1}}],["文件内容为一系列的命令",{"2":{"281":1}}],["文件名以",{"2":{"281":1}}],["文件夹路径",{"2":{"156":1}}],["文档请遵循markdown语法",{"2":{"278":1}}],["文档目录",{"2":{"277":1}}],["工具目录",{"2":{"277":1}}],["内置资源包目录",{"2":{"277":1}}],["内存共享是线程安全的",{"2":{"272":1}}],["内存共享使得代码编写更加简洁",{"2":{"272":1}}],["内存",{"2":{"11":1,"295":1}}],["框架目录",{"2":{"277":1}}],["项目结构",{"0":{"277":1}}],["项目目录下的配置文件优先",{"2":{"110":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"103":1}}],["项目目录下的config",{"2":{"110":1}}],["出现冲突请与仓库维护者联系",{"2":{"275":1}}],["将你的分支合并到轻雪仓库的main分支",{"2":{"275":1}}],["将你的代码提交到这个分支",{"2":{"275":1}}],["组织账户下",{"2":{"275":1}}],["首先创建一个文件夹",{"2":{"288":1}}],["首先fork一份轻雪仓库到你的个人",{"2":{"275":1}}],["首次运行后生成config",{"2":{"0":1}}],["引用",{"2":{"275":1}}],["引用计数",{"2":{"98":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"272":1}}],["相比于普通进程通信",{"2":{"272":1}}],["实现",{"2":{"270":1,"286":2}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"293":1}}],["主题商店提供了一些资源包供你选择",{"2":{"293":1}}],["主动模式需调用chan",{"2":{"270":1}}],["主进程中",{"2":{"270":1}}],["主进程中通过get",{"2":{"270":1}}],["主进程接收到消息后重启对应子进程",{"2":{"269":1}}],["主进程订阅者接收函数",{"2":{"81":1}}],["主进程创建单例",{"2":{"67":1}}],["被动模式",{"2":{"270":1}}],["被动模式由chan",{"2":{"270":1}}],["被动通道传递通道",{"2":{"68":1}}],["被动通道",{"2":{"66":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"294":1}}],["即可创建一个插件",{"2":{"288":1}}],["即不等待",{"2":{"282":1}}],["即被动模式和主动模式",{"2":{"270":1}}],["即轻雪作为服务端",{"2":{"3":1}}],["例如npm",{"2":{"296":1}}],["例如nonebot插件中",{"2":{"270":1}}],["例如你在a中定义了templates",{"2":{"294":1}}],["例如html",{"2":{"293":1}}],["例如main",{"2":{"292":1}}],["例如watchdog",{"2":{"288":1,"291":1}}],["例如echo",{"2":{"286":1}}],["例如",{"2":{"281":2,"294":1,"303":1}}],["例如test",{"2":{"281":1,"292":1}}],["例如子进程接收到用户信息需要重启机器人",{"2":{"269":1}}],["例如使用nonebot插件可对接支持的适配器平台",{"2":{"6":1}}],["这样可以避免很多潜在的问题",{"2":{"286":1}}],["这样可以在控制台看到更多的调试信息",{"2":{"276":1}}],["这样两个进程上下文是不会互相干扰的",{"2":{"269":1}}],["这时可以通过通道对主进程发送消息",{"2":{"269":1}}],["这里给出一个参考值",{"2":{"3":1}}],["有一个task任务没有完成而await被执行了",{"2":{"285":1}}],["有条件可以使用中英双语",{"2":{"278":1}}],["有两种接收模式",{"2":{"270":1}}],["有部分实现插件为了一些功能在子进程中运行",{"2":{"269":1}}],["有的插件安装后报错无法启动",{"2":{"6":1}}],["里",{"2":{"269":1}}],["简介",{"0":{"269":1,"272":1,"286":1,"293":1},"1":{"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"294":1}}],["闭源",{"2":{"267":1}}],["展示轻雪的所有实例及其位置分布",{"2":{"267":1}}],["让",{"2":{"266":1}}],["让轻雪支持",{"2":{"266":1}}],["基础插件",{"0":{"296":1},"1":{"297":1,"298":1,"299":1,"300":1,"301":1}}],["基础配置项",{"0":{"1":1}}],["基于",{"2":{"265":1}}],["官方定制轻雪机器人",{"2":{"265":1}}],["机器人源码目录",{"2":{"277":1}}],["机器人入口文件",{"2":{"277":1}}],["机器人应用",{"0":{"265":1}}],["机器人昵称列表",{"2":{"1":1}}],["+",{"2":{"262":1}}],["+=",{"2":{"17":1,"64":1}}],["路径a",{"2":{"262":1}}],["转换路径为模块名",{"2":{"262":1}}],["可用",{"2":{"297":1}}],["可用参数",{"2":{"297":1}}],["可按需调整",{"2":{"286":1}}],["可递归",{"2":{"282":1}}],["可调用对象",{"2":{"259":1}}],["可以在配置文件中把auto",{"2":{"295":1}}],["可以在a的index",{"2":{"294":1}}],["可以在此基础上进行修改",{"2":{"293":1}}],["可以在config",{"2":{"276":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"286":1}}],["可以是本地插件或是通过",{"2":{"155":1}}],["可以使用liteyuki镜像",{"2":{"9":1}}],["判断是否为协程可调用对象",{"2":{"259":1}}],["一个",{"2":{"288":1}}],["一个键不要多次出现",{"2":{"103":1}}],["一些常用的工具类",{"2":{"258":1}}],["x26",{"2":{"248":1}}],["x3c",{"2":{"16":4,"17":1,"151":7,"155":2,"157":2,"246":1,"282":6,"303":2,"305":2}}],["45m",{"2":{"305":2}}],["4",{"0":{"211":1}}],["47",{"2":{"184":1}}],["优先级",{"2":{"194":1}}],["匹配器",{"2":{"194":1}}],["505468b及以后的lagrange",{"2":{"297":1}}],["55",{"2":{"249":1}}],["52",{"2":{"245":1}}],["5",{"0":{"212":1}}],["51",{"2":{"192":1}}],["59",{"2":{"154":1,"158":1}}],["多路输入管道组",{"2":{"191":1}}],["多配置文件编写原则",{"2":{"103":1}}],["回复消息",{"2":{"187":1}}],["根据不同类型插件设置颜色",{"2":{"157":1}}],["下午10",{"2":{"184":1,"188":1,"192":1,"245":1,"249":1}}],["下午12",{"2":{"182":1}}],["下午11",{"2":{"154":1,"158":1}}],["下午8",{"2":{"31":1}}],["插件停用只能阻断传入响应",{"2":{"300":1}}],["插件管理",{"2":{"299":1,"300":1}}],["插件信息",{"2":{"295":1}}],["插件描述",{"2":{"288":1}}],["插件版本",{"2":{"288":1}}],["插件大致可分为应用",{"2":{"286":1}}],["插件开发请在此目录下进行开发",{"2":{"277":1}}],["插件开发无需阅读本文档",{"2":{"275":1}}],["插件",{"0":{"266":1,"299":1},"1":{"300":1},"2":{"266":2}}],["插件类型",{"2":{"157":1,"288":1}}],["插件名称",{"2":{"155":1,"157":1,"288":1}}],["插件字典",{"2":{"153":1}}],["插件路径",{"2":{"144":1}}],["🔍",{"2":{"151":1}}],["🐛",{"2":{"151":1}}],["❌",{"2":{"151":1,"297":11}}],["⭕",{"2":{"151":1}}],["⚠️",{"2":{"151":1}}],["✅",{"2":{"151":1}}],["ℹ️信息",{"2":{"270":4}}],["ℹ️",{"2":{"151":1}}],["测试版本号",{"2":{"148":1}}],["此模块为内置插件文件夹",{"2":{"181":1}}],["此模块为liteyuki的框架整体",{"2":{"147":1}}],["此模块用于注册观察者函数",{"2":{"132":1}}],["运行环境的设备信息",{"2":{"295":1}}],["运行在主进程中",{"2":{"286":1}}],["运行协程",{"2":{"260":1}}],["运行处理函数",{"2":{"196":1}}],["运行插件",{"2":{"144":1}}],["运行订阅者接收函数",{"2":{"91":1}}],["上午12",{"2":{"159":1}}],["上午11",{"2":{"112":1}}],["上午9",{"2":{"149":1}}],["上午5",{"2":{"143":1}}],["事件过滤器",{"2":{"142":1}}],["事件循环",{"2":{"15":1}}],["防抖函数",{"2":{"135":1}}],["防止获取空指针",{"2":{"98":1}}],["位置1为filesystemevent",{"2":{"133":1,"134":1}}],["启用",{"2":{"298":1,"300":1}}],["启用插件后",{"2":{"292":1}}],["启用开发者模式",{"2":{"276":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"132":1}}],["启动后控制台输出",{"2":{"270":1}}],["启动后钩子",{"2":{"48":1}}],["启动所有子进程",{"2":{"127":1}}],["启动所有进程",{"2":{"117":1}}],["启动指定子进程",{"2":{"126":1}}],["启动发布订阅接收器循环",{"2":{"92":1}}],["启动前钩子",{"2":{"47":1}}],["启动",{"2":{"39":1}}],["启动bot",{"2":{"9":1}}],["启动时会加载项目目录下config",{"2":{"0":1}}],["使用通用日期简写",{"2":{"305":2}}],["使用此项目代表你已经同意以上协议",{"2":{"295":1}}],["使用开发工具快速运行插件",{"2":{"292":1}}],["使用",{"2":{"283":1}}],["使用新的task执行命令",{"2":{"282":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"132":1}}],["使用docker构建",{"0":{"10":1}}],["终止所有子进程",{"2":{"129":1}}],["终止指定子进程",{"2":{"128":1}}],["终止进程并从进程字典中删除",{"2":{"120":1}}],["添加配置项",{"2":{"297":1}}],["添加sleep",{"2":{"283":1}}],["添加处理函数",{"2":{"195":1}}],["添加子进程",{"2":{"125":1}}],["添加进程",{"2":{"118":1}}],["检查进程是否存活",{"2":{"122":1}}],["通过关键词搜索插件",{"2":{"299":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"270":1}}],["通常是目录不存在或目录为空",{"2":{"156":1}}],["通常会默认传入chan",{"2":{"118":1}}],["通道是全双工的",{"2":{"270":1}}],["通道通信",{"0":{"268":1},"1":{"269":1,"270":1,"271":1,"272":1,"273":1}}],["通道实例",{"2":{"69":1,"70":1,"71":1,"72":1}}],["通道名称",{"2":{"69":1,"71":1}}],["通道传递通道",{"2":{"67":1}}],["通道id",{"2":{"60":1}}],["创建入口文件",{"2":{"292":1}}],["创建插件",{"0":{"288":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"270":1}}],["创建asyncio",{"2":{"117":1}}],["创建虚拟环境",{"2":{"9":1}}],["对于主动推送的插件不生效",{"2":{"300":1}}],["对于不同资源包的不同文件",{"2":{"294":1}}],["对接特定平台",{"2":{"286":1}}],["对外启动方法",{"2":{"117":1}}],["对公开放时建议设置",{"2":{"2":1}}],["按照读取文件的优先级反向覆盖",{"2":{"109":1}}],["从总线通道接收到消息后进行处理",{"2":{"286":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"110":1}}],["从目录下加载配置文件",{"2":{"109":1}}],["从指定文件加载配置项",{"2":{"108":1}}],["8",{"2":{"105":1,"106":1,"107":1,"143":1,"182":1,"183":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["但请注意甄别第三方插件的安全性",{"2":{"295":1}}],["但请保证以上三个字段",{"2":{"294":1}}],["但若出现非单function的情况",{"2":{"285":1}}],["但需单独起篇幅",{"2":{"280":1}}],["但在嵌套字符串时可以使用单引号",{"2":{"278":1}}],["但一个通道只能使用一种",{"2":{"270":1}}],["但也包含原有的键值对",{"2":{"104":1}}],["但是请保留原作者信息",{"2":{"295":1}}],["但是更加轻量级并且线程安全",{"2":{"80":1}}],["但是基本上都是一样的",{"2":{"3":1}}],["但是部分内容会被覆盖",{"2":{"1":1}}],["扁平化后的配置文件",{"2":{"104":1}}],["扁平化配置文件",{"2":{"104":1}}],["扁平化编写",{"2":{"103":1}}],["注意不要嵌套文件夹",{"2":{"294":1}}],["注意冲突时的优先级",{"2":{"103":1}}],["注册一个函数在nonebot启动后运行",{"2":{"270":1}}],["注册一个函数在轻雪启动后运行",{"2":{"270":1}}],["注册文件系统变化监听器",{"2":{"142":1}}],["注册重启后的函数",{"2":{"27":1,"46":1}}],["注册进程重启前的函数",{"2":{"26":1,"45":1}}],["注册进程停止前的函数",{"2":{"25":1,"43":1}}],["注册停止后的函数",{"2":{"24":1,"44":1}}],["注册启动时的函数",{"2":{"41":1,"42":1}}],["注册启动后的函数",{"2":{"23":1}}],["注册启动前的函数",{"2":{"22":1}}],["共享内存通信",{"0":{"271":1},"1":{"272":1,"273":1}}],["共享内存对象",{"2":{"97":1}}],["共享内存模块",{"2":{"80":1}}],["订阅者接收消息时的回调",{"2":{"90":1}}],["频道",{"2":{"89":1,"90":1,"91":1}}],["发布消息",{"2":{"89":1}}],["发送函数为同步函数",{"2":{"61":1}}],["发送数据",{"2":{"61":1}}],["删除键值对",{"2":{"87":1}}],["值",{"2":{"85":1,"86":1}}],["键值对",{"2":{"88":1}}],["键",{"2":{"85":1,"86":1,"87":1}}],["类似于minecraft的mcfunction",{"2":{"280":1}}],["类似于redis",{"2":{"80":1}}],["类型",{"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"133":1,"134":1,"250":1}}],["依赖关系",{"2":{"79":1}}],["该功能需要commit",{"2":{"297":1}}],["该模块封装通道实现",{"2":{"272":1}}],["该模块参考并引用了nonebot",{"2":{"190":1}}],["该模块用于存放一些开发工具",{"2":{"131":1}}],["该模块用于常用配置文件的加载",{"2":{"103":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"79":1}}],["该步骤为必要项",{"2":{"9":1}}],["设置用户信息或打开属性设置菜单",{"2":{"301":1}}],["设置",{"2":{"298":1,"301":1}}],["设置共享内存",{"2":{"273":1}}],["设置后的插件名称",{"2":{"157":1}}],["设置插件名称颜色",{"2":{"157":1}}],["设置键值对",{"2":{"85":1}}],["设置通道实例",{"2":{"69":1,"70":1}}],["设备上python环境太乱了",{"2":{"6":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"270":1}}],["子进程中导入单例active",{"2":{"270":1}}],["子进程名称",{"2":{"125":1,"126":1,"128":1,"130":1}}],["子进程函数关键字参数",{"2":{"125":1}}],["子进程函数参数",{"2":{"125":1}}],["子进程函数",{"2":{"125":1}}],["子进程订阅者接收函数",{"2":{"82":1}}],["子进程初始化时实例化",{"2":{"67":1}}],["子进程可用的主动和被动通道",{"2":{"65":1}}],["装饰回调函数实现",{"2":{"270":1}}],["装饰一个函数在接收到数据后执行",{"2":{"142":1}}],["装饰器",{"2":{"64":1,"90":1,"142":1,"195":2}}],["装置要求",{"0":{"11":1},"1":{"12":1}}],["接收数据并执行函数",{"2":{"64":1}}],["接收函数",{"2":{"55":1}}],["会自动判断key版本",{"2":{"303":1}}],["会自动识别文件格式",{"2":{"108":1}}],["会话负载信息",{"2":{"295":1}}],["会触发最大递归深度限制",{"2":{"283":1}}],["会挂起等待",{"2":{"63":1}}],["会阻塞线程",{"2":{"62":1}}],["数据",{"2":{"61":1,"62":1,"63":1,"89":1,"91":1}}],["过滤函数",{"2":{"58":1,"64":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"295":1}}],["本项目遵循mit协议",{"2":{"295":1}}],["本项目是一个非盈利的开源项目",{"2":{"279":1}}],["本模块使用了nonebot",{"2":{"205":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"76":1}}],["本模块定义了一个通用的通道类",{"2":{"53":1}}],["本机默认为127",{"2":{"3":1}}],["并且应该在metadata",{"2":{"294":1}}],["并且不用修改源代码",{"2":{"293":1}}],["并且支持vitepress相关内容",{"2":{"278":1}}],["并在其中写入一些代码",{"2":{"292":1}}],["并在其中写入以下代码",{"2":{"292":1}}],["并在其中创建一个",{"2":{"288":1}}],["并遵循其许可进行修改",{"2":{"258":1}}],["并发运行异步函数",{"2":{"40":1}}],["并使用克隆而非直接下载的方式部署轻雪",{"2":{"6":1}}],["进程生命周期函数",{"2":{"43":2,"45":2}}],["进程函数关键字参数",{"2":{"118":1}}],["进程函数参数",{"2":{"118":1}}],["进程函数",{"2":{"37":1,"118":1}}],["进程名",{"2":{"18":1,"118":1}}],["|",{"0":{"40":1,"130":1,"144":1,"155":1,"186":1,"187":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":1,"224":1,"227":1,"228":1,"231":1,"232":1,"233":1,"234":1,"243":1,"244":1,"253":1},"2":{"34":1,"37":1,"40":2,"55":1,"58":1,"130":1,"144":1,"155":1,"186":1,"187":1}}],["7",{"2":{"31":1,"112":1,"149":1,"154":1,"158":1,"159":1}}],["775840726",{"2":{"7":1}}],["兼容键",{"2":{"30":1}}],["兼容旧版本",{"2":{"30":1}}],["获取用户信息",{"2":{"301":1}}],["获取唯一的轻雪bot实例",{"2":{"289":1}}],["获取共享内存",{"2":{"273":1}}],["获取主动通道",{"2":{"270":1}}],["获取被动通道",{"2":{"270":1}}],["获取已加载的插件",{"2":{"153":1}}],["获取日志格式",{"2":{"150":1}}],["获取指定子进程",{"2":{"130":1}}],["获取所有键值对",{"2":{"88":1}}],["获取键值对",{"2":{"86":1}}],["获取通道实例们",{"2":{"72":1}}],["获取通道实例",{"2":{"71":1}}],["获取配置",{"2":{"29":1,"30":1}}],["获取轻雪实例",{"2":{"28":1}}],["为可选参数",{"2":{"296":1}}],["为必填参数",{"2":{"296":1}}],["为子进程重启时调用",{"2":{"26":1}}],["为子进程停止时调用",{"2":{"25":1}}],["为你的python可执行文件路径",{"2":{"11":1}}],["未实现",{"2":{"24":1,"27":1,"50":1,"52":1}}],["返回true则执行回调函数",{"2":{"142":1}}],["返回",{"2":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"62":1,"63":1,"64":1,"71":1,"72":1,"86":1,"88":1,"90":1,"104":1,"142":1,"153":1,"157":1,"195":1,"259":1,"262":1,"263":1}}],["关键字参数",{"2":{"19":1}}],["自动调用",{"2":{"19":1}}],["joined",{"0":{"234":1}}],["join",{"0":{"119":1},"2":{"17":1,"109":1,"119":2,"120":1,"156":2,"262":2}}],["json",{"0":{"106":1},"2":{"0":1,"106":4,"108":2,"110":1}}],["json和toml作为配置文件",{"2":{"0":1}}],["延迟重启时间",{"2":{"17":1}}],["echo",{"2":{"281":3}}],["emoji",{"2":{"278":1}}],["empty",{"0":{"247":1,"248":1,"256":1},"2":{"155":1,"156":1,"256":1}}],["email",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["enable",{"2":{"297":2,"298":1,"299":2,"300":2}}],["end",{"2":{"282":1}}],["endswith",{"2":{"108":3,"109":1,"156":1,"289":1}}],["en",{"2":{"277":1}}],["ensure",{"2":{"260":1}}],["enumerate",{"2":{"246":1}}],["enum",{"0":{"160":1,"206":1},"1":{"161":1,"162":1,"163":1,"164":1,"165":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1}}],["encoding=",{"2":{"105":1,"106":1,"107":1}}],["enforcing",{"2":{"60":1}}],["e",{"2":{"87":2,"155":1,"157":1,"260":2}}],["error",{"0":{"87":1},"2":{"87":3,"151":1,"260":1}}],["else",{"2":{"17":1,"18":1,"28":1,"40":1,"64":2,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":2,"105":1,"106":1,"107":1,"150":1,"151":7,"155":2,"236":1,"246":1,"260":1,"262":1}}],["elif",{"2":{"17":2,"60":1,"64":1,"108":4,"155":2,"156":1,"236":1,"237":1}}],["express",{"2":{"205":1}}],["extensions",{"2":{"289":2}}],["extend",{"2":{"144":1}}],["extra",{"0":{"173":1}}],["exclude",{"2":{"289":2}}],["exc",{"2":{"155":1,"196":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"145":1}}],["exception",{"0":{"145":1},"1":{"146":1},"2":{"155":1,"196":1,"260":2}}],["except",{"2":{"16":1,"87":1,"155":1,"196":1,"260":2}}],["executor",{"2":{"63":1}}],["executable",{"2":{"17":3}}],["exist",{"2":{"156":1}}],["exists",{"2":{"60":2,"69":1,"108":1,"109":1,"156":2}}],["exit",{"2":{"17":1}}],["event装饰器监听文件系统事件",{"2":{"289":1}}],["events",{"2":{"289":1}}],["eventhandler",{"0":{"195":2},"2":{"194":1,"195":4}}],["event",{"0":{"76":1,"77":1,"137":1,"138":1,"139":1,"140":1,"141":2,"142":2,"183":1,"184":1,"196":1,"255":1,"256":1,"257":1},"1":{"77":1,"78":2,"185":1,"186":1,"187":1},"2":{"15":4,"21":1,"79":1,"137":1,"138":2,"139":2,"140":2,"141":3,"142":8,"183":3,"184":1,"187":2,"196":4,"205":1,"248":2,"253":3,"254":3,"255":2,"256":1,"257":2,"260":2,"289":8}}],["外部启动接口",{"2":{"16":1}}],["加载",{"2":{"300":1}}],["加载资源包",{"0":{"294":1},"2":{"299":1}}],["加载插件",{"0":{"290":1},"1":{"291":1,"292":1}}],["加载插件加载器",{"2":{"15":1}}],["加载单个插件",{"2":{"155":1}}],["加入qq群",{"2":{"7":1}}],["生命周期函数",{"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"34":1,"41":2,"42":2,"44":2,"46":2}}],["生命周期管理",{"2":{"15":1}}],["生产环境中推荐反向websocket",{"2":{"3":1}}],["初始化通道",{"2":{"60":1}}],["初始化日志",{"2":{"20":1}}],["初始化轻雪",{"2":{"19":1}}],["初始化轻雪实例",{"2":{"15":1}}],["初始化",{"2":{"15":1}}],["occurred",{"2":{"260":1}}],["out",{"2":{"205":1}}],["outlook",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["otherwise",{"2":{"205":1}}],["other",{"0":{"253":1,"254":1},"2":{"205":2,"253":2,"254":2}}],["or",{"2":{"205":9,"253":2}}],["obtaining",{"2":{"205":1}}],["observer",{"0":{"132":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1},"2":{"142":1,"289":2}}],["overall",{"2":{"147":1}}],["os",{"2":{"108":1,"109":3,"156":9,"289":2}}],["of",{"2":{"61":1,"69":1,"147":1,"155":1,"205":8}}],["only",{"2":{"64":1}}],["on",{"0":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"54":1,"55":1,"64":1,"73":1,"74":1,"75":1,"81":1,"82":1,"90":3,"99":1,"100":1,"101":1,"102":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"245":1,"247":1,"248":1},"1":{"246":1,"247":1,"248":1},"2":{"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"55":2,"60":2,"64":4,"72":1,"73":3,"74":3,"75":2,"81":1,"82":1,"90":11,"91":1,"98":1,"99":3,"100":3,"101":3,"102":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":2,"182":1,"183":1,"245":1,"247":1,"248":4,"270":6,"289":1}}],["onebot",{"2":{"2":1,"3":1,"284":1,"297":1}}],["operator",{"0":{"244":1}}],["open",{"2":{"17":1,"105":1,"106":1,"107":1}}],["option",{"2":{"296":1}}],["optional",{"0":{"18":1,"60":1,"64":1,"86":2,"155":1,"180":1,"186":2},"2":{"17":1,"18":2,"29":1,"30":1,"60":1,"64":3,"84":2,"86":3,"155":1,"186":2}}],["opt",{"2":{"16":2,"155":3}}],["o",{"2":{"15":1}}],["=none",{"2":{"18":1,"60":1,"64":1,"86":1,"186":2}}],["==",{"2":{"17":3,"72":1,"73":2,"74":2,"75":1,"92":1,"98":1,"99":2,"100":2,"101":2,"102":1,"150":1,"236":1,"237":1,"262":1}}],["=",{"0":{"17":1,"18":1,"29":1,"30":1,"60":1,"64":1,"86":1,"87":1,"95":1,"96":1,"108":1,"109":1,"110":1,"118":2,"142":2,"156":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"186":2,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"247":3,"248":3,"253":1,"254":1,"255":1},"2":{"15":9,"17":6,"18":2,"39":7,"40":1,"60":10,"61":1,"62":1,"63":2,"64":1,"69":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":2,"84":6,"85":2,"86":2,"87":1,"88":1,"90":2,"92":1,"94":1,"99":3,"100":2,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":5,"116":3,"118":5,"120":1,"124":1,"125":1,"135":3,"142":2,"144":4,"151":2,"155":12,"156":6,"157":5,"186":10,"187":1,"194":5,"247":1,"252":1,"259":1,"260":2,"262":1,"263":1,"270":5,"273":1,"288":1,"289":2}}],[">",{"2":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":3,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":2,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"135":1,"142":2,"150":1,"153":1,"155":1,"156":1,"157":3,"195":2,"196":1,"247":1,"248":1,"253":2,"254":2,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1,"303":2}}],["在群聊启用",{"2":{"297":1}}],["在普通图片和markdown大图之间切换",{"2":{"297":1}}],["在b中定义了templates",{"2":{"294":1}}],["在配置文件中的liteyuki",{"2":{"291":1}}],["在设备上执行命令",{"2":{"282":1}}],["在发信器输出",{"2":{"281":1}}],["在你的仓库中创建一个pull",{"2":{"275":1}}],["在你的仓库中创建一个新的分支",{"2":{"275":1}}],["在你的仓库中进行开发",{"2":{"275":1}}],["在任意进程中均可使用",{"2":{"273":1}}],["在子进程中",{"2":{"270":1}}],["在轻雪插件中",{"2":{"270":1}}],["在新线程中运行协程",{"2":{"261":1}}],["在语言加载完成后执行",{"2":{"151":1}}],["在主进程中运行",{"2":{"92":1}}],["在github上查看",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"186":1,"187":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["在安全模式下你可以使用npm",{"2":{"6":1}}],["或插件路径",{"2":{"155":1}}],["或",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"186":1,"187":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"305":2}}],["源代码",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"186":1,"187":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"273":1}}],["参与开发默认你已经了解python语言和轻雪框架的基本使用方法",{"2":{"275":1}}],["参考liteyuki",{"2":{"144":1}}],["参考值",{"2":{"3":1}}],["参数列表",{"2":{"297":2}}],["参数为调用set",{"2":{"270":1}}],["参数",{"2":{"15":1,"17":1,"18":1,"19":2,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"29":1,"30":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"64":1,"69":1,"70":1,"71":1,"85":1,"86":1,"87":1,"89":1,"90":1,"91":1,"104":1,"110":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"142":1,"144":1,"150":1,"151":1,"155":1,"156":1,"157":1,"187":1,"191":1,"194":1,"196":1,"259":1,"260":1,"261":1,"262":1,"263":1,"296":1,"305":1}}],["kind",{"2":{"205":1}}],["kill",{"2":{"120":1}}],["k",{"2":{"104":2}}],["keyword",{"2":{"248":2}}],["keywords为城市名",{"2":{"303":2}}],["keywords",{"0":{"248":2},"2":{"248":5,"299":1,"303":2}}],["keyerror",{"2":{"87":1,"126":1,"128":1}}],["keyvaluestore",{"0":{"83":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1},"2":{"94":1,"97":1}}],["keys",{"0":{"30":1},"2":{"30":3}}],["key",{"0":{"29":1,"30":1,"85":1,"86":1,"87":2},"2":{"29":3,"30":10,"85":6,"86":6,"87":11,"99":3,"100":3,"101":3,"104":2,"273":2,"297":4,"301":2,"303":1}}],["keyboardinterrupt",{"2":{"16":1}}],["kwargs=none",{"2":{"118":1}}],["kwargs",{"0":{"15":1,"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"15":3,"19":2,"40":3,"49":2,"51":2,"118":4,"125":3,"135":2,"263":2,"297":2}}],["k=szmdybfr6jy94o9kfnon7awelryi6m",{"2":{"7":1}}],["feat",{"2":{"278":1}}],["fitness",{"2":{"205":1}}],["filter=lambda",{"2":{"289":1}}],["filter",{"0":{"56":1,"57":1,"58":1,"64":2,"134":1,"142":2},"2":{"58":2,"64":8,"72":1,"73":2,"74":2,"75":1,"142":5,"270":1}}],["filesystemeventhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1}}],["filesystemevent",{"2":{"133":1,"134":1,"142":1,"289":2}}],["files",{"0":{"108":2},"2":{"108":3,"109":1,"110":1,"205":1}}],["file",{"0":{"105":1,"106":1,"107":1,"142":1},"2":{"31":1,"105":4,"106":4,"107":4,"108":12,"109":3,"112":1,"142":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1,"289":3}}],["future",{"2":{"260":1}}],["furnished",{"2":{"205":1}}],["function实现语法高亮",{"2":{"285":1}}],["function",{"2":{"280":1,"282":1,"283":2,"297":3}}],["functions",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1}}],["func=none",{"2":{"142":1}}],["func=lambda",{"2":{"72":1,"73":2,"74":2,"75":1,"270":1}}],["funcs",{"0":{"40":2,"81":1,"82":1,"91":1},"2":{"39":6,"40":4,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"64":1,"90":6,"91":2,"92":1}}],["func",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":4,"23":3,"24":3,"25":3,"26":4,"27":3,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":3,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":3,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":3,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":2,"119":1,"120":1,"121":1,"122":1,"124":1,"125":2,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":4,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"183":1,"186":1,"187":1,"189":1,"191":1,"194":1,"195":1,"196":1,"236":1,"237":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":2},"2":{"22":7,"23":6,"24":6,"25":6,"26":7,"27":6,"34":2,"37":2,"39":6,"40":8,"41":8,"42":8,"43":8,"44":8,"45":8,"46":8,"55":2,"58":2,"60":2,"64":20,"81":1,"82":1,"90":8,"91":2,"118":1,"125":3,"135":2,"142":7,"259":2,"263":4,"282":1}}],["failed",{"2":{"155":1}}],["false",{"0":{"108":1,"109":1,"110":1,"247":1,"248":1},"2":{"2":4,"60":2,"84":2,"259":1}}],["friend",{"2":{"283":2}}],["free",{"2":{"205":1}}],["framework",{"2":{"147":1}}],["from",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1},"2":{"62":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":2,"191":2,"205":1,"270":4,"288":1,"289":3}}],["flake8",{"2":{"276":1}}],["flat",{"0":{"104":1},"2":{"104":2,"105":1,"106":1,"107":1}}],["flag",{"2":{"39":1}}],["following",{"2":{"205":1}}],["folder",{"2":{"181":1}}],["found",{"2":{"61":1,"69":1,"108":1,"109":1,"120":1,"122":1,"126":1,"128":1}}],["format=get",{"2":{"151":1}}],["formats",{"2":{"109":1}}],["format",{"0":{"150":1,"157":1},"2":{"108":1,"150":3,"151":1,"155":2,"157":1}}],["for",{"2":{"18":1,"30":1,"40":1,"60":1,"70":1,"91":1,"104":2,"108":1,"109":2,"117":1,"119":1,"121":1,"127":1,"129":1,"142":1,"156":2,"189":2,"191":1,"196":1,"205":2,"246":1,"248":1,"260":2,"288":1}}],["f",{"2":{"17":1,"18":2,"30":1,"60":2,"61":1,"69":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"126":1,"127":1,"128":1,"129":1,"155":5,"156":9,"157":1,"191":2,"236":2,"237":2,"260":1,"270":2,"289":1}}],["模块名",{"2":{"262":1}}],["模块",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"143":1,"145":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"188":1,"190":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"186":1,"187":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["至少1gb空间",{"2":{"11":1}}],["至少1vcpu",{"2":{"11":1}}],["硬盘",{"2":{"11":1}}],["及服务",{"2":{"286":1}}],["及",{"2":{"11":1}}],["推荐私聊使用",{"2":{"297":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"293":1}}],["推荐",{"2":{"278":1}}],["推荐ubuntu",{"2":{"11":1}}],["推荐使用反向ws协议进行通信",{"2":{"3":1}}],["每隔0",{"2":{"283":1}}],["每行一个命令",{"2":{"281":1}}],["每个语言的文档都要修订",{"2":{"278":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"103":1}}],["每种语言都有对应的文档",{"2":{"278":1}}],["每次接收到字符串数据时都会运行",{"2":{"270":1}}],["每3秒发送一次消息",{"2":{"270":1}}],["每夜版镜像",{"2":{"10":1}}],["每天4点检查更新",{"2":{"1":1}}],["激活虚拟环境",{"2":{"9":1}}],["克隆项目到本地",{"2":{"9":1}}],["环境",{"2":{"9":1}}],["和风天气的天气key",{"2":{"303":1}}],["和10是不一样的",{"2":{"297":1}}],["和config目录下的所有配置文件",{"2":{"110":1}}],["和",{"2":{"9":1,"265":1,"297":1}}],["guide",{"2":{"278":1}}],["guild",{"0":{"209":1},"2":{"236":1,"237":1}}],["g",{"2":{"157":1,"306":1}}],["granted",{"2":{"205":1}}],["green>",{"2":{"151":1}}],["group",{"0":{"208":1},"2":{"7":1,"236":1,"237":1,"297":9,"298":1,"299":2,"305":3,"306":1}}],["gender",{"0":{"218":1}}],["generic",{"0":{"59":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"60":2,"61":1}}],["getattr",{"2":{"259":1}}],["get",{"0":{"28":1,"29":1,"30":1,"71":1,"72":1,"74":1,"75":1,"86":1,"88":1,"94":1,"99":1,"102":1,"130":1,"150":1,"153":1},"2":{"18":2,"28":2,"29":3,"30":5,"60":2,"61":1,"63":1,"71":2,"72":2,"73":1,"74":4,"75":3,"85":1,"86":4,"87":1,"88":2,"94":1,"97":1,"98":1,"99":3,"101":1,"102":3,"130":2,"144":1,"150":1,"151":2,"153":1,"155":3,"156":1,"189":2,"260":1,"270":8,"273":1,"289":2,"297":3,"298":1,"301":2}}],["gather",{"2":{"40":1,"260":1}}],["globalkeyvaluestore",{"0":{"93":1},"1":{"94":1,"95":1,"96":1},"2":{"97":1}}],["global",{"2":{"15":1,"64":1,"151":1,"299":2,"300":2}}],["gt",{"0":{"15":1,"22":1,"26":1,"28":1,"29":1,"30":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"62":1,"63":1,"64":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"122":1,"130":1,"142":1,"150":1,"153":1,"155":1,"156":1,"157":1,"195":1,"196":1,"247":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"262":1,"263":1},"2":{"79":3,"104":1,"194":1,"262":1,"278":2,"296":1,"297":7,"299":10,"301":2}}],["github",{"2":{"9":1,"265":1}}],["git",{"2":{"9":3,"10":1}}],["常规操作",{"2":{"15":1}}],["常规部署",{"0":{"9":1}}],["常见问题",{"0":{"6":1}}],["安装插件",{"2":{"299":1}}],["安装的插件",{"2":{"155":1}}],["安装依赖",{"2":{"9":1}}],["安装",{"0":{"8":1},"1":{"9":1,"10":1,"11":1,"12":1},"2":{"9":1,"296":1,"300":1}}],["安全模式",{"2":{"2":1}}],["weather",{"0":{"303":1},"1":{"304":1},"2":{"303":1,"304":1}}],["world",{"2":{"281":5}}],["whether",{"2":{"205":1}}],["whom",{"2":{"205":1}}],["while",{"2":{"62":1,"92":1,"270":2}}],["watchdog",{"2":{"289":1,"292":1}}],["watch",{"2":{"288":1,"289":1}}],["wait",{"0":{"135":1},"2":{"135":2}}],["warranties",{"2":{"205":1}}],["warranty",{"2":{"205":1}}],["waring=no",{"2":{"110":1}}],["waring",{"0":{"109":1,"110":1},"2":{"109":3,"110":4}}],["warning=no",{"2":{"109":1,"110":1}}],["warning",{"0":{"108":1,"156":1},"2":{"11":2,"30":1,"108":5,"109":1,"120":1,"122":1,"151":1,"155":1,"156":8,"285":1,"300":1}}],["wrapper",{"0":{"263":1},"2":{"40":1,"64":2,"90":4,"118":1,"135":2,"142":2,"263":4}}],["will",{"2":{"30":1}}],["without",{"2":{"205":3}}],["with",{"0":{"30":1},"2":{"30":1,"85":1,"86":1,"87":1,"94":1,"205":1}}],["windows系统版本最低windows10+",{"2":{"11":1}}],["windows请使用项目绝对目录",{"2":{"10":1}}],["windows",{"2":{"9":1,"11":1,"17":1}}],["wv=1027",{"2":{"7":1}}],["ws",{"2":{"3":2}}],["b包也定义了一个index",{"2":{"294":1}}],["break",{"2":{"246":1}}],["bug",{"2":{"278":1}}],["but",{"2":{"205":1}}],["built",{"2":{"181":2}}],["black等工具进行代码检查和格式化",{"2":{"276":1}}],["block",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"247":2,"248":2}}],["blue>",{"2":{"151":1}}],["baseseg",{"0":{"198":1,"201":1,"203":1},"1":{"199":1,"200":1,"202":1,"204":1}}],["basemodel",{"0":{"166":1,"174":1,"198":1,"213":1,"219":1,"225":1,"229":1,"235":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["baseexception",{"0":{"146":1}}],["bashdocker",{"2":{"10":1}}],["bash",{"2":{"9":1}}],["b",{"2":{"104":1,"262":2,"306":1}}],["bool=false",{"2":{"108":1,"109":1,"110":1,"247":1,"248":1}}],["bool=true",{"2":{"87":1,"142":1,"156":1}}],["bool",{"0":{"60":1,"87":1,"108":1,"109":1,"110":1,"122":1,"142":1,"156":1,"194":1,"233":1,"247":1,"248":1,"255":1,"256":1,"257":1,"259":1},"2":{"56":1,"57":1,"60":1,"122":1,"134":1,"194":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":2}}],["bot无其他插件会占用300~500mb",{"2":{"11":1}}],["bot",{"0":{"13":1,"28":1,"31":1,"186":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"9":1,"10":1,"15":2,"28":4,"29":1,"30":4,"144":2,"186":3,"187":2,"270":4,"281":1,"289":2,"297":1,"305":3,"306":1}}],["bot部分插件提供了对接特定平台的能力",{"2":{"6":1}}],["be",{"2":{"30":1,"61":1,"64":1,"69":1,"137":1,"205":2}}],["before",{"0":{"22":1,"25":1,"26":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1},"2":{"22":2,"25":2,"26":2,"39":3,"41":2,"43":2,"45":2,"47":3,"49":3,"51":3}}],["bind",{"2":{"151":1,"304":1}}],["bin",{"2":{"7":1,"9":1}}],["qr",{"2":{"7":1}}],["qq群号",{"2":{"305":1}}],["qq",{"2":{"7":1}}],["qm",{"2":{"7":2}}],["quot",{"2":{"3":2,"205":4,"278":1,"285":2,"297":2,"303":4}}],["html中用",{"2":{"294":1}}],["html",{"2":{"294":1}}],["html文件会被覆盖",{"2":{"294":1}}],["html文件",{"2":{"294":2}}],["http等服务",{"2":{"286":1}}],["https",{"2":{"9":2}}],["http",{"2":{"7":1}}],["help",{"2":{"299":1,"300":1}}],["hello",{"2":{"281":5,"297":1}}],["hereby",{"2":{"205":1}}],["handle",{"0":{"195":1},"2":{"182":1,"183":1,"195":1}}],["handlers",{"2":{"194":1,"195":1,"196":1}}],["handler",{"0":{"191":1,"252":1},"2":{"142":3,"191":1,"195":4,"196":2,"252":3,"253":4,"254":4,"255":2}}],["hash",{"0":{"175":1},"2":{"175":2}}],["holders",{"2":{"205":1}}],["homepage",{"0":{"172":1}}],["host",{"2":{"1":1}}],["hint",{"2":{"60":1}}],["仍然出现问题",{"2":{"6":1}}],["确认插件必要配置项完好后",{"2":{"6":1}}],["怎么对接聊天平台",{"2":{"6":1}}],["报错invalidgitrepositoryerror",{"2":{"6":1}}],["其中type字段为commit类型且可选",{"2":{"278":1}}],["其中",{"2":{"6":1,"277":1}}],["其他插件占用视具体插件而定",{"2":{"11":1}}],["其他插件自带的调试功能也将开启",{"2":{"2":1}}],["其他问题请移步至",{"0":{"12":1}}],["其他问题",{"0":{"7":1}}],["其他",{"0":{"4":1,"267":1}}],["其他nonebot插件的配置项",{"2":{"2":1}}],["其他配置",{"0":{"2":1}}],["rpm",{"2":{"299":5,"300":1}}],["rpc",{"2":{"79":1,"286":1}}],["role",{"0":{"225":1,"232":2},"1":{"226":1,"227":1,"228":1}}],["rf",{"2":{"205":1}}],["railt",{"2":{"205":1}}],["raise",{"2":{"28":2,"60":3,"61":2,"62":1,"64":1,"69":2,"87":1,"90":1,"92":1,"126":1,"128":1,"137":1,"236":1}}],["raw",{"0":{"186":1},"2":{"183":1,"186":3,"187":1,"248":1}}],["rulehandlerfunc",{"0":{"250":1,"252":1},"2":{"252":1}}],["rule=empty",{"2":{"247":1,"248":1}}],["rule=is",{"2":{"182":1,"183":1}}],["rule",{"0":{"194":2,"247":3,"248":2,"249":1,"251":1,"253":2,"254":2,"256":1,"257":1},"1":{"250":1,"251":1,"252":2,"253":2,"254":2,"255":2,"256":1,"257":1},"2":{"182":1,"183":1,"194":5,"196":1,"247":3,"248":5,"249":1,"253":3,"254":3,"255":1,"256":3,"257":2}}],["running",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"63":1,"84":2,"260":2}}],["runtimeerror",{"2":{"28":2,"61":1,"62":1,"64":1,"90":1,"92":1,"260":1}}],["run",{"0":{"16":1,"40":1,"91":1,"144":1,"196":1,"260":1,"261":1},"2":{"16":3,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"91":1,"92":1,"117":1,"144":2,"196":1,"260":3,"261":1,"292":2}}],["r>",{"2":{"155":2}}],["rights",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1}}],["request",{"2":{"275":1}}],["required",{"2":{"60":1}}],["requirements",{"2":{"6":1,"9":1,"11":1}}],["reload",{"2":{"297":1,"298":2,"299":1,"300":1}}],["reloading",{"2":{"289":1}}],["relative",{"2":{"262":1}}],["rel",{"2":{"262":5}}],["reply",{"0":{"187":1},"2":{"183":1,"187":3}}],["report设定为false",{"2":{"295":1}}],["report",{"2":{"1":1,"295":1}}],["red>",{"2":{"151":2}}],["remove",{"2":{"151":1}}],["ref",{"0":{"98":1}}],["recursive=recursive",{"2":{"142":1}}],["recursive",{"0":{"142":1},"2":{"142":2}}],["recv",{"2":{"60":2,"62":2,"71":5,"72":5,"74":3,"75":3,"86":5,"88":5,"99":3,"102":3,"191":2}}],["receive",{"0":{"54":1,"55":1,"62":1,"63":1,"64":1,"81":1,"82":1,"90":3,"91":1,"92":1,"186":1},"2":{"55":2,"60":3,"62":2,"63":2,"64":4,"71":1,"72":2,"73":2,"74":2,"75":1,"81":1,"82":1,"84":2,"86":1,"88":1,"90":11,"91":2,"92":4,"98":1,"99":2,"100":2,"101":2,"102":1,"186":3,"187":3,"270":11}}],["resources",{"2":{"277":1,"293":1,"294":1,"298":1}}],["resolve",{"2":{"262":2}}],["restriction",{"2":{"205":1}}],["restarting",{"2":{"17":1}}],["restart",{"0":{"17":1,"18":1,"26":1,"27":1,"45":1,"46":1,"51":1,"52":1},"2":{"15":1,"17":3,"18":1,"26":2,"27":2,"39":2,"45":2,"46":2,"51":3,"52":3,"289":2}}],["reserved",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["return",{"2":{"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":3,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"62":1,"63":1,"64":6,"71":2,"72":2,"86":2,"88":2,"90":2,"94":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"120":1,"122":1,"130":1,"135":3,"142":3,"150":2,"153":1,"155":2,"156":1,"157":1,"175":1,"195":2,"196":1,"236":2,"237":2,"247":1,"248":2,"253":2,"254":2,"255":2,"256":1,"257":1,"259":3,"262":2,"263":2}}],["r",{"2":{"6":1,"9":1,"11":1,"105":1,"106":1,"107":1}}],["mcfunction",{"2":{"281":2}}],["mute",{"0":{"233":1}}],["must",{"2":{"61":1,"69":1,"137":1}}],["mit",{"2":{"205":1}}],["msg",{"2":{"191":3,"297":1}}],["member",{"0":{"229":1,"243":2,"244":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1},"2":{"297":1}}],["memory",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"273":3}}],["merchantability",{"2":{"205":1}}],["merge",{"2":{"205":1}}],["message的语言",{"2":{"278":1}}],["message的格式为",{"2":{"278":1}}],["message字段为简短的描述",{"2":{"278":1}}],["message请遵循以下规范",{"2":{"278":1}}],["message=",{"2":{"187":1,"297":1}}],["message=message",{"2":{"187":1}}],["message",{"0":{"186":3,"187":1,"191":1,"197":1,"247":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1},"2":{"183":1,"186":9,"187":5,"191":1,"247":1,"248":2,"278":1,"305":1,"306":1}}],["messageevent",{"0":{"183":1,"185":1,"186":1,"196":1,"255":1,"256":1,"257":1},"1":{"186":1,"187":1},"2":{"183":1,"186":1,"187":1,"196":1,"248":1,"250":1,"253":1,"254":1,"255":1,"256":1,"257":1}}],["meta",{"2":{"155":4,"288":1}}],["metadata",{"0":{"180":1},"2":{"155":13}}],["moved",{"0":{"140":1},"2":{"140":1}}],["modify",{"2":{"205":1}}],["modified",{"0":{"137":1},"2":{"137":2,"138":1,"139":1,"140":1,"141":1,"142":4}}],["moduletype",{"0":{"178":1}}],["module=module",{"2":{"155":1}}],["module",{"0":{"144":1,"155":1,"163":2,"178":1,"179":1,"262":1},"2":{"144":3,"147":1,"155":26,"156":9,"157":1,"175":1,"181":1,"262":1}}],["models",{"0":{"205":1},"1":{"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["model",{"0":{"159":1,"176":1},"1":{"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1},"2":{"159":1,"265":1}}],["mode为true",{"2":{"132":1}}],["mode",{"2":{"2":2,"6":1,"276":1,"297":2,"298":1}}],["marsho",{"2":{"265":1}}],["matcher",{"0":{"192":1,"193":1,"246":3,"247":1,"248":1},"1":{"193":1,"194":2,"195":2,"196":2},"2":{"192":1,"246":9,"247":6,"248":1}}],["match",{"2":{"157":1}}],["manager",{"0":{"112":1,"158":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":1,"21":1,"112":1,"158":1}}],["mainprocess",{"2":{"269":1}}],["main",{"0":{"81":1},"2":{"6":1,"9":1,"28":1,"60":2,"64":4,"69":1,"71":1,"72":1,"84":1,"85":1,"86":1,"87":1,"88":1,"90":5,"91":1,"92":1,"270":6,"277":1,"292":1}}],["m",{"2":{"6":1,"9":1,"11":1,"157":1,"246":2,"306":1}}],["答疑",{"0":{"5":1},"1":{"6":1,"7":1}}],["要使用其他通信方式请访问onebot",{"2":{"3":1}}],["如",{"2":{"278":2}}],["如需往轻雪仓库提交代码",{"2":{"275":1}}],["如需自定义请手动添加",{"2":{"2":1}}],["如何开发",{"0":{"275":1},"1":{"276":1}}],["如果是文档相关的开发",{"2":{"275":1}}],["如果你接触过minecraft的资源包",{"2":{"293":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"281":1}}],["如果你没有安装git直接下载源代码运行",{"2":{"11":1}}],["如果你给轻雪配置了accesstoken",{"2":{"3":1}}],["如果装置上有多个环境",{"2":{"11":1}}],["voice",{"0":{"212":1},"2":{"236":1,"237":1}}],["version=",{"2":{"288":1}}],["version",{"0":{"148":1},"2":{"294":1}}],["venv",{"2":{"9":4}}],["v",{"2":{"104":2}}],["validate",{"2":{"61":1}}],["value",{"0":{"85":1},"2":{"85":5,"100":3,"104":3,"273":2,"297":2,"301":1}}],["valueerror",{"2":{"60":2,"69":1,"236":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["var=value",{"2":{"282":1}}],["var2=value2",{"2":{"282":1}}],["var1=value1>",{"2":{"282":1}}],["var",{"0":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"97":1,"98":1,"133":1,"134":1,"148":1,"250":1}}],["v11协议api",{"2":{"297":2}}],["v11",{"2":{"3":1,"284":1}}],["地址取决于配置文件",{"2":{"3":1}}],["地址",{"2":{"3":1}}],["反向websocket",{"2":{"3":1}}],["协议",{"2":{"3":1}}],["说明",{"2":{"3":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"81":1,"82":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"97":1,"98":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"117":1,"118":1,"120":1,"122":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"142":1,"144":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"186":1,"187":1,"189":1,"194":1,"195":1,"196":1,"250":1,"259":1,"260":1,"261":1,"262":1,"263":1,"297":1,"299":2,"301":1}}],["不带key返回配置项列表",{"2":{"297":1}}],["不包含任何隐私信息",{"2":{"295":1}}],["不含隐私部分",{"2":{"295":1}}],["不含插件数据",{"2":{"295":1}}],["不同adapter",{"2":{"284":1}}],["不同的实现端给出的字段可能不同",{"2":{"3":1}}],["不限制commit",{"2":{"278":1}}],["不要出现无法访问的死链接",{"2":{"278":1}}],["不要出现过多的嵌套",{"2":{"103":1}}],["不要将多个功能或多个bug的代码混在一起提交",{"2":{"278":1}}],["不递归",{"2":{"109":1}}],["不再使用外层配置",{"2":{"1":1}}],["与nonebot对接的onebot实现端配置",{"0":{"3":1}}],["示例",{"0":{"3":1,"270":1,"273":1,"283":1}}],["监听目录们",{"2":{"142":1}}],["监听地址",{"2":{"1":1}}],["监视文件变化并自动重载",{"2":{"2":1}}],["开始",{"0":{"287":1},"1":{"288":1,"289":1,"290":1,"291":1,"292":1}}],["开发文档是详细的",{"2":{"278":1}}],["开发过程中可以使用mypy",{"2":{"276":1}}],["开发指南",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1}}],["开发者模式",{"2":{"2":1}}],["开发者选项",{"2":{"2":1}}],["开启后将会启动监视者",{"2":{"2":1}}],["开启后将不会加载任何第三方nonebot插件",{"2":{"2":1}}],["开启会自动重载bot或者资源",{"2":{"2":1}}],["2s戳两次",{"2":{"283":1}}],["22",{"2":{"182":1}}],["27",{"2":{"112":1,"149":1}}],["24",{"2":{"31":1,"159":1}}],["23",{"2":{"31":1,"154":1,"158":1}}],["20代替空格",{"2":{"297":1}}],["20和end",{"2":{"283":1}}],["2024",{"2":{"31":2,"112":2,"143":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"188":2,"192":2,"205":1,"245":2,"249":2}}],["2020",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["20216中的20216替换为你的端口号",{"2":{"10":1}}],["20216",{"2":{"1":1,"3":2}}],["20",{"2":{"11":1}}],["2019+",{"2":{"11":1}}],["2fghnnlvencigbdftsnn7",{"2":{"7":1}}],["2fdfn0tzbkycnbb",{"2":{"7":1}}],["2b5odg7k",{"2":{"7":1}}],["2",{"0":{"209":1},"2":{"2":1,"283":1,"294":1}}],["建议",{"0":{"276":1}}],["建议1gb以上",{"2":{"11":1}}],["建议开启",{"2":{"2":1}}],["建议迁移到liteyuki下",{"2":{"1":1}}],["默认普通图片",{"2":{"297":1}}],["默认开启",{"2":{"295":1}}],["默认插件加载器",{"2":{"189":1}}],["默认执行扁平化选项",{"2":{"108":1,"109":1}}],["默认值",{"2":{"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"65":1,"66":1,"67":1,"68":1,"81":1,"82":1,"86":1,"97":1,"98":1,"133":1,"134":1,"148":1,"250":1}}],["默认false",{"2":{"2":1}}],["默认语言",{"2":{"2":1}}],["默认为本机",{"2":{"1":1}}],["city",{"2":{"303":1,"304":1}}],["css相对路径引用b中的css",{"2":{"294":1}}],["css",{"2":{"293":1,"294":1}}],["cwd",{"2":{"262":1}}],["cyan>",{"2":{"151":1}}],["critical",{"2":{"151":1}}],["created",{"0":{"138":1},"2":{"138":1}}],["create",{"2":{"91":1}}],["cfg",{"2":{"144":4}}],["current|bot",{"2":{"305":1}}],["current|group",{"2":{"305":1}}],["current",{"2":{"135":3,"305":2,"306":1}}],["custom",{"2":{"2":4}}],["charge",{"2":{"205":1}}],["change",{"2":{"299":1,"300":1}}],["changed",{"2":{"289":1}}],["chans",{"0":{"191":1},"2":{"191":3}}],["channel时的通道标识",{"2":{"270":1}}],["channel即可",{"2":{"270":1}}],["channel及passive",{"2":{"270":1}}],["channel函数获取通道对象",{"2":{"270":2}}],["channel=none",{"2":{"187":1}}],["channeldeliver",{"0":{"113":1},"1":{"114":1},"2":{"118":1}}],["channels",{"0":{"70":2,"72":1,"75":1},"2":{"70":4,"72":2,"74":1,"75":3}}],["channel",{"0":{"53":1,"59":1,"65":1,"66":1,"67":2,"68":2,"69":3,"70":1,"71":2,"72":1,"73":1,"74":1,"89":1,"90":1,"91":1,"114":8,"186":2,"210":1,"211":1,"212":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":2,"61":2,"62":2,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1},"2":{"18":2,"60":5,"61":1,"62":1,"65":3,"66":3,"67":2,"68":1,"69":19,"70":5,"71":9,"72":10,"73":11,"74":7,"75":2,"79":2,"84":4,"86":1,"88":1,"89":4,"90":8,"91":3,"92":2,"114":12,"118":12,"186":4,"187":2,"236":3,"237":3,"270":12}}],["chan",{"0":{"191":1},"2":{"15":4,"18":4,"71":5,"72":5,"74":3,"75":3,"84":2,"85":1,"86":6,"87":1,"88":6,"89":1,"92":1,"98":1,"99":5,"100":2,"101":2,"102":4,"118":2,"191":1}}],["check",{"0":{"60":1},"2":{"60":8,"61":1}}],["c",{"2":{"31":1,"104":1,"112":1,"143":1,"149":1,"154":1,"157":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1,"260":4,"262":2,"306":1}}],["category",{"0":{"211":1},"2":{"236":1,"237":1}}],["case",{"2":{"157":4}}],["cannot",{"2":{"61":1,"62":1,"90":1,"92":1}}],["can",{"2":{"28":1,"64":1}}],["callback",{"0":{"133":1,"142":2},"2":{"64":1,"142":4}}],["callable",{"0":{"64":3,"90":1,"142":1,"195":1,"259":2,"263":2},"2":{"32":1,"33":1,"35":1,"36":1,"40":1,"54":1,"56":1,"57":1,"64":10,"90":2,"116":1,"133":1,"134":1,"142":1,"195":1,"250":1,"259":2,"263":4}}],["call",{"0":{"259":1},"2":{"15":1,"17":2,"135":4,"255":1,"259":7}}],["cmd",{"2":{"17":5,"281":2,"282":1}}],["claim",{"2":{"205":1}}],["classmethod",{"2":{"93":1,"94":1}}],["class",{"0":{"14":1,"38":1,"59":1,"77":1,"83":1,"93":1,"113":1,"115":1,"123":1,"136":1,"146":1,"160":1,"166":1,"174":1,"185":1,"193":1,"198":1,"201":1,"203":1,"206":1,"213":1,"219":1,"225":1,"229":1,"235":1,"251":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"137":1,"138":1,"139":1,"140":1,"141":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"186":1,"187":1,"194":1,"195":1,"196":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"252":1,"253":1,"254":1,"255":1}}],["cls",{"0":{"94":1},"2":{"94":6}}],["close",{"2":{"260":1}}],["closed",{"2":{"60":1,"61":2,"62":2}}],["clone",{"2":{"9":1}}],["cpu",{"2":{"11":1,"295":1}}],["centos",{"2":{"11":1}}],["cd",{"2":{"9":1}}],["cgi",{"2":{"7":1}}],["copies",{"2":{"205":2}}],["copy",{"2":{"104":1,"205":2}}],["copyright",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":3,"245":1,"249":1}}],["color",{"2":{"157":7}}],["color=",{"2":{"151":7}}],["colors=true",{"2":{"16":2,"155":3}}],["code插件liteyuki",{"2":{"285":1}}],["code",{"2":{"142":3}}],["codemodifiedhandler",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"142":1}}],["code=775840726",{"2":{"7":1}}],["coro",{"0":{"260":1,"261":1},"2":{"260":5,"261":2}}],["coroutine",{"0":{"259":1,"260":2,"261":2,"263":1},"2":{"40":1,"57":1,"64":2,"90":1,"250":1,"259":1,"260":2,"261":3,"263":2}}],["core",{"0":{"111":1,"112":1},"1":{"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["conditions",{"2":{"205":1}}],["contract",{"2":{"205":1}}],["content",{"0":{"202":1}}],["continue",{"2":{"109":1,"156":3}}],["connection",{"2":{"205":1}}],["conn",{"2":{"60":4,"61":1,"62":1}}],["configs",{"0":{"109":1},"2":{"109":1,"110":1}}],["config=self",{"2":{"20":1}}],["config",{"0":{"29":1,"30":1,"103":1,"104":2,"110":1,"151":1,"176":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"2":2,"15":2,"20":1,"29":2,"30":6,"104":9,"105":6,"106":6,"107":6,"108":7,"109":4,"110":9,"144":1,"151":4,"189":2,"297":4,"298":1}}],["count",{"0":{"98":1},"2":{"15":1,"17":2}}],["combined",{"2":{"253":2,"254":2}}],["commit",{"2":{"278":2}}],["comm",{"0":{"53":1,"76":1,"79":1,"80":1},"1":{"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"270":2,"273":2}}],["command>",{"2":{"282":2}}],["command",{"0":{"297":1},"1":{"298":1},"2":{"1":2}}],["complete",{"2":{"260":2}}],["completion",{"2":{"2":1}}],["compat",{"0":{"30":2},"2":{"30":8}}],["com",{"2":{"7":1,"9":1,"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["cn",{"2":{"2":1}}],["duration>",{"2":{"305":1}}],["duration",{"2":{"305":2,"306":1}}],["driver",{"2":{"270":4}}],["dog",{"2":{"288":1,"289":1}}],["docker相关内容目录",{"2":{"277":1}}],["docker",{"2":{"277":1}}],["docstring",{"2":{"278":1}}],["docstring或liteyuki",{"2":{"278":1}}],["docs",{"2":{"277":1,"297":1,"298":1}}],["documentation",{"2":{"205":1}}],["do",{"2":{"205":1}}],["does",{"2":{"156":1}}],["d",{"2":{"98":2,"99":4,"100":4,"101":4,"102":2,"262":2,"306":1}}],["datetime",{"0":{"234":1}}],["data=",{"2":{"187":1}}],["data",{"0":{"61":1,"73":1,"74":1,"75":1,"78":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"186":1,"200":1},"2":{"61":6,"62":2,"63":2,"64":5,"72":2,"73":7,"74":7,"75":4,"78":3,"89":4,"90":3,"91":3,"92":6,"99":4,"100":3,"101":2,"102":2,"186":5,"270":7}}],["damages",{"2":{"205":1}}],["daemon=true",{"2":{"17":1,"117":1,"261":1}}],["darwin",{"2":{"17":1}}],["disable",{"2":{"297":1,"298":1,"299":2,"300":2}}],["distribute",{"2":{"205":1}}],["display",{"0":{"157":2},"2":{"155":7,"157":4}}],["diagnose=false",{"2":{"151":1}}],["dir",{"0":{"156":1},"2":{"156":16,"189":2}}],["directory",{"2":{"109":6,"142":2,"156":1}}],["directories=",{"2":{"289":1}}],["directories",{"0":{"109":1,"142":1},"2":{"109":2,"142":3}}],["dirs",{"0":{"109":1},"2":{"1":1,"109":1,"110":1,"189":1}}],["dict",{"0":{"70":1,"72":1,"73":1,"74":1,"75":1,"78":1,"88":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"151":1,"153":1,"173":1,"186":2,"187":1,"200":1},"2":{"15":1,"68":1,"70":2,"72":3,"73":1,"74":1,"75":1,"78":1,"81":1,"82":1,"84":2,"88":3,"99":1,"100":1,"101":1,"102":1,"104":3,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":3,"124":1,"151":1,"153":2,"155":6,"186":2,"187":1}}],["dealings",{"2":{"205":1}}],["deal",{"2":{"205":1}}],["description=",{"2":{"288":1}}],["description",{"0":{"168":1},"2":{"294":1}}],["debounce",{"0":{"135":1},"2":{"135":1,"136":1,"137":1}}],["debug",{"2":{"2":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"117":1,"127":1,"129":1,"150":2,"151":2,"191":1,"289":1}}],["deepcopy",{"2":{"104":1}}],["del",{"2":{"87":2}}],["deleted",{"0":{"139":1},"2":{"139":1}}],["delete",{"0":{"87":1,"101":1},"2":{"87":2,"100":1,"101":3}}],["delivery",{"2":{"118":1}}],["deliver",{"0":{"67":1,"68":1,"114":2},"2":{"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"114":6,"118":6}}],["delay",{"0":{"17":1},"2":{"17":3}}],["decorator",{"2":{"64":2,"90":2,"135":2,"142":2,"195":2}}],["def",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"73":1,"74":1,"75":1,"90":2,"91":1,"92":1,"94":1,"99":1,"100":1,"101":1,"102":1,"135":2,"137":1,"142":2,"183":1,"195":1,"196":1,"236":1,"237":1,"248":1,"253":1,"254":1,"255":1,"256":1,"257":1,"263":1,"270":3,"289":1}}],["defaults",{"2":{"17":1,"18":1,"29":1,"30":1,"64":1}}],["default",{"0":{"29":1,"30":1,"86":1,"110":1,"167":1,"177":1,"178":1,"179":1,"189":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"2":1,"29":3,"30":3,"67":1,"68":1,"86":5,"99":3,"110":1,"144":1,"150":1,"189":1}}],["deprecated",{"2":{"30":1}}],["depth=1",{"2":{"9":1}}],["developer",{"2":{"288":1}}],["dev",{"0":{"131":1,"132":1,"143":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1},"2":{"2":1,"289":1,"292":1}}],["访问令牌",{"2":{"2":1}}],["a包中的index",{"2":{"294":1}}],["am",{"2":{"270":6}}],["amp",{"0":{"254":1},"2":{"7":4}}],["api格式为onebot",{"2":{"297":1}}],["api文档",{"2":{"284":1}}],["api也有差别",{"2":{"284":1}}],["api",{"0":{"284":1},"2":{"267":1,"282":3,"283":2,"297":3}}],["application",{"0":{"161":2},"2":{"157":1,"286":1}}],["append",{"2":{"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"64":2,"90":2,"195":1,"246":1}}],["app",{"2":{"9":1,"10":1}}],["at",{"0":{"234":1}}],["attr",{"0":{"95":1,"96":1,"161":1,"162":1,"163":1,"164":1,"165":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"176":1,"177":1,"178":1,"179":1,"180":1,"199":1,"200":1,"202":1,"204":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"221":1,"222":1,"223":1,"224":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1}}],["avatar",{"0":{"217":1,"223":1}}],["above",{"2":{"205":1}}],["arising",{"2":{"205":1}}],["arbitrary",{"0":{"176":1}}],["argv",{"2":{"17":1}}],["args=coro",{"2":{"261":1}}],["args=",{"2":{"17":1,"117":1}}],["args",{"0":{"19":1,"40":1,"49":1,"51":1,"118":1,"125":1},"2":{"17":2,"19":2,"40":3,"49":2,"51":2,"118":3,"125":3,"135":2,"263":2,"297":4}}],["adapter",{"0":{"239":1}}],["adapter获取详细信息",{"2":{"3":1}}],["add",{"0":{"118":1,"125":1,"246":1},"2":{"118":1,"125":1,"151":1,"156":1,"246":1,"247":1}}],["associated",{"2":{"205":1}}],["as",{"2":{"87":1,"155":1,"205":1,"260":1}}],["asynchronous",{"2":{"263":1}}],["async",{"0":{"33":1,"36":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"57":1,"63":2,"91":1,"92":1,"183":1,"196":1,"255":1,"256":1,"257":1,"263":1},"2":{"34":1,"37":1,"40":3,"55":1,"58":1,"63":1,"64":1,"81":1,"82":1,"90":1,"91":1,"92":1,"183":1,"248":1,"253":1,"254":1,"256":1,"257":1,"263":2,"270":2}}],["asyncio",{"2":{"15":2,"16":1,"40":1,"63":1,"91":1,"260":5,"270":2}}],["a",{"2":{"61":1,"62":1,"104":1,"156":1,"205":2,"262":1,"288":1}}],["an",{"2":{"61":1,"69":1,"205":1}}],["and",{"2":{"61":1,"142":1,"156":3,"205":5,"254":2,"289":2}}],["anybot",{"2":{"191":2}}],["any=none",{"2":{"29":1,"30":1}}],["any",{"0":{"29":2,"30":2,"64":2,"73":1,"74":1,"75":1,"78":1,"85":1,"86":2,"88":1,"89":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"141":1,"173":1,"186":2,"187":1,"191":1,"200":1,"259":1,"263":1},"2":{"15":3,"29":3,"30":3,"32":1,"33":1,"35":1,"36":1,"54":1,"57":2,"64":7,"67":1,"68":1,"71":1,"72":1,"73":1,"74":1,"75":1,"78":1,"84":3,"85":1,"86":4,"88":3,"89":1,"90":1,"91":1,"99":1,"100":1,"101":1,"102":1,"104":2,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":4,"141":1,"186":2,"187":1,"191":1,"205":3,"248":1,"259":1,"263":1}}],["await",{"2":{"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"64":2,"90":1,"92":2,"196":2,"253":2,"254":2,"255":1,"270":1,"282":1,"283":1,"285":1}}],["awaitable",{"2":{"33":1,"36":1}}],["after",{"0":{"23":1,"24":1,"27":1,"42":1,"44":1,"46":1,"48":1,"50":1,"52":1},"2":{"23":2,"24":2,"27":2,"39":3,"42":2,"44":2,"46":2,"48":3,"50":3,"52":3,"270":1}}],["action",{"2":{"205":1}}],["active和",{"2":{"270":1}}],["active和chan",{"2":{"118":1}}],["active=channel",{"2":{"118":1}}],["active=chan",{"2":{"118":1}}],["active",{"0":{"65":1,"67":1,"114":2},"2":{"18":6,"65":1,"84":2,"89":1,"92":1,"114":6,"118":4,"270":11}}],["activate",{"2":{"9":2}}],["accesstoken",{"2":{"3":1}}],["access",{"2":{"2":1}}],["authors",{"2":{"205":1}}],["author",{"0":{"171":1},"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["authkey=ygebdemdfnycwunr4w0m1m8",{"2":{"7":1}}],["auto",{"2":{"1":2,"2":1}}],["alive",{"0":{"122":1},"2":{"120":1,"122":2}}],["already",{"2":{"60":2,"69":1}}],["all",{"0":{"88":1,"102":1,"117":1,"119":1,"121":1,"127":1,"129":1},"2":{"16":1,"17":1,"21":1,"31":1,"88":2,"101":1,"102":3,"112":1,"117":1,"119":1,"121":1,"127":1,"129":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":1,"245":1,"249":1}}],["allowed",{"0":{"176":1}}],["allow",{"2":{"2":1}}],["alconna的消息段定义",{"2":{"190":1}}],["alconna是否自动补全指令",{"2":{"2":1}}],["alconna",{"2":{"2":1}}],["高级nonebot配置",{"2":{"2":1}}],["p",{"2":{"306":1}}],["poke",{"2":{"283":4}}],["portions",{"2":{"205":1}}],["port",{"2":{"1":1}}],["period\`",{"2":{"306":1}}],["period>",{"2":{"305":1}}],["period",{"2":{"305":2}}],["permit",{"2":{"205":1}}],["permission",{"2":{"205":2}}],["persons",{"2":{"205":1}}],["person",{"2":{"205":1}}],["purpose",{"2":{"205":1}}],["publish=publish",{"2":{"118":1}}],["publish",{"0":{"89":1,"114":1},"2":{"84":2,"89":2,"92":2,"114":3,"205":1}}],["pull",{"2":{"10":1}}],["page为页数",{"2":{"299":2}}],["page",{"2":{"299":2}}],["pacman",{"0":{"299":1},"1":{"300":1}}],["pack",{"2":{"294":2,"299":3}}],["param",{"2":{"296":1}}],["parts",{"2":{"262":2}}],["particular",{"2":{"205":1}}],["parent",{"0":{"224":1}}],["passive=channel",{"2":{"118":1}}],["passive=chan",{"2":{"118":1}}],["passive",{"0":{"66":1,"68":1,"114":2},"2":{"66":1,"69":1,"71":1,"72":2,"73":2,"74":2,"75":1,"84":2,"85":1,"86":1,"87":1,"88":1,"98":1,"99":2,"100":2,"101":2,"102":1,"114":6,"118":5,"270":13}}],["pathlib",{"2":{"155":1}}],["path",{"0":{"144":2,"155":2,"262":3},"2":{"6":3,"10":1,"11":1,"108":1,"109":2,"144":4,"155":16,"156":26,"262":11,"289":5}}],["profile",{"2":{"301":4}}],["property",{"2":{"235":1,"236":2,"237":1}}],["provided",{"2":{"205":1}}],["processfunctype",{"0":{"125":1},"2":{"125":1}}],["processes",{"2":{"18":1,"116":1,"120":2,"122":1,"124":1,"125":1,"126":2,"127":1,"128":2,"129":1,"130":1}}],["processmanager",{"0":{"115":1},"1":{"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"15":2}}],["process",{"0":{"18":1,"25":2,"26":3,"35":1,"36":1,"37":1,"40":1,"43":3,"45":3,"49":1,"51":1,"122":1,"130":1},"2":{"15":1,"16":1,"17":1,"18":4,"21":1,"25":5,"26":6,"28":2,"37":2,"39":4,"40":2,"43":6,"45":6,"49":2,"51":2,"60":1,"64":3,"69":1,"71":1,"72":1,"85":1,"86":1,"87":1,"88":1,"90":3,"92":2,"116":1,"117":2,"119":2,"120":7,"122":2,"126":1,"127":3,"128":1,"129":3,"130":1,"270":8,"289":2}}],["private",{"0":{"207":1},"2":{"236":1,"237":1}}],["priority",{"0":{"194":1,"247":1,"248":1},"2":{"194":4,"246":2,"247":2,"248":2}}],["print",{"2":{"15":1,"155":1,"196":1}}],["pwd",{"2":{"10":1}}],["platform",{"2":{"17":3}}],["playwright安装失败",{"2":{"6":1}}],["plugintype",{"0":{"157":1,"160":1,"170":2},"1":{"161":1,"162":1,"163":1,"164":1,"165":1},"2":{"157":5,"288":1}}],["pluginmetadata",{"0":{"166":1,"180":1},"1":{"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1},"2":{"155":4,"288":2}}],["plugin的函数签名",{"2":{"144":1}}],["plugin",{"0":{"143":1,"152":1,"153":1,"154":1,"155":2,"156":2,"157":1,"158":1,"159":1,"174":1,"188":1},"1":{"144":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":2,"177":2,"178":2,"179":2,"180":2,"189":1},"2":{"1":1,"15":2,"143":1,"153":2,"155":14,"156":5,"157":4,"181":1,"189":6,"190":1,"205":1,"266":2,"288":4,"291":1,"292":2,"299":5}}],["plugins下创建一个文件",{"2":{"292":1}}],["plugins中添加你的插件路径",{"2":{"291":1}}],["plugins目录下为插件目录",{"2":{"277":1}}],["plugins和nonebot",{"2":{"277":1}}],["plugins",{"0":{"144":1,"153":1,"156":1,"181":1,"182":1,"188":1,"189":1},"1":{"183":1,"189":1},"2":{"1":1,"15":1,"144":6,"153":2,"155":3,"156":9,"181":1,"189":4,"277":2,"289":1,"292":2}}],["py即可启动插件",{"2":{"292":1}}],["pyo",{"2":{"289":1}}],["pycache",{"2":{"289":1}}],["pyc",{"2":{"289":1}}],["pycharm",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["py文件",{"2":{"288":1}}],["py文件或一个包含",{"2":{"288":1}}],["py的文件夹即可被识别为插件",{"2":{"288":1}}],["py",{"2":{"9":1,"31":1,"112":1,"143":1,"149":1,"154":1,"156":3,"158":1,"159":1,"182":1,"184":1,"188":2,"192":1,"245":1,"249":1,"273":1,"277":1,"288":1,"289":1,"292":2,"294":1}}],["py来启动bot",{"2":{"6":1}}],["python格式",{"2":{"281":1}}],["pythonfrom",{"2":{"270":1,"273":1,"288":1,"292":1}}],["pythonimport",{"2":{"270":1,"289":1}}],["pythonasync",{"2":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"63":1,"92":1,"196":1,"255":1}}],["pythondef",{"2":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"60":1,"61":1,"62":1,"64":1,"69":1,"70":1,"71":1,"72":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"135":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"175":1,"186":1,"187":1,"189":1,"191":1,"194":1,"195":1,"246":1,"247":1,"248":1,"252":1,"253":1,"254":1,"259":1,"260":1,"261":1,"262":1,"263":1}}],["python3",{"2":{"9":1}}],["python是你要用来运行bot的可执行文件",{"2":{"6":1}}],["python",{"2":{"6":2,"9":2,"11":2,"40":1,"73":1,"74":1,"75":1,"91":1,"94":1,"99":1,"100":1,"101":1,"102":1,"137":1,"183":1,"236":1,"237":1,"256":1,"257":1,"278":1}}],["pipe",{"2":{"60":2}}],["pip",{"2":{"6":1,"9":1,"11":1,"155":1}}],["pip和python不对应怎么办",{"2":{"6":1}}],["utils",{"0":{"258":1},"1":{"259":1,"260":1,"261":1,"262":1,"263":1},"2":{"277":1}}],["utf",{"2":{"105":1,"106":1,"107":1}}],["url",{"0":{"204":1}}],["usage",{"0":{"169":1}}],["user",{"0":{"186":1,"213":1,"230":2,"242":2,"301":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"186":3,"187":2,"236":1,"237":2,"257":1,"283":3}}],["used",{"2":{"64":1,"181":1}}],["use",{"2":{"1":1,"30":1,"155":1,"205":2}}],["unload",{"2":{"299":1,"300":1}}],["until",{"2":{"260":2}}],["uninstall",{"2":{"299":1,"300":1}}],["uninstall卸载问题插件",{"2":{"6":1}}],["uninfo的部分模型定义",{"2":{"205":1}}],["unclassified",{"0":{"164":2,"170":1}}],["unsupported",{"2":{"108":1}}],["u",{"2":{"7":1}}],["update",{"2":{"1":1,"2":1,"108":3,"109":1,"110":1,"297":1,"298":1,"299":1,"300":1}}],["某些控制台字体不可用",{"2":{"1":1}}],["text",{"0":{"201":1,"210":1},"1":{"202":1},"2":{"236":1,"237":1}}],["tests",{"2":{"277":1}}],["test",{"0":{"165":2},"2":{"157":1}}],["terminating",{"2":{"129":1}}],["terminated",{"2":{"120":1}}],["terminate",{"0":{"120":1,"121":1,"128":1,"129":1},"2":{"17":1,"21":1,"120":2,"121":2,"128":2,"129":2}}],["the",{"2":{"147":1,"155":1,"181":1,"205":14}}],["this",{"2":{"147":1,"181":1,"205":2}}],["thread",{"0":{"191":1,"261":1},"2":{"17":1,"117":1,"191":1,"261":2}}],["threading",{"0":{"96":1},"2":{"15":1,"17":1,"117":1,"261":1}}],["type=plugintype",{"2":{"288":1}}],["type=self",{"2":{"187":2}}],["types",{"0":{"176":1}}],["typeerror",{"2":{"60":1,"61":1,"69":1}}],["type",{"0":{"60":1,"157":1,"170":1,"186":2,"199":1,"221":1},"2":{"60":11,"61":7,"69":1,"155":2,"157":4,"186":6,"187":2,"278":1}}],["typealias",{"2":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"54":1,"55":1,"56":1,"57":1,"58":1,"133":1,"134":1,"250":1}}],["tar",{"2":{"205":1}}],["target",{"0":{"118":3,"237":1},"2":{"118":5,"237":1}}],["target=run",{"2":{"261":1}}],["target=self",{"2":{"117":1}}],["target=os",{"2":{"17":1}}],["targets",{"2":{"116":1,"117":1,"118":1,"119":1,"121":1,"122":1}}],["task",{"2":{"91":1,"117":1}}],["tasks",{"2":{"40":2}}],["tuple=",{"2":{"118":1}}],["tuplestr",{"2":{"30":1}}],["tuple",{"0":{"30":1,"73":1,"74":1,"75":1,"99":1,"100":1,"101":1,"102":1,"114":2,"118":1,"142":1},"2":{"30":1,"68":1,"73":1,"74":1,"75":1,"84":3,"99":1,"100":1,"101":1,"102":1,"114":2,"116":2,"142":1}}],["t",{"0":{"59":1,"61":1,"62":1,"63":1,"64":2},"1":{"60":1,"61":1,"62":1,"63":1,"64":1},"2":{"28":1,"54":1,"56":1,"57":1,"61":2,"62":2,"63":2,"64":7}}],["time>",{"2":{"282":1}}],["timeout",{"2":{"120":1}}],["time",{"2":{"17":1,"31":1,"112":1,"135":9,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["tip",{"2":{"10":1,"285":1,"294":1,"296":1}}],["trss",{"2":{"267":2}}],["trim",{"2":{"265":2}}],["traceback",{"2":{"155":1,"196":1}}],["trace",{"2":{"151":1}}],["try",{"2":{"16":1,"87":1,"155":1,"196":1,"260":1}}],["true下启动轻雪",{"2":{"6":1}}],["true",{"0":{"87":1,"142":1,"156":1,"176":1},"2":{"1":3,"2":1,"62":1,"92":1,"151":1,"255":1,"256":1,"270":2,"276":1}}],["txt",{"2":{"9":1}}],["txt来安装依赖",{"2":{"6":1,"11":1}}],["tokyo",{"2":{"303":1}}],["token",{"2":{"2":1}}],["tort",{"2":{"205":1}}],["toml",{"0":{"107":1},"2":{"107":4,"108":2,"110":1}}],["toml和config目录下的所有配置文件",{"2":{"0":1}}],["to",{"0":{"262":1},"2":{"6":3,"10":1,"11":2,"17":1,"18":1,"29":1,"30":1,"61":1,"64":1,"155":5,"156":2,"181":1,"205":8,"262":2}}],["image",{"0":{"203":1},"1":{"204":1},"2":{"297":2,"298":1}}],["implementation",{"2":{"286":1}}],["implemented",{"2":{"137":1}}],["implied",{"2":{"205":1}}],["import",{"2":{"98":1,"155":1,"270":5,"273":1,"288":2,"289":3,"292":1}}],["iterable",{"0":{"191":1},"2":{"191":1}}],["items",{"2":{"70":1,"104":2,"127":1,"129":1}}],["ignore",{"0":{"87":1,"156":1},"2":{"87":3,"156":5}}],["id仅超级用户可用",{"2":{"297":1}}],["id=user",{"2":{"283":2}}],["id=1234567",{"2":{"297":2}}],["id=123456",{"2":{"283":1}}],["id=self",{"2":{"187":3}}],["id",{"0":{"186":3,"214":1,"220":1,"226":1,"236":1,"237":1,"238":1},"2":{"64":5,"186":9,"187":3,"236":3,"237":4,"257":1,"283":2,"297":2,"299":1,"305":4}}],["ids",{"2":{"60":2,"64":2}}],["if",{"2":{"17":2,"18":1,"28":2,"30":2,"40":1,"60":5,"61":3,"62":1,"64":6,"69":3,"71":1,"72":1,"85":1,"86":1,"87":3,"88":1,"90":5,"92":2,"94":2,"104":1,"105":1,"106":1,"107":1,"108":2,"109":3,"118":1,"120":2,"122":1,"126":1,"128":1,"135":1,"142":1,"150":1,"151":7,"155":2,"156":9,"186":1,"187":1,"196":1,"236":1,"237":1,"246":1,"255":1,"259":2,"260":1,"262":1}}],["isclass",{"2":{"259":1}}],["iscoroutinefunction",{"2":{"259":2}}],["isroutine",{"2":{"259":1}}],["isfile",{"2":{"156":1,"289":1}}],["isdir",{"2":{"156":2}}],["isinstance",{"2":{"69":1,"104":1,"155":1,"270":1}}],["is",{"0":{"122":1,"257":1,"259":1},"2":{"15":1,"16":2,"18":1,"28":2,"40":1,"60":6,"61":1,"64":5,"69":1,"71":1,"72":1,"84":2,"85":1,"86":1,"87":1,"88":1,"90":3,"92":1,"94":2,"105":1,"106":1,"107":1,"118":1,"120":1,"122":2,"142":1,"147":1,"155":1,"156":2,"181":1,"186":1,"205":4,"255":1,"257":1,"259":1,"260":1}}],["i",{"0":{"191":1},"2":{"15":1,"191":3,"246":2,"270":6}}],["icu",{"2":{"9":1,"10":1}}],["icon=f",{"2":{"151":7}}],["icon",{"2":{"1":1,"151":9}}],["index",{"2":{"294":1}}],["inspect",{"2":{"259":4,"263":1}}],["insert",{"2":{"246":1}}],["instead",{"2":{"30":1}}],["instance",{"0":{"94":1,"95":1},"2":{"15":2,"28":4,"61":1,"69":1,"94":5,"97":1}}],["install安装浏览器",{"2":{"6":1}}],["install",{"2":{"6":1,"9":1,"11":1,"296":1,"299":1,"300":1}}],["invalid",{"2":{"236":1}}],["included",{"2":{"205":1}}],["including",{"2":{"205":2}}],["inner",{"2":{"60":2}}],["in",{"0":{"110":1,"261":1},"2":{"18":1,"28":1,"30":3,"40":1,"60":2,"63":1,"64":1,"69":1,"70":1,"87":1,"90":3,"91":1,"92":1,"104":2,"108":1,"109":2,"110":1,"117":1,"119":1,"120":1,"121":1,"122":1,"126":1,"127":1,"128":1,"129":1,"142":1,"144":1,"156":2,"181":2,"189":2,"191":1,"196":1,"205":6,"236":1,"237":1,"246":1,"248":2,"257":1,"260":2,"261":1,"289":1}}],["int=0",{"2":{"17":1,"247":1,"248":1}}],["int",{"0":{"17":1,"194":1,"206":1,"227":1,"247":1,"248":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"17":1,"39":1,"60":2,"194":1}}],["initialized",{"2":{"28":1}}],["initializing",{"2":{"15":1}}],["init",{"0":{"15":1,"19":1,"20":1,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"186":1,"194":1,"252":1},"2":{"15":2,"19":2,"20":2,"39":1,"60":1,"78":1,"84":1,"114":1,"116":1,"124":1,"151":1,"156":2,"186":1,"188":1,"194":1,"252":1,"262":1,"288":3}}],["info",{"2":{"1":1,"15":1,"16":2,"17":1,"151":1,"191":1,"270":2}}],["日志等级",{"2":{"1":1,"150":1}}],["lyf结尾",{"2":{"281":1}}],["lyfunction语法",{"2":{"297":1}}],["lyfunction",{"2":{"281":1}}],["lt",{"2":{"278":2,"296":1,"297":7,"299":10,"301":2}}],["locks",{"2":{"87":1}}],["lock",{"0":{"96":2},"2":{"85":3,"86":3,"87":3,"94":1}}],["loaded",{"0":{"153":1},"2":{"153":1}}],["loader",{"0":{"188":1,"189":1},"1":{"189":1},"2":{"15":1,"189":1}}],["loading",{"2":{"105":1,"106":1,"107":1}}],["load",{"0":{"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"154":1,"155":1,"156":1},"1":{"155":1,"156":1,"157":1},"2":{"15":1,"105":3,"106":3,"107":3,"108":4,"109":2,"110":3,"144":2,"154":1,"155":3,"156":2,"189":2,"299":1,"300":1}}],["loop",{"0":{"92":1},"2":{"15":4,"60":1,"63":3,"84":2,"92":2,"260":10}}],["log0000",{"2":{"270":1}}],["logger",{"0":{"20":1},"2":{"15":1,"16":2,"17":1,"19":1,"20":1,"30":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"105":1,"106":1,"107":1,"108":2,"109":1,"117":1,"120":2,"122":1,"127":1,"129":1,"151":11,"155":3,"156":3,"191":2,"260":1,"270":3,"289":2}}],["logo",{"2":{"15":1}}],["log",{"0":{"149":1,"151":1},"1":{"150":1,"151":1},"2":{"1":2,"20":1,"149":1,"151":3,"270":1}}],["last",{"2":{"135":4}}],["lambda",{"2":{"98":1,"99":2,"100":2,"101":2,"102":1}}],["latest",{"2":{"10":1}}],["language",{"2":{"2":1}}],["liability",{"2":{"205":1}}],["liable",{"2":{"205":1}}],["limited",{"2":{"205":1}}],["limitation",{"2":{"205":1}}],["license",{"2":{"205":1}}],["litedoc",{"2":{"267":1}}],["liteecho",{"0":{"182":1,"183":1},"1":{"183":1},"2":{"182":2,"183":2,"297":1}}],["liteyuki框架是包含在liteyukibot应用中的",{"2":{"277":1}}],["liteyukiexception",{"0":{"146":1}}],["liteyukibot代替$",{"2":{"10":1}}],["liteyukibot",{"0":{"14":1,"28":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1},"2":{"9":2,"17":1,"28":2,"144":1,"265":2,"266":2,"267":2,"277":1}}],["liteyukistudio",{"2":{"9":1,"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"245":1,"249":1}}],["liteyuki",{"0":{"13":1,"31":1,"53":1,"76":1,"79":1,"80":1,"103":1,"111":1,"112":1,"131":1,"132":1,"143":1,"145":1,"147":1,"149":1,"152":1,"154":1,"158":1,"159":1,"181":1,"182":1,"184":1,"188":1,"190":1,"192":1,"197":1,"205":1,"245":1,"249":1,"258":1,"299":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"77":1,"78":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"144":1,"146":1,"148":1,"150":1,"151":1,"153":1,"155":1,"156":1,"157":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"183":1,"185":1,"186":1,"187":1,"189":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"259":1,"260":1,"261":1,"262":1,"263":1,"300":1},"2":{"1":2,"2":1,"9":1,"10":1,"15":2,"28":1,"144":2,"147":1,"155":5,"189":3,"265":1,"267":2,"270":12,"273":2,"277":3,"280":1,"288":1,"289":4,"292":1,"293":1,"297":4,"298":3}}],["listdir",{"2":{"109":1,"156":2}}],["list",{"0":{"186":1,"248":1},"2":{"39":6,"60":2,"81":1,"82":1,"186":1,"194":1,"246":3,"248":1,"297":1,"299":2,"300":1}}],["life",{"2":{"39":1}}],["lifespan=self",{"2":{"15":1}}],["lifespan",{"0":{"22":2,"23":1,"24":1,"25":1,"26":2,"27":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"116":2},"1":{"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":2,"40":2,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2},"2":{"15":3,"22":5,"23":4,"24":4,"25":4,"26":5,"27":4,"31":1,"34":2,"37":2,"39":6,"40":4,"41":4,"42":4,"43":4,"44":4,"45":4,"46":4,"116":4}}],["linux系统要支持python3",{"2":{"11":1}}],["linux",{"2":{"9":1,"17":1}}],["level=level",{"2":{"151":1}}],["level",{"0":{"150":1,"227":1},"2":{"1":1,"150":3,"151":10}}],["写在外层的配置项将会被覆盖",{"2":{"1":1}}],["switch",{"2":{"297":2,"298":1}}],["simple",{"2":{"288":1}}],["signature",{"2":{"263":2}}],["src目录下为应用程序部分",{"2":{"277":1}}],["src",{"2":{"189":1,"277":1,"289":5}}],["sparkles",{"2":{"278":2}}],["specified",{"2":{"155":1}}],["split",{"2":{"155":4}}],["scope",{"0":{"240":1},"2":{"236":4,"237":4}}],["scene",{"0":{"219":1,"224":1,"241":2},"1":{"220":1,"221":1,"222":1,"223":1,"224":1},"2":{"236":1,"237":1}}],["scenetype",{"0":{"206":1,"221":1},"1":{"207":1,"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"236":7,"237":6}}],["schedule",{"2":{"142":1}}],["scripts",{"2":{"9":1}}],["shinjuku",{"2":{"303":1}}],["shellstatistic",{"2":{"305":1}}],["shellbind",{"2":{"303":1}}],["shellweather",{"2":{"303":1}}],["shellmain",{"2":{"294":1}}],["shellvar",{"2":{"282":1}}],["shellcmd",{"2":{"281":1}}],["shell",{"2":{"281":1,"283":1}}],["shall",{"2":{"205":2}}],["shared",{"0":{"97":1},"2":{"84":3,"98":1,"99":3,"100":3,"101":3,"102":2,"118":1,"273":3}}],["show",{"2":{"151":8}}],["shutdown",{"0":{"24":1,"25":1,"43":1,"44":1,"49":1,"50":1},"2":{"24":2,"25":2,"39":2,"43":2,"44":2,"49":3,"50":3}}],["sync",{"0":{"32":1,"35":1,"54":1,"56":1},"2":{"34":1,"37":1,"55":1,"58":1,"263":1}}],["system",{"0":{"142":1},"2":{"17":4,"142":1,"289":2}}],["sys",{"2":{"17":3,"151":1}}],["so",{"2":{"205":1}}],["software",{"2":{"31":1,"112":1,"143":1,"149":1,"154":1,"158":1,"159":1,"182":1,"184":1,"188":1,"192":1,"205":9,"245":1,"249":1}}],["source",{"2":{"9":1}}],["snowykami",{"2":{"31":2,"112":2,"143":2,"149":2,"154":2,"158":2,"159":2,"182":2,"184":2,"188":2,"192":2,"245":2,"249":2}}],["su",{"0":{"257":1},"2":{"182":1,"183":1,"257":1}}],["succeeded",{"2":{"155":1}}],["success",{"2":{"120":1,"151":1,"155":2}}],["supported",{"2":{"109":1}}],["superusers",{"2":{"1":1,"257":1}}],["substantial",{"2":{"205":1}}],["subscribe",{"2":{"90":1}}],["subscriber",{"0":{"81":1,"82":1,"90":1,"91":1},"2":{"90":7,"91":2,"92":1}}],["subject",{"2":{"205":1}}],["sublicense",{"2":{"205":1}}],["subprocess",{"0":{"130":1},"2":{"124":1,"125":1,"130":1}}],["subprocessmanager",{"0":{"123":1},"1":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1}}],["sub",{"0":{"82":1},"2":{"28":1,"60":1,"64":1,"84":1,"90":4,"92":1}}],["sleep",{"2":{"17":1,"270":1,"282":1,"283":1}}],["style",{"2":{"278":1,"294":2}}],["stem",{"2":{"262":2}}],["stdout",{"2":{"151":1}}],["store",{"2":{"84":1,"85":1,"86":1,"87":2,"88":1,"181":1}}],["storage",{"0":{"80":1},"1":{"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"79":2,"273":2}}],["stopped",{"2":{"16":1}}],["stopping",{"2":{"16":1}}],["stop",{"0":{"21":1},"2":{"15":1,"16":1,"21":2}}],["stat",{"2":{"306":1}}],["statistic",{"2":{"306":1}}],["statistics",{"0":{"305":1},"1":{"306":1}}],["staticmethod",{"2":{"39":1,"40":1,"90":1,"91":1}}],["status",{"2":{"297":1,"298":1}}],["starmap",{"2":{"267":1}}],["startup",{"2":{"270":2}}],["startswith",{"2":{"182":1,"183":1}}],["starting",{"2":{"117":1,"127":1}}],["start保证alconna解析正常",{"2":{"1":1}}],["start",{"0":{"22":1,"23":1,"41":1,"42":1,"47":1,"48":1,"92":1,"117":1,"126":1,"127":1},"2":{"1":1,"16":1,"17":2,"22":2,"23":2,"39":2,"41":2,"42":2,"47":3,"48":3,"92":2,"117":2,"126":2,"127":2,"261":1,"270":1}}],["strip",{"2":{"183":2}}],["structure",{"2":{"61":1}}],["str",{"0":{"18":1,"29":1,"30":2,"60":1,"69":1,"70":1,"71":1,"72":1,"73":2,"74":2,"75":2,"78":2,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"142":1,"144":1,"150":2,"153":1,"155":1,"156":1,"157":2,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"177":1,"179":1,"186":9,"187":2,"199":1,"200":1,"202":1,"204":1,"214":1,"215":1,"216":1,"217":1,"218":1,"220":1,"222":1,"223":1,"226":1,"228":1,"231":1,"238":1,"239":1,"240":1,"248":1,"262":1},"2":{"15":1,"18":2,"29":2,"30":3,"35":1,"36":1,"60":2,"68":2,"69":2,"70":2,"71":2,"72":3,"73":2,"74":2,"75":2,"78":2,"81":1,"82":1,"84":5,"85":1,"86":1,"87":1,"88":3,"89":1,"90":1,"91":1,"99":2,"100":2,"101":2,"102":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":1,"114":2,"116":2,"118":1,"120":1,"122":1,"124":1,"125":1,"126":1,"128":1,"130":1,"142":1,"144":1,"150":2,"153":2,"155":1,"156":1,"157":3,"186":9,"187":2,"248":1,"257":1,"262":2,"270":1}}],["search",{"2":{"299":1,"300":1}}],["segment",{"0":{"199":1}}],["segments",{"0":{"197":1},"1":{"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1}}],["sell",{"2":{"205":1}}],["select",{"2":{"191":1}}],["self",{"0":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"39":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"61":1,"62":1,"63":1,"64":1,"78":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"92":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"137":1,"138":1,"139":1,"140":1,"141":1,"175":1,"186":1,"187":1,"194":1,"195":1,"196":1,"236":1,"237":1,"238":1,"252":1,"253":1,"254":1,"255":1},"2":{"15":13,"16":4,"17":4,"18":2,"19":2,"20":1,"21":3,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"39":8,"41":2,"42":2,"43":2,"44":2,"45":2,"46":2,"47":3,"48":3,"49":3,"50":3,"51":3,"52":3,"60":14,"61":6,"62":3,"63":2,"64":3,"78":3,"84":7,"85":3,"86":3,"87":4,"88":3,"89":2,"90":1,"92":4,"114":6,"116":4,"117":2,"118":2,"119":2,"120":3,"121":3,"122":3,"124":2,"125":2,"126":3,"127":2,"128":3,"129":2,"130":2,"137":1,"138":2,"139":2,"140":2,"141":2,"175":2,"186":10,"187":3,"194":5,"195":2,"196":3,"236":7,"237":8,"252":2,"253":2,"254":2,"255":3}}],["session",{"0":{"184":1,"186":2,"190":1,"192":1,"197":1,"205":1,"235":1,"236":1,"245":1,"249":1},"1":{"185":1,"186":1,"187":1,"191":1,"193":1,"194":1,"195":1,"196":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":2,"237":2,"238":2,"239":2,"240":2,"241":2,"242":2,"243":2,"244":2,"246":1,"247":1,"248":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1},"2":{"186":6,"187":5,"236":1}}],["service",{"0":{"162":2},"2":{"157":1,"286":1,"288":1}}],["server",{"2":{"11":1}}],["sequence",{"0":{"40":1},"2":{"40":2}}],["send",{"0":{"61":1},"2":{"18":2,"60":2,"61":4,"69":1,"71":1,"72":1,"74":1,"75":1,"85":1,"86":1,"87":1,"88":1,"89":1,"92":1,"99":1,"102":1,"187":1,"270":3,"297":1}}],["set",{"0":{"69":1,"70":1,"73":1,"85":1,"100":1,"156":1},"2":{"15":1,"21":1,"69":2,"70":2,"72":1,"73":3,"85":2,"99":1,"100":3,"156":2,"260":1,"273":1,"297":2,"298":1,"301":2}}],["safe",{"2":{"2":1,"105":1}}],["num为每页显示数量",{"2":{"299":2}}],["num",{"2":{"299":2}}],["npm",{"2":{"299":7,"300":1}}],["nliteyuki",{"2":{"281":1}}],["nick",{"0":{"216":1}}],["nickname",{"0":{"231":1},"2":{"1":1}}],["name>",{"2":{"282":2}}],["name=module",{"2":{"155":3}}],["name=f",{"2":{"118":2}}],["name=",{"2":{"65":1,"66":1,"84":3,"288":1}}],["name",{"0":{"18":1,"60":1,"69":1,"71":1,"78":1,"118":1,"120":1,"122":1,"125":1,"126":1,"128":1,"130":1,"157":2,"167":1,"177":1,"179":1,"215":1,"222":1,"228":1,"262":1},"2":{"18":6,"60":9,"69":7,"70":2,"71":5,"73":3,"74":3,"78":3,"117":3,"118":5,"119":1,"120":6,"121":2,"122":5,"125":4,"126":5,"127":2,"128":5,"129":2,"130":3,"155":20,"156":9,"157":6,"175":1,"262":1,"270":2,"297":4,"299":8}}],["new",{"2":{"15":1,"104":3,"260":1}}],["normal>",{"2":{"151":1}}],["noninfringement",{"2":{"205":1}}],["nonlocal",{"2":{"135":1}}],["nonedog",{"2":{"288":1}}],["none",{"0":{"15":1,"18":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":1,"64":1,"85":1,"86":1,"87":1,"89":1,"95":1,"118":1,"130":1,"142":1,"180":1,"186":2,"196":1,"215":2,"216":2,"217":2,"218":2,"222":2,"223":2,"224":2,"227":2,"228":2,"231":2,"232":2,"233":2,"234":2,"243":2,"244":2},"2":{"15":1,"18":2,"28":1,"29":1,"30":1,"39":1,"40":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"60":3,"61":1,"63":1,"64":2,"85":1,"87":1,"89":1,"94":2,"105":1,"106":1,"107":1,"118":1,"130":2,"133":1,"135":1,"142":1,"155":4,"156":1,"186":1,"196":1,"250":2,"255":1,"259":1}}],["nonebot插件目录",{"2":{"277":1}}],["nonebot",{"2":{"2":1,"258":1,"266":6,"270":3,"277":1,"288":1,"289":4,"292":1}}],["nonebot下配置已迁移至nonebot键下",{"2":{"1":1}}],["nonebot机器人的配置",{"2":{"1":1}}],["no",{"0":{"108":1,"109":1,"110":1,"167":1,"177":1,"178":1,"179":1,"200":1,"202":1,"204":1,"214":1,"220":1,"221":1,"226":1,"230":1,"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"67":1,"68":1,"108":3,"109":3,"110":4,"205":1}}],["notice",{"2":{"205":2}}],["notimplementederror",{"2":{"137":1}}],["not",{"2":{"18":1,"28":1,"60":1,"61":2,"64":4,"69":1,"87":1,"90":3,"92":1,"105":1,"106":1,"107":1,"108":3,"109":3,"120":2,"122":2,"126":2,"128":2,"142":2,"155":1,"156":8,"196":1,"205":1,"289":2}}],["nohup",{"2":{"17":2,"282":1,"283":1}}],["node等进程",{"2":{"11":1}}],["noverify=0",{"2":{"7":1}}],["若不存在则返回空",{"2":{"297":1}}],["若不存在则创建于config",{"2":{"297":1}}],["若存在则返回",{"2":{"297":1}}],["若存在则覆盖",{"2":{"297":1}}],["若存在则会覆盖",{"2":{"297":1}}],["若要戳20s后停止",{"2":{"283":1}}],["若要接收外部请求请填写0",{"2":{"1":1}}],["若函数中启动了其他task",{"2":{"282":1}}],["若有面向普通用户部分",{"2":{"278":1}}],["若有子进程订阅则推送给子进程",{"2":{"92":1}}],["若为空",{"2":{"60":1}}],["若你不希望提供这些信息",{"2":{"295":1}}],["若你不能访问github",{"2":{"9":1}}],["若你修改了端口号请将20216",{"2":{"10":1}}],["若没有metadata",{"2":{"294":1}}],["若没有",{"2":{"1":1}}],["03",{"2":{"270":2}}],["0000",{"2":{"270":3}}],["00",{"2":{"270":18}}],["02",{"2":{"159":1,"188":1}}],["04",{"2":{"143":1}}],["04+",{"2":{"11":1}}],["0",{"0":{"17":1,"207":1,"247":1,"248":1},"2":{"1":5,"3":4,"15":1,"17":2,"39":1,"72":1,"73":2,"74":2,"75":1,"92":1,"98":2,"99":2,"100":2,"101":2,"102":1,"194":1,"283":1,"288":2,"294":2}}],["14s",{"2":{"305":2}}],["1h",{"2":{"305":2}}],["1d",{"2":{"305":2}}],["1145141919810",{"2":{"297":1}}],["11",{"2":{"188":1}}],["19",{"2":{"184":1,"192":1,"245":1,"249":1}}],["1919810",{"2":{"1":1}}],["18",{"2":{"143":1}}],["12",{"2":{"112":1,"149":1}}],["127",{"2":{"1":1,"3":1}}],["10",{"2":{"148":1,"297":1}}],["10+",{"2":{"9":1,"11":1}}],["10版本后",{"2":{"1":1}}],["1",{"0":{"208":1},"2":{"1":1,"2":1,"3":2,"17":2,"18":2,"64":1,"73":2,"74":2,"75":1,"92":2,"99":3,"100":2,"101":1,"102":1,"104":1,"136":1,"137":1,"155":4,"262":2,"288":1,"294":2}}],["请注意",{"2":{"293":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"293":1}}],["请确保用户文档是通俗易懂的",{"2":{"278":1}}],["请确保文档内的链接是正确的",{"2":{"278":1}}],["请确保文档是完善的",{"2":{"278":1}}],["请确保注释风格为google",{"2":{"278":1}}],["请确保代码的类型提示是正确的",{"2":{"278":1}}],["请确保代码是可运行的",{"2":{"278":1}}],["请确保你了解markdown语法和基本前端知识",{"2":{"275":1}}],["请遵循以下规范",{"2":{"278":1}}],["请阅读插件主页的说明",{"2":{"300":1}}],["请阅读插件开发文档和api",{"2":{"275":1}}],["请阅读以下内容",{"2":{"275":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"103":1}}],["请联系插件作者或在安全模式safe",{"2":{"6":1}}],["请先查阅插件文档",{"2":{"6":1}}],["请正确安装git",{"2":{"6":1}}],["请使用path",{"2":{"11":1}}],["请使用",{"2":{"6":1}}],["请在此填写相同的值",{"2":{"3":1}}],["请开启alconna",{"2":{"1":1}}],["请尽快迁移",{"2":{"1":1}}],["空命令头",{"2":{"1":1}}],["指令前缀",{"2":{"1":1}}],["31",{"2":{"182":1}}],["3",{"0":{"210":1},"2":{"1":1,"148":1,"156":1,"270":1}}],["6",{"2":{"1":1,"148":1}}],["轻雪天气liteyuki",{"0":{"303":1},"1":{"304":1}}],["轻雪文档",{"2":{"298":1}}],["轻雪命令liteyuki",{"0":{"297":1},"1":{"298":1}}],["轻雪会收集以下内容",{"2":{"295":1}}],["轻雪会自动合并这些配置文件",{"2":{"0":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"293":1}}],["轻雪主进程不涉及聊天部分",{"2":{"289":1}}],["轻雪函数",{"0":{"280":1},"1":{"281":1,"282":1,"283":1,"284":1,"285":1},"2":{"280":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"272":1}}],["轻雪运行在主进程",{"2":{"269":1}}],["轻雪api文档生成器",{"2":{"267":1}}],["轻雪官方星图",{"2":{"267":1}}],["轻雪官方机器人",{"2":{"265":1}}],["轻雪机器人统计接口",{"2":{"267":1}}],["轻雪机器人",{"2":{"266":1}}],["轻雪",{"2":{"265":1}}],["轻雪抽象消息事件",{"2":{"186":1}}],["轻雪生命周期管理",{"2":{"39":1}}],["轻雪实例",{"2":{"28":1}}],["轻雪的更新功能依赖git",{"2":{"11":1}}],["轻雪使用git进行版本管理",{"2":{"9":1}}],["轻雪不局限于onebot适配器",{"2":{"4":1}}],["轻雪调试",{"2":{"2":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"286":1}}],["轻雪插件目录",{"2":{"277":1}}],["轻雪插件目录列表",{"2":{"1":1}}],["轻雪插件列表",{"2":{"1":1}}],["轻雪支持yaml",{"2":{"0":1}}],["y",{"2":{"157":1}}],["your",{"2":{"155":2}}],["yellow>",{"2":{"151":1}}],["y>",{"2":{"16":2}}],["y>liteyuki",{"2":{"16":2}}],["yamlweather",{"2":{"303":1}}],["yamlname",{"2":{"294":1}}],["yamlnonebot",{"2":{"1":1}}],["yaml",{"0":{"105":1},"2":{"0":1,"2":1,"105":4,"108":2,"110":1}}],["yml格式的所有合法内容",{"2":{"297":1}}],["yml文件",{"2":{"294":1}}],["yml中填写一些信息",{"2":{"294":1}}],["yml中设置dev",{"2":{"276":1}}],["yml",{"2":{"0":1,"108":1,"110":1,"294":2,"297":1}}],["yml和config目录",{"2":{"0":1}}],["你在a包中定义了一个index",{"2":{"294":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"294":1}}],["你也可以自己制作资源包",{"2":{"293":1}}],["你的插件代码",{"2":{"288":1}}],["你的贡献将会使轻雪变得更好",{"2":{"279":1}}],["你应该使用其他储存方式",{"2":{"103":1}}],["你将无法使用更新功能",{"2":{"11":1}}],["你可以选择开启auto",{"2":{"295":1}}],["你可以自由使用",{"2":{"295":1}}],["你可以自定义一些信息",{"2":{"294":1}}],["你可以在多个线程中读写共享内存",{"2":{"272":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"272":1}}],["你可以使用nonebot2支持的任何适配器或使用轻雪讯息传递插件",{"2":{"4":1}}],["你可在config目录下创建多个配置文件",{"2":{"0":1}}],["你可修改配置项后重启轻雪",{"2":{"0":1}}],["你只需要修改superusers及nickname字段即可",{"2":{"0":1}}],["绝大多数情况下",{"2":{"0":1}}],["取决于你个人的喜好",{"2":{"0":1}}],["配置项",{"2":{"303":1}}],["配置项目",{"2":{"104":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"296":1}}],["配置文件尽量扁平化",{"2":{"103":1}}],["配置值",{"2":{"29":1,"30":1}}],["配置键",{"2":{"29":1,"30":1}}],["配置",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"15":2,"151":1,"298":1}}]],"serializationVersion":2}`;export{e as default}; diff --git a/assets/chunks/ContributorBar.Dxof8JRG.js b/assets/chunks/ContributorBar.DMnvUds9.js similarity index 77% rename from assets/chunks/ContributorBar.Dxof8JRG.js rename to assets/chunks/ContributorBar.DMnvUds9.js index 5c871e75..b801a21a 100644 --- a/assets/chunks/ContributorBar.Dxof8JRG.js +++ b/assets/chunks/ContributorBar.DMnvUds9.js @@ -1 +1 @@ -import{g as c}from"./theme.DjavgrUf.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework._avq4Ty7.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C}; +import{g as c}from"./theme.BxnBdNII.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.Z6UMW4JZ.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C}; diff --git a/assets/chunks/VPLocalSearchBox.CNLYrEZr.js b/assets/chunks/VPLocalSearchBox.CNLYrEZr.js deleted file mode 100644 index 3b5d60ce..00000000 --- a/assets/chunks/VPLocalSearchBox.CNLYrEZr.js +++ /dev/null @@ -1,8 +0,0 @@ -var Rt=Object.defineProperty;var Ct=(a,e,t)=>e in a?Rt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ae=(a,e,t)=>Ct(a,typeof e!="symbol"?e+"":e,t);import{V as tt,p as ie,h as me,am as nt,an as At,ao as Mt,q as $e,ap as Lt,d as Dt,D as xe,aq as st,ar as it,as as zt,at as Pt,s as jt,au as Vt,a9 as $t,av as Bt,ah as Wt,P as he,aw as Kt,v as Me,O as _e,ax as Jt,ay as Ut,W as qt,R as Gt,$ as Ht,o as H,b as Qt,j as _,a0 as Yt,k as L,a4 as Zt,a5 as Xt,a6 as en,c as Z,n as rt,e as Se,C as at,F as ot,a as fe,t as pe,az as tn,_ as nn}from"./framework._avq4Ty7.js";import{u as sn,c as rn}from"./theme.DjavgrUf.js";const an={en:()=>tt(()=>import("./@localSearchIndexen.tV9EBttR.js"),[]),root:()=>tt(()=>import("./@localSearchIndexroot.DtL6jhiS.js"),[])};/*! -* tabbable 6.2.0 -* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var bt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ne=bt.join(","),yt=typeof Element>"u",ae=yt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Fe=!yt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Oe=function a(e,t){var n;t===void 0&&(t=!0);var s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),r=s===""||s==="true",i=r||t&&e&&a(e.parentNode);return i},on=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},wt=function(e,t,n){if(Oe(e))return[];var s=Array.prototype.slice.apply(e.querySelectorAll(Ne));return t&&ae.call(e,Ne)&&s.unshift(e),s=s.filter(n),s},xt=function a(e,t,n){for(var s=[],r=Array.from(e);r.length;){var i=r.shift();if(!Oe(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,n);n.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var h=ae.call(i,Ne);h&&n.filter(i)&&(t||!e.includes(i))&&s.push(i);var m=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),f=!Oe(m,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,n);n.flatten?s.push.apply(s,b):s.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return s},_t=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},re=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||on(e))&&!_t(e)?0:e.tabIndex},ln=function(e,t){var n=re(e);return n<0&&t&&!_t(e)?0:n},cn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},St=function(e){return e.tagName==="INPUT"},un=function(e){return St(e)&&e.type==="hidden"},dn=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},hn=function(e,t){for(var n=0;nsummary:first-of-type"),i=r?e.parentElement:e;if(ae.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof s=="function"){for(var o=e;e;){var l=e.parentElement,c=Fe(e);if(l&&!l.shadowRoot&&s(l)===!0)return lt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(mn(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return lt(e);return!1},bn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},wn=function a(e){var t=[],n=[];return e.forEach(function(s,r){var i=!!s.scopeParent,o=i?s.scopeParent:s,l=ln(o,i),c=i?a(s.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):n.push({documentOrder:r,tabIndex:l,item:s,isScope:i,content:c})}),n.sort(cn).reduce(function(s,r){return r.isScope?s.push.apply(s,r.content):s.push(r.content),s},[]).concat(t)},xn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=xt([e],t.includeContainer,{filter:Be.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:yn}):n=wt(e,t.includeContainer,Be.bind(null,t)),wn(n)},_n=function(e,t){t=t||{};var n;return t.getShadowRoot?n=xt([e],t.includeContainer,{filter:Re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=wt(e,t.includeContainer,Re.bind(null,t)),n},oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,Ne)===!1?!1:Be(t,e)},Sn=bt.concat("iframe").join(","),Le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,Sn)===!1?!1:Re(t,e)};/*! -* focus-trap 7.6.1 -* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function We(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=Array(e);t0){var n=e[e.length-1];n!==t&&n.pause()}var s=e.indexOf(t);s===-1||e.splice(s,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},Cn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},An=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Mn=function(e){return ge(e)&&!e.shiftKey},Ln=function(e){return ge(e)&&e.shiftKey},ht=function(e){return setTimeout(e,0)},ft=function(e,t){var n=-1;return e.every(function(s,r){return t(s)?(n=r,!1):!0}),n},ve=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s1&&arguments[1]!==void 0?arguments[1]:{},g=d.hasFallback,T=g===void 0?!1:g,k=d.params,O=k===void 0?[]:k,S=r[u];if(typeof S=="function"&&(S=S.apply(void 0,Nn(O))),S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var R=S;if(typeof S=="string"){try{R=n.querySelector(S)}catch(v){throw new Error("`".concat(u,'` appears to be an invalid selector; error="').concat(v.message,'"'))}if(!R&&!T)throw new Error("`".concat(u,"` as selector refers to no known node"))}return R},m=function(){var u=h("initialFocus",{hasFallback:!0});if(u===!1)return!1;if(u===void 0||u&&!Le(u,r.tabbableOptions))if(c(n.activeElement)>=0)u=n.activeElement;else{var d=i.tabbableGroups[0],g=d&&d.firstTabbableNode;u=g||h("fallbackFocus")}else u===null&&(u=h("fallbackFocus"));if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},f=function(){if(i.containerGroups=i.containers.map(function(u){var d=xn(u,r.tabbableOptions),g=_n(u,r.tabbableOptions),T=d.length>0?d[0]:void 0,k=d.length>0?d[d.length-1]:void 0,O=g.find(function(v){return oe(v)}),S=g.slice().reverse().find(function(v){return oe(v)}),R=!!d.find(function(v){return re(v)>0});return{container:u,tabbableNodes:d,focusableNodes:g,posTabIndexesFound:R,firstTabbableNode:T,lastTabbableNode:k,firstDomTabbableNode:O,lastDomTabbableNode:S,nextTabbableNode:function(p){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=d.indexOf(p);return F<0?E?g.slice(g.indexOf(p)+1).find(function(z){return oe(z)}):g.slice(0,g.indexOf(p)).reverse().find(function(z){return oe(z)}):d[F+(E?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?b(d.shadowRoot):d},y=function(u){if(u!==!1&&u!==b(document)){if(!u||!u.focus){y(m());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Cn(u)&&u.select()}},x=function(u){var d=h("setReturnFocus",{params:[u]});return d||(d===!1?!1:u)},w=function(u){var d=u.target,g=u.event,T=u.isBackward,k=T===void 0?!1:T;d=d||Ee(g),f();var O=null;if(i.tabbableGroups.length>0){var S=c(d,g),R=S>=0?i.containerGroups[S]:void 0;if(S<0)k?O=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:O=i.tabbableGroups[0].firstTabbableNode;else if(k){var v=ft(i.tabbableGroups,function(j){var I=j.firstTabbableNode;return d===I});if(v<0&&(R.container===d||Le(d,r.tabbableOptions)&&!oe(d,r.tabbableOptions)&&!R.nextTabbableNode(d,!1))&&(v=S),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,E=i.tabbableGroups[p];O=re(d)>=0?E.lastTabbableNode:E.lastDomTabbableNode}else ge(g)||(O=R.nextTabbableNode(d,!1))}else{var F=ft(i.tabbableGroups,function(j){var I=j.lastTabbableNode;return d===I});if(F<0&&(R.container===d||Le(d,r.tabbableOptions)&&!oe(d,r.tabbableOptions)&&!R.nextTabbableNode(d))&&(F=S),F>=0){var z=F===i.tabbableGroups.length-1?0:F+1,P=i.tabbableGroups[z];O=re(d)>=0?P.firstTabbableNode:P.firstDomTabbableNode}else ge(g)||(O=R.nextTabbableNode(d))}}else O=h("fallbackFocus");return O},C=function(u){var d=Ee(u);if(!(c(d,u)>=0)){if(ve(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}ve(r.allowOutsideClick,u)||u.preventDefault()}},A=function(u){var d=Ee(u),g=c(d,u)>=0;if(g||d instanceof Document)g&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var T,k=!0;if(i.mostRecentlyFocusedNode)if(re(i.mostRecentlyFocusedNode)>0){var O=c(i.mostRecentlyFocusedNode),S=i.containerGroups[O].tabbableNodes;if(S.length>0){var R=S.findIndex(function(v){return v===i.mostRecentlyFocusedNode});R>=0&&(r.isKeyForward(i.recentNavEvent)?R+1=0&&(T=S[R-1],k=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return re(p)>0})})||(k=!1);else k=!1;k&&(T=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(T||i.mostRecentlyFocusedNode||m())}i.recentNavEvent=void 0},J=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var g=w({event:u,isBackward:d});g&&(ge(u)&&u.preventDefault(),y(g))},Q=function(u){(r.isKeyForward(u)||r.isKeyBackward(u))&&J(u,r.isKeyBackward(u))},W=function(u){An(u)&&ve(r.escapeDeactivates,u)!==!1&&(u.preventDefault(),o.deactivate())},V=function(u){var d=Ee(u);c(d,u)>=0||ve(r.clickOutsideDeactivates,u)||ve(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},$=function(){if(i.active)return dt.activateTrap(s,o),i.delayInitialFocusTimer=r.delayInitialFocus?ht(function(){y(m())}):y(m()),n.addEventListener("focusin",A,!0),n.addEventListener("mousedown",C,{capture:!0,passive:!1}),n.addEventListener("touchstart",C,{capture:!0,passive:!1}),n.addEventListener("click",V,{capture:!0,passive:!1}),n.addEventListener("keydown",Q,{capture:!0,passive:!1}),n.addEventListener("keydown",W),o},be=function(){if(i.active)return n.removeEventListener("focusin",A,!0),n.removeEventListener("mousedown",C,!0),n.removeEventListener("touchstart",C,!0),n.removeEventListener("click",V,!0),n.removeEventListener("keydown",Q,!0),n.removeEventListener("keydown",W),o},M=function(u){var d=u.some(function(g){var T=Array.from(g.removedNodes);return T.some(function(k){return k===i.mostRecentlyFocusedNode})});d&&y(m())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(M):void 0,q=function(){U&&(U.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){U.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=l(u,"onActivate"),g=l(u,"onPostActivate"),T=l(u,"checkCanFocusTrap");T||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=n.activeElement,d==null||d();var k=function(){T&&f(),$(),q(),g==null||g()};return T?(T(i.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(u){if(!i.active)return this;var d=ut({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,be(),i.active=!1,i.paused=!1,q(),dt.deactivateTrap(s,o);var g=l(d,"onDeactivate"),T=l(d,"onPostDeactivate"),k=l(d,"checkCanReturnFocus"),O=l(d,"returnFocus","returnFocusOnDeactivate");g==null||g();var S=function(){ht(function(){O&&y(x(i.nodeFocusedBeforeActivation)),T==null||T()})};return O&&k?(k(x(i.nodeFocusedBeforeActivation)).then(S,S),this):(S(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=l(u,"onPause"),g=l(u,"onPostPause");return i.paused=!0,d==null||d(),be(),q(),g==null||g(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=l(u,"onUnpause"),g=l(u,"onPostUnpause");return i.paused=!1,d==null||d(),f(),$(),q(),g==null||g(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(g){return typeof g=="string"?n.querySelector(g):g}),i.active&&f(),q(),this}},o.updateContainerElements(e),o};function Pn(a,e={}){let t;const{immediate:n,...s}=e,r=ie(!1),i=ie(!1),o=f=>t&&t.activate(f),l=f=>t&&t.deactivate(f),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},m=me(()=>{const f=nt(a);return(Array.isArray(f)?f:[f]).map(b=>{const y=nt(b);return typeof y=="string"?y:At(y)}).filter(Mt)});return $e(m,f=>{f.length&&(t=zn(f,{...s,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),n&&o())},{flush:"post"}),Lt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class ce{constructor(e,t=!0,n=[],s=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=s}static matches(e,t){const n=typeof t=="string"?[t]:t,s=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(s){let r=!1;return n.every(i=>s.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{const s=t.filter(r=>r.contains(n)).length>0;t.indexOf(n)===-1&&!s&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let s;try{const r=e.contentWindow;if(s=r.document,!r||!s)throw new Error("iframe inaccessible")}catch{n()}s&&t(s)}isIframeBlank(e){const t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let s=!1,r=null;const i=()=>{if(!s){s=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,s=>{n++,this.waitForIframes(s.querySelector("html"),()=>{--n||t()})},s=>{s||t()})}forEachIframe(e,t,n,s=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&s(o)};i||l(),r.forEach(c=>{ce.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,n(h)),l()},l)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){const s=e.compareDocumentPosition(n),r=Node.DOCUMENT_POSITION_PRECEDING;if(s&r)if(t!==null){const i=t.compareDocumentPosition(n),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,s){let r=!1,i=!1;return s.forEach((o,l)=>{o.val===n&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,n)?(r===!1&&!i?s.push({val:n,handled:!0}):r!==!1&&!i&&(s[r].handled=!0),!0):(r===!1&&s.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,s){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,n,s)})})}iterateThroughNodes(e,t,n,s,r){const i=this.createIterator(t,e,s);let o=[],l=[],c,h,m=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;m();)this.iframes&&this.forEachIframe(t,f=>this.checkIframeFilter(c,h,f,o),f=>{this.createInstanceOnIframe(f).forEachNode(e,b=>l.push(b),s)}),l.push(c);l.forEach(f=>{n(f)}),this.iframes&&this.handleOpenIframes(o,e,n,s),r()}forEachNode(e,t,n,s=()=>{}){const r=this.getContexts();let i=r.length;i||s(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,n,()=>{--i<=0&&s()})};this.iframes?this.waitForIframes(o,l):l()})}}let jn=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",s=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${n}`),s+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+s))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,s)=>{let r=s.charAt(n+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let s=[];return e.split("").forEach(r=>{n.every(i=>{if(i.indexOf(r)!==-1){if(s.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),s.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let n=this.opt.accuracy,s=typeof n=="string"?n:n.value,r=typeof n=="string"?[]:n.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),s){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(s=>{s.trim()&&t.indexOf(s)===-1&&t.push(s)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,s)=>s.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let n=0;return e.sort((s,r)=>s.start-r.start).forEach(s=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(s,n);o&&(s.start=r,s.length=i-r,t.push(s),n=i)}),t}callNoMatchOnInvalidRanges(e,t){let n,s,r=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),s=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&s-t>0&&s-n>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:s,valid:r}}checkWhitespaceRanges(e,t,n){let s,r=!0,i=n.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,s=l+parseInt(e.length,10),s>i&&(s=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||s-l<0||l>i||s>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,s).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:s,valid:r}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,s=>{n.push({start:t.length,end:(t+=s.textContent).length,node:s})},s=>this.matchesExclude(s.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){const s=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(n-t);let o=document.createElement(s);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,n,s,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!s(i.node))return!1;const c=t-i.start,h=(n>i.end?i.end:n)-i.start,m=e.value.substr(0,i.start),f=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=m+f,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,r(i.node.previousSibling,i.start),n>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,n,s,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!n(c[i],l))continue;let h=c.index;if(i!==0)for(let m=1;m{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let m=1;mn(l[i],m),(m,f)=>{e.lastIndex=f,s(m)})}r()})}wrapRangeFromIndex(e,t,n,s){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:m}=this.checkWhitespaceRanges(o,i,r.value);m&&this.wrapRangeInMappedTextNode(r,c,h,f=>t(f,o,r.value.substring(c,h),l),f=>{n(f,o)})}),s()})}unwrapMatches(e){const t=e.parentNode;let n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,s="wrapMatches";const r=i=>{n++,this.opt.each(i)};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),this[s](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,n),r,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,s="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),m=0;this.log(`Searching with expression "${h}"`),this[s](h,1,(f,b)=>this.opt.filter(b,c,n,m),f=>{m++,n++,this.opt.each(f)},()=>{m===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(n):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),i===0?this.opt.done(n):l(r[0])}markRanges(e,t){this.opt=t;let n=0,s=this.checkRanges(e);s&&s.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(s)),this.wrapRangeFromIndex(s,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{n++,this.opt.each(r,i)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{const s=ce.matches(n,t),r=this.matchesExclude(n);return!s||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Vn(a){const e=new jn(a);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}function ke(a,e,t,n){function s(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(n.next(h))}catch(m){i(m)}}function l(h){try{c(n.throw(h))}catch(m){i(m)}}function c(h){h.done?r(h.value):s(h.value).then(o,l)}c((n=n.apply(a,[])).next())})}const $n="ENTRIES",Et="KEYS",Tt="VALUES",D="";class De{constructor(e,t){const n=e._tree,s=Array.from(n.keys());this.set=e,this._type=t,this._path=s.length>0?[{node:n,keys:s}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=le(this._path);if(le(t)===D)return{done:!1,value:this.result()};const n=e.get(le(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=le(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>le(e)).filter(e=>e!==D).join("")}value(){return le(this._path).node.get(D)}result(){switch(this._type){case Tt:return this.value();case Et:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const le=a=>a[a.length-1],Bn=(a,e,t)=>{const n=new Map;if(e===void 0)return n;const s=e.length+1,r=s+t,i=new Uint8Array(r*s).fill(t+1);for(let o=0;o{const l=r*i;e:for(const c of a.keys())if(c===D){const h=s[l-1];h<=t&&n.set(o,[a.get(c),h])}else{let h=r;for(let m=0;mt)continue e}It(a.get(c),e,t,n,s,h,i,o+c)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=Ce(this._tree,e.slice(this._prefix.length));if(t===void 0){const[s,r]=qe(n);for(const i of s.keys())if(i!==D&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),s.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Wn(this._tree,e)}entries(){return new De(this,$n)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return Bn(this._tree,e,t)}get(e){const t=Ke(this._tree,e);return t!==void 0?t.get(D):void 0}has(e){const t=Ke(this._tree,e);return t!==void 0&&t.has(D)}keys(){return new De(this,Et)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,ze(this._tree,e).set(D,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=ze(this._tree,e);return n.set(D,t(n.get(D))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=ze(this._tree,e);let s=n.get(D);return s===void 0&&n.set(D,s=t()),s}values(){return new De(this,Tt)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[n,s]of e)t.set(n,s);return t}static fromObject(e){return X.from(Object.entries(e))}}const Ce=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const n of a.keys())if(n!==D&&e.startsWith(n))return t.push([a,n]),Ce(a.get(n),e.slice(n.length),t);return t.push([a,e]),Ce(void 0,"",t)},Ke=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==D&&e.startsWith(t))return Ke(a.get(t),e.slice(t.length))},ze=(a,e)=>{const t=e.length;e:for(let n=0;a&&n{const[t,n]=Ce(a,e);if(t!==void 0){if(t.delete(D),t.size===0)kt(n);else if(t.size===1){const[s,r]=t.entries().next().value;Nt(n,s,r)}}},kt=a=>{if(a.length===0)return;const[e,t]=qe(a);if(e.delete(t),e.size===0)kt(a.slice(0,-1));else if(e.size===1){const[n,s]=e.entries().next().value;n!==D&&Nt(a.slice(0,-1),n,s)}},Nt=(a,e,t)=>{if(a.length===0)return;const[n,s]=qe(a);n.set(s+e,t),n.delete(s)},qe=a=>a[a.length-1],Ge="or",Ft="and",Kn="and_not";class ue{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Ve:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},je),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},pt),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Hn),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ue,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:n,processTerm:s,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const m=n(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.addFieldLength(l,f,this._documentCount-1,b);for(const y of m){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(f,l,w);else x&&this.addTerm(f,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,s={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(m=>setTimeout(m,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),s);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:n,extractField:s,fields:r,idField:i}=this._options,o=s(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=s(e,c);if(h==null)continue;const m=t(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.removeFieldLength(l,f,this._documentCount,b);for(const y of m){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(f,l,w);else x&&this.removeTerm(f,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,s)=>{this.removeFieldLength(t,s,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:s},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,s=n(e,t);this.discard(s),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ue,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return ke(this,void 0,void 0,function*(){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const s=e.batchSize||Je.batchSize,r=e.batchWait||Je.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[m]of h)this._documentIds.has(m)||(h.size<=1?l.delete(c):h.delete(m));this._index.get(o).size===0&&this._index.delete(o),i%s===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=n}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||Ve.minDirtCount,n=n||Ve.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const n=this.executeQuery(e,t),s=[];for(const[r,{score:i,terms:o,match:l}]of n){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&s.push(h)}return e===ue.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||s.sort(mt),s}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const n=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=n.get(o);l!=null?(l.score+=r,l.count+=1):n.set(o,{score:r,terms:i,count:1})}const s=[];for(const[r,{score:i,terms:o,count:l}]of n)s.push({suggestion:r,terms:o,score:i/l});return s.sort(mt),s}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return ke(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(je.hasOwnProperty(e))return Pe(je,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:s,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Te(s),l._fieldLength=Te(r),l._storedFields=Te(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of n){const m=new Map;for(const f of Object.keys(h)){let b=h[f];o===1&&(b=b.ds),m.set(parseInt(f,10),Te(b))}l._index.set(c,m)}return l}static loadJSAsync(e,t){return ke(this,void 0,void 0,function*(){const{index:n,documentIds:s,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield Ie(s),l._fieldLength=yield Ie(r),l._storedFields=yield Ie(i);for(const[h,m]of l._documentIds)l._idToShortId.set(m,h);let c=0;for(const[h,m]of n){const f=new Map;for(const b of Object.keys(m)){let y=m[b];o===1&&(y=y.ds),f.set(parseInt(b,10),yield Ie(y))}++c%1e3===0&&(yield Ot(0)),l._index.set(h,f)}return l})}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:s,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new ue(t);return c._documentCount=n,c._nextId=s,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new X,c}executeQuery(e,t={}){if(e===ue.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const f=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,f));return this.combineResults(b,f.combineWith)}const{tokenize:n,processTerm:s,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:n,processTerm:s},r),t),{tokenize:o,processTerm:l}=i,m=o(e).flatMap(f=>l(f)).filter(f=>!!f).map(Gn(i)).map(f=>this.executeQuerySpec(f,i));return this.combineResults(m,i.combineWith)}executeQuerySpec(e,t){const n=Object.assign(Object.assign({},this._options.searchOptions),t),s=(n.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:Pe(n.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=n,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},pt.weights),i),m=this._index.get(e.term),f=this.termResults(e.term,e.term,1,e.termBoost,m,s,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const C=x.length-e.term.length;if(!C)continue;y==null||y.delete(x);const A=h*x.length/(x.length+.3*C);this.termResults(e.term,x,A,e.termBoost,w,s,r,l,f)}if(y)for(const x of y.keys()){const[w,C]=y.get(x);if(!C)continue;const A=c*x.length/(x.length+C);this.termResults(e.term,x,A,e.termBoost,w,s,r,l,f)}return f}executeWildcardQuery(e){const t=new Map,n=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[s,r]of this._documentIds){const i=n.boostDocument?n.boostDocument(r,"",this._storedFields.get(s)):1;t.set(s,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ge){if(e.length===0)return new Map;const n=t.toLowerCase(),s=Jn[n];if(!s)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(s)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const s={};for(const[r,i]of n)s[r]=Object.fromEntries(i);e.push([t,s])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,n,s,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const m=i[h],f=this._fieldIds[h],b=r.get(f);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[f];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(f,w,t),y-=1;continue}const C=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!C)continue;const A=b.get(w),J=this._fieldLength.get(w)[f],Q=qn(A,y,this._documentCount,J,x,l),W=n*s*m*C*Q,V=c.get(w);if(V){V.score+=W,Qn(V.terms,e);const $=Pe(V.match,t);$?$.push(h):V.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,n){const s=this._index.fetch(n,gt);let r=s.get(e);if(r==null)r=new Map,r.set(t,1),s.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const s=this._index.fetch(n,gt),r=s.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,n):r.get(t)<=1?r.size<=1?s.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const s of Object.keys(this._fieldIds))if(this._fieldIds[s]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${s}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Jn={[Ge]:(a,e)=>{for(const t of e.keys()){const n=a.get(t);if(n==null)a.set(t,e.get(t));else{const{score:s,terms:r,match:i}=e.get(t);n.score=n.score+s,n.match=Object.assign(n.match,i),vt(n.terms,r)}}return a},[Ft]:(a,e)=>{const t=new Map;for(const n of e.keys()){const s=a.get(n);if(s==null)continue;const{score:r,terms:i,match:o}=e.get(n);vt(s.terms,i),t.set(n,{score:s.score+r,terms:s.terms,match:Object.assign(s.match,o)})}return t},[Kn]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Un={k:1.2,b:.7,d:.5},qn=(a,e,t,n,s,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*n/s)))},Gn=a=>(e,t,n)=>{const s=typeof a.fuzzy=="function"?a.fuzzy(e,t,n):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,n):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,n):1;return{term:e,fuzzy:s,prefix:r,termBoost:i}},je={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Yn),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},pt={combineWith:Ge,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Un},Hn={combineWith:Ft,prefix:(a,e,t)=>e===t.length-1},Je={batchSize:1e3,batchWait:10},Ue={minDirtFactor:.1,minDirtCount:20},Ve=Object.assign(Object.assign({},Je),Ue),Qn=(a,e)=>{a.includes(e)||a.push(e)},vt=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},mt=({score:a},{score:e})=>e-a,gt=()=>new Map,Te=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ie=a=>ke(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const n of Object.keys(a))e.set(parseInt(n,10),a[n]),++t%1e3===0&&(yield Ot(0));return e}),Ot=a=>new Promise(e=>setTimeout(e,a)),Yn=/[\n\r\p{Z}\p{P}]+/u;class Zn{constructor(e=10){Ae(this,"max");Ae(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Xn=["aria-owns"],es={class:"shell"},ts=["title"],ns={class:"search-actions before"},ss=["title"],is=["aria-activedescendant","aria-controls","placeholder"],rs={class:"search-actions"},as=["title"],os=["disabled","title"],ls=["id","role","aria-labelledby"],cs=["id","aria-selected"],us=["href","aria-label","onMouseenter","onFocusin","data-index"],ds={class:"titles"},hs=["innerHTML"],fs={class:"title main"},ps=["innerHTML"],vs={key:0,class:"excerpt-wrapper"},ms={key:0,class:"excerpt",inert:""},gs=["innerHTML"],bs={key:0,class:"no-results"},ys={class:"search-keyboard-shortcuts"},ws=["aria-label"],xs=["aria-label"],_s=["aria-label"],Ss=["aria-label"],Es=Dt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var S,R;const t=e,n=xe(),s=xe(),r=xe(an),i=sn(),{activate:o}=Pn(n,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=st(async()=>{var v,p,E,F,z,P,j,I,K;return it(ue.loadJSON((E=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==null?void 0:E.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((F=c.value.search)==null?void 0:F.provider)==="local"&&((P=(z=c.value.search.options)==null?void 0:z.miniSearch)==null?void 0:P.searchOptions)},...((j=c.value.search)==null?void 0:j.provider)==="local"&&((K=(I=c.value.search.options)==null?void 0:I.miniSearch)==null?void 0:K.options)}))}),f=me(()=>{var v,p;return((v=c.value.search)==null?void 0:v.provider)==="local"&&((p=c.value.search.options)==null?void 0:p.disableQueryPersistence)===!0}).value?ie(""):zt("vitepress:local-search-filter",""),b=Pt("vitepress:local-search-detailed-list",((S=c.value.search)==null?void 0:S.provider)==="local"&&((R=c.value.search.options)==null?void 0:R.detailedView)===!0),y=me(()=>{var v,p,E;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((E=c.value.search.options)==null?void 0:E.detailedView)===!1)}),x=me(()=>{var p,E,F,z,P,j,I;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((P=(z=(F=(E=v==null?void 0:v.locales)==null?void 0:E[l.value])==null?void 0:F.translations)==null?void 0:z.button)==null?void 0:P.buttonText)||((I=(j=v==null?void 0:v.translations)==null?void 0:j.button)==null?void 0:I.buttonText)||"Search"});jt(()=>{y.value&&(b.value=!1)});const w=xe([]),C=ie(!1);$e(f,()=>{C.value=!1});const A=st(async()=>{if(s.value)return it(new Vn(s.value))},null),J=new Zn(16);Vt(()=>[h.value,f.value,b.value],async([v,p,E],F,z)=>{var ee,ye,He,Qe;(F==null?void 0:F[0])!==v&&J.clear();let P=!1;if(z(()=>{P=!0}),!v)return;w.value=v.search(p).slice(0,16),C.value=!0;const j=E?await Promise.all(w.value.map(B=>Q(B.id))):[];if(P)return;for(const{id:B,mod:te}of j){const ne=B.slice(0,B.indexOf("#"));let Y=J.get(ne);if(Y)continue;Y=new Map,J.set(ne,Y);const G=te.default??te;if(G!=null&&G.render||G!=null&&G.setup){const se=Bt(G);se.config.warnHandler=()=>{},se.provide(Wt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");se.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const we=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;Y.set(Ze,Xe)}),se.unmount()}if(P)return}const I=new Set;if(w.value=w.value.map(B=>{const[te,ne]=B.id.split("#"),Y=J.get(te),G=(Y==null?void 0:Y.get(ne))??"";for(const se in B.match)I.add(se);return{...B,text:G}}),await he(),P)return;await new Promise(B=>{var te;(te=A.value)==null||te.unmark({done:()=>{var ne;(ne=A.value)==null||ne.markRegExp(k(I),{done:B})}})});const K=((ee=n.value)==null?void 0:ee.querySelectorAll(".result .excerpt"))??[];for(const B of K)(ye=B.querySelector('mark[data-markjs="true"]'))==null||ye.scrollIntoView({block:"center"});(Qe=(He=s.value)==null?void 0:He.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function Q(v){const p=$t(v.slice(0,v.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${v}`);return{id:v,mod:await import(p)}}catch(E){return console.error(E),{id:v,mod:{}}}}const W=ie(),V=me(()=>{var v;return((v=f.value)==null?void 0:v.length)<=0});function $(v=!0){var p,E;(p=W.value)==null||p.focus(),v&&((E=W.value)==null||E.select())}Me(()=>{$()});function be(v){v.pointerType==="mouse"&&$()}const M=ie(-1),U=ie(!0);$e(w,v=>{M.value=v.length?0:-1,q()});function q(){he(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}_e("ArrowUp",v=>{v.preventDefault(),M.value--,M.value<0&&(M.value=w.value.length-1),U.value=!0,q()}),_e("ArrowDown",v=>{v.preventDefault(),M.value++,M.value>=w.value.length&&(M.value=0),U.value=!0,q()});const N=Jt();_e("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=w.value[M.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(N.go(p.id),t("close"))}),_e("Escape",()=>{t("close")});const d=rn({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),Ut("popstate",v=>{v.preventDefault(),t("close")});const g=qt(Gt?document.body:null);Me(()=>{he(()=>{g.value=!0,he().then(()=>o())})}),Ht(()=>{g.value=!1});function T(){f.value="",he().then(()=>$(!1))}function k(v){return new RegExp([...v].sort((p,E)=>E.length-p.length).map(p=>`(${Kt(p)})`).join("|"),"gi")}function O(v){var F;if(!U.value)return;const p=(F=v.target)==null?void 0:F.closest(".result"),E=Number.parseInt(p==null?void 0:p.dataset.index);E>=0&&E!==M.value&&(M.value=E),U.value=!1}return(v,p)=>{var E,F,z,P,j;return H(),Qt(tn,{to:"body"},[_("div",{ref_key:"el",ref:n,role:"button","aria-owns":(E=w.value)!=null&&E.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:p[0]||(p[0]=I=>v.$emit("close"))}),_("div",es,[_("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>be(I)),onSubmit:p[5]||(p[5]=Yt(()=>{},["prevent"]))},[_("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},p[7]||(p[7]=[_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,ts),_("div",ns,[_("button",{class:"back-button",title:L(d)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[8]||(p[8]=[_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,ss)]),Zt(_("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":p[2]||(p[2]=I=>en(f)?f.value=I:null),"aria-activedescendant":M.value>-1?"localsearch-item-"+M.value:void 0,"aria-autocomplete":"both","aria-controls":(F=w.value)!=null&&F.length?"localsearch-list":void 0,"aria-labelledby":"localsearch-label",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"search-input",id:"localsearch-input",enterkeyhint:"go",maxlength:"64",placeholder:x.value,spellcheck:"false",type:"search"},null,8,is),[[Xt,L(f)]]),_("div",rs,[y.value?Se("",!0):(H(),Z("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":L(b)}]),type:"button",title:L(d)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>M.value>-1&&(b.value=!L(b)))},p[9]||(p[9]=[_("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,as)),_("button",{class:"clear-button",type:"reset",disabled:V.value,title:L(d)("modal.resetButtonTitle"),onClick:T},p[10]||(p[10]=[_("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,os)])],32),_("ul",{ref_key:"resultsEl",ref:s,id:(z=w.value)!=null&&z.length?"localsearch-list":void 0,role:(P=w.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=w.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:O},[(H(!0),Z(ot,null,at(w.value,(I,K)=>(H(),Z("li",{key:I.id,id:"localsearch-item-"+K,"aria-selected":M.value===K?"true":"false",role:"option"},[_("a",{href:I.id,class:rt(["result",{selected:M.value===K}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:ee=>!U.value&&(M.value=K),onFocusin:ee=>M.value=K,onClick:p[6]||(p[6]=ee=>v.$emit("close")),"data-index":K},[_("div",null,[_("div",ds,[p[12]||(p[12]=_("span",{class:"title-icon"},"#",-1)),(H(!0),Z(ot,null,at(I.titles,(ee,ye)=>(H(),Z("span",{key:ye,class:"title"},[_("span",{class:"text",innerHTML:ee},null,8,hs),p[11]||(p[11]=_("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),_("span",fs,[_("span",{class:"text",innerHTML:I.title},null,8,ps)])]),L(b)?(H(),Z("div",vs,[I.text?(H(),Z("div",ms,[_("div",{class:"vp-doc",innerHTML:I.text},null,8,gs)])):Se("",!0),p[13]||(p[13]=_("div",{class:"excerpt-gradient-bottom"},null,-1)),p[14]||(p[14]=_("div",{class:"excerpt-gradient-top"},null,-1))])):Se("",!0)])],42,us)],8,cs))),128)),L(f)&&!w.value.length&&C.value?(H(),Z("li",bs,[fe(pe(L(d)("modal.noResultsText"))+' "',1),_("strong",null,pe(L(f)),1),p[15]||(p[15]=fe('" '))])):Se("",!0)],40,ls),_("div",ys,[_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.navigateUpKeyAriaLabel")},p[16]||(p[16]=[_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,ws),_("kbd",{"aria-label":L(d)("modal.footer.navigateDownKeyAriaLabel")},p[17]||(p[17]=[_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,xs),fe(" "+pe(L(d)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.selectKeyAriaLabel")},p[18]||(p[18]=[_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,_s),fe(" "+pe(L(d)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.closeKeyAriaLabel")},"esc",8,Ss),fe(" "+pe(L(d)("modal.footer.closeText")),1)])])])],8,Xn)])}}}),Os=nn(Es,[["__scopeId","data-v-f9a928e8"]]);export{Os as default}; diff --git a/assets/chunks/VPLocalSearchBox.DRsLDEZW.js b/assets/chunks/VPLocalSearchBox.DRsLDEZW.js new file mode 100644 index 00000000..bd0ab46e --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.DRsLDEZW.js @@ -0,0 +1,8 @@ +var Ot=Object.defineProperty;var Rt=(a,e,t)=>e in a?Ot(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ae=(a,e,t)=>Rt(a,typeof e!="symbol"?e+"":e,t);import{V as tt,p as ie,h as me,am as st,an as Ct,ao as At,q as $e,ap as Mt,d as Lt,D as xe,aq as nt,ar as Dt,as as zt,s as Pt,at as jt,v as Me,P as he,O as _e,au as Vt,av as $t,W as Bt,R as Wt,$ as Kt,o as H,b as Jt,j as _,a0 as Ut,k as L,a4 as qt,a5 as Gt,a6 as Ht,c as Z,n as it,e as Se,C as rt,F as at,a as fe,t as pe,aw as Qt,ax as ot,ay as Yt,ab as Zt,ah as Xt,az as es,_ as ts}from"./framework.Z6UMW4JZ.js";import{u as ss,c as ns}from"./theme.BxnBdNII.js";const is={en:()=>tt(()=>import("./@localSearchIndexen.0ahcIb7N.js"),[]),root:()=>tt(()=>import("./@localSearchIndexroot.DrZL5TX6.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var gt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ne=gt.join(","),bt=typeof Element>"u",ae=bt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Fe=!bt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Oe=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},yt=function(e,t,s){if(Oe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ne));return t&&ae.call(e,Ne)&&n.unshift(e),n=n.filter(s),n},wt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Oe(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ae.call(i,Ne);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Oe(m,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},xt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},re=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!xt(e)?0:e.tabIndex},as=function(e,t){var s=re(e);return s<0&&t&&!xt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},_t=function(e){return e.tagName==="INPUT"},ls=function(e){return _t(e)&&e.type==="hidden"},cs=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ae.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Fe(e);if(l&&!l.shadowRoot&&n(l)===!0)return lt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return lt(e);return!1},ms=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=as(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=wt([e],t.includeContainer,{filter:Be.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=yt(e,t.includeContainer,Be.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=wt([e],t.includeContainer,{filter:Re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=yt(e,t.includeContainer,Re.bind(null,t)),s},oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,Ne)===!1?!1:Be(t,e)},xs=gt.concat("iframe").join(","),Le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,xs)===!1?!1:Re(t,e)};/*! +* focus-trap 7.6.2 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function We(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,s=Array(e);t0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Os=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Rs=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Cs=function(e){return ge(e)&&!e.shiftKey},As=function(e){return ge(e)&&e.shiftKey},ht=function(e){return setTimeout(e,0)},ve=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1&&arguments[1]!==void 0?arguments[1]:{},g=d.hasFallback,T=g===void 0?!1:g,k=d.params,O=k===void 0?[]:k,S=r[u];if(typeof S=="function"&&(S=S.apply(void 0,Is(O))),S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var R=S;if(typeof S=="string"){try{R=s.querySelector(S)}catch(v){throw new Error("`".concat(u,'` appears to be an invalid selector; error="').concat(v.message,'"'))}if(!R&&!T)throw new Error("`".concat(u,"` as selector refers to no known node"))}return R},m=function(){var u=h("initialFocus",{hasFallback:!0});if(u===!1)return!1;if(u===void 0||u&&!Le(u,r.tabbableOptions))if(c(s.activeElement)>=0)u=s.activeElement;else{var d=i.tabbableGroups[0],g=d&&d.firstTabbableNode;u=g||h("fallbackFocus")}else u===null&&(u=h("fallbackFocus"));if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},f=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),g=ws(u,r.tabbableOptions),T=d.length>0?d[0]:void 0,k=d.length>0?d[d.length-1]:void 0,O=g.find(function(v){return oe(v)}),S=g.slice().reverse().find(function(v){return oe(v)}),R=!!d.find(function(v){return re(v)>0});return{container:u,tabbableNodes:d,focusableNodes:g,posTabIndexesFound:R,firstTabbableNode:T,lastTabbableNode:k,firstDomTabbableNode:O,lastDomTabbableNode:S,nextTabbableNode:function(p){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=d.indexOf(p);return F<0?E?g.slice(g.indexOf(p)+1).find(function(z){return oe(z)}):g.slice(0,g.indexOf(p)).reverse().find(function(z){return oe(z)}):d[F+(E?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?b(d.shadowRoot):d},y=function(u){if(u!==!1&&u!==b(document)){if(!u||!u.focus){y(m());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Os(u)&&u.select()}},x=function(u){var d=h("setReturnFocus",{params:[u]});return d||(d===!1?!1:u)},w=function(u){var d=u.target,g=u.event,T=u.isBackward,k=T===void 0?!1:T;d=d||Ee(g),f();var O=null;if(i.tabbableGroups.length>0){var S=c(d,g),R=S>=0?i.containerGroups[S]:void 0;if(S<0)k?O=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:O=i.tabbableGroups[0].firstTabbableNode;else if(k){var v=i.tabbableGroups.findIndex(function(j){var I=j.firstTabbableNode;return d===I});if(v<0&&(R.container===d||Le(d,r.tabbableOptions)&&!oe(d,r.tabbableOptions)&&!R.nextTabbableNode(d,!1))&&(v=S),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,E=i.tabbableGroups[p];O=re(d)>=0?E.lastTabbableNode:E.lastDomTabbableNode}else ge(g)||(O=R.nextTabbableNode(d,!1))}else{var F=i.tabbableGroups.findIndex(function(j){var I=j.lastTabbableNode;return d===I});if(F<0&&(R.container===d||Le(d,r.tabbableOptions)&&!oe(d,r.tabbableOptions)&&!R.nextTabbableNode(d))&&(F=S),F>=0){var z=F===i.tabbableGroups.length-1?0:F+1,P=i.tabbableGroups[z];O=re(d)>=0?P.firstTabbableNode:P.firstDomTabbableNode}else ge(g)||(O=R.nextTabbableNode(d))}}else O=h("fallbackFocus");return O},C=function(u){var d=Ee(u);if(!(c(d,u)>=0)){if(ve(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}ve(r.allowOutsideClick,u)||u.preventDefault()}},A=function(u){var d=Ee(u),g=c(d,u)>=0;if(g||d instanceof Document)g&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var T,k=!0;if(i.mostRecentlyFocusedNode)if(re(i.mostRecentlyFocusedNode)>0){var O=c(i.mostRecentlyFocusedNode),S=i.containerGroups[O].tabbableNodes;if(S.length>0){var R=S.findIndex(function(v){return v===i.mostRecentlyFocusedNode});R>=0&&(r.isKeyForward(i.recentNavEvent)?R+1=0&&(T=S[R-1],k=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return re(p)>0})})||(k=!1);else k=!1;k&&(T=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(T||i.mostRecentlyFocusedNode||m())}i.recentNavEvent=void 0},J=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var g=w({event:u,isBackward:d});g&&(ge(u)&&u.preventDefault(),y(g))},Q=function(u){(r.isKeyForward(u)||r.isKeyBackward(u))&&J(u,r.isKeyBackward(u))},W=function(u){Rs(u)&&ve(r.escapeDeactivates,u)!==!1&&(u.preventDefault(),o.deactivate())},V=function(u){var d=Ee(u);c(d,u)>=0||ve(r.clickOutsideDeactivates,u)||ve(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},$=function(){if(i.active)return dt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ht(function(){y(m())}):y(m()),s.addEventListener("focusin",A,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",Q,{capture:!0,passive:!1}),s.addEventListener("keydown",W),o},be=function(){if(i.active)return s.removeEventListener("focusin",A,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",Q,!0),s.removeEventListener("keydown",W),o},M=function(u){var d=u.some(function(g){var T=Array.from(g.removedNodes);return T.some(function(k){return k===i.mostRecentlyFocusedNode})});d&&y(m())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(M):void 0,q=function(){U&&(U.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){U.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=l(u,"onActivate"),g=l(u,"onPostActivate"),T=l(u,"checkCanFocusTrap");T||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var k=function(){T&&f(),$(),q(),g==null||g()};return T?(T(i.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(u){if(!i.active)return this;var d=ut({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,be(),i.active=!1,i.paused=!1,q(),dt.deactivateTrap(n,o);var g=l(d,"onDeactivate"),T=l(d,"onPostDeactivate"),k=l(d,"checkCanReturnFocus"),O=l(d,"returnFocus","returnFocusOnDeactivate");g==null||g();var S=function(){ht(function(){O&&y(x(i.nodeFocusedBeforeActivation)),T==null||T()})};return O&&k?(k(x(i.nodeFocusedBeforeActivation)).then(S,S),this):(S(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=l(u,"onPause"),g=l(u,"onPostPause");return i.paused=!0,d==null||d(),be(),q(),g==null||g(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=l(u,"onUnpause"),g=l(u,"onPostUnpause");return i.paused=!1,d==null||d(),f(),$(),q(),g==null||g(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&f(),q(),this}},o.updateContainerElements(e),o};function Ds(a,e={}){let t;const{immediate:s,...n}=e,r=ie(!1),i=ie(!1),o=f=>t&&t.activate(f),l=f=>t&&t.deactivate(f),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},m=me(()=>{const f=st(a);return(Array.isArray(f)?f:[f]).map(b=>{const y=st(b);return typeof y=="string"?y:Ct(y)}).filter(At)});return $e(m,f=>{f.length&&(t=Ls(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Mt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{ce.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,l)=>{o.val===s&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],l=[],c,h,m=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;m();)this.iframes&&this.forEachIframe(t,f=>this.checkIframeFilter(c,h,f,o),f=>{this.createInstanceOnIframe(f).forEachNode(e,b=>l.push(b),n)}),l.push(c);l.forEach(f=>{s(f)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let zs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,m=e.value.substr(0,i.start),f=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=m+f,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let m=1;m{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let m=1;ms(l[i],m),(m,f)=>{e.lastIndex=f,n(m)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:m}=this.checkWhitespaceRanges(o,i,r.value);m&&this.wrapRangeInMappedTextNode(r,c,h,f=>t(f,o,r.value.substring(c,h),l),f=>{s(f,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),m=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(f,b)=>this.opt.filter(b,c,s,m),f=>{m++,s++,this.opt.each(f)},()=>{m===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ps(a){const e=new zs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function ke(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(s.next(h))}catch(m){i(m)}}function l(h){try{c(s.throw(h))}catch(m){i(m)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const js="ENTRIES",St="KEYS",Et="VALUES",D="";class De{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=le(this._path);if(le(t)===D)return{done:!1,value:this.result()};const s=e.get(le(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=le(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>le(e)).filter(e=>e!==D).join("")}value(){return le(this._path).node.get(D)}result(){switch(this._type){case Et:return this.value();case St:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const le=a=>a[a.length-1],Vs=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const l=r*i;e:for(const c of a.keys())if(c===D){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let m=0;mt)continue e}Tt(a.get(c),e,t,s,n,h,i,o+c)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Ce(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=qe(s);for(const i of n.keys())if(i!==D&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,$s(this._tree,e)}entries(){return new De(this,js)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Vs(this._tree,e,t)}get(e){const t=Ke(this._tree,e);return t!==void 0?t.get(D):void 0}has(e){const t=Ke(this._tree,e);return t!==void 0&&t.has(D)}keys(){return new De(this,St)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,ze(this._tree,e).set(D,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=ze(this._tree,e);return s.set(D,t(s.get(D))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=ze(this._tree,e);let n=s.get(D);return n===void 0&&s.set(D,n=t()),n}values(){return new De(this,Et)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Ce=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==D&&e.startsWith(s))return t.push([a,s]),Ce(a.get(s),e.slice(s.length),t);return t.push([a,e]),Ce(void 0,"",t)},Ke=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==D&&e.startsWith(t))return Ke(a.get(t),e.slice(t.length))},ze=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Ce(a,e);if(t!==void 0){if(t.delete(D),t.size===0)It(s);else if(t.size===1){const[n,r]=t.entries().next().value;kt(s,n,r)}}},It=a=>{if(a.length===0)return;const[e,t]=qe(a);if(e.delete(t),e.size===0)It(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==D&&kt(a.slice(0,-1),s,n)}},kt=(a,e,t)=>{if(a.length===0)return;const[s,n]=qe(a);s.set(n+e,t),s.delete(n)},qe=a=>a[a.length-1],Ge="or",Nt="and",Bs="and_not";class ue{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Ve:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},je),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ft),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},qs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ue,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const m=s(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.addFieldLength(l,f,this._documentCount-1,b);for(const y of m){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(f,l,w);else x&&this.addTerm(f,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(m=>setTimeout(m,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const m=t(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.removeFieldLength(l,f,this._documentCount,b);for(const y of m){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(f,l,w);else x&&this.removeTerm(f,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ue,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return ke(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Je.batchSize,r=e.batchWait||Je.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[m]of h)this._documentIds.has(m)||(h.size<=1?l.delete(c):h.delete(m));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||Ve.minDirtCount,s=s||Ve.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===ue.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(vt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(vt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return ke(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(je.hasOwnProperty(e))return Pe(je,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Te(n),l._fieldLength=Te(r),l._storedFields=Te(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const m=new Map;for(const f of Object.keys(h)){let b=h[f];o===1&&(b=b.ds),m.set(parseInt(f,10),Te(b))}l._index.set(c,m)}return l}static loadJSAsync(e,t){return ke(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield Ie(n),l._fieldLength=yield Ie(r),l._storedFields=yield Ie(i);for(const[h,m]of l._documentIds)l._idToShortId.set(m,h);let c=0;for(const[h,m]of s){const f=new Map;for(const b of Object.keys(m)){let y=m[b];o===1&&(y=y.ds),f.set(parseInt(b,10),yield Ie(y))}++c%1e3===0&&(yield Ft(0)),l._index.set(h,f)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new ue(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new X,c}executeQuery(e,t={}){if(e===ue.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const f=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,f));return this.combineResults(b,f.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,m=o(e).flatMap(f=>l(f)).filter(f=>!!f).map(Us(i)).map(f=>this.executeQuerySpec(f,i));return this.combineResults(m,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:Pe(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},ft.weights),i),m=this._index.get(e.term),f=this.termResults(e.term,e.term,1,e.termBoost,m,n,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const C=x.length-e.term.length;if(!C)continue;y==null||y.delete(x);const A=h*x.length/(x.length+.3*C);this.termResults(e.term,x,A,e.termBoost,w,n,r,l,f)}if(y)for(const x of y.keys()){const[w,C]=y.get(x);if(!C)continue;const A=c*x.length/(x.length+C);this.termResults(e.term,x,A,e.termBoost,w,n,r,l,f)}return f}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ge){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ws[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const m=i[h],f=this._fieldIds[h],b=r.get(f);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[f];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(f,w,t),y-=1;continue}const C=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!C)continue;const A=b.get(w),J=this._fieldLength.get(w)[f],Q=Js(A,y,this._documentCount,J,x,l),W=s*n*m*C*Q,V=c.get(w);if(V){V.score+=W,Gs(V.terms,e);const $=Pe(V.match,t);$?$.push(h):V.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,mt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,mt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ws={[Ge]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),pt(s.terms,r)}}return a},[Nt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);pt(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[Bs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Ks={k:1.2,b:.7,d:.5},Js=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},Us=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,s):1;return{term:e,fuzzy:n,prefix:r,termBoost:i}},je={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Hs),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ft={combineWith:Ge,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ks},qs={combineWith:Nt,prefix:(a,e,t)=>e===t.length-1},Je={batchSize:1e3,batchWait:10},Ue={minDirtFactor:.1,minDirtCount:20},Ve=Object.assign(Object.assign({},Je),Ue),Gs=(a,e)=>{a.includes(e)||a.push(e)},pt=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},vt=({score:a},{score:e})=>e-a,mt=()=>new Map,Te=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ie=a=>ke(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield Ft(0));return e}),Ft=a=>new Promise(e=>setTimeout(e,a)),Hs=/[\n\r\p{Z}\p{P}]+/u;class Qs{constructor(e=10){Ae(this,"max");Ae(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Ys=["aria-owns"],Zs={class:"shell"},Xs=["title"],en={class:"search-actions before"},tn=["title"],sn=["aria-activedescendant","aria-controls","placeholder"],nn={class:"search-actions"},rn=["title"],an=["disabled","title"],on=["id","role","aria-labelledby"],ln=["id","aria-selected"],cn=["href","aria-label","onMouseenter","onFocusin","data-index"],un={class:"titles"},dn=["innerHTML"],hn={class:"title main"},fn=["innerHTML"],pn={key:0,class:"excerpt-wrapper"},vn={key:0,class:"excerpt",inert:""},mn=["innerHTML"],gn={key:0,class:"no-results"},bn={class:"search-keyboard-shortcuts"},yn=["aria-label"],wn=["aria-label"],xn=["aria-label"],_n=["aria-label"],Sn=Lt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var S,R;const t=e,s=xe(),n=xe(),r=xe(is),i=ss(),{activate:o}=Ds(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=nt(async()=>{var v,p,E,F,z,P,j,I,K;return ot(ue.loadJSON((E=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==null?void 0:E.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((F=c.value.search)==null?void 0:F.provider)==="local"&&((P=(z=c.value.search.options)==null?void 0:z.miniSearch)==null?void 0:P.searchOptions)},...((j=c.value.search)==null?void 0:j.provider)==="local"&&((K=(I=c.value.search.options)==null?void 0:I.miniSearch)==null?void 0:K.options)}))}),f=me(()=>{var v,p;return((v=c.value.search)==null?void 0:v.provider)==="local"&&((p=c.value.search.options)==null?void 0:p.disableQueryPersistence)===!0}).value?ie(""):Dt("vitepress:local-search-filter",""),b=zt("vitepress:local-search-detailed-list",((S=c.value.search)==null?void 0:S.provider)==="local"&&((R=c.value.search.options)==null?void 0:R.detailedView)===!0),y=me(()=>{var v,p,E;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((E=c.value.search.options)==null?void 0:E.detailedView)===!1)}),x=me(()=>{var p,E,F,z,P,j,I;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((P=(z=(F=(E=v==null?void 0:v.locales)==null?void 0:E[l.value])==null?void 0:F.translations)==null?void 0:z.button)==null?void 0:P.buttonText)||((I=(j=v==null?void 0:v.translations)==null?void 0:j.button)==null?void 0:I.buttonText)||"Search"});Pt(()=>{y.value&&(b.value=!1)});const w=xe([]),C=ie(!1);$e(f,()=>{C.value=!1});const A=nt(async()=>{if(n.value)return ot(new Ps(n.value))},null),J=new Qs(16);jt(()=>[h.value,f.value,b.value],async([v,p,E],F,z)=>{var ee,ye,He,Qe;(F==null?void 0:F[0])!==v&&J.clear();let P=!1;if(z(()=>{P=!0}),!v)return;w.value=v.search(p).slice(0,16),C.value=!0;const j=E?await Promise.all(w.value.map(B=>Q(B.id))):[];if(P)return;for(const{id:B,mod:te}of j){const se=B.slice(0,B.indexOf("#"));let Y=J.get(se);if(Y)continue;Y=new Map,J.set(se,Y);const G=te.default??te;if(G!=null&&G.render||G!=null&&G.setup){const ne=Yt(G);ne.config.warnHandler=()=>{},ne.provide(Zt,i),Object.defineProperties(ne.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ne.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const we=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;Y.set(Ze,Xe)}),ne.unmount()}if(P)return}const I=new Set;if(w.value=w.value.map(B=>{const[te,se]=B.id.split("#"),Y=J.get(te),G=(Y==null?void 0:Y.get(se))??"";for(const ne in B.match)I.add(ne);return{...B,text:G}}),await he(),P)return;await new Promise(B=>{var te;(te=A.value)==null||te.unmark({done:()=>{var se;(se=A.value)==null||se.markRegExp(k(I),{done:B})}})});const K=((ee=s.value)==null?void 0:ee.querySelectorAll(".result .excerpt"))??[];for(const B of K)(ye=B.querySelector('mark[data-markjs="true"]'))==null||ye.scrollIntoView({block:"center"});(Qe=(He=n.value)==null?void 0:He.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function Q(v){const p=Xt(v.slice(0,v.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${v}`);return{id:v,mod:await import(p)}}catch(E){return console.error(E),{id:v,mod:{}}}}const W=ie(),V=me(()=>{var v;return((v=f.value)==null?void 0:v.length)<=0});function $(v=!0){var p,E;(p=W.value)==null||p.focus(),v&&((E=W.value)==null||E.select())}Me(()=>{$()});function be(v){v.pointerType==="mouse"&&$()}const M=ie(-1),U=ie(!0);$e(w,v=>{M.value=v.length?0:-1,q()});function q(){he(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}_e("ArrowUp",v=>{v.preventDefault(),M.value--,M.value<0&&(M.value=w.value.length-1),U.value=!0,q()}),_e("ArrowDown",v=>{v.preventDefault(),M.value++,M.value>=w.value.length&&(M.value=0),U.value=!0,q()});const N=Vt();_e("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=w.value[M.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(N.go(p.id),t("close"))}),_e("Escape",()=>{t("close")});const d=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),$t("popstate",v=>{v.preventDefault(),t("close")});const g=Bt(Wt?document.body:null);Me(()=>{he(()=>{g.value=!0,he().then(()=>o())})}),Kt(()=>{g.value=!1});function T(){f.value="",he().then(()=>$(!1))}function k(v){return new RegExp([...v].sort((p,E)=>E.length-p.length).map(p=>`(${es(p)})`).join("|"),"gi")}function O(v){var F;if(!U.value)return;const p=(F=v.target)==null?void 0:F.closest(".result"),E=Number.parseInt(p==null?void 0:p.dataset.index);E>=0&&E!==M.value&&(M.value=E),U.value=!1}return(v,p)=>{var E,F,z,P,j;return H(),Jt(Qt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(E=w.value)!=null&&E.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:p[0]||(p[0]=I=>v.$emit("close"))}),_("div",Zs,[_("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>be(I)),onSubmit:p[5]||(p[5]=Ut(()=>{},["prevent"]))},[_("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},p[7]||(p[7]=[_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,Xs),_("div",en,[_("button",{class:"back-button",title:L(d)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[8]||(p[8]=[_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,tn)]),qt(_("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":p[2]||(p[2]=I=>Ht(f)?f.value=I:null),"aria-activedescendant":M.value>-1?"localsearch-item-"+M.value:void 0,"aria-autocomplete":"both","aria-controls":(F=w.value)!=null&&F.length?"localsearch-list":void 0,"aria-labelledby":"localsearch-label",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"search-input",id:"localsearch-input",enterkeyhint:"go",maxlength:"64",placeholder:x.value,spellcheck:"false",type:"search"},null,8,sn),[[Gt,L(f)]]),_("div",nn,[y.value?Se("",!0):(H(),Z("button",{key:0,class:it(["toggle-layout-button",{"detailed-list":L(b)}]),type:"button",title:L(d)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>M.value>-1&&(b.value=!L(b)))},p[9]||(p[9]=[_("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,rn)),_("button",{class:"clear-button",type:"reset",disabled:V.value,title:L(d)("modal.resetButtonTitle"),onClick:T},p[10]||(p[10]=[_("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,an)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(z=w.value)!=null&&z.length?"localsearch-list":void 0,role:(P=w.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=w.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:O},[(H(!0),Z(at,null,rt(w.value,(I,K)=>(H(),Z("li",{key:I.id,id:"localsearch-item-"+K,"aria-selected":M.value===K?"true":"false",role:"option"},[_("a",{href:I.id,class:it(["result",{selected:M.value===K}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:ee=>!U.value&&(M.value=K),onFocusin:ee=>M.value=K,onClick:p[6]||(p[6]=ee=>v.$emit("close")),"data-index":K},[_("div",null,[_("div",un,[p[12]||(p[12]=_("span",{class:"title-icon"},"#",-1)),(H(!0),Z(at,null,rt(I.titles,(ee,ye)=>(H(),Z("span",{key:ye,class:"title"},[_("span",{class:"text",innerHTML:ee},null,8,dn),p[11]||(p[11]=_("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),_("span",hn,[_("span",{class:"text",innerHTML:I.title},null,8,fn)])]),L(b)?(H(),Z("div",pn,[I.text?(H(),Z("div",vn,[_("div",{class:"vp-doc",innerHTML:I.text},null,8,mn)])):Se("",!0),p[13]||(p[13]=_("div",{class:"excerpt-gradient-bottom"},null,-1)),p[14]||(p[14]=_("div",{class:"excerpt-gradient-top"},null,-1))])):Se("",!0)])],42,cn)],8,ln))),128)),L(f)&&!w.value.length&&C.value?(H(),Z("li",gn,[fe(pe(L(d)("modal.noResultsText"))+' "',1),_("strong",null,pe(L(f)),1),p[15]||(p[15]=fe('" '))])):Se("",!0)],40,on),_("div",bn,[_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.navigateUpKeyAriaLabel")},p[16]||(p[16]=[_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,yn),_("kbd",{"aria-label":L(d)("modal.footer.navigateDownKeyAriaLabel")},p[17]||(p[17]=[_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,wn),fe(" "+pe(L(d)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.selectKeyAriaLabel")},p[18]||(p[18]=[_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,xn),fe(" "+pe(L(d)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":L(d)("modal.footer.closeKeyAriaLabel")},"esc",8,_n),fe(" "+pe(L(d)("modal.footer.closeText")),1)])])])],8,Ys)])}}}),Fn=ts(Sn,[["__scopeId","data-v-695f03a4"]]);export{Fn as default}; diff --git a/assets/chunks/framework._avq4Ty7.js b/assets/chunks/framework.Z6UMW4JZ.js similarity index 77% rename from assets/chunks/framework._avq4Ty7.js rename to assets/chunks/framework.Z6UMW4JZ.js index 6cfd0464..68e84005 100644 --- a/assets/chunks/framework._avq4Ty7.js +++ b/assets/chunks/framework.Z6UMW4JZ.js @@ -2,17 +2,17 @@ * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ns(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Tt=[],ke=()=>{},Ko=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fs=e=>e.startsWith("onUpdate:"),ae=Object.assign,Hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,z=(e,t)=>qo.call(e,t),W=Array.isArray,Et=e=>In(e)==="[object Map]",ii=e=>In(e)==="[object Set]",q=e=>typeof e=="function",re=e=>typeof e=="string",Xe=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",oi=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),li=Object.prototype.toString,In=e=>li.call(e),Go=e=>In(e).slice(8,-1),ci=e=>In(e)==="[object Object]",$s=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yo=/-(\w)/g,Le=Nn(e=>e.replace(Yo,(t,n)=>n?n.toUpperCase():"")),Xo=/\B([A-Z])/g,st=Nn(e=>e.replace(Xo,"-$1").toLowerCase()),Fn=Nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=Nn(e=>e?`on${Fn(e)}`:""),tt=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jo=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let ar;const Hn=()=>ar||(ar=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ds(e){if(W(e)){const t={};for(let n=0;n{if(n){const s=n.split(Qo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function js(e){let t="";if(re(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),sl=e=>re(e)?e:e==null?"":W(e)||ne(e)&&(e.toString===li||!q(e.toString))?ui(e)?sl(e.value):JSON.stringify(e,di,2):String(e),di=(e,t)=>ui(t)?di(e,t.value):Et(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[zn(s,i)+" =>"]=r,n),{})}:ii(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zn(n))}:Xe(t)?zn(t):ne(t)&&!W(t)&&!ci(t)?String(t):t,zn=(e,t="")=>{var n;return Xe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Ns(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Et=[],ke=()=>{},Ko=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fs=e=>e.startsWith("onUpdate:"),ae=Object.assign,Hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,z=(e,t)=>qo.call(e,t),W=Array.isArray,Tt=e=>In(e)==="[object Map]",ii=e=>In(e)==="[object Set]",q=e=>typeof e=="function",re=e=>typeof e=="string",Xe=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",oi=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),li=Object.prototype.toString,In=e=>li.call(e),Go=e=>In(e).slice(8,-1),ci=e=>In(e)==="[object Object]",$s=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yo=/-(\w)/g,Le=Nn(e=>e.replace(Yo,(t,n)=>n?n.toUpperCase():"")),Xo=/\B([A-Z])/g,st=Nn(e=>e.replace(Xo,"-$1").toLowerCase()),Fn=Nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=Nn(e=>e?`on${Fn(e)}`:""),tt=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jo=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let ar;const Hn=()=>ar||(ar=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ds(e){if(W(e)){const t={};for(let n=0;n{if(n){const s=n.split(Qo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function js(e){let t="";if(re(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),sl=e=>re(e)?e:e==null?"":W(e)||ne(e)&&(e.toString===li||!q(e.toString))?ui(e)?sl(e.value):JSON.stringify(e,di,2):String(e),di=(e,t)=>ui(t)?di(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[zn(s,i)+" =>"]=r,n),{})}:ii(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zn(n))}:Xe(t)?zn(t):ne(t)&&!W(t)&&!ci(t)?String(t):t,zn=(e,t="")=>{var n;return Xe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let we;class rl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Dt;){let t=Dt;for(Dt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function yi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ks(s),ol(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function _s(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!_s(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{yi(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,vi(e),e.flags&=-3}}function ks(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ks(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ol(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const bi=[];function rt(){bi.push(Ne),Ne=!1}function it(){const e=bi.pop();Ne=e===void 0?!0:e}function fr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class ll{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $n{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new ll(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Vs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)wi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Cn=new WeakMap,dt=Symbol(""),bs=Symbol(""),qt=Symbol("");function me(e,t,n){if(Ne&&te){let s=Cn.get(e);s||Cn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new $n),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,i){const o=Cn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Vs(),t==="clear")o.forEach(l);else{const c=W(e),f=c&&$s(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===qt||!Xe(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(dt)),Et(e)&&l(o.get(bs)));break;case"delete":c||(l(o.get(dt)),Et(e)&&l(o.get(bs)));break;case"set":Et(e)&&l(o.get(dt));break}}Us()}function cl(e,t){const n=Cn.get(e);return n&&n.get(t)}function _t(e){const t=J(e);return t===e?t:(me(t,"iterate",qt),Pe(e)?t:t.map(ye))}function Dn(e){return me(e=J(e),"iterate",qt),e}const al={__proto__:null,[Symbol.iterator](){return Zn(this,Symbol.iterator,ye)},concat(...e){return _t(this).concat(...e.map(t=>W(t)?_t(t):t))},entries(){return Zn(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return We(this,"find",e,t,ye,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return es(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return ur(this,"reduce",e,t)},reduceRight(e,...t){return ur(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return Zn(this,"values",ye)}};function Zn(e,t,n){const s=Dn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const fl=Array.prototype;function We(e,t,n,s,r,i){const o=Dn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==fl[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function ur(e,t,n,s){const r=Dn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function es(e,t,n){const s=J(e);me(s,"iterate",qt);const r=s[t](...n);return(r===-1||r===!1)&&Ks(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){rt(),Vs();const s=J(e)[t].apply(e,n);return Us(),it(),s}const ul=Ns("__proto__,__v_isRef,__isVue"),Si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function dl(e){Xe(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class xi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Sl:Ai:i?Ci:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=W(t);if(!r){let c;if(o&&(c=al[n]))return c;if(n==="hasOwnProperty")return dl}const l=Reflect.get(t,n,fe(t)?t:s);return(Xe(n)?Si.has(n):ul(n))||(r||me(t,"get",n),i)?l:fe(l)?o&&$s(n)?l:l.value:ne(l)?r?Vn(l):jn(l):l}}class Ti extends xi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=yt(i);if(!Pe(s)&&!yt(s)&&(i=J(i),s=J(s)),!W(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=W(t)&&$s(n)?Number(n)e,cn=e=>Reflect.getPrototypeOf(e);function yl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Et(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?ws:t?Ss:ye;return!t&&me(i,"iterate",c?bs:dt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(tt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=cn(o),f=t?ws:e?Ss:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",dt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(tt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?ws:e?Ss:ye;return!e&&me(c,"iterate",dt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(r){!t&&!Pe(r)&&!yt(r)&&(r=J(r));const i=J(this);return cn(i).has.call(i,r)||(i.add(r),Ge(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!yt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=cn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?tt(i,a)&&Ge(o,"set",r,i):Ge(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=cn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&Ge(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&Ge(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=yl(r,e,t)}),n}function Bs(e,t){const n=vl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const _l={get:Bs(!1,!1)},bl={get:Bs(!1,!0)},wl={get:Bs(!0,!1)};const Ei=new WeakMap,Ci=new WeakMap,Ai=new WeakMap,Sl=new WeakMap;function xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tl(e){return e.__v_skip||!Object.isExtensible(e)?0:xl(Go(e))}function jn(e){return yt(e)?e:Ws(e,!1,pl,_l,Ei)}function El(e){return Ws(e,!1,ml,bl,Ci)}function Vn(e){return Ws(e,!0,gl,wl,Ai)}function Ws(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Tl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return yt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function wn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&ai(e,"__v_skip",!0),e}const ye=e=>ne(e)?jn(e):e,Ss=e=>ne(e)?Vn(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ri(e,!1)}function qs(e){return Ri(e,!0)}function Ri(e,t){return fe(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.dep=new $n,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||yt(t);t=s?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Oi(e){return fe(e)?e.value:e}const Al={get:(e,t,n)=>t==="__v_raw"?e:Oi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Mi(e){return ht(e)?e:new Proxy(e,Al)}class Rl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $n,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ol(e){return new Rl(e)}class Ml{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return cl(J(this._object),this._key)}}class Pl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ll(e,t,n){return fe(e)?e:q(e)?new Pl(e):ne(e)&&arguments.length>1?Il(e,t,n):oe(e)}function Il(e,t,n){const s=e[t];return fe(s)?s:new Ml(e,t,n)}class Nl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $n(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return mi(this,!0),!0}get value(){const t=this.dep.track();return _i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Nl(s,r,n)}const fn={},An=new WeakMap;let ft;function Hl(e,t=!1,n=ft){if(n){let s=An.get(n);s||An.set(n,s=[]),s.push(e)}}function $l(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ye(g,1):Ye(g);let a,h,y,v,S=!1,_=!1;if(fe(e)?(h=()=>e.value,S=Pe(e)):ht(e)?(h=()=>f(e),S=!0):W(e)?(_=!0,S=e.some(g=>ht(g)||Pe(g)),h=()=>e.map(g=>{if(fe(g))return g.value;if(ht(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){rt();try{y()}finally{it()}}const g=ft;ft=a;try{return c?c(e,3,[v]):e(v)}finally{ft=g}}:h=ke,t&&r){const g=h,O=r===!0?1/0:r;h=()=>Ye(g(),O)}const K=hi(),N=()=>{a.stop(),K&&K.active&&Hs(K.effects,a)};if(i&&t){const g=t;t=(...O)=>{g(...O),N()}}let j=_?new Array(e.length).fill(fn):fn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const O=a.run();if(r||S||(_?O.some((F,$)=>tt(F,j[$])):tt(O,j))){y&&y();const F=ft;ft=a;try{const $=[O,j===fn?void 0:_&&j[0]===fn?[]:j,v];c?c(t,3,$):t(...$),j=O}finally{ft=F}}}else a.run()};return l&&l(p),a=new pi(h),a.scheduler=o?()=>o(p,!1):p,v=g=>Hl(g,!1,a),y=a.onStop=()=>{const g=An.get(a);if(g){if(c)c(g,4);else for(const O of g)O();An.delete(a)}},t?s?p(!0):j=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Ye(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))Ye(e.value,t,n);else if(W(e))for(let s=0;s{Ye(s,t,n)});else if(ci(e)){for(const s in e)Ye(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ye(e[s],t,n)}return e}/** +**/let we;class rl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Dt;){let t=Dt;for(Dt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function yi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ks(s),ol(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function _s(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!_s(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{yi(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,vi(e),e.flags&=-3}}function ks(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ks(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ol(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const bi=[];function rt(){bi.push(Ne),Ne=!1}function it(){const e=bi.pop();Ne=e===void 0?!0:e}function fr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class ll{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $n{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new ll(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Vs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)wi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Cn=new WeakMap,dt=Symbol(""),bs=Symbol(""),qt=Symbol("");function me(e,t,n){if(Ne&&te){let s=Cn.get(e);s||Cn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new $n),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,i){const o=Cn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Vs(),t==="clear")o.forEach(l);else{const c=W(e),f=c&&$s(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===qt||!Xe(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(dt)),Tt(e)&&l(o.get(bs)));break;case"delete":c||(l(o.get(dt)),Tt(e)&&l(o.get(bs)));break;case"set":Tt(e)&&l(o.get(dt));break}}Us()}function cl(e,t){const n=Cn.get(e);return n&&n.get(t)}function _t(e){const t=J(e);return t===e?t:(me(t,"iterate",qt),Pe(e)?t:t.map(ye))}function Dn(e){return me(e=J(e),"iterate",qt),e}const al={__proto__:null,[Symbol.iterator](){return Zn(this,Symbol.iterator,ye)},concat(...e){return _t(this).concat(...e.map(t=>W(t)?_t(t):t))},entries(){return Zn(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return We(this,"find",e,t,ye,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return es(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return ur(this,"reduce",e,t)},reduceRight(e,...t){return ur(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return Zn(this,"values",ye)}};function Zn(e,t,n){const s=Dn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const fl=Array.prototype;function We(e,t,n,s,r,i){const o=Dn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==fl[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function ur(e,t,n,s){const r=Dn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function es(e,t,n){const s=J(e);me(s,"iterate",qt);const r=s[t](...n);return(r===-1||r===!1)&&Ks(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){rt(),Vs();const s=J(e)[t].apply(e,n);return Us(),it(),s}const ul=Ns("__proto__,__v_isRef,__isVue"),Si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function dl(e){Xe(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class xi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Sl:Ai:i?Ci:Ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=W(t);if(!r){let c;if(o&&(c=al[n]))return c;if(n==="hasOwnProperty")return dl}const l=Reflect.get(t,n,fe(t)?t:s);return(Xe(n)?Si.has(n):ul(n))||(r||me(t,"get",n),i)?l:fe(l)?o&&$s(n)?l:l.value:ne(l)?r?Vn(l):jn(l):l}}class Ei extends xi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=yt(i);if(!Pe(s)&&!yt(s)&&(i=J(i),s=J(s)),!W(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=W(t)&&$s(n)?Number(n)e,cn=e=>Reflect.getPrototypeOf(e);function yl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?ws:t?Ss:ye;return!t&&me(i,"iterate",c?bs:dt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(tt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=cn(o),f=t?ws:e?Ss:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",dt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(tt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?ws:e?Ss:ye;return!e&&me(c,"iterate",dt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(r){!t&&!Pe(r)&&!yt(r)&&(r=J(r));const i=J(this);return cn(i).has.call(i,r)||(i.add(r),Ge(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!yt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=cn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?tt(i,a)&&Ge(o,"set",r,i):Ge(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=cn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&Ge(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&Ge(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=yl(r,e,t)}),n}function Bs(e,t){const n=vl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const _l={get:Bs(!1,!1)},bl={get:Bs(!1,!0)},wl={get:Bs(!0,!1)};const Ti=new WeakMap,Ci=new WeakMap,Ai=new WeakMap,Sl=new WeakMap;function xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function El(e){return e.__v_skip||!Object.isExtensible(e)?0:xl(Go(e))}function jn(e){return yt(e)?e:Ws(e,!1,pl,_l,Ti)}function Tl(e){return Ws(e,!1,ml,bl,Ci)}function Vn(e){return Ws(e,!0,gl,wl,Ai)}function Ws(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=El(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return yt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function wn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&ai(e,"__v_skip",!0),e}const ye=e=>ne(e)?jn(e):e,Ss=e=>ne(e)?Vn(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ri(e,!1)}function qs(e){return Ri(e,!0)}function Ri(e,t){return fe(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.dep=new $n,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||yt(t);t=s?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Oi(e){return fe(e)?e.value:e}const Al={get:(e,t,n)=>t==="__v_raw"?e:Oi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Mi(e){return ht(e)?e:new Proxy(e,Al)}class Rl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $n,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ol(e){return new Rl(e)}class Ml{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return cl(J(this._object),this._key)}}class Pl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ll(e,t,n){return fe(e)?e:q(e)?new Pl(e):ne(e)&&arguments.length>1?Il(e,t,n):oe(e)}function Il(e,t,n){const s=e[t];return fe(s)?s:new Ml(e,t,n)}class Nl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $n(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return mi(this,!0),!0}get value(){const t=this.dep.track();return _i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Nl(s,r,n)}const fn={},An=new WeakMap;let ft;function Hl(e,t=!1,n=ft){if(n){let s=An.get(n);s||An.set(n,s=[]),s.push(e)}}function $l(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ye(g,1):Ye(g);let a,h,y,v,S=!1,_=!1;if(fe(e)?(h=()=>e.value,S=Pe(e)):ht(e)?(h=()=>f(e),S=!0):W(e)?(_=!0,S=e.some(g=>ht(g)||Pe(g)),h=()=>e.map(g=>{if(fe(g))return g.value;if(ht(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){rt();try{y()}finally{it()}}const g=ft;ft=a;try{return c?c(e,3,[v]):e(v)}finally{ft=g}}:h=ke,t&&r){const g=h,O=r===!0?1/0:r;h=()=>Ye(g(),O)}const K=hi(),N=()=>{a.stop(),K&&K.active&&Hs(K.effects,a)};if(i&&t){const g=t;t=(...O)=>{g(...O),N()}}let j=_?new Array(e.length).fill(fn):fn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const O=a.run();if(r||S||(_?O.some((F,$)=>tt(F,j[$])):tt(O,j))){y&&y();const F=ft;ft=a;try{const $=[O,j===fn?void 0:_&&j[0]===fn?[]:j,v];c?c(t,3,$):t(...$),j=O}finally{ft=F}}}else a.run()};return l&&l(p),a=new pi(h),a.scheduler=o?()=>o(p,!1):p,v=g=>Hl(g,!1,a),y=a.onStop=()=>{const g=An.get(a);if(g){if(c)c(g,4);else for(const O of g)O();An.delete(a)}},t?s?p(!0):j=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Ye(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))Ye(e.value,t,n);else if(W(e))for(let s=0;s{Ye(s,t,n)});else if(ci(e)){for(const s in e)Ye(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ye(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function tn(e,t,n,s){try{return s?e(...s):e()}catch(r){nn(r,t,n)}}function He(e,t,n,s){if(q(e)){const r=tn(e,t,n,s);return r&&oi(r)&&r.catch(i=>{nn(i,t,n)}),r}if(W(e)){const r=[];for(let i=0;i>>1,r=Se[s],i=Gt(r);i=Gt(n)?Se.push(e):Se.splice(jl(t),0,e),e.flags|=1,Li()}}function Li(){Rn||(Rn=Pi.then(Ii))}function Vl(e){W(e)?At.push(...e):Qe&&e.id===-1?Qe.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Li()}function dr(e,t,n=Ve+1){for(;nGt(n)-Gt(s));if(At.length=0,Qe){Qe.push(...t);return}for(Qe=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function Ii(e){try{for(Ve=0;Ve{s._d&&Ar(-1);const i=Mn(t);let o;try{o=e(...r)}finally{Mn(i),s._d&&Ar(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function _f(e,t){if(de===null)return e;const n=Gn(de),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),hr=e=>e&&(e.defer||e.defer===""),pr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,gr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},$i={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:v,querySelector:S,createText:_,createComment:K}}=f,N=Vt(t.props);let{shapeFlag:j,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=_(""),F=t.anchor=_("");v(O,n,s),v(F,n,s);const $=(R,b)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,b,r,i,o,l,c))},V=()=>{const R=t.target=xs(t.props,S),b=Di(R,t,_,v);R&&(o!=="svg"&&pr(R)?o="svg":o!=="mathml"&&gr(R)&&(o="mathml"),N||($(R,b),Sn(t,!1)))};N&&($(n,F),Sn(t,!0)),hr(t.props)?be(()=>{V(),t.el.__isMounted=!0},i):V()}else{if(hr(t.props)&&!e.el.__isMounted){be(()=>{$i.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,V=Vt(e.props),R=V?n:F,b=V?O:$;if(o==="svg"||pr(F)?o="svg":(o==="mathml"||gr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),Qs(e,t,!0)):c||h(e,t,R,b,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):un(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=xs(t.props,S);I&&un(t,I,null,f,0)}else V&&un(t,F,$,f,1);Sn(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Vt(y);for(let S=0;S{e.isMounted=!0}),Ki(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],ji={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Vi=e=>{const t=e.subTree;return t.component?Vi(t.component):t},Wl={name:"BaseTransition",props:ji,setup(e,{slots:t}){const n=qn(),s=Bl();return()=>{const r=t.default&&Bi(t.default(),!0);if(!r||!r.length)return;const i=Ui(r),o=J(e),{mode:l}=o;if(s.isLeaving)return ts(i);const c=mr(i);if(!c)return ts(i);let f=Ts(c,o,s,n,h=>f=h);c.type!==ve&&Yt(c,f);let a=n.subTree&&mr(n.subTree);if(a&&a.type!==ve&&!ut(c,a)&&Vi(n).type!==ve){let h=Ts(a,o,s,n);if(Yt(a,h),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},ts(i);l==="in-out"&&c.type!==ve?h.delayLeave=(y,v,S)=>{const _=ki(s,a);_[String(a.key)]=a,y[Ze]=()=>{v(),y[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{S(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Ui(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ve){t=n;break}}return t}const Kl=Wl;function ki(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ts(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:v,onAfterLeave:S,onLeaveCancelled:_,onBeforeAppear:K,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,g=String(e.key),O=ki(n,e),F=(R,b)=>{R&&He(R,s,9,b)},$=(R,b)=>{const I=b[1];F(R,b),W(R)?R.every(x=>x.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=K||c;else return;R[Ze]&&R[Ze](!0);const I=O[g];I&&ut(e,I)&&I.el[Ze]&&I.el[Ze](),F(b,[R])},enter(R){let b=f,I=a,x=h;if(!n.isMounted)if(i)b=N||f,I=j||a,x=p||h;else return;let B=!1;const se=R[dn]=le=>{B||(B=!0,le?F(x,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[dn]=void 0)};b?$(b,[R,se]):se()},leave(R,b){const I=String(e.key);if(R[dn]&&R[dn](!0),n.isUnmounting)return b();F(y,[R]);let x=!1;const B=R[Ze]=se=>{x||(x=!0,b(),se?F(_,[R]):F(S,[R]),R[Ze]=void 0,O[I]===e&&delete O[I])};O[I]=e,v?$(v,[R,B]):B()},clone(R){const b=Ts(R,t,n,s,r);return r&&r(b),b}};return V}function ts(e){if(sn(e))return e=nt(e),e.children=null,e}function mr(e){if(!sn(e))return Hi(e.type)&&e.children?Ui(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iXt(S,t&&(W(t)?t[_]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Xt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Gn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,y=J(h),v=h===Z?()=>!1:S=>z(y,S);if(f!=null&&f!==c&&(re(f)?(a[f]=null,v(f)&&(h[f]=null)):fe(f)&&(f.value=null)),q(c))tn(c,l,12,[o,a]);else{const S=re(c),_=fe(c);if(S||_){const K=()=>{if(e.f){const N=S?v(c)?h[c]:a[c]:c.value;r?W(N)&&Hs(N,i):W(N)?N.includes(i)||N.push(i):S?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else S?(a[c]=o,v(c)&&(h[c]=o)):_&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,be(K,n)):K()}}}let yr=!1;const bt=()=>{yr||(console.error("Hydration completed but contains mismatches."),yr=!0)},ql=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Gl=e=>e.namespaceURI.includes("MathML"),hn=e=>{if(e.nodeType===1){if(ql(e))return"svg";if(Gl(e))return"mathml"}},xt=e=>e.nodeType===8;function Yl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),On(),g._vnode=p;return}h(g.firstChild,p,null,null,null),On(),g._vnode=p},h=(p,g,O,F,$,V=!1)=>{V=V||!!g.dynamicChildren;const R=xt(p)&&p.data==="[",b=()=>_(p,g,O,F,$,R),{type:I,ref:x,shapeFlag:B,patchFlag:se}=g;let le=p.nodeType;g.el=p,se===-2&&(V=!1,g.dynamicChildren=null);let U=null;switch(I){case gt:le!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=b():(p.data!==g.children&&(bt(),p.data=g.children),U=i(p));break;case ve:j(p)?(U=i(p),N(g.el=p.content.firstChild,p,O)):le!==8||R?U=b():U=i(p);break;case kt:if(R&&(p=i(p),le=p.nodeType),le===1||le===3){U=p;const Y=!g.children.length;for(let D=0;D{V=V||!!g.dynamicChildren;const{type:R,props:b,patchFlag:I,shapeFlag:x,dirs:B,transition:se}=g,le=R==="input"||R==="option";if(le||I!==-1){B&&Ue(g,null,O,"created");let U=!1;if(j(p)){U=co(null,se)&&O&&O.vnode.props&&O.vnode.props.appear;const D=p.content.firstChild;U&&se.beforeEnter(D),N(D,p,O),g.el=p=D}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let D=v(p.firstChild,g,p,O,F,$,V);for(;D;){pn(p,1)||bt();const he=D;D=D.nextSibling,l(he)}}else if(x&8){let D=g.children;D[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(pn(p,0)||bt(),p.textContent=g.children)}if(b){if(le||!V||I&48){const D=p.tagName.includes("-");for(const he in b)(le&&(he.endsWith("value")||he==="indeterminate")||en(he)&&!Ct(he)||he[0]==="."||D)&&s(p,he,null,b[he],void 0,O)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,O);else if(I&4&&ht(b.style))for(const D in b.style)b.style[D]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,O,g),B&&Ue(g,null,O,"beforeMount"),((Y=b&&b.onVnodeMounted)||B||U)&&go(()=>{Y&&Oe(Y,O,g),U&&se.enter(p),B&&Ue(g,null,O,"mounted")},F)}return p.nextSibling},v=(p,g,O,F,$,V,R)=>{R=R||!!g.dynamicChildren;const b=g.children,I=b.length;for(let x=0;x{const{slotScopeIds:R}=g;R&&($=$?$.concat(R):R);const b=o(p),I=v(i(p),g,b,O,F,$,V);return I&&xt(I)&&I.data==="]"?i(g.anchor=I):(bt(),c(g.anchor=f("]"),b,I),I)},_=(p,g,O,F,$,V)=>{if(pn(p.parentElement,1)||bt(),g.el=null,V){const I=K(p);for(;;){const x=i(p);if(x&&x!==I)l(x);else break}}const R=i(p),b=o(p);return l(p),n(null,g,b,R,O,F,hn(b),$),O&&(O.vnode.el=g.el,ho(O,g.el)),R},K=(p,g="[",O="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===g&&F++,p.data===O)){if(F===0)return i(p);F--}return p},N=(p,g,O)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let $=O;for(;$;)$.vnode.el===g&&($.vnode.el=$.subTree.el=p),$=$.parent},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const vr="data-allow-mismatch",Xl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vr);)e=e.parentElement;const n=e&&e.getAttribute(vr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Xl[t])}}Hn().requestIdleCallback;Hn().cancelIdleCallback;function Jl(e,t){if(xt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(xt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function wf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,v()),v=()=>{let S;return f||(S=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((K,N)=>{c(_,()=>K(y()),()=>N(_),h+1)});throw _}).then(_=>S!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return Ys({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(S,_,K){const N=i?()=>{const j=i(K,p=>Jl(S,p));j&&(_.bum||(_.bum=[])).push(j)}:K;a?N():v().then(()=>!_.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const S=ue;if(Xs(S),a)return()=>ns(a,S);const _=p=>{f=null,nn(p,S,13,!s)};if(l&&S.suspense||Mt)return v().then(p=>()=>ns(p,S)).catch(p=>(_(p),()=>s?ce(s,{error:p}):null));const K=oe(!1),N=oe(),j=oe(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),N.value=p}},o),v().then(()=>{K.value=!0,S.parent&&sn(S.parent.vnode)&&S.parent.update()}).catch(p=>{_(p),N.value=p}),()=>{if(K.value&&a)return ns(a,S);if(N.value&&s)return ce(s,{error:N.value});if(n&&!j.value)return ce(n)}}})}function ns(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ce(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive;function zl(e,t){Wi(e,"a",t)}function Ql(e,t){Wi(e,"da",t)}function Wi(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sn(r.parent.vnode)&&Zl(s,t,n,r),r=r.parent}}function Zl(e,t,n,s){const r=kn(t,e,s,!0);Bn(()=>{Hs(s[t],r)},n)}function kn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{rt();const l=rn(n),c=He(t,n,e,o);return l(),it(),c});return s?r.unshift(i):r.push(i),i}}const Je=e=>(t,n=ue)=>{(!Mt||e==="sp")&&kn(e,(...s)=>t(...s),n)},ec=Je("bm"),Lt=Je("m"),tc=Je("bu"),nc=Je("u"),Ki=Je("bum"),Bn=Je("um"),sc=Je("sp"),rc=Je("rtg"),ic=Je("rtc");function oc(e,t=ue){kn("ec",e,t)}const qi="components";function Sf(e,t){return Yi(qi,e,!0,t)||e}const Gi=Symbol.for("v-ndc");function xf(e){return re(e)?Yi(qi,e,!1)||e:e||Gi}function Yi(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;{const l=Wc(i,!1);if(l&&(l===t||l===Le(t)||l===Fn(Le(t))))return i}const o=_r(r[e]||i[e],t)||_r(r.appContext[e],t);return!o&&s?i:o}}function _r(e,t){return e&&(e[t]||e[Le(t)]||e[Fn(Le(t))])}function Tf(e,t,n,s){let r;const i=n,o=W(e);if(o||re(e)){const l=o&&ht(e);let c=!1;l&&(c=!Pe(e),e=Dn(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;czt(t)?!(t.type===ve||t.type===xe&&!Xi(t.children)):!0)?e:null}function Cf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:_n(s)]=e[s];return n}const Es=e=>e?bo(e)?Gn(e):Es(e.parent):null,Ut=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Un.bind(e.proxy)),$watch:e=>Rc.bind(e)}),ss=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),lc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ss(s,t))return o[t]=1,s[t];if(r!==Z&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Cs&&(o[t]=0)}}const a=Ut[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ss(r,t)?(r[t]=n,!0):s!==Z&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||ss(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Ut,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Af(){return cc().slots}function cc(){const e=qn();return e.setupContext||(e.setupContext=So(e))}function br(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cs=!0;function ac(e){const t=Js(e),n=e.proxy,s=e.ctx;Cs=!1,t.beforeCreate&&wr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:v,updated:S,activated:_,deactivated:K,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:g,render:O,renderTracked:F,renderTriggered:$,errorCaptured:V,serverPrefetch:R,expose:b,inheritAttrs:I,components:x,directives:B,filters:se}=t;if(f&&fc(f,s,null),o)for(const Y in o){const D=o[Y];q(D)&&(s[Y]=D.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=jn(Y))}if(Cs=!0,i)for(const Y in i){const D=i[Y],he=q(D)?D.bind(n,n):q(D.get)?D.get.bind(n,n):ke,on=!q(D)&&q(D.set)?D.set.bind(n):ke,ot=ie({get:he,set:on});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const Y in l)Ji(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{mc(D,Y[D])})}a&&wr(a,e,"c");function U(Y,D){W(D)?D.forEach(he=>Y(he.bind(n))):D&&Y(D.bind(n))}if(U(ec,h),U(Lt,y),U(tc,v),U(nc,S),U(zl,_),U(Ql,K),U(oc,V),U(ic,F),U(rc,$),U(Ki,j),U(Bn,g),U(sc,R),W(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:he=>n[D]=he})})}else e.exposed||(e.exposed={});O&&e.render===ke&&(e.render=O),I!=null&&(e.inheritAttrs=I),x&&(e.components=x),B&&(e.directives=B),R&&Xs(e)}function fc(e,t,n=ke){W(e)&&(e=As(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function wr(e,t,n){He(W(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ji(e,t,n,s){let r=s.includes(".")?fo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(ne(e))if(W(e))e.forEach(i=>Ji(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function Js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Pn(c,f,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Pn(e,i,n,!0),r&&r.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=uc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const uc={data:Sr,props:xr,emits:xr,methods:$t,computed:$t,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:$t,directives:$t,watch:hc,provide:Sr,inject:dc};function Sr(e,t){return t?e?function(){return ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function dc(e,t){return $t(As(e),As(t))}function As(e){if(W(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const Qi={},Zi=()=>Object.create(Qi),eo=e=>Object.getPrototypeOf(e)===Qi;function yc(e,t,n,s=!1){const r={},i=Zi();e.propsDefaults=Object.create(null),to(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:El(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function vc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,v]=no(h,t,!0);ae(o,y),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Tt),Tt;if(W(i))for(let a=0;ae[0]==="_"||e==="$stable",zs=e=>W(e)?e.map(Me):[Me(e)],bc=(e,t,n)=>{if(t._n)return t;const s=Ul((...r)=>zs(t(...r)),n);return s._c=!1,s},ro=(e,t,n)=>{const s=e._ctx;for(const r in e){if(so(r))continue;const i=e[r];if(q(i))t[r]=bc(r,i,s);else if(i!=null){const o=zs(i);t[r]=()=>o}}},io=(e,t)=>{const n=zs(t);e.slots.default=()=>n},oo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},wc=(e,t,n)=>{const s=e.slots=Zi();if(e.vnode.shapeFlag&32){const r=t._;r?(oo(s,t,n),n&&ai(s,"_",r,!0)):ro(t,s)}else t&&io(e,t)},Sc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:oo(r,t,n):(i=!t.$stable,ro(t,r)),o=t}else t&&(io(e,t),o={default:1});if(i)for(const l in r)!so(l)&&o[l]==null&&delete r[l]},be=go;function xc(e){return lo(e)}function Tc(e){return lo(e,Yl)}function lo(e,t){const n=Hn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:v=ke,insertStaticContent:S}=e,_=(u,d,m,E=null,w=null,T=null,P=void 0,M=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ut(u,d)&&(E=ln(u),De(u,w,T,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:k,shapeFlag:L}=d;switch(C){case gt:K(u,d,m,E);break;case ve:N(u,d,m,E);break;case kt:u==null&&j(d,m,E,P);break;case xe:x(u,d,m,E,w,T,P,M,A);break;default:L&1?O(u,d,m,E,w,T,P,M,A):L&6?B(u,d,m,E,w,T,P,M,A):(L&64||L&128)&&C.process(u,d,m,E,w,T,P,M,A,vt)}k!=null&&w&&Xt(k,u&&u.ref,T,d||u,!d)},K=(u,d,m,E)=>{if(u==null)s(d.el=l(d.children),m,E);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,E)=>{u==null?s(d.el=c(d.children||""),m,E):d.el=u.el},j=(u,d,m,E)=>{[u.el,u.anchor]=S(u.children,d,m,E,u.el,u.anchor)},p=({el:u,anchor:d},m,E)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,E),u=w;s(d,m,E)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},O=(u,d,m,E,w,T,P,M,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,E,w,T,P,M,A):R(u,d,w,T,P,M,A)},F=(u,d,m,E,w,T,P,M)=>{let A,C;const{props:k,shapeFlag:L,transition:H,dirs:G}=u;if(A=u.el=o(u.type,T,k&&k.is,k),L&8?a(A,u.children):L&16&&V(u.children,A,null,E,w,rs(u,T),P,M),G&&Ue(u,null,E,"created"),$(A,u,u.scopeId,P,E),k){for(const ee in k)ee!=="value"&&!Ct(ee)&&i(A,ee,null,k[ee],T,E);"value"in k&&i(A,"value",null,k.value,T),(C=k.onVnodeBeforeMount)&&Oe(C,E,u)}G&&Ue(u,null,E,"beforeMount");const X=co(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=k&&k.onVnodeMounted)||X||G)&&be(()=>{C&&Oe(C,E,u),X&&H.enter(A),G&&Ue(u,null,E,"mounted")},w)},$=(u,d,m,E,w)=>{if(m&&v(u,m),E)for(let T=0;T{for(let C=A;C{const M=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=d;A|=u.patchFlag&16;const L=u.props||Z,H=d.props||Z;let G;if(m&<(m,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,m,d,u),k&&Ue(d,u,m,"beforeUpdate"),m&<(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(M,""),C?b(u.dynamicChildren,C,M,m,E,rs(d,w),T):P||D(u,d,M,null,m,E,rs(d,w),T,!1),A>0){if(A&16)I(M,L,H,m,w);else if(A&2&&L.class!==H.class&&i(M,"class",null,H.class,w),A&4&&i(M,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{G&&Oe(G,m,d,u),k&&Ue(d,u,m,"updated")},E)},b=(u,d,m,E,w,T,P)=>{for(let M=0;M{if(d!==m){if(d!==Z)for(const T in d)!Ct(T)&&!(T in m)&&i(u,T,d[T],null,w,E);for(const T in m){if(Ct(T))continue;const P=m[T],M=d[T];P!==M&&T!=="value"&&i(u,T,M,P,w,E)}"value"in m&&i(u,"value",d.value,m.value,w)}},x=(u,d,m,E,w,T,P,M,A)=>{const C=d.el=u?u.el:l(""),k=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:G}=d;G&&(M=M?M.concat(G):G),u==null?(s(C,m,E),s(k,m,E),V(d.children||[],m,k,w,T,P,M,A)):L>0&&L&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,m,w,T,P,M),(d.key!=null||w&&d===w.subTree)&&Qs(u,d,!0)):D(u,d,m,k,w,T,P,M,A)},B=(u,d,m,E,w,T,P,M,A)=>{d.slotScopeIds=M,u==null?d.shapeFlag&512?w.ctx.activate(d,m,E,P,A):se(d,m,E,w,T,P,A):le(u,d,A)},se=(u,d,m,E,w,T,P)=>{const M=u.component=Vc(u,E,w);if(sn(u)&&(M.ctx.renderer=vt),Uc(M,!1,P),M.asyncDep){if(w&&w.registerDep(M,U,P),!u.el){const A=M.subTree=ce(ve);N(null,A,d,m)}}else U(M,u,d,m,w,T,P)},le=(u,d,m)=>{const E=d.component=u.component;if(Ic(u,d,m))if(E.asyncDep&&!E.asyncResolved){Y(E,d,m);return}else E.next=d,E.update();else d.el=u.el,E.vnode=d},U=(u,d,m,E,w,T,P)=>{const M=()=>{if(u.isMounted){let{next:L,bu:H,u:G,parent:X,vnode:ee}=u;{const Ee=ao(u);if(Ee){L&&(L.el=ee.el,Y(u,L,P)),Ee.asyncDep.then(()=>{u.isUnmounted||M()});return}}let Q=L,Te;lt(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,H&&bn(H),(Te=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(Te,X,L,ee),lt(u,!0);const pe=is(u),Ie=u.subTree;u.subTree=pe,_(Ie,pe,h(Ie.el),ln(Ie),u,w,T),L.el=pe.el,Q===null&&ho(u,pe.el),G&&be(G,w),(Te=L.props&&L.props.onVnodeUpdated)&&be(()=>Oe(Te,X,L,ee),w)}else{let L;const{el:H,props:G}=d,{bm:X,m:ee,parent:Q,root:Te,type:pe}=u,Ie=pt(d);if(lt(u,!1),X&&bn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),lt(u,!0),H&&Jn){const Ee=()=>{u.subTree=is(u),Jn(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Ee):Ee()}else{Te.ce&&Te.ce._injectChildStyle(pe);const Ee=u.subTree=is(u);_(null,Ee,m,E,u,w,T),d.el=Ee.el}if(ee&&be(ee,w),!Ie&&(L=G&&G.onVnodeMounted)){const Ee=d;be(()=>Oe(L,Q,Ee),w)}(d.shapeFlag&256||Q&&pt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&be(u.a,w),u.isMounted=!0,d=m=E=null}};u.scope.on();const A=u.effect=new pi(M);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>Gs(k),lt(u,!0),C()},Y=(u,d,m)=>{d.component=u;const E=u.vnode.props;u.vnode=d,u.next=null,vc(u,d.props,E,m),Sc(u,d.children,m),rt(),dr(u),it()},D=(u,d,m,E,w,T,P,M,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){on(C,L,m,E,w,T,P,M,A);return}else if(H&256){he(C,L,m,E,w,T,P,M,A);return}}G&8?(k&16&&It(C,w,T),L!==C&&a(m,L)):k&16?G&16?on(C,L,m,E,w,T,P,M,A):It(C,w,T,!0):(k&8&&a(m,""),G&16&&V(L,m,E,w,T,P,M,A))},he=(u,d,m,E,w,T,P,M,A)=>{u=u||Tt,d=d||Tt;const C=u.length,k=d.length,L=Math.min(C,k);let H;for(H=0;Hk?It(u,w,T,!0,!1,L):V(d,m,E,w,T,P,M,A,L)},on=(u,d,m,E,w,T,P,M,A)=>{let C=0;const k=d.length;let L=u.length-1,H=k-1;for(;C<=L&&C<=H;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(ut(G,X))_(G,X,m,null,w,T,P,M,A);else break;C++}for(;C<=L&&C<=H;){const G=u[L],X=d[H]=A?et(d[H]):Me(d[H]);if(ut(G,X))_(G,X,m,null,w,T,P,M,A);else break;L--,H--}if(C>L){if(C<=H){const G=H+1,X=GH)for(;C<=L;)De(u[C],w,T,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,Te=0;const pe=H-X+1;let Ie=!1,Ee=0;const Nt=new Array(pe);for(C=0;C=pe){De(Ce,w,T,!0);continue}let je;if(Ce.key!=null)je=ee.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&ut(Ce,d[Q])){je=Q;break}je===void 0?De(Ce,w,T,!0):(Nt[je-X]=C+1,je>=Ee?Ee=je:Ie=!0,_(Ce,d[je],m,null,w,T,P,M,A),Te++)}const lr=Ie?Ec(Nt):Tt;for(Q=lr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=d[Ce],cr=Ce+1{const{el:T,type:P,transition:M,children:A,shapeFlag:C}=u;if(C&6){ot(u.component.subTree,d,m,E);return}if(C&128){u.suspense.move(d,m,E);return}if(C&64){P.move(u,d,m,vt);return}if(P===xe){s(T,d,m);for(let L=0;LM.enter(T),w);else{const{leave:L,delayLeave:H,afterLeave:G}=M,X=()=>s(T,d,m),ee=()=>{L(T,()=>{X(),G&&G()})};H?H(T,X,ee):ee()}else s(T,d,m)},De=(u,d,m,E=!1,w=!1)=>{const{type:T,props:P,ref:M,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:L,dirs:H,cacheIndex:G}=u;if(L===-2&&(w=!1),M!=null&&Xt(M,null,m,u,!0),G!=null&&(d.renderCache[G]=void 0),k&256){d.ctx.deactivate(u);return}const X=k&1&&H,ee=!pt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),k&6)Wo(u.component,m,E);else{if(k&128){u.suspense.unmount(m,E);return}X&&Ue(u,null,d,"beforeUnmount"),k&64?u.type.remove(u,d,m,vt,E):C&&!C.hasOnce&&(T!==xe||L>0&&L&64)?It(C,d,m,!1,!0):(T===xe&&L&384||!w&&k&16)&&It(A,d,m),E&&ir(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&be(()=>{Q&&Oe(Q,d,u),X&&Ue(u,null,d,"unmounted")},m)},ir=u=>{const{type:d,el:m,anchor:E,transition:w}=u;if(d===xe){Bo(m,E);return}if(d===kt){g(u);return}const T=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:M}=w,A=()=>P(m,T);M?M(u.el,T,A):A()}else T()},Bo=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},Wo=(u,d,m)=>{const{bum:E,scope:w,job:T,subTree:P,um:M,m:A,a:C}=u;Er(A),Er(C),E&&bn(E),w.stop(),T&&(T.flags|=8,De(P,u,d,m)),M&&be(M,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(u,d,m,E=!1,w=!1,T=0)=>{for(let P=T;P{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[Fi];return m?y(m):d};let Yn=!1;const or=(u,d,m)=>{u==null?d._vnode&&De(d._vnode,null,null,!0):_(d._vnode||null,u,d,null,null,null,m),d._vnode=u,Yn||(Yn=!0,dr(),On(),Yn=!1)},vt={p:_,um:De,m:ot,r:ir,mt:se,mc:V,pc:D,pbc:b,n:ln,o:e};let Xn,Jn;return t&&([Xn,Jn]=t(vt)),{render:or,hydrate:Xn,createApp:gc(or,Xn)}}function rs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qs(e,t,n=!1){const s=e.children,r=t.children;if(W(s)&&W(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ao(t)}function Er(e){if(e)for(let t=0;tOt(Cc);function Zs(e,t){return Wn(e,null,t)}function Rf(e,t){return Wn(e,null,{flush:"post"})}function Fe(e,t,n){return Wn(e,t,n)}function Wn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(Mt){if(i==="sync"){const v=Ac();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ke,v.resume=ke,v.pause=ke,v}}const a=ue;l.call=(v,S,_)=>He(v,a,S,_);let h=!1;i==="post"?l.scheduler=v=>{be(v,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,S)=>{S?v():Gs(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const y=$l(e,t,l);return Mt&&(f?f.push(y):c&&y()),y}function Rc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?fo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Wn(r,i.bind(s),n);return o(),l}function fo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Mc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Oc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(vs)));let l,c=s[l=_n(t)]||s[l=_n(Le(t))];!c&&i&&(c=s[l=_n(st(t))]),c&&He(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,r)}}function uo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=uo(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):(W(i)?i.forEach(c=>o[c]=null):ae(o,i),ne(e)&&s.set(e,o),o)}function Kn(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function is(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:v,ctx:S,inheritAttrs:_}=e,K=Mn(e);let N,j;try{if(n.shapeFlag&4){const g=r||s,O=g;N=Me(f.call(O,g,a,h,v,y,S)),j=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),j=t.props?l:Pc(l)}}catch(g){Bt.length=0,nn(g,e,1),N=ce(ve)}let p=N;if(j&&_!==!1){const g=Object.keys(j),{shapeFlag:O}=p;g.length&&O&7&&(i&&g.some(Fs)&&(j=Lc(j,i)),p=nt(p,j,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(p,n.transition),N=p,Mn(K),N}const Pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},Lc=(e,t)=>{const n={};for(const s in e)(!Fs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ic(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Cr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function go(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Vl(e)}const xe=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),Bt=[];let Ae=null;function Os(e=!1){Bt.push(Ae=e?null:[])}function Nc(){Bt.pop(),Ae=Bt[Bt.length-1]||null}let Jt=1;function Ar(e,t=!1){Jt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function mo(e){return e.dynamicChildren=Jt>0?Ae||Tt:null,Nc(),Jt>0&&Ae&&Ae.push(e),e}function Of(e,t,n,s,r,i){return mo(vo(e,t,n,s,r,i,!0))}function Ms(e,t,n,s,r){return mo(ce(e,t,n,s,r,!0))}function zt(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const yo=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||fe(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function vo(e,t=null,n=null,s=0,r=null,i=e===xe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yo(t),ref:t&&xn(t),scopeId:Ni,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?(er(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Jt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const ce=Fc;function Fc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Gi)&&(e=ve),zt(e)){const l=nt(e,t,!0);return n&&er(l,n),Jt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Kc(e)&&(e=e.__vccOpts),t){t=Hc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=js(l)),ne(c)&&(Ks(c)&&!W(c)&&(c=ae({},c)),t.style=Ds(c))}const o=re(e)?1:po(e)?128:Hi(e)?64:ne(e)?4:q(e)?2:0;return vo(e,t,n,s,r,o,i,!0)}function Hc(e){return e?Ks(e)||eo(e)?ae({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?$c(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&yo(f),ref:t&&t.ref?n&&i?W(i)?i.concat(xn(t)):[i,xn(t)]:xn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Yt(a,c.clone(a)),a}function _o(e=" ",t=0){return ce(gt,null,e,t)}function Mf(e,t){const n=ce(kt,null,e);return n.staticCount=t,n}function Pf(e="",t=!1){return t?(Os(),Ms(ve,null,e)):ce(ve,null,e)}function Me(e){return e==null||typeof e=="boolean"?ce(ve):W(e)?ce(xe,null,e.slice()):zt(e)?et(e):ce(gt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!eo(t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[_o(t)]):n=8);e.children=t,e.shapeFlag|=n}function $c(...e){const t={};for(let n=0;nue||de;let Ln,Ps;{const e=Hn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Ps=t("__VUE_SSR_SETTERS__",n=>Mt=n)}const rn=e=>{const t=ue;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Rr=()=>{ue&&ue.scope.off(),Ln(null)};function bo(e){return e.vnode.shapeFlag&4}let Mt=!1;function Uc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=bo(e);yc(e,s,i,t),wc(e,r,n);const o=i?kc(e,t):void 0;return t&&Ps(!1),o}function kc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,lc);const{setup:s}=n;if(s){rt();const r=e.setupContext=s.length>1?So(e):null,i=rn(e),o=tn(s,e,0,[e.props,r]),l=oi(o);if(it(),i(),(l||e.sp)&&!pt(e)&&Xs(e),l){if(o.then(Rr,Rr),t)return o.then(c=>{Or(e,c,t)}).catch(c=>{nn(c,e,0)});e.asyncDep=o}else Or(e,o,t)}else wo(e,t)}function Or(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Mi(t)),wo(e,n)}let Mr;function wo(e,t,n){const s=e.type;if(!e.render){if(!t&&Mr&&!s.render){const r=s.template||Js(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Mr(r,f)}}e.render=s.render||ke}{const r=rn(e);rt();try{ac(e)}finally{it(),r()}}}const Bc={get(e,t){return me(e,"get",""),e[t]}};function So(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bc),slots:e.slots,emit:e.emit,expose:t}}function Gn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mi(wn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function Wc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Kc(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>Fl(e,t,Mt);function Ls(e,t,n){const s=arguments.length;return s===2?ne(t)&&!W(t)?zt(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zt(n)&&(n=[n]),ce(e,t,n))}const qc="3.5.13";/** +**/function tn(e,t,n,s){try{return s?e(...s):e()}catch(r){nn(r,t,n)}}function He(e,t,n,s){if(q(e)){const r=tn(e,t,n,s);return r&&oi(r)&&r.catch(i=>{nn(i,t,n)}),r}if(W(e)){const r=[];for(let i=0;i>>1,r=Se[s],i=Gt(r);i=Gt(n)?Se.push(e):Se.splice(jl(t),0,e),e.flags|=1,Li()}}function Li(){Rn||(Rn=Pi.then(Ii))}function Vl(e){W(e)?At.push(...e):Qe&&e.id===-1?Qe.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Li()}function dr(e,t,n=Ve+1){for(;nGt(n)-Gt(s));if(At.length=0,Qe){Qe.push(...t);return}for(Qe=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function Ii(e){try{for(Ve=0;Ve{s._d&&Ar(-1);const i=Mn(t);let o;try{o=e(...r)}finally{Mn(i),s._d&&Ar(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function _f(e,t){if(de===null)return e;const n=Gn(de),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),hr=e=>e&&(e.defer||e.defer===""),pr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,gr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},$i={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:v,querySelector:S,createText:_,createComment:K}}=f,N=Vt(t.props);let{shapeFlag:j,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=_(""),F=t.anchor=_("");v(O,n,s),v(F,n,s);const $=(R,b)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,b,r,i,o,l,c))},V=()=>{const R=t.target=xs(t.props,S),b=Di(R,t,_,v);R&&(o!=="svg"&&pr(R)?o="svg":o!=="mathml"&&gr(R)&&(o="mathml"),N||($(R,b),Sn(t,!1)))};N&&($(n,F),Sn(t,!0)),hr(t.props)?be(()=>{V(),t.el.__isMounted=!0},i):V()}else{if(hr(t.props)&&!e.el.__isMounted){be(()=>{$i.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,V=Vt(e.props),R=V?n:F,b=V?O:$;if(o==="svg"||pr(F)?o="svg":(o==="mathml"||gr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),Qs(e,t,!0)):c||h(e,t,R,b,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):un(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=xs(t.props,S);I&&un(t,I,null,f,0)}else V&&un(t,F,$,f,1);Sn(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Vt(y);for(let S=0;S{e.isMounted=!0}),Ki(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],ji={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Vi=e=>{const t=e.subTree;return t.component?Vi(t.component):t},Wl={name:"BaseTransition",props:ji,setup(e,{slots:t}){const n=qn(),s=Bl();return()=>{const r=t.default&&Bi(t.default(),!0);if(!r||!r.length)return;const i=Ui(r),o=J(e),{mode:l}=o;if(s.isLeaving)return ts(i);const c=mr(i);if(!c)return ts(i);let f=Es(c,o,s,n,h=>f=h);c.type!==ve&&Yt(c,f);let a=n.subTree&&mr(n.subTree);if(a&&a.type!==ve&&!ut(c,a)&&Vi(n).type!==ve){let h=Es(a,o,s,n);if(Yt(a,h),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},ts(i);l==="in-out"&&c.type!==ve?h.delayLeave=(y,v,S)=>{const _=ki(s,a);_[String(a.key)]=a,y[Ze]=()=>{v(),y[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{S(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Ui(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ve){t=n;break}}return t}const Kl=Wl;function ki(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Es(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:v,onAfterLeave:S,onLeaveCancelled:_,onBeforeAppear:K,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,g=String(e.key),O=ki(n,e),F=(R,b)=>{R&&He(R,s,9,b)},$=(R,b)=>{const I=b[1];F(R,b),W(R)?R.every(x=>x.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=K||c;else return;R[Ze]&&R[Ze](!0);const I=O[g];I&&ut(e,I)&&I.el[Ze]&&I.el[Ze](),F(b,[R])},enter(R){let b=f,I=a,x=h;if(!n.isMounted)if(i)b=N||f,I=j||a,x=p||h;else return;let B=!1;const se=R[dn]=le=>{B||(B=!0,le?F(x,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[dn]=void 0)};b?$(b,[R,se]):se()},leave(R,b){const I=String(e.key);if(R[dn]&&R[dn](!0),n.isUnmounting)return b();F(y,[R]);let x=!1;const B=R[Ze]=se=>{x||(x=!0,b(),se?F(_,[R]):F(S,[R]),R[Ze]=void 0,O[I]===e&&delete O[I])};O[I]=e,v?$(v,[R,B]):B()},clone(R){const b=Es(R,t,n,s,r);return r&&r(b),b}};return V}function ts(e){if(sn(e))return e=nt(e),e.children=null,e}function mr(e){if(!sn(e))return Hi(e.type)&&e.children?Ui(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iXt(S,t&&(W(t)?t[_]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Xt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Gn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,y=J(h),v=h===Z?()=>!1:S=>z(y,S);if(f!=null&&f!==c&&(re(f)?(a[f]=null,v(f)&&(h[f]=null)):fe(f)&&(f.value=null)),q(c))tn(c,l,12,[o,a]);else{const S=re(c),_=fe(c);if(S||_){const K=()=>{if(e.f){const N=S?v(c)?h[c]:a[c]:c.value;r?W(N)&&Hs(N,i):W(N)?N.includes(i)||N.push(i):S?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else S?(a[c]=o,v(c)&&(h[c]=o)):_&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,be(K,n)):K()}}}let yr=!1;const bt=()=>{yr||(console.error("Hydration completed but contains mismatches."),yr=!0)},ql=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Gl=e=>e.namespaceURI.includes("MathML"),hn=e=>{if(e.nodeType===1){if(ql(e))return"svg";if(Gl(e))return"mathml"}},xt=e=>e.nodeType===8;function Yl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),On(),g._vnode=p;return}h(g.firstChild,p,null,null,null),On(),g._vnode=p},h=(p,g,O,F,$,V=!1)=>{V=V||!!g.dynamicChildren;const R=xt(p)&&p.data==="[",b=()=>_(p,g,O,F,$,R),{type:I,ref:x,shapeFlag:B,patchFlag:se}=g;let le=p.nodeType;g.el=p,se===-2&&(V=!1,g.dynamicChildren=null);let U=null;switch(I){case gt:le!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=b():(p.data!==g.children&&(bt(),p.data=g.children),U=i(p));break;case ve:j(p)?(U=i(p),N(g.el=p.content.firstChild,p,O)):le!==8||R?U=b():U=i(p);break;case kt:if(R&&(p=i(p),le=p.nodeType),le===1||le===3){U=p;const Y=!g.children.length;for(let D=0;D{V=V||!!g.dynamicChildren;const{type:R,props:b,patchFlag:I,shapeFlag:x,dirs:B,transition:se}=g,le=R==="input"||R==="option";if(le||I!==-1){B&&Ue(g,null,O,"created");let U=!1;if(j(p)){U=co(null,se)&&O&&O.vnode.props&&O.vnode.props.appear;const D=p.content.firstChild;U&&se.beforeEnter(D),N(D,p,O),g.el=p=D}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let D=v(p.firstChild,g,p,O,F,$,V);for(;D;){pn(p,1)||bt();const he=D;D=D.nextSibling,l(he)}}else if(x&8){let D=g.children;D[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(pn(p,0)||bt(),p.textContent=g.children)}if(b){if(le||!V||I&48){const D=p.tagName.includes("-");for(const he in b)(le&&(he.endsWith("value")||he==="indeterminate")||en(he)&&!Ct(he)||he[0]==="."||D)&&s(p,he,null,b[he],void 0,O)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,O);else if(I&4&&ht(b.style))for(const D in b.style)b.style[D]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,O,g),B&&Ue(g,null,O,"beforeMount"),((Y=b&&b.onVnodeMounted)||B||U)&&go(()=>{Y&&Oe(Y,O,g),U&&se.enter(p),B&&Ue(g,null,O,"mounted")},F)}return p.nextSibling},v=(p,g,O,F,$,V,R)=>{R=R||!!g.dynamicChildren;const b=g.children,I=b.length;for(let x=0;x{const{slotScopeIds:R}=g;R&&($=$?$.concat(R):R);const b=o(p),I=v(i(p),g,b,O,F,$,V);return I&&xt(I)&&I.data==="]"?i(g.anchor=I):(bt(),c(g.anchor=f("]"),b,I),I)},_=(p,g,O,F,$,V)=>{if(pn(p.parentElement,1)||bt(),g.el=null,V){const I=K(p);for(;;){const x=i(p);if(x&&x!==I)l(x);else break}}const R=i(p),b=o(p);return l(p),n(null,g,b,R,O,F,hn(b),$),O&&(O.vnode.el=g.el,ho(O,g.el)),R},K=(p,g="[",O="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===g&&F++,p.data===O)){if(F===0)return i(p);F--}return p},N=(p,g,O)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let $=O;for(;$;)$.vnode.el===g&&($.vnode.el=$.subTree.el=p),$=$.parent},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const vr="data-allow-mismatch",Xl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vr);)e=e.parentElement;const n=e&&e.getAttribute(vr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Xl[t])}}Hn().requestIdleCallback;Hn().cancelIdleCallback;function Jl(e,t){if(xt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(xt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function wf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,v()),v=()=>{let S;return f||(S=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((K,N)=>{c(_,()=>K(y()),()=>N(_),h+1)});throw _}).then(_=>S!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return Ys({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(S,_,K){const N=i?()=>{const j=i(K,p=>Jl(S,p));j&&(_.bum||(_.bum=[])).push(j)}:K;a?N():v().then(()=>!_.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const S=ue;if(Xs(S),a)return()=>ns(a,S);const _=p=>{f=null,nn(p,S,13,!s)};if(l&&S.suspense||Mt)return v().then(p=>()=>ns(p,S)).catch(p=>(_(p),()=>s?ce(s,{error:p}):null));const K=oe(!1),N=oe(),j=oe(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),N.value=p}},o),v().then(()=>{K.value=!0,S.parent&&sn(S.parent.vnode)&&S.parent.update()}).catch(p=>{_(p),N.value=p}),()=>{if(K.value&&a)return ns(a,S);if(N.value&&s)return ce(s,{error:N.value});if(n&&!j.value)return ce(n)}}})}function ns(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ce(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive;function zl(e,t){Wi(e,"a",t)}function Ql(e,t){Wi(e,"da",t)}function Wi(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sn(r.parent.vnode)&&Zl(s,t,n,r),r=r.parent}}function Zl(e,t,n,s){const r=kn(t,e,s,!0);Bn(()=>{Hs(s[t],r)},n)}function kn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{rt();const l=rn(n),c=He(t,n,e,o);return l(),it(),c});return s?r.unshift(i):r.push(i),i}}const Je=e=>(t,n=ue)=>{(!Mt||e==="sp")&&kn(e,(...s)=>t(...s),n)},ec=Je("bm"),Lt=Je("m"),tc=Je("bu"),nc=Je("u"),Ki=Je("bum"),Bn=Je("um"),sc=Je("sp"),rc=Je("rtg"),ic=Je("rtc");function oc(e,t=ue){kn("ec",e,t)}const qi="components";function Sf(e,t){return Yi(qi,e,!0,t)||e}const Gi=Symbol.for("v-ndc");function xf(e){return re(e)?Yi(qi,e,!1)||e:e||Gi}function Yi(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;{const l=Wc(i,!1);if(l&&(l===t||l===Le(t)||l===Fn(Le(t))))return i}const o=_r(r[e]||i[e],t)||_r(r.appContext[e],t);return!o&&s?i:o}}function _r(e,t){return e&&(e[t]||e[Le(t)]||e[Fn(Le(t))])}function Ef(e,t,n,s){let r;const i=n,o=W(e);if(o||re(e)){const l=o&&ht(e);let c=!1;l&&(c=!Pe(e),e=Dn(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;czt(t)?!(t.type===ve||t.type===xe&&!Xi(t.children)):!0)?e:null}function Cf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:_n(s)]=e[s];return n}const Ts=e=>e?bo(e)?Gn(e):Ts(e.parent):null,Ut=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ts(e.parent),$root:e=>Ts(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Un.bind(e.proxy)),$watch:e=>Rc.bind(e)}),ss=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),lc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ss(s,t))return o[t]=1,s[t];if(r!==Z&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Cs&&(o[t]=0)}}const a=Ut[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ss(r,t)?(r[t]=n,!0):s!==Z&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||ss(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Ut,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Af(){return cc().slots}function cc(){const e=qn();return e.setupContext||(e.setupContext=So(e))}function br(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cs=!0;function ac(e){const t=Js(e),n=e.proxy,s=e.ctx;Cs=!1,t.beforeCreate&&wr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:v,updated:S,activated:_,deactivated:K,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:g,render:O,renderTracked:F,renderTriggered:$,errorCaptured:V,serverPrefetch:R,expose:b,inheritAttrs:I,components:x,directives:B,filters:se}=t;if(f&&fc(f,s,null),o)for(const Y in o){const D=o[Y];q(D)&&(s[Y]=D.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=jn(Y))}if(Cs=!0,i)for(const Y in i){const D=i[Y],he=q(D)?D.bind(n,n):q(D.get)?D.get.bind(n,n):ke,on=!q(D)&&q(D.set)?D.set.bind(n):ke,ot=ie({get:he,set:on});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const Y in l)Ji(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{mc(D,Y[D])})}a&&wr(a,e,"c");function U(Y,D){W(D)?D.forEach(he=>Y(he.bind(n))):D&&Y(D.bind(n))}if(U(ec,h),U(Lt,y),U(tc,v),U(nc,S),U(zl,_),U(Ql,K),U(oc,V),U(ic,F),U(rc,$),U(Ki,j),U(Bn,g),U(sc,R),W(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:he=>n[D]=he})})}else e.exposed||(e.exposed={});O&&e.render===ke&&(e.render=O),I!=null&&(e.inheritAttrs=I),x&&(e.components=x),B&&(e.directives=B),R&&Xs(e)}function fc(e,t,n=ke){W(e)&&(e=As(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function wr(e,t,n){He(W(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ji(e,t,n,s){let r=s.includes(".")?fo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(ne(e))if(W(e))e.forEach(i=>Ji(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function Js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Pn(c,f,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Pn(e,i,n,!0),r&&r.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=uc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const uc={data:Sr,props:xr,emits:xr,methods:$t,computed:$t,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:$t,directives:$t,watch:hc,provide:Sr,inject:dc};function Sr(e,t){return t?e?function(){return ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function dc(e,t){return $t(As(e),As(t))}function As(e){if(W(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const Qi={},Zi=()=>Object.create(Qi),eo=e=>Object.getPrototypeOf(e)===Qi;function yc(e,t,n,s=!1){const r={},i=Zi();e.propsDefaults=Object.create(null),to(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Tl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function vc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,v]=no(h,t,!0);ae(o,y),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Et),Et;if(W(i))for(let a=0;ae[0]==="_"||e==="$stable",zs=e=>W(e)?e.map(Me):[Me(e)],bc=(e,t,n)=>{if(t._n)return t;const s=Ul((...r)=>zs(t(...r)),n);return s._c=!1,s},ro=(e,t,n)=>{const s=e._ctx;for(const r in e){if(so(r))continue;const i=e[r];if(q(i))t[r]=bc(r,i,s);else if(i!=null){const o=zs(i);t[r]=()=>o}}},io=(e,t)=>{const n=zs(t);e.slots.default=()=>n},oo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},wc=(e,t,n)=>{const s=e.slots=Zi();if(e.vnode.shapeFlag&32){const r=t._;r?(oo(s,t,n),n&&ai(s,"_",r,!0)):ro(t,s)}else t&&io(e,t)},Sc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:oo(r,t,n):(i=!t.$stable,ro(t,r)),o=t}else t&&(io(e,t),o={default:1});if(i)for(const l in r)!so(l)&&o[l]==null&&delete r[l]},be=go;function xc(e){return lo(e)}function Ec(e){return lo(e,Yl)}function lo(e,t){const n=Hn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:v=ke,insertStaticContent:S}=e,_=(u,d,m,T=null,w=null,E=null,P=void 0,M=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ut(u,d)&&(T=ln(u),De(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:k,shapeFlag:L}=d;switch(C){case gt:K(u,d,m,T);break;case ve:N(u,d,m,T);break;case kt:u==null&&j(d,m,T,P);break;case xe:x(u,d,m,T,w,E,P,M,A);break;default:L&1?O(u,d,m,T,w,E,P,M,A):L&6?B(u,d,m,T,w,E,P,M,A):(L&64||L&128)&&C.process(u,d,m,T,w,E,P,M,A,vt)}k!=null&&w&&Xt(k,u&&u.ref,E,d||u,!d)},K=(u,d,m,T)=>{if(u==null)s(d.el=l(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},j=(u,d,m,T)=>{[u.el,u.anchor]=S(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},O=(u,d,m,T,w,E,P,M,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,T,w,E,P,M,A):R(u,d,w,E,P,M,A)},F=(u,d,m,T,w,E,P,M)=>{let A,C;const{props:k,shapeFlag:L,transition:H,dirs:G}=u;if(A=u.el=o(u.type,E,k&&k.is,k),L&8?a(A,u.children):L&16&&V(u.children,A,null,T,w,rs(u,E),P,M),G&&Ue(u,null,T,"created"),$(A,u,u.scopeId,P,T),k){for(const ee in k)ee!=="value"&&!Ct(ee)&&i(A,ee,null,k[ee],E,T);"value"in k&&i(A,"value",null,k.value,E),(C=k.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ue(u,null,T,"beforeMount");const X=co(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=k&&k.onVnodeMounted)||X||G)&&be(()=>{C&&Oe(C,T,u),X&&H.enter(A),G&&Ue(u,null,T,"mounted")},w)},$=(u,d,m,T,w)=>{if(m&&v(u,m),T)for(let E=0;E{for(let C=A;C{const M=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=d;A|=u.patchFlag&16;const L=u.props||Z,H=d.props||Z;let G;if(m&<(m,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,m,d,u),k&&Ue(d,u,m,"beforeUpdate"),m&<(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(M,""),C?b(u.dynamicChildren,C,M,m,T,rs(d,w),E):P||D(u,d,M,null,m,T,rs(d,w),E,!1),A>0){if(A&16)I(M,L,H,m,w);else if(A&2&&L.class!==H.class&&i(M,"class",null,H.class,w),A&4&&i(M,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{G&&Oe(G,m,d,u),k&&Ue(d,u,m,"updated")},T)},b=(u,d,m,T,w,E,P)=>{for(let M=0;M{if(d!==m){if(d!==Z)for(const E in d)!Ct(E)&&!(E in m)&&i(u,E,d[E],null,w,T);for(const E in m){if(Ct(E))continue;const P=m[E],M=d[E];P!==M&&E!=="value"&&i(u,E,M,P,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},x=(u,d,m,T,w,E,P,M,A)=>{const C=d.el=u?u.el:l(""),k=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:G}=d;G&&(M=M?M.concat(G):G),u==null?(s(C,m,T),s(k,m,T),V(d.children||[],m,k,w,E,P,M,A)):L>0&&L&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,m,w,E,P,M),(d.key!=null||w&&d===w.subTree)&&Qs(u,d,!0)):D(u,d,m,k,w,E,P,M,A)},B=(u,d,m,T,w,E,P,M,A)=>{d.slotScopeIds=M,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,P,A):se(d,m,T,w,E,P,A):le(u,d,A)},se=(u,d,m,T,w,E,P)=>{const M=u.component=Vc(u,T,w);if(sn(u)&&(M.ctx.renderer=vt),Uc(M,!1,P),M.asyncDep){if(w&&w.registerDep(M,U,P),!u.el){const A=M.subTree=ce(ve);N(null,A,d,m)}}else U(M,u,d,m,w,E,P)},le=(u,d,m)=>{const T=d.component=u.component;if(Ic(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},U=(u,d,m,T,w,E,P)=>{const M=()=>{if(u.isMounted){let{next:L,bu:H,u:G,parent:X,vnode:ee}=u;{const Te=ao(u);if(Te){L&&(L.el=ee.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||M()});return}}let Q=L,Ee;lt(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,H&&bn(H),(Ee=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(Ee,X,L,ee),lt(u,!0);const pe=is(u),Ie=u.subTree;u.subTree=pe,_(Ie,pe,h(Ie.el),ln(Ie),u,w,E),L.el=pe.el,Q===null&&ho(u,pe.el),G&&be(G,w),(Ee=L.props&&L.props.onVnodeUpdated)&&be(()=>Oe(Ee,X,L,ee),w)}else{let L;const{el:H,props:G}=d,{bm:X,m:ee,parent:Q,root:Ee,type:pe}=u,Ie=pt(d);if(lt(u,!1),X&&bn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),lt(u,!0),H&&Jn){const Te=()=>{u.subTree=is(u),Jn(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{Ee.ce&&Ee.ce._injectChildStyle(pe);const Te=u.subTree=is(u);_(null,Te,m,T,u,w,E),d.el=Te.el}if(ee&&be(ee,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=d;be(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&&pt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&be(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new pi(M);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>Gs(k),lt(u,!0),C()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,vc(u,d.props,T,m),Sc(u,d.children,m),rt(),dr(u),it()},D=(u,d,m,T,w,E,P,M,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){on(C,L,m,T,w,E,P,M,A);return}else if(H&256){he(C,L,m,T,w,E,P,M,A);return}}G&8?(k&16&&It(C,w,E),L!==C&&a(m,L)):k&16?G&16?on(C,L,m,T,w,E,P,M,A):It(C,w,E,!0):(k&8&&a(m,""),G&16&&V(L,m,T,w,E,P,M,A))},he=(u,d,m,T,w,E,P,M,A)=>{u=u||Et,d=d||Et;const C=u.length,k=d.length,L=Math.min(C,k);let H;for(H=0;Hk?It(u,w,E,!0,!1,L):V(d,m,T,w,E,P,M,A,L)},on=(u,d,m,T,w,E,P,M,A)=>{let C=0;const k=d.length;let L=u.length-1,H=k-1;for(;C<=L&&C<=H;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(ut(G,X))_(G,X,m,null,w,E,P,M,A);else break;C++}for(;C<=L&&C<=H;){const G=u[L],X=d[H]=A?et(d[H]):Me(d[H]);if(ut(G,X))_(G,X,m,null,w,E,P,M,A);else break;L--,H--}if(C>L){if(C<=H){const G=H+1,X=GH)for(;C<=L;)De(u[C],w,E,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,Ee=0;const pe=H-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){De(Ce,w,E,!0);continue}let je;if(Ce.key!=null)je=ee.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&ut(Ce,d[Q])){je=Q;break}je===void 0?De(Ce,w,E,!0):(Nt[je-X]=C+1,je>=Te?Te=je:Ie=!0,_(Ce,d[je],m,null,w,E,P,M,A),Ee++)}const lr=Ie?Tc(Nt):Et;for(Q=lr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=d[Ce],cr=Ce+1{const{el:E,type:P,transition:M,children:A,shapeFlag:C}=u;if(C&6){ot(u.component.subTree,d,m,T);return}if(C&128){u.suspense.move(d,m,T);return}if(C&64){P.move(u,d,m,vt);return}if(P===xe){s(E,d,m);for(let L=0;LM.enter(E),w);else{const{leave:L,delayLeave:H,afterLeave:G}=M,X=()=>s(E,d,m),ee=()=>{L(E,()=>{X(),G&&G()})};H?H(E,X,ee):ee()}else s(E,d,m)},De=(u,d,m,T=!1,w=!1)=>{const{type:E,props:P,ref:M,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:L,dirs:H,cacheIndex:G}=u;if(L===-2&&(w=!1),M!=null&&Xt(M,null,m,u,!0),G!=null&&(d.renderCache[G]=void 0),k&256){d.ctx.deactivate(u);return}const X=k&1&&H,ee=!pt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),k&6)Wo(u.component,m,T);else{if(k&128){u.suspense.unmount(m,T);return}X&&Ue(u,null,d,"beforeUnmount"),k&64?u.type.remove(u,d,m,vt,T):C&&!C.hasOnce&&(E!==xe||L>0&&L&64)?It(C,d,m,!1,!0):(E===xe&&L&384||!w&&k&16)&&It(A,d,m),T&&ir(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&be(()=>{Q&&Oe(Q,d,u),X&&Ue(u,null,d,"unmounted")},m)},ir=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===xe){Bo(m,T);return}if(d===kt){g(u);return}const E=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:M}=w,A=()=>P(m,E);M?M(u.el,E,A):A()}else E()},Bo=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},Wo=(u,d,m)=>{const{bum:T,scope:w,job:E,subTree:P,um:M,m:A,a:C}=u;Tr(A),Tr(C),T&&bn(T),w.stop(),E&&(E.flags|=8,De(P,u,d,m)),M&&be(M,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(u,d,m,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[Fi];return m?y(m):d};let Yn=!1;const or=(u,d,m)=>{u==null?d._vnode&&De(d._vnode,null,null,!0):_(d._vnode||null,u,d,null,null,null,m),d._vnode=u,Yn||(Yn=!0,dr(),On(),Yn=!1)},vt={p:_,um:De,m:ot,r:ir,mt:se,mc:V,pc:D,pbc:b,n:ln,o:e};let Xn,Jn;return t&&([Xn,Jn]=t(vt)),{render:or,hydrate:Xn,createApp:gc(or,Xn)}}function rs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qs(e,t,n=!1){const s=e.children,r=t.children;if(W(s)&&W(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ao(t)}function Tr(e){if(e)for(let t=0;tOt(Cc);function Zs(e,t){return Wn(e,null,t)}function Rf(e,t){return Wn(e,null,{flush:"post"})}function Fe(e,t,n){return Wn(e,t,n)}function Wn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(Mt){if(i==="sync"){const v=Ac();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ke,v.resume=ke,v.pause=ke,v}}const a=ue;l.call=(v,S,_)=>He(v,a,S,_);let h=!1;i==="post"?l.scheduler=v=>{be(v,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,S)=>{S?v():Gs(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const y=$l(e,t,l);return Mt&&(f?f.push(y):c&&y()),y}function Rc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?fo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Wn(r,i.bind(s),n);return o(),l}function fo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Mc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Oc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(vs)));let l,c=s[l=_n(t)]||s[l=_n(Le(t))];!c&&i&&(c=s[l=_n(st(t))]),c&&He(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,r)}}function uo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=uo(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):(W(i)?i.forEach(c=>o[c]=null):ae(o,i),ne(e)&&s.set(e,o),o)}function Kn(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function is(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:v,ctx:S,inheritAttrs:_}=e,K=Mn(e);let N,j;try{if(n.shapeFlag&4){const g=r||s,O=g;N=Me(f.call(O,g,a,h,v,y,S)),j=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),j=t.props?l:Pc(l)}}catch(g){Bt.length=0,nn(g,e,1),N=ce(ve)}let p=N;if(j&&_!==!1){const g=Object.keys(j),{shapeFlag:O}=p;g.length&&O&7&&(i&&g.some(Fs)&&(j=Lc(j,i)),p=nt(p,j,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(p,n.transition),N=p,Mn(K),N}const Pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},Lc=(e,t)=>{const n={};for(const s in e)(!Fs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ic(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Cr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function go(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Vl(e)}const xe=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),Bt=[];let Ae=null;function Os(e=!1){Bt.push(Ae=e?null:[])}function Nc(){Bt.pop(),Ae=Bt[Bt.length-1]||null}let Jt=1;function Ar(e,t=!1){Jt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function mo(e){return e.dynamicChildren=Jt>0?Ae||Et:null,Nc(),Jt>0&&Ae&&Ae.push(e),e}function Of(e,t,n,s,r,i){return mo(vo(e,t,n,s,r,i,!0))}function Ms(e,t,n,s,r){return mo(ce(e,t,n,s,r,!0))}function zt(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const yo=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||fe(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function vo(e,t=null,n=null,s=0,r=null,i=e===xe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yo(t),ref:t&&xn(t),scopeId:Ni,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?(er(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Jt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const ce=Fc;function Fc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Gi)&&(e=ve),zt(e)){const l=nt(e,t,!0);return n&&er(l,n),Jt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Kc(e)&&(e=e.__vccOpts),t){t=Hc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=js(l)),ne(c)&&(Ks(c)&&!W(c)&&(c=ae({},c)),t.style=Ds(c))}const o=re(e)?1:po(e)?128:Hi(e)?64:ne(e)?4:q(e)?2:0;return vo(e,t,n,s,r,o,i,!0)}function Hc(e){return e?Ks(e)||eo(e)?ae({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?$c(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&yo(f),ref:t&&t.ref?n&&i?W(i)?i.concat(xn(t)):[i,xn(t)]:xn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Yt(a,c.clone(a)),a}function _o(e=" ",t=0){return ce(gt,null,e,t)}function Mf(e,t){const n=ce(kt,null,e);return n.staticCount=t,n}function Pf(e="",t=!1){return t?(Os(),Ms(ve,null,e)):ce(ve,null,e)}function Me(e){return e==null||typeof e=="boolean"?ce(ve):W(e)?ce(xe,null,e.slice()):zt(e)?et(e):ce(gt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!eo(t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[_o(t)]):n=8);e.children=t,e.shapeFlag|=n}function $c(...e){const t={};for(let n=0;nue||de;let Ln,Ps;{const e=Hn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Ps=t("__VUE_SSR_SETTERS__",n=>Mt=n)}const rn=e=>{const t=ue;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Rr=()=>{ue&&ue.scope.off(),Ln(null)};function bo(e){return e.vnode.shapeFlag&4}let Mt=!1;function Uc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=bo(e);yc(e,s,i,t),wc(e,r,n);const o=i?kc(e,t):void 0;return t&&Ps(!1),o}function kc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,lc);const{setup:s}=n;if(s){rt();const r=e.setupContext=s.length>1?So(e):null,i=rn(e),o=tn(s,e,0,[e.props,r]),l=oi(o);if(it(),i(),(l||e.sp)&&!pt(e)&&Xs(e),l){if(o.then(Rr,Rr),t)return o.then(c=>{Or(e,c,t)}).catch(c=>{nn(c,e,0)});e.asyncDep=o}else Or(e,o,t)}else wo(e,t)}function Or(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Mi(t)),wo(e,n)}let Mr;function wo(e,t,n){const s=e.type;if(!e.render){if(!t&&Mr&&!s.render){const r=s.template||Js(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Mr(r,f)}}e.render=s.render||ke}{const r=rn(e);rt();try{ac(e)}finally{it(),r()}}}const Bc={get(e,t){return me(e,"get",""),e[t]}};function So(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bc),slots:e.slots,emit:e.emit,expose:t}}function Gn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mi(wn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function Wc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Kc(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>Fl(e,t,Mt);function Ls(e,t,n){const s=arguments.length;return s===2?ne(t)&&!W(t)?zt(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zt(n)&&(n=[n]),ce(e,t,n))}const qc="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Is;const Pr=typeof window<"u"&&window.trustedTypes;if(Pr)try{Is=Pr.createPolicy("vue",{createHTML:e=>e})}catch{}const xo=Is?e=>Is.createHTML(e):e=>e,Gc="http://www.w3.org/2000/svg",Yc="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,Lr=qe&&qe.createElement("template"),Xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?qe.createElementNS(Gc,e):t==="mathml"?qe.createElementNS(Yc,e):n?qe.createElement(e,{is:n}):qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Lr.innerHTML=xo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Lr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",Ht="animation",Qt=Symbol("_vtc"),To={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Jc=ae({},ji,To),zc=e=>(e.displayName="Transition",e.props=Jc,e),Lf=zc((e,{slots:t})=>Ls(Kl,Qc(e),t)),ct=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ir=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function Qc(e){const t={};for(const x in e)x in To||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Zc(r),_=S&&S[0],K=S&&S[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:F=N,onAppear:$=j,onAppearCancelled:V=p}=t,R=(x,B,se,le)=>{x._enterCancelled=le,at(x,B?a:l),at(x,B?f:o),se&&se()},b=(x,B)=>{x._isLeaving=!1,at(x,h),at(x,v),at(x,y),B&&B()},I=x=>(B,se)=>{const le=x?$:j,U=()=>R(B,x,se);ct(le,[B,U]),Nr(()=>{at(B,x?c:i),Ke(B,x?a:l),Ir(le)||Fr(B,s,_,U)})};return ae(t,{onBeforeEnter(x){ct(N,[x]),Ke(x,i),Ke(x,o)},onBeforeAppear(x){ct(F,[x]),Ke(x,c),Ke(x,f)},onEnter:I(!1),onAppear:I(!0),onLeave(x,B){x._isLeaving=!0;const se=()=>b(x,B);Ke(x,h),x._enterCancelled?(Ke(x,y),Dr()):(Dr(),Ke(x,y)),Nr(()=>{x._isLeaving&&(at(x,h),Ke(x,v),Ir(g)||Fr(x,s,K,se))}),ct(g,[x,se])},onEnterCancelled(x){R(x,!1,void 0,!0),ct(p,[x])},onAppearCancelled(x){R(x,!0,void 0,!0),ct(V,[x])},onLeaveCancelled(x){b(x),ct(O,[x])}})}function Zc(e){if(e==null)return null;if(ne(e))return[os(e.enter),os(e.leave)];{const t=os(e);return[t,t]}}function os(e){return Jo(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qt]||(e[Qt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Qt];n&&(n.delete(t),n.size||(e[Qt]=void 0))}function Nr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ea=0;function Fr(e,t,n,s){const r=e._endId=++ea,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ta(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[S]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Hr(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Duration`),f=Hr(l,c);let a=null,h=0,y=0;t===ze?o>0&&(a=ze,h=o,y=i.length):t===Ht?f>0&&(a=Ht,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?ze:Ht:null,y=a?a===ze?i.length:c.length:0);const v=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:v}}function Hr(e,t){for(;e.length$r(n)+$r(e[s])))}function $r(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Dr(){return document.body.offsetHeight}function na(e,t,n){const s=e[Qt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jr=Symbol("_vod"),sa=Symbol("_vsh"),ra=Symbol(""),ia=/(^|;)\s*display\s*:/;function oa(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Tn(s,l,"")}else for(const o in t)n[o]==null&&Tn(s,o,"");for(const o in n)o==="display"&&(i=!0),Tn(s,o,n[o])}else if(r){if(t!==n){const o=s[ra];o&&(n+=";"+o),s.cssText=n,i=ia.test(n)}}else t&&e.removeAttribute("style");jr in e&&(e[jr]=i?s.display:"",e[sa]&&(s.display="none"))}const Vr=/\s*!important$/;function Tn(e,t,n){if(W(n))n.forEach(s=>Tn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=la(e,t);Vr.test(n)?e.setProperty(st(s),n.replace(Vr,""),"important"):e[s]=n}}const Ur=["Webkit","Moz","ms"],ls={};function la(e,t){const n=ls[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return ls[t]=s;s=Fn(s);for(let r=0;rcs||(ua.then(()=>cs=0),cs=Date.now());function ha(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(pa(s,n.value),t,5,[s])};return n.value=e,n.attached=da(),n}function pa(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ga=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?na(e,s,o):t==="style"?oa(e,n,s):en(t)?Fs(t)||aa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ma(e,t,s,o))?(Wr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Br(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Wr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Br(e,t,s,o))};function ma(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Gr(t)&&re(n)?!1:t in e}const Yr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return W(t)?n=>bn(t,n):t};function ya(e){e.target.composing=!0}function Xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const as=Symbol("_assign"),If={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[as]=Yr(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=vs(l)),e[as](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",ya),St(e,"compositionend",Xr),St(e,"change",Xr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[as]=Yr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},va=["ctrl","shift","alt","meta"],_a={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>va.some(n=>e[`${n}Key`]&&!t.includes(n))},Nf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=st(r.key);if(t.some(o=>o===i||ba[o]===i))return e(r)})},Eo=ae({patchProp:ga},Xc);let Wt,Jr=!1;function wa(){return Wt||(Wt=xc(Eo))}function Sa(){return Wt=Jr?Wt:Tc(Eo),Jr=!0,Wt}const Hf=(...e)=>{const t=wa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Co(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},$f=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(r)return n(r,!0,Co(r))},t};function Co(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ao(e){return re(e)?document.querySelector(e):e}const Df=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},xa=window.__VP_SITE_DATA__;function tr(e){return hi()?(il(e),!0):!1}function Be(e){return typeof e=="function"?e():Oi(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jf=e=>e!=null,Ta=Object.prototype.toString,Ea=e=>Ta.call(e)==="[object Object]",Zt=()=>{},zr=Ca();function Ca(){var e,t;return Ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Aa(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Oo=e=>e();function Ra(e,t={}){let n,s,r=Zt;const i=l=>{clearTimeout(l),r(),r=Zt};return l=>{const c=Be(e),f=Be(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(l())):new Promise((a,h)=>{r=t.rejectOnCancel?h:a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,a(l())},f)),n=setTimeout(()=>{s&&i(s),s=null,a(l())},c)})}}function Oa(e=Oo){const t=oe(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Vn(t),pause:n,resume:s,eventFilter:r}}function Ma(e){return qn()}function Mo(...e){if(e.length!==1)return Ll(...e);const t=e[0];return typeof t=="function"?Vn(Ol(()=>({get:t,set:Zt}))):oe(t)}function Po(e,t,n={}){const{eventFilter:s=Oo,...r}=n;return Fe(e,Aa(s,t),r)}function Pa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Oa(s);return{stop:Po(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function nr(e,t=!0,n){Ma()?Lt(e,n):t?e():Un(e)}function Vf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Po(e,t,{...i,eventFilter:Ra(s,{maxWait:r})})}function Uf(e,t,n){let s;fe(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Zt}=s,c=oe(!r),f=o?qs(t):oe(t);let a=0;return Zs(async h=>{if(!c.value)return;a++;const y=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const S=await e(_=>{h(()=>{i&&(i.value=!1),v||_()})});y===a&&(f.value=S)}catch(S){l(S)}finally{i&&y===a&&(i.value=!1),v=!0}}),r?ie(()=>(c.value=!0,f.value)):f}const $e=Ro?window:void 0;function Lo(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=$e):[t,n,s,r]=e,!t)return Zt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,v)=>(a.addEventListener(h,y,v),()=>a.removeEventListener(h,y,v)),c=Fe(()=>[Lo(t),Be(r)],([a,h])=>{if(o(),!a)return;const y=Ea(h)?{...h}:h;i.push(...n.flatMap(v=>s.map(S=>l(a,v,S,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return tr(f),f}function La(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function kf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=$e,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=La(t);return Pt(r,i,a=>{a.repeat&&Be(l)||c(a)&&n(a)},o)}function Ia(){const e=oe(!1),t=qn();return t&&Lt(()=>{e.value=!0},t),e}function Na(e){const t=Ia();return ie(()=>(t.value,!!e()))}function Io(e,t={}){const{window:n=$e}=t,s=Na(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=Zs(()=>{s.value&&(l(),r=n.matchMedia(Be(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return tr(()=>{c(),l(),r=void 0}),i}const gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mn="__vueuse_ssr_handlers__",Fa=Ha();function Ha(){return mn in gn||(gn[mn]=gn[mn]||{}),gn[mn]}function No(e,t){return Fa[e]||t}function sr(e){return Io("(prefers-color-scheme: dark)",e)}function $a(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Da={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Qr="vueuse-storage";function rr(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=$e,eventFilter:y,onError:v=b=>{console.error(b)},initOnMounted:S}=s,_=(a?qs:oe)(typeof t=="function"?t():t);if(!n)try{n=No("getDefaultStorage",()=>{var b;return(b=$e)==null?void 0:b.localStorage})()}catch(b){v(b)}if(!n)return _;const K=Be(t),N=$a(K),j=(r=s.serializer)!=null?r:Da[N],{pause:p,resume:g}=Pa(_,()=>F(_.value),{flush:i,deep:o,eventFilter:y});h&&l&&nr(()=>{n instanceof Storage?Pt(h,"storage",V):Pt(h,Qr,R),S&&V()}),S||V();function O(b,I){if(h){const x={key:e,oldValue:b,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(Qr,{detail:x}))}}function F(b){try{const I=n.getItem(e);if(b==null)O(I,null),n.removeItem(e);else{const x=j.write(b);I!==x&&(n.setItem(e,x),O(I,x))}}catch(I){v(I)}}function $(b){const I=b?b.newValue:n.getItem(e);if(I==null)return c&&K!=null&&n.setItem(e,j.write(K)),K;if(!b&&f){const x=j.read(I);return typeof f=="function"?f(x,K):N==="object"&&!Array.isArray(x)?{...K,...x}:x}else return typeof I!="string"?I:j.read(I)}function V(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){_.value=K;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==j.write(_.value)&&(_.value=$(b))}catch(I){v(I)}finally{b?Un(g):g()}}}}function R(b){V(b.detail)}return _}const ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Va(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=$e,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=sr({window:r}),v=ie(()=>y.value?"dark":"light"),S=c||(o==null?Mo(s):rr(o,s,i,{window:r,listenToStorageChanges:l})),_=ie(()=>S.value==="auto"?v.value:S.value),K=No("updateHTMLAttrs",(g,O,F)=>{const $=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Lo(g);if(!$)return;const V=new Set,R=new Set;let b=null;if(O==="class"){const x=F.split(/\s/g);Object.values(h).flatMap(B=>(B||"").split(/\s/g)).filter(Boolean).forEach(B=>{x.includes(B)?V.add(B):R.add(B)})}else b={key:O,value:F};if(V.size===0&&R.size===0&&b===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(ja)),r.document.head.appendChild(I));for(const x of V)$.classList.add(x);for(const x of R)$.classList.remove(x);b&&$.setAttribute(b.key,b.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var O;K(t,n,(O=h[g])!=null?O:g)}function j(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(_,j,{flush:"post",immediate:!0}),nr(()=>j(_.value));const p=ie({get(){return f?S.value:_.value},set(g){S.value=g}});try{return Object.assign(p,{store:S,system:v,state:_})}catch{return p}}function Ua(e={}){const{valueDark:t="dark",valueLight:n="",window:s=$e}=e,r=Va({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>r.system?r.system.value:sr({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function fs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bf(e,t,n={}){const{window:s=$e}=n;return rr(e,t,s==null?void 0:s.localStorage,n)}function Fo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const us=new WeakMap;function Wf(e,t=!1){const n=oe(t);let s=null,r="";Fe(Mo(e),l=>{const c=fs(Be(l));if(c){const f=c;if(us.get(f)||us.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=fs(Be(e));!l||n.value||(zr&&(s=Pt(l,"touchmove",c=>{ka(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=fs(Be(e));!l||!n.value||(zr&&(s==null||s()),l.style.overflow=r,us.delete(l),n.value=!1)};return tr(o),ie({get(){return n.value},set(l){l?i():o()}})}function Kf(e,t,n={}){const{window:s=$e}=n;return rr(e,t,s==null?void 0:s.sessionStorage,n)}function qf(e={}){const{window:t=$e,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const s=oe(t.scrollX),r=oe(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Gf(e={}){const{window:t=$e,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),nr(f),Pt("resize",f,{passive:!0}),r){const a=Io("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const ds={};var hs={};const Ho=/^(?:[a-z]+:|\/\/)/i,Ba="vitepress-theme-appearance",Wa=/#.*$/,Ka=/[?#].*$/,qa=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",$o={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ga(e,t,n=!1){if(t===void 0)return!1;if(e=Zr(`/${e}`),n)return new RegExp(t).test(e);if(Zr(t)!==e)return!1;const s=t.match(Wa);return s?(ge?location.hash:"")===s[0]:!0}function Zr(e){return decodeURI(e).replace(Ka,"").replace(qa,"$1")}function Ya(e){return Ho.test(e)}function Xa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ya(n)&&Ga(t,`/${n}/`,!0))||"root"}function Ja(e,t){var s,r,i,o,l,c,f;const n=Xa(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:jo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Do(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=za(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function za(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function jo(e,t){return[...e.filter(n=>!Qa(t,n)),...t]}const Za=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ef=/^[a-z]:/i;function ei(e){const t=ef.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Za,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ps=new Set;function tf(e){if(ps.size===0){const n=typeof process=="object"&&(hs==null?void 0:hs.VITE_EXTRA_EXTENSIONS)||(ds==null?void 0:ds.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>ps.add(s))}const t=e.split(".").pop();return t==null||!ps.has(t.toLowerCase())}function Yf(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const nf=Symbol(),mt=qs(xa);function Xf(e){const t=ie(()=>Ja(mt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?oe(!0):n==="force-auto"?sr():n?Ua({storageKey:Ba,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),r=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Do(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function sf(){const e=Ot(nf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function rf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ti(e){return Ho.test(e)||!e.startsWith("/")?e:rf(mt.value.base,e)}function of(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ei(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ei(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let En=[];function Jf(e){En.push(e),Bn(()=>{En=En.filter(t=>t!==e)})}function lf(){let e=mt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=ni(e,n);else if(Array.isArray(e))for(const s of e){const r=ni(s,n);if(r){t=r;break}}return t}function ni(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const cf=Symbol(),Vo="http://a.com",af=()=>({path:"/",component:null,data:$o});function zf(e,t){const n=jn(af()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=gs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==gs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,v;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,Vo),h=i=a.pathname;try{let S=await e(h);if(!S)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:K}=S;if(!_)throw new Error(`Invalid route component: ${_}`);await((v=s.onAfterPageLoad)==null?void 0:v.call(s,l)),n.path=ge?h:ti(h),n.component=wn(_),n.data=wn(K),ge&&Un(()=>{let N=mt.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!mt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){si(j,a.hash);return}}window.scrollTo(0,c)})}}catch(S){if(!/fetch|Page not found/.test(S.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(S),!f)try{const _=await fetch(mt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ti(h),n.component=t?wn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...$o,relativePath:_}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:y,hash:v,search:S}=new URL(f,c.baseURI),_=new URL(location.href);h===_.origin&&tf(y)&&(l.preventDefault(),y===_.pathname&&S===_.search?(v!==_.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:_.href,newURL:a}))),v?si(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(gs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ff(){const e=Ot(cf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Uo(){return ff().route}function si(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-lf()+i;requestAnimationFrame(r)}}function gs(e){const t=new URL(e,Vo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),mt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const yn=()=>En.forEach(e=>e()),Qf=Ys({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Uo(),{frontmatter:n,site:s}=sf();return Fe(n,yn,{deep:!0,flush:"post"}),()=>Ls(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ls(t.component,{onVnodeMounted:yn,onVnodeUpdated:yn,onVnodeUnmounted:yn}):"404 Page Not Found"])}}),uf="modulepreload",df=function(e){return"/"+e},ri={},Zf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in ri)return;ri[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":uf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,v)=>{h.addEventListener("load",y),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},eu=Ys({setup(e,{slots:t}){const n=oe(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function tu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function nu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),hf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function hf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function su(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=ms(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(ms);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};Zs(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Do(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):ms(["meta",{name:"description",content:a}]),r(jo(o.head,gf(c)))})}function ms([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function pf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function gf(e){return e.filter(t=>!pf(t))}const ys=new Set,ko=()=>document.createElement("link"),mf=e=>{const t=ko();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let vn;const vf=ge&&(vn=ko())&&vn.relList&&vn.relList.supports&&vn.relList.supports("prefetch")?mf:yf;function ru(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ys.has(c)){ys.add(c);const f=of(c);f&&vf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ys.add(l))})})};Lt(s);const r=Uo();Fe(()=>r.path,s),Bn(()=>{n&&n.disconnect()})}export{Ki as $,nc as A,Sf as B,Tf as C,qs as D,Jf as E,xe as F,ce as G,Ho as H,xf as I,Uo as J,$c as K,Ot as L,Gf as M,Ds as N,kf as O,Un as P,qf as Q,ge as R,Vn as S,Lf as T,wf as U,Zf as V,Wf as W,mc as X,Ff as Y,Cf as Z,Df as _,_o as a,Nf as a0,Af as a1,Ql as a2,zl as a3,_f as a4,If as a5,fe as a6,Mf as a7,zf as a8,of as a9,$f as aa,ru as ab,nu as ac,tu as ad,Ls as ae,cf as af,Xf as ag,nf as ah,Qf as ai,eu as aj,mt as ak,su as al,Be as am,Lo as an,jf as ao,tr as ap,Uf as aq,wn as ar,Kf as as,Bf as at,Vf as au,Hf as av,Yf as aw,ff as ax,Pt as ay,bf as az,Ms as b,Of as c,Ys as d,Pf as e,tf as f,ti as g,ie as h,Ya as i,vo as j,Oi as k,Ga as l,Io as m,js as n,Os as o,oe as p,Fe as q,Ef as r,Zs as s,sl as t,sf as u,Lt as v,Ul as w,Bn as x,Rf as y,lf as z}; +**/let Is;const Pr=typeof window<"u"&&window.trustedTypes;if(Pr)try{Is=Pr.createPolicy("vue",{createHTML:e=>e})}catch{}const xo=Is?e=>Is.createHTML(e):e=>e,Gc="http://www.w3.org/2000/svg",Yc="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,Lr=qe&&qe.createElement("template"),Xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?qe.createElementNS(Gc,e):t==="mathml"?qe.createElementNS(Yc,e):n?qe.createElement(e,{is:n}):qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Lr.innerHTML=xo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Lr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",Ht="animation",Qt=Symbol("_vtc"),Eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Jc=ae({},ji,Eo),zc=e=>(e.displayName="Transition",e.props=Jc,e),Lf=zc((e,{slots:t})=>Ls(Kl,Qc(e),t)),ct=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ir=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function Qc(e){const t={};for(const x in e)x in Eo||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Zc(r),_=S&&S[0],K=S&&S[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:F=N,onAppear:$=j,onAppearCancelled:V=p}=t,R=(x,B,se,le)=>{x._enterCancelled=le,at(x,B?a:l),at(x,B?f:o),se&&se()},b=(x,B)=>{x._isLeaving=!1,at(x,h),at(x,v),at(x,y),B&&B()},I=x=>(B,se)=>{const le=x?$:j,U=()=>R(B,x,se);ct(le,[B,U]),Nr(()=>{at(B,x?c:i),Ke(B,x?a:l),Ir(le)||Fr(B,s,_,U)})};return ae(t,{onBeforeEnter(x){ct(N,[x]),Ke(x,i),Ke(x,o)},onBeforeAppear(x){ct(F,[x]),Ke(x,c),Ke(x,f)},onEnter:I(!1),onAppear:I(!0),onLeave(x,B){x._isLeaving=!0;const se=()=>b(x,B);Ke(x,h),x._enterCancelled?(Ke(x,y),Dr()):(Dr(),Ke(x,y)),Nr(()=>{x._isLeaving&&(at(x,h),Ke(x,v),Ir(g)||Fr(x,s,K,se))}),ct(g,[x,se])},onEnterCancelled(x){R(x,!1,void 0,!0),ct(p,[x])},onAppearCancelled(x){R(x,!0,void 0,!0),ct(V,[x])},onLeaveCancelled(x){b(x),ct(O,[x])}})}function Zc(e){if(e==null)return null;if(ne(e))return[os(e.enter),os(e.leave)];{const t=os(e);return[t,t]}}function os(e){return Jo(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qt]||(e[Qt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Qt];n&&(n.delete(t),n.size||(e[Qt]=void 0))}function Nr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ea=0;function Fr(e,t,n,s){const r=e._endId=++ea,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ta(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[S]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Hr(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Duration`),f=Hr(l,c);let a=null,h=0,y=0;t===ze?o>0&&(a=ze,h=o,y=i.length):t===Ht?f>0&&(a=Ht,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?ze:Ht:null,y=a?a===ze?i.length:c.length:0);const v=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:v}}function Hr(e,t){for(;e.length$r(n)+$r(e[s])))}function $r(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Dr(){return document.body.offsetHeight}function na(e,t,n){const s=e[Qt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jr=Symbol("_vod"),sa=Symbol("_vsh"),ra=Symbol(""),ia=/(^|;)\s*display\s*:/;function oa(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&En(s,l,"")}else for(const o in t)n[o]==null&&En(s,o,"");for(const o in n)o==="display"&&(i=!0),En(s,o,n[o])}else if(r){if(t!==n){const o=s[ra];o&&(n+=";"+o),s.cssText=n,i=ia.test(n)}}else t&&e.removeAttribute("style");jr in e&&(e[jr]=i?s.display:"",e[sa]&&(s.display="none"))}const Vr=/\s*!important$/;function En(e,t,n){if(W(n))n.forEach(s=>En(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=la(e,t);Vr.test(n)?e.setProperty(st(s),n.replace(Vr,""),"important"):e[s]=n}}const Ur=["Webkit","Moz","ms"],ls={};function la(e,t){const n=ls[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return ls[t]=s;s=Fn(s);for(let r=0;rcs||(ua.then(()=>cs=0),cs=Date.now());function ha(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(pa(s,n.value),t,5,[s])};return n.value=e,n.attached=da(),n}function pa(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ga=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?na(e,s,o):t==="style"?oa(e,n,s):en(t)?Fs(t)||aa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ma(e,t,s,o))?(Wr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Br(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Wr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Br(e,t,s,o))};function ma(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Gr(t)&&re(n)?!1:t in e}const Yr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return W(t)?n=>bn(t,n):t};function ya(e){e.target.composing=!0}function Xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const as=Symbol("_assign"),If={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[as]=Yr(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=vs(l)),e[as](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",ya),St(e,"compositionend",Xr),St(e,"change",Xr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[as]=Yr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},va=["ctrl","shift","alt","meta"],_a={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>va.some(n=>e[`${n}Key`]&&!t.includes(n))},Nf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=st(r.key);if(t.some(o=>o===i||ba[o]===i))return e(r)})},To=ae({patchProp:ga},Xc);let Wt,Jr=!1;function wa(){return Wt||(Wt=xc(To))}function Sa(){return Wt=Jr?Wt:Ec(To),Jr=!0,Wt}const Hf=(...e)=>{const t=wa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Co(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},$f=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(r)return n(r,!0,Co(r))},t};function Co(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ao(e){return re(e)?document.querySelector(e):e}const Df=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},xa=window.__VP_SITE_DATA__;function tr(e){return hi()?(il(e),!0):!1}function Be(e){return typeof e=="function"?e():Oi(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jf=e=>e!=null,Ea=Object.prototype.toString,Ta=e=>Ea.call(e)==="[object Object]",Zt=()=>{},zr=Ca();function Ca(){var e,t;return Ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Aa(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Oo=e=>e();function Ra(e,t={}){let n,s,r=Zt;const i=l=>{clearTimeout(l),r(),r=Zt};return l=>{const c=Be(e),f=Be(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(l())):new Promise((a,h)=>{r=t.rejectOnCancel?h:a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,a(l())},f)),n=setTimeout(()=>{s&&i(s),s=null,a(l())},c)})}}function Oa(e=Oo){const t=oe(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Vn(t),pause:n,resume:s,eventFilter:r}}function Ma(e){return qn()}function Mo(...e){if(e.length!==1)return Ll(...e);const t=e[0];return typeof t=="function"?Vn(Ol(()=>({get:t,set:Zt}))):oe(t)}function Po(e,t,n={}){const{eventFilter:s=Oo,...r}=n;return Fe(e,Aa(s,t),r)}function Pa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Oa(s);return{stop:Po(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function nr(e,t=!0,n){Ma()?Lt(e,n):t?e():Un(e)}function Vf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Po(e,t,{...i,eventFilter:Ra(s,{maxWait:r})})}function Uf(e,t,n){let s;fe(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Zt}=s,c=oe(!r),f=o?qs(t):oe(t);let a=0;return Zs(async h=>{if(!c.value)return;a++;const y=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const S=await e(_=>{h(()=>{i&&(i.value=!1),v||_()})});y===a&&(f.value=S)}catch(S){l(S)}finally{i&&y===a&&(i.value=!1),v=!0}}),r?ie(()=>(c.value=!0,f.value)):f}const $e=Ro?window:void 0;function Lo(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=$e):[t,n,s,r]=e,!t)return Zt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,v)=>(a.addEventListener(h,y,v),()=>a.removeEventListener(h,y,v)),c=Fe(()=>[Lo(t),Be(r)],([a,h])=>{if(o(),!a)return;const y=Ta(h)?{...h}:h;i.push(...n.flatMap(v=>s.map(S=>l(a,v,S,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return tr(f),f}function La(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function kf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=$e,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=La(t);return Pt(r,i,a=>{a.repeat&&Be(l)||c(a)&&n(a)},o)}function Ia(){const e=oe(!1),t=qn();return t&&Lt(()=>{e.value=!0},t),e}function Na(e){const t=Ia();return ie(()=>(t.value,!!e()))}function Io(e,t={}){const{window:n=$e}=t,s=Na(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=Zs(()=>{s.value&&(l(),r=n.matchMedia(Be(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return tr(()=>{c(),l(),r=void 0}),i}const gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mn="__vueuse_ssr_handlers__",Fa=Ha();function Ha(){return mn in gn||(gn[mn]=gn[mn]||{}),gn[mn]}function No(e,t){return Fa[e]||t}function sr(e){return Io("(prefers-color-scheme: dark)",e)}function $a(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Da={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Qr="vueuse-storage";function rr(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=$e,eventFilter:y,onError:v=b=>{console.error(b)},initOnMounted:S}=s,_=(a?qs:oe)(typeof t=="function"?t():t);if(!n)try{n=No("getDefaultStorage",()=>{var b;return(b=$e)==null?void 0:b.localStorage})()}catch(b){v(b)}if(!n)return _;const K=Be(t),N=$a(K),j=(r=s.serializer)!=null?r:Da[N],{pause:p,resume:g}=Pa(_,()=>F(_.value),{flush:i,deep:o,eventFilter:y});h&&l&&nr(()=>{n instanceof Storage?Pt(h,"storage",V):Pt(h,Qr,R),S&&V()}),S||V();function O(b,I){if(h){const x={key:e,oldValue:b,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(Qr,{detail:x}))}}function F(b){try{const I=n.getItem(e);if(b==null)O(I,null),n.removeItem(e);else{const x=j.write(b);I!==x&&(n.setItem(e,x),O(I,x))}}catch(I){v(I)}}function $(b){const I=b?b.newValue:n.getItem(e);if(I==null)return c&&K!=null&&n.setItem(e,j.write(K)),K;if(!b&&f){const x=j.read(I);return typeof f=="function"?f(x,K):N==="object"&&!Array.isArray(x)?{...K,...x}:x}else return typeof I!="string"?I:j.read(I)}function V(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){_.value=K;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==j.write(_.value)&&(_.value=$(b))}catch(I){v(I)}finally{b?Un(g):g()}}}}function R(b){V(b.detail)}return _}const ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Va(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=$e,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=sr({window:r}),v=ie(()=>y.value?"dark":"light"),S=c||(o==null?Mo(s):rr(o,s,i,{window:r,listenToStorageChanges:l})),_=ie(()=>S.value==="auto"?v.value:S.value),K=No("updateHTMLAttrs",(g,O,F)=>{const $=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Lo(g);if(!$)return;const V=new Set,R=new Set;let b=null;if(O==="class"){const x=F.split(/\s/g);Object.values(h).flatMap(B=>(B||"").split(/\s/g)).filter(Boolean).forEach(B=>{x.includes(B)?V.add(B):R.add(B)})}else b={key:O,value:F};if(V.size===0&&R.size===0&&b===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(ja)),r.document.head.appendChild(I));for(const x of V)$.classList.add(x);for(const x of R)$.classList.remove(x);b&&$.setAttribute(b.key,b.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var O;K(t,n,(O=h[g])!=null?O:g)}function j(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(_,j,{flush:"post",immediate:!0}),nr(()=>j(_.value));const p=ie({get(){return f?S.value:_.value},set(g){S.value=g}});try{return Object.assign(p,{store:S,system:v,state:_})}catch{return p}}function Ua(e={}){const{valueDark:t="dark",valueLight:n="",window:s=$e}=e,r=Va({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>r.system?r.system.value:sr({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function fs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bf(e,t,n={}){const{window:s=$e}=n;return rr(e,t,s==null?void 0:s.localStorage,n)}function Fo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const us=new WeakMap;function Wf(e,t=!1){const n=oe(t);let s=null,r="";Fe(Mo(e),l=>{const c=fs(Be(l));if(c){const f=c;if(us.get(f)||us.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=fs(Be(e));!l||n.value||(zr&&(s=Pt(l,"touchmove",c=>{ka(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=fs(Be(e));!l||!n.value||(zr&&(s==null||s()),l.style.overflow=r,us.delete(l),n.value=!1)};return tr(o),ie({get(){return n.value},set(l){l?i():o()}})}function Kf(e,t,n={}){const{window:s=$e}=n;return rr(e,t,s==null?void 0:s.sessionStorage,n)}function qf(e={}){const{window:t=$e,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const s=oe(t.scrollX),r=oe(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Gf(e={}){const{window:t=$e,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),nr(f),Pt("resize",f,{passive:!0}),r){const a=Io("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const ds={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var hs={};const Ho=/^(?:[a-z]+:|\/\/)/i,Ba="vitepress-theme-appearance",Wa=/#.*$/,Ka=/[?#].*$/,qa=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",$o={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ga(e,t,n=!1){if(t===void 0)return!1;if(e=Zr(`/${e}`),n)return new RegExp(t).test(e);if(Zr(t)!==e)return!1;const s=t.match(Wa);return s?(ge?location.hash:"")===s[0]:!0}function Zr(e){return decodeURI(e).replace(Ka,"").replace(qa,"$1")}function Ya(e){return Ho.test(e)}function Xa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ya(n)&&Ga(t,`/${n}/`,!0))||"root"}function Ja(e,t){var s,r,i,o,l,c,f;const n=Xa(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:jo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Do(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=za(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function za(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function jo(e,t){return[...e.filter(n=>!Qa(t,n)),...t]}const Za=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ef=/^[a-z]:/i;function ei(e){const t=ef.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Za,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ps=new Set;function tf(e){if(ps.size===0){const n=typeof process=="object"&&(hs==null?void 0:hs.VITE_EXTRA_EXTENSIONS)||(ds==null?void 0:ds.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>ps.add(s))}const t=e.split(".").pop();return t==null||!ps.has(t.toLowerCase())}function Yf(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const nf=Symbol(),mt=qs(xa);function Xf(e){const t=ie(()=>Ja(mt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?oe(!0):n==="force-auto"?sr():n?Ua({storageKey:Ba,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),r=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Do(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function sf(){const e=Ot(nf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function rf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ti(e){return Ho.test(e)||!e.startsWith("/")?e:rf(mt.value.base,e)}function of(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ei(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ei(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Tn=[];function Jf(e){Tn.push(e),Bn(()=>{Tn=Tn.filter(t=>t!==e)})}function lf(){let e=mt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=ni(e,n);else if(Array.isArray(e))for(const s of e){const r=ni(s,n);if(r){t=r;break}}return t}function ni(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const cf=Symbol(),Vo="http://a.com",af=()=>({path:"/",component:null,data:$o});function zf(e,t){const n=jn(af()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=gs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==gs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,v;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,Vo),h=i=a.pathname;try{let S=await e(h);if(!S)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:K}=S;if(!_)throw new Error(`Invalid route component: ${_}`);await((v=s.onAfterPageLoad)==null?void 0:v.call(s,l)),n.path=ge?h:ti(h),n.component=wn(_),n.data=wn(K),ge&&Un(()=>{let N=mt.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!mt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){si(j,a.hash);return}}window.scrollTo(0,c)})}}catch(S){if(!/fetch|Page not found/.test(S.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(S),!f)try{const _=await fetch(mt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ti(h),n.component=t?wn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...$o,relativePath:_}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:y,hash:v,search:S}=new URL(f,c.baseURI),_=new URL(location.href);h===_.origin&&tf(y)&&(l.preventDefault(),y===_.pathname&&S===_.search?(v!==_.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:_.href,newURL:a}))),v?si(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(gs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ff(){const e=Ot(cf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Uo(){return ff().route}function si(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-lf()+i;requestAnimationFrame(r)}}function gs(e){const t=new URL(e,Vo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),mt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const yn=()=>Tn.forEach(e=>e()),Qf=Ys({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Uo(),{frontmatter:n,site:s}=sf();return Fe(n,yn,{deep:!0,flush:"post"}),()=>Ls(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ls(t.component,{onVnodeMounted:yn,onVnodeUpdated:yn,onVnodeUnmounted:yn}):"404 Page Not Found"])}}),uf="modulepreload",df=function(e){return"/"+e},ri={},Zf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in ri)return;ri[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":uf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,v)=>{h.addEventListener("load",y),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},eu=Ys({setup(e,{slots:t}){const n=oe(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function tu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function nu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),hf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function hf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function su(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=ms(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(ms);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};Zs(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Do(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):ms(["meta",{name:"description",content:a}]),r(jo(o.head,gf(c)))})}function ms([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function pf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function gf(e){return e.filter(t=>!pf(t))}const ys=new Set,ko=()=>document.createElement("link"),mf=e=>{const t=ko();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let vn;const vf=ge&&(vn=ko())&&vn.relList&&vn.relList.supports&&vn.relList.supports("prefetch")?mf:yf;function ru(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ys.has(c)){ys.add(c);const f=of(c);f&&vf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ys.add(l))})})};Lt(s);const r=Uo();Fe(()=>r.path,s),Bn(()=>{n&&n.disconnect()})}export{Ki as $,lf as A,Sf as B,Ef as C,qs as D,Jf as E,xe as F,ce as G,xf as H,Ho as I,Uo as J,$c as K,Ot as L,Gf as M,Ds as N,kf as O,Un as P,qf as Q,ge as R,Vn as S,Lf as T,wf as U,Zf as V,Wf as W,mc as X,Cf as Y,Ff as Z,Df as _,_o as a,Nf as a0,Af as a1,Ql as a2,zl as a3,_f as a4,If as a5,fe as a6,Mf as a7,su as a8,cf as a9,Xf as aa,nf as ab,Qf as ac,eu as ad,mt as ae,$f as af,zf as ag,of as ah,ru as ai,nu as aj,tu as ak,Ls as al,Be as am,Lo as an,jf as ao,tr as ap,Uf as aq,Kf as ar,Bf as as,Vf as at,ff as au,Pt as av,bf as aw,wn as ax,Hf as ay,Yf as az,Ms as b,Of as c,Ys as d,Pf as e,tf as f,ti as g,ie as h,Ya as i,vo as j,Oi as k,Ga as l,Io as m,js as n,Os as o,oe as p,Fe as q,Tf as r,Zs as s,sl as t,sf as u,Lt as v,Ul as w,Bn as x,Rf as y,nc as z}; diff --git a/assets/chunks/theme.DjavgrUf.js b/assets/chunks/theme.BxnBdNII.js similarity index 95% rename from assets/chunks/theme.DjavgrUf.js rename to assets/chunks/theme.BxnBdNII.js index 59e5927d..262fc63a 100644 --- a/assets/chunks/theme.DjavgrUf.js +++ b/assets/chunks/theme.BxnBdNII.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.CNLYrEZr.js","assets/chunks/framework._avq4Ty7.js"])))=>i.map(i=>d[i]); -import{u as ve,d as b,o as i,c as p,r as f,a as Z,t as C,n as x,b as w,w as v,e as k,T as Ae,_ as $,i as wt,f as Pt,g as Ee,h as T,j as c,k as u,l as te,m as Pe,p as N,q as W,s as he,v as q,x as re,y as Be,z as Lt,A as Vt,B as ne,F as D,C as R,D as Xe,E as me,G as S,H as Qe,I as G,J as _e,K as Q,L as ie,M as Tt,N as ge,O as Le,P as Ze,Q as et,R as be,S as Nt,U as Ct,V as It,W as tt,X as nt,Y as Mt,Z as At,$ as Et,a0 as ot,a1 as Bt,a2 as Ht,a3 as Ot,a4 as Ve,a5 as Te,a6 as Ne}from"./framework._avq4Ty7.js";const Dt={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitors",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store",thx_contributors:"Thanks the following contributors!",easterEgg:"Congratulations on finding the Easter egg!",publishPlugin:"Publish Plugin",publishRes:"Publish Resource",closeButtonText:"Close",submitButtonText:"Submit",resName:"Name",resDesc:"Description",resAuthor:"Author",resLink:"Download Link",resHomepage:"Homepage",resNameText:"Example: Kawaii Style Theme",resDescText:"Example: A kawaii style and color theme",resAuthorText:"Usually the github username, Example: yanyongyu",resLinkText:"Direct download link, usually zip package link",resHomepageText:'Optional, can be the name of the git platform repository"'},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"分叉",issues:"议题",prs:"拉取请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!",easterEgg:"恭喜你发现了彩蛋!",publishPlugin:"发布插件",publishRes:"发布资源",closeButtonText:"关闭",submitButtonText:"提交",resName:"名称",resDesc:"描述",resAuthor:"作者",resLink:"下载链接",resHomepage:"主页",resNameText:"示例:可爱风格主题",resDescText:"示例:一个可爱风格和配色的主题",resAuthorText:"通常为github用户名,示例:yanyongyu",resLinkText:"直接下载链接,通常为zip包链接",resHomepageText:"可选,可为git平台仓库名"}};let pe={};function st(o,e){return o=ke(o),Dt[o][e]}function ke(o){return o.includes("-")?o.split("-")[0]:o}function xt(){const o=ke(ve().site.value.lang);for(let e in pe)pe[e].value=st(o,e)}function j(o){const e=ke(ve().site.value.lang);return pe[o]=st(e,o),pe[o]||o}const Ft=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(i(),p("span",{class:x(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[Z(C(e.text),1)])],2))}}),Rt={key:0,class:"VPBackdrop"},jt=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(i(),w(Ae,{name:"fade"},{default:v(()=>[e.show?(i(),p("div",Rt)):k("",!0)]),_:1}))}}),zt=$(jt,[["__scopeId","data-v-7331f3ac"]]),H=ve;function Ut(o,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(o,e):(o(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Ce(o){return/^\//.test(o)?o:`/${o}`}function He(o){const{pathname:e,search:t,hash:s,protocol:n}=new URL(o,"http://a.com");if(wt(o)||o.startsWith("#")||!n.startsWith("http")||!Pt(e))return o;const{site:a}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${t}${s}`);return Ee(l)}function le({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:s,theme:n,hash:a}=H(),l=T(()=>{var d,h;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>l.value.label===h.label?[]:{text:h.label,link:Gt(h.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&o,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:l}}function Gt(o,e,t,s){return e?o.replace(/\/$/,"")+Ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):o}const Kt={class:"NotFound"},Wt={class:"code"},qt={class:"title"},Jt={class:"quote"},Yt={class:"action"},Xt=["href","aria-label"],Qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=le();return(s,n)=>{var a,l,r,d,h;return i(),p("div",Kt,[c("p",Wt,C(((a=u(e).notFound)==null?void 0:a.code)??"404"),1),c("h1",qt,C(((l=u(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=c("div",{class:"divider"},null,-1)),c("blockquote",Jt,C(((r=u(e).notFound)==null?void 0:r.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",Yt,[c("a",{class:"link",href:u(Ee)(u(t).link),"aria-label":((d=u(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=u(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Xt)])])}}}),Zt=$(Qt,[["__scopeId","data-v-b6b317bf"]]);function at(o,e){if(Array.isArray(o))return de(o);if(o==null)return[];e=Ce(e);const t=Object.keys(o).sort((n,a)=>a.split("/").length-n.split("/").length).find(n=>e.startsWith(Ce(n))),s=t?o[t]:[];return Array.isArray(s)?de(s):de(s.items,s.base)}function en(o){const e=[];let t=0;for(const s in o){const n=o[s];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function tn(o){const e=[];function t(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(o),e}function Ie(o,e){return Array.isArray(e)?e.some(t=>Ie(o,t)):te(o,e.link)?!0:e.items?Ie(o,e.items):!1}function de(o,e){return[...o].map(t=>{const s={...t},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=de(s.items,n)),s})}function J(){const{frontmatter:o,page:e,theme:t}=H(),s=Pe("(min-width: 960px)"),n=N(!1),a=T(()=>{const A=t.value.sidebar,y=e.value.relativePath;return A?at(A,y):[]}),l=N(a.value);W(a,(A,y)=>{JSON.stringify(A)!==JSON.stringify(y)&&(l.value=a.value)});const r=T(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),d=T(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=T(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),_=T(()=>r.value&&s.value),m=T(()=>r.value?en(l.value):[]);function g(){n.value=!0}function I(){n.value=!1}function V(){n.value?I():g()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:r,hasAside:h,leftAside:d,isSidebarEnabled:_,open:g,close:I,toggle:V}}function nn(o,e){let t;he(()=>{t=o.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",s)}),re(()=>{window.removeEventListener("keyup",s)});function s(n){n.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function on(o){const{page:e,hash:t}=H(),s=N(!1),n=T(()=>o.value.collapsed!=null),a=T(()=>!!o.value.link),l=N(!1),r=()=>{l.value=te(e.value.relativePath,o.value.link)};W([e,o,t],r),q(r);const d=T(()=>l.value?!0:o.value.items?Ie(e.value.relativePath,o.value.items):!1),h=T(()=>!!(o.value.items&&o.value.items.length));he(()=>{s.value=!!(n.value&&o.value.collapsed)}),Be(()=>{(l.value||d.value)&&(s.value=!1)});function _(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:a,isActiveLink:l,hasActiveLink:d,hasChildren:h,toggle:_}}function sn(){const{hasSidebar:o}=J(),e=Pe("(min-width: 960px)"),t=Pe("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const Me=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Oe(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:an(t),link:"#"+t.id,level:s}});return rn(e,o)}function an(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function rn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return cn(o,s,n)}function ln(o,e){const{isAsideEnabled:t}=sn(),s=Ut(a,100);let n=null;q(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Vt(()=>{l(location.hash)}),re(()=>{window.removeEventListener("scroll",s)});function a(){if(!t.value)return;const r=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,_=Math.abs(r+d-h)<1,m=Me.map(({element:I,link:V})=>({link:V,top:un(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,V)=>I.top-V.top);if(!m.length){l(null);return}if(r<1){l(null);return}if(_){l(m[m.length-1].link);return}let g=null;for(const{link:I,top:V}of m){if(V>r+Lt()+4)break;g=I}l(g)}function l(r){n&&n.classList.remove("active"),r==null?n=null:n=o.value.querySelector(`a[href="${decodeURIComponent(r)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function un(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}function cn(o,e,t){Me.length=0;const s=[],n=[];return o.forEach(a=>{const l={...a,children:[]};let r=n[n.length-1];for(;r&&r.level>=l.level;)n.pop(),r=n[n.length-1];if(l.element.classList.contains("ignore-header")||r&&"shouldIgnore"in r){n.push({level:l.level,shouldIgnore:!0});return}l.level>t||l.level{const n=ne("VPDocOutlineItem",!0);return i(),p("ul",{class:x(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),p(D,null,R(t.headers,({children:a,link:l,title:r})=>(i(),p("li",null,[c("a",{class:"outline-link",href:l,onClick:e,title:r},C(r),9,dn),a!=null&&a.length?(i(),w(n,{key:0,headers:a},null,8,["headers"])):k("",!0)]))),256))],2)}}}),it=$(pn,[["__scopeId","data-v-4cc82222"]]),fn={class:"content"},vn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},hn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),s=Xe([]);me(()=>{s.value=Oe(e.value.outline??t.value.outline)});const n=N(),a=N();return ln(n,a),(l,r)=>(i(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:x(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:n},[c("div",fn,[c("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),c("div",vn,C(u(rt)(u(t))),1),S(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),mn=$(hn,[["__scopeId","data-v-f1cd1f83"]]),_n={class:"VPDocAsideCarbonAds"},gn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,s)=>(i(),p("div",_n,[S(u(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),bn={class:"VPDocAside"},kn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,s)=>(i(),p("div",bn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),S(mn),f(t.$slots,"aside-outline-after",{},void 0,!0),s[0]||(s[0]=c("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),u(e).carbonAds?(i(),w(gn,{key:0,"carbon-ads":u(e).carbonAds},null,8,["carbon-ads"])):k("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),yn=$(kn,[["__scopeId","data-v-d894a65d"]]);function $n(){const{theme:o,page:e}=H();return T(()=>{const{text:t="Edit this page",pattern:s=""}=o.value.editLink||{};let n;return typeof s=="function"?n=s(e.value):n=s.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Sn(){const{page:o,theme:e,frontmatter:t}=H();return T(()=>{var h,_,m,g,I,V,A,y;const s=at(e.value.sidebar,o.value.relativePath),n=tn(s),a=wn(n,F=>F.link.replace(/[?#].*$/,"")),l=a.findIndex(F=>te(o.value.relativePath,F.link)),r=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((_=e.value.docFooter)==null?void 0:_.next)===!1&&!t.value.next||t.value.next===!1;return{prev:r?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=a[l-1])==null?void 0:m.docFooterText)??((g=a[l-1])==null?void 0:g.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=a[l-1])==null?void 0:I.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((V=a[l+1])==null?void 0:V.docFooterText)??((A=a[l+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((y=a[l+1])==null?void 0:y.link)}}})}function wn(o,e){const t=new Set;return o.filter(s=>{const n=e(s);return t.has(n)?!1:t.add(n)})}const K=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Qe.test(e.href)||e.target==="_blank");return(n,a)=>(i(),w(G(t.value),{class:x(["VPLink",{link:n.href,"vp-external-link-icon":s.value,"no-icon":n.noIcon}]),href:n.href?u(He)(n.href):void 0,target:n.target??(s.value?"_blank":void 0),rel:n.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[f(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Pn={class:"VPLastUpdated"},Ln=["datetime"],Vn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:s}=H(),n=T(()=>new Date(t.value.lastUpdated)),a=T(()=>n.value.toISOString()),l=N("");return q(()=>{he(()=>{var r,d,h;l.value=new Intl.DateTimeFormat((d=(r=e.value.lastUpdated)==null?void 0:r.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(r,d)=>{var h;return i(),p("p",Pn,[Z(C(((h=u(e).lastUpdated)==null?void 0:h.text)||u(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:a.value},C(l.value),9,Ln)])}}}),Tn=$(Vn,[["__scopeId","data-v-2530b5c9"]]),Nn={key:0,class:"VPDocFooter"},Cn={key:0,class:"edit-info"},In={key:0,class:"edit-link"},Mn={key:1,class:"last-updated"},An={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},En={class:"pager"},Bn=["innerHTML"],Hn=["innerHTML"],On={class:"pager"},Dn=["innerHTML"],xn=["innerHTML"],Fn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:s}=H(),n=$n(),a=Sn(),l=T(()=>e.value.editLink&&s.value.editLink!==!1),r=T(()=>t.value.lastUpdated),d=T(()=>l.value||r.value||a.value.prev||a.value.next);return(h,_)=>{var m,g,I,V;return d.value?(i(),p("footer",Nn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||r.value?(i(),p("div",Cn,[l.value?(i(),p("div",In,[S(K,{class:"edit-link-button",href:u(n).url,"no-icon":!0},{default:v(()=>[_[0]||(_[0]=c("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Z(" "+C(u(n).text),1)]),_:1},8,["href"])])):k("",!0),r.value?(i(),p("div",Mn,[S(Tn)])):k("",!0)])):k("",!0),(m=u(a).prev)!=null&&m.link||(g=u(a).next)!=null&&g.link?(i(),p("nav",An,[_[1]||(_[1]=c("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),c("div",En,[(I=u(a).prev)!=null&&I.link?(i(),w(K,{key:0,class:"pager-link prev",href:u(a).prev.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,Bn),c("span",{class:"title",innerHTML:u(a).prev.text},null,8,Hn)]}),_:1},8,["href"])):k("",!0)]),c("div",On,[(V=u(a).next)!=null&&V.link?(i(),w(K,{key:0,class:"pager-link next",href:u(a).next.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,Dn),c("span",{class:"title",innerHTML:u(a).next.text},null,8,xn)]}),_:1},8,["href"])):k("",!0)])])):k("",!0)])):k("",!0)}}}),Rn=$(Fn,[["__scopeId","data-v-d71d06df"]]),jn={class:"container"},zn={class:"aside-container"},Un={class:"aside-content"},Gn={class:"content"},Kn={class:"content-container"},Wn={class:"main"},qn=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=_e(),{hasSidebar:s,hasAside:n,leftAside:a}=J(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,d)=>{const h=ne("Content");return i(),p("div",{class:x(["VPDoc",{"has-sidebar":u(s),"has-aside":u(n)}])},[f(r.$slots,"doc-top",{},void 0,!0),c("div",jn,[u(n)?(i(),p("div",{key:0,class:x(["aside",{"left-aside":u(a)}])},[d[0]||(d[0]=c("div",{class:"aside-curtain"},null,-1)),c("div",zn,[c("div",Un,[S(yn,null,{"aside-top":v(()=>[f(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):k("",!0),c("div",Gn,[c("div",Kn,[f(r.$slots,"doc-before",{},void 0,!0),c("main",Wn,[S(h,{class:x(["vp-doc",[l.value,u(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(Rn,null,{"doc-footer-before":v(()=>[f(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(r.$slots,"doc-after",{},void 0,!0)])])]),f(r.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Jn=$(qn,[["__scopeId","data-v-92d339c1"]]),Yn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.href&&Qe.test(e.href)),s=T(()=>e.tag||(e.href?"a":"button"));return(n,a)=>(i(),w(G(s.value),{class:x(["VPButton",[n.size,n.theme]]),href:n.href?u(He)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[Z(C(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),Xn=$(Yn,[["__scopeId","data-v-9866ec7a"]]),Qn=["src","alt"],Zn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const s=ne("VPImage",!0);return e.image?(i(),p(D,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),p("img",Q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:u(Ee)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Qn)):(i(),p(D,{key:1},[S(s,Q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),S(s,Q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):k("",!0)}}}),fe=$(Zn,[["__scopeId","data-v-e656d635"]]),eo={class:"container"},to={class:"main"},no={key:0,class:"name"},oo=["innerHTML"],so=["innerHTML"],ao=["innerHTML"],ro={key:0,class:"actions"},io={key:0,class:"image"},lo={class:"image-container"},uo=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ie("hero-image-slot-exists");return(t,s)=>(i(),p("div",{class:x(["VPHero",{"has-image":t.image||u(e)}])},[c("div",eo,[c("div",to,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(i(),p("h1",no,[c("span",{innerHTML:t.name,class:"clip"},null,8,oo)])):k("",!0),t.text?(i(),p("p",{key:1,innerHTML:t.text,class:"text"},null,8,so)):k("",!0),t.tagline?(i(),p("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,ao)):k("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),p("div",ro,[(i(!0),p(D,null,R(t.actions,n=>(i(),p("div",{key:n.link,class:"action"},[S(Xn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):k("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||u(e)?(i(),p("div",io,[c("div",lo,[s[0]||(s[0]=c("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(i(),w(fe,{key:0,class:"image-src",image:t.image},null,8,["image"])):k("",!0)],!0)])])):k("",!0)])],2))}}),co=$(uo,[["__scopeId","data-v-d2079e5f"]]),po=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).hero?(i(),w(co,{key:0,class:"VPHomeHero",name:u(e).hero.name,text:u(e).hero.text,tagline:u(e).hero.tagline,image:u(e).hero.image,actions:u(e).hero.actions},{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):k("",!0)}}),fo={class:"box"},vo={key:0,class:"icon"},ho=["innerHTML"],mo=["innerHTML"],_o=["innerHTML"],go={key:4,class:"link-text"},bo={class:"link-text-value"},ko=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(i(),w(K,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",fo,[typeof e.icon=="object"&&e.icon.wrap?(i(),p("div",vo,[S(fe,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(i(),w(fe,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(i(),p("div",{key:2,class:"icon",innerHTML:e.icon},null,8,ho)):k("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,mo),e.details?(i(),p("p",{key:3,class:"details",innerHTML:e.details},null,8,_o)):k("",!0),e.linkText?(i(),p("div",go,[c("p",bo,[Z(C(e.linkText)+" ",1),t[0]||(t[0]=c("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):k("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),yo=$(ko,[["__scopeId","data-v-5e1d9200"]]),$o={key:0,class:"VPFeatures"},So={class:"container"},wo={class:"items"},Po=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,n)=>s.features?(i(),p("div",$o,[c("div",So,[c("div",wo,[(i(!0),p(D,null,R(s.features,a=>(i(),p("div",{key:a.title,class:x(["item",[t.value]])},[S(yo,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):k("",!0)}}),Lo=$(Po,[["__scopeId","data-v-d59d3f7a"]]),Vo=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).features?(i(),w(Lo,{key:0,class:"VPHomeFeatures",features:u(e).features},null,8,["features"])):k("",!0)}}),To=b({__name:"VPHomeContent",setup(o){const{width:e}=Tt({initialWidth:0,includeScrollbar:!1});return(t,s)=>(i(),p("div",{class:"vp-doc container",style:ge(u(e)?{"--vp-offset":`calc(50% - ${u(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),No=$(To,[["__scopeId","data-v-3b437f03"]]),Co={class:"VPHome"},Io=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,s)=>{const n=ne("Content");return i(),p("div",Co,[f(t.$slots,"home-hero-before",{},void 0,!0),S(po,null,{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),S(Vo),f(t.$slots,"home-features-after",{},void 0,!0),u(e).markdownStyles!==!1?(i(),w(No,{key:0},{default:v(()=>[S(n)]),_:1})):(i(),w(n,{key:1}))])}}}),Mo=$(Io,[["__scopeId","data-v-b62dc281"]]),Ao={},Eo={class:"VPPage"};function Bo(o,e){const t=ne("Content");return i(),p("div",Eo,[f(o.$slots,"page-top"),S(t),f(o.$slots,"page-bottom")])}const Ho=$(Ao,[["render",Bo]]),Oo=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>(i(),p("div",{class:x(["VPContent",{"has-sidebar":u(s),"is-home":u(t).layout==="home"}]),id:"VPContent"},[u(e).isNotFound?f(n.$slots,"not-found",{key:0},()=>[S(Zt)],!0):u(t).layout==="page"?(i(),w(Ho,{key:1},{"page-top":v(()=>[f(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):u(t).layout==="home"?(i(),w(Mo,{key:2},{"home-hero-before":v(()=>[f(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):u(t).layout&&u(t).layout!=="doc"?(i(),w(G(u(t).layout),{key:3})):(i(),w(Jn,{key:4},{"doc-top":v(()=>[f(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[f(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[f(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[f(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[f(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Do=$(Oo,[["__scopeId","data-v-b8a3f39d"]]),xo={class:"container"},Fo=["innerHTML"],Ro=["innerHTML"],jo=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>u(e).footer&&u(t).footer!==!1?(i(),p("footer",{key:0,class:x(["VPFooter",{"has-sidebar":u(s)}])},[c("div",xo,[u(e).footer.message?(i(),p("p",{key:0,class:"message",innerHTML:u(e).footer.message},null,8,Fo)):k("",!0),u(e).footer.copyright?(i(),p("p",{key:1,class:"copyright",innerHTML:u(e).footer.copyright},null,8,Ro)):k("",!0)])],2)):k("",!0)}}),zo=$(jo,[["__scopeId","data-v-2c1ead0b"]]);function Uo(){const{theme:o,frontmatter:e}=H(),t=Xe([]),s=T(()=>t.value.length>0);return me(()=>{t.value=Oe(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:s}}const Go={class:"menu-text"},Ko={class:"header"},Wo={class:"outline"},qo=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),s=N(!1),n=N(0),a=N(),l=N();function r(m){var g;(g=a.value)!=null&&g.contains(m.target)||(s.value=!1)}W(s,m=>{if(m){document.addEventListener("click",r);return}document.removeEventListener("click",r)}),Le("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Ze(()=>{s.value=!1}))}function _(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,g)=>(i(),p("div",{class:"VPLocalNavOutlineDropdown",style:ge({"--vp-vh":n.value+"px"}),ref_key:"main",ref:a},[m.headers.length>0?(i(),p("button",{key:0,onClick:d,class:x({open:s.value})},[c("span",Go,C(u(rt)(u(t))),1),g[0]||(g[0]=c("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(i(),p("button",{key:1,onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)),S(Ae,{name:"flyout"},{default:v(()=>[s.value?(i(),p("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[c("div",Ko,[c("a",{class:"top-link",href:"#",onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)]),c("div",Wo,[S(it,{headers:m.headers},null,8,["headers"])])],512)):k("",!0)]),_:1})],4))}}),Jo=$(qo,[["__scopeId","data-v-5ce1e66e"]]),Yo={class:"container"},Xo=["aria-expanded"],Qo={class:"menu-text"},Zo=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J(),{headers:n}=Uo(),{y:a}=et(),l=N(0);q(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{n.value=Oe(t.value.outline??e.value.outline)});const r=T(()=>n.value.length===0),d=T(()=>r.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:r.value,fixed:d.value}));return(_,m)=>u(t).layout!=="home"&&(!d.value||u(a)>=l.value)?(i(),p("div",{key:0,class:x(h.value)},[c("div",Yo,[u(s)?(i(),p("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=g=>_.$emit("open-menu"))},[m[1]||(m[1]=c("span",{class:"vpi-align-left menu-icon"},null,-1)),c("span",Qo,C(u(e).sidebarMenuLabel||"Menu"),1)],8,Xo)):k("",!0),S(Jo,{headers:u(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):k("",!0)}}),es=$(Zo,[["__scopeId","data-v-c207e03d"]]);function ts(){const o=N(!1);function e(){o.value=!0,window.addEventListener("resize",n)}function t(){o.value=!1,window.removeEventListener("resize",n)}function s(){o.value?t():e()}function n(){window.outerWidth>=768&&t()}const a=_e();return W(()=>a.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:s}}const ns={},os={class:"VPSwitch",type:"button",role:"switch"},ss={class:"check"},as={key:0,class:"icon"};function rs(o,e){return i(),p("button",os,[c("span",ss,[o.$slots.default?(i(),p("span",as,[f(o.$slots,"default",{},void 0,!0)])):k("",!0)])])}const is=$(ns,[["render",rs],["__scopeId","data-v-61ab5455"]]),ls=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),s=ie("toggle-appearance",()=>{e.value=!e.value}),n=N("");return Be(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,l)=>(i(),w(is,{title:n.value,class:"VPSwitchAppearance","aria-checked":u(e),onClick:u(s)},{default:v(()=>l[0]||(l[0]=[c("span",{class:"vpi-sun sun"},null,-1),c("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),De=$(ls,[["__scopeId","data-v-d8e7d9d8"]]),us={key:0,class:"VPNavBarAppearance"},cs=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,s)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",us,[S(De)])):k("",!0)}}),ds=$(cs,[["__scopeId","data-v-824ec8bd"]]),xe=N();let lt=!1,we=0;function ps(o){const e=N(!1);if(be){!lt&&fs(),we++;const t=W(xe,s=>{var n,a,l;s===o.el.value||(n=o.el.value)!=null&&n.contains(s)?(e.value=!0,(a=o.onFocus)==null||a.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});re(()=>{t(),we--,we||vs()})}return Nt(e)}function fs(){document.addEventListener("focusin",ut),lt=!0,xe.value=document.activeElement}function vs(){document.removeEventListener("focusin",ut)}function ut(){xe.value=document.activeElement}const hs={class:"VPMenuLink"},ms=["innerHTML"],_s=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),p("div",hs,[S(K,{class:x({active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ms)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ye=$(_s,[["__scopeId","data-v-a334e8c3"]]),gs={class:"VPMenuGroup"},bs={key:0,class:"title"},ks=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",gs,[e.text?(i(),p("p",bs,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),p(D,null,["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):k("",!0)],64))),256))]))}}),ys=$(ks,[["__scopeId","data-v-65193f25"]]),$s={class:"VPMenu"},Ss={key:0,class:"items"},ws=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(i(),p("div",$s,[e.items?(i(),p("div",Ss,[(i(!0),p(D,null,R(e.items,s=>(i(),p(D,{key:JSON.stringify(s)},["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):"component"in s?(i(),w(G(s.component),Q({key:1,ref_for:!0},s.props),null,16)):(i(),w(ys,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):k("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),Ps=$(ws,[["__scopeId","data-v-12ef594d"]]),Ls=["aria-expanded","aria-label"],Vs={key:0,class:"text"},Ts=["innerHTML"],Ns={key:1,class:"vpi-more-horizontal icon"},Cs={class:"menu"},Is=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=N(!1),t=N();ps({el:t,onBlur:s});function s(){e.value=!1}return(n,a)=>(i(),p("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:a[1]||(a[1]=l=>e.value=!0),onMouseleave:a[2]||(a[2]=l=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:a[0]||(a[0]=l=>e.value=!e.value)},[n.button||n.icon?(i(),p("span",Vs,[n.icon?(i(),p("span",{key:0,class:x([n.icon,"option-icon"])},null,2)):k("",!0),n.button?(i(),p("span",{key:1,innerHTML:n.button},null,8,Ts)):k("",!0),a[3]||(a[3]=c("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(i(),p("span",Ns))],8,Ls),c("div",Cs,[S(Ps,{items:n.items},{default:v(()=>[f(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fe=$(Is,[["__scopeId","data-v-32e61f0e"]]),Ms=["href","aria-label","innerHTML"],As=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N();q(async()=>{var a;await Ze();const n=(a=t.value)==null?void 0:a.children[0];n instanceof HTMLElement&&n.className.startsWith("vpi-social-")&&(getComputedStyle(n).maskImage||getComputedStyle(n).webkitMaskImage)==="none"&&n.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${e.icon}.svg')`)});const s=T(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,a)=>(i(),p("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:s.value},null,8,Ms))}}),Es=$(As,[["__scopeId","data-v-229dabda"]]),Bs={class:"VPSocialLinks"},Hs=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(i(),p("div",Bs,[(i(!0),p(D,null,R(e.links,({link:s,icon:n,ariaLabel:a})=>(i(),w(Es,{key:s,icon:n,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Re=$(Hs,[["__scopeId","data-v-0d378c5e"]]),Os={key:0,class:"group translations"},Ds={class:"trans-title"},xs={key:1,class:"group"},Fs={class:"item appearance"},Rs={class:"label"},js={class:"appearance-action"},zs={key:2,class:"group"},Us={class:"item social-links"},Gs=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:s,currentLang:n}=le({correspondingLink:!0}),a=T(()=>s.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,r)=>a.value?(i(),w(Fe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[u(s).length&&u(n).label?(i(),p("div",Os,[c("p",Ds,C(u(n).label),1),(i(!0),p(D,null,R(u(s),d=>(i(),w(ye,{key:d.link,item:d},null,8,["item"]))),128))])):k("",!0),u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",xs,[c("div",Fs,[c("p",Rs,C(u(t).darkModeSwitchLabel||"Appearance"),1),c("div",js,[S(De)])])])):k("",!0),u(t).socialLinks?(i(),p("div",zs,[c("div",Us,[S(Re,{class:"social-links-list",links:u(t).socialLinks},null,8,["links"])])])):k("",!0)]),_:1})):k("",!0)}}),Ks=$(Gs,[["__scopeId","data-v-ecf54355"]]),Ws=["aria-expanded"],qs=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(i(),p("button",{type:"button",class:x(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},t[1]||(t[1]=[c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)]),10,Ws))}}),Js=$(qs,[["__scopeId","data-v-8ae7def0"]]),Ys=["innerHTML"],Xs=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),w(K,{class:x({VPNavBarMenuLink:!0,active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ys)]),_:1},8,["class","href","target","rel","no-icon"]))}}),Qs=$(Xs,[["__scopeId","data-v-f6113321"]]),Zs=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),s=a=>"component"in a?!1:"link"in a?te(t.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),n=T(()=>s(e.item));return(a,l)=>(i(),w(Fe,{class:x({VPNavBarMenuGroup:!0,active:u(te)(u(t).relativePath,a.item.activeMatch,!!a.item.activeMatch)||n.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),ea={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ta=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",ea,[s[0]||(s[0]=c("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Qs,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props),null,16)):(i(),w(Zs,{key:2,item:n},null,8,["item"]))],64))),128))])):k("",!0)}}),na=$(ta,[["__scopeId","data-v-fb179ef2"]]);function oa(o){const{localeIndex:e,theme:t}=H();function s(n){var V,A,y;const a=n.split("."),l=(V=t.value.search)==null?void 0:V.options,r=l&&typeof l=="object",d=r&&((y=(A=l.locales)==null?void 0:A[e.value])==null?void 0:y.translations)||null,h=r&&l.translations||null;let _=d,m=h,g=o;const I=a.pop();for(const F of a){let z=null;const Y=g==null?void 0:g[F];Y&&(z=g=Y);const ee=m==null?void 0:m[F];ee&&(z=m=ee);const X=_==null?void 0:_[F];X&&(z=_=X),Y||(g=z),ee||(m=z),X||(_=z)}return(_==null?void 0:_[I])??(m==null?void 0:m[I])??(g==null?void 0:g[I])??""}return s}const sa=["aria-label"],aa={class:"DocSearch-Button-Container"},ra={class:"DocSearch-Button-Placeholder"},Ge=b({__name:"VPNavBarSearchButton",setup(o){const t=oa({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,n)=>(i(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":u(t)("button.buttonAriaLabel")},[c("span",aa,[n[0]||(n[0]=c("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),c("span",ra,C(u(t)("button.buttonText")),1)]),n[1]||(n[1]=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,sa))}}),ia={class:"VPNavBarSearch"},la={id:"local-search"},ua={key:1,id:"docsearch"},ca=b({__name:"VPNavBarSearch",setup(o){const e=Ct(()=>It(()=>import("./VPLocalSearchBox.CNLYrEZr.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=H(),n=N(!1),a=N(!1);q(()=>{});function l(){n.value||(n.value=!0,setTimeout(r,16))}function r(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||r()},16)}function d(m){const g=m.target,I=g.tagName;return g.isContentEditable||I==="INPUT"||I==="SELECT"||I==="TEXTAREA"}const h=N(!1);Le("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Le("/",m=>{d(m)||(m.preventDefault(),h.value=!0)});const _="local";return(m,g)=>{var I;return i(),p("div",ia,[u(_)==="local"?(i(),p(D,{key:0},[h.value?(i(),w(u(e),{key:0,onClose:g[0]||(g[0]=V=>h.value=!1)})):k("",!0),c("div",la,[S(Ge,{onClick:g[1]||(g[1]=V=>h.value=!0)})])],64)):u(_)==="algolia"?(i(),p(D,{key:1},[n.value?(i(),w(u(t),{key:0,algolia:((I=u(s).search)==null?void 0:I.options)??u(s).algolia,onVnodeBeforeMount:g[2]||(g[2]=V=>a.value=!0)},null,8,["algolia"])):k("",!0),a.value?k("",!0):(i(),p("div",ua,[S(Ge,{onClick:l})]))],64)):k("",!0)])}}}),da=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavBarSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),pa=$(da,[["__scopeId","data-v-b9e91830"]]),fa=["href","rel","target"],va=["innerHTML"],ha={key:2},ma=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:s}=J(),{currentLang:n}=le(),a=T(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),r=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,h)=>(i(),p("div",{class:x(["VPNavBarTitle",{"has-sidebar":u(s)}])},[c("a",{class:"title",href:a.value??u(He)(u(n).link),rel:l.value,target:r.value},[f(d.$slots,"nav-bar-title-before",{},void 0,!0),u(t).logo?(i(),w(fe,{key:0,class:"logo",image:u(t).logo},null,8,["image"])):k("",!0),u(t).siteTitle?(i(),p("span",{key:1,innerHTML:u(t).siteTitle},null,8,va)):u(t).siteTitle===void 0?(i(),p("span",ha,C(u(e).title),1)):k("",!0),f(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,fa)],2))}}),_a=$(ma,[["__scopeId","data-v-60cf36d1"]]),ga={class:"items"},ba={class:"title"},ka=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:s}=le({correspondingLink:!0});return(n,a)=>u(t).length&&u(s).label?(i(),w(Fe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:u(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",ga,[c("p",ba,C(u(s).label),1),(i(!0),p(D,null,R(u(t),l=>(i(),w(ye,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):k("",!0)}}),ya=$(ka,[["__scopeId","data-v-7a36dbca"]]),$a={class:"wrapper"},Sa={class:"container"},wa={class:"title"},Pa={class:"content"},La={class:"content-body"},Va=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=et(),{hasSidebar:s}=J(),{frontmatter:n}=H(),a=N({});return Be(()=>{a.value={"has-sidebar":s.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,r)=>(i(),p("div",{class:x(["VPNavBar",a.value])},[c("div",$a,[c("div",Sa,[c("div",wa,[S(_a,null,{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Pa,[c("div",La,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),S(ca,{class:"search"}),S(na,{class:"menu"}),S(ya,{class:"translations"}),S(ds,{class:"appearance"}),S(pa,{class:"social-links"}),S(Ks,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),S(Js,{class:"hamburger",active:l.isScreenOpen,onClick:r[0]||(r[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),r[1]||(r[1]=c("div",{class:"divider"},[c("div",{class:"divider-line"})],-1))],2))}}),Ta=$(Va,[["__scopeId","data-v-8c2dd89c"]]),Na={key:0,class:"VPNavScreenAppearance"},Ca={class:"text"},Ia=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(s,n)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",Na,[c("p",Ca,C(u(t).darkModeSwitchLabel||"Appearance"),1),S(De)])):k("",!0)}}),Ma=$(Ia,[["__scopeId","data-v-95ab7701"]]),Aa=["innerHTML"],Ea=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Aa)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ba=$(Ea,[["__scopeId","data-v-ae74e04d"]]),Ha=["innerHTML"],Oa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ha)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),ct=$(Oa,[["__scopeId","data-v-16f23f20"]]),Da={class:"VPNavScreenMenuGroupSection"},xa={key:0,class:"title"},Fa=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",Da,[e.text?(i(),p("p",xa,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),w(ct,{key:s.text,item:s},null,8,["item"]))),128))]))}}),Ra=$(Fa,[["__scopeId","data-v-1d14c942"]]),ja=["aria-controls","aria-expanded"],za=["innerHTML"],Ua=["id"],Ga={key:0,class:"item"},Ka={key:1,class:"item"},Wa={key:2,class:"group"},qa=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=N(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(a,l)=>(i(),p("div",{class:x(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:n},[c("span",{class:"button-text",innerHTML:a.text},null,8,za),l[0]||(l[0]=c("span",{class:"vpi-plus button-icon"},null,-1))],8,ja),c("div",{id:s.value,class:"items"},[(i(!0),p(D,null,R(a.items,r=>(i(),p(D,{key:JSON.stringify(r)},["link"in r?(i(),p("div",Ga,[S(ct,{item:r},null,8,["item"])])):"component"in r?(i(),p("div",Ka,[(i(),w(G(r.component),Q({ref_for:!0},r.props,{"screen-menu":""}),null,16))])):(i(),p("div",Wa,[S(Ra,{text:r.text,items:r.items},null,8,["text","items"])]))],64))),128))],8,Ua)],2))}}),Ja=$(qa,[["__scopeId","data-v-b51b0398"]]),Ya={key:0,class:"VPNavScreenMenu"},Xa=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",Ya,[(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Ba,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(i(),w(Ja,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):k("",!0)}}),Qa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavScreenSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),Za={class:"list"},er=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=le({correspondingLink:!0}),s=N(!1);function n(){s.value=!s.value}return(a,l)=>u(e).length&&u(t).label?(i(),p("div",{key:0,class:x(["VPNavScreenTranslations",{open:s.value}])},[c("button",{class:"title",onClick:n},[l[0]||(l[0]=c("span",{class:"vpi-languages icon lang"},null,-1)),Z(" "+C(u(t).label)+" ",1),l[1]||(l[1]=c("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),c("ul",Za,[(i(!0),p(D,null,R(u(e),r=>(i(),p("li",{key:r.link,class:"item"},[S(K,{class:"link",href:r.link},{default:v(()=>[Z(C(r.text),1)]),_:2},1032,["href"])]))),128))])],2)):k("",!0)}}),tr=$(er,[["__scopeId","data-v-205a4866"]]),nr={class:"container"},or=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=N(null),t=tt(be?document.body:null);return(s,n)=>(i(),w(Ae,{name:"fade",onEnter:n[0]||(n[0]=a=>t.value=!0),onAfterLeave:n[1]||(n[1]=a=>t.value=!1)},{default:v(()=>[s.open?(i(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",nr,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),S(Xa,{class:"menu"}),S(tr,{class:"translations"}),S(Ma,{class:"appearance"}),S(Qa,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):k("",!0)]),_:3}))}}),sr=$(or,[["__scopeId","data-v-8e3878fd"]]),ar={key:0,class:"VPNav"},rr=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=ts(),{frontmatter:n}=H(),a=T(()=>n.value.navbar!==!1);return nt("close-screen",t),he(()=>{be&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(l,r)=>a.value?(i(),p("header",ar,[S(Ta,{"is-screen-open":u(e),onToggleScreen:u(s)},{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(sr,{open:u(e)},{"nav-screen-content-before":v(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):k("",!0)}}),ir=$(rr,[["__scopeId","data-v-4a2d6202"]]),lr=["role","tabindex"],ur={key:1,class:"items"},cr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:s,isLink:n,isActiveLink:a,hasActiveLink:l,hasChildren:r,toggle:d}=on(T(()=>e.item)),h=T(()=>r.value?"section":"div"),_=T(()=>n.value?"a":"div"),m=T(()=>r.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),g=T(()=>n.value?void 0:"button"),I=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":n.value},{"is-active":a.value},{"has-active":l.value}]);function V(y){"key"in y&&y.key!=="Enter"||!e.item.link&&d()}function A(){e.item.link&&d()}return(y,F)=>{const z=ne("VPSidebarItem",!0);return i(),w(G(h.value),{class:x(["VPSidebarItem",I.value])},{default:v(()=>[y.item.text?(i(),p("div",Q({key:0,class:"item",role:g.value},At(y.item.items?{click:V,keydown:V}:{},!0),{tabindex:y.item.items&&0}),[F[1]||(F[1]=c("div",{class:"indicator"},null,-1)),y.item.link?(i(),w(K,{key:0,tag:_.value,class:"link",href:y.item.link,rel:y.item.rel,target:y.item.target},{default:v(()=>[(i(),w(G(m.value),{class:"text",innerHTML:y.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),w(G(m.value),{key:1,class:"text",innerHTML:y.item.text},null,8,["innerHTML"])),y.item.collapsed!=null&&y.item.items&&y.item.items.length?(i(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Mt(A,["enter"]),tabindex:"0"},F[0]||(F[0]=[c("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):k("",!0)],16,lr)):k("",!0),y.item.items&&y.item.items.length?(i(),p("div",ur,[y.depth<5?(i(!0),p(D,{key:0},R(y.item.items,Y=>(i(),w(z,{key:Y.text,item:Y,depth:y.depth+1},null,8,["item","depth"]))),128)):k("",!0)])):k("",!0)]),_:1},8,["class"])}}}),dr=$(cr,[["__scopeId","data-v-a5d4cd7a"]]),pr=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=N(!0);let t=null;return q(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Et(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,n)=>(i(!0),p(D,null,R(s.items,a=>(i(),p("div",{key:a.text,class:x(["group",{"no-transition":e.value}])},[S(dr,{item:a,depth:0},null,8,["item"])],2))),128))}}),fr=$(pr,[["__scopeId","data-v-011116a8"]]),vr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},hr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=J(),s=o,n=N(null),a=tt(be?document.body:null);W([s,n],()=>{var r;s.open?(a.value=!0,(r=n.value)==null||r.focus()):a.value=!1},{immediate:!0,flush:"post"});const l=N(0);return W(e,()=>{l.value+=1},{deep:!0}),(r,d)=>u(t)?(i(),p("aside",{key:0,class:x(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=ot(()=>{},["stop"]))},[d[2]||(d[2]=c("div",{class:"curtain"},null,-1)),c("nav",vr,[d[1]||(d[1]=c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(r.$slots,"sidebar-nav-before",{},void 0,!0),(i(),w(fr,{items:u(e),key:l.value},null,8,["items"])),f(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):k("",!0)}}),mr=$(hr,[["__scopeId","data-v-fc0344af"]]),_r=b({__name:"VPSkipLink",setup(o){const e=_e(),t=N();W(()=>e.path,()=>t.value.focus());function s({target:n}){const a=document.getElementById(decodeURIComponent(n.hash).slice(1));if(a){const l=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",l)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",l),a.focus(),window.scrollTo(0,0)}}return(n,a)=>(i(),p(D,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),gr=$(_r,[["__scopeId","data-v-09f1bf64"]]),br=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:s}=J(),n=_e();W(()=>n.path,s),nn(e,s);const{frontmatter:a}=H(),l=Bt(),r=T(()=>!!l["home-hero-image"]);return nt("hero-image-slot-exists",r),(d,h)=>{const _=ne("Content");return u(a).layout!==!1?(i(),p("div",{key:0,class:x(["Layout",u(a).pageClass])},[f(d.$slots,"layout-top",{},void 0,!0),S(gr),S(zt,{class:"backdrop",show:u(e),onClick:u(s)},null,8,["show","onClick"]),S(ir,null,{"nav-bar-title-before":v(()=>[f(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[f(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S(es,{open:u(e),onOpenMenu:u(t)},null,8,["open","onOpenMenu"]),S(mr,{open:u(e)},{"sidebar-nav-before":v(()=>[f(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[f(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(Do,null,{"page-top":v(()=>[f(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[f(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[f(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[f(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(zo),f(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),w(_,{key:1}))}}}),kr=$(br,[["__scopeId","data-v-cf959ac2"]]),dt={Layout:kr,enhanceApp:({app:o})=>{o.component("Badge",Ft)}},je="LiteyukiStudio",ze="LiteyukiBot",yr="https://api.github.com",$r="https://git.liteyuki.icu/api/v1",Sr="https://api.liteyuki.icu/online",wr="https://api.liteyuki.icu/count",Pr="https://api.liteyuki.icu/visit",Lr="https://api.liteyuki.icu/visit_count",se=`https://github.com/${je}/${ze}`,Ke="https://starmap.liteyuki.icu";async function Vr(){try{const o=`${$r}/repos/${je}/${ze}`;console.log(o);const t=await(await fetch(o)).json();return{stars:t.stars_count,forks:t.forks_count,watchers:t.watchers_count,issues:0,prs:0,size:t.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function Tr(){try{const e=await(await fetch(`${yr}/repos/${je}/${ze}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function Nr(){const o=await Tr(),e=await Vr();return{stars:o.stars+e.stars,forks:o.forks+e.forks,watchers:o.watchers+e.watchers,issues:o.issues+e.issues,prs:o.prs+e.prs,size:o.size+e.size}}const oe={getTotal:async()=>{try{return(await(await fetch(wr)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(Sr)).json()).online}catch{return-1}},getGithubStats:Nr,getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(Lr)).json()).count}catch{return-1}}};function Cr(){const o="deviceId";let e=localStorage.getItem(o);return e||(e=Mr(),localStorage.setItem(o,e)),e}async function Ir(){const o=Cr();try{await fetch(Pr,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:o}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function Mr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var e=Math.random()*16|0,t=o==="x"?e:e&3|8;return t.toString(16)})}/*! +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DRsLDEZW.js","assets/chunks/framework.Z6UMW4JZ.js"])))=>i.map(i=>d[i]); +import{u as ve,d as b,o as i,c as p,r as f,n as x,a as Z,t as C,b as w,w as v,e as k,T as Ae,_ as $,i as wt,f as Pt,g as Ee,h as T,j as c,k as u,l as te,m as Pe,p as N,q as W,s as he,v as q,x as re,y as Be,z as Lt,A as Vt,B as ne,F as D,C as R,D as Xe,E as me,G as S,H as G,I as Qe,J as _e,K as Q,L as ie,M as Tt,N as ge,O as Le,P as Ze,Q as et,R as be,S as Nt,U as Ct,V as It,W as tt,X as nt,Y as Mt,Z as At,$ as Et,a0 as ot,a1 as Bt,a2 as Ht,a3 as Ot,a4 as Ve,a5 as Te,a6 as Ne}from"./framework.Z6UMW4JZ.js";const Dt={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitors",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store",thx_contributors:"Thanks the following contributors!",easterEgg:"Congratulations on finding the Easter egg!",publishPlugin:"Publish Plugin",publishRes:"Publish Resource",closeButtonText:"Close",submitButtonText:"Submit",resName:"Name",resDesc:"Description",resAuthor:"Author",resLink:"Download Link",resHomepage:"Homepage",resNameText:"Example: Kawaii Style Theme",resDescText:"Example: A kawaii style and color theme",resAuthorText:"Usually the github username, Example: yanyongyu",resLinkText:"Direct download link, usually zip package link",resHomepageText:'Optional, can be the name of the git platform repository"'},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"分叉",issues:"议题",prs:"拉取请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!",easterEgg:"恭喜你发现了彩蛋!",publishPlugin:"发布插件",publishRes:"发布资源",closeButtonText:"关闭",submitButtonText:"提交",resName:"名称",resDesc:"描述",resAuthor:"作者",resLink:"下载链接",resHomepage:"主页",resNameText:"示例:可爱风格主题",resDescText:"示例:一个可爱风格和配色的主题",resAuthorText:"通常为github用户名,示例:yanyongyu",resLinkText:"直接下载链接,通常为zip包链接",resHomepageText:"可选,可为git平台仓库名"}};let pe={};function st(o,e){return o=ke(o),Dt[o][e]}function ke(o){return o.includes("-")?o.split("-")[0]:o}function xt(){const o=ke(ve().site.value.lang);for(let e in pe)pe[e].value=st(o,e)}function j(o){const e=ke(ve().site.value.lang);return pe[o]=st(e,o),pe[o]||o}const Ft=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(i(),p("span",{class:x(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[Z(C(e.text),1)])],2))}}),Rt={key:0,class:"VPBackdrop"},jt=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(i(),w(Ae,{name:"fade"},{default:v(()=>[e.show?(i(),p("div",Rt)):k("",!0)]),_:1}))}}),zt=$(jt,[["__scopeId","data-v-ddcf2ddc"]]),H=ve;function Ut(o,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(o,e):(o(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Ce(o){return/^\//.test(o)?o:`/${o}`}function He(o){const{pathname:e,search:t,hash:s,protocol:n}=new URL(o,"http://a.com");if(wt(o)||o.startsWith("#")||!n.startsWith("http")||!Pt(e))return o;const{site:a}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${t}${s}`);return Ee(l)}function le({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:s,theme:n,hash:a}=H(),l=T(()=>{var d,h;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>l.value.label===h.label?[]:{text:h.label,link:Gt(h.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&o,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:l}}function Gt(o,e,t,s){return e?o.replace(/\/$/,"")+Ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):o}const Kt={class:"NotFound"},Wt={class:"code"},qt={class:"title"},Jt={class:"quote"},Yt={class:"action"},Xt=["href","aria-label"],Qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=le();return(s,n)=>{var a,l,r,d,h;return i(),p("div",Kt,[c("p",Wt,C(((a=u(e).notFound)==null?void 0:a.code)??"404"),1),c("h1",qt,C(((l=u(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=c("div",{class:"divider"},null,-1)),c("blockquote",Jt,C(((r=u(e).notFound)==null?void 0:r.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",Yt,[c("a",{class:"link",href:u(Ee)(u(t).link),"aria-label":((d=u(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=u(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Xt)])])}}}),Zt=$(Qt,[["__scopeId","data-v-60416f10"]]);function at(o,e){if(Array.isArray(o))return de(o);if(o==null)return[];e=Ce(e);const t=Object.keys(o).sort((n,a)=>a.split("/").length-n.split("/").length).find(n=>e.startsWith(Ce(n))),s=t?o[t]:[];return Array.isArray(s)?de(s):de(s.items,s.base)}function en(o){const e=[];let t=0;for(const s in o){const n=o[s];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function tn(o){const e=[];function t(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(o),e}function Ie(o,e){return Array.isArray(e)?e.some(t=>Ie(o,t)):te(o,e.link)?!0:e.items?Ie(o,e.items):!1}function de(o,e){return[...o].map(t=>{const s={...t},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=de(s.items,n)),s})}function J(){const{frontmatter:o,page:e,theme:t}=H(),s=Pe("(min-width: 960px)"),n=N(!1),a=T(()=>{const A=t.value.sidebar,y=e.value.relativePath;return A?at(A,y):[]}),l=N(a.value);W(a,(A,y)=>{JSON.stringify(A)!==JSON.stringify(y)&&(l.value=a.value)});const r=T(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),d=T(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=T(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),_=T(()=>r.value&&s.value),m=T(()=>r.value?en(l.value):[]);function g(){n.value=!0}function I(){n.value=!1}function V(){n.value?I():g()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:r,hasAside:h,leftAside:d,isSidebarEnabled:_,open:g,close:I,toggle:V}}function nn(o,e){let t;he(()=>{t=o.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",s)}),re(()=>{window.removeEventListener("keyup",s)});function s(n){n.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function on(o){const{page:e,hash:t}=H(),s=N(!1),n=T(()=>o.value.collapsed!=null),a=T(()=>!!o.value.link),l=N(!1),r=()=>{l.value=te(e.value.relativePath,o.value.link)};W([e,o,t],r),q(r);const d=T(()=>l.value?!0:o.value.items?Ie(e.value.relativePath,o.value.items):!1),h=T(()=>!!(o.value.items&&o.value.items.length));he(()=>{s.value=!!(n.value&&o.value.collapsed)}),Be(()=>{(l.value||d.value)&&(s.value=!1)});function _(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:a,isActiveLink:l,hasActiveLink:d,hasChildren:h,toggle:_}}function sn(){const{hasSidebar:o}=J(),e=Pe("(min-width: 960px)"),t=Pe("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const Me=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Oe(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:an(t),link:"#"+t.id,level:s}});return rn(e,o)}function an(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function rn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return cn(o,s,n)}function ln(o,e){const{isAsideEnabled:t}=sn(),s=Ut(a,100);let n=null;q(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Lt(()=>{l(location.hash)}),re(()=>{window.removeEventListener("scroll",s)});function a(){if(!t.value)return;const r=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,_=Math.abs(r+d-h)<1,m=Me.map(({element:I,link:V})=>({link:V,top:un(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,V)=>I.top-V.top);if(!m.length){l(null);return}if(r<1){l(null);return}if(_){l(m[m.length-1].link);return}let g=null;for(const{link:I,top:V}of m){if(V>r+Vt()+4)break;g=I}l(g)}function l(r){n&&n.classList.remove("active"),r==null?n=null:n=o.value.querySelector(`a[href="${decodeURIComponent(r)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function un(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}function cn(o,e,t){Me.length=0;const s=[],n=[];return o.forEach(a=>{const l={...a,children:[]};let r=n[n.length-1];for(;r&&r.level>=l.level;)n.pop(),r=n[n.length-1];if(l.element.classList.contains("ignore-header")||r&&"shouldIgnore"in r){n.push({level:l.level,shouldIgnore:!0});return}l.level>t||l.level{const n=ne("VPDocOutlineItem",!0);return i(),p("ul",{class:x(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),p(D,null,R(t.headers,({children:a,link:l,title:r})=>(i(),p("li",null,[c("a",{class:"outline-link",href:l,onClick:e,title:r},C(r),9,dn),a!=null&&a.length?(i(),w(n,{key:0,headers:a},null,8,["headers"])):k("",!0)]))),256))],2)}}}),it=$(pn,[["__scopeId","data-v-8b439904"]]),fn={class:"content"},vn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},hn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),s=Xe([]);me(()=>{s.value=Oe(e.value.outline??t.value.outline)});const n=N(),a=N();return ln(n,a),(l,r)=>(i(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:x(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:n},[c("div",fn,[c("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),c("div",vn,C(u(rt)(u(t))),1),S(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),mn=$(hn,[["__scopeId","data-v-242dc75b"]]),_n={class:"VPDocAsideCarbonAds"},gn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,s)=>(i(),p("div",_n,[S(u(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),bn={class:"VPDocAside"},kn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,s)=>(i(),p("div",bn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),S(mn),f(t.$slots,"aside-outline-after",{},void 0,!0),s[0]||(s[0]=c("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),u(e).carbonAds?(i(),w(gn,{key:0,"carbon-ads":u(e).carbonAds},null,8,["carbon-ads"])):k("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),yn=$(kn,[["__scopeId","data-v-f30f9b10"]]);function $n(){const{theme:o,page:e}=H();return T(()=>{const{text:t="Edit this page",pattern:s=""}=o.value.editLink||{};let n;return typeof s=="function"?n=s(e.value):n=s.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Sn(){const{page:o,theme:e,frontmatter:t}=H();return T(()=>{var h,_,m,g,I,V,A,y;const s=at(e.value.sidebar,o.value.relativePath),n=tn(s),a=wn(n,F=>F.link.replace(/[?#].*$/,"")),l=a.findIndex(F=>te(o.value.relativePath,F.link)),r=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((_=e.value.docFooter)==null?void 0:_.next)===!1&&!t.value.next||t.value.next===!1;return{prev:r?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=a[l-1])==null?void 0:m.docFooterText)??((g=a[l-1])==null?void 0:g.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=a[l-1])==null?void 0:I.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((V=a[l+1])==null?void 0:V.docFooterText)??((A=a[l+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((y=a[l+1])==null?void 0:y.link)}}})}function wn(o,e){const t=new Set;return o.filter(s=>{const n=e(s);return t.has(n)?!1:t.add(n)})}const K=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Qe.test(e.href)||e.target==="_blank");return(n,a)=>(i(),w(G(t.value),{class:x(["VPLink",{link:n.href,"vp-external-link-icon":s.value,"no-icon":n.noIcon}]),href:n.href?u(He)(n.href):void 0,target:n.target??(s.value?"_blank":void 0),rel:n.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[f(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Pn={class:"VPLastUpdated"},Ln=["datetime"],Vn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:s}=H(),n=T(()=>new Date(t.value.lastUpdated)),a=T(()=>n.value.toISOString()),l=N("");return q(()=>{he(()=>{var r,d,h;l.value=new Intl.DateTimeFormat((d=(r=e.value.lastUpdated)==null?void 0:r.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(r,d)=>{var h;return i(),p("p",Pn,[Z(C(((h=u(e).lastUpdated)==null?void 0:h.text)||u(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:a.value},C(l.value),9,Ln)])}}}),Tn=$(Vn,[["__scopeId","data-v-67b027c0"]]),Nn={key:0,class:"VPDocFooter"},Cn={key:0,class:"edit-info"},In={key:0,class:"edit-link"},Mn={key:1,class:"last-updated"},An={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},En={class:"pager"},Bn=["innerHTML"],Hn=["innerHTML"],On={class:"pager"},Dn=["innerHTML"],xn=["innerHTML"],Fn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:s}=H(),n=$n(),a=Sn(),l=T(()=>e.value.editLink&&s.value.editLink!==!1),r=T(()=>t.value.lastUpdated),d=T(()=>l.value||r.value||a.value.prev||a.value.next);return(h,_)=>{var m,g,I,V;return d.value?(i(),p("footer",Nn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||r.value?(i(),p("div",Cn,[l.value?(i(),p("div",In,[S(K,{class:"edit-link-button",href:u(n).url,"no-icon":!0},{default:v(()=>[_[0]||(_[0]=c("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Z(" "+C(u(n).text),1)]),_:1},8,["href"])])):k("",!0),r.value?(i(),p("div",Mn,[S(Tn)])):k("",!0)])):k("",!0),(m=u(a).prev)!=null&&m.link||(g=u(a).next)!=null&&g.link?(i(),p("nav",An,[_[1]||(_[1]=c("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),c("div",En,[(I=u(a).prev)!=null&&I.link?(i(),w(K,{key:0,class:"pager-link prev",href:u(a).prev.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,Bn),c("span",{class:"title",innerHTML:u(a).prev.text},null,8,Hn)]}),_:1},8,["href"])):k("",!0)]),c("div",On,[(V=u(a).next)!=null&&V.link?(i(),w(K,{key:0,class:"pager-link next",href:u(a).next.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,Dn),c("span",{class:"title",innerHTML:u(a).next.text},null,8,xn)]}),_:1},8,["href"])):k("",!0)])])):k("",!0)])):k("",!0)}}}),Rn=$(Fn,[["__scopeId","data-v-91eea559"]]),jn={class:"container"},zn={class:"aside-container"},Un={class:"aside-content"},Gn={class:"content"},Kn={class:"content-container"},Wn={class:"main"},qn=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=_e(),{hasSidebar:s,hasAside:n,leftAside:a}=J(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,d)=>{const h=ne("Content");return i(),p("div",{class:x(["VPDoc",{"has-sidebar":u(s),"has-aside":u(n)}])},[f(r.$slots,"doc-top",{},void 0,!0),c("div",jn,[u(n)?(i(),p("div",{key:0,class:x(["aside",{"left-aside":u(a)}])},[d[0]||(d[0]=c("div",{class:"aside-curtain"},null,-1)),c("div",zn,[c("div",Un,[S(yn,null,{"aside-top":v(()=>[f(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):k("",!0),c("div",Gn,[c("div",Kn,[f(r.$slots,"doc-before",{},void 0,!0),c("main",Wn,[S(h,{class:x(["vp-doc",[l.value,u(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(Rn,null,{"doc-footer-before":v(()=>[f(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(r.$slots,"doc-after",{},void 0,!0)])])]),f(r.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Jn=$(qn,[["__scopeId","data-v-d6b08857"]]),Yn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.href&&Qe.test(e.href)),s=T(()=>e.tag||(e.href?"a":"button"));return(n,a)=>(i(),w(G(s.value),{class:x(["VPButton",[n.size,n.theme]]),href:n.href?u(He)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[Z(C(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),Xn=$(Yn,[["__scopeId","data-v-39733ae3"]]),Qn=["src","alt"],Zn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const s=ne("VPImage",!0);return e.image?(i(),p(D,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),p("img",Q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:u(Ee)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Qn)):(i(),p(D,{key:1},[S(s,Q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),S(s,Q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):k("",!0)}}}),fe=$(Zn,[["__scopeId","data-v-2d9b5d5a"]]),eo={class:"container"},to={class:"main"},no={key:0,class:"name"},oo=["innerHTML"],so=["innerHTML"],ao=["innerHTML"],ro={key:0,class:"actions"},io={key:0,class:"image"},lo={class:"image-container"},uo=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ie("hero-image-slot-exists");return(t,s)=>(i(),p("div",{class:x(["VPHero",{"has-image":t.image||u(e)}])},[c("div",eo,[c("div",to,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(i(),p("h1",no,[c("span",{innerHTML:t.name,class:"clip"},null,8,oo)])):k("",!0),t.text?(i(),p("p",{key:1,innerHTML:t.text,class:"text"},null,8,so)):k("",!0),t.tagline?(i(),p("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,ao)):k("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),p("div",ro,[(i(!0),p(D,null,R(t.actions,n=>(i(),p("div",{key:n.link,class:"action"},[S(Xn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):k("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||u(e)?(i(),p("div",io,[c("div",lo,[s[0]||(s[0]=c("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(i(),w(fe,{key:0,class:"image-src",image:t.image},null,8,["image"])):k("",!0)],!0)])])):k("",!0)])],2))}}),co=$(uo,[["__scopeId","data-v-3e16e028"]]),po=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).hero?(i(),w(co,{key:0,class:"VPHomeHero",name:u(e).hero.name,text:u(e).hero.text,tagline:u(e).hero.tagline,image:u(e).hero.image,actions:u(e).hero.actions},{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):k("",!0)}}),fo={class:"box"},vo={key:0,class:"icon"},ho=["innerHTML"],mo=["innerHTML"],_o=["innerHTML"],go={key:4,class:"link-text"},bo={class:"link-text-value"},ko=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(i(),w(K,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",fo,[typeof e.icon=="object"&&e.icon.wrap?(i(),p("div",vo,[S(fe,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(i(),w(fe,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(i(),p("div",{key:2,class:"icon",innerHTML:e.icon},null,8,ho)):k("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,mo),e.details?(i(),p("p",{key:3,class:"details",innerHTML:e.details},null,8,_o)):k("",!0),e.linkText?(i(),p("div",go,[c("p",bo,[Z(C(e.linkText)+" ",1),t[0]||(t[0]=c("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):k("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),yo=$(ko,[["__scopeId","data-v-c471b56a"]]),$o={key:0,class:"VPFeatures"},So={class:"container"},wo={class:"items"},Po=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,n)=>s.features?(i(),p("div",$o,[c("div",So,[c("div",wo,[(i(!0),p(D,null,R(s.features,a=>(i(),p("div",{key:a.title,class:x(["item",[t.value]])},[S(yo,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):k("",!0)}}),Lo=$(Po,[["__scopeId","data-v-5b566b54"]]),Vo=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).features?(i(),w(Lo,{key:0,class:"VPHomeFeatures",features:u(e).features},null,8,["features"])):k("",!0)}}),To=b({__name:"VPHomeContent",setup(o){const{width:e}=Tt({initialWidth:0,includeScrollbar:!1});return(t,s)=>(i(),p("div",{class:"vp-doc container",style:ge(u(e)?{"--vp-offset":`calc(50% - ${u(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),No=$(To,[["__scopeId","data-v-6521336f"]]),Co={class:"VPHome"},Io=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,s)=>{const n=ne("Content");return i(),p("div",Co,[f(t.$slots,"home-hero-before",{},void 0,!0),S(po,null,{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),S(Vo),f(t.$slots,"home-features-after",{},void 0,!0),u(e).markdownStyles!==!1?(i(),w(No,{key:0},{default:v(()=>[S(n)]),_:1})):(i(),w(n,{key:1}))])}}}),Mo=$(Io,[["__scopeId","data-v-bcf15fbd"]]),Ao={},Eo={class:"VPPage"};function Bo(o,e){const t=ne("Content");return i(),p("div",Eo,[f(o.$slots,"page-top"),S(t),f(o.$slots,"page-bottom")])}const Ho=$(Ao,[["render",Bo]]),Oo=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>(i(),p("div",{class:x(["VPContent",{"has-sidebar":u(s),"is-home":u(t).layout==="home"}]),id:"VPContent"},[u(e).isNotFound?f(n.$slots,"not-found",{key:0},()=>[S(Zt)],!0):u(t).layout==="page"?(i(),w(Ho,{key:1},{"page-top":v(()=>[f(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):u(t).layout==="home"?(i(),w(Mo,{key:2},{"home-hero-before":v(()=>[f(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):u(t).layout&&u(t).layout!=="doc"?(i(),w(G(u(t).layout),{key:3})):(i(),w(Jn,{key:4},{"doc-top":v(()=>[f(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[f(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[f(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[f(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[f(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Do=$(Oo,[["__scopeId","data-v-8bb73be7"]]),xo={class:"container"},Fo=["innerHTML"],Ro=["innerHTML"],jo=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>u(e).footer&&u(t).footer!==!1?(i(),p("footer",{key:0,class:x(["VPFooter",{"has-sidebar":u(s)}])},[c("div",xo,[u(e).footer.message?(i(),p("p",{key:0,class:"message",innerHTML:u(e).footer.message},null,8,Fo)):k("",!0),u(e).footer.copyright?(i(),p("p",{key:1,class:"copyright",innerHTML:u(e).footer.copyright},null,8,Ro)):k("",!0)])],2)):k("",!0)}}),zo=$(jo,[["__scopeId","data-v-a2f9475f"]]);function Uo(){const{theme:o,frontmatter:e}=H(),t=Xe([]),s=T(()=>t.value.length>0);return me(()=>{t.value=Oe(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:s}}const Go={class:"menu-text"},Ko={class:"header"},Wo={class:"outline"},qo=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),s=N(!1),n=N(0),a=N(),l=N();function r(m){var g;(g=a.value)!=null&&g.contains(m.target)||(s.value=!1)}W(s,m=>{if(m){document.addEventListener("click",r);return}document.removeEventListener("click",r)}),Le("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Ze(()=>{s.value=!1}))}function _(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,g)=>(i(),p("div",{class:"VPLocalNavOutlineDropdown",style:ge({"--vp-vh":n.value+"px"}),ref_key:"main",ref:a},[m.headers.length>0?(i(),p("button",{key:0,onClick:d,class:x({open:s.value})},[c("span",Go,C(u(rt)(u(t))),1),g[0]||(g[0]=c("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(i(),p("button",{key:1,onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)),S(Ae,{name:"flyout"},{default:v(()=>[s.value?(i(),p("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[c("div",Ko,[c("a",{class:"top-link",href:"#",onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)]),c("div",Wo,[S(it,{headers:m.headers},null,8,["headers"])])],512)):k("",!0)]),_:1})],4))}}),Jo=$(qo,[["__scopeId","data-v-34dfca2d"]]),Yo={class:"container"},Xo=["aria-expanded"],Qo={class:"menu-text"},Zo=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J(),{headers:n}=Uo(),{y:a}=et(),l=N(0);q(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{n.value=Oe(t.value.outline??e.value.outline)});const r=T(()=>n.value.length===0),d=T(()=>r.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:r.value,fixed:d.value}));return(_,m)=>u(t).layout!=="home"&&(!d.value||u(a)>=l.value)?(i(),p("div",{key:0,class:x(h.value)},[c("div",Yo,[u(s)?(i(),p("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=g=>_.$emit("open-menu"))},[m[1]||(m[1]=c("span",{class:"vpi-align-left menu-icon"},null,-1)),c("span",Qo,C(u(e).sidebarMenuLabel||"Menu"),1)],8,Xo)):k("",!0),S(Jo,{headers:u(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):k("",!0)}}),es=$(Zo,[["__scopeId","data-v-7c5ae3b6"]]);function ts(){const o=N(!1);function e(){o.value=!0,window.addEventListener("resize",n)}function t(){o.value=!1,window.removeEventListener("resize",n)}function s(){o.value?t():e()}function n(){window.outerWidth>=768&&t()}const a=_e();return W(()=>a.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:s}}const ns={},os={class:"VPSwitch",type:"button",role:"switch"},ss={class:"check"},as={key:0,class:"icon"};function rs(o,e){return i(),p("button",os,[c("span",ss,[o.$slots.default?(i(),p("span",as,[f(o.$slots,"default",{},void 0,!0)])):k("",!0)])])}const is=$(ns,[["render",rs],["__scopeId","data-v-bbaa0fff"]]),ls=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),s=ie("toggle-appearance",()=>{e.value=!e.value}),n=N("");return Be(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,l)=>(i(),w(is,{title:n.value,class:"VPSwitchAppearance","aria-checked":u(e),onClick:u(s)},{default:v(()=>l[0]||(l[0]=[c("span",{class:"vpi-sun sun"},null,-1),c("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),De=$(ls,[["__scopeId","data-v-e93e4f13"]]),us={key:0,class:"VPNavBarAppearance"},cs=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,s)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",us,[S(De)])):k("",!0)}}),ds=$(cs,[["__scopeId","data-v-728194a1"]]),xe=N();let lt=!1,we=0;function ps(o){const e=N(!1);if(be){!lt&&fs(),we++;const t=W(xe,s=>{var n,a,l;s===o.el.value||(n=o.el.value)!=null&&n.contains(s)?(e.value=!0,(a=o.onFocus)==null||a.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});re(()=>{t(),we--,we||vs()})}return Nt(e)}function fs(){document.addEventListener("focusin",ut),lt=!0,xe.value=document.activeElement}function vs(){document.removeEventListener("focusin",ut)}function ut(){xe.value=document.activeElement}const hs={class:"VPMenuLink"},ms=["innerHTML"],_s=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),p("div",hs,[S(K,{class:x({active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ms)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ye=$(_s,[["__scopeId","data-v-a5f22fa3"]]),gs={class:"VPMenuGroup"},bs={key:0,class:"title"},ks=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",gs,[e.text?(i(),p("p",bs,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),p(D,null,["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):k("",!0)],64))),256))]))}}),ys=$(ks,[["__scopeId","data-v-d835f2f2"]]),$s={class:"VPMenu"},Ss={key:0,class:"items"},ws=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(i(),p("div",$s,[e.items?(i(),p("div",Ss,[(i(!0),p(D,null,R(e.items,s=>(i(),p(D,{key:JSON.stringify(s)},["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):"component"in s?(i(),w(G(s.component),Q({key:1,ref_for:!0},s.props),null,16)):(i(),w(ys,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):k("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),Ps=$(ws,[["__scopeId","data-v-464b5fd9"]]),Ls=["aria-expanded","aria-label"],Vs={key:0,class:"text"},Ts=["innerHTML"],Ns={key:1,class:"vpi-more-horizontal icon"},Cs={class:"menu"},Is=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=N(!1),t=N();ps({el:t,onBlur:s});function s(){e.value=!1}return(n,a)=>(i(),p("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:a[1]||(a[1]=l=>e.value=!0),onMouseleave:a[2]||(a[2]=l=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:a[0]||(a[0]=l=>e.value=!e.value)},[n.button||n.icon?(i(),p("span",Vs,[n.icon?(i(),p("span",{key:0,class:x([n.icon,"option-icon"])},null,2)):k("",!0),n.button?(i(),p("span",{key:1,innerHTML:n.button},null,8,Ts)):k("",!0),a[3]||(a[3]=c("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(i(),p("span",Ns))],8,Ls),c("div",Cs,[S(Ps,{items:n.items},{default:v(()=>[f(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fe=$(Is,[["__scopeId","data-v-00df721d"]]),Ms=["href","aria-label","innerHTML"],As=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N();q(async()=>{var a;await Ze();const n=(a=t.value)==null?void 0:a.children[0];n instanceof HTMLElement&&n.className.startsWith("vpi-social-")&&(getComputedStyle(n).maskImage||getComputedStyle(n).webkitMaskImage)==="none"&&n.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${e.icon}.svg')`)});const s=T(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,a)=>(i(),p("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:s.value},null,8,Ms))}}),Es=$(As,[["__scopeId","data-v-d27afe3a"]]),Bs={class:"VPSocialLinks"},Hs=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(i(),p("div",Bs,[(i(!0),p(D,null,R(e.links,({link:s,icon:n,ariaLabel:a})=>(i(),w(Es,{key:s,icon:n,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Re=$(Hs,[["__scopeId","data-v-2b2d05f2"]]),Os={key:0,class:"group translations"},Ds={class:"trans-title"},xs={key:1,class:"group"},Fs={class:"item appearance"},Rs={class:"label"},js={class:"appearance-action"},zs={key:2,class:"group"},Us={class:"item social-links"},Gs=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:s,currentLang:n}=le({correspondingLink:!0}),a=T(()=>s.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,r)=>a.value?(i(),w(Fe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[u(s).length&&u(n).label?(i(),p("div",Os,[c("p",Ds,C(u(n).label),1),(i(!0),p(D,null,R(u(s),d=>(i(),w(ye,{key:d.link,item:d},null,8,["item"]))),128))])):k("",!0),u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",xs,[c("div",Fs,[c("p",Rs,C(u(t).darkModeSwitchLabel||"Appearance"),1),c("div",js,[S(De)])])])):k("",!0),u(t).socialLinks?(i(),p("div",zs,[c("div",Us,[S(Re,{class:"social-links-list",links:u(t).socialLinks},null,8,["links"])])])):k("",!0)]),_:1})):k("",!0)}}),Ks=$(Gs,[["__scopeId","data-v-217b6d1f"]]),Ws=["aria-expanded"],qs=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(i(),p("button",{type:"button",class:x(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},t[1]||(t[1]=[c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)]),10,Ws))}}),Js=$(qs,[["__scopeId","data-v-4dc3a9f3"]]),Ys=["innerHTML"],Xs=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),w(K,{class:x({VPNavBarMenuLink:!0,active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ys)]),_:1},8,["class","href","target","rel","no-icon"]))}}),Qs=$(Xs,[["__scopeId","data-v-585d7f08"]]),Zs=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),s=a=>"component"in a?!1:"link"in a?te(t.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),n=T(()=>s(e.item));return(a,l)=>(i(),w(Fe,{class:x({VPNavBarMenuGroup:!0,active:u(te)(u(t).relativePath,a.item.activeMatch,!!a.item.activeMatch)||n.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),ea={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ta=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",ea,[s[0]||(s[0]=c("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Qs,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props),null,16)):(i(),w(Zs,{key:2,item:n},null,8,["item"]))],64))),128))])):k("",!0)}}),na=$(ta,[["__scopeId","data-v-c770cea4"]]);function oa(o){const{localeIndex:e,theme:t}=H();function s(n){var V,A,y;const a=n.split("."),l=(V=t.value.search)==null?void 0:V.options,r=l&&typeof l=="object",d=r&&((y=(A=l.locales)==null?void 0:A[e.value])==null?void 0:y.translations)||null,h=r&&l.translations||null;let _=d,m=h,g=o;const I=a.pop();for(const F of a){let z=null;const Y=g==null?void 0:g[F];Y&&(z=g=Y);const ee=m==null?void 0:m[F];ee&&(z=m=ee);const X=_==null?void 0:_[F];X&&(z=_=X),Y||(g=z),ee||(m=z),X||(_=z)}return(_==null?void 0:_[I])??(m==null?void 0:m[I])??(g==null?void 0:g[I])??""}return s}const sa=["aria-label"],aa={class:"DocSearch-Button-Container"},ra={class:"DocSearch-Button-Placeholder"},Ge=b({__name:"VPNavBarSearchButton",setup(o){const t=oa({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,n)=>(i(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":u(t)("button.buttonAriaLabel")},[c("span",aa,[n[0]||(n[0]=c("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),c("span",ra,C(u(t)("button.buttonText")),1)]),n[1]||(n[1]=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,sa))}}),ia={class:"VPNavBarSearch"},la={id:"local-search"},ua={key:1,id:"docsearch"},ca=b({__name:"VPNavBarSearch",setup(o){const e=Ct(()=>It(()=>import("./VPLocalSearchBox.DRsLDEZW.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=H(),n=N(!1),a=N(!1);q(()=>{});function l(){n.value||(n.value=!0,setTimeout(r,16))}function r(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||r()},16)}function d(m){const g=m.target,I=g.tagName;return g.isContentEditable||I==="INPUT"||I==="SELECT"||I==="TEXTAREA"}const h=N(!1);Le("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Le("/",m=>{d(m)||(m.preventDefault(),h.value=!0)});const _="local";return(m,g)=>{var I;return i(),p("div",ia,[u(_)==="local"?(i(),p(D,{key:0},[h.value?(i(),w(u(e),{key:0,onClose:g[0]||(g[0]=V=>h.value=!1)})):k("",!0),c("div",la,[S(Ge,{onClick:g[1]||(g[1]=V=>h.value=!0)})])],64)):u(_)==="algolia"?(i(),p(D,{key:1},[n.value?(i(),w(u(t),{key:0,algolia:((I=u(s).search)==null?void 0:I.options)??u(s).algolia,onVnodeBeforeMount:g[2]||(g[2]=V=>a.value=!0)},null,8,["algolia"])):k("",!0),a.value?k("",!0):(i(),p("div",ua,[S(Ge,{onClick:l})]))],64)):k("",!0)])}}}),da=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavBarSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),pa=$(da,[["__scopeId","data-v-a6a40077"]]),fa=["href","rel","target"],va=["innerHTML"],ha={key:2},ma=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:s}=J(),{currentLang:n}=le(),a=T(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),r=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,h)=>(i(),p("div",{class:x(["VPNavBarTitle",{"has-sidebar":u(s)}])},[c("a",{class:"title",href:a.value??u(He)(u(n).link),rel:l.value,target:r.value},[f(d.$slots,"nav-bar-title-before",{},void 0,!0),u(t).logo?(i(),w(fe,{key:0,class:"logo",image:u(t).logo},null,8,["image"])):k("",!0),u(t).siteTitle?(i(),p("span",{key:1,innerHTML:u(t).siteTitle},null,8,va)):u(t).siteTitle===void 0?(i(),p("span",ha,C(u(e).title),1)):k("",!0),f(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,fa)],2))}}),_a=$(ma,[["__scopeId","data-v-c02215d3"]]),ga={class:"items"},ba={class:"title"},ka=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:s}=le({correspondingLink:!0});return(n,a)=>u(t).length&&u(s).label?(i(),w(Fe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:u(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",ga,[c("p",ba,C(u(s).label),1),(i(!0),p(D,null,R(u(t),l=>(i(),w(ye,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):k("",!0)}}),ya=$(ka,[["__scopeId","data-v-ea07652c"]]),$a={class:"wrapper"},Sa={class:"container"},wa={class:"title"},Pa={class:"content"},La={class:"content-body"},Va=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=et(),{hasSidebar:s}=J(),{frontmatter:n}=H(),a=N({});return Be(()=>{a.value={"has-sidebar":s.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,r)=>(i(),p("div",{class:x(["VPNavBar",a.value])},[c("div",$a,[c("div",Sa,[c("div",wa,[S(_a,null,{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Pa,[c("div",La,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),S(ca,{class:"search"}),S(na,{class:"menu"}),S(ya,{class:"translations"}),S(ds,{class:"appearance"}),S(pa,{class:"social-links"}),S(Ks,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),S(Js,{class:"hamburger",active:l.isScreenOpen,onClick:r[0]||(r[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),r[1]||(r[1]=c("div",{class:"divider"},[c("div",{class:"divider-line"})],-1))],2))}}),Ta=$(Va,[["__scopeId","data-v-10635b05"]]),Na={key:0,class:"VPNavScreenAppearance"},Ca={class:"text"},Ia=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(s,n)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",Na,[c("p",Ca,C(u(t).darkModeSwitchLabel||"Appearance"),1),S(De)])):k("",!0)}}),Ma=$(Ia,[["__scopeId","data-v-822f5a84"]]),Aa=["innerHTML"],Ea=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Aa)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ba=$(Ea,[["__scopeId","data-v-38d4ac7f"]]),Ha=["innerHTML"],Oa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ha)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),ct=$(Oa,[["__scopeId","data-v-9564870e"]]),Da={class:"VPNavScreenMenuGroupSection"},xa={key:0,class:"title"},Fa=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",Da,[e.text?(i(),p("p",xa,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),w(ct,{key:s.text,item:s},null,8,["item"]))),128))]))}}),Ra=$(Fa,[["__scopeId","data-v-30ecc3d4"]]),ja=["aria-controls","aria-expanded"],za=["innerHTML"],Ua=["id"],Ga={key:0,class:"item"},Ka={key:1,class:"item"},Wa={key:2,class:"group"},qa=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=N(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(a,l)=>(i(),p("div",{class:x(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:n},[c("span",{class:"button-text",innerHTML:a.text},null,8,za),l[0]||(l[0]=c("span",{class:"vpi-plus button-icon"},null,-1))],8,ja),c("div",{id:s.value,class:"items"},[(i(!0),p(D,null,R(a.items,r=>(i(),p(D,{key:JSON.stringify(r)},["link"in r?(i(),p("div",Ga,[S(ct,{item:r},null,8,["item"])])):"component"in r?(i(),p("div",Ka,[(i(),w(G(r.component),Q({ref_for:!0},r.props,{"screen-menu":""}),null,16))])):(i(),p("div",Wa,[S(Ra,{text:r.text,items:r.items},null,8,["text","items"])]))],64))),128))],8,Ua)],2))}}),Ja=$(qa,[["__scopeId","data-v-12a32654"]]),Ya={key:0,class:"VPNavScreenMenu"},Xa=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",Ya,[(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Ba,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(i(),w(Ja,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):k("",!0)}}),Qa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavScreenSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),Za={class:"list"},er=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=le({correspondingLink:!0}),s=N(!1);function n(){s.value=!s.value}return(a,l)=>u(e).length&&u(t).label?(i(),p("div",{key:0,class:x(["VPNavScreenTranslations",{open:s.value}])},[c("button",{class:"title",onClick:n},[l[0]||(l[0]=c("span",{class:"vpi-languages icon lang"},null,-1)),Z(" "+C(u(t).label)+" ",1),l[1]||(l[1]=c("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),c("ul",Za,[(i(!0),p(D,null,R(u(e),r=>(i(),p("li",{key:r.link,class:"item"},[S(K,{class:"link",href:r.link},{default:v(()=>[Z(C(r.text),1)]),_:2},1032,["href"])]))),128))])],2)):k("",!0)}}),tr=$(er,[["__scopeId","data-v-41a49c51"]]),nr={class:"container"},or=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=N(null),t=tt(be?document.body:null);return(s,n)=>(i(),w(Ae,{name:"fade",onEnter:n[0]||(n[0]=a=>t.value=!0),onAfterLeave:n[1]||(n[1]=a=>t.value=!1)},{default:v(()=>[s.open?(i(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",nr,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),S(Xa,{class:"menu"}),S(tr,{class:"translations"}),S(Ma,{class:"appearance"}),S(Qa,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):k("",!0)]),_:3}))}}),sr=$(or,[["__scopeId","data-v-c3b788a1"]]),ar={key:0,class:"VPNav"},rr=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=ts(),{frontmatter:n}=H(),a=T(()=>n.value.navbar!==!1);return nt("close-screen",t),he(()=>{be&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(l,r)=>a.value?(i(),p("header",ar,[S(Ta,{"is-screen-open":u(e),onToggleScreen:u(s)},{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(sr,{open:u(e)},{"nav-screen-content-before":v(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):k("",!0)}}),ir=$(rr,[["__scopeId","data-v-429592cd"]]),lr=["role","tabindex"],ur={key:1,class:"items"},cr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:s,isLink:n,isActiveLink:a,hasActiveLink:l,hasChildren:r,toggle:d}=on(T(()=>e.item)),h=T(()=>r.value?"section":"div"),_=T(()=>n.value?"a":"div"),m=T(()=>r.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),g=T(()=>n.value?void 0:"button"),I=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":n.value},{"is-active":a.value},{"has-active":l.value}]);function V(y){"key"in y&&y.key!=="Enter"||!e.item.link&&d()}function A(){e.item.link&&d()}return(y,F)=>{const z=ne("VPSidebarItem",!0);return i(),w(G(h.value),{class:x(["VPSidebarItem",I.value])},{default:v(()=>[y.item.text?(i(),p("div",Q({key:0,class:"item",role:g.value},Mt(y.item.items?{click:V,keydown:V}:{},!0),{tabindex:y.item.items&&0}),[F[1]||(F[1]=c("div",{class:"indicator"},null,-1)),y.item.link?(i(),w(K,{key:0,tag:_.value,class:"link",href:y.item.link,rel:y.item.rel,target:y.item.target},{default:v(()=>[(i(),w(G(m.value),{class:"text",innerHTML:y.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),w(G(m.value),{key:1,class:"text",innerHTML:y.item.text},null,8,["innerHTML"])),y.item.collapsed!=null&&y.item.items&&y.item.items.length?(i(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:At(A,["enter"]),tabindex:"0"},F[0]||(F[0]=[c("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):k("",!0)],16,lr)):k("",!0),y.item.items&&y.item.items.length?(i(),p("div",ur,[y.depth<5?(i(!0),p(D,{key:0},R(y.item.items,Y=>(i(),w(z,{key:Y.text,item:Y,depth:y.depth+1},null,8,["item","depth"]))),128)):k("",!0)])):k("",!0)]),_:1},8,["class"])}}}),dr=$(cr,[["__scopeId","data-v-b7cfa56a"]]),pr=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=N(!0);let t=null;return q(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Et(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,n)=>(i(!0),p(D,null,R(s.items,a=>(i(),p("div",{key:a.text,class:x(["group",{"no-transition":e.value}])},[S(dr,{item:a,depth:0},null,8,["item"])],2))),128))}}),fr=$(pr,[["__scopeId","data-v-57a8f4ee"]]),vr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},hr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=J(),s=o,n=N(null),a=tt(be?document.body:null);W([s,n],()=>{var r;s.open?(a.value=!0,(r=n.value)==null||r.focus()):a.value=!1},{immediate:!0,flush:"post"});const l=N(0);return W(e,()=>{l.value+=1},{deep:!0}),(r,d)=>u(t)?(i(),p("aside",{key:0,class:x(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=ot(()=>{},["stop"]))},[d[2]||(d[2]=c("div",{class:"curtain"},null,-1)),c("nav",vr,[d[1]||(d[1]=c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(r.$slots,"sidebar-nav-before",{},void 0,!0),(i(),w(fr,{items:u(e),key:l.value},null,8,["items"])),f(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):k("",!0)}}),mr=$(hr,[["__scopeId","data-v-9b68e09e"]]),_r=b({__name:"VPSkipLink",setup(o){const e=_e(),t=N();W(()=>e.path,()=>t.value.focus());function s({target:n}){const a=document.getElementById(decodeURIComponent(n.hash).slice(1));if(a){const l=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",l)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",l),a.focus(),window.scrollTo(0,0)}}return(n,a)=>(i(),p(D,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),gr=$(_r,[["__scopeId","data-v-98f7e91e"]]),br=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:s}=J(),n=_e();W(()=>n.path,s),nn(e,s);const{frontmatter:a}=H(),l=Bt(),r=T(()=>!!l["home-hero-image"]);return nt("hero-image-slot-exists",r),(d,h)=>{const _=ne("Content");return u(a).layout!==!1?(i(),p("div",{key:0,class:x(["Layout",u(a).pageClass])},[f(d.$slots,"layout-top",{},void 0,!0),S(gr),S(zt,{class:"backdrop",show:u(e),onClick:u(s)},null,8,["show","onClick"]),S(ir,null,{"nav-bar-title-before":v(()=>[f(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[f(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S(es,{open:u(e),onOpenMenu:u(t)},null,8,["open","onOpenMenu"]),S(mr,{open:u(e)},{"sidebar-nav-before":v(()=>[f(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[f(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(Do,null,{"page-top":v(()=>[f(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[f(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[f(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[f(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(zo),f(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),w(_,{key:1}))}}}),kr=$(br,[["__scopeId","data-v-23f2dbb5"]]),dt={Layout:kr,enhanceApp:({app:o})=>{o.component("Badge",Ft)}},je="LiteyukiStudio",ze="LiteyukiBot",yr="https://api.github.com",$r="https://git.liteyuki.icu/api/v1",Sr="https://api.liteyuki.icu/online",wr="https://api.liteyuki.icu/count",Pr="https://api.liteyuki.icu/visit",Lr="https://api.liteyuki.icu/visit_count",se=`https://github.com/${je}/${ze}`,Ke="https://starmap.liteyuki.icu";async function Vr(){try{const o=`${$r}/repos/${je}/${ze}`;console.log(o);const t=await(await fetch(o)).json();return{stars:t.stars_count,forks:t.forks_count,watchers:t.watchers_count,issues:0,prs:0,size:t.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function Tr(){try{const e=await(await fetch(`${yr}/repos/${je}/${ze}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function Nr(){const o=await Tr(),e=await Vr();return{stars:o.stars+e.stars,forks:o.forks+e.forks,watchers:o.watchers+e.watchers,issues:o.issues+e.issues,prs:o.prs+e.prs,size:o.size+e.size}}const oe={getTotal:async()=>{try{return(await(await fetch(wr)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(Sr)).json()).online}catch{return-1}},getGithubStats:Nr,getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(Lr)).json()).count}catch{return-1}}};function Cr(){const o="deviceId";let e=localStorage.getItem(o);return e||(e=Mr(),localStorage.setItem(o,e)),e}async function Ir(){const o=Cr();try{await fetch(Pr,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:o}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function Mr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var e=Math.random()*16|0,t=o==="x"?e:e&3|8;return t.toString(16)})}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT diff --git a/assets/deploy_config.md.1_CQ0FbK.js b/assets/deploy_config.md.DXDUh0IQ.js similarity index 98% rename from assets/deploy_config.md.1_CQ0FbK.js rename to assets/deploy_config.md.DXDUh0IQ.js index 8c904dff..b499cb89 100644 --- a/assets/deploy_config.md.1_CQ0FbK.js +++ b/assets/deploy_config.md.DXDUh0IQ.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"配置","description":"","frontmatter":{"title":"配置","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return a(),n("div",null,s[0]||(s[0]=[t(`

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"配置","description":"","frontmatter":{"title":"配置","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
   # Nonebot机器人的配置,6.3.10版本后,NoneBot下配置已迁移至nonebot键下,不再使用外层配置,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/deploy_config.md.1_CQ0FbK.lean.js b/assets/deploy_config.md.DXDUh0IQ.lean.js
similarity index 98%
rename from assets/deploy_config.md.1_CQ0FbK.lean.js
rename to assets/deploy_config.md.DXDUh0IQ.lean.js
index 8c904dff..b499cb89 100644
--- a/assets/deploy_config.md.1_CQ0FbK.lean.js
+++ b/assets/deploy_config.md.DXDUh0IQ.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"配置","description":"","frontmatter":{"title":"配置","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return a(),n("div",null,s[0]||(s[0]=[t(`

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"配置","description":"","frontmatter":{"title":"配置","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
   # Nonebot机器人的配置,6.3.10版本后,NoneBot下配置已迁移至nonebot键下,不再使用外层配置,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/deploy_fandq.md.BPleytoW.js b/assets/deploy_fandq.md.WJVBpMIc.js
similarity index 91%
rename from assets/deploy_fandq.md.BPleytoW.js
rename to assets/deploy_fandq.md.WJVBpMIc.js
index 55fad446..b615042a 100644
--- a/assets/deploy_fandq.md.BPleytoW.js
+++ b/assets/deploy_fandq.md.WJVBpMIc.js
@@ -1,3 +1,3 @@
-import{_ as o,o as t,c as a,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"答疑","description":"","frontmatter":{"title":"答疑","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return t(),a("div",null,e[0]||(e[0]=[l(`

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
+import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"答疑","description":"","frontmatter":{"title":"答疑","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
 加入QQ群[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726)
 
`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default}; diff --git a/assets/deploy_fandq.md.BPleytoW.lean.js b/assets/deploy_fandq.md.WJVBpMIc.lean.js similarity index 91% rename from assets/deploy_fandq.md.BPleytoW.lean.js rename to assets/deploy_fandq.md.WJVBpMIc.lean.js index 55fad446..b615042a 100644 --- a/assets/deploy_fandq.md.BPleytoW.lean.js +++ b/assets/deploy_fandq.md.WJVBpMIc.lean.js @@ -1,3 +1,3 @@ -import{_ as o,o as t,c as a,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"答疑","description":"","frontmatter":{"title":"答疑","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return t(),a("div",null,e[0]||(e[0]=[l(`

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
+import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"答疑","description":"","frontmatter":{"title":"答疑","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
 加入QQ群[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726)
 
`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default}; diff --git a/assets/deploy_install.md.Sk9eehU9.js b/assets/deploy_install.md.xQ7_cYmn.js similarity index 97% rename from assets/deploy_install.md.Sk9eehU9.js rename to assets/deploy_install.md.xQ7_cYmn.js index d5e40fb8..19f8ae34 100644 --- a/assets/deploy_install.md.Sk9eehU9.js +++ b/assets/deploy_install.md.xQ7_cYmn.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"安装","description":"","frontmatter":{"title":"安装","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return a(),t("div",null,s[0]||(s[0]=[n(`

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"安装","description":"","frontmatter":{"title":"安装","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 # 若你不能访问Github,可以使用Liteyuki镜像:https://git.liteyuki.icu/bot/app
 
 # 切换到Bot目录下
diff --git a/assets/deploy_install.md.Sk9eehU9.lean.js b/assets/deploy_install.md.xQ7_cYmn.lean.js
similarity index 97%
rename from assets/deploy_install.md.Sk9eehU9.lean.js
rename to assets/deploy_install.md.xQ7_cYmn.lean.js
index d5e40fb8..19f8ae34 100644
--- a/assets/deploy_install.md.Sk9eehU9.lean.js
+++ b/assets/deploy_install.md.xQ7_cYmn.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"安装","description":"","frontmatter":{"title":"安装","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return a(),t("div",null,s[0]||(s[0]=[n(`

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"安装","description":"","frontmatter":{"title":"安装","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 # 若你不能访问Github,可以使用Liteyuki镜像:https://git.liteyuki.icu/bot/app
 
 # 切换到Bot目录下
diff --git a/assets/dev_api_bot_index.md.Bi674fgO.js b/assets/dev_api_bot_index.md.BBSYa412.js
similarity index 99%
rename from assets/dev_api_bot_index.md.Bi674fgO.js
rename to assets/dev_api_bot_index.md.BBSYa412.js
index 254c1abb..86c779c3 100644
--- a/assets/dev_api_bot_index.md.Bi674fgO.js
+++ b/assets/dev_api_bot_index.md.BBSYa412.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),e={name:"dev/api/bot/index.md"};function l(h,s,p,k,r,o){return a(),t("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),e={name:"dev/api/bot/index.md"};function l(h,s,p,k,r,o){return n(),a("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
diff --git a/assets/dev_api_bot_index.md.Bi674fgO.lean.js b/assets/dev_api_bot_index.md.BBSYa412.lean.js
similarity index 99%
rename from assets/dev_api_bot_index.md.Bi674fgO.lean.js
rename to assets/dev_api_bot_index.md.BBSYa412.lean.js
index 254c1abb..86c779c3 100644
--- a/assets/dev_api_bot_index.md.Bi674fgO.lean.js
+++ b/assets/dev_api_bot_index.md.BBSYa412.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),e={name:"dev/api/bot/index.md"};function l(h,s,p,k,r,o){return a(),t("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),e={name:"dev/api/bot/index.md"};function l(h,s,p,k,r,o){return n(),a("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
diff --git a/assets/dev_api_bot_lifespan.md.2zK906gE.lean.js b/assets/dev_api_bot_lifespan.md.DIiUoNQr.js
similarity index 99%
rename from assets/dev_api_bot_lifespan.md.2zK906gE.lean.js
rename to assets/dev_api_bot_lifespan.md.DIiUoNQr.js
index de6b04ba..7c7a77f7 100644
--- a/assets/dev_api_bot_lifespan.md.2zK906gE.lean.js
+++ b/assets/dev_api_bot_lifespan.md.DIiUoNQr.js
@@ -1 +1 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),e={name:"dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return a(),n("div",null,s[0]||(s[0]=[t('

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(e,[["render",l]]);export{d as __pageData,g as default}; +import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),e={name:"dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return t(),a("div",null,s[0]||(s[0]=[n('

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(e,[["render",l]]);export{d as __pageData,g as default}; diff --git a/assets/dev_api_bot_lifespan.md.2zK906gE.js b/assets/dev_api_bot_lifespan.md.DIiUoNQr.lean.js similarity index 99% rename from assets/dev_api_bot_lifespan.md.2zK906gE.js rename to assets/dev_api_bot_lifespan.md.DIiUoNQr.lean.js index de6b04ba..7c7a77f7 100644 --- a/assets/dev_api_bot_lifespan.md.2zK906gE.js +++ b/assets/dev_api_bot_lifespan.md.DIiUoNQr.lean.js @@ -1 +1 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),e={name:"dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return a(),n("div",null,s[0]||(s[0]=[t('

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(e,[["render",l]]);export{d as __pageData,g as default}; +import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),e={name:"dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return t(),a("div",null,s[0]||(s[0]=[n('

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(e,[["render",l]]);export{d as __pageData,g as default}; diff --git a/assets/dev_api_comm_channel.md.2kL837ew.js b/assets/dev_api_comm_channel.md.DfvNcb-v.js similarity index 99% rename from assets/dev_api_comm_channel.md.2kL837ew.js rename to assets/dev_api_comm_channel.md.DfvNcb-v.js index cc0b7bcc..3ef9986c 100644 --- a/assets/dev_api_comm_channel.md.2kL837ew.js +++ b/assets/dev_api_comm_channel.md.DfvNcb-v.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"};function t(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"};function t(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
diff --git a/assets/dev_api_comm_channel.md.2kL837ew.lean.js b/assets/dev_api_comm_channel.md.DfvNcb-v.lean.js
similarity index 99%
rename from assets/dev_api_comm_channel.md.2kL837ew.lean.js
rename to assets/dev_api_comm_channel.md.DfvNcb-v.lean.js
index cc0b7bcc..3ef9986c 100644
--- a/assets/dev_api_comm_channel.md.2kL837ew.lean.js
+++ b/assets/dev_api_comm_channel.md.DfvNcb-v.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"};function t(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"};function t(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
diff --git a/assets/dev_api_comm_event.md.BU5q7K5I.js b/assets/dev_api_comm_event.md.D22ZPMRO.js
similarity index 91%
rename from assets/dev_api_comm_event.md.BU5q7K5I.js
rename to assets/dev_api_comm_event.md.D22ZPMRO.js
index 6269324e..6d5d782b 100644
--- a/assets/dev_api_comm_event.md.BU5q7K5I.js
+++ b/assets/dev_api_comm_event.md.D22ZPMRO.js
@@ -1 +1 @@
-import{_ as s,o as t,c as i,a7 as e}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"dev/api/comm/event.md","filePath":"zh/dev/api/comm/event.md","lastUpdated":null}'),n={name:"dev/api/comm/event.md"};function l(h,a,r,d,p,o){return t(),i("div",null,a[0]||(a[0]=[e('

模块 liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

源代码在GitHub上查看
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=s(n,[["render",l]]);export{c as __pageData,m as default}; +import{_ as s,c as t,a7 as i,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"dev/api/comm/event.md","filePath":"zh/dev/api/comm/event.md","lastUpdated":null}'),n={name:"dev/api/comm/event.md"};function l(h,a,r,d,p,o){return e(),t("div",null,a[0]||(a[0]=[i('

模块 liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

源代码在GitHub上查看
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=s(n,[["render",l]]);export{c as __pageData,m as default}; diff --git a/assets/dev_api_comm_event.md.BU5q7K5I.lean.js b/assets/dev_api_comm_event.md.D22ZPMRO.lean.js similarity index 91% rename from assets/dev_api_comm_event.md.BU5q7K5I.lean.js rename to assets/dev_api_comm_event.md.D22ZPMRO.lean.js index 6269324e..6d5d782b 100644 --- a/assets/dev_api_comm_event.md.BU5q7K5I.lean.js +++ b/assets/dev_api_comm_event.md.D22ZPMRO.lean.js @@ -1 +1 @@ -import{_ as s,o as t,c as i,a7 as e}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"dev/api/comm/event.md","filePath":"zh/dev/api/comm/event.md","lastUpdated":null}'),n={name:"dev/api/comm/event.md"};function l(h,a,r,d,p,o){return t(),i("div",null,a[0]||(a[0]=[e('

模块 liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

源代码在GitHub上查看
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=s(n,[["render",l]]);export{c as __pageData,m as default}; +import{_ as s,c as t,a7 as i,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"dev/api/comm/event.md","filePath":"zh/dev/api/comm/event.md","lastUpdated":null}'),n={name:"dev/api/comm/event.md"};function l(h,a,r,d,p,o){return e(),t("div",null,a[0]||(a[0]=[i('

模块 liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

源代码在GitHub上查看
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=s(n,[["render",l]]);export{c as __pageData,m as default}; diff --git a/assets/dev_api_comm_index.md.BQ4CZLqP.js b/assets/dev_api_comm_index.md.4xQqkPaL.js similarity index 77% rename from assets/dev_api_comm_index.md.BQ4CZLqP.js rename to assets/dev_api_comm_index.md.4xQqkPaL.js index c67f14bb..e5acf569 100644 --- a/assets/dev_api_comm_index.md.BQ4CZLqP.js +++ b/assets/dev_api_comm_index.md.4xQqkPaL.js @@ -1 +1 @@ -import{_ as o,o as i,c as n,j as e,a}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"dev/api/comm/index.md","filePath":"zh/dev/api/comm/index.md","lastUpdated":null}'),l={name:"dev/api/comm/index.md"};function r(c,t,m,d,s,p){return i(),n("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-comm",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-comm","aria-label":'Permalink to "**模块** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(l,[["render",r]]);export{_ as __pageData,f as default}; +import{_ as o,c as i,j as e,a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"dev/api/comm/index.md","filePath":"zh/dev/api/comm/index.md","lastUpdated":null}'),l={name:"dev/api/comm/index.md"};function r(c,t,m,d,s,p){return n(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-comm",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-comm","aria-label":'Permalink to "**模块** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(l,[["render",r]]);export{_ as __pageData,f as default}; diff --git a/assets/dev_api_comm_index.md.BQ4CZLqP.lean.js b/assets/dev_api_comm_index.md.4xQqkPaL.lean.js similarity index 77% rename from assets/dev_api_comm_index.md.BQ4CZLqP.lean.js rename to assets/dev_api_comm_index.md.4xQqkPaL.lean.js index c67f14bb..e5acf569 100644 --- a/assets/dev_api_comm_index.md.BQ4CZLqP.lean.js +++ b/assets/dev_api_comm_index.md.4xQqkPaL.lean.js @@ -1 +1 @@ -import{_ as o,o as i,c as n,j as e,a}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"dev/api/comm/index.md","filePath":"zh/dev/api/comm/index.md","lastUpdated":null}'),l={name:"dev/api/comm/index.md"};function r(c,t,m,d,s,p){return i(),n("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-comm",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-comm","aria-label":'Permalink to "**模块** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(l,[["render",r]]);export{_ as __pageData,f as default}; +import{_ as o,c as i,j as e,a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"dev/api/comm/index.md","filePath":"zh/dev/api/comm/index.md","lastUpdated":null}'),l={name:"dev/api/comm/index.md"};function r(c,t,m,d,s,p){return n(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-comm",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-comm","aria-label":'Permalink to "**模块** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(l,[["render",r]]);export{_ as __pageData,f as default}; diff --git a/assets/dev_api_comm_storage.md.DqJ8aVqB.js b/assets/dev_api_comm_storage.md.BQi3vT-6.js similarity index 99% rename from assets/dev_api_comm_storage.md.DqJ8aVqB.js rename to assets/dev_api_comm_storage.md.BQi3vT-6.js index 913bd45d..6750d4c3 100644 --- a/assets/dev_api_comm_storage.md.DqJ8aVqB.js +++ b/assets/dev_api_comm_storage.md.BQi3vT-6.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),e={name:"dev/api/comm/storage.md"};function h(l,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),e={name:"dev/api/comm/storage.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
diff --git a/assets/dev_api_comm_storage.md.DqJ8aVqB.lean.js b/assets/dev_api_comm_storage.md.BQi3vT-6.lean.js
similarity index 99%
rename from assets/dev_api_comm_storage.md.DqJ8aVqB.lean.js
rename to assets/dev_api_comm_storage.md.BQi3vT-6.lean.js
index 913bd45d..6750d4c3 100644
--- a/assets/dev_api_comm_storage.md.DqJ8aVqB.lean.js
+++ b/assets/dev_api_comm_storage.md.BQi3vT-6.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),e={name:"dev/api/comm/storage.md"};function h(l,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),e={name:"dev/api/comm/storage.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
diff --git a/assets/dev_api_config.md.BF9ZWJMD.js b/assets/dev_api_config.md.DakK5wgv.js
similarity index 99%
rename from assets/dev_api_config.md.BF9ZWJMD.js
rename to assets/dev_api_config.md.DakK5wgv.js
index 540f1015..1a0dce21 100644
--- a/assets/dev_api_config.md.BF9ZWJMD.js
+++ b/assets/dev_api_config.md.DakK5wgv.js
@@ -1,4 +1,4 @@
-import{_ as a,o as n,c as t,a7 as s,j as h}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"};function k(p,i,e,r,d,g){return n(),t("div",null,i[0]||(i[0]=[s('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',6),h("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+import{_ as a,c as n,a7 as s,j as t,o as h}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"};function k(p,i,e,r,d,g){return h(),n("div",null,i[0]||(i[0]=[s('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',6),t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
diff --git a/assets/dev_api_config.md.BF9ZWJMD.lean.js b/assets/dev_api_config.md.DakK5wgv.lean.js
similarity index 99%
rename from assets/dev_api_config.md.BF9ZWJMD.lean.js
rename to assets/dev_api_config.md.DakK5wgv.lean.js
index 540f1015..1a0dce21 100644
--- a/assets/dev_api_config.md.BF9ZWJMD.lean.js
+++ b/assets/dev_api_config.md.DakK5wgv.lean.js
@@ -1,4 +1,4 @@
-import{_ as a,o as n,c as t,a7 as s,j as h}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"};function k(p,i,e,r,d,g){return n(),t("div",null,i[0]||(i[0]=[s('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',6),h("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+import{_ as a,c as n,a7 as s,j as t,o as h}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"};function k(p,i,e,r,d,g){return h(),n("div",null,i[0]||(i[0]=[s('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',6),t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
diff --git a/assets/dev_api_core_index.md.C7-mYcFb.js b/assets/dev_api_core_index.md.C7-mYcFb.js
deleted file mode 100644
index 5d4646d4..00000000
--- a/assets/dev_api_core_index.md.C7-mYcFb.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as r,o as i,c as o,j as e,a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"dev/api/core/index.md","filePath":"zh/dev/api/core/index.md","lastUpdated":null}'),l={name:"dev/api/core/index.md"};function n(c,t,d,s,p,u){return i(),o("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-core",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-core","aria-label":'Permalink to "**模块** `liteyuki.core`"'},"​")],-1)]))}const k=r(l,[["render",n]]);export{f as __pageData,k as default};
diff --git a/assets/dev_api_core_index.md.C7-mYcFb.lean.js b/assets/dev_api_core_index.md.C7-mYcFb.lean.js
deleted file mode 100644
index 5d4646d4..00000000
--- a/assets/dev_api_core_index.md.C7-mYcFb.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as r,o as i,c as o,j as e,a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"dev/api/core/index.md","filePath":"zh/dev/api/core/index.md","lastUpdated":null}'),l={name:"dev/api/core/index.md"};function n(c,t,d,s,p,u){return i(),o("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-core",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-core","aria-label":'Permalink to "**模块** `liteyuki.core`"'},"​")],-1)]))}const k=r(l,[["render",n]]);export{f as __pageData,k as default};
diff --git a/assets/dev_api_core_index.md.DDI0LXZQ.js b/assets/dev_api_core_index.md.DDI0LXZQ.js
new file mode 100644
index 00000000..6242cb79
--- /dev/null
+++ b/assets/dev_api_core_index.md.DDI0LXZQ.js
@@ -0,0 +1 @@
+import{_ as r,c as i,j as e,a,o}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"dev/api/core/index.md","filePath":"zh/dev/api/core/index.md","lastUpdated":null}'),l={name:"dev/api/core/index.md"};function n(c,t,d,s,p,u){return o(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-core",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-core","aria-label":'Permalink to "**模块** `liteyuki.core`"'},"​")],-1)]))}const k=r(l,[["render",n]]);export{f as __pageData,k as default};
diff --git a/assets/dev_api_core_index.md.DDI0LXZQ.lean.js b/assets/dev_api_core_index.md.DDI0LXZQ.lean.js
new file mode 100644
index 00000000..6242cb79
--- /dev/null
+++ b/assets/dev_api_core_index.md.DDI0LXZQ.lean.js
@@ -0,0 +1 @@
+import{_ as r,c as i,j as e,a,o}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"dev/api/core/index.md","filePath":"zh/dev/api/core/index.md","lastUpdated":null}'),l={name:"dev/api/core/index.md"};function n(c,t,d,s,p,u){return o(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-core",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-core","aria-label":'Permalink to "**模块** `liteyuki.core`"'},"​")],-1)]))}const k=r(l,[["render",n]]);export{f as __pageData,k as default};
diff --git a/assets/dev_api_core_manager.md.D-46Ej1L.js b/assets/dev_api_core_manager.md.mhcXWvCp.js
similarity index 99%
rename from assets/dev_api_core_manager.md.D-46Ej1L.js
rename to assets/dev_api_core_manager.md.mhcXWvCp.js
index bfdcf7ff..060b404f 100644
--- a/assets/dev_api_core_manager.md.D-46Ej1L.js
+++ b/assets/dev_api_core_manager.md.mhcXWvCp.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),t={name:"dev/api/core/manager.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),t={name:"dev/api/core/manager.md"};function l(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
diff --git a/assets/dev_api_core_manager.md.D-46Ej1L.lean.js b/assets/dev_api_core_manager.md.mhcXWvCp.lean.js
similarity index 99%
rename from assets/dev_api_core_manager.md.D-46Ej1L.lean.js
rename to assets/dev_api_core_manager.md.mhcXWvCp.lean.js
index bfdcf7ff..060b404f 100644
--- a/assets/dev_api_core_manager.md.D-46Ej1L.lean.js
+++ b/assets/dev_api_core_manager.md.mhcXWvCp.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),t={name:"dev/api/core/manager.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),t={name:"dev/api/core/manager.md"};function l(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
diff --git a/assets/dev_api_dev_index.md.C-Z4jV0w.js b/assets/dev_api_dev_index.md.CsugCBSr.js
similarity index 74%
rename from assets/dev_api_dev_index.md.C-Z4jV0w.js
rename to assets/dev_api_dev_index.md.CsugCBSr.js
index 8369449f..9e224b52 100644
--- a/assets/dev_api_dev_index.md.C-Z4jV0w.js
+++ b/assets/dev_api_dev_index.md.CsugCBSr.js
@@ -1 +1 @@
-import{_ as d,o as i,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"dev/api/dev/index.md","filePath":"zh/dev/api/dev/index.md","lastUpdated":null}'),n={name:"dev/api/dev/index.md"};function r(o,t,s,c,p,u){return i(),l("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-dev",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-dev","aria-label":'Permalink to "**模块** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",r]]);export{m as __pageData,f as default};
+import{_ as d,c as i,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"dev/api/dev/index.md","filePath":"zh/dev/api/dev/index.md","lastUpdated":null}'),n={name:"dev/api/dev/index.md"};function r(o,t,s,c,p,u){return l(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-dev",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-dev","aria-label":'Permalink to "**模块** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",r]]);export{m as __pageData,f as default};
diff --git a/assets/dev_api_dev_index.md.C-Z4jV0w.lean.js b/assets/dev_api_dev_index.md.CsugCBSr.lean.js
similarity index 74%
rename from assets/dev_api_dev_index.md.C-Z4jV0w.lean.js
rename to assets/dev_api_dev_index.md.CsugCBSr.lean.js
index 8369449f..9e224b52 100644
--- a/assets/dev_api_dev_index.md.C-Z4jV0w.lean.js
+++ b/assets/dev_api_dev_index.md.CsugCBSr.lean.js
@@ -1 +1 @@
-import{_ as d,o as i,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"dev/api/dev/index.md","filePath":"zh/dev/api/dev/index.md","lastUpdated":null}'),n={name:"dev/api/dev/index.md"};function r(o,t,s,c,p,u){return i(),l("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-dev",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-dev","aria-label":'Permalink to "**模块** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",r]]);export{m as __pageData,f as default};
+import{_ as d,c as i,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"dev/api/dev/index.md","filePath":"zh/dev/api/dev/index.md","lastUpdated":null}'),n={name:"dev/api/dev/index.md"};function r(o,t,s,c,p,u){return l(),i("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-dev",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-dev","aria-label":'Permalink to "**模块** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",r]]);export{m as __pageData,f as default};
diff --git a/assets/dev_api_dev_observer.md.C8n3KGB-.js b/assets/dev_api_dev_observer.md.CynjhkUR.js
similarity index 98%
rename from assets/dev_api_dev_observer.md.C8n3KGB-.js
rename to assets/dev_api_dev_observer.md.CynjhkUR.js
index bb3584d5..bed1b8a1 100644
--- a/assets/dev_api_dev_observer.md.C8n3KGB-.js
+++ b/assets/dev_api_dev_observer.md.CynjhkUR.js
@@ -1,4 +1,4 @@
-import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),t={name:"dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
+import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),t={name:"dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return n(),e("div",null,s[0]||(s[0]=[a(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
 
     def decorator(func):
 
diff --git a/assets/dev_api_dev_observer.md.C8n3KGB-.lean.js b/assets/dev_api_dev_observer.md.CynjhkUR.lean.js
similarity index 98%
rename from assets/dev_api_dev_observer.md.C8n3KGB-.lean.js
rename to assets/dev_api_dev_observer.md.CynjhkUR.lean.js
index bb3584d5..bed1b8a1 100644
--- a/assets/dev_api_dev_observer.md.C8n3KGB-.lean.js
+++ b/assets/dev_api_dev_observer.md.CynjhkUR.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),t={name:"dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return e(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
+import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),t={name:"dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return n(),e("div",null,s[0]||(s[0]=[a(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
 
     def decorator(func):
 
diff --git a/assets/dev_api_dev_plugin.md.kuS0l6X3.js b/assets/dev_api_dev_plugin.md.DDM2McYa.js
similarity index 93%
rename from assets/dev_api_dev_plugin.md.kuS0l6X3.js
rename to assets/dev_api_dev_plugin.md.DDM2McYa.js
index 79864b16..cd1ab524 100644
--- a/assets/dev_api_dev_plugin.md.kuS0l6X3.js
+++ b/assets/dev_api_dev_plugin.md.DDM2McYa.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),l={name:"dev/api/dev/plugin.md"};function e(p,i,h,k,r,d){return a(),t("div",null,i[0]||(i[0]=[n(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
+import{_ as s,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),l={name:"dev/api/dev/plugin.md"};function e(p,i,h,k,r,d){return n(),a("div",null,i[0]||(i[0]=[t(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
diff --git a/assets/dev_api_dev_plugin.md.kuS0l6X3.lean.js b/assets/dev_api_dev_plugin.md.DDM2McYa.lean.js
similarity index 93%
rename from assets/dev_api_dev_plugin.md.kuS0l6X3.lean.js
rename to assets/dev_api_dev_plugin.md.DDM2McYa.lean.js
index 79864b16..cd1ab524 100644
--- a/assets/dev_api_dev_plugin.md.kuS0l6X3.lean.js
+++ b/assets/dev_api_dev_plugin.md.DDM2McYa.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),l={name:"dev/api/dev/plugin.md"};function e(p,i,h,k,r,d){return a(),t("div",null,i[0]||(i[0]=[n(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
+import{_ as s,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),l={name:"dev/api/dev/plugin.md"};function e(p,i,h,k,r,d){return n(),a("div",null,i[0]||(i[0]=[t(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
diff --git a/assets/dev_api_exception.md.B1ZNvi-7.js b/assets/dev_api_exception.md.B1ZNvi-7.js
deleted file mode 100644
index b0006e27..00000000
--- a/assets/dev_api_exception.md.B1ZNvi-7.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,o as i,c as a,a7 as o}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"dev/api/exception.md","filePath":"zh/dev/api/exception.md","lastUpdated":null}'),n={name:"dev/api/exception.md"};function c(s,e,p,l,r,d){return i(),a("div",null,e[0]||(e[0]=[o('

模块 liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{u as __pageData,k as default}; diff --git a/assets/dev_api_exception.md.B1ZNvi-7.lean.js b/assets/dev_api_exception.md.B1ZNvi-7.lean.js deleted file mode 100644 index b0006e27..00000000 --- a/assets/dev_api_exception.md.B1ZNvi-7.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,o as i,c as a,a7 as o}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"dev/api/exception.md","filePath":"zh/dev/api/exception.md","lastUpdated":null}'),n={name:"dev/api/exception.md"};function c(s,e,p,l,r,d){return i(),a("div",null,e[0]||(e[0]=[o('

模块 liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{u as __pageData,k as default}; diff --git a/assets/dev_api_exception.md.DOgHxE0z.js b/assets/dev_api_exception.md.DOgHxE0z.js new file mode 100644 index 00000000..b78ba4d3 --- /dev/null +++ b/assets/dev_api_exception.md.DOgHxE0z.js @@ -0,0 +1 @@ +import{_ as t,c as i,a7 as a,o}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"dev/api/exception.md","filePath":"zh/dev/api/exception.md","lastUpdated":null}'),n={name:"dev/api/exception.md"};function c(s,e,p,l,r,d){return o(),i("div",null,e[0]||(e[0]=[a('

模块 liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{u as __pageData,k as default}; diff --git a/assets/dev_api_exception.md.DOgHxE0z.lean.js b/assets/dev_api_exception.md.DOgHxE0z.lean.js new file mode 100644 index 00000000..b78ba4d3 --- /dev/null +++ b/assets/dev_api_exception.md.DOgHxE0z.lean.js @@ -0,0 +1 @@ +import{_ as t,c as i,a7 as a,o}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"dev/api/exception.md","filePath":"zh/dev/api/exception.md","lastUpdated":null}'),n={name:"dev/api/exception.md"};function c(s,e,p,l,r,d){return o(),i("div",null,e[0]||(e[0]=[a('

模块 liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{u as __pageData,k as default}; diff --git a/assets/dev_api_index.md.DCSHyQNH.js b/assets/dev_api_index.md.D52Y-HJX.js similarity index 76% rename from assets/dev_api_index.md.DCSHyQNH.js rename to assets/dev_api_index.md.D52Y-HJX.js index bf60ee85..1fbaa906 100644 --- a/assets/dev_api_index.md.DCSHyQNH.js +++ b/assets/dev_api_index.md.D52Y-HJX.js @@ -1 +1 @@ -import{_ as t,o as a,c as i,a7 as r}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"dev/api/index.md","filePath":"zh/dev/api/index.md","lastUpdated":null}'),o={name:"dev/api/index.md"};function l(n,e,d,s,c,p){return a(),i("div",null,e[0]||(e[0]=[r('

模块 liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • 说明: 测试版本号

  • 默认值: '6.3.10'

',5)]))}const h=t(o,[["render",l]]);export{_ as __pageData,h as default}; +import{_ as t,c as a,a7 as i,o as r}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"dev/api/index.md","filePath":"zh/dev/api/index.md","lastUpdated":null}'),o={name:"dev/api/index.md"};function l(n,e,d,s,c,p){return r(),a("div",null,e[0]||(e[0]=[i('

模块 liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • 说明: 测试版本号

  • 默认值: '6.3.10'

',5)]))}const h=t(o,[["render",l]]);export{_ as __pageData,h as default}; diff --git a/assets/dev_api_index.md.DCSHyQNH.lean.js b/assets/dev_api_index.md.D52Y-HJX.lean.js similarity index 76% rename from assets/dev_api_index.md.DCSHyQNH.lean.js rename to assets/dev_api_index.md.D52Y-HJX.lean.js index bf60ee85..1fbaa906 100644 --- a/assets/dev_api_index.md.DCSHyQNH.lean.js +++ b/assets/dev_api_index.md.D52Y-HJX.lean.js @@ -1 +1 @@ -import{_ as t,o as a,c as i,a7 as r}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"dev/api/index.md","filePath":"zh/dev/api/index.md","lastUpdated":null}'),o={name:"dev/api/index.md"};function l(n,e,d,s,c,p){return a(),i("div",null,e[0]||(e[0]=[r('

模块 liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • 说明: 测试版本号

  • 默认值: '6.3.10'

',5)]))}const h=t(o,[["render",l]]);export{_ as __pageData,h as default}; +import{_ as t,c as a,a7 as i,o as r}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"dev/api/index.md","filePath":"zh/dev/api/index.md","lastUpdated":null}'),o={name:"dev/api/index.md"};function l(n,e,d,s,c,p){return r(),a("div",null,e[0]||(e[0]=[i('

模块 liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • 说明: 测试版本号

  • 默认值: '6.3.10'

',5)]))}const h=t(o,[["render",l]]);export{_ as __pageData,h as default}; diff --git a/assets/dev_api_log.md.Cht1l-z0.js b/assets/dev_api_log.md.BybOhf50.js similarity index 98% rename from assets/dev_api_log.md.Cht1l-z0.js rename to assets/dev_api_log.md.BybOhf50.js index 921ef0ff..a4a1cb86 100644 --- a/assets/dev_api_log.md.Cht1l-z0.js +++ b/assets/dev_api_log.md.BybOhf50.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as h,a7 as k}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"dev/api/log.md","filePath":"zh/dev/api/log.md","lastUpdated":null}'),l={name:"dev/api/log.md"};function t(n,s,p,e,E,r){return a(),h("div",null,s[0]||(s[0]=[k(`

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
+import{_ as i,c as a,a7 as h,o as k}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"dev/api/log.md","filePath":"zh/dev/api/log.md","lastUpdated":null}'),l={name:"dev/api/log.md"};function t(n,s,p,e,E,r){return k(),a("div",null,s[0]||(s[0]=[h(`

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
diff --git a/assets/dev_api_log.md.Cht1l-z0.lean.js b/assets/dev_api_log.md.BybOhf50.lean.js
similarity index 98%
rename from assets/dev_api_log.md.Cht1l-z0.lean.js
rename to assets/dev_api_log.md.BybOhf50.lean.js
index 921ef0ff..a4a1cb86 100644
--- a/assets/dev_api_log.md.Cht1l-z0.lean.js
+++ b/assets/dev_api_log.md.BybOhf50.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as h,a7 as k}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"dev/api/log.md","filePath":"zh/dev/api/log.md","lastUpdated":null}'),l={name:"dev/api/log.md"};function t(n,s,p,e,E,r){return a(),h("div",null,s[0]||(s[0]=[k(`

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
+import{_ as i,c as a,a7 as h,o as k}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"dev/api/log.md","filePath":"zh/dev/api/log.md","lastUpdated":null}'),l={name:"dev/api/log.md"};function t(n,s,p,e,E,r){return k(),a("div",null,s[0]||(s[0]=[h(`

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
diff --git a/assets/dev_api_plugin_index.md.Ob9cT1Tw.js b/assets/dev_api_plugin_index.md.DZxV6Tb_.js
similarity index 88%
rename from assets/dev_api_plugin_index.md.Ob9cT1Tw.js
rename to assets/dev_api_plugin_index.md.DZxV6Tb_.js
index 2f10a63a..52b80a76 100644
--- a/assets/dev_api_plugin_index.md.Ob9cT1Tw.js
+++ b/assets/dev_api_plugin_index.md.DZxV6Tb_.js
@@ -1 +1 @@
-import{_ as t,o as e,c as s,a7 as a}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"};function l(p,i,d,r,o,u){return e(),s("div",null,i[0]||(i[0]=[a('

模块 liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const c=t(n,[["render",l]]);export{h as __pageData,c as default}; +import{_ as t,c as e,a7 as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"};function l(p,i,d,r,o,u){return a(),e("div",null,i[0]||(i[0]=[s('

模块 liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const c=t(n,[["render",l]]);export{h as __pageData,c as default}; diff --git a/assets/dev_api_plugin_index.md.Ob9cT1Tw.lean.js b/assets/dev_api_plugin_index.md.DZxV6Tb_.lean.js similarity index 88% rename from assets/dev_api_plugin_index.md.Ob9cT1Tw.lean.js rename to assets/dev_api_plugin_index.md.DZxV6Tb_.lean.js index 2f10a63a..52b80a76 100644 --- a/assets/dev_api_plugin_index.md.Ob9cT1Tw.lean.js +++ b/assets/dev_api_plugin_index.md.DZxV6Tb_.lean.js @@ -1 +1 @@ -import{_ as t,o as e,c as s,a7 as a}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"};function l(p,i,d,r,o,u){return e(),s("div",null,i[0]||(i[0]=[a('

模块 liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const c=t(n,[["render",l]]);export{h as __pageData,c as default}; +import{_ as t,c as e,a7 as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"};function l(p,i,d,r,o,u){return a(),e("div",null,i[0]||(i[0]=[s('

模块 liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const c=t(n,[["render",l]]);export{h as __pageData,c as default}; diff --git a/assets/dev_api_plugin_load.md.B8TUs35a.js b/assets/dev_api_plugin_load.md.CoagWwmx.js similarity index 99% rename from assets/dev_api_plugin_load.md.B8TUs35a.js rename to assets/dev_api_plugin_load.md.CoagWwmx.js index fb8d2d37..e400e304 100644 --- a/assets/dev_api_plugin_load.md.B8TUs35a.js +++ b/assets/dev_api_plugin_load.md.CoagWwmx.js @@ -1,4 +1,4 @@ -import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),d={name:"dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=k("y");return t(),p("div",null,[s[3]||(s[3]=i(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+import{_ as l,c as k,a7 as i,j as a,a as n,G as t,w as p,B as e,o as E}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),d={name:"dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=e("y");return E(),k("div",null,[s[3]||(s[3]=i(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -48,7 +48,7 @@ import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./ch
                 load_plugin(module_name)
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
-    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"返回",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),e(h,null,{default:E(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
+    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"返回",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),t(h,null,{default:p(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
diff --git a/assets/dev_api_plugin_load.md.B8TUs35a.lean.js b/assets/dev_api_plugin_load.md.CoagWwmx.lean.js
similarity index 99%
rename from assets/dev_api_plugin_load.md.B8TUs35a.lean.js
rename to assets/dev_api_plugin_load.md.CoagWwmx.lean.js
index fb8d2d37..e400e304 100644
--- a/assets/dev_api_plugin_load.md.B8TUs35a.lean.js
+++ b/assets/dev_api_plugin_load.md.CoagWwmx.lean.js
@@ -1,4 +1,4 @@
-import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),d={name:"dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=k("y");return t(),p("div",null,[s[3]||(s[3]=i(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+import{_ as l,c as k,a7 as i,j as a,a as n,G as t,w as p,B as e,o as E}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),d={name:"dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=e("y");return E(),k("div",null,[s[3]||(s[3]=i(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -48,7 +48,7 @@ import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./ch
                 load_plugin(module_name)
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
-    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"返回",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),e(h,null,{default:E(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
+    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"返回",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),t(h,null,{default:p(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
diff --git a/assets/dev_api_plugin_manager.md.CV_EY-n_.js b/assets/dev_api_plugin_manager.md.CnP65Tni.js
similarity index 82%
rename from assets/dev_api_plugin_manager.md.CV_EY-n_.js
rename to assets/dev_api_plugin_manager.md.CnP65Tni.js
index 64f292e5..626226e5 100644
--- a/assets/dev_api_plugin_manager.md.CV_EY-n_.js
+++ b/assets/dev_api_plugin_manager.md.CnP65Tni.js
@@ -1 +1 @@
-import{_ as i,o as n,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"dev/api/plugin/manager.md","filePath":"zh/dev/api/plugin/manager.md","lastUpdated":null}'),r={name:"dev/api/plugin/manager.md"};function o(m,t,u,p,s,g){return n(),l("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugin-manager","aria-label":'Permalink to "**模块** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=i(r,[["render",o]]);export{c as __pageData,k as default};
+import{_ as i,c as n,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"dev/api/plugin/manager.md","filePath":"zh/dev/api/plugin/manager.md","lastUpdated":null}'),r={name:"dev/api/plugin/manager.md"};function o(m,t,u,p,s,g){return l(),n("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugin-manager","aria-label":'Permalink to "**模块** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=i(r,[["render",o]]);export{c as __pageData,k as default};
diff --git a/assets/dev_api_plugin_manager.md.CV_EY-n_.lean.js b/assets/dev_api_plugin_manager.md.CnP65Tni.lean.js
similarity index 82%
rename from assets/dev_api_plugin_manager.md.CV_EY-n_.lean.js
rename to assets/dev_api_plugin_manager.md.CnP65Tni.lean.js
index 64f292e5..626226e5 100644
--- a/assets/dev_api_plugin_manager.md.CV_EY-n_.lean.js
+++ b/assets/dev_api_plugin_manager.md.CnP65Tni.lean.js
@@ -1 +1 @@
-import{_ as i,o as n,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"dev/api/plugin/manager.md","filePath":"zh/dev/api/plugin/manager.md","lastUpdated":null}'),r={name:"dev/api/plugin/manager.md"};function o(m,t,u,p,s,g){return n(),l("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugin-manager","aria-label":'Permalink to "**模块** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=i(r,[["render",o]]);export{c as __pageData,k as default};
+import{_ as i,c as n,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"dev/api/plugin/manager.md","filePath":"zh/dev/api/plugin/manager.md","lastUpdated":null}'),r={name:"dev/api/plugin/manager.md"};function o(m,t,u,p,s,g){return l(),n("div",null,t[0]||(t[0]=[e("h1",{id:"模块-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"模块"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugin-manager","aria-label":'Permalink to "**模块** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=i(r,[["render",o]]);export{c as __pageData,k as default};
diff --git a/assets/dev_api_plugin_model.md.B6zUTgyK.js b/assets/dev_api_plugin_model.md.B6zUTgyK.js
deleted file mode 100644
index d01a4fe9..00000000
--- a/assets/dev_api_plugin_model.md.B6zUTgyK.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,o as e,c as r,a7 as o}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"dev/api/plugin/model.md","filePath":"zh/dev/api/plugin/model.md","lastUpdated":null}'),s={name:"dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return e(),r("div",null,a[0]||(a[0]=[o('

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=t(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/dev_api_plugin_model.md.B6zUTgyK.lean.js b/assets/dev_api_plugin_model.md.B6zUTgyK.lean.js deleted file mode 100644 index d01a4fe9..00000000 --- a/assets/dev_api_plugin_model.md.B6zUTgyK.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,o as e,c as r,a7 as o}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"dev/api/plugin/model.md","filePath":"zh/dev/api/plugin/model.md","lastUpdated":null}'),s={name:"dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return e(),r("div",null,a[0]||(a[0]=[o('

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=t(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/dev_api_plugin_model.md.BcoMNcwb.js b/assets/dev_api_plugin_model.md.BcoMNcwb.js new file mode 100644 index 00000000..0c195c4f --- /dev/null +++ b/assets/dev_api_plugin_model.md.BcoMNcwb.js @@ -0,0 +1 @@ +import{_ as t,c as e,a7 as r,o}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"dev/api/plugin/model.md","filePath":"zh/dev/api/plugin/model.md","lastUpdated":null}'),s={name:"dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return o(),e("div",null,a[0]||(a[0]=[r('

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=t(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/dev_api_plugin_model.md.BcoMNcwb.lean.js b/assets/dev_api_plugin_model.md.BcoMNcwb.lean.js new file mode 100644 index 00000000..0c195c4f --- /dev/null +++ b/assets/dev_api_plugin_model.md.BcoMNcwb.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,a7 as r,o}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"dev/api/plugin/model.md","filePath":"zh/dev/api/plugin/model.md","lastUpdated":null}'),s={name:"dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return o(),e("div",null,a[0]||(a[0]=[r('

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=t(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/dev_api_plugins_index.md.BJaF6GJo.js b/assets/dev_api_plugins_index.md.Z4Rsdm03.js similarity index 78% rename from assets/dev_api_plugins_index.md.BJaF6GJo.js rename to assets/dev_api_plugins_index.md.Z4Rsdm03.js index 50595af1..f2638d0d 100644 --- a/assets/dev_api_plugins_index.md.BJaF6GJo.js +++ b/assets/dev_api_plugins_index.md.Z4Rsdm03.js @@ -1 +1 @@ -import{_ as l,o as n,c as a,j as e,a as t}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/index.md","filePath":"zh/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"dev/api/plugins/index.md"};function u(d,i,r,o,p,c){return n(),a("div",null,i[0]||(i[0]=[e("h1",{id:"模块-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"模块"),t(),e("code",null,"liteyuki.plugins"),t(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugins","aria-label":'Permalink to "**模块** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=l(s,[["render",u]]);export{m as __pageData,f as default}; +import{_ as l,c as n,j as e,a as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/index.md","filePath":"zh/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"dev/api/plugins/index.md"};function u(d,i,r,o,p,c){return a(),n("div",null,i[0]||(i[0]=[e("h1",{id:"模块-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"模块"),t(),e("code",null,"liteyuki.plugins"),t(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugins","aria-label":'Permalink to "**模块** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=l(s,[["render",u]]);export{m as __pageData,f as default}; diff --git a/assets/dev_api_plugins_index.md.BJaF6GJo.lean.js b/assets/dev_api_plugins_index.md.Z4Rsdm03.lean.js similarity index 78% rename from assets/dev_api_plugins_index.md.BJaF6GJo.lean.js rename to assets/dev_api_plugins_index.md.Z4Rsdm03.lean.js index 50595af1..f2638d0d 100644 --- a/assets/dev_api_plugins_index.md.BJaF6GJo.lean.js +++ b/assets/dev_api_plugins_index.md.Z4Rsdm03.lean.js @@ -1 +1 @@ -import{_ as l,o as n,c as a,j as e,a as t}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/index.md","filePath":"zh/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"dev/api/plugins/index.md"};function u(d,i,r,o,p,c){return n(),a("div",null,i[0]||(i[0]=[e("h1",{id:"模块-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"模块"),t(),e("code",null,"liteyuki.plugins"),t(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugins","aria-label":'Permalink to "**模块** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=l(s,[["render",u]]);export{m as __pageData,f as default}; +import{_ as l,c as n,j as e,a as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/index.md","filePath":"zh/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"dev/api/plugins/index.md"};function u(d,i,r,o,p,c){return a(),n("div",null,i[0]||(i[0]=[e("h1",{id:"模块-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"模块"),t(),e("code",null,"liteyuki.plugins"),t(),e("a",{class:"header-anchor",href:"#模块-liteyuki-plugins","aria-label":'Permalink to "**模块** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=l(s,[["render",u]]);export{m as __pageData,f as default}; diff --git a/assets/dev_api_plugins_liteecho.md.0olLW-gF.js b/assets/dev_api_plugins_liteecho.md.N_eRUAPO.js similarity index 93% rename from assets/dev_api_plugins_liteecho.md.0olLW-gF.js rename to assets/dev_api_plugins_liteecho.md.N_eRUAPO.js index 78625702..b6bc1d12 100644 --- a/assets/dev_api_plugins_liteecho.md.0olLW-gF.js +++ b/assets/dev_api_plugins_liteecho.md.N_eRUAPO.js @@ -1 +1 @@ -import{_ as i,o as s,c as t,a7 as a}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"dev/api/plugins/liteecho.md","filePath":"zh/dev/api/plugins/liteecho.md","lastUpdated":null}'),l={name:"dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return s(),t("div",null,e[0]||(e[0]=[a('

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; +import{_ as i,c as s,a7 as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"dev/api/plugins/liteecho.md","filePath":"zh/dev/api/plugins/liteecho.md","lastUpdated":null}'),l={name:"dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return a(),s("div",null,e[0]||(e[0]=[t('

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; diff --git a/assets/dev_api_plugins_liteecho.md.0olLW-gF.lean.js b/assets/dev_api_plugins_liteecho.md.N_eRUAPO.lean.js similarity index 93% rename from assets/dev_api_plugins_liteecho.md.0olLW-gF.lean.js rename to assets/dev_api_plugins_liteecho.md.N_eRUAPO.lean.js index 78625702..b6bc1d12 100644 --- a/assets/dev_api_plugins_liteecho.md.0olLW-gF.lean.js +++ b/assets/dev_api_plugins_liteecho.md.N_eRUAPO.lean.js @@ -1 +1 @@ -import{_ as i,o as s,c as t,a7 as a}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"dev/api/plugins/liteecho.md","filePath":"zh/dev/api/plugins/liteecho.md","lastUpdated":null}'),l={name:"dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return s(),t("div",null,e[0]||(e[0]=[a('

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; +import{_ as i,c as s,a7 as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"dev/api/plugins/liteecho.md","filePath":"zh/dev/api/plugins/liteecho.md","lastUpdated":null}'),l={name:"dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return a(),s("div",null,e[0]||(e[0]=[t('

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; diff --git a/assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.js b/assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.js similarity index 94% rename from assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.js rename to assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.js index 42f1ecc1..3e027b52 100644 --- a/assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.js +++ b/assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.js @@ -1 +1 @@ -import{_ as s,o as a,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),e={name:"dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,d,o,h){return a(),l("div",null,i[0]||(i[0]=[n('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(e,[["render",t]]);export{u as __pageData,g as default}; +import{_ as s,c as a,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),e={name:"dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,d,o,h){return n(),a("div",null,i[0]||(i[0]=[l('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(e,[["render",t]]);export{u as __pageData,g as default}; diff --git a/assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.lean.js b/assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.lean.js similarity index 94% rename from assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.lean.js rename to assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.lean.js index 42f1ecc1..3e027b52 100644 --- a/assets/dev_api_plugins_plugin_loader_index.md.Bk_JMvR5.lean.js +++ b/assets/dev_api_plugins_plugin_loader_index.md.DWsFMHho.lean.js @@ -1 +1 @@ -import{_ as s,o as a,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),e={name:"dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,d,o,h){return a(),l("div",null,i[0]||(i[0]=[n('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(e,[["render",t]]);export{u as __pageData,g as default}; +import{_ as s,c as a,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),e={name:"dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,d,o,h){return n(),a("div",null,i[0]||(i[0]=[l('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(e,[["render",t]]);export{u as __pageData,g as default}; diff --git a/assets/dev_api_session_event.md.eoIRQPSp.js b/assets/dev_api_session_event.md.BVxh2ZPO.js similarity index 98% rename from assets/dev_api_session_event.md.eoIRQPSp.js rename to assets/dev_api_session_event.md.BVxh2ZPO.js index 501d26e5..d2c77075 100644 --- a/assets/dev_api_session_event.md.eoIRQPSp.js +++ b/assets/dev_api_session_event.md.BVxh2ZPO.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"dev/api/session/event.md","filePath":"zh/dev/api/session/event.md","lastUpdated":null}'),n={name:"dev/api/session/event.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"dev/api/session/event.md","filePath":"zh/dev/api/session/event.md","lastUpdated":null}'),n={name:"dev/api/session/event.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
diff --git a/assets/dev_api_session_event.md.eoIRQPSp.lean.js b/assets/dev_api_session_event.md.BVxh2ZPO.lean.js
similarity index 98%
rename from assets/dev_api_session_event.md.eoIRQPSp.lean.js
rename to assets/dev_api_session_event.md.BVxh2ZPO.lean.js
index 501d26e5..d2c77075 100644
--- a/assets/dev_api_session_event.md.eoIRQPSp.lean.js
+++ b/assets/dev_api_session_event.md.BVxh2ZPO.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"dev/api/session/event.md","filePath":"zh/dev/api/session/event.md","lastUpdated":null}'),n={name:"dev/api/session/event.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"dev/api/session/event.md","filePath":"zh/dev/api/session/event.md","lastUpdated":null}'),n={name:"dev/api/session/event.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
diff --git a/assets/dev_api_session_index.md.BB5rwUqh.js b/assets/dev_api_session_index.md.6yQBWgJr.js
similarity index 92%
rename from assets/dev_api_session_index.md.BB5rwUqh.js
rename to assets/dev_api_session_index.md.6yQBWgJr.js
index 85b31f6e..8822cc75 100644
--- a/assets/dev_api_session_index.md.BB5rwUqh.js
+++ b/assets/dev_api_session_index.md.6yQBWgJr.js
@@ -1 +1 @@
-import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"dev/api/session/index.md","filePath":"zh/dev/api/session/index.md","lastUpdated":null}'),t={name:"dev/api/session/index.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[n('

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"dev/api/session/index.md","filePath":"zh/dev/api/session/index.md","lastUpdated":null}'),t={name:"dev/api/session/index.md"};function h(l,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[e('

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/dev_api_session_index.md.BB5rwUqh.lean.js b/assets/dev_api_session_index.md.6yQBWgJr.lean.js similarity index 92% rename from assets/dev_api_session_index.md.BB5rwUqh.lean.js rename to assets/dev_api_session_index.md.6yQBWgJr.lean.js index 85b31f6e..8822cc75 100644 --- a/assets/dev_api_session_index.md.BB5rwUqh.lean.js +++ b/assets/dev_api_session_index.md.6yQBWgJr.lean.js @@ -1 +1 @@ -import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"dev/api/session/index.md","filePath":"zh/dev/api/session/index.md","lastUpdated":null}'),t={name:"dev/api/session/index.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[n('

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"dev/api/session/index.md","filePath":"zh/dev/api/session/index.md","lastUpdated":null}'),t={name:"dev/api/session/index.md"};function h(l,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[e('

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/dev_api_session_matcher.md.DY05_Eet.js b/assets/dev_api_session_matcher.md.DgoYweUQ.js similarity index 97% rename from assets/dev_api_session_matcher.md.DY05_Eet.js rename to assets/dev_api_session_matcher.md.DgoYweUQ.js index cf59eda5..a21c2b9e 100644 --- a/assets/dev_api_session_matcher.md.DY05_Eet.js +++ b/assets/dev_api_session_matcher.md.DgoYweUQ.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"dev/api/session/matcher.md","filePath":"zh/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return a(),e("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
+import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"dev/api/session/matcher.md","filePath":"zh/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return n(),a("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
diff --git a/assets/dev_api_session_matcher.md.DY05_Eet.lean.js b/assets/dev_api_session_matcher.md.DgoYweUQ.lean.js
similarity index 97%
rename from assets/dev_api_session_matcher.md.DY05_Eet.lean.js
rename to assets/dev_api_session_matcher.md.DgoYweUQ.lean.js
index cf59eda5..a21c2b9e 100644
--- a/assets/dev_api_session_matcher.md.DY05_Eet.lean.js
+++ b/assets/dev_api_session_matcher.md.DgoYweUQ.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"dev/api/session/matcher.md","filePath":"zh/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return a(),e("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
+import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"dev/api/session/matcher.md","filePath":"zh/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return n(),a("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
diff --git a/assets/dev_api_session_message_segments.md.0beZiwPd.js b/assets/dev_api_session_message_segments.md.DivW-Wd9.js
similarity index 90%
rename from assets/dev_api_session_message_segments.md.0beZiwPd.js
rename to assets/dev_api_session_message_segments.md.DivW-Wd9.js
index d8f632a7..fd133a47 100644
--- a/assets/dev_api_session_message_segments.md.0beZiwPd.js
+++ b/assets/dev_api_session_message_segments.md.DivW-Wd9.js
@@ -1 +1 @@
-import{_ as a,o as t,c as s,a7 as r}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return t(),s("div",null,e[0]||(e[0]=[r('

模块 liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; +import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('

模块 liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; diff --git a/assets/dev_api_session_message_segments.md.0beZiwPd.lean.js b/assets/dev_api_session_message_segments.md.DivW-Wd9.lean.js similarity index 90% rename from assets/dev_api_session_message_segments.md.0beZiwPd.lean.js rename to assets/dev_api_session_message_segments.md.DivW-Wd9.lean.js index d8f632a7..fd133a47 100644 --- a/assets/dev_api_session_message_segments.md.0beZiwPd.lean.js +++ b/assets/dev_api_session_message_segments.md.DivW-Wd9.lean.js @@ -1 +1 @@ -import{_ as a,o as t,c as s,a7 as r}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return t(),s("div",null,e[0]||(e[0]=[r('

模块 liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; +import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('

模块 liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; diff --git a/assets/dev_api_session_models.md.Jq2lUC1f.js b/assets/dev_api_session_models.md.Bgk7-MSv.js similarity index 98% rename from assets/dev_api_session_models.md.Jq2lUC1f.js rename to assets/dev_api_session_models.md.Bgk7-MSv.js index a14844c6..99929253 100644 --- a/assets/dev_api_session_models.md.Jq2lUC1f.js +++ b/assets/dev_api_session_models.md.Bgk7-MSv.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,a7 as i}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"dev/api/session/models.md","filePath":"zh/dev/api/session/models.md","lastUpdated":null}'),n={name:"dev/api/session/models.md"};function r(o,e,l,h,d,k){return s(),t("div",null,e[0]||(e[0]=[i('

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

源代码在GitHub上查看
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; +import{_ as a,c as s,a7 as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"dev/api/session/models.md","filePath":"zh/dev/api/session/models.md","lastUpdated":null}'),n={name:"dev/api/session/models.md"};function r(o,e,l,h,d,k){return i(),s("div",null,e[0]||(e[0]=[t('

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

源代码在GitHub上查看
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; diff --git a/assets/dev_api_session_models.md.Jq2lUC1f.lean.js b/assets/dev_api_session_models.md.Bgk7-MSv.lean.js similarity index 98% rename from assets/dev_api_session_models.md.Jq2lUC1f.lean.js rename to assets/dev_api_session_models.md.Bgk7-MSv.lean.js index a14844c6..99929253 100644 --- a/assets/dev_api_session_models.md.Jq2lUC1f.lean.js +++ b/assets/dev_api_session_models.md.Bgk7-MSv.lean.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,a7 as i}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"dev/api/session/models.md","filePath":"zh/dev/api/session/models.md","lastUpdated":null}'),n={name:"dev/api/session/models.md"};function r(o,e,l,h,d,k){return s(),t("div",null,e[0]||(e[0]=[i('

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

源代码在GitHub上查看
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; +import{_ as a,c as s,a7 as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"dev/api/session/models.md","filePath":"zh/dev/api/session/models.md","lastUpdated":null}'),n={name:"dev/api/session/models.md"};function r(o,e,l,h,d,k){return i(),s("div",null,e[0]||(e[0]=[t('

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

源代码在GitHub上查看
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; diff --git a/assets/dev_api_session_on.md.ClG5jupL.js b/assets/dev_api_session_on.md.mdi0h2yr.js similarity index 97% rename from assets/dev_api_session_on.md.ClG5jupL.js rename to assets/dev_api_session_on.md.mdi0h2yr.js index 3c2ad302..069ffa62 100644 --- a/assets/dev_api_session_on.md.ClG5jupL.js +++ b/assets/dev_api_session_on.md.mdi0h2yr.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as t,a7 as e}from"./chunks/framework._avq4Ty7.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"dev/api/session/on.md","filePath":"zh/dev/api/session/on.md","lastUpdated":null}'),n={name:"dev/api/session/on.md"};function l(h,s,r,k,p,o){return a(),t("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
+import{_ as i,c as a,a7 as t,o as e}from"./chunks/framework.Z6UMW4JZ.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"dev/api/session/on.md","filePath":"zh/dev/api/session/on.md","lastUpdated":null}'),n={name:"dev/api/session/on.md"};function l(h,s,r,k,p,o){return e(),a("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
diff --git a/assets/dev_api_session_on.md.ClG5jupL.lean.js b/assets/dev_api_session_on.md.mdi0h2yr.lean.js
similarity index 97%
rename from assets/dev_api_session_on.md.ClG5jupL.lean.js
rename to assets/dev_api_session_on.md.mdi0h2yr.lean.js
index 3c2ad302..069ffa62 100644
--- a/assets/dev_api_session_on.md.ClG5jupL.lean.js
+++ b/assets/dev_api_session_on.md.mdi0h2yr.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as e}from"./chunks/framework._avq4Ty7.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"dev/api/session/on.md","filePath":"zh/dev/api/session/on.md","lastUpdated":null}'),n={name:"dev/api/session/on.md"};function l(h,s,r,k,p,o){return a(),t("div",null,s[0]||(s[0]=[e(`

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
+import{_ as i,c as a,a7 as t,o as e}from"./chunks/framework.Z6UMW4JZ.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"dev/api/session/on.md","filePath":"zh/dev/api/session/on.md","lastUpdated":null}'),n={name:"dev/api/session/on.md"};function l(h,s,r,k,p,o){return e(),a("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
diff --git a/assets/dev_api_session_rule.md.Jlr6fWcz.js b/assets/dev_api_session_rule.md.CDnQtWE_.js
similarity index 98%
rename from assets/dev_api_session_rule.md.Jlr6fWcz.js
rename to assets/dev_api_session_rule.md.CDnQtWE_.js
index 1b9b9141..79c46a22 100644
--- a/assets/dev_api_session_rule.md.Jlr6fWcz.js
+++ b/assets/dev_api_session_rule.md.CDnQtWE_.js
@@ -1 +1 @@
-import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"dev/api/session/rule.md","filePath":"zh/dev/api/session/rule.md","lastUpdated":null}'),n={name:"dev/api/session/rule.md"};function l(h,s,r,p,k,d){return a(),e("div",null,s[0]||(s[0]=[t('

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

源代码在GitHub上查看
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

源代码在GitHub上查看
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

源代码在GitHub上查看
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const g=i(n,[["render",l]]);export{u as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"dev/api/session/rule.md","filePath":"zh/dev/api/session/rule.md","lastUpdated":null}'),n={name:"dev/api/session/rule.md"};function l(h,s,r,p,k,d){return t(),a("div",null,s[0]||(s[0]=[e('

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

源代码在GitHub上查看
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

源代码在GitHub上查看
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

源代码在GitHub上查看
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const g=i(n,[["render",l]]);export{u as __pageData,g as default}; diff --git a/assets/dev_api_session_rule.md.Jlr6fWcz.lean.js b/assets/dev_api_session_rule.md.CDnQtWE_.lean.js similarity index 98% rename from assets/dev_api_session_rule.md.Jlr6fWcz.lean.js rename to assets/dev_api_session_rule.md.CDnQtWE_.lean.js index 1b9b9141..79c46a22 100644 --- a/assets/dev_api_session_rule.md.Jlr6fWcz.lean.js +++ b/assets/dev_api_session_rule.md.CDnQtWE_.lean.js @@ -1 +1 @@ -import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"dev/api/session/rule.md","filePath":"zh/dev/api/session/rule.md","lastUpdated":null}'),n={name:"dev/api/session/rule.md"};function l(h,s,r,p,k,d){return a(),e("div",null,s[0]||(s[0]=[t('

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

源代码在GitHub上查看
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

源代码在GitHub上查看
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

源代码在GitHub上查看
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const g=i(n,[["render",l]]);export{u as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"dev/api/session/rule.md","filePath":"zh/dev/api/session/rule.md","lastUpdated":null}'),n={name:"dev/api/session/rule.md"};function l(h,s,r,p,k,d){return t(),a("div",null,s[0]||(s[0]=[e('

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

源代码在GitHub上查看
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

源代码在GitHub上查看
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

源代码在GitHub上查看
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const g=i(n,[["render",l]]);export{u as __pageData,g as default}; diff --git a/assets/dev_api_utils.md.BCPR7M6j.js b/assets/dev_api_utils.md.eMkV5aFU.js similarity index 98% rename from assets/dev_api_utils.md.BCPR7M6j.js rename to assets/dev_api_utils.md.eMkV5aFU.js index f6549630..5f3effed 100644 --- a/assets/dev_api_utils.md.BCPR7M6j.js +++ b/assets/dev_api_utils.md.eMkV5aFU.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),l={name:"dev/api/utils.md"};function h(e,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),l={name:"dev/api/utils.md"};function h(e,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
diff --git a/assets/dev_api_utils.md.BCPR7M6j.lean.js b/assets/dev_api_utils.md.eMkV5aFU.lean.js
similarity index 98%
rename from assets/dev_api_utils.md.BCPR7M6j.lean.js
rename to assets/dev_api_utils.md.eMkV5aFU.lean.js
index f6549630..5f3effed 100644
--- a/assets/dev_api_utils.md.BCPR7M6j.lean.js
+++ b/assets/dev_api_utils.md.eMkV5aFU.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),l={name:"dev/api/utils.md"};function h(e,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),l={name:"dev/api/utils.md"};function h(e,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
diff --git a/assets/dev_best_practices.md.Cymrt9FM.js b/assets/dev_best_practices.md.cQgckalO.js
similarity index 89%
rename from assets/dev_best_practices.md.Cymrt9FM.js
rename to assets/dev_best_practices.md.cQgckalO.js
index c86db3e3..9e8f59fd 100644
--- a/assets/dev_best_practices.md.Cymrt9FM.js
+++ b/assets/dev_best_practices.md.cQgckalO.js
@@ -1 +1 @@
-import{_ as e,o as i,c as a,a7 as r}from"./chunks/framework._avq4Ty7.js";const b=JSON.parse('{"title":"最佳实践","description":"","frontmatter":{"title":"最佳实践","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return i(),a("div",null,t[0]||(t[0]=[r('

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口
',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default}; +import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"最佳实践","description":"","frontmatter":{"title":"最佳实践","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口
',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default}; diff --git a/assets/dev_best_practices.md.Cymrt9FM.lean.js b/assets/dev_best_practices.md.cQgckalO.lean.js similarity index 89% rename from assets/dev_best_practices.md.Cymrt9FM.lean.js rename to assets/dev_best_practices.md.cQgckalO.lean.js index c86db3e3..9e8f59fd 100644 --- a/assets/dev_best_practices.md.Cymrt9FM.lean.js +++ b/assets/dev_best_practices.md.cQgckalO.lean.js @@ -1 +1 @@ -import{_ as e,o as i,c as a,a7 as r}from"./chunks/framework._avq4Ty7.js";const b=JSON.parse('{"title":"最佳实践","description":"","frontmatter":{"title":"最佳实践","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return i(),a("div",null,t[0]||(t[0]=[r('

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口
',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default}; +import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"最佳实践","description":"","frontmatter":{"title":"最佳实践","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口
',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default}; diff --git a/assets/dev_comm.md.BdU9h70O.js b/assets/dev_comm.md.CdHIX3qu.js similarity index 98% rename from assets/dev_comm.md.BdU9h70O.js rename to assets/dev_comm.md.CdHIX3qu.js index e76a64b7..c8f5a2c9 100644 --- a/assets/dev_comm.md.BdU9h70O.js +++ b/assets/dev_comm.md.CdHIX3qu.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"进程通信","description":"","frontmatter":{"title":"进程通信","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"进程通信","description":"","frontmatter":{"title":"进程通信","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_comm.md.BdU9h70O.lean.js b/assets/dev_comm.md.CdHIX3qu.lean.js
similarity index 98%
rename from assets/dev_comm.md.BdU9h70O.lean.js
rename to assets/dev_comm.md.CdHIX3qu.lean.js
index e76a64b7..c8f5a2c9 100644
--- a/assets/dev_comm.md.BdU9h70O.lean.js
+++ b/assets/dev_comm.md.CdHIX3qu.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"进程通信","description":"","frontmatter":{"title":"进程通信","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"进程通信","description":"","frontmatter":{"title":"进程通信","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_guide.md.CKJge6Av.js b/assets/dev_guide.md.BZ0jbPsh.js
similarity index 93%
rename from assets/dev_guide.md.CKJge6Av.js
rename to assets/dev_guide.md.BZ0jbPsh.js
index 139c64ac..5eeebd60 100644
--- a/assets/dev_guide.md.CKJge6Av.js
+++ b/assets/dev_guide.md.BZ0jbPsh.js
@@ -1 +1 @@
-import{C as o}from"./chunks/ContributorBar.Dxof8JRG.js";import{o as i,c as l,a7 as t,G as a}from"./chunks/framework._avq4Ty7.js";import"./chunks/theme.DjavgrUf.js";const h=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},g=Object.assign(r,{setup(d){return(c,e)=>(i(),l("div",null,[e[0]||(e[0]=t('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16)),a(o)]))}});export{h as __pageData,g as default}; +import{C as o}from"./chunks/ContributorBar.DMnvUds9.js";import{c as i,a7 as l,G as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";import"./chunks/theme.BxnBdNII.js";const h=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},g=Object.assign(r,{setup(d){return(c,e)=>(a(),i("div",null,[e[0]||(e[0]=l('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16)),t(o)]))}});export{h as __pageData,g as default}; diff --git a/assets/dev_guide.md.CKJge6Av.lean.js b/assets/dev_guide.md.BZ0jbPsh.lean.js similarity index 93% rename from assets/dev_guide.md.CKJge6Av.lean.js rename to assets/dev_guide.md.BZ0jbPsh.lean.js index 139c64ac..5eeebd60 100644 --- a/assets/dev_guide.md.CKJge6Av.lean.js +++ b/assets/dev_guide.md.BZ0jbPsh.lean.js @@ -1 +1 @@ -import{C as o}from"./chunks/ContributorBar.Dxof8JRG.js";import{o as i,c as l,a7 as t,G as a}from"./chunks/framework._avq4Ty7.js";import"./chunks/theme.DjavgrUf.js";const h=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},g=Object.assign(r,{setup(d){return(c,e)=>(i(),l("div",null,[e[0]||(e[0]=t('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16)),a(o)]))}});export{h as __pageData,g as default}; +import{C as o}from"./chunks/ContributorBar.DMnvUds9.js";import{c as i,a7 as l,G as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";import"./chunks/theme.BxnBdNII.js";const h=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},g=Object.assign(r,{setup(d){return(c,e)=>(a(),i("div",null,[e[0]||(e[0]=l('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16)),t(o)]))}});export{h as __pageData,g as default}; diff --git a/assets/dev_lyfunc.md.CTyKZzIv.js b/assets/dev_lyfunc.md.BFnTpiJ5.js similarity index 98% rename from assets/dev_lyfunc.md.CTyKZzIv.js rename to assets/dev_lyfunc.md.BFnTpiJ5.js index 4638e9cf..b33ab693 100644 --- a/assets/dev_lyfunc.md.CTyKZzIv.js +++ b/assets/dev_lyfunc.md.BFnTpiJ5.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"轻雪函数","description":"","frontmatter":{"title":"轻雪函数","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"轻雪函数","description":"","frontmatter":{"title":"轻雪函数","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_lyfunc.md.CTyKZzIv.lean.js b/assets/dev_lyfunc.md.BFnTpiJ5.lean.js
similarity index 98%
rename from assets/dev_lyfunc.md.CTyKZzIv.lean.js
rename to assets/dev_lyfunc.md.BFnTpiJ5.lean.js
index 4638e9cf..b33ab693 100644
--- a/assets/dev_lyfunc.md.CTyKZzIv.lean.js
+++ b/assets/dev_lyfunc.md.BFnTpiJ5.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"轻雪函数","description":"","frontmatter":{"title":"轻雪函数","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"轻雪函数","description":"","frontmatter":{"title":"轻雪函数","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_plugin.md.Cw4jmM1r.js b/assets/dev_plugin.md.fh6MoH8y.js
similarity index 98%
rename from assets/dev_plugin.md.Cw4jmM1r.js
rename to assets/dev_plugin.md.fh6MoH8y.js
index a94a304e..29d3c92e 100644
--- a/assets/dev_plugin.md.Cw4jmM1r.js
+++ b/assets/dev_plugin.md.fh6MoH8y.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"插件开发","description":"","frontmatter":{"title":"插件开发","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"插件开发","description":"","frontmatter":{"title":"插件开发","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
diff --git a/assets/dev_plugin.md.Cw4jmM1r.lean.js b/assets/dev_plugin.md.fh6MoH8y.lean.js
similarity index 98%
rename from assets/dev_plugin.md.Cw4jmM1r.lean.js
rename to assets/dev_plugin.md.fh6MoH8y.lean.js
index a94a304e..29d3c92e 100644
--- a/assets/dev_plugin.md.Cw4jmM1r.lean.js
+++ b/assets/dev_plugin.md.fh6MoH8y.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"插件开发","description":"","frontmatter":{"title":"插件开发","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"插件开发","description":"","frontmatter":{"title":"插件开发","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
diff --git a/assets/dev_resource.md.DHaliAic.js b/assets/dev_resource.md.DMvQfaDn.js
similarity index 95%
rename from assets/dev_resource.md.DHaliAic.js
rename to assets/dev_resource.md.DMvQfaDn.js
index d1535975..2663a081 100644
--- a/assets/dev_resource.md.DHaliAic.js
+++ b/assets/dev_resource.md.DMvQfaDn.js
@@ -1,4 +1,4 @@
-import{_ as a,o as i,c as e,a7 as l}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"资源包开发","description":"","frontmatter":{"title":"资源包开发","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return i(),e("div",null,s[0]||(s[0]=[l(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"资源包开发","description":"","frontmatter":{"title":"资源包开发","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/dev_resource.md.DHaliAic.lean.js b/assets/dev_resource.md.DMvQfaDn.lean.js
similarity index 95%
rename from assets/dev_resource.md.DHaliAic.lean.js
rename to assets/dev_resource.md.DMvQfaDn.lean.js
index d1535975..2663a081 100644
--- a/assets/dev_resource.md.DHaliAic.lean.js
+++ b/assets/dev_resource.md.DMvQfaDn.lean.js
@@ -1,4 +1,4 @@
-import{_ as a,o as i,c as e,a7 as l}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"资源包开发","description":"","frontmatter":{"title":"资源包开发","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return i(),e("div",null,s[0]||(s[0]=[l(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"资源包开发","description":"","frontmatter":{"title":"资源包开发","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/en_deploy_config.md.BQn5E2Bj.js b/assets/en_deploy_config.md.C9aWRG-M.js
similarity index 97%
rename from assets/en_deploy_config.md.BQn5E2Bj.js
rename to assets/en_deploy_config.md.C9aWRG-M.js
index 3ee34634..d0eaa506 100644
--- a/assets/en_deploy_config.md.BQn5E2Bj.js
+++ b/assets/en_deploy_config.md.C9aWRG-M.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return a(),t("div",null,s[0]||(s[0]=[n(`

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
 nonebot:
   command_start: [ "/", "" ] # Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal
   host: 127.0.0.1 # Listening address, default is local, if you want to receive external requests, please fill in
diff --git a/assets/en_deploy_config.md.BQn5E2Bj.lean.js b/assets/en_deploy_config.md.C9aWRG-M.lean.js
similarity index 97%
rename from assets/en_deploy_config.md.BQn5E2Bj.lean.js
rename to assets/en_deploy_config.md.C9aWRG-M.lean.js
index 3ee34634..d0eaa506 100644
--- a/assets/en_deploy_config.md.BQn5E2Bj.lean.js
+++ b/assets/en_deploy_config.md.C9aWRG-M.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return a(),t("div",null,s[0]||(s[0]=[n(`

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
+import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
 nonebot:
   command_start: [ "/", "" ] # Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal
   host: 127.0.0.1 # Listening address, default is local, if you want to receive external requests, please fill in
diff --git a/assets/en_deploy_fandq.md.BrjsxnAp.js b/assets/en_deploy_fandq.md.BrjsxnAp.js
deleted file mode 100644
index a8acc6ca..00000000
--- a/assets/en_deploy_fandq.md.BrjsxnAp.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,o,c as a,a7 as i}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return o(),a("div",null,e[0]||(e[0]=[i('

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default}; diff --git a/assets/en_deploy_fandq.md.BrjsxnAp.lean.js b/assets/en_deploy_fandq.md.BrjsxnAp.lean.js deleted file mode 100644 index a8acc6ca..00000000 --- a/assets/en_deploy_fandq.md.BrjsxnAp.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,o,c as a,a7 as i}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return o(),a("div",null,e[0]||(e[0]=[i('

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default}; diff --git a/assets/en_deploy_fandq.md.Cy9C9qw5.js b/assets/en_deploy_fandq.md.Cy9C9qw5.js new file mode 100644 index 00000000..4b76ebd4 --- /dev/null +++ b/assets/en_deploy_fandq.md.Cy9C9qw5.js @@ -0,0 +1 @@ +import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default}; diff --git a/assets/en_deploy_fandq.md.Cy9C9qw5.lean.js b/assets/en_deploy_fandq.md.Cy9C9qw5.lean.js new file mode 100644 index 00000000..4b76ebd4 --- /dev/null +++ b/assets/en_deploy_fandq.md.Cy9C9qw5.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default}; diff --git a/assets/en_deploy_install.md.YWJCbrQ9.js b/assets/en_deploy_install.md.7tdrs7_X.js similarity index 97% rename from assets/en_deploy_install.md.YWJCbrQ9.js rename to assets/en_deploy_install.md.7tdrs7_X.js index 3932abb3..818a41c8 100644 --- a/assets/en_deploy_install.md.YWJCbrQ9.js +++ b/assets/en_deploy_install.md.7tdrs7_X.js @@ -1,4 +1,4 @@ -import{_ as i,o as e,c as a,a7 as t}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return e(),a("div",null,s[0]||(s[0]=[t(`

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
+import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
 
 # Change directory
diff --git a/assets/en_deploy_install.md.YWJCbrQ9.lean.js b/assets/en_deploy_install.md.7tdrs7_X.lean.js
similarity index 97%
rename from assets/en_deploy_install.md.YWJCbrQ9.lean.js
rename to assets/en_deploy_install.md.7tdrs7_X.lean.js
index 3932abb3..818a41c8 100644
--- a/assets/en_deploy_install.md.YWJCbrQ9.lean.js
+++ b/assets/en_deploy_install.md.7tdrs7_X.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as e,c as a,a7 as t}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return e(),a("div",null,s[0]||(s[0]=[t(`

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
+import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
 
 # Change directory
diff --git a/assets/en_dev_api_bot_index.md.D7pBXyxE.js b/assets/en_dev_api_bot_index.md.D-dQtyQd.js
similarity index 99%
rename from assets/en_dev_api_bot_index.md.D7pBXyxE.js
rename to assets/en_dev_api_bot_index.md.D-dQtyQd.js
index d5e39bb2..28b20963 100644
--- a/assets/en_dev_api_bot_index.md.D7pBXyxE.js
+++ b/assets/en_dev_api_bot_index.md.D-dQtyQd.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),e={name:"en/dev/api/bot/index.md"};function l(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),e={name:"en/dev/api/bot/index.md"};function l(h,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
diff --git a/assets/en_dev_api_bot_index.md.D7pBXyxE.lean.js b/assets/en_dev_api_bot_index.md.D-dQtyQd.lean.js
similarity index 99%
rename from assets/en_dev_api_bot_index.md.D7pBXyxE.lean.js
rename to assets/en_dev_api_bot_index.md.D-dQtyQd.lean.js
index d5e39bb2..28b20963 100644
--- a/assets/en_dev_api_bot_index.md.D7pBXyxE.lean.js
+++ b/assets/en_dev_api_bot_index.md.D-dQtyQd.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),e={name:"en/dev/api/bot/index.md"};function l(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),e={name:"en/dev/api/bot/index.md"};function l(h,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
diff --git a/assets/en_dev_api_bot_lifespan.md.CB0llI1b.js b/assets/en_dev_api_bot_lifespan.md.BhXMIeK8.js
similarity index 99%
rename from assets/en_dev_api_bot_lifespan.md.CB0llI1b.js
rename to assets/en_dev_api_bot_lifespan.md.BhXMIeK8.js
index aad7f3cd..1c1eae12 100644
--- a/assets/en_dev_api_bot_lifespan.md.CB0llI1b.js
+++ b/assets/en_dev_api_bot_lifespan.md.BhXMIeK8.js
@@ -1 +1 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return a(),n("div",null,s[0]||(s[0]=[e('

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(t,[["render",l]]);export{d as __pageData,g as default}; +import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return e(),a("div",null,s[0]||(s[0]=[n('

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(t,[["render",l]]);export{d as __pageData,g as default}; diff --git a/assets/en_dev_api_bot_lifespan.md.CB0llI1b.lean.js b/assets/en_dev_api_bot_lifespan.md.BhXMIeK8.lean.js similarity index 99% rename from assets/en_dev_api_bot_lifespan.md.CB0llI1b.lean.js rename to assets/en_dev_api_bot_lifespan.md.BhXMIeK8.lean.js index aad7f3cd..1c1eae12 100644 --- a/assets/en_dev_api_bot_lifespan.md.CB0llI1b.lean.js +++ b/assets/en_dev_api_bot_lifespan.md.BhXMIeK8.lean.js @@ -1 +1 @@ -import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return a(),n("div",null,s[0]||(s[0]=[e('

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(t,[["render",l]]);export{d as __pageData,g as default}; +import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"};function l(h,s,p,r,k,o){return e(),a("div",null,s[0]||(s[0]=[n('

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',93)]))}const g=i(t,[["render",l]]);export{d as __pageData,g as default}; diff --git a/assets/en_dev_api_comm_channel.md.BEDKOQou.js b/assets/en_dev_api_comm_channel.md.9o4TsTD5.js similarity index 99% rename from assets/en_dev_api_comm_channel.md.BEDKOQou.js rename to assets/en_dev_api_comm_channel.md.9o4TsTD5.js index 704d4a18..0c2a1518 100644 --- a/assets/en_dev_api_comm_channel.md.BEDKOQou.js +++ b/assets/en_dev_api_comm_channel.md.9o4TsTD5.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"en/dev/api/comm/channel.md","filePath":"en/dev/api/comm/channel.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/comm/channel.md"};function l(h,s,p,k,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"en/dev/api/comm/channel.md","filePath":"en/dev/api/comm/channel.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/comm/channel.md"};function l(h,s,p,k,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
diff --git a/assets/en_dev_api_comm_channel.md.BEDKOQou.lean.js b/assets/en_dev_api_comm_channel.md.9o4TsTD5.lean.js
similarity index 99%
rename from assets/en_dev_api_comm_channel.md.BEDKOQou.lean.js
rename to assets/en_dev_api_comm_channel.md.9o4TsTD5.lean.js
index 704d4a18..0c2a1518 100644
--- a/assets/en_dev_api_comm_channel.md.BEDKOQou.lean.js
+++ b/assets/en_dev_api_comm_channel.md.9o4TsTD5.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"en/dev/api/comm/channel.md","filePath":"en/dev/api/comm/channel.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/comm/channel.md"};function l(h,s,p,k,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"en/dev/api/comm/channel.md","filePath":"en/dev/api/comm/channel.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/comm/channel.md"};function l(h,s,p,k,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
diff --git a/assets/en_dev_api_comm_event.md.DZFP2XdR.js b/assets/en_dev_api_comm_event.md.B6Ewcgsc.js
similarity index 91%
rename from assets/en_dev_api_comm_event.md.DZFP2XdR.js
rename to assets/en_dev_api_comm_event.md.B6Ewcgsc.js
index 2f0267ca..ad72c1ef 100644
--- a/assets/en_dev_api_comm_event.md.DZFP2XdR.js
+++ b/assets/en_dev_api_comm_event.md.B6Ewcgsc.js
@@ -1 +1 @@
-import{_ as e,o as s,c as i,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"en/dev/api/comm/event.md","filePath":"en/dev/api/comm/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/comm/event.md"};function l(d,a,r,h,o,p){return s(),i("div",null,a[0]||(a[0]=[t('

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=e(n,[["render",l]]);export{c as __pageData,m as default}; +import{_ as e,c as s,a7 as i,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"en/dev/api/comm/event.md","filePath":"en/dev/api/comm/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/comm/event.md"};function l(d,a,r,h,o,p){return t(),s("div",null,a[0]||(a[0]=[i('

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=e(n,[["render",l]]);export{c as __pageData,m as default}; diff --git a/assets/en_dev_api_comm_event.md.DZFP2XdR.lean.js b/assets/en_dev_api_comm_event.md.B6Ewcgsc.lean.js similarity index 91% rename from assets/en_dev_api_comm_event.md.DZFP2XdR.lean.js rename to assets/en_dev_api_comm_event.md.B6Ewcgsc.lean.js index 2f0267ca..ad72c1ef 100644 --- a/assets/en_dev_api_comm_event.md.DZFP2XdR.lean.js +++ b/assets/en_dev_api_comm_event.md.B6Ewcgsc.lean.js @@ -1 +1 @@ -import{_ as e,o as s,c as i,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"en/dev/api/comm/event.md","filePath":"en/dev/api/comm/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/comm/event.md"};function l(d,a,r,h,o,p){return s(),i("div",null,a[0]||(a[0]=[t('

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=e(n,[["render",l]]);export{c as __pageData,m as default}; +import{_ as e,c as s,a7 as i,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.comm.event","description":"","frontmatter":{"title":"liteyuki.comm.event"},"headers":[],"relativePath":"en/dev/api/comm/event.md","filePath":"en/dev/api/comm/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/comm/event.md"};function l(d,a,r,h,o,p){return t(),s("div",null,a[0]||(a[0]=[i('

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):\n    self.name = name\n    self.data = data
',6)]))}const m=e(n,[["render",l]]);export{c as __pageData,m as default}; diff --git a/assets/en_dev_api_comm_index.md.fm8_o36k.js b/assets/en_dev_api_comm_index.md.D5APenBy.js similarity index 77% rename from assets/en_dev_api_comm_index.md.fm8_o36k.js rename to assets/en_dev_api_comm_index.md.D5APenBy.js index 6db7bd2e..69e9c121 100644 --- a/assets/en_dev_api_comm_index.md.fm8_o36k.js +++ b/assets/en_dev_api_comm_index.md.D5APenBy.js @@ -1 +1 @@ -import{_ as o,o as l,c as n,j as e,a}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"en/dev/api/comm/index.md","filePath":"en/dev/api/comm/index.md","lastUpdated":null}'),i={name:"en/dev/api/comm/index.md"};function d(m,t,r,c,s,u){return l(),n("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-comm",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-comm","aria-label":'Permalink to "**Module** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(i,[["render",d]]);export{_ as __pageData,f as default}; +import{_ as o,c as l,j as e,a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"en/dev/api/comm/index.md","filePath":"en/dev/api/comm/index.md","lastUpdated":null}'),i={name:"en/dev/api/comm/index.md"};function d(m,t,r,c,s,u){return n(),l("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-comm",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-comm","aria-label":'Permalink to "**Module** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(i,[["render",d]]);export{_ as __pageData,f as default}; diff --git a/assets/en_dev_api_comm_index.md.fm8_o36k.lean.js b/assets/en_dev_api_comm_index.md.D5APenBy.lean.js similarity index 77% rename from assets/en_dev_api_comm_index.md.fm8_o36k.lean.js rename to assets/en_dev_api_comm_index.md.D5APenBy.lean.js index 6db7bd2e..69e9c121 100644 --- a/assets/en_dev_api_comm_index.md.fm8_o36k.lean.js +++ b/assets/en_dev_api_comm_index.md.D5APenBy.lean.js @@ -1 +1 @@ -import{_ as o,o as l,c as n,j as e,a}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"en/dev/api/comm/index.md","filePath":"en/dev/api/comm/index.md","lastUpdated":null}'),i={name:"en/dev/api/comm/index.md"};function d(m,t,r,c,s,u){return l(),n("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-comm",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-comm","aria-label":'Permalink to "**Module** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(i,[["render",d]]);export{_ as __pageData,f as default}; +import{_ as o,c as l,j as e,a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.comm","description":"","frontmatter":{"title":"liteyuki.comm","collapsed":true},"headers":[],"relativePath":"en/dev/api/comm/index.md","filePath":"en/dev/api/comm/index.md","lastUpdated":null}'),i={name:"en/dev/api/comm/index.md"};function d(m,t,r,c,s,u){return n(),l("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-comm",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.comm"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-comm","aria-label":'Permalink to "**Module** `liteyuki.comm`"'},"​")],-1),e("p",null,"该模块用于轻雪主进程和Nonebot子进程之间的通信 依赖关系 event -> _ storage -> channel_ rpc -> channel_, storage",-1)]))}const f=o(i,[["render",d]]);export{_ as __pageData,f as default}; diff --git a/assets/en_dev_api_comm_storage.md.CrdoT2Rt.js b/assets/en_dev_api_comm_storage.md.iLOczApS.js similarity index 99% rename from assets/en_dev_api_comm_storage.md.CrdoT2Rt.js rename to assets/en_dev_api_comm_storage.md.iLOczApS.js index 4cc0b92a..d1b37031 100644 --- a/assets/en_dev_api_comm_storage.md.CrdoT2Rt.js +++ b/assets/en_dev_api_comm_storage.md.iLOczApS.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"en/dev/api/comm/storage.md","filePath":"en/dev/api/comm/storage.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/comm/storage.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"en/dev/api/comm/storage.md","filePath":"en/dev/api/comm/storage.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/comm/storage.md"};function l(h,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
diff --git a/assets/en_dev_api_comm_storage.md.CrdoT2Rt.lean.js b/assets/en_dev_api_comm_storage.md.iLOczApS.lean.js
similarity index 99%
rename from assets/en_dev_api_comm_storage.md.CrdoT2Rt.lean.js
rename to assets/en_dev_api_comm_storage.md.iLOczApS.lean.js
index 4cc0b92a..d1b37031 100644
--- a/assets/en_dev_api_comm_storage.md.CrdoT2Rt.lean.js
+++ b/assets/en_dev_api_comm_storage.md.iLOczApS.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"en/dev/api/comm/storage.md","filePath":"en/dev/api/comm/storage.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/comm/storage.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"en/dev/api/comm/storage.md","filePath":"en/dev/api/comm/storage.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/comm/storage.md"};function l(h,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
diff --git a/assets/en_dev_api_config.md.DXvPY7q0.js b/assets/en_dev_api_config.md.CztCBMac.js
similarity index 99%
rename from assets/en_dev_api_config.md.DXvPY7q0.js
rename to assets/en_dev_api_config.md.CztCBMac.js
index 8d921ed8..dbf396b3 100644
--- a/assets/en_dev_api_config.md.DXvPY7q0.js
+++ b/assets/en_dev_api_config.md.CztCBMac.js
@@ -1,4 +1,4 @@
-import{_ as a,o as n,c as t,a7 as s,j as h}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"};function k(p,i,e,r,d,g){return n(),t("div",null,i[0]||(i[0]=[s('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',6),h("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+import{_ as a,c as n,a7 as s,j as t,o as h}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"};function k(p,i,e,r,d,g){return h(),n("div",null,i[0]||(i[0]=[s('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',6),t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
diff --git a/assets/en_dev_api_config.md.DXvPY7q0.lean.js b/assets/en_dev_api_config.md.CztCBMac.lean.js
similarity index 99%
rename from assets/en_dev_api_config.md.DXvPY7q0.lean.js
rename to assets/en_dev_api_config.md.CztCBMac.lean.js
index 8d921ed8..dbf396b3 100644
--- a/assets/en_dev_api_config.md.DXvPY7q0.lean.js
+++ b/assets/en_dev_api_config.md.CztCBMac.lean.js
@@ -1,4 +1,4 @@
-import{_ as a,o as n,c as t,a7 as s,j as h}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"};function k(p,i,e,r,d,g){return n(),t("div",null,i[0]||(i[0]=[s('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',6),h("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+import{_ as a,c as n,a7 as s,j as t,o as h}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"};function k(p,i,e,r,d,g){return h(),n("div",null,i[0]||(i[0]=[s('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',6),t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),s(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
diff --git a/assets/en_dev_api_core_index.md.B8YwtibJ.js b/assets/en_dev_api_core_index.md.B0Enriow.js
similarity index 73%
rename from assets/en_dev_api_core_index.md.B8YwtibJ.js
rename to assets/en_dev_api_core_index.md.B0Enriow.js
index 861e3a02..d745968b 100644
--- a/assets/en_dev_api_core_index.md.B8YwtibJ.js
+++ b/assets/en_dev_api_core_index.md.B0Enriow.js
@@ -1 +1 @@
-import{_ as o,o as r,c as i,j as e,a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"en/dev/api/core/index.md","filePath":"en/dev/api/core/index.md","lastUpdated":null}'),l={name:"en/dev/api/core/index.md"};function d(n,t,c,s,u,p){return r(),i("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-core",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-core","aria-label":'Permalink to "**Module** `liteyuki.core`"'},"​")],-1)]))}const k=o(l,[["render",d]]);export{f as __pageData,k as default};
+import{_ as o,c as r,j as e,a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"en/dev/api/core/index.md","filePath":"en/dev/api/core/index.md","lastUpdated":null}'),l={name:"en/dev/api/core/index.md"};function d(n,t,c,s,u,p){return i(),r("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-core",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-core","aria-label":'Permalink to "**Module** `liteyuki.core`"'},"​")],-1)]))}const k=o(l,[["render",d]]);export{f as __pageData,k as default};
diff --git a/assets/en_dev_api_core_index.md.B8YwtibJ.lean.js b/assets/en_dev_api_core_index.md.B0Enriow.lean.js
similarity index 73%
rename from assets/en_dev_api_core_index.md.B8YwtibJ.lean.js
rename to assets/en_dev_api_core_index.md.B0Enriow.lean.js
index 861e3a02..d745968b 100644
--- a/assets/en_dev_api_core_index.md.B8YwtibJ.lean.js
+++ b/assets/en_dev_api_core_index.md.B0Enriow.lean.js
@@ -1 +1 @@
-import{_ as o,o as r,c as i,j as e,a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"en/dev/api/core/index.md","filePath":"en/dev/api/core/index.md","lastUpdated":null}'),l={name:"en/dev/api/core/index.md"};function d(n,t,c,s,u,p){return r(),i("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-core",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-core","aria-label":'Permalink to "**Module** `liteyuki.core`"'},"​")],-1)]))}const k=o(l,[["render",d]]);export{f as __pageData,k as default};
+import{_ as o,c as r,j as e,a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"liteyuki.core","description":"","frontmatter":{"title":"liteyuki.core","collapsed":true},"headers":[],"relativePath":"en/dev/api/core/index.md","filePath":"en/dev/api/core/index.md","lastUpdated":null}'),l={name:"en/dev/api/core/index.md"};function d(n,t,c,s,u,p){return i(),r("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-core",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.core"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-core","aria-label":'Permalink to "**Module** `liteyuki.core`"'},"​")],-1)]))}const k=o(l,[["render",d]]);export{f as __pageData,k as default};
diff --git a/assets/en_dev_api_core_manager.md.DY8pAztC.js b/assets/en_dev_api_core_manager.md.BxSjacF3.js
similarity index 99%
rename from assets/en_dev_api_core_manager.md.DY8pAztC.js
rename to assets/en_dev_api_core_manager.md.BxSjacF3.js
index e4970ca9..1b0a5618 100644
--- a/assets/en_dev_api_core_manager.md.DY8pAztC.js
+++ b/assets/en_dev_api_core_manager.md.BxSjacF3.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/core/manager.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/core/manager.md"};function l(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
diff --git a/assets/en_dev_api_core_manager.md.DY8pAztC.lean.js b/assets/en_dev_api_core_manager.md.BxSjacF3.lean.js
similarity index 99%
rename from assets/en_dev_api_core_manager.md.DY8pAztC.lean.js
rename to assets/en_dev_api_core_manager.md.BxSjacF3.lean.js
index e4970ca9..1b0a5618 100644
--- a/assets/en_dev_api_core_manager.md.DY8pAztC.lean.js
+++ b/assets/en_dev_api_core_manager.md.BxSjacF3.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/core/manager.md"};function l(h,s,k,p,r,d){return a(),n("div",null,s[0]||(s[0]=[e(`

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/core/manager.md"};function l(h,s,k,p,r,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
diff --git a/assets/en_dev_api_dev_index.md.BsvLsbb9.js b/assets/en_dev_api_dev_index.md.C5EYx4Z-.js
similarity index 74%
rename from assets/en_dev_api_dev_index.md.BsvLsbb9.js
rename to assets/en_dev_api_dev_index.md.C5EYx4Z-.js
index de0880bc..98722476 100644
--- a/assets/en_dev_api_dev_index.md.BsvLsbb9.js
+++ b/assets/en_dev_api_dev_index.md.C5EYx4Z-.js
@@ -1 +1 @@
-import{_ as d,o as l,c as i,j as e,a}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"en/dev/api/dev/index.md","filePath":"en/dev/api/dev/index.md","lastUpdated":null}'),n={name:"en/dev/api/dev/index.md"};function o(r,t,s,u,c,p){return l(),i("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-dev",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-dev","aria-label":'Permalink to "**Module** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",o]]);export{m as __pageData,f as default};
+import{_ as d,c as l,j as e,a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"en/dev/api/dev/index.md","filePath":"en/dev/api/dev/index.md","lastUpdated":null}'),n={name:"en/dev/api/dev/index.md"};function o(r,t,s,u,c,p){return i(),l("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-dev",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-dev","aria-label":'Permalink to "**Module** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",o]]);export{m as __pageData,f as default};
diff --git a/assets/en_dev_api_dev_index.md.BsvLsbb9.lean.js b/assets/en_dev_api_dev_index.md.C5EYx4Z-.lean.js
similarity index 74%
rename from assets/en_dev_api_dev_index.md.BsvLsbb9.lean.js
rename to assets/en_dev_api_dev_index.md.C5EYx4Z-.lean.js
index de0880bc..98722476 100644
--- a/assets/en_dev_api_dev_index.md.BsvLsbb9.lean.js
+++ b/assets/en_dev_api_dev_index.md.C5EYx4Z-.lean.js
@@ -1 +1 @@
-import{_ as d,o as l,c as i,j as e,a}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"en/dev/api/dev/index.md","filePath":"en/dev/api/dev/index.md","lastUpdated":null}'),n={name:"en/dev/api/dev/index.md"};function o(r,t,s,u,c,p){return l(),i("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-dev",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-dev","aria-label":'Permalink to "**Module** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",o]]);export{m as __pageData,f as default};
+import{_ as d,c as l,j as e,a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.dev","description":"","frontmatter":{"title":"liteyuki.dev","collapsed":true},"headers":[],"relativePath":"en/dev/api/dev/index.md","filePath":"en/dev/api/dev/index.md","lastUpdated":null}'),n={name:"en/dev/api/dev/index.md"};function o(r,t,s,u,c,p){return i(),l("div",null,t[0]||(t[0]=[e("h1",{id:"module-liteyuki-dev",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.dev"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-dev","aria-label":'Permalink to "**Module** `liteyuki.dev`"'},"​")],-1),e("p",null,"该模块用于存放一些开发工具",-1)]))}const f=d(n,[["render",o]]);export{m as __pageData,f as default};
diff --git a/assets/en_dev_api_dev_observer.md.Z8JLVw48.js b/assets/en_dev_api_dev_observer.md.BQeg5dYN.js
similarity index 98%
rename from assets/en_dev_api_dev_observer.md.Z8JLVw48.js
rename to assets/en_dev_api_dev_observer.md.BQeg5dYN.js
index 1a3f7d48..740ede47 100644
--- a/assets/en_dev_api_dev_observer.md.Z8JLVw48.js
+++ b/assets/en_dev_api_dev_observer.md.BQeg5dYN.js
@@ -1,4 +1,4 @@
-import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
+import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return n(),e("div",null,s[0]||(s[0]=[a(`

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
 
     def decorator(func):
 
diff --git a/assets/en_dev_api_dev_observer.md.Z8JLVw48.lean.js b/assets/en_dev_api_dev_observer.md.BQeg5dYN.lean.js
similarity index 98%
rename from assets/en_dev_api_dev_observer.md.Z8JLVw48.lean.js
rename to assets/en_dev_api_dev_observer.md.BQeg5dYN.lean.js
index 1a3f7d48..740ede47 100644
--- a/assets/en_dev_api_dev_observer.md.Z8JLVw48.lean.js
+++ b/assets/en_dev_api_dev_observer.md.BQeg5dYN.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return e(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
+import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/dev/observer.md"};function l(h,s,p,r,k,d){return n(),e("div",null,s[0]||(s[0]=[a(`

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
 
     def decorator(func):
 
diff --git a/assets/en_dev_api_dev_plugin.md.B4YGlvi7.js b/assets/en_dev_api_dev_plugin.md.BdeVORHv.js
similarity index 93%
rename from assets/en_dev_api_dev_plugin.md.B4YGlvi7.js
rename to assets/en_dev_api_dev_plugin.md.BdeVORHv.js
index c3df00b4..939c3c1a 100644
--- a/assets/en_dev_api_dev_plugin.md.B4YGlvi7.js
+++ b/assets/en_dev_api_dev_plugin.md.BdeVORHv.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"};function l(p,i,h,k,r,d){return a(),t("div",null,i[0]||(i[0]=[n(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
+import{_ as s,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"};function l(p,i,h,k,r,d){return n(),a("div",null,i[0]||(i[0]=[t(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
diff --git a/assets/en_dev_api_dev_plugin.md.B4YGlvi7.lean.js b/assets/en_dev_api_dev_plugin.md.BdeVORHv.lean.js
similarity index 93%
rename from assets/en_dev_api_dev_plugin.md.B4YGlvi7.lean.js
rename to assets/en_dev_api_dev_plugin.md.BdeVORHv.lean.js
index c3df00b4..939c3c1a 100644
--- a/assets/en_dev_api_dev_plugin.md.B4YGlvi7.lean.js
+++ b/assets/en_dev_api_dev_plugin.md.BdeVORHv.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as t,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"};function l(p,i,h,k,r,d){return a(),t("div",null,i[0]||(i[0]=[n(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
+import{_ as s,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"};function l(p,i,h,k,r,d){return n(),a("div",null,i[0]||(i[0]=[t(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
diff --git a/assets/en_dev_api_exception.md.Bi5kZE7B.js b/assets/en_dev_api_exception.md.1T6ATWif.js
similarity index 76%
rename from assets/en_dev_api_exception.md.Bi5kZE7B.js
rename to assets/en_dev_api_exception.md.1T6ATWif.js
index 645a449c..7567a2a1 100644
--- a/assets/en_dev_api_exception.md.Bi5kZE7B.js
+++ b/assets/en_dev_api_exception.md.1T6ATWif.js
@@ -1 +1 @@
-import{_ as t,o as i,c as o,a7 as a}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"en/dev/api/exception.md","filePath":"en/dev/api/exception.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/exception.md"};function c(s,e,l,p,r,d){return i(),o("div",null,e[0]||(e[0]=[a('

Module liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{x as __pageData,k as default}; +import{_ as t,c as i,a7 as o,o as a}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"en/dev/api/exception.md","filePath":"en/dev/api/exception.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/exception.md"};function c(s,e,l,p,r,d){return a(),i("div",null,e[0]||(e[0]=[o('

Module liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{x as __pageData,k as default}; diff --git a/assets/en_dev_api_exception.md.Bi5kZE7B.lean.js b/assets/en_dev_api_exception.md.1T6ATWif.lean.js similarity index 76% rename from assets/en_dev_api_exception.md.Bi5kZE7B.lean.js rename to assets/en_dev_api_exception.md.1T6ATWif.lean.js index 645a449c..7567a2a1 100644 --- a/assets/en_dev_api_exception.md.Bi5kZE7B.lean.js +++ b/assets/en_dev_api_exception.md.1T6ATWif.lean.js @@ -1 +1 @@ -import{_ as t,o as i,c as o,a7 as a}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"en/dev/api/exception.md","filePath":"en/dev/api/exception.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/exception.md"};function c(s,e,l,p,r,d){return i(),o("div",null,e[0]||(e[0]=[a('

Module liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{x as __pageData,k as default}; +import{_ as t,c as i,a7 as o,o as a}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"liteyuki.exception","description":"","frontmatter":{"title":"liteyuki.exception"},"headers":[],"relativePath":"en/dev/api/exception.md","filePath":"en/dev/api/exception.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/exception.md"};function c(s,e,l,p,r,d){return a(),i("div",null,e[0]||(e[0]=[o('

Module liteyuki.exception

exception模块包含了liteyuki运行中的所有错误

class LiteyukiException(BaseException)

',3)]))}const k=t(n,[["render",c]]);export{x as __pageData,k as default}; diff --git a/assets/en_dev_api_index.md.BRwWnJjT.js b/assets/en_dev_api_index.md.BRwWnJjT.js deleted file mode 100644 index 55928b3f..00000000 --- a/assets/en_dev_api_index.md.BRwWnJjT.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,o as a,c as i,a7 as o}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"en/dev/api/index.md","filePath":"en/dev/api/index.md","lastUpdated":null}'),r={name:"en/dev/api/index.md"};function l(n,e,d,s,u,c){return a(),i("div",null,e[0]||(e[0]=[o('

Module liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • Description: 测试版本号

  • Default: '6.3.10'

',5)]))}const m=t(r,[["render",l]]);export{_ as __pageData,m as default}; diff --git a/assets/en_dev_api_index.md.BRwWnJjT.lean.js b/assets/en_dev_api_index.md.BRwWnJjT.lean.js deleted file mode 100644 index 55928b3f..00000000 --- a/assets/en_dev_api_index.md.BRwWnJjT.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,o as a,c as i,a7 as o}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"en/dev/api/index.md","filePath":"en/dev/api/index.md","lastUpdated":null}'),r={name:"en/dev/api/index.md"};function l(n,e,d,s,u,c){return a(),i("div",null,e[0]||(e[0]=[o('

Module liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • Description: 测试版本号

  • Default: '6.3.10'

',5)]))}const m=t(r,[["render",l]]);export{_ as __pageData,m as default}; diff --git a/assets/en_dev_api_index.md.DXW2vEc5.js b/assets/en_dev_api_index.md.DXW2vEc5.js new file mode 100644 index 00000000..a6ad46c7 --- /dev/null +++ b/assets/en_dev_api_index.md.DXW2vEc5.js @@ -0,0 +1 @@ +import{_ as t,c as a,a7 as i,o}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"en/dev/api/index.md","filePath":"en/dev/api/index.md","lastUpdated":null}'),r={name:"en/dev/api/index.md"};function l(n,e,d,s,u,c){return o(),a("div",null,e[0]||(e[0]=[i('

Module liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • Description: 测试版本号

  • Default: '6.3.10'

',5)]))}const m=t(r,[["render",l]]);export{_ as __pageData,m as default}; diff --git a/assets/en_dev_api_index.md.DXW2vEc5.lean.js b/assets/en_dev_api_index.md.DXW2vEc5.lean.js new file mode 100644 index 00000000..a6ad46c7 --- /dev/null +++ b/assets/en_dev_api_index.md.DXW2vEc5.lean.js @@ -0,0 +1 @@ +import{_ as t,c as a,a7 as i,o}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki API","description":"","frontmatter":{"title":"liteyuki API","collapsed":true,"order":100},"headers":[],"relativePath":"en/dev/api/index.md","filePath":"en/dev/api/index.md","lastUpdated":null}'),r={name:"en/dev/api/index.md"};function l(n,e,d,s,u,c){return o(),a("div",null,e[0]||(e[0]=[i('

Module liteyuki

此模块为liteyuki的框架整体

This module is the overall framework of liteyuki.

var __version__

  • Description: 测试版本号

  • Default: '6.3.10'

',5)]))}const m=t(r,[["render",l]]);export{_ as __pageData,m as default}; diff --git a/assets/en_dev_api_log.md.CYlQgvc9.js b/assets/en_dev_api_log.md.DI2PEAHZ.js similarity index 98% rename from assets/en_dev_api_log.md.CYlQgvc9.js rename to assets/en_dev_api_log.md.DI2PEAHZ.js index d6c4bd0f..47139f7d 100644 --- a/assets/en_dev_api_log.md.CYlQgvc9.js +++ b/assets/en_dev_api_log.md.DI2PEAHZ.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as h,a7 as k}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/log.md"};function t(n,s,p,e,E,r){return a(),h("div",null,s[0]||(s[0]=[k(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
+import{_ as i,c as a,a7 as h,o as k}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/log.md"};function t(n,s,p,e,E,r){return k(),a("div",null,s[0]||(s[0]=[h(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
diff --git a/assets/en_dev_api_log.md.CYlQgvc9.lean.js b/assets/en_dev_api_log.md.DI2PEAHZ.lean.js
similarity index 98%
rename from assets/en_dev_api_log.md.CYlQgvc9.lean.js
rename to assets/en_dev_api_log.md.DI2PEAHZ.lean.js
index d6c4bd0f..47139f7d 100644
--- a/assets/en_dev_api_log.md.CYlQgvc9.lean.js
+++ b/assets/en_dev_api_log.md.DI2PEAHZ.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as h,a7 as k}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/log.md"};function t(n,s,p,e,E,r){return a(),h("div",null,s[0]||(s[0]=[k(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
+import{_ as i,c as a,a7 as h,o as k}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/log.md"};function t(n,s,p,e,E,r){return k(),a("div",null,s[0]||(s[0]=[h(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
diff --git a/assets/en_dev_api_plugin_index.md.DMMLxcgg.js b/assets/en_dev_api_plugin_index.md.DmyyE7_n.js
similarity index 91%
rename from assets/en_dev_api_plugin_index.md.DMMLxcgg.js
rename to assets/en_dev_api_plugin_index.md.DmyyE7_n.js
index 2b70fa39..f1d8cb67 100644
--- a/assets/en_dev_api_plugin_index.md.DMMLxcgg.js
+++ b/assets/en_dev_api_plugin_index.md.DmyyE7_n.js
@@ -1 +1 @@
-import{_ as t,o as e,c as s,a7 as a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugin/index.md"};function l(d,i,p,o,r,u){return e(),s("div",null,i[0]||(i[0]=[a('

Module liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const h=t(n,[["render",l]]);export{c as __pageData,h as default}; +import{_ as t,c as e,a7 as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugin/index.md"};function l(d,i,p,o,r,u){return a(),e("div",null,i[0]||(i[0]=[s('

Module liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const h=t(n,[["render",l]]);export{c as __pageData,h as default}; diff --git a/assets/en_dev_api_plugin_index.md.DMMLxcgg.lean.js b/assets/en_dev_api_plugin_index.md.DmyyE7_n.lean.js similarity index 91% rename from assets/en_dev_api_plugin_index.md.DMMLxcgg.lean.js rename to assets/en_dev_api_plugin_index.md.DmyyE7_n.lean.js index 2b70fa39..f1d8cb67 100644 --- a/assets/en_dev_api_plugin_index.md.DMMLxcgg.lean.js +++ b/assets/en_dev_api_plugin_index.md.DmyyE7_n.lean.js @@ -1 +1 @@ -import{_ as t,o as e,c as s,a7 as a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugin/index.md"};function l(d,i,p,o,r,u){return e(),s("div",null,i[0]||(i[0]=[a('

Module liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const h=t(n,[["render",l]]);export{c as __pageData,h as default}; +import{_ as t,c as e,a7 as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugin/index.md"};function l(d,i,p,o,r,u){return a(),e("div",null,i[0]||(i[0]=[s('

Module liteyuki.plugin


func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',6)]))}const h=t(n,[["render",l]]);export{c as __pageData,h as default}; diff --git a/assets/en_dev_api_plugin_load.md.DBI0e8uW.js b/assets/en_dev_api_plugin_load.md.Czs4uISw.js similarity index 99% rename from assets/en_dev_api_plugin_load.md.DBI0e8uW.js rename to assets/en_dev_api_plugin_load.md.Czs4uISw.js index ce629cf3..0ccd7100 100644 --- a/assets/en_dev_api_plugin_load.md.DBI0e8uW.js +++ b/assets/en_dev_api_plugin_load.md.Czs4uISw.js @@ -1,4 +1,4 @@ -import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"en/dev/api/plugin/load.md","filePath":"en/dev/api/plugin/load.md","lastUpdated":1725101868000}'),d={name:"en/dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=k("y");return t(),p("div",null,[s[3]||(s[3]=i(`

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+import{_ as l,c as k,a7 as i,j as a,a as n,G as t,w as p,B as e,o as E}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"en/dev/api/plugin/load.md","filePath":"en/dev/api/plugin/load.md","lastUpdated":1725101868000}'),d={name:"en/dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=e("y");return E(),k("div",null,[s[3]||(s[3]=i(`

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -48,7 +48,7 @@ import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./ch
                 load_plugin(module_name)
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
-    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"Return",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),e(h,null,{default:E(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
+    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"Return",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),t(h,null,{default:p(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
diff --git a/assets/en_dev_api_plugin_load.md.DBI0e8uW.lean.js b/assets/en_dev_api_plugin_load.md.Czs4uISw.lean.js
similarity index 99%
rename from assets/en_dev_api_plugin_load.md.DBI0e8uW.lean.js
rename to assets/en_dev_api_plugin_load.md.Czs4uISw.lean.js
index ce629cf3..0ccd7100 100644
--- a/assets/en_dev_api_plugin_load.md.DBI0e8uW.lean.js
+++ b/assets/en_dev_api_plugin_load.md.Czs4uISw.lean.js
@@ -1,4 +1,4 @@
-import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./chunks/framework._avq4Ty7.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"en/dev/api/plugin/load.md","filePath":"en/dev/api/plugin/load.md","lastUpdated":1725101868000}'),d={name:"en/dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=k("y");return t(),p("div",null,[s[3]||(s[3]=i(`

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+import{_ as l,c as k,a7 as i,j as a,a as n,G as t,w as p,B as e,o as E}from"./chunks/framework.Z6UMW4JZ.js";const _=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"en/dev/api/plugin/load.md","filePath":"en/dev/api/plugin/load.md","lastUpdated":1725101868000}'),d={name:"en/dev/api/plugin/load.md"};function r(g,s,y,F,o,u){const h=e("y");return E(),k("div",null,[s[3]||(s[3]=i(`

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -48,7 +48,7 @@ import{_ as l,B as k,o as t,c as p,a7 as i,j as a,a as n,G as e,w as E}from"./ch
                 load_plugin(module_name)
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
-    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"Return",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),e(h,null,{default:E(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
+    return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,20)),a("p",null,[s[1]||(s[1]=a("strong",null,"Return",-1)),s[2]||(s[2]=n(": str: 设置后的插件名称 ")),t(h,null,{default:p(()=>s[0]||(s[0]=[n("name")])),_:1})]),s[4]||(s[4]=i(`
Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
diff --git a/assets/en_dev_api_plugin_manager.md.YuROJtz4.js b/assets/en_dev_api_plugin_manager.md.COXJrHdK.js
similarity index 82%
rename from assets/en_dev_api_plugin_manager.md.YuROJtz4.js
rename to assets/en_dev_api_plugin_manager.md.COXJrHdK.js
index 8bdd0362..f74ea397 100644
--- a/assets/en_dev_api_plugin_manager.md.YuROJtz4.js
+++ b/assets/en_dev_api_plugin_manager.md.COXJrHdK.js
@@ -1 +1 @@
-import{_ as t,o as i,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"en/dev/api/plugin/manager.md","filePath":"en/dev/api/plugin/manager.md","lastUpdated":1725101868000}'),r={name:"en/dev/api/plugin/manager.md"};function o(u,n,m,p,s,d){return i(),l("div",null,n[0]||(n[0]=[e("h1",{id:"module-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugin-manager","aria-label":'Permalink to "**Module** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=t(r,[["render",o]]);export{c as __pageData,k as default};
+import{_ as t,c as i,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"en/dev/api/plugin/manager.md","filePath":"en/dev/api/plugin/manager.md","lastUpdated":1725101868000}'),r={name:"en/dev/api/plugin/manager.md"};function o(u,n,m,p,s,d){return l(),i("div",null,n[0]||(n[0]=[e("h1",{id:"module-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugin-manager","aria-label":'Permalink to "**Module** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=t(r,[["render",o]]);export{c as __pageData,k as default};
diff --git a/assets/en_dev_api_plugin_manager.md.YuROJtz4.lean.js b/assets/en_dev_api_plugin_manager.md.COXJrHdK.lean.js
similarity index 82%
rename from assets/en_dev_api_plugin_manager.md.YuROJtz4.lean.js
rename to assets/en_dev_api_plugin_manager.md.COXJrHdK.lean.js
index 8bdd0362..f74ea397 100644
--- a/assets/en_dev_api_plugin_manager.md.YuROJtz4.lean.js
+++ b/assets/en_dev_api_plugin_manager.md.COXJrHdK.lean.js
@@ -1 +1 @@
-import{_ as t,o as i,c as l,j as e,a}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"en/dev/api/plugin/manager.md","filePath":"en/dev/api/plugin/manager.md","lastUpdated":1725101868000}'),r={name:"en/dev/api/plugin/manager.md"};function o(u,n,m,p,s,d){return i(),l("div",null,n[0]||(n[0]=[e("h1",{id:"module-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugin-manager","aria-label":'Permalink to "**Module** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=t(r,[["render",o]]);export{c as __pageData,k as default};
+import{_ as t,c as i,j as e,a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.plugin.manager","description":"","frontmatter":{"title":"liteyuki.plugin.manager"},"headers":[],"relativePath":"en/dev/api/plugin/manager.md","filePath":"en/dev/api/plugin/manager.md","lastUpdated":1725101868000}'),r={name:"en/dev/api/plugin/manager.md"};function o(u,n,m,p,s,d){return l(),i("div",null,n[0]||(n[0]=[e("h1",{id:"module-liteyuki-plugin-manager",tabindex:"-1"},[e("strong",null,"Module"),a(),e("code",null,"liteyuki.plugin.manager"),a(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugin-manager","aria-label":'Permalink to "**Module** `liteyuki.plugin.manager`"'},"​")],-1),e("p",null,"Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved",-1),e("p",null,[a("@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),a(" @File : manager.py @Software: PyCharm")],-1)]))}const k=t(r,[["render",o]]);export{c as __pageData,k as default};
diff --git a/assets/en_dev_api_plugin_model.md.B6LpR1IQ.js b/assets/en_dev_api_plugin_model.md.B6LpR1IQ.js
new file mode 100644
index 00000000..9fd59d30
--- /dev/null
+++ b/assets/en_dev_api_plugin_model.md.B6LpR1IQ.js
@@ -0,0 +1 @@
+import{_ as e,c as t,a7 as r,o}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"en/dev/api/plugin/model.md","filePath":"en/dev/api/plugin/model.md","lastUpdated":1725101868000}'),s={name:"en/dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return o(),t("div",null,a[0]||(a[0]=[r('

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=e(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/en_dev_api_plugin_model.md.B6LpR1IQ.lean.js b/assets/en_dev_api_plugin_model.md.B6LpR1IQ.lean.js new file mode 100644 index 00000000..9fd59d30 --- /dev/null +++ b/assets/en_dev_api_plugin_model.md.B6LpR1IQ.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,a7 as r,o}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"en/dev/api/plugin/model.md","filePath":"en/dev/api/plugin/model.md","lastUpdated":1725101868000}'),s={name:"en/dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return o(),t("div",null,a[0]||(a[0]=[r('

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=e(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/en_dev_api_plugin_model.md.DzkLtdgt.js b/assets/en_dev_api_plugin_model.md.DzkLtdgt.js deleted file mode 100644 index 8d81200f..00000000 --- a/assets/en_dev_api_plugin_model.md.DzkLtdgt.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as t,c as r,a7 as o}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"en/dev/api/plugin/model.md","filePath":"en/dev/api/plugin/model.md","lastUpdated":1725101868000}'),s={name:"en/dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return t(),r("div",null,a[0]||(a[0]=[o('

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=e(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/en_dev_api_plugin_model.md.DzkLtdgt.lean.js b/assets/en_dev_api_plugin_model.md.DzkLtdgt.lean.js deleted file mode 100644 index 8d81200f..00000000 --- a/assets/en_dev_api_plugin_model.md.DzkLtdgt.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as t,c as r,a7 as o}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"en/dev/api/plugin/model.md","filePath":"en/dev/api/plugin/model.md","lastUpdated":1725101868000}'),s={name:"en/dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return t(),r("div",null,a[0]||(a[0]=[o('

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):\n    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

',26)]))}const p=e(s,[["render",i]]);export{m as __pageData,p as default}; diff --git a/assets/en_dev_api_plugins_index.md.CcwDiD2t.js b/assets/en_dev_api_plugins_index.md.lmozQLWq.js similarity index 78% rename from assets/en_dev_api_plugins_index.md.CcwDiD2t.js rename to assets/en_dev_api_plugins_index.md.lmozQLWq.js index eccc8d3c..3b703f69 100644 --- a/assets/en_dev_api_plugins_index.md.CcwDiD2t.js +++ b/assets/en_dev_api_plugins_index.md.lmozQLWq.js @@ -1 +1 @@ -import{_ as t,o as n,c as a,j as e,a as l}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/index.md","filePath":"en/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"en/dev/api/plugins/index.md"};function u(d,i,o,r,p,c){return n(),a("div",null,i[0]||(i[0]=[e("h1",{id:"module-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"Module"),l(),e("code",null,"liteyuki.plugins"),l(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugins","aria-label":'Permalink to "**Module** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=t(s,[["render",u]]);export{m as __pageData,f as default}; +import{_ as t,c as n,j as e,a as l,o as a}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/index.md","filePath":"en/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"en/dev/api/plugins/index.md"};function u(d,i,o,r,p,c){return a(),n("div",null,i[0]||(i[0]=[e("h1",{id:"module-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"Module"),l(),e("code",null,"liteyuki.plugins"),l(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugins","aria-label":'Permalink to "**Module** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=t(s,[["render",u]]);export{m as __pageData,f as default}; diff --git a/assets/en_dev_api_plugins_index.md.CcwDiD2t.lean.js b/assets/en_dev_api_plugins_index.md.lmozQLWq.lean.js similarity index 78% rename from assets/en_dev_api_plugins_index.md.CcwDiD2t.lean.js rename to assets/en_dev_api_plugins_index.md.lmozQLWq.lean.js index eccc8d3c..3b703f69 100644 --- a/assets/en_dev_api_plugins_index.md.CcwDiD2t.lean.js +++ b/assets/en_dev_api_plugins_index.md.lmozQLWq.lean.js @@ -1 +1 @@ -import{_ as t,o as n,c as a,j as e,a as l}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/index.md","filePath":"en/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"en/dev/api/plugins/index.md"};function u(d,i,o,r,p,c){return n(),a("div",null,i[0]||(i[0]=[e("h1",{id:"module-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"Module"),l(),e("code",null,"liteyuki.plugins"),l(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugins","aria-label":'Permalink to "**Module** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=t(s,[["render",u]]);export{m as __pageData,f as default}; +import{_ as t,c as n,j as e,a as l,o as a}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugins","description":"","frontmatter":{"title":"liteyuki.plugins","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/index.md","filePath":"en/dev/api/plugins/index.md","lastUpdated":null}'),s={name:"en/dev/api/plugins/index.md"};function u(d,i,o,r,p,c){return a(),n("div",null,i[0]||(i[0]=[e("h1",{id:"module-liteyuki-plugins",tabindex:"-1"},[e("strong",null,"Module"),l(),e("code",null,"liteyuki.plugins"),l(),e("a",{class:"header-anchor",href:"#module-liteyuki-plugins","aria-label":'Permalink to "**Module** `liteyuki.plugins`"'},"​")],-1),e("p",null,"此模块为内置插件文件夹,用于存放内置插件。 This module is the built-in plugin folder, used to store built-in plugins.",-1)]))}const f=t(s,[["render",u]]);export{m as __pageData,f as default}; diff --git a/assets/en_dev_api_plugins_liteecho.md.XcPv4epx.js b/assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.js similarity index 93% rename from assets/en_dev_api_plugins_liteecho.md.XcPv4epx.js rename to assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.js index 636e5926..cf2e45b9 100644 --- a/assets/en_dev_api_plugins_liteecho.md.XcPv4epx.js +++ b/assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.js @@ -1 +1 @@ -import{_ as i,o as s,c as t,a7 as a}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"en/dev/api/plugins/liteecho.md","filePath":"en/dev/api/plugins/liteecho.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return s(),t("div",null,e[0]||(e[0]=[a('

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; +import{_ as i,c as s,a7 as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"en/dev/api/plugins/liteecho.md","filePath":"en/dev/api/plugins/liteecho.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return a(),s("div",null,e[0]||(e[0]=[t('

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; diff --git a/assets/en_dev_api_plugins_liteecho.md.XcPv4epx.lean.js b/assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.lean.js similarity index 93% rename from assets/en_dev_api_plugins_liteecho.md.XcPv4epx.lean.js rename to assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.lean.js index 636e5926..cf2e45b9 100644 --- a/assets/en_dev_api_plugins_liteecho.md.XcPv4epx.lean.js +++ b/assets/en_dev_api_plugins_liteecho.md.yC9zAc3N.lean.js @@ -1 +1 @@ -import{_ as i,o as s,c as t,a7 as a}from"./chunks/framework._avq4Ty7.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"en/dev/api/plugins/liteecho.md","filePath":"en/dev/api/plugins/liteecho.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return s(),t("div",null,e[0]||(e[0]=[a('

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; +import{_ as i,c as s,a7 as t,o as a}from"./chunks/framework.Z6UMW4JZ.js";const d=JSON.parse('{"title":"liteyuki.plugins.liteecho","description":"","frontmatter":{"title":"liteyuki.plugins.liteecho"},"headers":[],"relativePath":"en/dev/api/plugins/liteecho.md","filePath":"en/dev/api/plugins/liteecho.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/plugins/liteecho.md"};function n(h,e,o,p,r,k){return a(),s("div",null,e[0]||(e[0]=[t('

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()\nasync def liteecho(event: MessageEvent):\n    event.reply(event.raw_message.strip()[8:].strip())
',7)]))}const u=i(l,[["render",n]]);export{d as __pageData,u as default}; diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.js b/assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.js similarity index 94% rename from assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.js rename to assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.js index e2df88ad..ea4cd415 100644 --- a/assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.js +++ b/assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.js @@ -1 +1 @@ -import{_ as s,o as a,c as l,a7 as e}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,o,d,h){return a(),l("div",null,i[0]||(i[0]=[e('

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(n,[["render",t]]);export{k as __pageData,g as default}; +import{_ as s,c as a,a7 as l,o as e}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,o,d,h){return e(),a("div",null,i[0]||(i[0]=[l('

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(n,[["render",t]]);export{k as __pageData,g as default}; diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.lean.js b/assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.lean.js similarity index 94% rename from assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.lean.js rename to assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.lean.js index e2df88ad..ea4cd415 100644 --- a/assets/en_dev_api_plugins_plugin_loader_index.md.DfULXUOM.lean.js +++ b/assets/en_dev_api_plugins_plugin_loader_index.md.eXb8XUQw.lean.js @@ -1 +1 @@ -import{_ as s,o as a,c as l,a7 as e}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,o,d,h){return a(),l("div",null,i[0]||(i[0]=[e('

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(n,[["render",t]]);export{k as __pageData,g as default}; +import{_ as s,c as a,a7 as l,o as e}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"en/dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,o,d,h){return e(),a("div",null,i[0]||(i[0]=[l('

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(n,[["render",t]]);export{k as __pageData,g as default}; diff --git a/assets/en_dev_api_session_event.md.C68739Mu.js b/assets/en_dev_api_session_event.md.BL-c2pAQ.js similarity index 98% rename from assets/en_dev_api_session_event.md.C68739Mu.js rename to assets/en_dev_api_session_event.md.BL-c2pAQ.js index 2e4a1c68..3f67dde1 100644 --- a/assets/en_dev_api_session_event.md.C68739Mu.js +++ b/assets/en_dev_api_session_event.md.BL-c2pAQ.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"en/dev/api/session/event.md","filePath":"en/dev/api/session/event.md","lastUpdated":null}'),n={name:"en/dev/api/session/event.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[t(`

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"en/dev/api/session/event.md","filePath":"en/dev/api/session/event.md","lastUpdated":null}'),n={name:"en/dev/api/session/event.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
diff --git a/assets/en_dev_api_session_event.md.C68739Mu.lean.js b/assets/en_dev_api_session_event.md.BL-c2pAQ.lean.js
similarity index 98%
rename from assets/en_dev_api_session_event.md.C68739Mu.lean.js
rename to assets/en_dev_api_session_event.md.BL-c2pAQ.lean.js
index 2e4a1c68..3f67dde1 100644
--- a/assets/en_dev_api_session_event.md.C68739Mu.lean.js
+++ b/assets/en_dev_api_session_event.md.BL-c2pAQ.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"en/dev/api/session/event.md","filePath":"en/dev/api/session/event.md","lastUpdated":null}'),n={name:"en/dev/api/session/event.md"};function h(l,s,k,p,r,d){return a(),e("div",null,s[0]||(s[0]=[t(`

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"liteyuki.session.event","description":"","frontmatter":{"title":"liteyuki.session.event"},"headers":[],"relativePath":"en/dev/api/session/event.md","filePath":"en/dev/api/session/event.md","lastUpdated":null}'),n={name:"en/dev/api/session/event.md"};function h(l,s,k,p,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
diff --git a/assets/en_dev_api_session_index.md.DlOjeQ_f.js b/assets/en_dev_api_session_index.md.Dy7UwvCr.js
similarity index 94%
rename from assets/en_dev_api_session_index.md.DlOjeQ_f.js
rename to assets/en_dev_api_session_index.md.Dy7UwvCr.js
index 7145ab25..841b70e7 100644
--- a/assets/en_dev_api_session_index.md.DlOjeQ_f.js
+++ b/assets/en_dev_api_session_index.md.Dy7UwvCr.js
@@ -1 +1 @@
-import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"en/dev/api/session/index.md","filePath":"en/dev/api/session/index.md","lastUpdated":null}'),t={name:"en/dev/api/session/index.md"};function l(h,s,k,r,p,d){return a(),e("div",null,s[0]||(s[0]=[n('

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"en/dev/api/session/index.md","filePath":"en/dev/api/session/index.md","lastUpdated":null}'),t={name:"en/dev/api/session/index.md"};function l(h,s,k,r,p,d){return n(),a("div",null,s[0]||(s[0]=[e('

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/en_dev_api_session_index.md.DlOjeQ_f.lean.js b/assets/en_dev_api_session_index.md.Dy7UwvCr.lean.js similarity index 94% rename from assets/en_dev_api_session_index.md.DlOjeQ_f.lean.js rename to assets/en_dev_api_session_index.md.Dy7UwvCr.lean.js index 7145ab25..841b70e7 100644 --- a/assets/en_dev_api_session_index.md.DlOjeQ_f.lean.js +++ b/assets/en_dev_api_session_index.md.Dy7UwvCr.lean.js @@ -1 +1 @@ -import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"en/dev/api/session/index.md","filePath":"en/dev/api/session/index.md","lastUpdated":null}'),t={name:"en/dev/api/session/index.md"};function l(h,s,k,r,p,d){return a(),e("div",null,s[0]||(s[0]=[n('

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; +import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"en/dev/api/session/index.md","filePath":"en/dev/api/session/index.md","lastUpdated":null}'),t={name:"en/dev/api/session/index.md"};function l(h,s,k,r,p,d){return n(),a("div",null,s[0]||(s[0]=[e('

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n    for msg in select(*i_chans):\n        logger.debug(f'Recv from anybot {msg}')\n        logger.info(f'Recv from anybot {msg}')
',7)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/en_dev_api_session_matcher.md.Dsdkm06f.js b/assets/en_dev_api_session_matcher.md.CRLHKgvR.js similarity index 97% rename from assets/en_dev_api_session_matcher.md.Dsdkm06f.js rename to assets/en_dev_api_session_matcher.md.CRLHKgvR.js index c77d9359..e9ec9624 100644 --- a/assets/en_dev_api_session_matcher.md.Dsdkm06f.js +++ b/assets/en_dev_api_session_matcher.md.CRLHKgvR.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"en/dev/api/session/matcher.md","filePath":"en/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"en/dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return a(),e("div",null,s[0]||(s[0]=[n(`

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
+import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"en/dev/api/session/matcher.md","filePath":"en/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"en/dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return n(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
diff --git a/assets/en_dev_api_session_matcher.md.Dsdkm06f.lean.js b/assets/en_dev_api_session_matcher.md.CRLHKgvR.lean.js
similarity index 97%
rename from assets/en_dev_api_session_matcher.md.Dsdkm06f.lean.js
rename to assets/en_dev_api_session_matcher.md.CRLHKgvR.lean.js
index c77d9359..e9ec9624 100644
--- a/assets/en_dev_api_session_matcher.md.Dsdkm06f.lean.js
+++ b/assets/en_dev_api_session_matcher.md.CRLHKgvR.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"en/dev/api/session/matcher.md","filePath":"en/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"en/dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return a(),e("div",null,s[0]||(s[0]=[n(`

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
+import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.matcher","description":"","frontmatter":{"title":"liteyuki.session.matcher"},"headers":[],"relativePath":"en/dev/api/session/matcher.md","filePath":"en/dev/api/session/matcher.md","lastUpdated":null}'),t={name:"en/dev/api/session/matcher.md"};function l(h,s,r,p,k,o){return n(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
diff --git a/assets/en_dev_api_session_message_segments.md.C40mpa6j.js b/assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.js
similarity index 90%
rename from assets/en_dev_api_session_message_segments.md.C40mpa6j.js
rename to assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.js
index 2316a380..20b66250 100644
--- a/assets/en_dev_api_session_message_segments.md.C40mpa6j.js
+++ b/assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.js
@@ -1 +1 @@
-import{_ as a,o as t,c as s,a7 as r}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return t(),s("div",null,e[0]||(e[0]=[r('

Module liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; +import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('

Module liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; diff --git a/assets/en_dev_api_session_message_segments.md.C40mpa6j.lean.js b/assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.lean.js similarity index 90% rename from assets/en_dev_api_session_message_segments.md.C40mpa6j.lean.js rename to assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.lean.js index 2316a380..20b66250 100644 --- a/assets/en_dev_api_session_message_segments.md.C40mpa6j.lean.js +++ b/assets/en_dev_api_session_message_segments.md.2Y-Kb9rZ.lean.js @@ -1 +1 @@ -import{_ as a,o as t,c as s,a7 as r}from"./chunks/framework._avq4Ty7.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return t(),s("div",null,e[0]||(e[0]=[r('

Module liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; +import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('

Module liteyuki.session.message.segments

class BaseSeg(BaseModel)

attr type: str = 'Segment'

attr data: dict[str, Any] = NO_DEFAULT

class Text(BaseSeg)

attr content: str = NO_DEFAULT

class Image(BaseSeg)

attr url: str = NO_DEFAULT

',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default}; diff --git a/assets/en_dev_api_session_models.md.5kxE35_Q.js b/assets/en_dev_api_session_models.md.hBDe-9Eh.js similarity index 99% rename from assets/en_dev_api_session_models.md.5kxE35_Q.js rename to assets/en_dev_api_session_models.md.hBDe-9Eh.js index 244a8aff..31e5ef1c 100644 --- a/assets/en_dev_api_session_models.md.5kxE35_Q.js +++ b/assets/en_dev_api_session_models.md.hBDe-9Eh.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,a7 as i}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"en/dev/api/session/models.md","filePath":"en/dev/api/session/models.md","lastUpdated":null}'),n={name:"en/dev/api/session/models.md"};function r(o,e,l,h,d,k){return s(),t("div",null,e[0]||(e[0]=[i('

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

Source code or View on GitHub
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; +import{_ as a,c as s,a7 as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"en/dev/api/session/models.md","filePath":"en/dev/api/session/models.md","lastUpdated":null}'),n={name:"en/dev/api/session/models.md"};function r(o,e,l,h,d,k){return i(),s("div",null,e[0]||(e[0]=[t('

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

Source code or View on GitHub
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; diff --git a/assets/en_dev_api_session_models.md.5kxE35_Q.lean.js b/assets/en_dev_api_session_models.md.hBDe-9Eh.lean.js similarity index 99% rename from assets/en_dev_api_session_models.md.5kxE35_Q.lean.js rename to assets/en_dev_api_session_models.md.hBDe-9Eh.lean.js index 244a8aff..31e5ef1c 100644 --- a/assets/en_dev_api_session_models.md.5kxE35_Q.lean.js +++ b/assets/en_dev_api_session_models.md.hBDe-9Eh.lean.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,a7 as i}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"en/dev/api/session/models.md","filePath":"en/dev/api/session/models.md","lastUpdated":null}'),n={name:"en/dev/api/session/models.md"};function r(o,e,l,h,d,k){return s(),t("div",null,e[0]||(e[0]=[i('

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

Source code or View on GitHub
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; +import{_ as a,c as s,a7 as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"en/dev/api/session/models.md","filePath":"en/dev/api/session/models.md","lastUpdated":null}'),n={name:"en/dev/api/session/models.md"};function r(o,e,l,h,d,k){return i(),s("div",null,e[0]||(e[0]=[t('

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property\ndef session_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}'\n    else:\n        raise ValueError('Invalid SceneType')

@property

func target_id(self)

Source code or View on GitHub
python
@property\ndef target_id(self):\n    if self.scope == SceneType.PRIVATE:\n        return f'{self.scope}:{self.user.id}'\n    elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):\n        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

',51)]))}const g=a(n,[["render",r]]);export{c as __pageData,g as default}; diff --git a/assets/en_dev_api_session_on.md.CF0RXj7a.js b/assets/en_dev_api_session_on.md.CErI_ukT.js similarity index 97% rename from assets/en_dev_api_session_on.md.CF0RXj7a.js rename to assets/en_dev_api_session_on.md.CErI_ukT.js index 5bcbf3c6..07cd660c 100644 --- a/assets/en_dev_api_session_on.md.CF0RXj7a.js +++ b/assets/en_dev_api_session_on.md.CErI_ukT.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"en/dev/api/session/on.md","filePath":"en/dev/api/session/on.md","lastUpdated":null}'),n={name:"en/dev/api/session/on.md"};function l(h,s,r,k,p,o){return a(),e("div",null,s[0]||(s[0]=[t(`

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"en/dev/api/session/on.md","filePath":"en/dev/api/session/on.md","lastUpdated":null}'),n={name:"en/dev/api/session/on.md"};function l(h,s,r,k,p,o){return t(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
diff --git a/assets/en_dev_api_session_on.md.CF0RXj7a.lean.js b/assets/en_dev_api_session_on.md.CErI_ukT.lean.js
similarity index 97%
rename from assets/en_dev_api_session_on.md.CF0RXj7a.lean.js
rename to assets/en_dev_api_session_on.md.CErI_ukT.lean.js
index 5bcbf3c6..07cd660c 100644
--- a/assets/en_dev_api_session_on.md.CF0RXj7a.lean.js
+++ b/assets/en_dev_api_session_on.md.CErI_ukT.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as e,a7 as t}from"./chunks/framework._avq4Ty7.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"en/dev/api/session/on.md","filePath":"en/dev/api/session/on.md","lastUpdated":null}'),n={name:"en/dev/api/session/on.md"};function l(h,s,r,k,p,o){return a(),e("div",null,s[0]||(s[0]=[t(`

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
+import{_ as i,c as a,a7 as e,o as t}from"./chunks/framework.Z6UMW4JZ.js";const y=JSON.parse('{"title":"liteyuki.session.on","description":"","frontmatter":{"title":"liteyuki.session.on"},"headers":[],"relativePath":"en/dev/api/session/on.md","filePath":"en/dev/api/session/on.md","lastUpdated":null}'),n={name:"en/dev/api/session/on.md"};function l(h,s,r,k,p,o){return t(),a("div",null,s[0]||(s[0]=[e(`

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
diff --git a/assets/en_dev_api_session_rule.md.e29t-o48.js b/assets/en_dev_api_session_rule.md.Ba-MhC1J.js
similarity index 98%
rename from assets/en_dev_api_session_rule.md.e29t-o48.js
rename to assets/en_dev_api_session_rule.md.Ba-MhC1J.js
index d3a502bf..47e51ced 100644
--- a/assets/en_dev_api_session_rule.md.e29t-o48.js
+++ b/assets/en_dev_api_session_rule.md.Ba-MhC1J.js
@@ -1 +1 @@
-import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"en/dev/api/session/rule.md","filePath":"en/dev/api/session/rule.md","lastUpdated":null}'),t={name:"en/dev/api/session/rule.md"};function l(h,s,r,p,k,o){return e(),a("div",null,s[0]||(s[0]=[n('

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

Source code or View on GitHub
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

Source code or View on GitHub
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

Source code or View on GitHub
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const c=i(t,[["render",l]]);export{u as __pageData,c as default}; +import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"en/dev/api/session/rule.md","filePath":"en/dev/api/session/rule.md","lastUpdated":null}'),t={name:"en/dev/api/session/rule.md"};function l(h,s,r,p,k,o){return n(),e("div",null,s[0]||(s[0]=[a('

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

Source code or View on GitHub
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

Source code or View on GitHub
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

Source code or View on GitHub
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const c=i(t,[["render",l]]);export{u as __pageData,c as default}; diff --git a/assets/en_dev_api_session_rule.md.e29t-o48.lean.js b/assets/en_dev_api_session_rule.md.Ba-MhC1J.lean.js similarity index 98% rename from assets/en_dev_api_session_rule.md.e29t-o48.lean.js rename to assets/en_dev_api_session_rule.md.Ba-MhC1J.lean.js index d3a502bf..47e51ced 100644 --- a/assets/en_dev_api_session_rule.md.e29t-o48.lean.js +++ b/assets/en_dev_api_session_rule.md.Ba-MhC1J.lean.js @@ -1 +1 @@ -import{_ as i,o as e,c as a,a7 as n}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"en/dev/api/session/rule.md","filePath":"en/dev/api/session/rule.md","lastUpdated":null}'),t={name:"en/dev/api/session/rule.md"};function l(h,s,r,p,k,o){return e(),a("div",null,s[0]||(s[0]=[n('

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

Source code or View on GitHub
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

Source code or View on GitHub
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

Source code or View on GitHub
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const c=i(t,[["render",l]]);export{u as __pageData,c as default}; +import{_ as i,c as e,a7 as a,o as n}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"liteyuki.session.rule","description":"","frontmatter":{"title":"liteyuki.session.rule"},"headers":[],"relativePath":"en/dev/api/session/rule.md","filePath":"en/dev/api/session/rule.md","lastUpdated":null}'),t={name:"en/dev/api/session/rule.md"};function l(h,s,r,p,k,o){return n(),e("div",null,s[0]||(s[0]=[a('

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):\n    self.handler = handler

func self | other: Rule => Rule

Source code or View on GitHub
python
def __or__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) or await other.handler(event)\n    return Rule(combined_handler)

func self & other: Rule => Rule

Source code or View on GitHub
python
def __and__(self, other: 'Rule') -> 'Rule':\n\n    async def combined_handler(event: MessageEvent) -> bool:\n        return await self.handler(event) and await other.handler(event)\n    return Rule(combined_handler)

async func self () event: MessageEvent => bool

Source code or View on GitHub
python
async def __call__(self, event: MessageEvent) -> bool:\n    if self.handler is None:\n        return True\n    return await self.handler(event)

@Rule

async func empty_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def empty_rule(event: MessageEvent) -> bool:\n    return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule\nasync def is_su_rule(event: MessageEvent) -> bool:\n    return str(event.user_id) in _superusers
',26)]))}const c=i(t,[["render",l]]);export{u as __pageData,c as default}; diff --git a/assets/en_dev_api_utils.md.IxF_QKMD.js b/assets/en_dev_api_utils.md.CH7CaLlN.js similarity index 98% rename from assets/en_dev_api_utils.md.IxF_QKMD.js rename to assets/en_dev_api_utils.md.CH7CaLlN.js index ae31a926..63d34e72 100644 --- a/assets/en_dev_api_utils.md.IxF_QKMD.js +++ b/assets/en_dev_api_utils.md.CH7CaLlN.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/utils.md"};function e(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/utils.md"};function e(h,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
diff --git a/assets/en_dev_api_utils.md.IxF_QKMD.lean.js b/assets/en_dev_api_utils.md.CH7CaLlN.lean.js
similarity index 98%
rename from assets/en_dev_api_utils.md.IxF_QKMD.lean.js
rename to assets/en_dev_api_utils.md.CH7CaLlN.lean.js
index ae31a926..63d34e72 100644
--- a/assets/en_dev_api_utils.md.IxF_QKMD.lean.js
+++ b/assets/en_dev_api_utils.md.CH7CaLlN.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/utils.md"};function e(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[t(`

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/utils.md"};function e(h,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n(`

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
diff --git a/assets/en_dev_best_practices.md.BL1nZ6wX.js b/assets/en_dev_best_practices.md.WpEKWBu2.js
similarity index 90%
rename from assets/en_dev_best_practices.md.BL1nZ6wX.js
rename to assets/en_dev_best_practices.md.WpEKWBu2.js
index 830ec90c..1b6a36b4 100644
--- a/assets/en_dev_best_practices.md.BL1nZ6wX.js
+++ b/assets/en_dev_best_practices.md.WpEKWBu2.js
@@ -1 +1 @@
-import{_ as e,o as i,c as a,a7 as r}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return i(),a("div",null,t[0]||(t[0]=[r('

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface
',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default}; +import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface
',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default}; diff --git a/assets/en_dev_best_practices.md.BL1nZ6wX.lean.js b/assets/en_dev_best_practices.md.WpEKWBu2.lean.js similarity index 90% rename from assets/en_dev_best_practices.md.BL1nZ6wX.lean.js rename to assets/en_dev_best_practices.md.WpEKWBu2.lean.js index 830ec90c..1b6a36b4 100644 --- a/assets/en_dev_best_practices.md.BL1nZ6wX.lean.js +++ b/assets/en_dev_best_practices.md.WpEKWBu2.lean.js @@ -1 +1 @@ -import{_ as e,o as i,c as a,a7 as r}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return i(),a("div",null,t[0]||(t[0]=[r('

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface
',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default}; +import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface
',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default}; diff --git a/assets/en_dev_comm.md.BD35_Pc4.js b/assets/en_dev_comm.md.O0Kndndk.js similarity index 98% rename from assets/en_dev_comm.md.BD35_Pc4.js rename to assets/en_dev_comm.md.O0Kndndk.js index 35261ce1..60f092ec 100644 --- a/assets/en_dev_comm.md.BD35_Pc4.js +++ b/assets/en_dev_comm.md.O0Kndndk.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[e(`

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/en_dev_comm.md.BD35_Pc4.lean.js b/assets/en_dev_comm.md.O0Kndndk.lean.js
similarity index 98%
rename from assets/en_dev_comm.md.BD35_Pc4.lean.js
rename to assets/en_dev_comm.md.O0Kndndk.lean.js
index 35261ce1..60f092ec 100644
--- a/assets/en_dev_comm.md.BD35_Pc4.lean.js
+++ b/assets/en_dev_comm.md.O0Kndndk.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as e}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return a(),n("div",null,s[0]||(s[0]=[e(`

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/en_dev_guide.md.CaoulG2S.js b/assets/en_dev_guide.md.sOTFDFZY.js
similarity index 95%
rename from assets/en_dev_guide.md.CaoulG2S.js
rename to assets/en_dev_guide.md.sOTFDFZY.js
index db0fe3ff..26f2a216 100644
--- a/assets/en_dev_guide.md.CaoulG2S.js
+++ b/assets/en_dev_guide.md.sOTFDFZY.js
@@ -1 +1 @@
-import{C as o}from"./chunks/ContributorBar.Dxof8JRG.js";import{o as t,c as i,a7 as r,G as a}from"./chunks/framework._avq4Ty7.js";import"./chunks/theme.DjavgrUf.js";const h=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},p=Object.assign(l,{setup(n){return(d,e)=>(t(),i("div",null,[e[0]||(e[0]=r('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16)),a(o)]))}});export{h as __pageData,p as default}; +import{C as o}from"./chunks/ContributorBar.DMnvUds9.js";import{c as t,a7 as i,G as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";import"./chunks/theme.BxnBdNII.js";const h=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},p=Object.assign(l,{setup(n){return(d,e)=>(a(),t("div",null,[e[0]||(e[0]=i('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16)),r(o)]))}});export{h as __pageData,p as default}; diff --git a/assets/en_dev_guide.md.CaoulG2S.lean.js b/assets/en_dev_guide.md.sOTFDFZY.lean.js similarity index 95% rename from assets/en_dev_guide.md.CaoulG2S.lean.js rename to assets/en_dev_guide.md.sOTFDFZY.lean.js index db0fe3ff..26f2a216 100644 --- a/assets/en_dev_guide.md.CaoulG2S.lean.js +++ b/assets/en_dev_guide.md.sOTFDFZY.lean.js @@ -1 +1 @@ -import{C as o}from"./chunks/ContributorBar.Dxof8JRG.js";import{o as t,c as i,a7 as r,G as a}from"./chunks/framework._avq4Ty7.js";import"./chunks/theme.DjavgrUf.js";const h=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},p=Object.assign(l,{setup(n){return(d,e)=>(t(),i("div",null,[e[0]||(e[0]=r('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16)),a(o)]))}});export{h as __pageData,p as default}; +import{C as o}from"./chunks/ContributorBar.DMnvUds9.js";import{c as t,a7 as i,G as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";import"./chunks/theme.BxnBdNII.js";const h=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},p=Object.assign(l,{setup(n){return(d,e)=>(a(),t("div",null,[e[0]||(e[0]=i('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16)),r(o)]))}});export{h as __pageData,p as default}; diff --git a/assets/en_dev_lyfunc.md.C0J7k9S-.js b/assets/en_dev_lyfunc.md.BY5uYuEV.js similarity index 97% rename from assets/en_dev_lyfunc.md.C0J7k9S-.js rename to assets/en_dev_lyfunc.md.BY5uYuEV.js index 1f66e05f..290f9a3e 100644 --- a/assets/en_dev_lyfunc.md.C0J7k9S-.js +++ b/assets/en_dev_lyfunc.md.BY5uYuEV.js @@ -1,4 +1,4 @@ -import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/en_dev_lyfunc.md.C0J7k9S-.lean.js b/assets/en_dev_lyfunc.md.BY5uYuEV.lean.js
similarity index 97%
rename from assets/en_dev_lyfunc.md.C0J7k9S-.lean.js
rename to assets/en_dev_lyfunc.md.BY5uYuEV.lean.js
index 1f66e05f..290f9a3e 100644
--- a/assets/en_dev_lyfunc.md.C0J7k9S-.lean.js
+++ b/assets/en_dev_lyfunc.md.BY5uYuEV.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/en_dev_plugin.md.CZ1fZOSs.js b/assets/en_dev_plugin.md.BRQN74vy.js
similarity index 98%
rename from assets/en_dev_plugin.md.CZ1fZOSs.js
rename to assets/en_dev_plugin.md.BRQN74vy.js
index 93c04dfb..c1341b8e 100644
--- a/assets/en_dev_plugin.md.CZ1fZOSs.js
+++ b/assets/en_dev_plugin.md.BRQN74vy.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
diff --git a/assets/en_dev_plugin.md.CZ1fZOSs.lean.js b/assets/en_dev_plugin.md.BRQN74vy.lean.js
similarity index 98%
rename from assets/en_dev_plugin.md.CZ1fZOSs.lean.js
rename to assets/en_dev_plugin.md.BRQN74vy.lean.js
index 93c04dfb..c1341b8e 100644
--- a/assets/en_dev_plugin.md.CZ1fZOSs.lean.js
+++ b/assets/en_dev_plugin.md.BRQN74vy.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,o as a,c as n,a7 as t}from"./chunks/framework._avq4Ty7.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return a(),n("div",null,s[0]||(s[0]=[t(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
diff --git a/assets/en_dev_resource.md.gbYl02_m.js b/assets/en_dev_resource.md.BiYlUcxZ.js
similarity index 95%
rename from assets/en_dev_resource.md.gbYl02_m.js
rename to assets/en_dev_resource.md.BiYlUcxZ.js
index ba8f1d65..4480e069 100644
--- a/assets/en_dev_resource.md.gbYl02_m.js
+++ b/assets/en_dev_resource.md.BiYlUcxZ.js
@@ -1,4 +1,4 @@
-import{_ as a,o as i,c as e,a7 as l}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return i(),e("div",null,s[0]||(s[0]=[l(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/en_dev_resource.md.gbYl02_m.lean.js b/assets/en_dev_resource.md.BiYlUcxZ.lean.js
similarity index 95%
rename from assets/en_dev_resource.md.gbYl02_m.lean.js
rename to assets/en_dev_resource.md.BiYlUcxZ.lean.js
index ba8f1d65..4480e069 100644
--- a/assets/en_dev_resource.md.gbYl02_m.lean.js
+++ b/assets/en_dev_resource.md.BiYlUcxZ.lean.js
@@ -1,4 +1,4 @@
-import{_ as a,o as i,c as e,a7 as l}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return i(),e("div",null,s[0]||(s[0]=[l(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/en_index.md.B7vJePRY.js b/assets/en_index.md.DfdhMtWK.js
similarity index 93%
rename from assets/en_index.md.B7vJePRY.js
rename to assets/en_index.md.DfdhMtWK.js
index 24aef7d9..2c98b6d0 100644
--- a/assets/en_index.md.B7vJePRY.js
+++ b/assets/en_index.md.DfdhMtWK.js
@@ -1 +1 @@
-import{_ as e,o as t,c as i}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"🚀 Get Started","link":"./deploy/install"},{"theme":"alt","text":"📖 Manual","link":"./usage/basic"},{"theme":"alt","text":"📦 Extensions","link":"./store/"},{"theme":"alt","text":"🛠️ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"🛠️","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"🧩","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"🎨","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"🌐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"⚙️","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"🚀","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"☁️","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"📄","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return t(),i("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
+import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"🚀 Get Started","link":"./deploy/install"},{"theme":"alt","text":"📖 Manual","link":"./usage/basic"},{"theme":"alt","text":"📦 Extensions","link":"./store/"},{"theme":"alt","text":"🛠️ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"🛠️","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"🧩","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"🎨","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"🌐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"⚙️","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"🚀","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"☁️","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"📄","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
diff --git a/assets/en_index.md.B7vJePRY.lean.js b/assets/en_index.md.DfdhMtWK.lean.js
similarity index 93%
rename from assets/en_index.md.B7vJePRY.lean.js
rename to assets/en_index.md.DfdhMtWK.lean.js
index 24aef7d9..2c98b6d0 100644
--- a/assets/en_index.md.B7vJePRY.lean.js
+++ b/assets/en_index.md.DfdhMtWK.lean.js
@@ -1 +1 @@
-import{_ as e,o as t,c as i}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"🚀 Get Started","link":"./deploy/install"},{"theme":"alt","text":"📖 Manual","link":"./usage/basic"},{"theme":"alt","text":"📦 Extensions","link":"./store/"},{"theme":"alt","text":"🛠️ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"🛠️","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"🧩","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"🎨","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"🌐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"⚙️","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"🚀","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"☁️","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"📄","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return t(),i("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
+import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"🚀 Get Started","link":"./deploy/install"},{"theme":"alt","text":"📖 Manual","link":"./usage/basic"},{"theme":"alt","text":"📦 Extensions","link":"./store/"},{"theme":"alt","text":"🛠️ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"🛠️","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"🧩","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"🎨","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"🌐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"⚙️","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"🚀","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"☁️","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"📄","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
diff --git a/assets/en_store_plugin.md.CKMtd26v.js b/assets/en_store_plugin.md.CKMtd26v.js
deleted file mode 100644
index 356b3f1e..00000000
--- a/assets/en_store_plugin.md.CKMtd26v.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,B as n,o,c as r,G as a}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=n("PluginStore");return o(),r("div",null,[a(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
diff --git a/assets/en_store_plugin.md.CKMtd26v.lean.js b/assets/en_store_plugin.md.CKMtd26v.lean.js
deleted file mode 100644
index 356b3f1e..00000000
--- a/assets/en_store_plugin.md.CKMtd26v.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,B as n,o,c as r,G as a}from"./chunks/framework._avq4Ty7.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=n("PluginStore");return o(),r("div",null,[a(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
diff --git a/assets/en_store_plugin.md.CvMn7nSM.js b/assets/en_store_plugin.md.CvMn7nSM.js
new file mode 100644
index 00000000..5f043c81
--- /dev/null
+++ b/assets/en_store_plugin.md.CvMn7nSM.js
@@ -0,0 +1 @@
+import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
diff --git a/assets/en_store_plugin.md.CvMn7nSM.lean.js b/assets/en_store_plugin.md.CvMn7nSM.lean.js
new file mode 100644
index 00000000..5f043c81
--- /dev/null
+++ b/assets/en_store_plugin.md.CvMn7nSM.lean.js
@@ -0,0 +1 @@
+import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
diff --git a/assets/en_store_resource.md.B0jzMlOl.js b/assets/en_store_resource.md.B0jzMlOl.js
deleted file mode 100644
index a52ebb58..00000000
--- a/assets/en_store_resource.md.B0jzMlOl.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,B as r,o,c as s,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=r("ResStore");return o(),s("div",null,[a(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
diff --git a/assets/en_store_resource.md.B0jzMlOl.lean.js b/assets/en_store_resource.md.B0jzMlOl.lean.js
deleted file mode 100644
index a52ebb58..00000000
--- a/assets/en_store_resource.md.B0jzMlOl.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,B as r,o,c as s,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=r("ResStore");return o(),s("div",null,[a(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
diff --git a/assets/en_store_resource.md.D47fjjFS.js b/assets/en_store_resource.md.D47fjjFS.js
new file mode 100644
index 00000000..f50af7c4
--- /dev/null
+++ b/assets/en_store_resource.md.D47fjjFS.js
@@ -0,0 +1 @@
+import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
diff --git a/assets/en_store_resource.md.D47fjjFS.lean.js b/assets/en_store_resource.md.D47fjjFS.lean.js
new file mode 100644
index 00000000..f50af7c4
--- /dev/null
+++ b/assets/en_store_resource.md.D47fjjFS.lean.js
@@ -0,0 +1 @@
+import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
diff --git a/assets/en_usage_agreement.md.DB-DF9k9.js b/assets/en_usage_agreement.md.DkWD4ht6.js
similarity index 82%
rename from assets/en_usage_agreement.md.DB-DF9k9.js
rename to assets/en_usage_agreement.md.DkWD4ht6.js
index e4f61a7b..efb449bd 100644
--- a/assets/en_usage_agreement.md.DB-DF9k9.js
+++ b/assets/en_usage_agreement.md.DkWD4ht6.js
@@ -1 +1 @@
-import{_ as t,o as a,c as o,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return a(),o("div",null,e[0]||(e[0]=[l('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; +import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; diff --git a/assets/en_usage_agreement.md.DB-DF9k9.lean.js b/assets/en_usage_agreement.md.DkWD4ht6.lean.js similarity index 82% rename from assets/en_usage_agreement.md.DB-DF9k9.lean.js rename to assets/en_usage_agreement.md.DkWD4ht6.lean.js index e4f61a7b..efb449bd 100644 --- a/assets/en_usage_agreement.md.DB-DF9k9.lean.js +++ b/assets/en_usage_agreement.md.DkWD4ht6.lean.js @@ -1 +1 @@ -import{_ as t,o as a,c as o,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return a(),o("div",null,e[0]||(e[0]=[l('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; +import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; diff --git a/assets/en_usage_basic.md.CqXCUHon.js b/assets/en_usage_basic.md.CANHEyeb.js similarity index 98% rename from assets/en_usage_basic.md.CqXCUHon.js rename to assets/en_usage_basic.md.CANHEyeb.js index d6602772..b29db8c9 100644 --- a/assets/en_usage_basic.md.CqXCUHon.js +++ b/assets/en_usage_basic.md.CANHEyeb.js @@ -1 +1 @@ -import{_ as e,o as d,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"en/usage/basic.md","filePath":"en/usage/basic.md","lastUpdated":1725101868000}'),r={name:"en/usage/basic.md"};function a(c,t,i,s,o,g){return d(),l("div",null,t[0]||(t[0]=[n('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; +import{_ as e,c as d,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"en/usage/basic.md","filePath":"en/usage/basic.md","lastUpdated":1725101868000}'),r={name:"en/usage/basic.md"};function a(c,t,i,s,o,g){return n(),d("div",null,t[0]||(t[0]=[l('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; diff --git a/assets/en_usage_basic.md.CqXCUHon.lean.js b/assets/en_usage_basic.md.CANHEyeb.lean.js similarity index 98% rename from assets/en_usage_basic.md.CqXCUHon.lean.js rename to assets/en_usage_basic.md.CANHEyeb.lean.js index d6602772..b29db8c9 100644 --- a/assets/en_usage_basic.md.CqXCUHon.lean.js +++ b/assets/en_usage_basic.md.CANHEyeb.lean.js @@ -1 +1 @@ -import{_ as e,o as d,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"en/usage/basic.md","filePath":"en/usage/basic.md","lastUpdated":1725101868000}'),r={name:"en/usage/basic.md"};function a(c,t,i,s,o,g){return d(),l("div",null,t[0]||(t[0]=[n('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; +import{_ as e,c as d,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"en/usage/basic.md","filePath":"en/usage/basic.md","lastUpdated":1725101868000}'),r={name:"en/usage/basic.md"};function a(c,t,i,s,o,g){return n(),d("div",null,t[0]||(t[0]=[l('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; diff --git a/assets/en_usage_extra.md.NcwXX0cF.js b/assets/en_usage_extra.md.BFSmukTP.js similarity index 97% rename from assets/en_usage_extra.md.NcwXX0cF.js rename to assets/en_usage_extra.md.BFSmukTP.js index f2413d97..a3c266f2 100644 --- a/assets/en_usage_extra.md.NcwXX0cF.js +++ b/assets/en_usage_extra.md.BFSmukTP.js @@ -1 +1 @@ -import{_ as e,o as s,c as i,a7 as a}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"en/usage/extra.md","filePath":"en/usage/extra.md","lastUpdated":1725101868000}'),l={name:"en/usage/extra.md"};function d(n,t,r,h,o,p){return s(),i("div",null,t[0]||(t[0]=[a('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; +import{_ as e,c as s,a7 as i,o as a}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"en/usage/extra.md","filePath":"en/usage/extra.md","lastUpdated":1725101868000}'),l={name:"en/usage/extra.md"};function d(n,t,r,h,o,p){return a(),s("div",null,t[0]||(t[0]=[i('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; diff --git a/assets/en_usage_extra.md.NcwXX0cF.lean.js b/assets/en_usage_extra.md.BFSmukTP.lean.js similarity index 97% rename from assets/en_usage_extra.md.NcwXX0cF.lean.js rename to assets/en_usage_extra.md.BFSmukTP.lean.js index f2413d97..a3c266f2 100644 --- a/assets/en_usage_extra.md.NcwXX0cF.lean.js +++ b/assets/en_usage_extra.md.BFSmukTP.lean.js @@ -1 +1 @@ -import{_ as e,o as s,c as i,a7 as a}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"en/usage/extra.md","filePath":"en/usage/extra.md","lastUpdated":1725101868000}'),l={name:"en/usage/extra.md"};function d(n,t,r,h,o,p){return s(),i("div",null,t[0]||(t[0]=[a('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; +import{_ as e,c as s,a7 as i,o as a}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"en/usage/extra.md","filePath":"en/usage/extra.md","lastUpdated":1725101868000}'),l={name:"en/usage/extra.md"};function d(n,t,r,h,o,p){return a(),s("div",null,t[0]||(t[0]=[i('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; diff --git a/assets/index.md.DHOhfNpJ.js b/assets/index.md.CkybII2w.js similarity index 93% rename from assets/index.md.DHOhfNpJ.js rename to assets/index.md.CkybII2w.js index 46497875..dcd9d5bb 100644 --- a/assets/index.md.DHOhfNpJ.js +++ b/assets/index.md.CkybII2w.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"轻雪机器人","tagline":"一个综合性的聊天机器人应用及管理框架","actions":[{"theme":"brand","text":"🚀 快速开始","link":"./deploy/install"},{"theme":"alt","text":"📖 使用手册","link":"./usage/basic"},{"theme":"alt","text":"📦 扩展","link":"./store/resource"},{"theme":"alt","text":"🛠️ 开发","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"生态良好","icon":"🛠️","details":"基于轻雪框架,原生支持任意Python Bot框架和应用程序","link":"./dev/api"},{"title":"插件管理","icon":"🧩","details":"使用包管理器,便捷管理插件及资源包","link":"./store/plugin"},{"title":"自由定制","icon":"🎨","details":"使用资源包对外观进行完全自定义","link":"./store/resource"},{"title":"国际化","icon":"🌐","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"⚙️","details":"无需繁琐前期过程,开箱即用","link":"./deploy/config"},{"title":"超高性能","icon":"🚀","details":"500个插件,2秒内启动"},{"title":"滚动更新","icon":"☁️","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"📄","details":"项目遵循LSO LICENCE开源,欢迎各位的贡献","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return e(),i("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default}; +import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"轻雪机器人","tagline":"一个综合性的聊天机器人应用及管理框架","actions":[{"theme":"brand","text":"🚀 快速开始","link":"./deploy/install"},{"theme":"alt","text":"📖 使用手册","link":"./usage/basic"},{"theme":"alt","text":"📦 扩展","link":"./store/resource"},{"theme":"alt","text":"🛠️ 开发","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"生态良好","icon":"🛠️","details":"基于轻雪框架,原生支持任意Python Bot框架和应用程序","link":"./dev/api"},{"title":"插件管理","icon":"🧩","details":"使用包管理器,便捷管理插件及资源包","link":"./store/plugin"},{"title":"自由定制","icon":"🎨","details":"使用资源包对外观进行完全自定义","link":"./store/resource"},{"title":"国际化","icon":"🌐","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"⚙️","details":"无需繁琐前期过程,开箱即用","link":"./deploy/config"},{"title":"超高性能","icon":"🚀","details":"500个插件,2秒内启动"},{"title":"滚动更新","icon":"☁️","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"📄","details":"项目遵循LSO LICENCE开源,欢迎各位的贡献","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default}; diff --git a/assets/index.md.DHOhfNpJ.lean.js b/assets/index.md.CkybII2w.lean.js similarity index 93% rename from assets/index.md.DHOhfNpJ.lean.js rename to assets/index.md.CkybII2w.lean.js index 46497875..dcd9d5bb 100644 --- a/assets/index.md.DHOhfNpJ.lean.js +++ b/assets/index.md.CkybII2w.lean.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"轻雪机器人","tagline":"一个综合性的聊天机器人应用及管理框架","actions":[{"theme":"brand","text":"🚀 快速开始","link":"./deploy/install"},{"theme":"alt","text":"📖 使用手册","link":"./usage/basic"},{"theme":"alt","text":"📦 扩展","link":"./store/resource"},{"theme":"alt","text":"🛠️ 开发","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"生态良好","icon":"🛠️","details":"基于轻雪框架,原生支持任意Python Bot框架和应用程序","link":"./dev/api"},{"title":"插件管理","icon":"🧩","details":"使用包管理器,便捷管理插件及资源包","link":"./store/plugin"},{"title":"自由定制","icon":"🎨","details":"使用资源包对外观进行完全自定义","link":"./store/resource"},{"title":"国际化","icon":"🌐","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"⚙️","details":"无需繁琐前期过程,开箱即用","link":"./deploy/config"},{"title":"超高性能","icon":"🚀","details":"500个插件,2秒内启动"},{"title":"滚动更新","icon":"☁️","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"📄","details":"项目遵循LSO LICENCE开源,欢迎各位的贡献","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return e(),i("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default}; +import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"轻雪机器人","tagline":"一个综合性的聊天机器人应用及管理框架","actions":[{"theme":"brand","text":"🚀 快速开始","link":"./deploy/install"},{"theme":"alt","text":"📖 使用手册","link":"./usage/basic"},{"theme":"alt","text":"📦 扩展","link":"./store/resource"},{"theme":"alt","text":"🛠️ 开发","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"生态良好","icon":"🛠️","details":"基于轻雪框架,原生支持任意Python Bot框架和应用程序","link":"./dev/api"},{"title":"插件管理","icon":"🧩","details":"使用包管理器,便捷管理插件及资源包","link":"./store/plugin"},{"title":"自由定制","icon":"🎨","details":"使用资源包对外观进行完全自定义","link":"./store/resource"},{"title":"国际化","icon":"🌐","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"⚙️","details":"无需繁琐前期过程,开箱即用","link":"./deploy/config"},{"title":"超高性能","icon":"🚀","details":"500个插件,2秒内启动"},{"title":"滚动更新","icon":"☁️","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"📄","details":"项目遵循LSO LICENCE开源,欢迎各位的贡献","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default}; diff --git a/assets/store_plugin.md.BG-hPX54.js b/assets/store_plugin.md.BG-hPX54.js deleted file mode 100644 index 7568b31f..00000000 --- a/assets/store_plugin.md.BG-hPX54.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,B as o,o as n,c as r,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"插件商店","description":"","frontmatter":{"title":"插件商店","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=o("PluginStore");return n(),r("div",null,[a(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/store_plugin.md.BG-hPX54.lean.js b/assets/store_plugin.md.BG-hPX54.lean.js deleted file mode 100644 index 7568b31f..00000000 --- a/assets/store_plugin.md.BG-hPX54.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,B as o,o as n,c as r,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"插件商店","description":"","frontmatter":{"title":"插件商店","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=o("PluginStore");return n(),r("div",null,[a(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/store_plugin.md.D_dm7knu.js b/assets/store_plugin.md.D_dm7knu.js new file mode 100644 index 00000000..8482b0ac --- /dev/null +++ b/assets/store_plugin.md.D_dm7knu.js @@ -0,0 +1 @@ +import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"插件商店","description":"","frontmatter":{"title":"插件商店","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/store_plugin.md.D_dm7knu.lean.js b/assets/store_plugin.md.D_dm7knu.lean.js new file mode 100644 index 00000000..8482b0ac --- /dev/null +++ b/assets/store_plugin.md.D_dm7knu.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"插件商店","description":"","frontmatter":{"title":"插件商店","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/store_resource.md.BShx39x7.js b/assets/store_resource.md.BShx39x7.js new file mode 100644 index 00000000..7a908f5d --- /dev/null +++ b/assets/store_resource.md.BShx39x7.js @@ -0,0 +1 @@ +import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default}; diff --git a/assets/store_resource.md.BShx39x7.lean.js b/assets/store_resource.md.BShx39x7.lean.js new file mode 100644 index 00000000..7a908f5d --- /dev/null +++ b/assets/store_resource.md.BShx39x7.lean.js @@ -0,0 +1 @@ +import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default}; diff --git a/assets/store_resource.md.DxmwBnW7.js b/assets/store_resource.md.DxmwBnW7.js deleted file mode 100644 index 2c29c44a..00000000 --- a/assets/store_resource.md.DxmwBnW7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,B as r,o,c as s,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=r("ResStore");return o(),s("div",null,[a(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default}; diff --git a/assets/store_resource.md.DxmwBnW7.lean.js b/assets/store_resource.md.DxmwBnW7.lean.js deleted file mode 100644 index 2c29c44a..00000000 --- a/assets/store_resource.md.DxmwBnW7.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,B as r,o,c as s,G as a}from"./chunks/framework._avq4Ty7.js";const f=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=r("ResStore");return o(),s("div",null,[a(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default}; diff --git a/assets/style.ibT9l-Gp.css b/assets/style.BfN3dudV.css similarity index 69% rename from assets/style.ibT9l-Gp.css rename to assets/style.BfN3dudV.css index 1f041097..da95a883 100644 --- a/assets/style.ibT9l-Gp.css +++ b/assets/style.BfN3dudV.css @@ -1 +1 @@ -@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;-webkit-user-select:none;user-select:none;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-7331f3ac]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-7331f3ac],.VPBackdrop.fade-leave-to[data-v-7331f3ac]{opacity:0}.VPBackdrop.fade-leave-active[data-v-7331f3ac]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-7331f3ac]{display:none}}.NotFound[data-v-b6b317bf]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-b6b317bf]{padding:96px 32px 168px}}.code[data-v-b6b317bf]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-b6b317bf]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-b6b317bf]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-b6b317bf]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-b6b317bf]{padding-top:20px}.link[data-v-b6b317bf]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-b6b317bf]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-4cc82222]{position:relative;z-index:1}.nested[data-v-4cc82222]{padding-right:16px;padding-left:16px}.outline-link[data-v-4cc82222]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-4cc82222]:hover,.outline-link.active[data-v-4cc82222]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-4cc82222]{padding-left:13px}.VPDocAsideOutline[data-v-f1cd1f83]{display:none}.VPDocAsideOutline.has-outline[data-v-f1cd1f83]{display:block}.content[data-v-f1cd1f83]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-f1cd1f83]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-f1cd1f83]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-d894a65d]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-d894a65d]{flex-grow:1}.VPDocAside[data-v-d894a65d] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-d894a65d] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-d894a65d] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-2530b5c9]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-2530b5c9]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-d71d06df]{margin-top:64px}.edit-info[data-v-d71d06df]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-d71d06df]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-d71d06df]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-d71d06df]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-d71d06df]{margin-right:8px}.prev-next[data-v-d71d06df]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-d71d06df]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-d71d06df]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-d71d06df]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-d71d06df]{margin-left:auto;text-align:right}.desc[data-v-d71d06df]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-d71d06df]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-92d339c1]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-92d339c1]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-92d339c1]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-92d339c1]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-92d339c1]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-92d339c1]{display:flex;justify-content:center}.VPDoc .aside[data-v-92d339c1]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-92d339c1]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-92d339c1]{max-width:1104px}}.container[data-v-92d339c1]{margin:0 auto;width:100%}.aside[data-v-92d339c1]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-92d339c1]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-92d339c1]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-92d339c1]::-webkit-scrollbar{display:none}.aside-curtain[data-v-92d339c1]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-92d339c1]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-92d339c1]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-92d339c1]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-92d339c1]{order:1;margin:0;min-width:640px}}.content-container[data-v-92d339c1]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-92d339c1]{max-width:688px}.VPButton[data-v-9866ec7a]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-9866ec7a]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-9866ec7a]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-9866ec7a]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-9866ec7a]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-9866ec7a]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-9866ec7a]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-9866ec7a]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-9866ec7a]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-9866ec7a]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-9866ec7a]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-9866ec7a]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-9866ec7a]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-e656d635]{display:none}.dark .VPImage.light[data-v-e656d635]{display:none}.VPHero[data-v-d2079e5f]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-d2079e5f]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-d2079e5f]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-d2079e5f]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-d2079e5f]{flex-direction:row}}.main[data-v-d2079e5f]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-d2079e5f]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-d2079e5f]{text-align:left}}@media (min-width: 960px){.main[data-v-d2079e5f]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-d2079e5f]{max-width:592px}}.name[data-v-d2079e5f],.text[data-v-d2079e5f]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-d2079e5f],.VPHero.has-image .text[data-v-d2079e5f]{margin:0 auto}.name[data-v-d2079e5f]{color:var(--vp-home-hero-name-color)}.clip[data-v-d2079e5f]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-d2079e5f],.text[data-v-d2079e5f]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-d2079e5f],.text[data-v-d2079e5f]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-d2079e5f],.VPHero.has-image .text[data-v-d2079e5f]{margin:0}}.tagline[data-v-d2079e5f]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-d2079e5f]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-d2079e5f]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-d2079e5f]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-d2079e5f]{margin:0}}.actions[data-v-d2079e5f]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-d2079e5f]{justify-content:center}@media (min-width: 640px){.actions[data-v-d2079e5f]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-d2079e5f]{justify-content:flex-start}}.action[data-v-d2079e5f]{flex-shrink:0;padding:6px}.image[data-v-d2079e5f]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-d2079e5f]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-d2079e5f]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-d2079e5f]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-d2079e5f]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-d2079e5f]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-d2079e5f]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-d2079e5f]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-d2079e5f]{width:320px;height:320px}}[data-v-d2079e5f] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-d2079e5f] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-d2079e5f] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-5e1d9200]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-5e1d9200]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-5e1d9200]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-5e1d9200]>.VPImage{margin-bottom:20px}.icon[data-v-5e1d9200]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-5e1d9200]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-5e1d9200]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-5e1d9200]{padding-top:8px}.link-text-value[data-v-5e1d9200]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-5e1d9200]{margin-left:6px}.VPFeatures[data-v-d59d3f7a]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-d59d3f7a]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-d59d3f7a]{padding:0 64px}}.container[data-v-d59d3f7a]{margin:0 auto;max-width:1152px}.items[data-v-d59d3f7a]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-d59d3f7a]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-d59d3f7a],.item.grid-4[data-v-d59d3f7a],.item.grid-6[data-v-d59d3f7a]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-d59d3f7a],.item.grid-4[data-v-d59d3f7a]{width:50%}.item.grid-3[data-v-d59d3f7a],.item.grid-6[data-v-d59d3f7a]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-d59d3f7a]{width:25%}}.container[data-v-3b437f03]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-3b437f03]{padding:0 48px}}@media (min-width: 960px){.container[data-v-3b437f03]{width:100%;padding:0 64px}}.vp-doc[data-v-3b437f03] .VPHomeSponsors,.vp-doc[data-v-3b437f03] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-3b437f03] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-3b437f03] .VPHomeSponsors a,.vp-doc[data-v-3b437f03] .VPTeamPage a{text-decoration:none}.VPHome[data-v-b62dc281]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-b62dc281]{margin-bottom:128px}}.VPContent[data-v-b8a3f39d]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-b8a3f39d]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-b8a3f39d]{margin:0}@media (min-width: 960px){.VPContent[data-v-b8a3f39d]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-b8a3f39d]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-b8a3f39d]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-2c1ead0b]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-2c1ead0b]{display:none}.VPFooter[data-v-2c1ead0b] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-2c1ead0b] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-2c1ead0b]{padding:32px}}.container[data-v-2c1ead0b]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-2c1ead0b],.copyright[data-v-2c1ead0b]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-5ce1e66e]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-5ce1e66e]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-5ce1e66e]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-5ce1e66e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-5ce1e66e]{color:var(--vp-c-text-1)}.icon[data-v-5ce1e66e]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-5ce1e66e]{font-size:14px}.icon[data-v-5ce1e66e]{font-size:16px}}.open>.icon[data-v-5ce1e66e]{transform:rotate(90deg)}.items[data-v-5ce1e66e]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-5ce1e66e]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-5ce1e66e]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-5ce1e66e]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-5ce1e66e]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-5ce1e66e]{transition:all .2s ease-out}.flyout-leave-active[data-v-5ce1e66e]{transition:all .15s ease-in}.flyout-enter-from[data-v-5ce1e66e],.flyout-leave-to[data-v-5ce1e66e]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-c207e03d]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-c207e03d]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-c207e03d]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-c207e03d]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-c207e03d]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-c207e03d]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-c207e03d]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-c207e03d]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-c207e03d]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-c207e03d]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-c207e03d]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-c207e03d]{display:none}}.menu-icon[data-v-c207e03d]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-c207e03d]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-c207e03d]{padding:12px 32px 11px}}.VPSwitch[data-v-61ab5455]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-61ab5455]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-61ab5455]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-61ab5455]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-61ab5455] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-61ab5455] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-d8e7d9d8]{opacity:1}.moon[data-v-d8e7d9d8],.dark .sun[data-v-d8e7d9d8]{opacity:0}.dark .moon[data-v-d8e7d9d8]{opacity:1}.dark .VPSwitchAppearance[data-v-d8e7d9d8] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-824ec8bd]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-824ec8bd]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-a334e8c3]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-a334e8c3]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-a334e8c3]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-a334e8c3]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-65193f25]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-65193f25]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-65193f25]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-65193f25]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-12ef594d]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-12ef594d] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-12ef594d] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-12ef594d] .group:last-child{padding-bottom:0}.VPMenu[data-v-12ef594d] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-12ef594d] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-12ef594d] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-12ef594d] .action{padding-left:24px}.VPFlyout[data-v-32e61f0e]{position:relative}.VPFlyout[data-v-32e61f0e]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-32e61f0e]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-32e61f0e]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-32e61f0e]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-32e61f0e]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-32e61f0e]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-32e61f0e],.button[aria-expanded=true]+.menu[data-v-32e61f0e]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-32e61f0e]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-32e61f0e]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-32e61f0e]{margin-right:0;font-size:16px}.text-icon[data-v-32e61f0e]{margin-left:4px;font-size:14px}.icon[data-v-32e61f0e]{font-size:20px;transition:fill .25s}.menu[data-v-32e61f0e]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-229dabda]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-229dabda]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-229dabda]>svg,.VPSocialLink[data-v-229dabda]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-0d378c5e]{display:flex;justify-content:center}.VPNavBarExtra[data-v-ecf54355]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-ecf54355]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-ecf54355]{display:none}}.trans-title[data-v-ecf54355]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-ecf54355],.item.social-links[data-v-ecf54355]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-ecf54355]{min-width:176px}.appearance-action[data-v-ecf54355]{margin-right:-2px}.social-links-list[data-v-ecf54355]{margin:-4px -8px}.VPNavBarHamburger[data-v-8ae7def0]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-8ae7def0]{display:none}}.container[data-v-8ae7def0]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-8ae7def0]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-8ae7def0]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-8ae7def0]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-8ae7def0]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-8ae7def0]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-8ae7def0]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-8ae7def0],.VPNavBarHamburger.active:hover .middle[data-v-8ae7def0],.VPNavBarHamburger.active:hover .bottom[data-v-8ae7def0]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-8ae7def0],.middle[data-v-8ae7def0],.bottom[data-v-8ae7def0]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-8ae7def0]{top:0;left:0;transform:translate(0)}.middle[data-v-8ae7def0]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-8ae7def0]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-f6113321]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-f6113321],.VPNavBarMenuLink[data-v-f6113321]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-fb179ef2]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-fb179ef2]{display:flex}}/*! @docsearch/css 3.8.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-b9e91830]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-b9e91830]{display:flex;align-items:center}}.title[data-v-60cf36d1]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-60cf36d1]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-60cf36d1]{border-bottom-color:var(--vp-c-divider)}}[data-v-60cf36d1] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-7a36dbca]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-7a36dbca]{display:flex;align-items:center}}.title[data-v-7a36dbca]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-8c2dd89c]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-8c2dd89c]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-8c2dd89c]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-8c2dd89c]:not(.home){background-color:transparent}.VPNavBar[data-v-8c2dd89c]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-8c2dd89c]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-8c2dd89c]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-8c2dd89c]{padding:0}}.container[data-v-8c2dd89c]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-8c2dd89c],.container>.content[data-v-8c2dd89c]{pointer-events:none}.container[data-v-8c2dd89c] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-8c2dd89c]{max-width:100%}}.title[data-v-8c2dd89c]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-8c2dd89c]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-8c2dd89c]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-8c2dd89c]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-8c2dd89c]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-8c2dd89c]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-8c2dd89c]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-8c2dd89c]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-8c2dd89c]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-8c2dd89c]{column-gap:.5rem}}.menu+.translations[data-v-8c2dd89c]:before,.menu+.appearance[data-v-8c2dd89c]:before,.menu+.social-links[data-v-8c2dd89c]:before,.translations+.appearance[data-v-8c2dd89c]:before,.appearance+.social-links[data-v-8c2dd89c]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-8c2dd89c]:before,.translations+.appearance[data-v-8c2dd89c]:before{margin-right:16px}.appearance+.social-links[data-v-8c2dd89c]:before{margin-left:16px}.social-links[data-v-8c2dd89c]{margin-right:-8px}.divider[data-v-8c2dd89c]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-8c2dd89c]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-8c2dd89c]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-8c2dd89c]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-8c2dd89c]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-8c2dd89c]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-8c2dd89c]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-95ab7701]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-95ab7701]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-ae74e04d]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-ae74e04d]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-16f23f20]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-16f23f20]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-1d14c942]{display:block}.title[data-v-1d14c942]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-b51b0398]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b51b0398]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b51b0398]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b51b0398]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b51b0398]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b51b0398]{transform:rotate(45deg)}.button[data-v-b51b0398]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-b51b0398]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b51b0398]{transition:transform .25s}.group[data-v-b51b0398]:first-child{padding-top:0}.group+.group[data-v-b51b0398],.group+.item[data-v-b51b0398]{padding-top:4px}.VPNavScreenTranslations[data-v-205a4866]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-205a4866]{height:auto}.title[data-v-205a4866]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-205a4866]{font-size:16px}.icon.lang[data-v-205a4866]{margin-right:8px}.icon.chevron[data-v-205a4866]{margin-left:4px}.list[data-v-205a4866]{padding:4px 0 0 24px}.link[data-v-205a4866]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-8e3878fd]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-8e3878fd],.VPNavScreen.fade-leave-active[data-v-8e3878fd]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-8e3878fd],.VPNavScreen.fade-leave-active .container[data-v-8e3878fd]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-8e3878fd],.VPNavScreen.fade-leave-to[data-v-8e3878fd]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-8e3878fd],.VPNavScreen.fade-leave-to .container[data-v-8e3878fd]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-8e3878fd]{display:none}}.container[data-v-8e3878fd]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-8e3878fd],.menu+.appearance[data-v-8e3878fd],.translations+.appearance[data-v-8e3878fd]{margin-top:24px}.menu+.social-links[data-v-8e3878fd]{margin-top:16px}.appearance+.social-links[data-v-8e3878fd]{margin-top:16px}.VPNav[data-v-4a2d6202]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-4a2d6202]{position:fixed}}.VPSidebarItem.level-0[data-v-a5d4cd7a]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-a5d4cd7a]{padding-bottom:10px}.item[data-v-a5d4cd7a]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-a5d4cd7a]{cursor:pointer}.indicator[data-v-a5d4cd7a]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-a5d4cd7a],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-a5d4cd7a],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-a5d4cd7a],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-a5d4cd7a]{background-color:var(--vp-c-brand-1)}.link[data-v-a5d4cd7a]{display:flex;align-items:center;flex-grow:1}.text[data-v-a5d4cd7a]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-a5d4cd7a]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-a5d4cd7a],.VPSidebarItem.level-2 .text[data-v-a5d4cd7a],.VPSidebarItem.level-3 .text[data-v-a5d4cd7a],.VPSidebarItem.level-4 .text[data-v-a5d4cd7a],.VPSidebarItem.level-5 .text[data-v-a5d4cd7a]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-a5d4cd7a],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-a5d4cd7a],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-a5d4cd7a],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-a5d4cd7a],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-a5d4cd7a],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-a5d4cd7a]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-1.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-2.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-3.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-4.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-5.has-active>.item>.text[data-v-a5d4cd7a],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-a5d4cd7a]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-a5d4cd7a],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-a5d4cd7a]{color:var(--vp-c-brand-1)}.caret[data-v-a5d4cd7a]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-a5d4cd7a]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-a5d4cd7a]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-a5d4cd7a]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-a5d4cd7a]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-a5d4cd7a],.VPSidebarItem.level-2 .items[data-v-a5d4cd7a],.VPSidebarItem.level-3 .items[data-v-a5d4cd7a],.VPSidebarItem.level-4 .items[data-v-a5d4cd7a],.VPSidebarItem.level-5 .items[data-v-a5d4cd7a]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-a5d4cd7a]{display:none}.no-transition[data-v-011116a8] .caret-icon{transition:none}.group+.group[data-v-011116a8]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-011116a8]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-fc0344af]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-fc0344af]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-fc0344af]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-fc0344af]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-fc0344af]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-fc0344af]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-fc0344af]{outline:0}.VPSkipLink[data-v-09f1bf64]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-09f1bf64]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-09f1bf64]{top:14px;left:16px}}.Layout[data-v-cf959ac2]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-f5d30823]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-f5d30823]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-f5d30823]{margin:128px 0}}.VPHomeSponsors[data-v-f5d30823]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-f5d30823]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-f5d30823]{padding:0 64px}}.container[data-v-f5d30823]{margin:0 auto;max-width:1152px}.love[data-v-f5d30823]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-f5d30823]{display:inline-block}.message[data-v-f5d30823]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-f5d30823]{padding-top:32px}.action[data-v-f5d30823]{padding-top:40px;text-align:center}.VPTeamPage[data-v-1833dc8d]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-1833dc8d]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-1833dc8d-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-1833dc8d-s],.VPTeamMembers+.VPTeamPageSection[data-v-1833dc8d-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-1833dc8d-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-1833dc8d-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-1833dc8d-s],.VPTeamMembers+.VPTeamPageSection[data-v-1833dc8d-s]{margin-top:96px}}.VPTeamMembers[data-v-1833dc8d-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-1833dc8d-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-1833dc8d-s]{padding:0 64px}}.VPTeamPageTitle[data-v-2a7ab8a6]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-2a7ab8a6]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-2a7ab8a6]{padding:80px 64px 48px}}.title[data-v-2a7ab8a6]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-2a7ab8a6]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-2a7ab8a6]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-2a7ab8a6]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b8abe8a0]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b8abe8a0]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b8abe8a0]{padding:0 64px}}.title[data-v-b8abe8a0]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b8abe8a0]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b8abe8a0]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b8abe8a0]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b8abe8a0]{padding-top:40px}.VPTeamMembersItem[data-v-345d1031]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-345d1031]{padding:32px}.VPTeamMembersItem.small .data[data-v-345d1031]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-345d1031]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-345d1031]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-345d1031]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-345d1031]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-345d1031]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-345d1031]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-345d1031]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-345d1031]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-345d1031]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-345d1031]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-345d1031]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-345d1031]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-345d1031]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-345d1031]{text-align:center}.avatar[data-v-345d1031]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-345d1031]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-345d1031]{margin:0;font-weight:600}.affiliation[data-v-345d1031]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-345d1031]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-345d1031]:hover{color:var(--vp-c-brand-1)}.desc[data-v-345d1031]{margin:0 auto}.desc[data-v-345d1031] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-345d1031]{display:flex;justify-content:center;height:56px}.sp-link[data-v-345d1031]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-345d1031]:hover,.sp .sp-link.link[data-v-345d1031]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-345d1031]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-ac5a5580]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-ac5a5580]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-ac5a5580]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-ac5a5580]{max-width:876px}.VPTeamMembers.medium .container[data-v-ac5a5580]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-ac5a5580]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-ac5a5580]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-ac5a5580]{max-width:760px}.container[data-v-ac5a5580]{display:grid;gap:24px;margin:0 auto;max-width:1152px}:root{--vp-c-brand-1: #149ef8;--vp-c-brand-2: #0434ad;--vp-home-hero-name-color: transparent;--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #34a3fe 30%, #8d44ff);--vp-home-hero-image-background-image: linear-gradient(-45deg, #d0e9ff 50%, #a2d8f4 50%);--vp-home-hero-image-filter: blur(44px);--vp-c-gray-1: #eee;--vp-c-gray-2: #aaa;--border-radius-1: 10px;--border-radius-2: 20px;--border-radius-3: 40px;--vp-font-family-base: "Poppins", "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: "Cousine", monospace;--red: #ef4444;--liteyuki-color: #149ef8;--button-radius: 6px}.dark{--vp-home-hero-image-background-image: linear-gradient(-45deg, #004785 50%, #0374ad 50%);--vp-c-gray-1: #333;--vp-c-gray-2: #666}.tab-buttons{padding:7px;flex:1;display:flex;justify-content:flex-start;height:60%;align-items:center}.tab-title{text-align:center;justify-content:center;flex:1}.item-search-box{border-radius:100px;width:80%;padding:10px;margin:10px 0;border:1px solid #ccc}.search-box-div{display:flex;justify-content:space-around;margin:10px 0}.item-search-box{width:80%}.item-card{position:relative;border-radius:15px;background-color:var(--vp-c-gray-1);height:160px;padding:16px;margin:10px;box-sizing:border-box;transition:background .3s ease}.item-name{font-size:20px;margin-bottom:10px}.item-description{color:var(--vp-c-gray-2);font-size:13px;white-space:pre-wrap}.author-info{display:flex;justify-content:left;align-items:center}.author-name{font-size:15px;font-weight:400}.avatar{border-radius:50%;margin:0 10px}.store-tabs{display:flex;justify-content:flex-end;margin:10px 0}.publish-button{right:10px;bottom:10px;padding:5px 10px;border-radius:10px;background-color:var(--vp-c-brand-1);color:#fff;font-size:15px;cursor:pointer}.pub-window input{width:100%;padding:10px;margin:10px 0;border-radius:10px;border:1px solid #ccc}.pub-option{margin:10px;padding:5px;border:2px solid var(--vp-c-gray-1);border-radius:var(--button-radius);background-color:var(--vp-c-gray-1)}.pub-option.submit{background-color:var(--vp-c-brand-1)}.stats-bar-content[data-v-2391887b]{display:flex;justify-content:center;align-items:center;flex-direction:column}.gamma[data-v-2391887b]{filter:brightness(1.8)}.dark .gamma[data-v-2391887b]{filter:brightness(1)}.stats-bar[data-v-2391887b]{width:80%;max-width:1150px;display:flex;justify-content:space-between;padding:20px;margin:10px;border-radius:var(--border-radius-2);background-color:var(--vp-c-gray-1);flex-direction:column}.stats-info[data-v-2391887b]{margin-bottom:20px}.stats-title[data-v-2391887b]{font-size:20px;font-weight:700;margin-bottom:20px;text-align:center}.sections[data-v-2391887b]{height:100%;width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:15px;margin:10px}.section[data-v-2391887b]{display:flex;flex-direction:column;position:relative;border-radius:var(--border-radius-2)}.section[data-v-2391887b]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0 solid transparent;transition:border .1s ease-in-out;border-radius:var(--border-radius-2);pointer-events:none}.section[data-v-2391887b]:hover:before{border:1px solid #00a6ff;border-radius:var(--border-radius-2)}.section-tab[data-v-2391887b]{margin-left:15px;display:flex;justify-content:flex-start;align-items:center}.dot[data-v-2391887b]{width:10px;height:10px;border-radius:50%;margin-right:5px}.text[data-v-2391887b]{font-size:14px;white-space:nowrap;align-items:center}.number[data-v-2391887b]{font-size:27px;font-weight:700;margin-top:5px;margin-left:15px}.starmap[data-v-2391887b]{position:relative;width:100%;height:200px;overflow:hidden;border-radius:var(--border-radius-2)}.starmap iframe[data-v-2391887b]{position:absolute;top:-150px;left:-40px;width:calc(100% + 80px);height:calc(100% + 300px)}@media (min-width: 768px){.stats-bar[data-v-2391887b]{flex-direction:row;margin:30px}.stats-info[data-v-2391887b]{width:40%;margin:10px 30px 30px}.starmap[data-v-2391887b]{width:60%;height:400px}.starmap iframe[data-v-2391887b]{position:absolute;top:-130px;left:-60px;width:calc(100% + 120px);height:calc(100% + 280px)}}.btn[data-v-a8e3f329]{margin-right:15px}button[data-v-a8e3f329]{background-color:#0000;border:none}.copy-btn[data-v-a8e3f329]{cursor:pointer;color:#666}.icon[data-v-a8e3f329]{width:20px;height:20px}.item-bar[data-v-a8e3f329]{position:absolute;bottom:0;height:50px;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;color:#0005}.tag[data-v-a8e3f329]{display:inline-block;padding:0 5px;margin-right:5px;border-radius:5px;font-size:12px}.switch[data-v-b3db11d1]{position:relative;display:inline-block;width:60px;height:34px}.switch input[data-v-b3db11d1]{opacity:0;width:0;height:0}.slider[data-v-b3db11d1]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:34px}.slider[data-v-b3db11d1]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider[data-v-b3db11d1]{background-color:#2196f3}input:checked+.slider[data-v-b3db11d1]:before{transform:translate(26px)}h1[data-v-671446c8]{color:#00a6ff;text-align:center;font-weight:700}.items[data-v-671446c8]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.search-box-div[data-v-671446c8]{display:flex;justify-content:center;align-items:center;margin-bottom:10px}.search-box-div input[data-v-671446c8]{margin-right:10px}.icon[data-v-22cbd1fa]{width:20px;height:20px;color:$themeColor}.item-bar[data-v-22cbd1fa]{position:absolute;bottom:0;height:50px;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;color:#0005}.floating-window[data-v-8b5829b6]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.window-content[data-v-8b5829b6]{background:var(--vp-c-gray-1);padding:20px;border-radius:5px;max-width:60%;box-shadow:0 2px 10px #0000001a}h1[data-v-83d58003]{color:#00a6ff;text-align:center;font-weight:700}.items[data-v-83d58003]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.contributor-bar[data-v-bc374713]{display:flex;flex-direction:column;align-items:center}.VPLocalSearchBox[data-v-f9a928e8]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-f9a928e8]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-f9a928e8]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-f9a928e8]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-f9a928e8]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-f9a928e8]{padding:0 8px}}.search-bar[data-v-f9a928e8]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-f9a928e8]{display:block;font-size:18px}.navigate-icon[data-v-f9a928e8]{display:block;font-size:14px}.search-icon[data-v-f9a928e8]{margin:8px}@media (max-width: 767px){.search-icon[data-v-f9a928e8]{display:none}}.search-input[data-v-f9a928e8]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-f9a928e8]{padding:6px 4px}}.search-actions[data-v-f9a928e8]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-f9a928e8]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-f9a928e8]{display:none}}.search-actions button[data-v-f9a928e8]{padding:8px}.search-actions button[data-v-f9a928e8]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-f9a928e8]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-f9a928e8]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-f9a928e8]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-f9a928e8]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-f9a928e8]{display:none}}.search-keyboard-shortcuts kbd[data-v-f9a928e8]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-f9a928e8]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-f9a928e8]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-f9a928e8]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-f9a928e8]{margin:8px}}.titles[data-v-f9a928e8]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-f9a928e8]{display:flex;align-items:center;gap:4px}.title.main[data-v-f9a928e8]{font-weight:500}.title-icon[data-v-f9a928e8]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-f9a928e8]{opacity:.5}.result.selected[data-v-f9a928e8]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-f9a928e8]{position:relative}.excerpt[data-v-f9a928e8]{opacity:50%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;margin-top:4px}.result.selected .excerpt[data-v-f9a928e8]{opacity:1}.excerpt[data-v-f9a928e8] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-f9a928e8] mark,.excerpt[data-v-f9a928e8] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-f9a928e8] .vp-code-group .tabs{display:none}.excerpt[data-v-f9a928e8] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-f9a928e8]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-f9a928e8]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-f9a928e8],.result.selected .title-icon[data-v-f9a928e8]{color:var(--vp-c-brand-1)!important}.no-results[data-v-f9a928e8]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-f9a928e8]{flex:none} +@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;-webkit-user-select:none;user-select:none;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-ddcf2ddc]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-ddcf2ddc],.VPBackdrop.fade-leave-to[data-v-ddcf2ddc]{opacity:0}.VPBackdrop.fade-leave-active[data-v-ddcf2ddc]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-ddcf2ddc]{display:none}}.NotFound[data-v-60416f10]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-60416f10]{padding:96px 32px 168px}}.code[data-v-60416f10]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-60416f10]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-60416f10]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-60416f10]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-60416f10]{padding-top:20px}.link[data-v-60416f10]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-60416f10]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-8b439904]{position:relative;z-index:1}.nested[data-v-8b439904]{padding-right:16px;padding-left:16px}.outline-link[data-v-8b439904]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-8b439904]:hover,.outline-link.active[data-v-8b439904]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-8b439904]{padding-left:13px}.VPDocAsideOutline[data-v-242dc75b]{display:none}.VPDocAsideOutline.has-outline[data-v-242dc75b]{display:block}.content[data-v-242dc75b]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-242dc75b]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-242dc75b]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-f30f9b10]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-f30f9b10]{flex-grow:1}.VPDocAside[data-v-f30f9b10] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-f30f9b10] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-f30f9b10] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-67b027c0]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-67b027c0]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-91eea559]{margin-top:64px}.edit-info[data-v-91eea559]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-91eea559]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-91eea559]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-91eea559]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-91eea559]{margin-right:8px}.prev-next[data-v-91eea559]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-91eea559]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-91eea559]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-91eea559]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-91eea559]{margin-left:auto;text-align:right}.desc[data-v-91eea559]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-91eea559]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-d6b08857]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-d6b08857]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-d6b08857]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-d6b08857]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-d6b08857]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-d6b08857]{display:flex;justify-content:center}.VPDoc .aside[data-v-d6b08857]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-d6b08857]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-d6b08857]{max-width:1104px}}.container[data-v-d6b08857]{margin:0 auto;width:100%}.aside[data-v-d6b08857]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-d6b08857]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-d6b08857]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-d6b08857]::-webkit-scrollbar{display:none}.aside-curtain[data-v-d6b08857]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-d6b08857]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-d6b08857]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-d6b08857]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-d6b08857]{order:1;margin:0;min-width:640px}}.content-container[data-v-d6b08857]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-d6b08857]{max-width:688px}.VPButton[data-v-39733ae3]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-39733ae3]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-39733ae3]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-39733ae3]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-39733ae3]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-39733ae3]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-39733ae3]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-39733ae3]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-39733ae3]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-39733ae3]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-39733ae3]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-39733ae3]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-39733ae3]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-2d9b5d5a]{display:none}.dark .VPImage.light[data-v-2d9b5d5a]{display:none}.VPHero[data-v-3e16e028]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-3e16e028]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-3e16e028]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-3e16e028]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-3e16e028]{flex-direction:row}}.main[data-v-3e16e028]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-3e16e028]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-3e16e028]{text-align:left}}@media (min-width: 960px){.main[data-v-3e16e028]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-3e16e028]{max-width:592px}}.name[data-v-3e16e028],.text[data-v-3e16e028]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-3e16e028],.VPHero.has-image .text[data-v-3e16e028]{margin:0 auto}.name[data-v-3e16e028]{color:var(--vp-home-hero-name-color)}.clip[data-v-3e16e028]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-3e16e028],.text[data-v-3e16e028]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-3e16e028],.text[data-v-3e16e028]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-3e16e028],.VPHero.has-image .text[data-v-3e16e028]{margin:0}}.tagline[data-v-3e16e028]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-3e16e028]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-3e16e028]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-3e16e028]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-3e16e028]{margin:0}}.actions[data-v-3e16e028]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-3e16e028]{justify-content:center}@media (min-width: 640px){.actions[data-v-3e16e028]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-3e16e028]{justify-content:flex-start}}.action[data-v-3e16e028]{flex-shrink:0;padding:6px}.image[data-v-3e16e028]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-3e16e028]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-3e16e028]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-3e16e028]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-3e16e028]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-3e16e028]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-3e16e028]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-3e16e028]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-3e16e028]{width:320px;height:320px}}[data-v-3e16e028] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-3e16e028] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-3e16e028] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-c471b56a]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-c471b56a]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-c471b56a]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-c471b56a]>.VPImage{margin-bottom:20px}.icon[data-v-c471b56a]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-c471b56a]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-c471b56a]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-c471b56a]{padding-top:8px}.link-text-value[data-v-c471b56a]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-c471b56a]{margin-left:6px}.VPFeatures[data-v-5b566b54]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-5b566b54]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-5b566b54]{padding:0 64px}}.container[data-v-5b566b54]{margin:0 auto;max-width:1152px}.items[data-v-5b566b54]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-5b566b54]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-5b566b54],.item.grid-4[data-v-5b566b54],.item.grid-6[data-v-5b566b54]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-5b566b54],.item.grid-4[data-v-5b566b54]{width:50%}.item.grid-3[data-v-5b566b54],.item.grid-6[data-v-5b566b54]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-5b566b54]{width:25%}}.container[data-v-6521336f]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-6521336f]{padding:0 48px}}@media (min-width: 960px){.container[data-v-6521336f]{width:100%;padding:0 64px}}.vp-doc[data-v-6521336f] .VPHomeSponsors,.vp-doc[data-v-6521336f] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-6521336f] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-6521336f] .VPHomeSponsors a,.vp-doc[data-v-6521336f] .VPTeamPage a{text-decoration:none}.VPHome[data-v-bcf15fbd]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-bcf15fbd]{margin-bottom:128px}}.VPContent[data-v-8bb73be7]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-8bb73be7]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-8bb73be7]{margin:0}@media (min-width: 960px){.VPContent[data-v-8bb73be7]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-8bb73be7]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-8bb73be7]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-a2f9475f]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-a2f9475f]{display:none}.VPFooter[data-v-a2f9475f] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-a2f9475f] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-a2f9475f]{padding:32px}}.container[data-v-a2f9475f]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-a2f9475f],.copyright[data-v-a2f9475f]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-34dfca2d]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-34dfca2d]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-34dfca2d]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-34dfca2d]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-34dfca2d]{color:var(--vp-c-text-1)}.icon[data-v-34dfca2d]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-34dfca2d]{font-size:14px}.icon[data-v-34dfca2d]{font-size:16px}}.open>.icon[data-v-34dfca2d]{transform:rotate(90deg)}.items[data-v-34dfca2d]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-34dfca2d]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-34dfca2d]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-34dfca2d]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-34dfca2d]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-34dfca2d]{transition:all .2s ease-out}.flyout-leave-active[data-v-34dfca2d]{transition:all .15s ease-in}.flyout-enter-from[data-v-34dfca2d],.flyout-leave-to[data-v-34dfca2d]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-7c5ae3b6]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-7c5ae3b6]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-7c5ae3b6]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-7c5ae3b6]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-7c5ae3b6]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-7c5ae3b6]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-7c5ae3b6]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-7c5ae3b6]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-7c5ae3b6]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-7c5ae3b6]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-7c5ae3b6]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-7c5ae3b6]{display:none}}.menu-icon[data-v-7c5ae3b6]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-7c5ae3b6]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-7c5ae3b6]{padding:12px 32px 11px}}.VPSwitch[data-v-bbaa0fff]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-bbaa0fff]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-bbaa0fff]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-bbaa0fff]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-bbaa0fff] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-bbaa0fff] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-e93e4f13]{opacity:1}.moon[data-v-e93e4f13],.dark .sun[data-v-e93e4f13]{opacity:0}.dark .moon[data-v-e93e4f13]{opacity:1}.dark .VPSwitchAppearance[data-v-e93e4f13] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-728194a1]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-728194a1]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-a5f22fa3]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-a5f22fa3]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-a5f22fa3]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-a5f22fa3]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-d835f2f2]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-d835f2f2]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-d835f2f2]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-d835f2f2]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-464b5fd9]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-464b5fd9] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-464b5fd9] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-464b5fd9] .group:last-child{padding-bottom:0}.VPMenu[data-v-464b5fd9] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-464b5fd9] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-464b5fd9] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-464b5fd9] .action{padding-left:24px}.VPFlyout[data-v-00df721d]{position:relative}.VPFlyout[data-v-00df721d]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-00df721d]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-00df721d]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-00df721d]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-00df721d]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-00df721d]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-00df721d],.button[aria-expanded=true]+.menu[data-v-00df721d]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-00df721d]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-00df721d]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-00df721d]{margin-right:0;font-size:16px}.text-icon[data-v-00df721d]{margin-left:4px;font-size:14px}.icon[data-v-00df721d]{font-size:20px;transition:fill .25s}.menu[data-v-00df721d]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-d27afe3a]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-d27afe3a]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-d27afe3a]>svg,.VPSocialLink[data-v-d27afe3a]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-2b2d05f2]{display:flex;justify-content:center}.VPNavBarExtra[data-v-217b6d1f]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-217b6d1f]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-217b6d1f]{display:none}}.trans-title[data-v-217b6d1f]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-217b6d1f],.item.social-links[data-v-217b6d1f]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-217b6d1f]{min-width:176px}.appearance-action[data-v-217b6d1f]{margin-right:-2px}.social-links-list[data-v-217b6d1f]{margin:-4px -8px}.VPNavBarHamburger[data-v-4dc3a9f3]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-4dc3a9f3]{display:none}}.container[data-v-4dc3a9f3]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-4dc3a9f3]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-4dc3a9f3]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-4dc3a9f3]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-4dc3a9f3]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-4dc3a9f3]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-4dc3a9f3]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-4dc3a9f3],.VPNavBarHamburger.active:hover .middle[data-v-4dc3a9f3],.VPNavBarHamburger.active:hover .bottom[data-v-4dc3a9f3]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-4dc3a9f3],.middle[data-v-4dc3a9f3],.bottom[data-v-4dc3a9f3]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-4dc3a9f3]{top:0;left:0;transform:translate(0)}.middle[data-v-4dc3a9f3]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-4dc3a9f3]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-585d7f08]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-585d7f08],.VPNavBarMenuLink[data-v-585d7f08]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-c770cea4]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-c770cea4]{display:flex}}/*! @docsearch/css 3.8.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-a6a40077]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-a6a40077]{display:flex;align-items:center}}.title[data-v-c02215d3]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-c02215d3]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-c02215d3]{border-bottom-color:var(--vp-c-divider)}}[data-v-c02215d3] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-ea07652c]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-ea07652c]{display:flex;align-items:center}}.title[data-v-ea07652c]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-10635b05]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-10635b05]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-10635b05]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-10635b05]:not(.home){background-color:transparent}.VPNavBar[data-v-10635b05]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-10635b05]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-10635b05]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-10635b05]{padding:0}}.container[data-v-10635b05]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-10635b05],.container>.content[data-v-10635b05]{pointer-events:none}.container[data-v-10635b05] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-10635b05]{max-width:100%}}.title[data-v-10635b05]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-10635b05]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-10635b05]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-10635b05]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-10635b05]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-10635b05]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-10635b05]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-10635b05]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-10635b05]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-10635b05]{column-gap:.5rem}}.menu+.translations[data-v-10635b05]:before,.menu+.appearance[data-v-10635b05]:before,.menu+.social-links[data-v-10635b05]:before,.translations+.appearance[data-v-10635b05]:before,.appearance+.social-links[data-v-10635b05]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-10635b05]:before,.translations+.appearance[data-v-10635b05]:before{margin-right:16px}.appearance+.social-links[data-v-10635b05]:before{margin-left:16px}.social-links[data-v-10635b05]{margin-right:-8px}.divider[data-v-10635b05]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-10635b05]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-10635b05]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-10635b05]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-10635b05]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-10635b05]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-10635b05]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-822f5a84]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-822f5a84]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-38d4ac7f]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-38d4ac7f]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-9564870e]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-9564870e]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-30ecc3d4]{display:block}.title[data-v-30ecc3d4]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-12a32654]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-12a32654]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-12a32654]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-12a32654]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-12a32654]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-12a32654]{transform:rotate(45deg)}.button[data-v-12a32654]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-12a32654]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-12a32654]{transition:transform .25s}.group[data-v-12a32654]:first-child{padding-top:0}.group+.group[data-v-12a32654],.group+.item[data-v-12a32654]{padding-top:4px}.VPNavScreenTranslations[data-v-41a49c51]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-41a49c51]{height:auto}.title[data-v-41a49c51]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-41a49c51]{font-size:16px}.icon.lang[data-v-41a49c51]{margin-right:8px}.icon.chevron[data-v-41a49c51]{margin-left:4px}.list[data-v-41a49c51]{padding:4px 0 0 24px}.link[data-v-41a49c51]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-c3b788a1]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-c3b788a1],.VPNavScreen.fade-leave-active[data-v-c3b788a1]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-c3b788a1],.VPNavScreen.fade-leave-active .container[data-v-c3b788a1]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-c3b788a1],.VPNavScreen.fade-leave-to[data-v-c3b788a1]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-c3b788a1],.VPNavScreen.fade-leave-to .container[data-v-c3b788a1]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-c3b788a1]{display:none}}.container[data-v-c3b788a1]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-c3b788a1],.menu+.appearance[data-v-c3b788a1],.translations+.appearance[data-v-c3b788a1]{margin-top:24px}.menu+.social-links[data-v-c3b788a1]{margin-top:16px}.appearance+.social-links[data-v-c3b788a1]{margin-top:16px}.VPNav[data-v-429592cd]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-429592cd]{position:fixed}}.VPSidebarItem.level-0[data-v-b7cfa56a]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b7cfa56a]{padding-bottom:10px}.item[data-v-b7cfa56a]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b7cfa56a]{cursor:pointer}.indicator[data-v-b7cfa56a]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-b7cfa56a],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b7cfa56a],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b7cfa56a],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b7cfa56a]{background-color:var(--vp-c-brand-1)}.link[data-v-b7cfa56a]{display:flex;align-items:center;flex-grow:1}.text[data-v-b7cfa56a]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b7cfa56a]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b7cfa56a],.VPSidebarItem.level-2 .text[data-v-b7cfa56a],.VPSidebarItem.level-3 .text[data-v-b7cfa56a],.VPSidebarItem.level-4 .text[data-v-b7cfa56a],.VPSidebarItem.level-5 .text[data-v-b7cfa56a]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b7cfa56a],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b7cfa56a],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b7cfa56a],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b7cfa56a],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b7cfa56a],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b7cfa56a]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b7cfa56a],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b7cfa56a],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b7cfa56a],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b7cfa56a],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b7cfa56a],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b7cfa56a],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b7cfa56a]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b7cfa56a],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b7cfa56a],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b7cfa56a],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b7cfa56a],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b7cfa56a],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b7cfa56a]{color:var(--vp-c-brand-1)}.caret[data-v-b7cfa56a]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-b7cfa56a]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b7cfa56a]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b7cfa56a]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b7cfa56a]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b7cfa56a],.VPSidebarItem.level-2 .items[data-v-b7cfa56a],.VPSidebarItem.level-3 .items[data-v-b7cfa56a],.VPSidebarItem.level-4 .items[data-v-b7cfa56a],.VPSidebarItem.level-5 .items[data-v-b7cfa56a]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b7cfa56a]{display:none}.no-transition[data-v-57a8f4ee] .caret-icon{transition:none}.group+.group[data-v-57a8f4ee]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-57a8f4ee]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-9b68e09e]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-9b68e09e]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-9b68e09e]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-9b68e09e]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-9b68e09e]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-9b68e09e]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-9b68e09e]{outline:0}.VPSkipLink[data-v-98f7e91e]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-98f7e91e]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-98f7e91e]{top:14px;left:16px}}.Layout[data-v-23f2dbb5]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-2f4cf484]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-2f4cf484]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-2f4cf484]{margin:128px 0}}.VPHomeSponsors[data-v-2f4cf484]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-2f4cf484]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-2f4cf484]{padding:0 64px}}.container[data-v-2f4cf484]{margin:0 auto;max-width:1152px}.love[data-v-2f4cf484]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-2f4cf484]{display:inline-block}.message[data-v-2f4cf484]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-2f4cf484]{padding-top:32px}.action[data-v-2f4cf484]{padding-top:40px;text-align:center}.VPTeamPage[data-v-f88fc4a6]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-f88fc4a6]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-f88fc4a6-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-f88fc4a6-s],.VPTeamMembers+.VPTeamPageSection[data-v-f88fc4a6-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-f88fc4a6-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-f88fc4a6-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-f88fc4a6-s],.VPTeamMembers+.VPTeamPageSection[data-v-f88fc4a6-s]{margin-top:96px}}.VPTeamMembers[data-v-f88fc4a6-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-f88fc4a6-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-f88fc4a6-s]{padding:0 64px}}.VPTeamPageTitle[data-v-9a4a3416]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-9a4a3416]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-9a4a3416]{padding:80px 64px 48px}}.title[data-v-9a4a3416]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-9a4a3416]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-9a4a3416]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-9a4a3416]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-eabfe344]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-eabfe344]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-eabfe344]{padding:0 64px}}.title[data-v-eabfe344]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-eabfe344]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-eabfe344]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-eabfe344]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-eabfe344]{padding-top:40px}.VPTeamMembersItem[data-v-ab6a352d]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-ab6a352d]{padding:32px}.VPTeamMembersItem.small .data[data-v-ab6a352d]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-ab6a352d]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-ab6a352d]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-ab6a352d]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-ab6a352d]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-ab6a352d]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-ab6a352d]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-ab6a352d]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-ab6a352d]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-ab6a352d]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-ab6a352d]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-ab6a352d]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-ab6a352d]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-ab6a352d]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-ab6a352d]{text-align:center}.avatar[data-v-ab6a352d]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-ab6a352d]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-ab6a352d]{margin:0;font-weight:600}.affiliation[data-v-ab6a352d]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-ab6a352d]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-ab6a352d]:hover{color:var(--vp-c-brand-1)}.desc[data-v-ab6a352d]{margin:0 auto}.desc[data-v-ab6a352d] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-ab6a352d]{display:flex;justify-content:center;height:56px}.sp-link[data-v-ab6a352d]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-ab6a352d]:hover,.sp .sp-link.link[data-v-ab6a352d]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-ab6a352d]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-a25f48e6]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-a25f48e6]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-a25f48e6]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-a25f48e6]{max-width:876px}.VPTeamMembers.medium .container[data-v-a25f48e6]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-a25f48e6]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-a25f48e6]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-a25f48e6]{max-width:760px}.container[data-v-a25f48e6]{display:grid;gap:24px;margin:0 auto;max-width:1152px}:root{--vp-c-brand-1: #149ef8;--vp-c-brand-2: #0434ad;--vp-home-hero-name-color: transparent;--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #34a3fe 30%, #8d44ff);--vp-home-hero-image-background-image: linear-gradient(-45deg, #d0e9ff 50%, #a2d8f4 50%);--vp-home-hero-image-filter: blur(44px);--vp-c-gray-1: #eee;--vp-c-gray-2: #aaa;--border-radius-1: 10px;--border-radius-2: 20px;--border-radius-3: 40px;--vp-font-family-base: "Poppins", "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: "Cousine", monospace;--red: #ef4444;--liteyuki-color: #149ef8;--button-radius: 6px}.dark{--vp-home-hero-image-background-image: linear-gradient(-45deg, #004785 50%, #0374ad 50%);--vp-c-gray-1: #333;--vp-c-gray-2: #666}.tab-buttons{padding:7px;flex:1;display:flex;justify-content:flex-start;height:60%;align-items:center}.tab-title{text-align:center;justify-content:center;flex:1}.item-search-box{border-radius:100px;width:80%;padding:10px;margin:10px 0;border:1px solid #ccc}.search-box-div{display:flex;justify-content:space-around;margin:10px 0}.item-search-box{width:80%}.item-card{position:relative;border-radius:15px;background-color:var(--vp-c-gray-1);height:160px;padding:16px;margin:10px;box-sizing:border-box;transition:background .3s ease}.item-name{font-size:20px;margin-bottom:10px}.item-description{color:var(--vp-c-gray-2);font-size:13px;white-space:pre-wrap}.author-info{display:flex;justify-content:left;align-items:center}.author-name{font-size:15px;font-weight:400}.avatar{border-radius:50%;margin:0 10px}.store-tabs{display:flex;justify-content:flex-end;margin:10px 0}.publish-button{right:10px;bottom:10px;padding:5px 10px;border-radius:10px;background-color:var(--vp-c-brand-1);color:#fff;font-size:15px;cursor:pointer}.pub-window input{width:100%;padding:10px;margin:10px 0;border-radius:10px;border:1px solid #ccc}.pub-option{margin:10px;padding:5px;border:2px solid var(--vp-c-gray-1);border-radius:var(--button-radius);background-color:var(--vp-c-gray-1)}.pub-option.submit{background-color:var(--vp-c-brand-1)}.stats-bar-content[data-v-2391887b]{display:flex;justify-content:center;align-items:center;flex-direction:column}.gamma[data-v-2391887b]{filter:brightness(1.8)}.dark .gamma[data-v-2391887b]{filter:brightness(1)}.stats-bar[data-v-2391887b]{width:80%;max-width:1150px;display:flex;justify-content:space-between;padding:20px;margin:10px;border-radius:var(--border-radius-2);background-color:var(--vp-c-gray-1);flex-direction:column}.stats-info[data-v-2391887b]{margin-bottom:20px}.stats-title[data-v-2391887b]{font-size:20px;font-weight:700;margin-bottom:20px;text-align:center}.sections[data-v-2391887b]{height:100%;width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:15px;margin:10px}.section[data-v-2391887b]{display:flex;flex-direction:column;position:relative;border-radius:var(--border-radius-2)}.section[data-v-2391887b]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0 solid transparent;transition:border .1s ease-in-out;border-radius:var(--border-radius-2);pointer-events:none}.section[data-v-2391887b]:hover:before{border:1px solid #00a6ff;border-radius:var(--border-radius-2)}.section-tab[data-v-2391887b]{margin-left:15px;display:flex;justify-content:flex-start;align-items:center}.dot[data-v-2391887b]{width:10px;height:10px;border-radius:50%;margin-right:5px}.text[data-v-2391887b]{font-size:14px;white-space:nowrap;align-items:center}.number[data-v-2391887b]{font-size:27px;font-weight:700;margin-top:5px;margin-left:15px}.starmap[data-v-2391887b]{position:relative;width:100%;height:200px;overflow:hidden;border-radius:var(--border-radius-2)}.starmap iframe[data-v-2391887b]{position:absolute;top:-150px;left:-40px;width:calc(100% + 80px);height:calc(100% + 300px)}@media (min-width: 768px){.stats-bar[data-v-2391887b]{flex-direction:row;margin:30px}.stats-info[data-v-2391887b]{width:40%;margin:10px 30px 30px}.starmap[data-v-2391887b]{width:60%;height:400px}.starmap iframe[data-v-2391887b]{position:absolute;top:-130px;left:-60px;width:calc(100% + 120px);height:calc(100% + 280px)}}.btn[data-v-a8e3f329]{margin-right:15px}button[data-v-a8e3f329]{background-color:#0000;border:none}.copy-btn[data-v-a8e3f329]{cursor:pointer;color:#666}.icon[data-v-a8e3f329]{width:20px;height:20px}.item-bar[data-v-a8e3f329]{position:absolute;bottom:0;height:50px;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;color:#0005}.tag[data-v-a8e3f329]{display:inline-block;padding:0 5px;margin-right:5px;border-radius:5px;font-size:12px}.switch[data-v-b3db11d1]{position:relative;display:inline-block;width:60px;height:34px}.switch input[data-v-b3db11d1]{opacity:0;width:0;height:0}.slider[data-v-b3db11d1]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:34px}.slider[data-v-b3db11d1]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider[data-v-b3db11d1]{background-color:#2196f3}input:checked+.slider[data-v-b3db11d1]:before{transform:translate(26px)}h1[data-v-671446c8]{color:#00a6ff;text-align:center;font-weight:700}.items[data-v-671446c8]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.search-box-div[data-v-671446c8]{display:flex;justify-content:center;align-items:center;margin-bottom:10px}.search-box-div input[data-v-671446c8]{margin-right:10px}.icon[data-v-22cbd1fa]{width:20px;height:20px;color:$themeColor}.item-bar[data-v-22cbd1fa]{position:absolute;bottom:0;height:50px;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;color:#0005}.floating-window[data-v-8b5829b6]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.window-content[data-v-8b5829b6]{background:var(--vp-c-gray-1);padding:20px;border-radius:5px;max-width:60%;box-shadow:0 2px 10px #0000001a}h1[data-v-83d58003]{color:#00a6ff;text-align:center;font-weight:700}.items[data-v-83d58003]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.contributor-bar[data-v-bc374713]{display:flex;flex-direction:column;align-items:center}.VPLocalSearchBox[data-v-695f03a4]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-695f03a4]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-695f03a4]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-695f03a4]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-695f03a4]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-695f03a4]{padding:0 8px}}.search-bar[data-v-695f03a4]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-695f03a4]{display:block;font-size:18px}.navigate-icon[data-v-695f03a4]{display:block;font-size:14px}.search-icon[data-v-695f03a4]{margin:8px}@media (max-width: 767px){.search-icon[data-v-695f03a4]{display:none}}.search-input[data-v-695f03a4]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-695f03a4]{padding:6px 4px}}.search-actions[data-v-695f03a4]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-695f03a4]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-695f03a4]{display:none}}.search-actions button[data-v-695f03a4]{padding:8px}.search-actions button[data-v-695f03a4]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-695f03a4]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-695f03a4]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-695f03a4]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-695f03a4]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-695f03a4]{display:none}}.search-keyboard-shortcuts kbd[data-v-695f03a4]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-695f03a4]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-695f03a4]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-695f03a4]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-695f03a4]{margin:8px}}.titles[data-v-695f03a4]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-695f03a4]{display:flex;align-items:center;gap:4px}.title.main[data-v-695f03a4]{font-weight:500}.title-icon[data-v-695f03a4]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-695f03a4]{opacity:.5}.result.selected[data-v-695f03a4]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-695f03a4]{position:relative}.excerpt[data-v-695f03a4]{opacity:50%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;margin-top:4px}.result.selected .excerpt[data-v-695f03a4]{opacity:1}.excerpt[data-v-695f03a4] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-695f03a4] mark,.excerpt[data-v-695f03a4] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-695f03a4] .vp-code-group .tabs{display:none}.excerpt[data-v-695f03a4] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-695f03a4]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-695f03a4]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-695f03a4],.result.selected .title-icon[data-v-695f03a4]{color:var(--vp-c-brand-1)!important}.no-results[data-v-695f03a4]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-695f03a4]{flex:none} diff --git a/assets/usage_agreement.md.DgIDC_u9.js b/assets/usage_agreement.md.BP3_fXyC.js similarity index 82% rename from assets/usage_agreement.md.DgIDC_u9.js rename to assets/usage_agreement.md.BP3_fXyC.js index 308244f9..f882b586 100644 --- a/assets/usage_agreement.md.DgIDC_u9.js +++ b/assets/usage_agreement.md.BP3_fXyC.js @@ -1 +1 @@ -import{_ as t,o as a,c as o,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return a(),o("div",null,e[0]||(e[0]=[l('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; +import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; diff --git a/assets/usage_agreement.md.DgIDC_u9.lean.js b/assets/usage_agreement.md.BP3_fXyC.lean.js similarity index 82% rename from assets/usage_agreement.md.DgIDC_u9.lean.js rename to assets/usage_agreement.md.BP3_fXyC.lean.js index 308244f9..f882b586 100644 --- a/assets/usage_agreement.md.DgIDC_u9.lean.js +++ b/assets/usage_agreement.md.BP3_fXyC.lean.js @@ -1 +1 @@ -import{_ as t,o as a,c as o,a7 as l}from"./chunks/framework._avq4Ty7.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return a(),o("div",null,e[0]||(e[0]=[l('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; +import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"用户协议","description":"","frontmatter":{"title":"用户协议","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default}; diff --git a/assets/usage_basic.md.D0kl3gm6.js b/assets/usage_basic.md.Boduij81.js similarity index 98% rename from assets/usage_basic.md.D0kl3gm6.js rename to assets/usage_basic.md.Boduij81.js index 4d163b0f..83ab0a96 100644 --- a/assets/usage_basic.md.D0kl3gm6.js +++ b/assets/usage_basic.md.Boduij81.js @@ -1 +1 @@ -import{_ as e,o as d,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"usage/basic.md","filePath":"zh/usage/basic.md","lastUpdated":1725101868000}'),r={name:"usage/basic.md"};function a(c,t,i,s,o,g){return d(),l("div",null,t[0]||(t[0]=[n('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; +import{_ as e,c as d,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"usage/basic.md","filePath":"zh/usage/basic.md","lastUpdated":1725101868000}'),r={name:"usage/basic.md"};function a(c,t,i,s,o,g){return n(),d("div",null,t[0]||(t[0]=[l('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; diff --git a/assets/usage_basic.md.D0kl3gm6.lean.js b/assets/usage_basic.md.Boduij81.lean.js similarity index 98% rename from assets/usage_basic.md.D0kl3gm6.lean.js rename to assets/usage_basic.md.Boduij81.lean.js index 4d163b0f..83ab0a96 100644 --- a/assets/usage_basic.md.D0kl3gm6.lean.js +++ b/assets/usage_basic.md.Boduij81.lean.js @@ -1 +1 @@ -import{_ as e,o as d,c as l,a7 as n}from"./chunks/framework._avq4Ty7.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"usage/basic.md","filePath":"zh/usage/basic.md","lastUpdated":1725101868000}'),r={name:"usage/basic.md"};function a(c,t,i,s,o,g){return d(),l("div",null,t[0]||(t[0]=[n('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; +import{_ as e,c as d,a7 as l,o as n}from"./chunks/framework.Z6UMW4JZ.js";const x=JSON.parse('{"title":"基础插件","description":"","frontmatter":{"title":"基础插件","order":1},"headers":[],"relativePath":"usage/basic.md","filePath":"zh/usage/basic.md","lastUpdated":1725101868000}'),r={name:"usage/basic.md"};function a(c,t,i,s,o,g){return n(),d("div",null,t[0]||(t[0]=[l('

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22)]))}const h=e(r,[["render",a]]);export{x as __pageData,h as default}; diff --git a/assets/usage_extra.md.CsRUq0wh.js b/assets/usage_extra.md.B8D17azU.js similarity index 97% rename from assets/usage_extra.md.CsRUq0wh.js rename to assets/usage_extra.md.B8D17azU.js index ab1cbe6d..3c8e050d 100644 --- a/assets/usage_extra.md.CsRUq0wh.js +++ b/assets/usage_extra.md.B8D17azU.js @@ -1 +1 @@ -import{_ as e,o as s,c as i,a7 as a}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"usage/extra.md","filePath":"zh/usage/extra.md","lastUpdated":1725101868000}'),l={name:"usage/extra.md"};function d(n,t,r,h,o,p){return s(),i("div",null,t[0]||(t[0]=[a('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; +import{_ as e,c as s,a7 as i,o as a}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"usage/extra.md","filePath":"zh/usage/extra.md","lastUpdated":1725101868000}'),l={name:"usage/extra.md"};function d(n,t,r,h,o,p){return a(),s("div",null,t[0]||(t[0]=[i('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; diff --git a/assets/usage_extra.md.CsRUq0wh.lean.js b/assets/usage_extra.md.B8D17azU.lean.js similarity index 97% rename from assets/usage_extra.md.CsRUq0wh.lean.js rename to assets/usage_extra.md.B8D17azU.lean.js index ab1cbe6d..3c8e050d 100644 --- a/assets/usage_extra.md.CsRUq0wh.lean.js +++ b/assets/usage_extra.md.B8D17azU.lean.js @@ -1 +1 @@ -import{_ as e,o as s,c as i,a7 as a}from"./chunks/framework._avq4Ty7.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"usage/extra.md","filePath":"zh/usage/extra.md","lastUpdated":1725101868000}'),l={name:"usage/extra.md"};function d(n,t,r,h,o,p){return s(),i("div",null,t[0]||(t[0]=[a('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; +import{_ as e,c as s,a7 as i,o as a}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"usage/extra.md","filePath":"zh/usage/extra.md","lastUpdated":1725101868000}'),l={name:"usage/extra.md"};function d(n,t,r,h,o,p){return a(),s("div",null,t[0]||(t[0]=[i('

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc
',20)]))}const g=e(l,[["render",d]]);export{k as __pageData,g as default}; diff --git a/deploy/config.html b/deploy/config.html index c196d4d9..518e127d 100644 --- a/deploy/config.html +++ b/deploy/config.html @@ -6,21 +6,21 @@ 配置 | 轻雪机器人 - + - + - - - + + + -
Skip to content

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
+    
Skip to content

配置

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

yaml
nonebot:
   # Nonebot机器人的配置,6.3.10版本后,NoneBot下配置已迁移至nonebot键下,不再使用外层配置,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
@@ -50,8 +50,8 @@
   debug: false  # 轻雪调试,开启会自动重载Bot或者资源,其他插件自带的调试功能也将开启
   dev_mode: false # 开发者模式,开启后将会启动监视者,监视文件变化并自动重载
 
-...

示例:与NoneBot对接的OneBot实现端配置

生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

字段参考值说明
协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

其他

  • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器或使用轻雪讯息传递插件

文档由 VitePress 构建 | API引用由 litedoc 生成

- +...

示例:与NoneBot对接的OneBot实现端配置

生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

字段参考值说明
协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

其他

  • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器或使用轻雪讯息传递插件

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/deploy/fandq.html b/deploy/fandq.html index 4379a939..288c0e8c 100644 --- a/deploy/fandq.html +++ b/deploy/fandq.html @@ -6,24 +6,24 @@ 答疑 | 轻雪机器人 - + - + - - - + + + -
Skip to content

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
+    
Skip to content

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么对接聊天平台?

    • Bot部分插件提供了对接特定平台的能力,例如使用NoneBot插件可对接支持的适配器平台
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件

其他问题

-
 加入QQ群[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726)
-

文档由 VitePress 构建 | API引用由 litedoc 生成

- +

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/deploy/install.html b/deploy/install.html index 8fdb50f6..181c9452 100644 --- a/deploy/install.html +++ b/deploy/install.html @@ -6,21 +6,21 @@ 安装 | 轻雪机器人 - + - + - - - + + + -
Skip to content

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
+    
Skip to content

安装

常规部署

  1. 安装 GitPython3.10+ 环境
bash
# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 # 若你不能访问Github,可以使用Liteyuki镜像:https://git.liteyuki.icu/bot/app
 
 # 切换到Bot目录下
@@ -37,8 +37,8 @@
 pip install -r requirements.txt
 
 # 启动Bot
-python main.py

使用Docker构建

bash
docker pull git.liteyuki.icu/bot/app:latest  # 每夜版镜像

TIP

Windows请使用项目绝对目录/path/to/LiteyukiBot代替$(pwd)
若你修改了端口号请将20216:20216中的20216替换为你的端口号

装置要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用300~500MB,包括chromiumnode等进程,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间

WARNING

如果装置上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python 为你的Python可执行文件路径

WARNING

轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能

其他问题请移步至答疑

文档由 VitePress 构建 | API引用由 litedoc 生成

- +python main.py

使用Docker构建

bash
docker pull git.liteyuki.icu/bot/app:latest  # 每夜版镜像

TIP

Windows请使用项目绝对目录/path/to/LiteyukiBot代替$(pwd)
若你修改了端口号请将20216:20216中的20216替换为你的端口号

装置要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用300~500MB,包括chromiumnode等进程,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间

WARNING

如果装置上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python 为你的Python可执行文件路径

WARNING

轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能

其他问题请移步至答疑

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/bot/index.html b/dev/api/bot/index.html index 3051d317..7535f0ff 100644 --- a/dev/api/bot/index.html +++ b/dev/api/bot/index.html @@ -6,21 +6,21 @@ liteyuki.bot | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
+    
Skip to content

模块 liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
@@ -97,8 +97,8 @@
         if compat_key in get_bot().config:
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
-    return default

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return default

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/bot/lifespan.html b/dev/api/bot/lifespan.html index 22c57cf3..e368f5f2 100644 --- a/dev/api/bot/lifespan.html +++ b/dev/api/bot/lifespan.html @@ -6,21 +6,21 @@ liteyuki.bot.lifespan | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:
+    
Skip to content

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:
     self.life_flag: int = 0
     self._before_start_funcs: list[LIFESPAN_FUNC] = []
     self._after_start_funcs: list[LIFESPAN_FUNC] = []
@@ -54,8 +54,8 @@
     logger.debug('Running before_restart functions')
     await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:
     logger.debug('Running after_restart functions')
-    await self.run_funcs(self._after_restart_funcs)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + await self.run_funcs(self._after_restart_funcs)

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/comm/channel.html b/dev/api/comm/channel.html index 7a2adcae..72be9e4e 100644 --- a/dev/api/comm/channel.html +++ b/dev/api/comm/channel.html @@ -6,21 +6,21 @@ liteyuki.comm.channel | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+    
Skip to content

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -110,8 +110,8 @@
     recv_chan.send(get_channel(name))

@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')

func on_get_channels(data: tuple[str, dict[str, Any]])

源代码在GitHub上查看
python
@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')
 def on_get_channels(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(get_channels())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + recv_chan.send(get_channels())

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/comm/event.html b/dev/api/comm/event.html index c22207d3..54c76c84 100644 --- a/dev/api/comm/event.html +++ b/dev/api/comm/event.html @@ -6,24 +6,24 @@ liteyuki.comm.event | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

源代码在GitHub上查看
python
def __init__(self, name: str, data: dict[str, Any]):
+    
-    
+    self.data = data

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/comm/index.html b/dev/api/comm/index.html index 5a14704c..2b4f7e44 100644 --- a/dev/api/comm/index.html +++ b/dev/api/comm/index.html @@ -6,22 +6,22 @@ liteyuki.comm | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/comm/storage.html b/dev/api/comm/storage.html index 6656b0d6..83b2abf5 100644 --- a/dev/api/comm/storage.html +++ b/dev/api/comm/storage.html @@ -6,21 +6,21 @@ liteyuki.comm.storage | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
+    
Skip to content

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore


func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
@@ -109,8 +109,8 @@
     shared_memory.delete(key)

@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')

func on_get_all(data: tuple[str, dict[str, Any]])

源代码在GitHub上查看
python
@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')
 def on_get_all(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(shared_memory.get_all())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + recv_chan.send(shared_memory.get_all())

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/config.html b/dev/api/config.html index d1ec53e3..163b837d 100644 --- a/dev/api/config.html +++ b/dev/api/config.html @@ -6,21 +6,21 @@ liteyuki.config | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

{a:{b:{c:1}}} ->

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+    
Skip to content

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

{a:{b:{c:1}}} ->

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
@@ -62,8 +62,8 @@
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

说明: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

参数:

  • no_waring: 是否关闭警告
源代码在GitHub上查看
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
-    return config

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return config

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/core/index.html b/dev/api/core/index.html index 88d28e75..04fc82fe 100644 --- a/dev/api/core/index.html +++ b/dev/api/core/index.html @@ -6,22 +6,22 @@ liteyuki.core | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/core/manager.html b/dev/api/core/manager.html index b6746f5b..158c968d 100644 --- a/dev/api/core/manager.html +++ b/dev/api/core/manager.html @@ -6,21 +6,21 @@ liteyuki.core.manager | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+    
Skip to content

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
@@ -68,8 +68,8 @@
     for name, process in self.processes.items():
         process.terminate()
         logger.debug(f'Terminating process {name}')

func get_process(self, name: str) -> SubProcess | None

说明: 获取指定子进程

参数:

  • name: 子进程名称
源代码在GitHub上查看
python
def get_process(self, name: str) -> SubProcess | None:
-    return self.processes.get(name, None)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return self.processes.get(name, None)

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/dev/index.html b/dev/api/dev/index.html index ff6b2e9a..13b9ea63 100644 --- a/dev/api/dev/index.html +++ b/dev/api/dev/index.html @@ -6,22 +6,22 @@ liteyuki.dev | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/dev/observer.html b/dev/api/dev/observer.html index 735d023d..23cbec49 100644 --- a/dev/api/dev/observer.html +++ b/dev/api/dev/observer.html @@ -6,21 +6,21 @@ liteyuki.dev.observer | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
+    
Skip to content

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]


func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
 
     def decorator(func):
 
@@ -51,8 +51,8 @@
         for directory in directories:
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
-    return decorator

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return decorator

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/dev/plugin.html b/dev/api/dev/plugin.html index 49b144f0..d992dc2f 100644 --- a/dev/api/dev/plugin.html +++ b/dev/api/dev/plugin.html @@ -6,28 +6,28 @@ liteyuki.dev.plugin | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
+    
Skip to content

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
-    bot.run()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + bot.run()

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/exception.html b/dev/api/exception.html index 7e4a94ba..e046bd4c 100644 --- a/dev/api/exception.html +++ b/dev/api/exception.html @@ -6,22 +6,22 @@ liteyuki.exception | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/index.html b/dev/api/index.html index 20ae13bb..adfc5f75 100644 --- a/dev/api/index.html +++ b/dev/api/index.html @@ -6,22 +6,22 @@ liteyuki API | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/log.html b/dev/api/log.html index b0bfee92..8c7320f1 100644 --- a/dev/api/log.html +++ b/dev/api/log.html @@ -6,21 +6,21 @@ liteyuki.log | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
+    
Skip to content

模块 liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

说明: 获取日志格式

参数:

  • level: 日志等级
源代码在GitHub上查看
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
@@ -37,8 +37,8 @@
     logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}")
     logger.level('CRITICAL', color='<red>', icon=f"{('❌' if show_icon else '')}")
     logger.level('TRACE', color='<cyan>', icon=f"{('🔍' if show_icon else '')}")
-    logger.bind()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + logger.bind()

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/plugin/index.html b/dev/api/plugin/index.html index 4d0f731d..e43edb38 100644 --- a/dev/api/plugin/index.html +++ b/dev/api/plugin/index.html @@ -6,23 +6,23 @@ liteyuki.plugin | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/plugin/load.html b/dev/api/plugin/load.html index 2c76614c..57c5ffe3 100644 --- a/dev/api/plugin/load.html +++ b/dev/api/plugin/load.html @@ -6,21 +6,21 @@ liteyuki.plugin.load | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+    
Skip to content

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -81,8 +81,8 @@
             color = 'e'
         case PluginType.SERVICE:
             color = 'c'
-    return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/plugin/manager.html b/dev/api/plugin/manager.html index 83091b7d..cb9557fc 100644 --- a/dev/api/plugin/manager.html +++ b/dev/api/plugin/manager.html @@ -6,22 +6,22 @@ liteyuki.plugin.manager | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/plugin/model.html b/dev/api/plugin/model.html index b7dd82b4..5e4f102c 100644 --- a/dev/api/plugin/model.html +++ b/dev/api/plugin/model.html @@ -6,23 +6,23 @@ liteyuki.plugin.model | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):
-    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

源代码在GitHub上查看
python
def __hash__(self):
+    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/plugins/index.html b/dev/api/plugins/index.html index 9c32a4e2..025e9039 100644 --- a/dev/api/plugins/index.html +++ b/dev/api/plugins/index.html @@ -6,22 +6,22 @@ liteyuki.plugins | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/plugins/liteecho.html b/dev/api/plugins/liteecho.html index 04212074..19277a18 100644 --- a/dev/api/plugins/liteecho.html +++ b/dev/api/plugins/liteecho.html @@ -6,24 +6,24 @@ liteyuki.plugins.liteecho | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
+    
Skip to content

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
 async def liteecho(event: MessageEvent):
-    event.reply(event.raw_message.strip()[8:].strip())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + event.reply(event.raw_message.strip()[8:].strip())

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/plugins/plugin_loader/index.html b/dev/api/plugins/plugin_loader/index.html index 889d7927..387c1936 100644 --- a/dev/api/plugins/plugin_loader/index.html +++ b/dev/api/plugins/plugin_loader/index.html @@ -6,26 +6,26 @@ liteyuki.plugins.plugin_loader | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():
+    
Skip to content

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():
     for plugin in get_config('liteyuki.plugins', []):
         load_plugin(plugin)
     for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
-        load_plugins(plugin_dir)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + load_plugins(plugin_dir)

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/event.html b/dev/api/session/event.html index 98eff263..2831e9df 100644 --- a/dev/api/session/event.html +++ b/dev/api/session/event.html @@ -6,21 +6,21 @@ liteyuki.session.event | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+    
Skip to content

模块 liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
@@ -34,8 +34,8 @@
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

说明: 回复消息

参数:

  • message:
源代码在GitHub上查看
python
def reply(self, message: str | dict[str, Any]):
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
-        self.receive_channel.send(reply_event)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + self.receive_channel.send(reply_event)

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/index.html b/dev/api/session/index.html index f00bd68f..605dd439 100644 --- a/dev/api/session/index.html +++ b/dev/api/session/index.html @@ -6,25 +6,25 @@ liteyuki.session | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):
+    
Skip to content

模块 liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

参数:

  • i_chans: 多路输入管道组
源代码在GitHub上查看
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):
     for msg in select(*i_chans):
         logger.debug(f'Recv from anybot {msg}')
-        logger.info(f'Recv from anybot {msg}')

文档由 VitePress 构建 | API引用由 litedoc 生成

- + logger.info(f'Recv from anybot {msg}')

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/matcher.html b/dev/api/session/matcher.html index b403ad79..6cc9294c 100644 --- a/dev/api/session/matcher.html +++ b/dev/api/session/matcher.html @@ -6,21 +6,21 @@ liteyuki.session.matcher | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
+    
Skip to content

模块 liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
@@ -36,8 +36,8 @@
         try:
             await handler(event)
         except Exception:
-            traceback.print_exc()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + traceback.print_exc()

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/message/segments.html b/dev/api/session/message/segments.html index 2d6cb484..8517b795 100644 --- a/dev/api/session/message/segments.html +++ b/dev/api/session/message/segments.html @@ -6,22 +6,22 @@ liteyuki.session.message.segments | 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/dev/api/session/models.html b/dev/api/session/models.html index 62488ec1..f4ae5347 100644 --- a/dev/api/session/models.html +++ b/dev/api/session/models.html @@ -6,21 +6,21 @@ liteyuki.session.models | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property
+    
Skip to content

模块 liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

源代码在GitHub上查看
python
@property
 def session_id(self):
     if self.scope == SceneType.PRIVATE:
         return f'{self.scope}:{self.user.id}'
@@ -32,8 +32,8 @@
     if self.scope == SceneType.PRIVATE:
         return f'{self.scope}:{self.user.id}'
     elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):
-        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/on.html b/dev/api/session/on.html index 7024c8a8..dfb560d8 100644 --- a/dev/api/session/on.html +++ b/dev/api/session/on.html @@ -6,21 +6,21 @@ liteyuki.session.on | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
+    
Skip to content

模块 liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

源代码在GitHub上查看
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
@@ -34,8 +34,8 @@
     @Rule
     async def on_keywords_rule(event: MessageEvent):
         return any((keyword in event.raw_message for keyword in keywords))
-    return on_message(on_keywords_rule & rule, priority, block)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return on_message(on_keywords_rule & rule, priority, block)

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/session/rule.html b/dev/api/session/rule.html index 50424054..c5c90b31 100644 --- a/dev/api/session/rule.html +++ b/dev/api/session/rule.html @@ -6,21 +6,21 @@ liteyuki.session.rule | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):
+    
Skip to content

模块 liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • 说明: 规则函数签名

  • 类型: TypeAlias

  • 默认值: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

源代码在GitHub上查看
python
def __init__(self, handler: RuleHandlerFunc):
     self.handler = handler

func self | other: Rule => Rule

源代码在GitHub上查看
python
def __or__(self, other: 'Rule') -> 'Rule':
 
     async def combined_handler(event: MessageEvent) -> bool:
@@ -36,8 +36,8 @@
 async def empty_rule(event: MessageEvent) -> bool:
     return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule
 async def is_su_rule(event: MessageEvent) -> bool:
-    return str(event.user_id) in _superusers

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return str(event.user_id) in _superusers

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/api/utils.html b/dev/api/utils.html index c17a4e8e..470df6c4 100644 --- a/dev/api/utils.html +++ b/dev/api/utils.html @@ -6,21 +6,21 @@ liteyuki.utils | 轻雪机器人 - + - + - - - + + + -
Skip to content

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+    
Skip to content

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
@@ -52,8 +52,8 @@
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
-    return wrapper

文档由 VitePress 构建 | API引用由 litedoc 生成

- + return wrapper

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/best_practices.html b/dev/best_practices.html index d1a6d3a2..7f65960e 100644 --- a/dev/best_practices.html +++ b/dev/best_practices.html @@ -6,22 +6,22 @@ 最佳实践 | 轻雪机器人 - + - + - - - + + + -
Skip to content

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

最佳实践

机器人应用

插件

其他

  • liteyuki starmap:轻雪官方星图,展示轻雪的所有实例及其位置分布
  • TRSS_Liteyuki:TRSS LiteyukiBot 管理脚本
  • litedoc:轻雪API文档生成器
  • liteyukibot-api (闭源):轻雪机器人统计接口

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/comm.html b/dev/comm.html index 8798c163..b939a189 100644 --- a/dev/comm.html +++ b/dev/comm.html @@ -6,21 +6,21 @@ 进程通信 | 轻雪机器人 - + - + - - - + + + -
Skip to content

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+    
Skip to content

通道通信

简介

轻雪运行在主进程 MainProcess 里,有部分实现插件为了一些功能在子进程中运行,这样两个进程上下文是不会互相干扰的,因此无法通过共享内存和直接对象传递进行通信。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
@@ -62,8 +62,8 @@
 ...

共享内存通信

简介

  • 相比于普通进程通信,内存共享使得代码编写更加简洁,轻雪框架提供了一个内存共享通信的接口,你可以通过storage模块实现内存共享通信,该模块封装通道实现
  • 内存共享是线程安全的,你可以在多个线程中读写共享内存,线程锁会自动保护共享内存的读写操作

示例

在任意进程中均可使用

python
from liteyuki.comm.storage import shared_memory
 
 shared_memory.set("key", "value")  # 设置共享内存
-value = shared_memory.get("key")  # 获取共享内存

源代码:liteyuki/comm/storage.py

文档由 VitePress 构建 | API引用由 litedoc 生成

- +value = shared_memory.get("key") # 获取共享内存

源代码:liteyuki/comm/storage.py

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/guide.html b/dev/guide.html index 68616690..fa226252 100644 --- a/dev/guide.html +++ b/dev/guide.html @@ -6,23 +6,23 @@ 开发指南 | 轻雪机器人 - + - + - - - - + + + + -
Skip to content

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。

感谢以下贡献者!

Contributors

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。

感谢以下贡献者!

Contributors

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/lyfunc.html b/dev/lyfunc.html index 906b3785..abfdafe1 100644 --- a/dev/lyfunc.html +++ b/dev/lyfunc.html @@ -6,21 +6,21 @@ 轻雪函数 | 轻雪机器人 - + - + - - - + + + -
Skip to content

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+    
Skip to content

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
@@ -39,8 +39,8 @@
 api friend_poke user_id=user_id
 sleep 0.2
 nohup function poke
-await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

文档由 VitePress 构建 | API引用由 litedoc 生成

- +await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/plugin.html b/dev/plugin.html index a455da93..ccd241c0 100644 --- a/dev/plugin.html +++ b/dev/plugin.html @@ -6,21 +6,21 @@ 插件开发 | 轻雪机器人 - + - + - - - + + + -
Skip to content

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+    
Skip to content

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

插件大致可分为应用(Application)、实现(Implementation)及服务(Service)等几种类型,大部分情况下一个插件通常承担着多个责任,可按需调整

应用:从总线通道接收到消息后进行处理,响应,以实现某些功能,例如echo

实现:对接特定平台,把平台的消息转换为轻雪消息格式传入总线通道

服务:提供一系列对外的ipc/rpc/http等服务,供其他插件调用

我们鼓励使用magicoca进行对象传递来进行插件间通信而不是依赖关系,这样可以避免很多潜在的问题。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
@@ -51,8 +51,8 @@
     logger.debug(f"File {event.src_path} changed, reloading nonebot...")
     liteyuki.restart_process("nonebot")  # 调用重启进程方法

加载插件

方法1

  • 在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。

方法2

  • 使用开发工具快速运行插件,无需手动创建实例
  • 创建入口文件,例如main.py,并在其中写入以下代码
python
from liteyuki.dev.plugin import run_plugins
 
-run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

文档由 VitePress 构建 | API引用由 litedoc 生成

- +run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/dev/resource.html b/dev/resource.html index 7f1af1dc..007a7c3e 100644 --- a/dev/resource.html +++ b/dev/resource.html @@ -6,21 +6,21 @@ 资源包开发 | 轻雪机器人 - + - + - - - + + + -
Skip to content

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+    
Skip to content

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
@@ -32,8 +32,8 @@
 version: "1.0.0"
 description: "资源包描述"
 # 你可以自定义一些信息,但请保证以上三个字段
-...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

文档由 VitePress 构建 | API引用由 litedoc 生成

- +...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/en/deploy/config.html b/en/deploy/config.html index f5a95a3f..26dd4d8c 100644 --- a/en/deploy/config.html +++ b/en/deploy/config.html @@ -6,21 +6,21 @@ Configurations | LiteyukiBot - + - + - - - + + + -
Skip to content

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
+    
Skip to content

Configurations

LiteyukiBot supports yaml, json, and toml as configuration files, depending on your personal preference.

When you first run LiteyukiBot, it will generate config.yml and the config directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the superusers and nickname fields.

When starting, LiteyukiBot will load all configuration files in the project directory config.yml/yaml/json/toml and the config directory. You can create multiple configuration files in the config directory, and LiteyukiBot will automatically merge these configuration files.

Basic Configuration

yaml
# NoneBot configuration
 nonebot:
   command_start: [ "/", "" ] # Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal
   host: 127.0.0.1 # Listening address, default is local, if you want to receive external requests, please fill in
@@ -48,8 +48,8 @@
   allow_update: true # Whether to allow Liteyuki to update
   debug: false  # Debug mode, if true, Liteyuki will output more detailed logs
   dev_mode: false # development mode, if true, Liteyuki will load all plugins in the development directory
-...
yaml

Example: Configuration of OneBot implementation side connected to NoneBot

In production environments, it is recommended to use reverse WebSocket The fields provided by different implementation sides may be different, but basically the same. Here is a reference value

FieldsValueDescription
protocolReverse WebSocketLiteyuki-NoneBot as server
addressws://127.0.0.1:20216/onebot/v11/wsThe address depends on the configuration file, the default is `
AccessToken""If you have configured AccessToken for Liteyuki, please fill in the same value here
  • To use other communication methods, please visit OneBot Adapter for detailed information

Other

  • Liteyuki is not limited to the OneBot adapter and NoneBot2. You can use any adapter supported by NoneBot2 or use the Liteyuki message delivery plugin

Documentation built with VitePress | API references generated by litedoc

- +...
yaml

Example: Configuration of OneBot implementation side connected to NoneBot

In production environments, it is recommended to use reverse WebSocket The fields provided by different implementation sides may be different, but basically the same. Here is a reference value

FieldsValueDescription
protocolReverse WebSocketLiteyuki-NoneBot as server
addressws://127.0.0.1:20216/onebot/v11/wsThe address depends on the configuration file, the default is `
AccessToken""If you have configured AccessToken for Liteyuki, please fill in the same value here
  • To use other communication methods, please visit OneBot Adapter for detailed information

Other

  • Liteyuki is not limited to the OneBot adapter and NoneBot2. You can use any adapter supported by NoneBot2 or use the Liteyuki message delivery plugin

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/deploy/fandq.html b/en/deploy/fandq.html index 6ea4bb5f..7aec68e8 100644 --- a/en/deploy/fandq.html +++ b/en/deploy/fandq.html @@ -6,22 +6,22 @@ FAQ | LiteyukiBot - + - + - - - + + + -
Skip to content

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms?

    • Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/deploy/install.html b/en/deploy/install.html index ebe48f4b..6f6f9900 100644 --- a/en/deploy/install.html +++ b/en/deploy/install.html @@ -6,21 +6,21 @@ Install | LiteyukiBot - + - + - - - + + + -
Skip to content

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
+    
Skip to content

Install

Normal Installation

  1. Install Git and Python3.10+ Environment.
bash
# Clone Repo
 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
 
 # Change directory
@@ -37,8 +37,8 @@
 pip install -r requirements.txt
 
 # Run Liteyuki
-python main.py

TIP

It is recommended to use a virtual environment to run Liteyuki to avoid dependency conflicts. You can use python -m venv .venv to create a virtual environment, and then use .venv\Scripts\activate to activate the virtual environment (use source .venv/bin/activate to activate on Linux).

Run with Docker

bash
docker pull git.liteyuki.icu/bot/app:latest  # Nightly build

TIP

If you are using Windows, please use the absolute project directory /path/to/LiteyukiBot instead of $&#40;pwd&#41;
If you have modified the port number, please replace 20216:20216 with your port number

Device Requirements

  • Windows system version minimum Windows10+/Windows Server 2019+
  • Linux system requires Python3.10+, recommended Ubuntu 20.04+
  • CPU: at least 1vCPU
  • Memory: Bot without other plugins will occupy 300~500MB, including chromium and node processes, other plugins depend on specific plugins, recommended 1GB or more
  • Disk: at least 1GB of space

WARNING

If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt to install dependencies, path/to/python is the path to your Python executable

WARNING

Liteyuki's update function depends on Git. If you do not have Git installed and run the source code directly, you will not be able to use the update function

For other questions, please refer to FAQ

Documentation built with VitePress | API references generated by litedoc

- +python main.py

TIP

It is recommended to use a virtual environment to run Liteyuki to avoid dependency conflicts. You can use python -m venv .venv to create a virtual environment, and then use .venv\Scripts\activate to activate the virtual environment (use source .venv/bin/activate to activate on Linux).

Run with Docker

bash
docker pull git.liteyuki.icu/bot/app:latest  # Nightly build

TIP

If you are using Windows, please use the absolute project directory /path/to/LiteyukiBot instead of $&#40;pwd&#41;
If you have modified the port number, please replace 20216:20216 with your port number

Device Requirements

  • Windows system version minimum Windows10+/Windows Server 2019+
  • Linux system requires Python3.10+, recommended Ubuntu 20.04+
  • CPU: at least 1vCPU
  • Memory: Bot without other plugins will occupy 300~500MB, including chromium and node processes, other plugins depend on specific plugins, recommended 1GB or more
  • Disk: at least 1GB of space

WARNING

If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt to install dependencies, path/to/python is the path to your Python executable

WARNING

Liteyuki's update function depends on Git. If you do not have Git installed and run the source code directly, you will not be able to use the update function

For other questions, please refer to FAQ

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/bot/index.html b/en/dev/api/bot/index.html index 1ba84150..a4e5f13c 100644 --- a/en/dev/api/bot/index.html +++ b/en/dev/api/bot/index.html @@ -6,21 +6,21 @@ liteyuki.bot | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
+    
Skip to content

Module liteyuki.bot

class LiteyukiBot


func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
     """总通道"""
     self.i_chan = Chan[Any]()
     self.o_chan = Chan[Any]()
@@ -97,8 +97,8 @@
         if compat_key in get_bot().config:
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
-    return default

Documentation built with VitePress | API references generated by litedoc

- + return default

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/bot/lifespan.html b/en/dev/api/bot/lifespan.html index 3504b2f2..2d420274 100644 --- a/en/dev/api/bot/lifespan.html +++ b/en/dev/api/bot/lifespan.html @@ -6,21 +6,21 @@ liteyuki.bot.lifespan | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:
+    
Skip to content

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan


func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:
     self.life_flag: int = 0
     self._before_start_funcs: list[LIFESPAN_FUNC] = []
     self._after_start_funcs: list[LIFESPAN_FUNC] = []
@@ -54,8 +54,8 @@
     logger.debug('Running before_restart functions')
     await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:
     logger.debug('Running after_restart functions')
-    await self.run_funcs(self._after_restart_funcs)

Documentation built with VitePress | API references generated by litedoc

- + await self.run_funcs(self._after_restart_funcs)

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/comm/channel.html b/en/dev/api/comm/channel.html index cfc87de5..64b320f0 100644 --- a/en/dev/api/comm/channel.html +++ b/en/dev/api/comm/channel.html @@ -6,21 +6,21 @@ liteyuki.comm.channel | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
+    
Skip to content

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])


func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -110,8 +110,8 @@
     recv_chan.send(get_channel(name))

@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')

func on_get_channels(data: tuple[str, dict[str, Any]])

Source code or View on GitHub
python
@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')
 def on_get_channels(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(get_channels())

Documentation built with VitePress | API references generated by litedoc

- + recv_chan.send(get_channels())

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/comm/event.html b/en/dev/api/comm/event.html index 6ccf8bf4..d30aa2df 100644 --- a/en/dev/api/comm/event.html +++ b/en/dev/api/comm/event.html @@ -6,24 +6,24 @@ liteyuki.comm.event | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):
+    
Skip to content

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event


func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):
     self.name = name
-    self.data = data

Documentation built with VitePress | API references generated by litedoc

- + self.data = data

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/comm/index.html b/en/dev/api/comm/index.html index 573b5fa7..b4fb56fa 100644 --- a/en/dev/api/comm/index.html +++ b/en/dev/api/comm/index.html @@ -6,22 +6,22 @@ liteyuki.comm | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/comm/storage.html b/en/dev/api/comm/storage.html index 189ce877..618a93fe 100644 --- a/en/dev/api/comm/storage.html +++ b/en/dev/api/comm/storage.html @@ -6,21 +6,21 @@ liteyuki.comm.storage | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
+    
Skip to content

Module liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • Description: 主进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

var _on_sub_subscriber_receive_funcs

  • Description: 子进程订阅者接收函数

  • Type: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • Default: {}

class KeyValueStore


func __init__(self)

Source code or View on GitHub
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
@@ -109,8 +109,8 @@
     shared_memory.delete(key)

@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')

func on_get_all(data: tuple[str, dict[str, Any]])

Source code or View on GitHub
python
@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')
 def on_get_all(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(shared_memory.get_all())

Documentation built with VitePress | API references generated by litedoc

- + recv_chan.send(shared_memory.get_all())

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/config.html b/en/dev/api/config.html index 1d83e55a..b8a01fca 100644 --- a/en/dev/api/config.html +++ b/en/dev/api/config.html @@ -6,21 +6,21 @@ liteyuki.config | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

{a:{b:{c:1}}} ->

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
+    
Skip to content

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

{a:{b:{c:1}}} ->

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
@@ -62,8 +62,8 @@
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

Description: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

Arguments:

  • no_waring: 是否关闭警告
Source code or View on GitHub
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
-    return config

Documentation built with VitePress | API references generated by litedoc

- + return config

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/core/index.html b/en/dev/api/core/index.html index d346e48d..887b30b6 100644 --- a/en/dev/api/core/index.html +++ b/en/dev/api/core/index.html @@ -6,22 +6,22 @@ liteyuki.core | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/core/manager.html b/en/dev/api/core/manager.html index bd2eb180..622152a2 100644 --- a/en/dev/api/core/manager.html +++ b/en/dev/api/core/manager.html @@ -6,21 +6,21 @@ liteyuki.core.manager | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+    
Skip to content

Module liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver


func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

Source code or View on GitHub
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
@@ -68,8 +68,8 @@
     for name, process in self.processes.items():
         process.terminate()
         logger.debug(f'Terminating process {name}')

func get_process(self, name: str) -> SubProcess | None

Description: 获取指定子进程

Arguments:

  • name: 子进程名称
Source code or View on GitHub
python
def get_process(self, name: str) -> SubProcess | None:
-    return self.processes.get(name, None)

Documentation built with VitePress | API references generated by litedoc

- + return self.processes.get(name, None)

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/dev/index.html b/en/dev/api/dev/index.html index 6ccfdd3b..371c2022 100644 --- a/en/dev/api/dev/index.html +++ b/en/dev/api/dev/index.html @@ -6,22 +6,22 @@ liteyuki.dev | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/dev/observer.html b/en/dev/api/dev/observer.html index 895a6c6a..62c1adba 100644 --- a/en/dev/api/dev/observer.html +++ b/en/dev/api/dev/observer.html @@ -6,21 +6,21 @@ liteyuki.dev.observer | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
+    
Skip to content

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]


func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
 
     def decorator(func):
 
@@ -51,8 +51,8 @@
         for directory in directories:
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
-    return decorator

Documentation built with VitePress | API references generated by litedoc

- + return decorator

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/dev/plugin.html b/en/dev/api/dev/plugin.html index c06ba124..4337863f 100644 --- a/en/dev/api/dev/plugin.html +++ b/en/dev/api/dev/plugin.html @@ -6,28 +6,28 @@ liteyuki.dev.plugin | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
+    
Skip to content

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm


func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
-    bot.run()

Documentation built with VitePress | API references generated by litedoc

- + bot.run()

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/exception.html b/en/dev/api/exception.html index c301abd1..2c4eaba0 100644 --- a/en/dev/api/exception.html +++ b/en/dev/api/exception.html @@ -6,22 +6,22 @@ liteyuki.exception | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/index.html b/en/dev/api/index.html index 7816eefd..b4cbdabb 100644 --- a/en/dev/api/index.html +++ b/en/dev/api/index.html @@ -6,22 +6,22 @@ liteyuki API | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/log.html b/en/dev/api/log.html index b4779b07..413c6105 100644 --- a/en/dev/api/log.html +++ b/en/dev/api/log.html @@ -6,21 +6,21 @@ liteyuki.log | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
+    
Skip to content

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm


func get_format(level: str) -> str

Description: 获取日志格式

Arguments:

  • level: 日志等级
Source code or View on GitHub
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
@@ -37,8 +37,8 @@
     logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}")
     logger.level('CRITICAL', color='<red>', icon=f"{('❌' if show_icon else '')}")
     logger.level('TRACE', color='<cyan>', icon=f"{('🔍' if show_icon else '')}")
-    logger.bind()

Documentation built with VitePress | API references generated by litedoc

- + logger.bind()

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/plugin/index.html b/en/dev/api/plugin/index.html index a9c56366..0856ab1c 100644 --- a/en/dev/api/plugin/index.html +++ b/en/dev/api/plugin/index.html @@ -6,23 +6,23 @@ liteyuki.plugin | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/plugin/load.html b/en/dev/api/plugin/load.html index 12330477..6b22e210 100644 --- a/en/dev/api/plugin/load.html +++ b/en/dev/api/plugin/load.html @@ -6,21 +6,21 @@ liteyuki.plugin.load | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
+    
Skip to content

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm


func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -81,8 +81,8 @@
             color = 'e'
         case PluginType.SERVICE:
             color = 'c'
-    return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

Documentation built with VitePress | API references generated by litedoc

- + return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/plugin/manager.html b/en/dev/api/plugin/manager.html index 89dcda5f..5164c93c 100644 --- a/en/dev/api/plugin/manager.html +++ b/en/dev/api/plugin/manager.html @@ -6,22 +6,22 @@ liteyuki.plugin.manager | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/plugin/model.html b/en/dev/api/plugin/model.html index 19979e6f..84c78f9f 100644 --- a/en/dev/api/plugin/model.html +++ b/en/dev/api/plugin/model.html @@ -6,23 +6,23 @@ liteyuki.plugin.model | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):
-    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self

Source code or View on GitHub
python
def __hash__(self):
+    return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/plugins/index.html b/en/dev/api/plugins/index.html index 516c3aed..e6fd3678 100644 --- a/en/dev/api/plugins/index.html +++ b/en/dev/api/plugins/index.html @@ -6,22 +6,22 @@ liteyuki.plugins | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/plugins/liteecho.html b/en/dev/api/plugins/liteecho.html index 54886e1c..974d77cc 100644 --- a/en/dev/api/plugins/liteecho.html +++ b/en/dev/api/plugins/liteecho.html @@ -6,24 +6,24 @@ liteyuki.plugins.liteecho | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
+    
Skip to content

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm


@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
 async def liteecho(event: MessageEvent):
-    event.reply(event.raw_message.strip()[8:].strip())

Documentation built with VitePress | API references generated by litedoc

- + event.reply(event.raw_message.strip()[8:].strip())

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/plugins/plugin_loader/index.html b/en/dev/api/plugins/plugin_loader/index.html index 6a577c0f..6a0dfc36 100644 --- a/en/dev/api/plugins/plugin_loader/index.html +++ b/en/dev/api/plugins/plugin_loader/index.html @@ -6,26 +6,26 @@ liteyuki.plugins.plugin_loader | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():
+    
Skip to content

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():
     for plugin in get_config('liteyuki.plugins', []):
         load_plugin(plugin)
     for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
-        load_plugins(plugin_dir)

Documentation built with VitePress | API references generated by litedoc

- + load_plugins(plugin_dir)

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/event.html b/en/dev/api/session/event.html index 99e96ad1..12021a40 100644 --- a/en/dev/api/session/event.html +++ b/en/dev/api/session/event.html @@ -6,21 +6,21 @@ liteyuki.session.event | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
+    
Skip to content

Module liteyuki.session.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent


func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
@@ -34,8 +34,8 @@
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

Description: 回复消息

Arguments:

  • message:
Source code or View on GitHub
python
def reply(self, message: str | dict[str, Any]):
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
-        self.receive_channel.send(reply_event)

Documentation built with VitePress | API references generated by litedoc

- + self.receive_channel.send(reply_event)

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/index.html b/en/dev/api/session/index.html index edf7c882..5c554335 100644 --- a/en/dev/api/session/index.html +++ b/en/dev/api/session/index.html @@ -6,25 +6,25 @@ liteyuki.session | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):
+    
Skip to content

Module liteyuki.session

该模块参考并引用了nonebot-plugin-alconna的消息段定义


func message_handler_thread(i_chans: Iterable[Chan[Any]])

Arguments:

  • i_chans: 多路输入管道组
Source code or View on GitHub
python
def message_handler_thread(i_chans: Iterable[Chan[Any]]):
     for msg in select(*i_chans):
         logger.debug(f'Recv from anybot {msg}')
-        logger.info(f'Recv from anybot {msg}')

Documentation built with VitePress | API references generated by litedoc

- + logger.info(f'Recv from anybot {msg}')

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/matcher.html b/en/dev/api/session/matcher.html index e86711f9..6da39e74 100644 --- a/en/dev/api/session/matcher.html +++ b/en/dev/api/session/matcher.html @@ -6,21 +6,21 @@ liteyuki.session.matcher | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
+    
Skip to content

Module liteyuki.session.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher


func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
@@ -36,8 +36,8 @@
         try:
             await handler(event)
         except Exception:
-            traceback.print_exc()

Documentation built with VitePress | API references generated by litedoc

- + traceback.print_exc()

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/message/segments.html b/en/dev/api/session/message/segments.html index f9514b65..d6042604 100644 --- a/en/dev/api/session/message/segments.html +++ b/en/dev/api/session/message/segments.html @@ -6,22 +6,22 @@ liteyuki.session.message.segments | LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/dev/api/session/models.html b/en/dev/api/session/models.html index cfd83e2e..742ac78b 100644 --- a/en/dev/api/session/models.html +++ b/en/dev/api/session/models.html @@ -6,21 +6,21 @@ liteyuki.session.models | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property
+    
Skip to content

Module liteyuki.session.models

本模块使用了nonebot-plugin-uninfo的部分模型定义 MIT License

Copyright (c) 2024 RF-Tar-Railt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class SceneType(int, Enum)

attr PRIVATE = 0

attr GROUP = 1

attr GUILD = 2

attr CHANNEL_TEXT = 3

attr CHANNEL_CATEGORY = 4

attr CHANNEL_VOICE = 5

class User(BaseModel)

attr id: str = NO_DEFAULT

attr name: str | None = None

attr nick: str | None = None

attr avatar: str | None = None

attr gender: str | None = None

class Scene(BaseModel)

attr id: str = NO_DEFAULT

attr type: SceneType = NO_DEFAULT

attr name: str | None = None

attr avatar: str | None = None

attr parent: 'Scene | None' = None

class Role(BaseModel)

attr id: str = NO_DEFAULT

attr level: int | None = None

attr name: str | None = None

class Member(BaseModel)

attr user: User = NO_DEFAULT

attr nickname: str | None = None

attr role: Role | None = None

attr mute: bool | None = None

attr joined_at: datetime | None = None

class Session(BaseModel)


@property

func session_id(self)

Source code or View on GitHub
python
@property
 def session_id(self):
     if self.scope == SceneType.PRIVATE:
         return f'{self.scope}:{self.user.id}'
@@ -32,8 +32,8 @@
     if self.scope == SceneType.PRIVATE:
         return f'{self.scope}:{self.user.id}'
     elif self.scope in (SceneType.GROUP, SceneType.GUILD, SceneType.CHANNEL_TEXT, SceneType.CHANNEL_VOICE, SceneType.CHANNEL_CATEGORY):
-        return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

Documentation built with VitePress | API references generated by litedoc

- + return f'{self.scope}:{self.scene.id}:{self.user.id}'

attr self_id: str = NO_DEFAULT

attr adapter: str = NO_DEFAULT

attr scope: str = NO_DEFAULT

attr scene: Scene = NO_DEFAULT

attr user: User = NO_DEFAULT

attr member: 'Member | None' = None

attr operator: 'Member | None' = None

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/on.html b/en/dev/api/session/on.html index a87bc658..91cc8698 100644 --- a/en/dev/api/session/on.html +++ b/en/dev/api/session/on.html @@ -6,21 +6,21 @@ liteyuki.session.on | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
+    
Skip to content

Module liteyuki.session.on

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:52 @Author : snowykami @Email : snowykami@outlook.com @File : on.py @Software: PyCharm


func add_matcher(matcher: Matcher)

Source code or View on GitHub
python
def add_matcher(matcher: Matcher):
     for i, m in enumerate(_matcher_list):
         if m.priority < matcher.priority:
             _matcher_list.insert(i, matcher)
@@ -34,8 +34,8 @@
     @Rule
     async def on_keywords_rule(event: MessageEvent):
         return any((keyword in event.raw_message for keyword in keywords))
-    return on_message(on_keywords_rule & rule, priority, block)

Documentation built with VitePress | API references generated by litedoc

- + return on_message(on_keywords_rule & rule, priority, block)

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/session/rule.html b/en/dev/api/session/rule.html index f6e71ec8..b0fb5c6b 100644 --- a/en/dev/api/session/rule.html +++ b/en/dev/api/session/rule.html @@ -6,21 +6,21 @@ liteyuki.session.rule | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):
+    
Skip to content

Module liteyuki.session.rule

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:55 @Author : snowykami @Email : snowykami@outlook.com @File : rule.py @Software: PyCharm

var RuleHandlerFunc

  • Description: 规则函数签名

  • Type: TypeAlias

  • Default: Callable[[MessageEvent], Coroutine[None, None, bool]]

class Rule


func __init__(self, handler: RuleHandlerFunc)

Source code or View on GitHub
python
def __init__(self, handler: RuleHandlerFunc):
     self.handler = handler

func self | other: Rule => Rule

Source code or View on GitHub
python
def __or__(self, other: 'Rule') -> 'Rule':
 
     async def combined_handler(event: MessageEvent) -> bool:
@@ -36,8 +36,8 @@
 async def empty_rule(event: MessageEvent) -> bool:
     return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule
 async def is_su_rule(event: MessageEvent) -> bool:
-    return str(event.user_id) in _superusers

Documentation built with VitePress | API references generated by litedoc

- + return str(event.user_id) in _superusers

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/api/utils.html b/en/dev/api/utils.html index 9f7cc029..20d6a9f6 100644 --- a/en/dev/api/utils.html +++ b/en/dev/api/utils.html @@ -6,21 +6,21 @@ liteyuki.utils | LiteyukiBot - + - + - - - + + + -
Skip to content

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
+    
Skip to content

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改


func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
@@ -52,8 +52,8 @@
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
-    return wrapper

Documentation built with VitePress | API references generated by litedoc

- + return wrapper

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/best_practices.html b/en/dev/best_practices.html index 330cdd3c..3e07ce32 100644 --- a/en/dev/best_practices.html +++ b/en/dev/best_practices.html @@ -6,22 +6,22 @@ Best Practices | LiteyukiBot - + - + - - - + + + -
Skip to content

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

Best Practices

Bot applications

plugins

Others

  • liteyuki starmap: Liteyuki official star map, showing all instances of Liteyuki and their location distribution
  • TRSS_Liteyuki: LiteyukiBot management script
  • litedoc: Liteyuki API documentation generator
  • liteyukibot-api (closed source): Liteyuki Bot stat interface

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/comm.html b/en/dev/comm.html index 2c092d24..1121eb00 100644 --- a/en/dev/comm.html +++ b/en/dev/comm.html @@ -6,21 +6,21 @@ Process Communication | LiteyukiBot - + - + - - - + + + -
Skip to content

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
+    
Skip to content

Channel Communication

Introduction

LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel Channel for inter-process communication like go. You can send messages to other processes through Channel and listen to messages from other processes.

Example

The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the chan.on_receive() decorator callback function, and active mode needs to call chan.receive() to implement

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

python
import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
@@ -62,8 +62,8 @@
 ...

共享内存通信

简介

  • 相比于普通进程通信,内存共享使得代码编写更加简洁,轻雪框架提供了一个内存共享通信的接口,你可以通过storage模块实现内存共享通信,该模块封装通道实现
  • 内存共享是线程安全的,你可以在多个线程中读写共享内存,线程锁会自动保护共享内存的读写操作

示例

在任意进程中均可使用

python
from liteyuki.comm.storage import shared_memory
 
 shared_memory.set("key", "value")  # 设置共享内存
-value = shared_memory.get("key")  # 获取共享内存

源代码:liteyuki/comm/storage.py

Documentation built with VitePress | API references generated by litedoc

- +value = shared_memory.get("key") # 获取共享内存

源代码:liteyuki/comm/storage.py

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/guide.html b/en/dev/guide.html index 19f96a40..45caca07 100644 --- a/en/dev/guide.html +++ b/en/dev/guide.html @@ -6,23 +6,23 @@ Development Guide | LiteyukiBot - + - + - - - - + + + + -
Skip to content

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.

Thanks the following contributors!

Contributors

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.

Thanks the following contributors!

Contributors

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/lyfunc.html b/en/dev/lyfunc.html index 7fdae0ba..cb344109 100644 --- a/en/dev/lyfunc.html +++ b/en/dev/lyfunc.html @@ -6,21 +6,21 @@ Liteyuki Function | LiteyukiBot - + - + - - - + + + -
Skip to content

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
+    
Skip to content

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

shell
# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
@@ -39,8 +39,8 @@
 api friend_poke user_id=user_id
 sleep 0.2
 nohup function poke
-await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

Documentation built with VitePress | API references generated by litedoc

- +await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/plugin.html b/en/dev/plugin.html index 4133f38f..6b4f1f40 100644 --- a/en/dev/plugin.html +++ b/en/dev/plugin.html @@ -6,21 +6,21 @@ Plugin | LiteyukiBot - + - + - - - + + + -
Skip to content

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
+    
Skip to content

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能。

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

python
from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
@@ -51,8 +51,8 @@
     logger.debug(f"File {event.src_path} changed, reloading nonebot...")
     liteyuki.restart_process("nonebot")  # 调用重启进程方法

加载插件

方法1

  • 在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。

方法2

  • 使用开发工具快速运行插件,无需手动创建实例
  • 创建入口文件,例如main.py,并在其中写入以下代码
python
from liteyuki.dev.plugin import run_plugins
 
-run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

Documentation built with VitePress | API references generated by litedoc

- +run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/dev/resource.html b/en/dev/resource.html index 03b3b22d..4faa3de1 100644 --- a/en/dev/resource.html +++ b/en/dev/resource.html @@ -6,21 +6,21 @@ Resource Pack | LiteyukiBot - + - + - - - + + + -
Skip to content

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
+    
Skip to content

简介

资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
  • 部分内容制作需要一点点前端基础,例如htmlcss
  • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
  • 欢迎各位投稿资源包到轻雪资源商店

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
shell
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
@@ -32,8 +32,8 @@
 version: "1.0.0"
 description: "资源包描述"
 # 你可以自定义一些信息,但请保证以上三个字段
-...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

Documentation built with VitePress | API references generated by litedoc

- +...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/index.html b/en/index.html index 127ad368..d0c0c941 100644 --- a/en/index.html +++ b/en/index.html @@ -6,22 +6,22 @@ LiteyukiBot - + - + - - - + + + - - + + \ No newline at end of file diff --git a/en/store/plugin.html b/en/store/plugin.html index 684e806b..2b46cf96 100644 --- a/en/store/plugin.html +++ b/en/store/plugin.html @@ -6,22 +6,22 @@ Plugin Store | LiteyukiBot - + - + - - - + + + -
Skip to content

Plugin Store

Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins

Liteyuki Only
NoneBot插件
在轻雪中使用NoneBot,内置轻雪--NoneBot会话控制器插件,为NoneBot开发者提供了更多便捷功能(已内置)
app
防断联插件
防止你的群友断联化
appdislink
LagrangePlugin
在轻雪中使用lagrange-python!
applagrange
htmlrender
使用系统中的浏览器对网页进行渲染,便于其他插件使用
chromium

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

Plugin Store

Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins

Liteyuki Only
NoneBot插件
在轻雪中使用NoneBot,内置轻雪--NoneBot会话控制器插件,为NoneBot开发者提供了更多便捷功能(已内置)
app
防断联插件
防止你的群友断联化
appdislink
LagrangePlugin
在轻雪中使用lagrange-python!
applagrange
htmlrender
使用系统中的浏览器对网页进行渲染,便于其他插件使用
chromium

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/store/resource.html b/en/store/resource.html index 40026d08..688753aa 100644 --- a/en/store/resource.html +++ b/en/store/resource.html @@ -6,22 +6,22 @@ Resource Store | LiteyukiBot - + - + - - - + + + -
Skip to content

Resources Store

测试资源包2
test
轻雪Kakyo语言包 稳定版
Liteyuki Bot的语言包,用于提供多种语言的翻译。
测试资源包
更多背景模板包
自定义各种卡片的背景
轻雪Kakyo语言包
Liteyuki Bot的语言包,用于提供多种语言的翻译。
轻雪可爱系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪傲娇系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
自定义设备信息
自定义服务端的设备信息,自行修改使用
野兽先辈主题HomoTheme
野兽先辈主题包,114514!
MapleMono字体包
适用于字母的字体包
MiSans字体包
小米官方字体MiSans
KawaiiStatus
可爱的状态卡片,仿照koishi的制作

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

Resources Store

测试资源包2
test
轻雪Kakyo语言包 稳定版
Liteyuki Bot的语言包,用于提供多种语言的翻译。
测试资源包
更多背景模板包
自定义各种卡片的背景
轻雪Kakyo语言包
Liteyuki Bot的语言包,用于提供多种语言的翻译。
轻雪可爱系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪傲娇系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
自定义设备信息
自定义服务端的设备信息,自行修改使用
野兽先辈主题HomoTheme
野兽先辈主题包,114514!
MapleMono字体包
适用于字母的字体包
MiSans字体包
小米官方字体MiSans
KawaiiStatus
可爱的状态卡片,仿照koishi的制作

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/usage/agreement.html b/en/usage/agreement.html index e3dd5750..e66a6e0d 100644 --- a/en/usage/agreement.html +++ b/en/usage/agreement.html @@ -6,22 +6,22 @@ 用户协议 | LiteyukiBot - + - + - - - + + + -
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/usage/basic.html b/en/usage/basic.html index 7d3b4a85..162c37b3 100644 --- a/en/usage/basic.html +++ b/en/usage/basic.html @@ -6,22 +6,22 @@ 基础插件 | LiteyukiBot - + - + - - - + + + -
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/usage/extra.html b/en/usage/extra.html index f4cae8f1..657659a1 100644 --- a/en/usage/extra.html +++ b/en/usage/extra.html @@ -6,22 +6,22 @@ 功能命令 | LiteyukiBot - + - + - - - + + + -
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 1239447f..93c3279e 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"deploy_config.md":"1_CQ0FbK","deploy_fandq.md":"BPleytoW","deploy_install.md":"Sk9eehU9","dev_api_bot_index.md":"Bi674fgO","dev_api_bot_lifespan.md":"2zK906gE","dev_api_comm_channel.md":"2kL837ew","dev_api_comm_event.md":"BU5q7K5I","dev_api_comm_index.md":"BQ4CZLqP","dev_api_comm_storage.md":"DqJ8aVqB","dev_api_config.md":"BF9ZWJMD","dev_api_core_index.md":"C7-mYcFb","dev_api_core_manager.md":"D-46Ej1L","dev_api_dev_index.md":"C-Z4jV0w","dev_api_dev_observer.md":"C8n3KGB-","dev_api_dev_plugin.md":"kuS0l6X3","dev_api_exception.md":"B1ZNvi-7","dev_api_index.md":"DCSHyQNH","dev_api_log.md":"Cht1l-z0","dev_api_plugin_index.md":"Ob9cT1Tw","dev_api_plugin_load.md":"B8TUs35a","dev_api_plugin_manager.md":"CV_EY-n_","dev_api_plugin_model.md":"B6zUTgyK","dev_api_plugins_index.md":"BJaF6GJo","dev_api_plugins_liteecho.md":"0olLW-gF","dev_api_plugins_plugin_loader_index.md":"Bk_JMvR5","dev_api_session_event.md":"eoIRQPSp","dev_api_session_index.md":"BB5rwUqh","dev_api_session_matcher.md":"DY05_Eet","dev_api_session_message_segments.md":"0beZiwPd","dev_api_session_models.md":"Jq2lUC1f","dev_api_session_on.md":"ClG5jupL","dev_api_session_rule.md":"Jlr6fWcz","dev_api_utils.md":"BCPR7M6j","dev_best_practices.md":"Cymrt9FM","dev_comm.md":"BdU9h70O","dev_guide.md":"CKJge6Av","dev_lyfunc.md":"CTyKZzIv","dev_plugin.md":"Cw4jmM1r","dev_resource.md":"DHaliAic","en_deploy_config.md":"BQn5E2Bj","en_deploy_fandq.md":"BrjsxnAp","en_deploy_install.md":"YWJCbrQ9","en_dev_api_bot_index.md":"D7pBXyxE","en_dev_api_bot_lifespan.md":"CB0llI1b","en_dev_api_comm_channel.md":"BEDKOQou","en_dev_api_comm_event.md":"DZFP2XdR","en_dev_api_comm_index.md":"fm8_o36k","en_dev_api_comm_storage.md":"CrdoT2Rt","en_dev_api_config.md":"DXvPY7q0","en_dev_api_core_index.md":"B8YwtibJ","en_dev_api_core_manager.md":"DY8pAztC","en_dev_api_dev_index.md":"BsvLsbb9","en_dev_api_dev_observer.md":"Z8JLVw48","en_dev_api_dev_plugin.md":"B4YGlvi7","en_dev_api_exception.md":"Bi5kZE7B","en_dev_api_index.md":"BRwWnJjT","en_dev_api_log.md":"CYlQgvc9","en_dev_api_plugin_index.md":"DMMLxcgg","en_dev_api_plugin_load.md":"DBI0e8uW","en_dev_api_plugin_manager.md":"YuROJtz4","en_dev_api_plugin_model.md":"DzkLtdgt","en_dev_api_plugins_index.md":"CcwDiD2t","en_dev_api_plugins_liteecho.md":"XcPv4epx","en_dev_api_plugins_plugin_loader_index.md":"DfULXUOM","en_dev_api_session_event.md":"C68739Mu","en_dev_api_session_index.md":"DlOjeQ_f","en_dev_api_session_matcher.md":"Dsdkm06f","en_dev_api_session_message_segments.md":"C40mpa6j","en_dev_api_session_models.md":"5kxE35_Q","en_dev_api_session_on.md":"CF0RXj7a","en_dev_api_session_rule.md":"e29t-o48","en_dev_api_utils.md":"IxF_QKMD","en_dev_best_practices.md":"BL1nZ6wX","en_dev_comm.md":"BD35_Pc4","en_dev_guide.md":"CaoulG2S","en_dev_lyfunc.md":"C0J7k9S-","en_dev_plugin.md":"CZ1fZOSs","en_dev_resource.md":"gbYl02_m","en_index.md":"B7vJePRY","en_store_plugin.md":"CKMtd26v","en_store_resource.md":"B0jzMlOl","en_usage_agreement.md":"DB-DF9k9","en_usage_basic.md":"CqXCUHon","en_usage_extra.md":"NcwXX0cF","index.md":"DHOhfNpJ","store_plugin.md":"BG-hPX54","store_resource.md":"DxmwBnW7","usage_agreement.md":"DgIDC_u9","usage_basic.md":"D0kl3gm6","usage_extra.md":"CsRUq0wh"} +{"deploy_config.md":"DXDUh0IQ","deploy_fandq.md":"WJVBpMIc","deploy_install.md":"xQ7_cYmn","dev_api_bot_index.md":"BBSYa412","dev_api_bot_lifespan.md":"DIiUoNQr","dev_api_comm_channel.md":"DfvNcb-v","dev_api_comm_event.md":"D22ZPMRO","dev_api_comm_index.md":"4xQqkPaL","dev_api_comm_storage.md":"BQi3vT-6","dev_api_config.md":"DakK5wgv","dev_api_core_index.md":"DDI0LXZQ","dev_api_core_manager.md":"mhcXWvCp","dev_api_dev_index.md":"CsugCBSr","dev_api_dev_observer.md":"CynjhkUR","dev_api_dev_plugin.md":"DDM2McYa","dev_api_exception.md":"DOgHxE0z","dev_api_index.md":"D52Y-HJX","dev_api_log.md":"BybOhf50","dev_api_plugin_index.md":"DZxV6Tb_","dev_api_plugin_load.md":"CoagWwmx","dev_api_plugin_manager.md":"CnP65Tni","dev_api_plugin_model.md":"BcoMNcwb","dev_api_plugins_index.md":"Z4Rsdm03","dev_api_plugins_liteecho.md":"N_eRUAPO","dev_api_plugins_plugin_loader_index.md":"DWsFMHho","dev_api_session_event.md":"BVxh2ZPO","dev_api_session_index.md":"6yQBWgJr","dev_api_session_matcher.md":"DgoYweUQ","dev_api_session_message_segments.md":"DivW-Wd9","dev_api_session_models.md":"Bgk7-MSv","dev_api_session_on.md":"mdi0h2yr","dev_api_session_rule.md":"CDnQtWE_","dev_api_utils.md":"eMkV5aFU","dev_best_practices.md":"cQgckalO","dev_comm.md":"CdHIX3qu","dev_guide.md":"BZ0jbPsh","dev_lyfunc.md":"BFnTpiJ5","dev_plugin.md":"fh6MoH8y","dev_resource.md":"DMvQfaDn","en_deploy_config.md":"C9aWRG-M","en_deploy_fandq.md":"Cy9C9qw5","en_deploy_install.md":"7tdrs7_X","en_dev_api_bot_index.md":"D-dQtyQd","en_dev_api_bot_lifespan.md":"BhXMIeK8","en_dev_api_comm_channel.md":"9o4TsTD5","en_dev_api_comm_event.md":"B6Ewcgsc","en_dev_api_comm_index.md":"D5APenBy","en_dev_api_comm_storage.md":"iLOczApS","en_dev_api_config.md":"CztCBMac","en_dev_api_core_index.md":"B0Enriow","en_dev_api_core_manager.md":"BxSjacF3","en_dev_api_dev_index.md":"C5EYx4Z-","en_dev_api_dev_observer.md":"BQeg5dYN","en_dev_api_dev_plugin.md":"BdeVORHv","en_dev_api_exception.md":"1T6ATWif","en_dev_api_index.md":"DXW2vEc5","en_dev_api_log.md":"DI2PEAHZ","en_dev_api_plugin_index.md":"DmyyE7_n","en_dev_api_plugin_load.md":"Czs4uISw","en_dev_api_plugin_manager.md":"COXJrHdK","en_dev_api_plugin_model.md":"B6LpR1IQ","en_dev_api_plugins_index.md":"lmozQLWq","en_dev_api_plugins_liteecho.md":"yC9zAc3N","en_dev_api_plugins_plugin_loader_index.md":"eXb8XUQw","en_dev_api_session_event.md":"BL-c2pAQ","en_dev_api_session_index.md":"Dy7UwvCr","en_dev_api_session_matcher.md":"CRLHKgvR","en_dev_api_session_message_segments.md":"2Y-Kb9rZ","en_dev_api_session_models.md":"hBDe-9Eh","en_dev_api_session_on.md":"CErI_ukT","en_dev_api_session_rule.md":"Ba-MhC1J","en_dev_api_utils.md":"CH7CaLlN","en_dev_best_practices.md":"WpEKWBu2","en_dev_comm.md":"O0Kndndk","en_dev_guide.md":"sOTFDFZY","en_dev_lyfunc.md":"BY5uYuEV","en_dev_plugin.md":"BRQN74vy","en_dev_resource.md":"BiYlUcxZ","en_index.md":"DfdhMtWK","en_store_plugin.md":"CvMn7nSM","en_store_resource.md":"D47fjjFS","en_usage_agreement.md":"DkWD4ht6","en_usage_basic.md":"CANHEyeb","en_usage_extra.md":"BFSmukTP","index.md":"CkybII2w","store_plugin.md":"D_dm7knu","store_resource.md":"BShx39x7","usage_agreement.md":"BP3_fXyC","usage_basic.md":"Boduij81","usage_extra.md":"B8D17azU"} diff --git a/index.html b/index.html index a4e1cdc6..d97b3a85 100644 --- a/index.html +++ b/index.html @@ -6,22 +6,22 @@ 轻雪机器人 - + - + - - - + + + - - + + \ No newline at end of file diff --git a/store/plugin.html b/store/plugin.html index b9b9c80b..10aaba2e 100644 --- a/store/plugin.html +++ b/store/plugin.html @@ -6,22 +6,22 @@ 插件商店 | 轻雪机器人 - + - + - - - + + + -
Skip to content

插件商店

内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件

仅轻雪
NoneBot插件
在轻雪中使用NoneBot,内置轻雪--NoneBot会话控制器插件,为NoneBot开发者提供了更多便捷功能(已内置)
app
防断联插件
防止你的群友断联化
appdislink
LagrangePlugin
在轻雪中使用lagrange-python!
applagrange
htmlrender
使用系统中的浏览器对网页进行渲染,便于其他插件使用
chromium

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

插件商店

内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件

仅轻雪
NoneBot插件
在轻雪中使用NoneBot,内置轻雪--NoneBot会话控制器插件,为NoneBot开发者提供了更多便捷功能(已内置)
app
防断联插件
防止你的群友断联化
appdislink
LagrangePlugin
在轻雪中使用lagrange-python!
applagrange
htmlrender
使用系统中的浏览器对网页进行渲染,便于其他插件使用
chromium

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/store/resource.html b/store/resource.html index 6c650e86..19a7df09 100644 --- a/store/resource.html +++ b/store/resource.html @@ -6,22 +6,22 @@ 资源商店 | 轻雪机器人 - + - + - - - + + + -
Skip to content

资源商店

KawaiiStatus
可爱的状态卡片,仿照koishi的制作
MiSans字体包
小米官方字体MiSans
MapleMono字体包
适用于字母的字体包
野兽先辈主题HomoTheme
野兽先辈主题包,114514!
自定义设备信息
自定义服务端的设备信息,自行修改使用
轻雪傲娇系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪可爱系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪Kakyo语言包
Liteyuki Bot的语言包,用于提供多种语言的翻译。
更多背景模板包
自定义各种卡片的背景
测试资源包
轻雪Kakyo语言包 稳定版
Liteyuki Bot的语言包,用于提供多种语言的翻译。
测试资源包2
test

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

资源商店

KawaiiStatus
可爱的状态卡片,仿照koishi的制作
MiSans字体包
小米官方字体MiSans
MapleMono字体包
适用于字母的字体包
野兽先辈主题HomoTheme
野兽先辈主题包,114514!
自定义设备信息
自定义服务端的设备信息,自行修改使用
轻雪傲娇系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪可爱系词库
使用https://github.com/Kyomotoi/AnimeThesaurus的词库
轻雪Kakyo语言包
Liteyuki Bot的语言包,用于提供多种语言的翻译。
更多背景模板包
自定义各种卡片的背景
测试资源包
轻雪Kakyo语言包 稳定版
Liteyuki Bot的语言包,用于提供多种语言的翻译。
测试资源包2
test

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/usage/agreement.html b/usage/agreement.html index 274f396e..56b73dd6 100644 --- a/usage/agreement.html +++ b/usage/agreement.html @@ -6,22 +6,22 @@ 用户协议 | 轻雪机器人 - + - + - - - + + + -
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/usage/basic.html b/usage/basic.html index 5f76a313..5e2fa20e 100644 --- a/usage/basic.html +++ b/usage/basic.html @@ -6,22 +6,22 @@ 基础插件 | 轻雪机器人 - + - + - - - + + + -
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/usage/extra.html b/usage/extra.html index 876e475f..ae277f0d 100644 --- a/usage/extra.html +++ b/usage/extra.html @@ -6,22 +6,22 @@ 功能命令 | 轻雪机器人 - + - + - - - + + + -
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file