diff --git a/404.html b/404.html index 37f78bc2c..e4ec7d714 100644 --- a/404.html +++ b/404.html @@ -9,13 +9,13 @@ - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/6e55d25c.f0bd2670.js b/assets/js/6e55d25c.8f89aba2.js similarity index 84% rename from assets/js/6e55d25c.f0bd2670.js rename to assets/js/6e55d25c.8f89aba2.js index 69ed714b8..c37518e15 100644 --- a/assets/js/6e55d25c.f0bd2670.js +++ b/assets/js/6e55d25c.8f89aba2.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[7436],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,o=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(n),d=i,h=u["".concat(o,".").concat(d)]||u[d]||m[d]||a;return n?r.createElement(h,l(l({ref:t},p),{},{components:n})):r.createElement(h,l({ref:t},p))}));function h(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=d;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s[u]="string"==typeof e?e:i,l[1]=s;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var r=n(7462),i=(n(7294),n(3905));const a={},l=void 0,s={unversionedId:"cli/publish",id:"cli/publish",title:"publish",description:"Implicits",source:"@site/docs/cli/publish.md",sourceDirName:"cli",slug:"/cli/publish",permalink:"/docs/cli/publish",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/cli/publish.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"extra",permalink:"/docs/cli/extra"},next:{title:"Introduction",permalink:"/docs/guide/"}},o={},c=[{value:"Implicits",id:"implicits",level:2},{value:"Usage",id:"usage",level:2},{value:"Features",id:"features",level:2},{value:"Prerequiring",id:"prerequiring",level:2},{value:"Example: command published in guild",id:"example-command-published-in-guild",level:3},{value:"Script ran:",id:"script-ran",level:4}],p={toc:c},u="wrapper";function m(e){let{components:t,...a}=e;return(0,i.kt)(u,(0,r.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-sh"},"Usage: sern commands publish [options] [path]\n\nNew way to manage your slash commands\n\nArguments:\n path path with respect to current working directory that will locate all published files\n\nOptions:\n -i, --import [scriptPath...] Prerequire a script to load into publisher\n -t, --token [token]\n --appId [applicationId]\n -h, --help display help for command\n")),(0,i.kt)("h2",{id:"implicits"},"Implicits"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Automatically reads a .env in the working directory. For seamless integration, your .env file should look like this:")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-txt",metastring:'title=".env"',title:'".env"'},"DISCORD_TOKEN=\nAPPLICATION_ID=\nMODE=\n")),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Calls the discord API with the ",(0,i.kt)("a",{parentName:"li",href:"https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands"},"PUT route"),". Wherever your commands directory is located, publish will override the existing application commands at Discord. Existing commands do not count towards the command limit creation daily. ")),(0,i.kt)("p",null,"You may pass these in as command line arguments as well. ",(0,i.kt)("strong",{parentName:"p"},"CLI arguments take precedence."),"\nIf you do not know how to obtain either of these credentials, ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token"},"click here")),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"usage",src:n(8654).Z,width:"1171",height:"470"})),(0,i.kt)("h2",{id:"features"},"Features"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Automatically syncs api with your command base"),(0,i.kt)("li",{parentName:"ul"},"generates JSON file of output (",(0,i.kt)("strong",{parentName:"li"},".sern/command-data-remote.json"),")"),(0,i.kt)("li",{parentName:"ul"},"supports publishing direct esm typescript files"),(0,i.kt)("li",{parentName:"ul"},"commonjs users need to compile first and then run sern publish on the dist/ output"),(0,i.kt)("li",{parentName:"ul"},"prerequire scripts."),(0,i.kt)("li",{parentName:"ul"},"supports a configuration that is the same as the original publish plugin.")),(0,i.kt)("p",null,"Each command file can have an extra config that follows this typescript interface:\nPermissionResolvable is a discord.js type, but it will accept anything that the discord API accepts"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"interface ValidPublishOptions {\n guildIds: string[];\n dmPermission: boolean;\n defaultMemberPermissions: PermissionResolvable;\n}\n\n")),(0,i.kt)("h2",{id:"prerequiring"},"Prerequiring"),(0,i.kt)("p",null,"Is there a ",(0,i.kt)("a",{parentName:"p",href:"../guide/walkthrough/services"},"service")," that is required at the top level of a command?"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Create an ES6 script anywhere: ")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts",metastring:'title="scripts/prerequire.mjs"',title:'"scripts/prerequire.mjs"'},"import { makeDependencies, single, Service } from '@sern/handler'\nimport { Client } from 'discord.js'\n\nawait makeDependencies({\n root => root.add({ '@sern/client': single(() => new Client(...options) })) \n}) \n\nawait Service('@sern/client').login()\n")),(0,i.kt)("p",null,"This will create a container for publishing. (as of 0.6.0, client is required or this will crash)"),(0,i.kt)("h3",{id:"example-command-published-in-guild"},"Example: command published in guild"),(0,i.kt)("h4",{id:"script-ran"},"Script ran:"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre"},"sern commands publish -i ./scripts/prerequire.mjs\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts",metastring:"title=src/commands/ping.ts",title:"src/commands/ping.ts"},"import { commandModule, Service, CommandType } from '@sern/handler'\n\nconst client = Service('@sern/client');\n\nexport const config = { \n guildIds: [\"889026545715400705\"]\n}\n\nexport default commandModule( {\n type: CommandType.Slash\n description: `${client.user.username}'s ping`,\n execute: (ctx) => { \n ctx.reply('pong')\n }\n})\n\n")))}m.isMDXComponent=!0},8654:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/Code_-_Insiders_2kTVzm0uIQ-76ace605cf3a0c5b7a55cb2c5228fcfa.gif"}}]); \ No newline at end of file +"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[7436],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,o=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(n),d=i,h=u["".concat(o,".").concat(d)]||u[d]||m[d]||a;return n?r.createElement(h,l(l({ref:t},p),{},{components:n})):r.createElement(h,l({ref:t},p))}));function h(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=d;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s[u]="string"==typeof e?e:i,l[1]=s;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var r=n(7462),i=(n(7294),n(3905));const a={},l=void 0,s={unversionedId:"cli/publish",id:"cli/publish",title:"publish",description:"Implicits",source:"@site/docs/cli/publish.md",sourceDirName:"cli",slug:"/cli/publish",permalink:"/docs/cli/publish",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/cli/publish.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"extra",permalink:"/docs/cli/extra"},next:{title:"Introduction",permalink:"/docs/guide/"}},o={},c=[{value:"Implicits",id:"implicits",level:2},{value:"Usage",id:"usage",level:2},{value:"Features",id:"features",level:2},{value:"Prerequiring",id:"prerequiring",level:2},{value:"Example: command published in guild",id:"example-command-published-in-guild",level:3},{value:"Script ran:",id:"script-ran",level:4}],p={toc:c},u="wrapper";function m(e){let{components:t,...a}=e;return(0,i.kt)(u,(0,r.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-sh"},"Usage: sern commands publish [options] [path]\n\nNew way to manage your slash commands\n\nArguments:\n path path with respect to current working directory that will locate all published files\n\nOptions:\n -i, --import [scriptPath...] Prerequire a script to load into publisher\n -t, --token [token]\n --appId [applicationId]\n -h, --help display help for command\n")),(0,i.kt)("h2",{id:"implicits"},"Implicits"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Automatically reads a .env in the working directory. For seamless integration, your .env file should look like this:")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-txt",metastring:'title=".env"',title:'".env"'},"DISCORD_TOKEN=\nAPPLICATION_ID=\nMODE=\n")),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Calls the discord API with the ",(0,i.kt)("a",{parentName:"li",href:"https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands"},"PUT route"),". Wherever your commands directory is located, publish will override the existing application commands at Discord. Existing commands do not count towards the command limit creation daily. ")),(0,i.kt)("p",null,"You may pass these in as command line arguments as well. ",(0,i.kt)("strong",{parentName:"p"},"CLI arguments take precedence."),"\nIf you do not know how to obtain either of these credentials, ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token"},"click here")),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"usage",src:n(8654).Z,width:"1171",height:"470"})),(0,i.kt)("h2",{id:"features"},"Features"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Automatically syncs api with your command base"),(0,i.kt)("li",{parentName:"ul"},"generates JSON file of output (",(0,i.kt)("strong",{parentName:"li"},".sern/command-data-remote.json"),")"),(0,i.kt)("li",{parentName:"ul"},"supports publishing direct esm typescript files"),(0,i.kt)("li",{parentName:"ul"},"commonjs users need to compile first and then run sern publish on the dist/ output"),(0,i.kt)("li",{parentName:"ul"},"prerequire scripts."),(0,i.kt)("li",{parentName:"ul"},"supports a configuration that is the same as the original publish plugin.")),(0,i.kt)("p",null,"Each command file can have an extra config that follows this typescript interface:\nPermissionResolvable is a discord.js type, but it will accept anything that the discord API accepts"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"interface ValidPublishOptions {\n guildIds: string[];\n dmPermission: boolean;\n defaultMemberPermissions: PermissionResolvable;\n}\n\n")),(0,i.kt)("h2",{id:"prerequiring"},"Prerequiring"),(0,i.kt)("p",null,"Is there a ",(0,i.kt)("a",{parentName:"p",href:"../guide/walkthrough/services"},"service")," that is required at the top level of a command?"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Create an ES6 script anywhere: ")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts",metastring:'title="scripts/prerequire.mjs"',title:'"scripts/prerequire.mjs"'},"import { makeDependencies, single, Service } from '@sern/handler'\nimport { Client } from 'discord.js'\n\nawait makeDependencies({\n build: (root) =>\n root.add({ \"@sern/client\": single(() => new Client(...options)) }),\n});\n\nawait Service('@sern/client').login()\n")),(0,i.kt)("p",null,"This will create a container for publishing. (as of 0.6.0, client is required or this will crash)"),(0,i.kt)("h3",{id:"example-command-published-in-guild"},"Example: command published in guild"),(0,i.kt)("h4",{id:"script-ran"},"Script ran:"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre"},"sern commands publish -i ./scripts/prerequire.mjs\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts",metastring:"title=src/commands/ping.ts",title:"src/commands/ping.ts"},"import { commandModule, Service, CommandType } from '@sern/handler'\n\nconst client = Service('@sern/client');\n\nexport const config = { \n guildIds: [\"889026545715400705\"]\n}\n\nexport default commandModule( {\n type: CommandType.Slash\n description: `${client.user.username}'s ping`,\n execute: (ctx) => { \n ctx.reply('pong')\n }\n})\n\n")))}m.isMDXComponent=!0},8654:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/Code_-_Insiders_2kTVzm0uIQ-76ace605cf3a0c5b7a55cb2c5228fcfa.gif"}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.d197400c.js b/assets/js/runtime~main.b8ba77a5.js similarity index 73% rename from assets/js/runtime~main.d197400c.js rename to assets/js/runtime~main.b8ba77a5.js index e29f66063..e2367be0a 100644 --- a/assets/js/runtime~main.d197400c.js +++ b/assets/js/runtime~main.b8ba77a5.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,f,d,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=b,r.c=t,e=[],r.O=(a,c,f,d)=>{if(!c){var b=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,f,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};a=a||[null,c({}),c([]),c(c)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(d,b),d},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({6:"3b15a34b",53:"5bc4ccbc",65:"2f13d849",205:"83d480e9",277:"c4348237",301:"5ae130ee",332:"73bd57bd",371:"edc18331",496:"6cfc4513",533:"b2b675dd",540:"c0930fba",681:"f1cc380d",703:"981f6151",895:"7b758ddf",1003:"67e3e25a",1036:"c0846785",1140:"82474f76",1198:"476a0444",1249:"522b21a2",1388:"0c9bead8",1472:"cf183316",1477:"b2f554cd",1505:"7c2ff145",1588:"e84a24a4",1713:"a7023ddc",2005:"1ac1bfe9",2072:"67348500",2129:"1c127a4d",2197:"935f2afb",2255:"beef0c9d",2535:"814f3328",2640:"a96c96b0",2789:"46963930",3012:"3a25b5a8",3045:"888566f1",3085:"1f391b9e",3089:"a6aa9e1f",3173:"2caf5b7a",3247:"7f2ac8b7",3255:"53944420",3462:"6ff82968",3582:"b654e1cf",3608:"9e4087bc",3650:"425cbb82",3864:"57fe7727",3872:"6626dbb1",4e3:"701614d9",4009:"79e7cc44",4013:"01a85c17",4027:"b91ce718",4137:"1aef51bd",4195:"c4f5d8e4",4249:"1a1cc5f0",4252:"8a062262",4332:"6c624b4c",4429:"eea0bf40",4461:"a3030d1c",4626:"d9ea5336",4685:"cfb1619e",4781:"e2a53654",4803:"9201de17",4865:"e8e3d8c7",4932:"a0fd2c7a",5062:"69369ae2",5397:"312c2bc5",5433:"9f1290f8",5435:"6b841b38",5502:"9b620520",5530:"a727fde1",5853:"447d9066",6054:"7cd974c8",6103:"ccc49370",6146:"608ca171",6270:"e4877132",6276:"4e28a08b",6322:"a5467962",6393:"e04ffa77",6434:"74e316f4",6552:"a0b9ee13",6626:"86b8ce54",6777:"720cd117",6778:"85456a26",6851:"4279c33d",6950:"b134d7b8",7127:"7e205c4a",7223:"3020eeee",7254:"97c22b42",7306:"f6aebfbf",7363:"26f1f3a5",7374:"6ba1d2c1",7414:"393be207",7420:"61538263",7436:"6e55d25c",7438:"9c021584",7453:"4b098d2e",7597:"5e8c322a",7749:"462b6925",7750:"3a2d3092",7833:"65578b65",7868:"7343edf0",7918:"17896441",7920:"1a4e3797",7936:"3a0cb3a9",8032:"1b0c702f",8046:"c606405e",8084:"f0726797",8427:"1adeaf48",8494:"0a33f845",8610:"6875c492",8652:"bcd9df7e",8902:"a4d0ee3e",9012:"3f83d40d",9107:"82cdda05",9187:"295686f2",9220:"4d00c3f4",9226:"707baeff",9248:"9693de07",9476:"90fdad0c",9514:"1be78505",9515:"2e208732",9582:"3ae57366",9671:"0e384e19",9712:"3dc7c79a",9881:"f7831d67"}[e]||e)+"."+{6:"61c0f0da",53:"8dad932f",65:"fc692a73",205:"543f4ad8",277:"bbd90c09",301:"1d2ca37a",332:"4491a7b8",371:"a4895919",496:"0511b22e",533:"1f5a1bac",540:"40582bbc",681:"a40fdfa1",703:"b971d8e9",895:"2cda5798",1003:"3801fa06",1036:"80343455",1140:"8a37c852",1198:"ed4f27e6",1249:"52c565c6",1388:"77a12ff8",1426:"eeeee0db",1472:"cad5bda3",1477:"d5b27ce8",1505:"ac336ebd",1588:"536a333d",1713:"d6d848ab",2005:"e09e3022",2072:"18272d40",2129:"95c6551f",2197:"c16d8692",2255:"a6221320",2529:"7958fcd5",2535:"a409ccb5",2640:"4dce31e1",2789:"a91266a3",3012:"929da02a",3045:"233f3628",3085:"fd33b82f",3089:"bf8de7a7",3173:"0b931e84",3247:"d6c4da2e",3255:"32ad86fa",3462:"2c8c81ac",3582:"7c5af20d",3608:"6199c044",3650:"7230f6cf",3864:"d4973a73",3872:"33a5e0d8",4e3:"07b5f39c",4009:"7b9534a3",4013:"3741405c",4027:"bafc9d17",4137:"bd617edd",4195:"451f0555",4249:"9eeb84a2",4252:"e08aff97",4332:"f0909640",4429:"d6a9e815",4461:"bc6f5c28",4626:"496d8e99",4685:"c07a92b4",4781:"b6eb4bc7",4803:"3d840891",4865:"84696b7f",4932:"2ca3a051",4972:"02aa664a",5062:"40f3e7eb",5397:"2a0c88eb",5433:"f94047a3",5435:"440ed3a5",5502:"fc246a8b",5530:"704a678d",5853:"d43b1dc4",6054:"70fab014",6103:"3c54118b",6146:"ca230c09",6270:"a9efa93f",6276:"dd11c44e",6322:"505a4a8c",6393:"47b4b271",6434:"68cf9f75",6552:"2892adb6",6626:"3bfc3783",6777:"37ef17c0",6778:"d3a4337f",6851:"f4922de4",6945:"8dd85be5",6950:"af38a72e",7127:"cff5502b",7223:"7d8166cb",7234:"c233f6f3",7254:"ec77b5c4",7306:"137c1c9d",7363:"59fdf6e0",7374:"3b089441",7414:"76a3f935",7420:"18c7fc47",7436:"f0bd2670",7438:"9d1b856e",7453:"abf0c5e1",7597:"f6e02847",7749:"fe814d2e",7750:"1ab932e5",7833:"2237b74b",7868:"74679297",7918:"40ff37a7",7920:"857a4e2e",7936:"e585a35c",8032:"14e52d28",8046:"47f7a004",8084:"a57e060f",8427:"cfed31ac",8494:"b7e3cff9",8610:"777bc0e7",8652:"dd9cdd99",8894:"6b4f601e",8902:"76510324",9012:"3c4e4695",9107:"076b3e40",9187:"e9b2a6f4",9220:"a84e8229",9226:"4f9ff75a",9248:"65e5e263",9476:"825ccc29",9514:"55e0e08a",9515:"b73f439e",9582:"e3f505d0",9671:"e50e768d",9712:"779fa2b9",9881:"a2722bec"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},d="@sern/website:",r.l=(e,a,c,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",46963930:"2789",53944420:"3255",61538263:"7420",67348500:"2072","3b15a34b":"6","5bc4ccbc":"53","2f13d849":"65","83d480e9":"205",c4348237:"277","5ae130ee":"301","73bd57bd":"332",edc18331:"371","6cfc4513":"496",b2b675dd:"533",c0930fba:"540",f1cc380d:"681","981f6151":"703","7b758ddf":"895","67e3e25a":"1003",c0846785:"1036","82474f76":"1140","476a0444":"1198","522b21a2":"1249","0c9bead8":"1388",cf183316:"1472",b2f554cd:"1477","7c2ff145":"1505",e84a24a4:"1588",a7023ddc:"1713","1ac1bfe9":"2005","1c127a4d":"2129","935f2afb":"2197",beef0c9d:"2255","814f3328":"2535",a96c96b0:"2640","3a25b5a8":"3012","888566f1":"3045","1f391b9e":"3085",a6aa9e1f:"3089","2caf5b7a":"3173","7f2ac8b7":"3247","6ff82968":"3462",b654e1cf:"3582","9e4087bc":"3608","425cbb82":"3650","57fe7727":"3864","6626dbb1":"3872","701614d9":"4000","79e7cc44":"4009","01a85c17":"4013",b91ce718:"4027","1aef51bd":"4137",c4f5d8e4:"4195","1a1cc5f0":"4249","8a062262":"4252","6c624b4c":"4332",eea0bf40:"4429",a3030d1c:"4461",d9ea5336:"4626",cfb1619e:"4685",e2a53654:"4781","9201de17":"4803",e8e3d8c7:"4865",a0fd2c7a:"4932","69369ae2":"5062","312c2bc5":"5397","9f1290f8":"5433","6b841b38":"5435","9b620520":"5502",a727fde1:"5530","447d9066":"5853","7cd974c8":"6054",ccc49370:"6103","608ca171":"6146",e4877132:"6270","4e28a08b":"6276",a5467962:"6322",e04ffa77:"6393","74e316f4":"6434",a0b9ee13:"6552","86b8ce54":"6626","720cd117":"6777","85456a26":"6778","4279c33d":"6851",b134d7b8:"6950","7e205c4a":"7127","3020eeee":"7223","97c22b42":"7254",f6aebfbf:"7306","26f1f3a5":"7363","6ba1d2c1":"7374","393be207":"7414","6e55d25c":"7436","9c021584":"7438","4b098d2e":"7453","5e8c322a":"7597","462b6925":"7749","3a2d3092":"7750","65578b65":"7833","7343edf0":"7868","1a4e3797":"7920","3a0cb3a9":"7936","1b0c702f":"8032",c606405e:"8046",f0726797:"8084","1adeaf48":"8427","0a33f845":"8494","6875c492":"8610",bcd9df7e:"8652",a4d0ee3e:"8902","3f83d40d":"9012","82cdda05":"9107","295686f2":"9187","4d00c3f4":"9220","707baeff":"9226","9693de07":"9248","90fdad0c":"9476","1be78505":"9514","2e208732":"9515","3ae57366":"9582","0e384e19":"9671","3dc7c79a":"9712",f7831d67:"9881"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>f=e[a]=[c,d]));c.push(f[2]=d);var b=r.p+r.u(a),t=new Error;r.l(b,(c=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var f,d,b=c[0],t=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(c);n{"use strict";var e,c,a,f,d,b={},t={};function r(e){var c=t[e];if(void 0!==c)return c.exports;var a=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=b,r.c=t,e=[],r.O=(c,a,f,d)=>{if(!a){var b=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](a[o])))?a.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[a,f,d]},r.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return r.d(c,{a:c}),c},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};c=c||[null,a({}),a([]),a(a)];for(var t=2&f&&e;"object"==typeof t&&!~c.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach((c=>b[c]=()=>e[c]));return b.default=()=>e,r.d(d,b),d},r.d=(e,c)=>{for(var a in c)r.o(c,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:c[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((c,a)=>(r.f[a](e,c),c)),[])),r.u=e=>"assets/js/"+({6:"3b15a34b",53:"5bc4ccbc",65:"2f13d849",205:"83d480e9",277:"c4348237",301:"5ae130ee",332:"73bd57bd",371:"edc18331",496:"6cfc4513",533:"b2b675dd",540:"c0930fba",681:"f1cc380d",703:"981f6151",895:"7b758ddf",1003:"67e3e25a",1036:"c0846785",1140:"82474f76",1198:"476a0444",1249:"522b21a2",1388:"0c9bead8",1472:"cf183316",1477:"b2f554cd",1505:"7c2ff145",1588:"e84a24a4",1713:"a7023ddc",2005:"1ac1bfe9",2072:"67348500",2129:"1c127a4d",2197:"935f2afb",2255:"beef0c9d",2535:"814f3328",2640:"a96c96b0",2789:"46963930",3012:"3a25b5a8",3045:"888566f1",3085:"1f391b9e",3089:"a6aa9e1f",3173:"2caf5b7a",3247:"7f2ac8b7",3255:"53944420",3462:"6ff82968",3582:"b654e1cf",3608:"9e4087bc",3650:"425cbb82",3864:"57fe7727",3872:"6626dbb1",4e3:"701614d9",4009:"79e7cc44",4013:"01a85c17",4027:"b91ce718",4137:"1aef51bd",4195:"c4f5d8e4",4249:"1a1cc5f0",4252:"8a062262",4332:"6c624b4c",4429:"eea0bf40",4461:"a3030d1c",4626:"d9ea5336",4685:"cfb1619e",4781:"e2a53654",4803:"9201de17",4865:"e8e3d8c7",4932:"a0fd2c7a",5062:"69369ae2",5397:"312c2bc5",5433:"9f1290f8",5435:"6b841b38",5502:"9b620520",5530:"a727fde1",5853:"447d9066",6054:"7cd974c8",6103:"ccc49370",6146:"608ca171",6270:"e4877132",6276:"4e28a08b",6322:"a5467962",6393:"e04ffa77",6434:"74e316f4",6552:"a0b9ee13",6626:"86b8ce54",6777:"720cd117",6778:"85456a26",6851:"4279c33d",6950:"b134d7b8",7127:"7e205c4a",7223:"3020eeee",7254:"97c22b42",7306:"f6aebfbf",7363:"26f1f3a5",7374:"6ba1d2c1",7414:"393be207",7420:"61538263",7436:"6e55d25c",7438:"9c021584",7453:"4b098d2e",7597:"5e8c322a",7749:"462b6925",7750:"3a2d3092",7833:"65578b65",7868:"7343edf0",7918:"17896441",7920:"1a4e3797",7936:"3a0cb3a9",8032:"1b0c702f",8046:"c606405e",8084:"f0726797",8427:"1adeaf48",8494:"0a33f845",8610:"6875c492",8652:"bcd9df7e",8902:"a4d0ee3e",9012:"3f83d40d",9107:"82cdda05",9187:"295686f2",9220:"4d00c3f4",9226:"707baeff",9248:"9693de07",9476:"90fdad0c",9514:"1be78505",9515:"2e208732",9582:"3ae57366",9671:"0e384e19",9712:"3dc7c79a",9881:"f7831d67"}[e]||e)+"."+{6:"61c0f0da",53:"8dad932f",65:"fc692a73",205:"543f4ad8",277:"bbd90c09",301:"1d2ca37a",332:"4491a7b8",371:"a4895919",496:"0511b22e",533:"1f5a1bac",540:"40582bbc",681:"a40fdfa1",703:"b971d8e9",895:"2cda5798",1003:"3801fa06",1036:"80343455",1140:"8a37c852",1198:"ed4f27e6",1249:"52c565c6",1388:"77a12ff8",1426:"eeeee0db",1472:"cad5bda3",1477:"d5b27ce8",1505:"ac336ebd",1588:"536a333d",1713:"d6d848ab",2005:"e09e3022",2072:"18272d40",2129:"95c6551f",2197:"c16d8692",2255:"a6221320",2529:"7958fcd5",2535:"a409ccb5",2640:"4dce31e1",2789:"a91266a3",3012:"929da02a",3045:"233f3628",3085:"fd33b82f",3089:"bf8de7a7",3173:"0b931e84",3247:"d6c4da2e",3255:"32ad86fa",3462:"2c8c81ac",3582:"7c5af20d",3608:"6199c044",3650:"7230f6cf",3864:"d4973a73",3872:"33a5e0d8",4e3:"07b5f39c",4009:"7b9534a3",4013:"3741405c",4027:"bafc9d17",4137:"bd617edd",4195:"451f0555",4249:"9eeb84a2",4252:"e08aff97",4332:"f0909640",4429:"d6a9e815",4461:"bc6f5c28",4626:"496d8e99",4685:"c07a92b4",4781:"b6eb4bc7",4803:"3d840891",4865:"84696b7f",4932:"2ca3a051",4972:"02aa664a",5062:"40f3e7eb",5397:"2a0c88eb",5433:"f94047a3",5435:"440ed3a5",5502:"fc246a8b",5530:"704a678d",5853:"d43b1dc4",6054:"70fab014",6103:"3c54118b",6146:"ca230c09",6270:"a9efa93f",6276:"dd11c44e",6322:"505a4a8c",6393:"47b4b271",6434:"68cf9f75",6552:"2892adb6",6626:"3bfc3783",6777:"37ef17c0",6778:"d3a4337f",6851:"f4922de4",6945:"8dd85be5",6950:"af38a72e",7127:"cff5502b",7223:"7d8166cb",7234:"c233f6f3",7254:"ec77b5c4",7306:"137c1c9d",7363:"59fdf6e0",7374:"3b089441",7414:"76a3f935",7420:"18c7fc47",7436:"8f89aba2",7438:"9d1b856e",7453:"abf0c5e1",7597:"f6e02847",7749:"fe814d2e",7750:"1ab932e5",7833:"2237b74b",7868:"74679297",7918:"40ff37a7",7920:"857a4e2e",7936:"e585a35c",8032:"14e52d28",8046:"47f7a004",8084:"a57e060f",8427:"cfed31ac",8494:"b7e3cff9",8610:"777bc0e7",8652:"dd9cdd99",8894:"6b4f601e",8902:"76510324",9012:"3c4e4695",9107:"076b3e40",9187:"e9b2a6f4",9220:"a84e8229",9226:"4f9ff75a",9248:"65e5e263",9476:"825ccc29",9514:"55e0e08a",9515:"b73f439e",9582:"e3f505d0",9671:"e50e768d",9712:"779fa2b9",9881:"a2722bec"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),f={},d="@sern/website:",r.l=(e,c,a,b)=>{if(f[e])f[e].push(c);else{var t,o;if(void 0!==a)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(a))),c)return c(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",46963930:"2789",53944420:"3255",61538263:"7420",67348500:"2072","3b15a34b":"6","5bc4ccbc":"53","2f13d849":"65","83d480e9":"205",c4348237:"277","5ae130ee":"301","73bd57bd":"332",edc18331:"371","6cfc4513":"496",b2b675dd:"533",c0930fba:"540",f1cc380d:"681","981f6151":"703","7b758ddf":"895","67e3e25a":"1003",c0846785:"1036","82474f76":"1140","476a0444":"1198","522b21a2":"1249","0c9bead8":"1388",cf183316:"1472",b2f554cd:"1477","7c2ff145":"1505",e84a24a4:"1588",a7023ddc:"1713","1ac1bfe9":"2005","1c127a4d":"2129","935f2afb":"2197",beef0c9d:"2255","814f3328":"2535",a96c96b0:"2640","3a25b5a8":"3012","888566f1":"3045","1f391b9e":"3085",a6aa9e1f:"3089","2caf5b7a":"3173","7f2ac8b7":"3247","6ff82968":"3462",b654e1cf:"3582","9e4087bc":"3608","425cbb82":"3650","57fe7727":"3864","6626dbb1":"3872","701614d9":"4000","79e7cc44":"4009","01a85c17":"4013",b91ce718:"4027","1aef51bd":"4137",c4f5d8e4:"4195","1a1cc5f0":"4249","8a062262":"4252","6c624b4c":"4332",eea0bf40:"4429",a3030d1c:"4461",d9ea5336:"4626",cfb1619e:"4685",e2a53654:"4781","9201de17":"4803",e8e3d8c7:"4865",a0fd2c7a:"4932","69369ae2":"5062","312c2bc5":"5397","9f1290f8":"5433","6b841b38":"5435","9b620520":"5502",a727fde1:"5530","447d9066":"5853","7cd974c8":"6054",ccc49370:"6103","608ca171":"6146",e4877132:"6270","4e28a08b":"6276",a5467962:"6322",e04ffa77:"6393","74e316f4":"6434",a0b9ee13:"6552","86b8ce54":"6626","720cd117":"6777","85456a26":"6778","4279c33d":"6851",b134d7b8:"6950","7e205c4a":"7127","3020eeee":"7223","97c22b42":"7254",f6aebfbf:"7306","26f1f3a5":"7363","6ba1d2c1":"7374","393be207":"7414","6e55d25c":"7436","9c021584":"7438","4b098d2e":"7453","5e8c322a":"7597","462b6925":"7749","3a2d3092":"7750","65578b65":"7833","7343edf0":"7868","1a4e3797":"7920","3a0cb3a9":"7936","1b0c702f":"8032",c606405e:"8046",f0726797:"8084","1adeaf48":"8427","0a33f845":"8494","6875c492":"8610",bcd9df7e:"8652",a4d0ee3e:"8902","3f83d40d":"9012","82cdda05":"9107","295686f2":"9187","4d00c3f4":"9220","707baeff":"9226","9693de07":"9248","90fdad0c":"9476","1be78505":"9514","2e208732":"9515","3ae57366":"9582","0e384e19":"9671","3dc7c79a":"9712",f7831d67:"9881"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(c,a)=>{var f=r.o(e,c)?e[c]:void 0;if(0!==f)if(f)a.push(f[2]);else if(/^(1303|532)$/.test(c))e[c]=0;else{var d=new Promise(((a,d)=>f=e[c]=[a,d]));a.push(f[2]=d);var b=r.p+r.u(c),t=new Error;r.l(b,(a=>{if(r.o(e,c)&&(0!==(f=e[c])&&(e[c]=void 0),f)){var d=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;t.message="Loading chunk "+c+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,f[1](t)}}),"chunk-"+c,c)}},r.O.j=c=>0===e[c];var c=(c,a)=>{var f,d,b=a[0],t=a[1],o=a[2],n=0;if(b.some((c=>0!==e[c]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(c&&c(a);n