Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/docs/__server/server.bundle.js b/docs/__server/server.bundle.js
index 33434169..b7516e9d 100644
--- a/docs/__server/server.bundle.js
+++ b/docs/__server/server.bundle.js
@@ -4742,7 +4742,7 @@ function _createMdxContent(props) {
}), "\n", (0,jsx_runtime.jsx)(_components.pre, {
children: (0,jsx_runtime.jsx)(_components.code, {
className: "language-json",
- children: "{\n \"accept\": true,\n \"customMaxPerDay\": 42,\n \"customMaxPerSecond\": 42,\n \"customMaxPerMonth\": 42,\n \"customMetadata\": {\n \"value1\": 2,\n \"value2\": true,\n \"value3\": \"foo\"\n },\n \"adminCustomName\": \"foo-bar-apikey\",\n \"customReadOnly\": true\n}\n"
+ children: "{\n \"accept\": true, //mendatory\n \"customMaxPerDay\": 42, //set quotas value for max request per day for API key\n \"customMaxPerSecond\": 42, //set Quotas value for max request per second for API key\n \"customMaxPerMonth\": 42, //set Quotas value for max request per Month for API key\n \"customMetadata\": { //set metadata (merge with automatic metadata) for API key\n \"value1\": 2,\n \"value2\": true,\n \"value3\": \"foo\"\n },\n \"adminCustomName\": \"foo-bar-apikey\", //admin custom name is a subscription name only visible by api producer\n \"customReadOnly\": true, //set readonly property for APIkey\n \"customName\": \"bar-foo-apikey\", //custom name is the subscription name visible by consumer (it can be overwritten by him)\n \"tags\": [\"tag 1\", \"tag 2\"] //merge tags with automatic tags and set tags of API key. be aware of tags are displayed for consumer in UI\n}\n"
})
}), "\n", (0,jsx_runtime.jsx)(_components.p, {
children: "The body of the call contains a lot of data in the context: the subscription demand with the other step information, the API, the usage plan, the team and the aggregation in case of an aggregated apikey"
@@ -36736,7 +36736,7 @@ var lunr_default = /*#__PURE__*/__webpack_require__.n(lunr);
var mark = __webpack_require__(689);
var mark_default = /*#__PURE__*/__webpack_require__.n(mark);
;// ./.docusaurus/@easyops-cn/docusaurus-search-local/default/generated.js
-__webpack_require__(86121)((lunr_default()));(__webpack_require__(3397)/* .lunrLanguageZh */ .A)((lunr_default()));__webpack_require__(66106)((lunr_default()));const language=["en","zh"];const removeDefaultStopWordFilter=false;const removeDefaultStemmer=false;const searchIndexUrl="search-index{dir}.json?_=1426634a";const searchResultLimits=8;const searchResultContextMaxLength=50;const explicitSearchResultPath=true;const searchBarShortcut=true;const searchBarShortcutHint=true;const searchBarPosition="right";const docsPluginIdForPreferredVersion=undefined;const indexDocs=true;const searchContextByPaths=null;const hideSearchBarWithNoSearchContext=false;const useAllContextsWithNoSearchContext=false;
+__webpack_require__(86121)((lunr_default()));(__webpack_require__(3397)/* .lunrLanguageZh */ .A)((lunr_default()));__webpack_require__(66106)((lunr_default()));const language=["en","zh"];const removeDefaultStopWordFilter=false;const removeDefaultStemmer=false;const searchIndexUrl="search-index{dir}.json?_=6b504f98";const searchResultLimits=8;const searchResultContextMaxLength=50;const explicitSearchResultPath=true;const searchBarShortcut=true;const searchBarShortcutHint=true;const searchBarPosition="right";const docsPluginIdForPreferredVersion=undefined;const indexDocs=true;const searchContextByPaths=null;const hideSearchBarWithNoSearchContext=false;const useAllContextsWithNoSearchContext=false;
;// ./node_modules/@easyops-cn/docusaurus-search-local/dist/client/client/utils/proxiedGenerated.js
// This file is auto generated while building.
diff --git a/docs/assets/js/64737f0d.c1e43250.js b/docs/assets/js/64737f0d.c1e43250.js
new file mode 100644
index 00000000..bceaf36d
--- /dev/null
+++ b/docs/assets/js/64737f0d.c1e43250.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkdaikoku_documentation=self.webpackChunkdaikoku_documentation||[]).push([[2248],{33439:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"usages/producerusage/apis","title":"Managing APIs","description":"Create a new API","source":"@site/docs/02-usages/09-producerusage/1-apis.md","sourceDirName":"02-usages/09-producerusage","slug":"/usages/producerusage/apis","permalink":"/daikoku/docs/usages/producerusage/apis","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"Using Daikoku as an API producer","permalink":"/daikoku/docs/usages/producerusage/"},"next":{"title":"Managing teams","permalink":"/daikoku/docs/usages/producerusage/members"}}');var s=t(74848),a=t(28453);const o={},r="Managing APIs",c={},d=[{value:"Create a new API",id:"create-a-new-api",level:2},{value:"API information",id:"api-information",level:3},{value:"Versions and tags",id:"versions-and-tags",level:3},{value:"Visibility",id:"visibility",level:3},{value:"Authorizations",id:"authorizations",level:3},{value:"Description",id:"description",level:3},{value:"Plans",id:"plans",level:3},{value:"Otoroshi, billing and security",id:"otoroshi-billing-and-security",level:4},{value:"OpenAPI definition",id:"openapi-definition",level:3},{value:"Testing",id:"testing",level:3},{value:"Configure your openAPI",id:"configure-your-openapi",level:4},{value:"Documentation",id:"documentation",level:3},{value:"Manage subscription",id:"manage-subscription",level:2},{value:"API consumptions",id:"api-consumptions",level:2}];function l(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"managing-apis",children:"Managing APIs"})}),"\n",(0,s.jsx)(n.h2,{id:"create-a-new-api",children:"Create a new API"}),"\n",(0,s.jsxs)(n.p,{children:["To create a new API, you can click on the ",(0,s.jsx)(n.code,{children:"+ API"})," button in the catalog page or the ",(0,s.jsx)(n.code,{children:"Create new API"})," button in the Team's APIs page in your back office's team.\nAfter clicking on the button localized in the catalog page, you need to choose a team which is the owner."]}),"\n",(0,s.jsx)(n.h3,{id:"api-information",children:"API information"}),"\n",(0,s.jsx)(n.p,{children:'An API needs a name to be created.\nThen, you can add a small description, which will be displayed on the corresponding catalog\'s page.\nThe API can be published or not. In the latter case, you can consider this as a draft.\nAn image can be provided for the "card view" of the API list page.\nTo go further in the customization of Daikoku, the header of frontend page of all APIs can be customized by HTML'}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["To keep the title and the description, use the title and description surrended by a double brace in your template. You can add a button with the ",(0,s.jsx)(n.code,{children:"btn-edit"})," classname to add a direct link to the API backoffice for your team members."]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"versions-and-tags",children:"Versions and tags"}),"\n",(0,s.jsx)(n.p,{children:"Versioning your API is supported. You can update the current version of your API."}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsxs)(n.p,{children:["Make sure that your main version is toggle as ",(0,s.jsx)(n.code,{children:"use as last version"})," to be sure the link in the API list redirects to the correct version of your API."]})}),"\n",(0,s.jsx)(n.p,{children:"Supported versions are pure information for your users.\nTags and categories are arrays of items, mostly used to filter APIs."}),"\n",(0,s.jsx)(n.h3,{id:"visibility",children:"Visibility"}),"\n",(0,s.jsx)(n.p,{children:"Visibility can be:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"public: everybody can see the complete API."}),"\n",(0,s.jsx)(n.li,{children:"public with authorization: everybody sees just a part of the API, on the catalog's page (name, tags, categories and small desc.). Everybody can ask for access to an admin of owner team."}),"\n",(0,s.jsx)(n.li,{children:"private: Only authorized teams have access to the API."}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"authorizations",children:"Authorizations"}),"\n",(0,s.jsx)(n.p,{children:"The teams that have access to the API, in the case of visibility are private."}),"\n",(0,s.jsx)(n.h3,{id:"description",children:"Description"}),"\n",(0,s.jsx)(n.p,{children:"API description. Basically, it can be written in MarkDown, but you can also use HTML.\nThe description can be set as a team asset."}),"\n",(0,s.jsx)(n.h3,{id:"plans",children:"Plans"}),"\n",(0,s.jsxs)(n.p,{children:["An API needs a plan to be subscribed.\nPlan needs a name, possibly a description and an ",(0,s.jsx)(n.a,{href:"/daikoku/docs/usages/tenantusage/otoroshi",children:"Otoroshi instance"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["You can define a plan as the ",(0,s.jsx)(n.strong,{children:"default plan"}),", as it's possible to ",(0,s.jsx)(n.strong,{children:"make it private"})," (only accessible by the producer team).\nIt's possible to ",(0,s.jsx)(n.strong,{children:"allow multiple API keys"})," for a plan (by default, a team can only have one API key).\nIt's possible to ",(0,s.jsx)(n.strong,{children:"allow API keys aggregation"})]}),"\n",(0,s.jsx)(n.p,{children:"It's important to choose a type of plan :"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"free without quotas"}),": a plan with an unlimited number of calls per day and per month."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"free with quotas"}),": a plan with a limited number of calls per day and per month. Quotas will be set by default and can be overwritten."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"quotas with limits"}),": a priced plan with a limited number of calls per day and per month. Quotas will be set by default but can be overwritten. A fixed cost by month can be set."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"quotas without limit"}),": a priced plan with an unlimited number of calls per day and per month. Quotas will be set by default but can be overwritten. A fixed cost per month can be set. The cost per additional requests can be set."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"pay per use"}),": a plan priced on usage. A fixed cost per month can be set. The cost per additional requests can be set."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"The subscription process in Daikoku offers flexibility, allowing users to customize their validation steps. There are three possible types of steps:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Admin Validation"}),": This step requires an administrator from the API's owning team to validate the subscription request. When a request is submitted, all administrators in the team receive a Daikoku notification and an email containing the request details. The first administrator who validates the notification approves the step."]}),"\n"]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["It's possible to configure this step to display a specific form when the user asks for a subscription.\nTo parameterize the form, we use the JSON language used by ",(0,s.jsx)(n.a,{href:"https://github.com/MAIF/react-forms#maifreact-forms",children:"@maif/react-forms"}),".\nYou can write a formatter to format the form response as a notification sent to admins. It's just a string with a replacement pattern like this ",(0,s.jsx)(n.code,{children:"[[label]]"}),"\nthe result of the form is used to automatically generate metadata which will be deletable or modifiable before validation by the admin"]}),"\n"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"HTTP Request"}),": This step is a semi-automatic step. A HTTP POST is sent to an API with the whole context of the subscription demand.\nA JSON response is awaited with a precise format."]}),"\n"]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["A property ",(0,s.jsx)(n.code,{children:"accept"})," as boolean to accept or reject the subscription demand\nit totally possible to calculate and give some metadata or custom property for the subscription to created"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-json",children:'{\n "accept": true, //mendatory\n "customMaxPerDay": 42, //set quotas value for max request per day for API key\n "customMaxPerSecond": 42, //set Quotas value for max request per second for API key\n "customMaxPerMonth": 42, //set Quotas value for max request per Month for API key\n "customMetadata": { //set metadata (merge with automatic metadata) for API key\n "value1": 2,\n "value2": true,\n "value3": "foo"\n },\n "adminCustomName": "foo-bar-apikey", //admin custom name is a subscription name only visible by api producer\n "customReadOnly": true, //set readonly property for APIkey\n "customName": "bar-foo-apikey", //custom name is the subscription name visible by consumer (it can be overwritten by him)\n "tags": ["tag 1", "tag 2"] //merge tags with automatic tags and set tags of API key. be aware of tags are displayed for consumer in UI\n}\n'})}),"\n",(0,s.jsx)(n.p,{children:"The body of the call contains a lot of data in the context: the subscription demand with the other step information, the API, the usage plan, the team and the aggregation in case of an aggregated apikey"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-json",children:'{\n "demand": {},\n "api": {},\n "plan": {},\n "team": {},\n "aggregate": {\n "parent": {\n "api": {},\n "plan": {},\n "subscription": {} \n },\n "subscriptions": [\n {\n "api": {},\n "plan": {},\n "subscription": {} \n }\n ]\n } \n}\n'})}),"\n"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Email Validation"}),": This step involves a third-party person validating the subscription request by clicking on a validation link sent to the provided email address. Once the person clicks on the link, the request is validated, and the user is redirected to a public acknowledgment interface."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Payment Validation"}),": This step requires the requester to make a payment through a payment gateway. The user is redirected to a payment page provided by the payment gateway where they need to enter their payment information. Once the payment is validated, the subscription is approved, and the user is redirected to Daikoku's home page."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"When a consumption plan for an API is priced, after its creation, one or more Stripe products are created based on the plan type:"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Quotas Only"}),": A fixed-price subscription product is created."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Quotas / Pay Per Use"}),": Two products are created: a fixed-price subscription and a variable component linked to the user's consumption, which is synchronized with Stripe at the end of each day."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Pay Per Use"}),": Similarly, two products are created: a fixed-price subscription and a variable component linked to the user's consumption."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsx)(n.p,{children:"Please note that the email validation step can be used multiple times, while the other steps can only be completed once in the process."})}),"\n",(0,s.jsx)(n.p,{children:"The subscription process can be customized by adding new steps based on specific requirements."}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["Daikoku is an open-source project, and we encourage community initiatives to contribute new step types. We invite contributors to submit Pull Requests on the ",(0,s.jsx)(n.a,{href:"https://github.com/MAIF/daikoku",children:"project's GitHub repository"})," to propose new features."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:'To visualize and customize the subscription process, you can access the "Process" tab from the plan modification page. From this tab, you can view the entire process, add new steps, modify existing ones, or delete steps.'}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsx)(n.p,{children:"Please be aware that modifying or deleting a step immediately affects ongoing requests, either modifying them or validating them if necessary."})}),"\n",(0,s.jsx)(n.p,{children:"When submitting a subscription request, the only required data is the team for which you want to subscribe. The subscription process may also prompt you to provide a motivation, particularly if the admin validation step is included. In such cases, a modal window appears to allow for detailed motivation for the request."}),"\n",(0,s.jsx)(n.p,{children:"Once the subscription request is validated or declined, notifications and emails are generated to inform the user of the request's status."}),"\n",(0,s.jsx)(n.p,{children:"If your subscription plan is associated with consumption-based pricing, you can also modify certain billing information, such as your name, address, and payment details. The link to the billing information modification page, stored by the payment gateway, can be found on Daikoku's billing page."}),"\n",(0,s.jsx)(n.h4,{id:"otoroshi-billing-and-security",children:"Otoroshi, billing and security"}),"\n",(0,s.jsx)(n.p,{children:"Depending on the chosen plan type, certain custom properties may be accessible."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Plan needs an Otoroshi instance to allow users to subscribe. After choosing an instance, a list of Otoroshi service groups and services is accessible to link Daikoku API/plan with one or more Otoroshi service groups or services."}),"\n",(0,s.jsx)(n.li,{children:"As it's Otoroshi which manages APIs, apikey quotas can be defined."}),"\n",(0,s.jsxs)(n.li,{children:["Daikoku provides, like ",(0,s.jsx)(n.a,{href:"https://maif.github.io/otoroshi/manual/entities/apikeys.html",children:"Otoroshi"}),", some apikey parameters."]}),"\n",(0,s.jsx)(n.li,{children:"Daikoku side, billing informations can be filled (billing period, cost per month, currency ...)"}),"\n",(0,s.jsx)(n.li,{children:"For security, you can force apikey rotation. It's an Otoroshi feature that will reset clientSecret every month with a grace period of 1 week (during this week both secrets work)"}),"\n",(0,s.jsxs)(n.li,{children:["You can force the integration process:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"ApiKey: subscribers have access to an apikey to call API"}),"\n",(0,s.jsx)(n.li,{children:"Automatic: Subscribers have just access to a token, which links to a real apikey, accessible by admin API. It's a perfect solution to integrate automatically your apikey in your prod environment if rotation is activated."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["As Otoroshi does, it's possible to add metadata to API keys. ",(0,s.jsx)(n.strong,{children:"Automatic metadata"})," will be calculated and added after subscription validation. ",(0,s.jsx)(n.strong,{children:"Asked metadata"})," will switch the plan subscription mode to manual then, on subscription acceptation, a team admin will have to add the metadata manually."]})}),"\n",(0,s.jsx)(n.h3,{id:"openapi-definition",children:"OpenAPI definition"}),"\n",(0,s.jsx)(n.p,{children:"The OpenAPI definition can be provided as an URL or just some content pasted on the UI.\nAn additional configuration allow to"}),"\n",(0,s.jsx)(n.h3,{id:"testing",children:"Testing"}),"\n",(0,s.jsx)(n.p,{children:"You can enable the testing for your API."}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"The testing is based on the openAPI definition of your API. Beware of set up the right host for your testing service."}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["Click on the ",(0,s.jsx)(n.code,{children:"Generate a dedicated testing key in Otoroshi"})," to choose an Otoroshi instance and service group or service which is used to receive the testing APIkey. Then, just follow the instructions displayed on UI?"]}),"\n",(0,s.jsx)(n.h4,{id:"configure-your-openapi",children:"Configure your openAPI"}),"\n",(0,s.jsxs)(n.p,{children:["Your openAPI has to be configured to accept apikey from Basic authentication header or from the ",(0,s.jsx)(n.code,{children:"Otoroshi-Client-Id"})," and ",(0,s.jsx)(n.code,{children:"Otoroshi-Client-Secret"})," headers."]}),"\n",(0,s.jsx)(n.p,{children:"If you have changed the Otoroshi headers to pass the apikey don't forget to apply the changes on your openAPI."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-json",children:"...\npaths:\n /api/_verify:\n get:\n summary: Verification using query params\n operationId: getVerify\n ...\n security:\n - basicAuth: []\n - otoClientId: []\n otoClientSecret: []\ncomponents:\n schemas:\n securitySchemes:\n basicAuth:\n type: http\n scheme: basic\n otoClientId:\n type: apiKey\n name: Otoroshi-Client-Id\n in: header\n otoClientSecret:\n type: apiKey\n name: Otoroshi-Client-Secret\n in: header\n"})}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsx)(n.p,{children:"Make sure this service descriptor is the right one for testing and not your production system !"})}),"\n",(0,s.jsx)(n.h3,{id:"documentation",children:"Documentation"}),"\n",(0,s.jsx)(n.p,{children:"The documentation tabs allow you to create paginated documentation. Like description, every page can be written with MarkDown or set from an asset."}),"\n",(0,s.jsx)(n.h2,{id:"manage-subscription",children:"Manage subscription"}),"\n",(0,s.jsxs)(n.p,{children:["On the team APIs screen in your team back office, it's possible to manage every APIs its subscriptions by clicking on the ",(0,s.jsx)(n.code,{children:"key"})," button.\nYou can activate/deactivate API keys or update metadata."]}),"\n",(0,s.jsx)(n.h2,{id:"api-consumptions",children:"API consumptions"}),"\n",(0,s.jsxs)(n.p,{children:["On the team APIs screen in your team's back office, it's possible to see every APIs consumptions by clicking on the ",(0,s.jsx)(n.code,{children:"stats"})," button. Global stats by default but visible by API key or usage plan."]})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},28453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>r});var i=t(96540);const s={},a=i.createContext(s);function o(e){const n=i.useContext(a);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/main.225c816f.js b/docs/assets/js/main.225c816f.js
new file mode 100644
index 00000000..210734d4
--- /dev/null
+++ b/docs/assets/js/main.225c816f.js
@@ -0,0 +1,2 @@
+/*! For license information please see main.225c816f.js.LICENSE.txt */
+(self.webpackChunkdaikoku_documentation=self.webpackChunkdaikoku_documentation||[]).push([[8792],{35947:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(96540);var r=n(53259),a=n.n(r),o=n(84054);const i={"0019c764":[()=>n.e(1657).then(n.t.bind(n,89487,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-e31.json",89487],"03885ea5":[()=>n.e(4796).then(n.bind(n,53877)),"@site/docs/02-usages/10-consumerusage/index.md",53877],"07c0c607":[()=>n.e(8617).then(n.bind(n,74286)),"@site/docs/02-usages/07-adminusage/2-users.md",74286],"092b0f67":[()=>Promise.all([n.e(1869),n.e(2273)]).then(n.bind(n,15288)),"@site/docs/01-getstarted/05-firstrun/run.mdx",15288],"0e3215c3":[()=>n.e(7681).then(n.bind(n,95783)),"@site/docs/03-guides/02-archi.md",95783],"138e0e15":[()=>n.e(4921).then(n.t.bind(n,41597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",41597],"144d83f2":[()=>n.e(8623).then(n.bind(n,13977)),"@site/docs/04-cli/042-apis-to-business-website/05-add-dynamic-content.mdx",13977],17896441:[()=>Promise.all([n.e(1869),n.e(8401)]).then(n.bind(n,33388)),"@theme/DocItem",33388],"18f231a6":[()=>n.e(5033).then(n.bind(n,38645)),"@site/docs/02-usages/08-tenantusage/5.5-display.md",38645],"199d0080":[()=>n.e(4078).then(n.bind(n,20989)),"@site/docs/04-cli/041-informations/index.mdx",20989],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,81035)),"@theme/SearchPage",81035],"22493dda":[()=>n.e(934).then(n.bind(n,79855)),"@site/docs/04-cli/042-apis-to-business-website/index.mdx",79855],"23bfcfa6":[()=>n.e(5564).then(n.bind(n,29276)),"@site/docs/04-cli/042-apis-to-business-website/06-style-your-apis-page.mdx",29276],"2820f203":[()=>Promise.all([n.e(1869),n.e(2632)]).then(n.bind(n,81429)),"@site/docs/02-usages/index.mdx",81429],"28af0bc8":[()=>Promise.all([n.e(1869),n.e(3587)]).then(n.bind(n,40447)),"@site/docs/01-getstarted/04-getdaikoku/index.mdx",40447],"2d238738":[()=>n.e(8882).then(n.bind(n,50500)),"@site/docs/01-getstarted/05-firstrun/datastore.md",50500],"331c362e":[()=>n.e(9185).then(n.bind(n,79531)),"@site/docs/01-getstarted/00-about.md",79531],"3720c009":[()=>Promise.all([n.e(1869),n.e(4787)]).then(n.bind(n,41148)),"@theme/DocTagsListPage",41148],37484594:[()=>n.e(9007).then(n.bind(n,39528)),"@site/docs/01-getstarted/03-quickstart.md",39528],"37a8690e":[()=>n.e(1444).then(n.bind(n,85543)),"@site/docs/01-getstarted/06-setup/index.md",85543],"3a667e87":[()=>n.e(4720).then(n.bind(n,59936)),"@site/docs/04-cli/042-apis-to-business-website/11-dev-mode.mdx",59936],"3bccb1e5":[()=>n.e(4627).then(n.bind(n,41039)),"@site/docs/01-getstarted/06-setup/admin.md",41039],"3d674ee3":[()=>n.e(50).then(n.t.bind(n,59447,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-467.json",59447],"3f62fecf":[()=>n.e(9544).then(n.bind(n,94413)),"@site/docs/02-usages/10-consumerusage/2-apikeys.md",94413],"47f5f50e":[()=>n.e(9117).then(n.bind(n,35087)),"@site/docs/02-usages/10-consumerusage/5-fastmode.md",35087],"484e5d86":[()=>n.e(3339).then(n.bind(n,50666)),"@site/docs/01-getstarted/05-firstrun/env.md",50666],"4fd64565":[()=>n.e(5297).then(n.bind(n,14933)),"@site/docs/02-usages/08-tenantusage/6-cms.md",14933],"530b026d":[()=>n.e(7377).then(n.t.bind(n,63785,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-installation-af7.json",63785],55940994:[()=>Promise.all([n.e(1869),n.e(1256)]).then(n.bind(n,93060)),"@site/docs/01-getstarted/index.mdx",93060],"5d70e2c8":[()=>n.e(1801).then(n.bind(n,83926)),"@site/docs/04-cli/042-apis-to-business-website/04-create-your-first-page copy.mdx",83926],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"606788fe":[()=>n.e(4223).then(n.bind(n,35523)),"@site/docs/04-cli/042-apis-to-business-website/09-create-react-component.mdx",35523],"637d173b":[()=>n.e(2908).then(n.bind(n,13054)),"@site/docs/01-getstarted/06-setup/reporting.md",13054],"64737f0d":[()=>n.e(2248).then(n.bind(n,33439)),"@site/docs/02-usages/09-producerusage/1-apis.md",33439],"67a8f2c5":[()=>n.e(3145).then(n.bind(n,12843)),"@site/docs/01-getstarted/05-firstrun/index.md",12843],"6a9470e5":[()=>n.e(7264).then(n.bind(n,72259)),"@site/docs/02-usages/08-tenantusage/1.5-initialize.md",72259],"6b339c0f":[()=>n.e(8551).then(n.bind(n,33183)),"@site/docs/02-usages/07-adminusage/index.md",33183],"6ba57622":[()=>n.e(9130).then(n.t.bind(n,21258,19)),"@generated/docusaurus-plugin-redoc/plugin-redoc-0/__plugin.json",21258],"6ba831b6":[()=>n.e(1168).then(n.t.bind(n,66799,19)),"/home/runner/work/daikoku/daikoku/manual/.docusaurus/docusaurus-plugin-redoc/plugin-redoc-0/redocApiSpecV1.2-plugin-redoc-0.json",66799],"73b1ab36":[()=>n.e(2928).then(n.bind(n,19326)),"@site/docs/02-usages/10-consumerusage/1-subscribe.md",19326],"7482af60":[()=>n.e(5563).then(n.bind(n,43376)),"@site/docs/02-usages/09-producerusage/4-income.md",43376],"7cdc31f5":[()=>n.e(2873).then(n.bind(n,46163)),"@site/docs/03-guides/12-apis.md",46163],"7da7b125":[()=>n.e(9914).then(n.bind(n,7586)),"@site/docs/04-cli/042-apis-to-business-website/07-build-your-first-layout.mdx",7586],"8129fd32":[()=>n.e(9276).then(n.bind(n,16860)),"@site/docs/01-getstarted/05-firstrun/configfile.md",16860],"8ca3e574":[()=>n.e(4539).then(n.bind(n,84230)),"@site/docs/01-getstarted/05-firstrun/initialstate.md",84230],"91086ed6":[()=>n.e(4172).then(n.bind(n,40747)),"@site/docs/02-usages/07-adminusage/1-tenants.md",40747],"9117216e":[()=>n.e(921).then(n.bind(n,38864)),"@site/docs/02-usages/07-adminusage/3-sessions.md",38864],"92a12325":[()=>n.e(8058).then(n.bind(n,55776)),"@site/docs/04-cli/042-apis-to-business-website/03-deploy-your-website copy.mdx",55776],"9755f291":[()=>Promise.all([n.e(1869),n.e(4563)]).then(n.bind(n,34364)),"@site/docs/03-guides/14-authentication.mdx",34364],"99cb6e1e":[()=>n.e(8683).then(n.bind(n,17813)),"@site/docs/04-cli/042-apis-to-business-website/02-edit-your-home-page.mdx",17813],"9cff9f48":[()=>n.e(6166).then(n.bind(n,60672)),"@site/docs/04-cli/042-apis-to-business-website/10-configure-custom-emails.mdx",60672],a7456010:[()=>n.e(1235).then(n.t.bind(n,88552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",88552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,17192)),"@theme/DocVersionRoot",17192],a90bcd30:[()=>n.e(7603).then(n.bind(n,5774)),"@site/docs/04-cli/042-apis-to-business-website/01-create-your-first-project.mdx",5774],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,48489)),"@theme/DocRoot",48489],aa74e104:[()=>n.e(8350).then(n.bind(n,6296)),"@site/docs/02-usages/09-producerusage/index.md",6296],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,27093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",27093],b277a811:[()=>n.e(4112).then(n.bind(n,81233)),"@site/docs/02-usages/07-adminusage/4-importexport.md",81233],bb669cdd:[()=>n.e(9207).then(n.bind(n,19275)),"@site/docs/02-usages/10-consumerusage/4-billing.md",19275],beb35022:[()=>n.e(58).then(n.t.bind(n,69306,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-licence-7ba.json",69306],c4f5d8e4:[()=>Promise.all([n.e(1869),n.e(2634)]).then(n.bind(n,73915)),"@site/src/pages/index.js",73915],c5a98549:[()=>Promise.all([n.e(1869),n.e(3789)]).then(n.bind(n,65594)),"@site/docs/03-guides/index.mdx",65594],c5f7dd62:[()=>n.e(102).then(n.bind(n,60762)),"@site/docs/02-usages/08-tenantusage/1-otoroshi.md",60762],c658d08c:[()=>n.e(580).then(n.bind(n,72223)),"@site/docs/02-usages/08-tenantusage/4-messages.md",72223],c9d9ec16:[()=>n.e(1975).then(n.bind(n,35008)),"@site/docs/02-usages/09-producerusage/3-assets.md",35008],d5060a81:[()=>n.e(9952).then(n.bind(n,89176)),"@site/docs/03-guides/13-deploy.md",89176],d7242cac:[()=>n.e(4347).then(n.bind(n,32174)),"@site/docs/04-cli/index.mdx",32174],d8973fa8:[()=>n.e(7167).then(n.bind(n,92994)),"@site/docs/02-usages/09-producerusage/2-subscriptions.md",92994],d9990e8a:[()=>n.e(9096).then(n.bind(n,8941)),"@site/docs/02-usages/09-producerusage/2-members.md",8941],df203c0f:[()=>Promise.all([n.e(1869),n.e(4279)]).then(n.bind(n,16398)),"@theme/DocTagDocListPage",16398],e06b81f4:[()=>n.e(7099).then(n.bind(n,47837)),"@site/docs/02-usages/08-tenantusage/index.md",47837],e83df34e:[()=>n.e(8265).then(n.bind(n,79590)),"@site/docs/03-guides/11-integrations.md",79590],e953d3c5:[()=>n.e(4126).then(n.bind(n,27374)),"@site/docs/02-usages/08-tenantusage/2-teams.md",27374],ed11db58:[()=>n.e(3167).then(n.bind(n,22948)),"@site/docs/04-cli/042-apis-to-business-website/08-define-and-use-a-variable.mdx",22948],ee06beb8:[()=>n.e(9098).then(n.bind(n,68612)),"@site/docs/02-usages/10-consumerusage/3-aggregation-of-apikeys.md",68612],ef4bb451:[()=>n.e(7192).then(n.bind(n,94821)),"@site/docs/02-usages/08-tenantusage/5-translations.md",94821],f0ad3fbb:[()=>Promise.all([n.e(1869),n.e(6881),n.e(2969)]).then(n.bind(n,76881)),"@theme/ApiDoc",76881],fa8a5ad9:[()=>n.e(8574).then(n.bind(n,69405)),"@site/docs/02-usages/08-tenantusage/3-assets.md",69405],fb4f8d45:[()=>n.e(8700).then(n.bind(n,15391)),"@site/docs/04-cli/042-apis-to-business-website/12-add-personal-assets.mdx",15391],fc0be43e:[()=>n.e(9203).then(n.t.bind(n,74632,19)),"/home/runner/work/daikoku/daikoku/manual/.docusaurus/docusaurus-plugin-redoc/plugin-redoc-0/redocApiLayoutV1-plugin-redoc-0.json",74632]};var s=n(74848);function c(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var l=n(86921),u=n(53102);function d(e,t){if("*"===e)return a()({loading:c,loader:()=>n.e(2237).then(n.bind(n,82237)),modules:["@theme/NotFound"],webpack:()=>[82237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,l.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:c,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const c=a.__props;return delete a.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(o,{...a,...c,...n})})}})}const p=[{path:"/daikoku/openapi",component:d("/daikoku/openapi","603"),exact:!0},{path:"/daikoku/search",component:d("/daikoku/search","1a4"),exact:!0},{path:"/daikoku/docs",component:d("/daikoku/docs","b08"),routes:[{path:"/daikoku/docs",component:d("/daikoku/docs","64e"),routes:[{path:"/daikoku/docs/tags",component:d("/daikoku/docs/tags","807"),exact:!0},{path:"/daikoku/docs/tags/installation",component:d("/daikoku/docs/tags/installation","e9d"),exact:!0},{path:"/daikoku/docs/tags/licence",component:d("/daikoku/docs/tags/licence","f48"),exact:!0},{path:"/daikoku/docs",component:d("/daikoku/docs","9a1"),routes:[{path:"/daikoku/docs/cli/",component:d("/daikoku/docs/cli/","928"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/",component:d("/daikoku/docs/cli/apis-to-business-website/","80a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content",component:d("/daikoku/docs/cli/apis-to-business-website/add-dynamic-content","dc2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/add-personal-assets",component:d("/daikoku/docs/cli/apis-to-business-website/add-personal-assets","5b5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout",component:d("/daikoku/docs/cli/apis-to-business-website/build-your-first-layout","3fc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails",component:d("/daikoku/docs/cli/apis-to-business-website/configure-custom-emails","ec3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-react-component",component:d("/daikoku/docs/cli/apis-to-business-website/create-react-component","eef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy",component:d("/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy","bdc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-your-first-project",component:d("/daikoku/docs/cli/apis-to-business-website/create-your-first-project","e70"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable",component:d("/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable","1d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy",component:d("/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy","845"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/dev-mode",component:d("/daikoku/docs/cli/apis-to-business-website/dev-mode","a86"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page",component:d("/daikoku/docs/cli/apis-to-business-website/edit-your-home-page","36d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page",component:d("/daikoku/docs/cli/apis-to-business-website/style-your-apis-page","caf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/informations/",component:d("/daikoku/docs/cli/informations/","db3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/",component:d("/daikoku/docs/getstarted/","96d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/about",component:d("/daikoku/docs/getstarted/about","ba6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/",component:d("/daikoku/docs/getstarted/firstrun/","e8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/configfile",component:d("/daikoku/docs/getstarted/firstrun/configfile","661"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/datastore",component:d("/daikoku/docs/getstarted/firstrun/datastore","dfa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/env",component:d("/daikoku/docs/getstarted/firstrun/env","c87"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/initialstate",component:d("/daikoku/docs/getstarted/firstrun/initialstate","cf8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/run",component:d("/daikoku/docs/getstarted/firstrun/run","622"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/getdaikoku/",component:d("/daikoku/docs/getstarted/getdaikoku/","c1c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/quickstart",component:d("/daikoku/docs/getstarted/quickstart","2e4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/",component:d("/daikoku/docs/getstarted/setup/","9ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/admin",component:d("/daikoku/docs/getstarted/setup/admin","c31"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/reporting",component:d("/daikoku/docs/getstarted/setup/reporting","c46"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/",component:d("/daikoku/docs/guides/","8ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/apis",component:d("/daikoku/docs/guides/apis","9bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/archi",component:d("/daikoku/docs/guides/archi","137"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/authentication",component:d("/daikoku/docs/guides/authentication","baa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/deploy",component:d("/daikoku/docs/guides/deploy","6d0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/integrations",component:d("/daikoku/docs/guides/integrations","9e1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/",component:d("/daikoku/docs/usages/","a78"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/",component:d("/daikoku/docs/usages/adminusage/","b6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/importexport",component:d("/daikoku/docs/usages/adminusage/importexport","4c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/sessions",component:d("/daikoku/docs/usages/adminusage/sessions","5a0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/tenants",component:d("/daikoku/docs/usages/adminusage/tenants","c7b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/users",component:d("/daikoku/docs/usages/adminusage/users","c7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/",component:d("/daikoku/docs/usages/consumerusage/","b59"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys",component:d("/daikoku/docs/usages/consumerusage/aggregation-of-apikeys","8dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/apikeys",component:d("/daikoku/docs/usages/consumerusage/apikeys","2bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/billing",component:d("/daikoku/docs/usages/consumerusage/billing","9fd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/fastmode",component:d("/daikoku/docs/usages/consumerusage/fastmode","f62"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/subscribe",component:d("/daikoku/docs/usages/consumerusage/subscribe","f7a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/",component:d("/daikoku/docs/usages/producerusage/","bbf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/apis",component:d("/daikoku/docs/usages/producerusage/apis","f6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/assets",component:d("/daikoku/docs/usages/producerusage/assets","8a6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/income",component:d("/daikoku/docs/usages/producerusage/income","527"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/members",component:d("/daikoku/docs/usages/producerusage/members","c2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/subscriptions",component:d("/daikoku/docs/usages/producerusage/subscriptions","a40"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/",component:d("/daikoku/docs/usages/tenantusage/","443"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/1.5-initialize",component:d("/daikoku/docs/usages/tenantusage/1.5-initialize","337"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/5.5-display",component:d("/daikoku/docs/usages/tenantusage/5.5-display","ba3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/assets",component:d("/daikoku/docs/usages/tenantusage/assets","772"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/cms",component:d("/daikoku/docs/usages/tenantusage/cms","6ab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/messages",component:d("/daikoku/docs/usages/tenantusage/messages","36c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/otoroshi",component:d("/daikoku/docs/usages/tenantusage/otoroshi","17e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/teams",component:d("/daikoku/docs/usages/tenantusage/teams","22f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/translations",component:d("/daikoku/docs/usages/tenantusage/translations","5a6"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/daikoku/",component:d("/daikoku/","87e"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(96540),a=n(74848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},64808:(e,t,n)=>{"use strict";var r=n(96540),a=n(5338),o=n(80545),i=n(54625),s=n(4784),c=n(38193);const l=[n(10119),n(26134),n(76294),n(51043),n(7767),n(23390)];var u=n(35947),d=n(56347),p=n(22831),f=n(74848);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(44586),y=n(86025),b=n(95697),v=n(45660),k=n(49638),w=n(25214);var S=n(70440),x=n(41463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,k.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.Ks)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function A(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(E,{}),(0,f.jsx)(_,{}),(0,f.jsx)(x.A,{tag:"default",locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const j=new Map;var C=n(6125),T=n(26988),P=n(205);function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,P.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),I("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class $ extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=c.default.canUseDOM?I("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=I("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(N,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const L=$,R="__docusaurus-base-url-issue-banner-suggestion-container";function D(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '__docusaurus-base-url-issue-banner-container';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}
\n
We suggest trying baseUrl =
\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(L,{location:e,children:W})}function H(){return(0,f.jsx)(B.A,{children:(0,f.jsx)(T.l,{children:(0,f.jsxs)(C.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(z,{}),(0,f.jsx)(A,{}),(0,f.jsx)(M,{}),(0,f.jsx)(Q,{})]}),(0,f.jsx)(q,{})]})})})}var V=n(84054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var G=n(86921);const Y=new Set,J=new Set,Z=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,X={prefetch:e=>{if(!(e=>!Z()&&!J.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,p.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,G.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Z()&&!J.has(e))(e)&&(J.add(e),O(e))},ee=Object.freeze(X);function te(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const ne=Boolean(!0);if(c.default.canUseDOM){window.docusaurus=ee;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(te,{children:(0,f.jsx)(H,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ne)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};O(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(96540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/daikoku/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/daikoku/docs","mainDocId":"getstarted/index","docs":[{"id":"cli/apis-to-business-website/add-dynamic-content","path":"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/add-personal-assets","path":"/daikoku/docs/cli/apis-to-business-website/add-personal-assets","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/build-your-first-layout","path":"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/configure-custom-emails","path":"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-react-component","path":"/daikoku/docs/cli/apis-to-business-website/create-react-component","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-page copy","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-project","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-project","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/define-and-use-a-variable","path":"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/deploy-your-website copy","path":"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/dev-mode","path":"/daikoku/docs/cli/apis-to-business-website/dev-mode","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/edit-your-home-page","path":"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/index","path":"/daikoku/docs/cli/apis-to-business-website/","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/style-your-apis-page","path":"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page","sidebar":"tutorialSidebar"},{"id":"cli/index","path":"/daikoku/docs/cli/","sidebar":"tutorialSidebar"},{"id":"cli/informations/index","path":"/daikoku/docs/cli/informations/","sidebar":"tutorialSidebar"},{"id":"getstarted/about","path":"/daikoku/docs/getstarted/about","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/configfile","path":"/daikoku/docs/getstarted/firstrun/configfile","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/datastore","path":"/daikoku/docs/getstarted/firstrun/datastore","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/env","path":"/daikoku/docs/getstarted/firstrun/env","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/index","path":"/daikoku/docs/getstarted/firstrun/","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/initialstate","path":"/daikoku/docs/getstarted/firstrun/initialstate","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/run","path":"/daikoku/docs/getstarted/firstrun/run","sidebar":"tutorialSidebar"},{"id":"getstarted/getdaikoku/index","path":"/daikoku/docs/getstarted/getdaikoku/","sidebar":"tutorialSidebar"},{"id":"getstarted/index","path":"/daikoku/docs/getstarted/","sidebar":"tutorialSidebar"},{"id":"getstarted/quickstart","path":"/daikoku/docs/getstarted/quickstart","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/admin","path":"/daikoku/docs/getstarted/setup/admin","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/index","path":"/daikoku/docs/getstarted/setup/","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/reporting","path":"/daikoku/docs/getstarted/setup/reporting","sidebar":"tutorialSidebar"},{"id":"guides/apis","path":"/daikoku/docs/guides/apis","sidebar":"tutorialSidebar"},{"id":"guides/archi","path":"/daikoku/docs/guides/archi","sidebar":"tutorialSidebar"},{"id":"guides/authentication","path":"/daikoku/docs/guides/authentication","sidebar":"tutorialSidebar"},{"id":"guides/deploy","path":"/daikoku/docs/guides/deploy","sidebar":"tutorialSidebar"},{"id":"guides/index","path":"/daikoku/docs/guides/","sidebar":"tutorialSidebar"},{"id":"guides/integrations","path":"/daikoku/docs/guides/integrations","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/importexport","path":"/daikoku/docs/usages/adminusage/importexport","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/index","path":"/daikoku/docs/usages/adminusage/","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/sessions","path":"/daikoku/docs/usages/adminusage/sessions","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/tenants","path":"/daikoku/docs/usages/adminusage/tenants","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/users","path":"/daikoku/docs/usages/adminusage/users","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/aggregation-of-apikeys","path":"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/apikeys","path":"/daikoku/docs/usages/consumerusage/apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/billing","path":"/daikoku/docs/usages/consumerusage/billing","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/fastmode","path":"/daikoku/docs/usages/consumerusage/fastmode","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/index","path":"/daikoku/docs/usages/consumerusage/","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/subscribe","path":"/daikoku/docs/usages/consumerusage/subscribe","sidebar":"tutorialSidebar"},{"id":"usages/index","path":"/daikoku/docs/usages/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/apis","path":"/daikoku/docs/usages/producerusage/apis","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/assets","path":"/daikoku/docs/usages/producerusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/income","path":"/daikoku/docs/usages/producerusage/income","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/index","path":"/daikoku/docs/usages/producerusage/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/members","path":"/daikoku/docs/usages/producerusage/members","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/subscriptions","path":"/daikoku/docs/usages/producerusage/subscriptions","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/1.5-initialize","path":"/daikoku/docs/usages/tenantusage/1.5-initialize","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/5.5-display","path":"/daikoku/docs/usages/tenantusage/5.5-display","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/assets","path":"/daikoku/docs/usages/tenantusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/cms","path":"/daikoku/docs/usages/tenantusage/cms","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/index","path":"/daikoku/docs/usages/tenantusage/","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/messages","path":"/daikoku/docs/usages/tenantusage/messages","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/otoroshi","path":"/daikoku/docs/usages/tenantusage/otoroshi","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/teams","path":"/daikoku/docs/usages/tenantusage/teams","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/translations","path":"/daikoku/docs/usages/tenantusage/translations","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/daikoku/docs/getstarted/","label":"Get started"}}}}],"breadcrumbs":true}},"docusaurus-plugin-redoc":{"plugin-redoc-0":{"url":"redocusaurus/plugin-redoc-0.yaml","themeId":"theme-redoc","isSpecFile":true,"spec":{"openapi":"3.0.2","externalDocs":{"description":"Find out more about Daikoku","url":"https://maif.github.io/daikoku/"},"info":{"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"contact":{"name":"MAIF open source team","email":"oss@maif.fr"},"description":"Admin API of Daikoku","title":"Daikoku Admin API","version":"16.3.0"},"tags":[],"components":{"schemas":{"Tenant":{"description":"Tenant","properties":{"_id":{"type":"string"},"enabled":{"type":"boolean"},"_deleted":{"type":"boolean","nullable":true},"name":{"type":"string"},"domain":{"type":"string","nullable":true},"contact":{"type":"string"},"style":{"$ref":"#/components/schemas/DaikokuStyle","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"otoroshiSettings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/OtoroshiSettings"}},"mailerSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/MailerSettings.ConsoleMailerSettings"},{"$ref":"#/components/schemas/MailerSettings.MailgunSettings"},{"$ref":"#/components/schemas/MailerSettings.MailjetSettings"},{"$ref":"#/components/schemas/MailerSettings.SimpleSMTPSettings"},{"$ref":"#/components/schemas/MailerSettings.SendgridSettings"}]},"bucketSettings":{"nullable":true,"$ref":"#/components/schemas/S3Configuration"},"authProvider":{"nullable":true,"type":"string","enum":["local","otoroshi","ldap","oauth2"]},"authProviderSettings":{"type":"object"},"auditTrailConfig":{"nullable":false,"$ref":"#/components/schemas/AuditTrailConfig"},"isPrivate":{"type":"boolean","nullable":true},"adminApi":{"type":"string"},"adminSubscriptions":{"type":"array","items":{"type":"string"}},"creationSecurity":{"type":"boolean","nullable":true},"subscriptionSecurity":{"type":"boolean","nullable":true},"apiReferenceHideForGuest":{"type":"boolean","nullable":true},"defaultMessage":{"type":"string","nullable":true},"tenantMode":{"type":"string","enum":["default","maintenance","construction","translation"],"nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"robotTxt":{"type":"string","nullable":true},"thirdPartyPaymentSettings":{"type":"array","nullable":true,"items":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartyPaymentSettings.StripeSettings"}]}},"display":{"nullable":true,"type":"string","enum":["default","environment"]},"environments":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["_id","enabled","name","contact","adminApi"]},"object":{"type":"object"},"done":{"description":"task is done","properties":{"done":{"type":"boolean"}}},"error":{"description":"error response","properties":{"error":{"type":"string"}}},"GraphQLQuery":{"type":"object","properties":{"query":{"type":"string"}}},"GraphQLResponse":{"type":"object","properties":{"data":{"type":"object"}}},"GraphQLSchema":{"type":"object"},"patch":{"description":"A set of changes described in JSON Patch format: http://jsonpatch.com/ (RFC 6902)","type":"array","items":{"type":"object","required":["op","path"],"properties":{"op":{"type":"string","enum":["add","replace","remove","copy","test"]},"path":{"type":"string"},"value":{}}}},"DaikokuStyle":{"description":"DaikokuStyle","properties":{"js":{"type":"string","nullable":true},"css":{"type":"string","nullable":true},"colorTheme":{"type":"string","nullable":true},"jsUrl":{"type":"string","nullable":true},"cssUrl":{"type":"string","nullable":true},"faviconUrl":{"type":"string","nullable":true},"fontFamilyUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"unloggedHome":{"type":"string","nullable":true},"homePageVisible":{"type":"boolean","nullable":true},"homeCmsPage":{"type":"string","nullable":true},"notFoundCmsPage":{"type":"string","nullable":true},"authenticatedCmsPage":{"type":"string","nullable":true},"cacheTTL":{"type":"integer","format":"int32","nullable":true},"logo":{"type":"string","nullable":true},"footer":{"type":"string","nullable":true}}},"ThirdPartyPaymentSettings.StripeSettings":{"description":"Stripe settings","properties":{"_id":{"type":"string"},"name":{"type":"string"},"publicKey":{"type":"string"},"secretKey":{"type":"string"}},"required":["_id","name","publicKey","secretKey"]},"OtoroshiSettings":{"description":"OtoroshiSettings","properties":{"id":{"type":"string"},"url":{"type":"string"},"host":{"type":"string"},"clientId":{"type":"string","nullable":true},"clientSecret":{"type":"string","nullable":true}},"required":["id","url","host"]},"MailerSettings.ConsoleMailerSettings":{"description":"MailerSettings","properties":{"type":{"type":"string","enum":["console"]},"template":{"type":"string","nullable":true}},"required":["type"]},"MailerSettings.MailgunSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailgun"]},"template":{"type":"string","nullable":true},"domain":{"type":"string"},"eu":{"type":"boolean","nullable":true},"key":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","domain","key","fromTitle","fromEmail"]},"MailerSettings.MailjetSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailjet"]},"template":{"type":"string","nullable":true},"apiKeyPublic":{"type":"string"},"apiKeyPrivate":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apiKeyPublic","apiKeyPrivate","fromTitle","fromEmail"]},"MailerSettings.SendgridSettings":{"description":"SendgridSettings","properties":{"type":{"type":"string","enum":["sendgrid"]},"template":{"type":"string","nullable":true},"apikey":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apikey","fromEmail","fromTitle"]},"MailerSettings.SimpleSMTPSettings":{"description":"SimpleSMTPSettings","properties":{"type":{"type":"string","enum":["smtpClient"]},"template":{"type":"string","nullable":true},"host":{"type":"string"},"port":{"type":"string","additionalProperties":{"oneOf":[{"type":"integer"}]}},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","host","port","fromEmail","fromTitle"]},"S3Configuration":{"description":"S3Configuration","properties":{"bucket":{"type":"string"},"endpoint":{"type":"string"},"region":{"type":"string"},"access":{"type":"string"},"secret":{"type":"string"},"chunkSize":{"type":"integer","format":"int32","nullable":true},"v4auth":{"type":"boolean","nullable":true}},"required":["bucket","endpoint","region","access","secret"]},"AuditTrailConfig":{"description":"AuditTrailConfig","properties":{"elasticConfigs":{"$ref":"#/components/schemas/ElasticAnalyticsConfig","nullable":true},"auditWebhooks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Webhook"}},"alertsEmails":{"type":"array","nullable":true,"items":{"type":"string"}},"kafkaConfig":{"$ref":"#/components/schemas/KafkaConfig","nullable":true}}},"Webhook":{"description":"Webhook","properties":{"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["url"]},"ElasticAnalyticsConfig":{"description":"ElasticAnalyticsConfig","properties":{"clusterUri":{"type":"string"},"index":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}},"required":["clusterUri"]},"KafkaConfig":{"description":"KafkaConfig","properties":{"servers":{"type":"array","nullable":true,"items":{"type":"string"}},"keyPass":{"type":"string","nullable":true},"keystore":{"type":"string","nullable":true},"truststore":{"type":"string","nullable":true},"auditTopic":{"type":"string","nullable":true},"hostValidation":{"type":"boolean","nullable":true}}},"User":{"description":"User","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean"},"tenants":{"type":"array","nullable":true,"items":{"type":"string"}},"origins":{"type":"array","nullable":true,"items":{"type":"string","enum":["local","otoroshi","ldap","oauth2"]}},"name":{"type":"string"},"email":{"type":"string"},"picture":{"type":"string","nullable":true},"pictureFromProvider":{"type":"boolean","nullable":true},"personalToken":{"type":"string","nullable":true},"isDaikokuAdmin":{"type":"boolean","nullable":true},"password":{"type":"string","nullable":true,"description":"optionnal value but required in case of tenant has a Local AuthProvider"},"hardwareKeyRegistrations":{"type":"array","nullable":true,"items":{"type":"object"}},"lastTenant":{"type":"string","nullable":true},"metadata":{"type":"object","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"starredApis":{"type":"array","nullable":true,"items":{"type":"string"}},"twoFactorAuthentication":{"$ref":"#/components/schemas/TwoFactorAuthentication","nullable":true},"invitation":{"$ref":"#/components/schemas/UserInvitation","nullable":true}},"required":["_id","name","email"]},"UserInvitation":{"description":"UserInvitation","properties":{"token":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"team":{"type":"string"},"notificationId":{"type":"string","nullable":true},"registered":{"type":"boolean","nullable":true}},"required":["token"]},"TwoFactorAuthentication":{"description":"TwoFactorAuthentication","properties":{"enabled":{"type":"boolean"},"secret":{"type":"string"},"token":{"type":"string"},"backupCodes":{"type":"string"}},"required":["enabled","secret","token","backupCodes"]},"Team":{"description":"Team","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"type":{"type":"string","enum":["Personal","Organization","Admin"]},"name":{"type":"string"},"description":{"type":"string","nullable":true},"contact":{"type":"string"},"avatar":{"type":"string","nullable":true},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserWithPermission"}},"authorizedEntities":{"type":"array","nullable":true,"items":{"properties":{"otoroshiSettingsId":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"}}}},"apiKeyVisibility":{"type":"string","enum":["administrator","apiEditor","user"]},"metadata":{"type":"object","nullable":true},"apisCreationPermission":{"type":"boolean","nullable":true},"verified":{"type":"boolean"}},"required":["_id","_tenant","type","contact","verified"]},"UserWithPermission":{"description":"UserWithPermission","properties":{"userId":{"type":"string"},"teamPermission":{"type":"string","enum":["Administrator","ApiEditor","User"]}},"required":["userId","teamPermission"]},"Api":{"description":"Api","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"name":{"type":"string"},"lastUpdate":{"type":"integer","format":"timestamp"},"description":{"type":"string","nullable":true},"smallDescription":{"type":"string","nullable":true},"header":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"currentVersion":{"type":"string"},"supportedVersions":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true},"testing":{"$ref":"#/components/schemas/Testing","nullable":true},"documentation":{"$ref":"#/components/schemas/ApiDocumentation"},"swagger":{"$ref":"#/components/schemas/SwaggerAccess","nullable":true},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"categories":{"type":"array","nullable":true,"items":{"type":"string"}},"visibility":{"type":"string","enum":["Public","Private","PublicWithAuthorizations","AdminOnly"]},"possibleUsagePlans":{"type":"array","items":{"type":"string"}},"defaultUsagePlan":{"type":"string","nullable":true},"authorizedTeams":{"type":"array","nullable":true,"items":{"type":"string"}},"posts":{"type":"array","nullable":true,"items":{"type":"string"}},"issues":{"type":"array","nullable":true,"items":{"type":"string"}},"issuesTags":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiIssueTag"}},"stars":{"type":"integer","format":"int32"},"parent":{"type":"string"},"apis":{"type":"array","items":{"type":"string"}},"state":{"type":"string","enum":["created","published","blocked","deprecated"]}},"required":["_id","_tenant","team","name","lastUpdate","currentVersion","documentation","visibility","possibleUsagePlans","state"]},"ApiIssueTag":{"description":"ApiIssueTag","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string"},"color":{"type":"string"}},"required":["name","color"]},"Testing":{"description":"Testing","properties":{"enabled":{"type":"boolean","nullable":true},"auth":{"type":"string","enum":["ApiKey","Basic"],"nullable":true},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/TestingConfig","nullable":true}}},"ApiDocumentation":{"description":"ApiDocumentation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"pages":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}},"lastModificationAt":{"type":"integer","format":"timestamp"}},"required":["_id","_tenant","lastModificationAt"]},"ApiState":{"description":"ApiState","properties":{},"required":["headers","content","value","url"]},"SwaggerAccess":{"description":"SwaggerAccess","properties":{"url":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}}},"Version":{"description":"Version","properties":{"value":{"type":"string"}},"required":["headers","content","value","url"]},"ApiVisibility":{"description":"ApiVisibility","properties":{},"required":["headers","content","url"]},"TestingConfig":{"description":"TestingConfig","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"clientName":{"type":"string"},"tag":{"type":"string"},"customMetadata":{"type":"object","nullable":true},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true}},"required":["otoroshiSettings","authorizedEntities","clientName","tag"]},"ApiDocumentationDetailPage":{"description":"ApiDocumentationDetailPage","properties":{"id":{"type":"string"},"title":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}}},"required":["id","title","children"]},"AuthorizedEntities":{"description":"AuthorizedEntities","properties":{"services":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}},"routes":{"type":"array","items":{"type":"string"}}},"required":["routes","groups","services"]},"ApiSubscription":{"description":"ApiSubscription","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"apiKey":{"$ref":"#/components/schemas/OtoroshiApiKey"},"plan":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp"},"by":{"type":"string"},"customName":{"type":"string","nullable":true},"adminCustomName":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"rotation":{"$ref":"#/components/schemas/ApiSubscriptionRotation"},"integrationToken":{"type":"string"},"customMetadata":{"type":"object"},"metadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"parent":{"type":"string","nullable":true},"thirdPartySubscriptionInformations":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartySubscriptionInformations.Stripe"}]}},"required":["_id","_tenant","apiKey","plan","team","api","createdAt","by","integrationToken"]},"ThirdPartySubscriptionInformations.Stripe":{"description":"ThirdPartySubscriptionInformations","properties":{"subscriptionId":{"type":"string"},"primaryElementId":{"type":"string","nullable":true},"meteredElementId":{"type":"string","nullable":true}}},"OtoroshiApiKey":{"description":"OtoroshiApiKey","properties":{"clientName":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"}},"required":["clientName","clientId","clientSecret"]},"ApiSubscriptionRotation":{"description":"ApiSubscriptionRotation","properties":{"enabled":{"type":"boolean"},"rotationEvery":{"type":"integer","format":"int64"},"gracePeriod":{"type":"integer","format":"int64"},"pendingRotation":{"type":"boolean"}},"required":["enabled","rotationEvery","gracePeriod","pendingRotation"]},"ApiDocumentationPage":{"description":"ApiDocumentationPage","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true},"contentType":{"type":"string","nullable":true},"remoteContentEnabled":{"type":"boolean","nullable":true},"remoteContentUrl":{"type":"string","nullable":true},"remoteContentHeaders":{"type":"object","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Notification":{"description":"Notification","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"sender":{"$ref":"#/components/schemas/NotificationSender"},"date":{"type":"integer","format":"timestamp","nullable":true},"notificationType":{"type":"string","enum":["AcceptOrReject","AcceptOnly"]},"status":{"oneOf":[{"$ref":"#/components/schemas/NotificationStatus.Accepted"},{"$ref":"#/components/schemas/NotificationStatus.Rejected"},{"$ref":"#/components/schemas/NotificationStatus.Pending"}]},"action":{"oneOf":[{"$ref":"#/components/schemas/NotificationAction.ApiAccess"},{"$ref":"#/components/schemas/NotificationAction.TeamAccess"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscription"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionReject"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionAccept"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncSubscriptionError"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncApiError"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyDeletionInformation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationInProgress"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationEnded"},{"$ref":"#/components/schemas/NotificationAction.TeamInvitation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRefresh"},{"$ref":"#/components/schemas/NotificationAction.NewPostPublished"},{"$ref":"#/components/schemas/NotificationAction.NewIssueOpen"},{"$ref":"#/components/schemas/NotificationAction.NewCommentOnIssue"},{"$ref":"#/components/schemas/NotificationAction.TransferApiOwnership"},{"$ref":"#/components/schemas/NotificationAction.CheckoutForSubscription"}]}},"required":["_id","_tenant","sender","status","action"]},"NotificationAction.ApiAccess":{"description":"NotificationAction apiAccess","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team","sender"]},"NotificationAction.TeamAccess":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"}},"required":["team"]},"NotificationAction.ApiSubscription":{"description":"NotificationAction teamAccess","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"demand":{"type":"string"},"step":{"type":"string"},"parentSubscriptionId":{"type":"string","nullable":true},"motivation":{"type":"string","nullable":true}},"required":["api","plan","team","demand","step"]},"NotificationAction.ApiSubscriptionReject":{"description":"NotificationAction ApiSubscriptionReject","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["api","plan","team"]},"NotificationAction.ApiSubscriptionAccept":{"description":"NotificationAction ApiSubscriptionAccept","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"}},"required":["api","plan","team"]},"NotificationAction.OtoroshiSyncSubscriptionError":{"description":"NotificationAction OtoroshiSyncSubscriptionError","properties":{"subscription":{"type":"string"},"message":{"type":"string"}},"required":["subscription","message"]},"NotificationAction.OtoroshiSyncApiError":{"description":"NotificationAction OtoroshiSyncApiError","properties":{"api":{"type":"string"},"message":{"type":"string"}},"required":["api","message"]},"NotificationAction.ApiKeyDeletionInformation":{"description":"NotificationAction ApiKeyDeletionInformation","properties":{"api":{"type":"string"},"clientId":{"type":"string"}},"required":["api","clientId"]},"NotificationAction.ApiKeyRotationInProgress":{"description":"NotificationAction ApiKeyRotationInProgress","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.ApiKeyRotationEnded":{"description":"NotificationAction ApiKeyRotationEnded","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.TeamInvitation":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"},"user":{"type":"string"}},"required":["team","user"]},"NotificationAction.ApiKeyRefresh":{"description":"NotificationAction ApiKeyRefresh","properties":{"subscription":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["subscription","api","plan"]},"NotificationAction.NewPostPublished":{"description":"NotificationAction NewPostPublished","properties":{"apiName":{"type":"string","nullable":true},"teamId":{"type":"string"}},"required":["teamId"]},"NotificationAction.NewIssueOpen":{"description":"NotificationAction NewIssueOpen","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.NewCommentOnIssue":{"description":"NotificationAction NewCommentOnIssue","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.TransferApiOwnership":{"description":"NotificationAction TransferApiOwnership","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team"]},"NotificationAction.CheckoutForSubscription":{"description":"NotificationAction teamAccess","properties":{"demand":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"step":{"type":"string"}},"required":["demand","api","plan","step"]},"NotificationStatus.Pending":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Pending"]}},"required":["status"]},"NotificationStatus.Accepted":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Accepted"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationStatus.Rejected":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Rejected"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationSender":{"description":"NotificationSender","properties":{"name":{"type":"string"},"email":{"type":"string"},"id":{"type":"string","description":"user id","nullable":true}},"required":["email","name"]},"UserSession":{"description":"UserSession","properties":{"_id":{"type":"string"},"sessionId":{"type":"string"},"userId":{"type":"string"},"userName":{"type":"string"},"userEmail":{"type":"string"},"impersonatorId":{"type":"string","nullable":true},"impersonatorName":{"type":"string","nullable":true},"impersonatorEmail":{"type":"string","nullable":true},"impersonatorSessionId":{"type":"string","nullable":true},"created":{"type":"integer","format":"timestamp","nullable":true},"ttl":{"type":"integer","format":"int64","nullable":true},"expires":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","sessionId","userId","userName","userEmail"]},"ApiKeyConsumption":{"description":"ApiKeyConsumption","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"_tenant":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"clientId":{"type":"string"},"hits":{"type":"integer","format":"int32"},"globalInformations":{"$ref":"#/components/schemas/ApiKeyGlobalConsumptionInformations"},"quotas":{"$ref":"#/components/schemas/ApiKeyQuotas"},"billing":{"$ref":"#/components/schemas/ApiKeyBilling"},"from":{"type":"integer","format":"timestamp"},"to":{"type":"integer","format":"timestamp"},"state":{"type":"string","enum":["completed","inProgress"]}},"required":["_id","_tenant","team","api","plan","clientId","hits","globalInformations","quotas","billing","to","from","state"]},"ApiKeyBilling":{"description":"ApiKeyBilling","properties":{"hits":{"type":"integer","format":"int64"},"total":{"type":"number","format":"float64"}},"required":["hits","total"]},"ApiKeyQuotas":{"description":"ApiKeyQuotas","properties":{"authorizedCallsPerSec":{"type":"integer","format":"int64"},"currentCallsPerSec":{"type":"integer","format":"int64"},"remainingCallsPerSec":{"type":"integer","format":"int64"},"authorizedCallsPerDay":{"type":"integer","format":"int64"},"currentCallsPerDay":{"type":"integer","format":"int64"},"remainingCallsPerDay":{"type":"integer","format":"int64"},"authorizedCallsPerMonth":{"type":"integer","format":"int64"},"currentCallsPerMonth":{"type":"integer","format":"int64"},"remainingCallsPerMonth":{"type":"integer","format":"int64"}},"required":["authorizedCallsPerSec","currentCallsPerSec","remainingCallsPerSec","authorizedCallsPerDay","currentCallsPerDay","remainingCallsPerDay","authorizedCallsPerMonth","currentCallsPerMonth","remainingCallsPerMonth"]},"ApiKeyGlobalConsumptionInformations":{"description":"ApiKeyGlobalConsumptionInformations","properties":{"hits":{"type":"integer","format":"int64"},"dataIn":{"type":"integer","format":"int64"},"dataOut":{"type":"integer","format":"int64"},"avgDuration":{"type":"number","format":"float64","nullable":true},"avgOverhead":{"type":"number","format":"float64","nullable":true}},"required":["hits","dataIn","dataOut"]},"Message":{"description":"Message","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"messageType":{"oneOf":[{"$ref":"#/components/schemas/MessageType.Tenant"}]},"chat":{"type":"string","description":"user id"},"participants":{"type":"array","items":{"type":"string","description":"user ids of the tenant admins"}},"readBy":{"type":"array","items":{"type":"string","description":"user ids"}},"date":{"type":"integer","format":"timestamp"},"sender":{"type":"string","description":"user id"},"message":{"type":"string"},"closed":{"type":"integer","format":"timestamp","nullable":true},"send":{"type":"boolean","nullable":true}},"required":["_id","_tenant","chat","readBy","participants","message","messageType","date","sender"]},"MessageType.Tenant":{"description":"MessageType for Tenant administrators","properties":{"type":{"type":"string","enum":["tenant"]},"value":{"type":"string","description":"the id of the tenant"}}},"ApiIssue":{"description":"ApiIssue","properties":{"_id":{"type":"string"},"seqId":{"type":"integer","format":"int32","nullable":true},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"open":{"type":"boolean","nullable":true},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"closedAt":{"type":"integer","format":"timestamp","nullable":true},"by":{"type":"string"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssueComment"}},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"apiVersion":{"type":"string","nullable":true}},"required":["_id","_tenant","title","by"]},"ApiIssueComment":{"description":"ApiIssueComment","properties":{"by":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"content":{"type":"string"}},"required":["content","by"]},"ApiPost":{"description":"ApiPost","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Translation":{"description":"Translation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"language":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","_tenant","key","value","language"]},"UsagePlan.Admin":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["Admin"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false}},"required":["_id","_tenant"]},"UsagePlan.FreeWithoutQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.FreeWithQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithoutLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"costPerAdditionalRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","costPerAdditionalRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.PayPerUse":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"costPerMonth":{"type":"integer","format":"float64"},"costPerRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","costPerMonth","trialPeriod","costPerRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"Currency":{"description":"Currency","properties":{"code":{"type":"string"}},"required":["code"]},"BillingDuration":{"description":"BillingDuration","properties":{"value":{"type":"integer","format":"int64"},"unit":{"type":"string","enum":["hour","hours","day","days","month","months","year","years"]}}},"OtoroshiTarget":{"description":"Otoroshi target","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"apikeyCustomization":{"$ref":"#/components/schemas/ApikeyCustomization"}},"required":["otoroshiSettings","authorizedEntities","apikeyCustomization"]},"PaymentSettings.Stripe":{"description":"PaymentSettings.Stripe","properties":{"thirdPartyPaymentSettingsId":{"type":"string"},"productId":{"type":"string"},"priceIds":{"$ref":"#/components/schemas/StripePriceIds"}},"required":["thirdPartyPaymentSettings","productId","priceIds"]},"StripePriceIds":{"description":"StripePriceIds","properties":{"basePriceId":{"type":"string"},"additionalPriceId":{"type":"string","nullable":true}},"required":["basePriceId"]},"ApikeyCustomization":{"description":"Apikey customization","properties":{"clientIdOnly":{"type":"boolean","nullable":true},"readOnly":{"type":"boolean","nullable":true},"constrainedServicesOnly":{"type":"boolean","nullable":true},"metadata":{"type":"object","nullable":true},"customMetadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"restrictions":{"$ref":"#/components/schemas/ApiKeyRestrictions"}},"required":["restrictions"]},"ApiKeyRestrictions":{"description":"ApiKey Restrictions","properties":{"enabled":{"type":"boolean","nullable":true},"allowlast":{"type":"boolean","nullable":true},"allowed":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"forbidden":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"notFound":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}}}},"ApiKeyRestrictionPath":{"description":"ApiKeyRestriction Path","properties":{"method":{"type":"string"},"path":{"type":"string"}},"required":["method","path"]},"SubscriptionDemand":{"description":"SubscriptionDemand","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean"},"api":{"type":"string"},"plan":{"type":"string"},"steps":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"state":{"$ref":"#/components/schemas/SubscriptionDemandState"},"team":{"type":"string"},"from":{"type":"string"},"date":{"type":"integer","format":"timestamp"},"motivation":{"type":"string","nullable":true},"parentSubscriptionId":{"type":"string","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"customMetadata":{"type":"object"},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"adminCustomName":{"type":"string","nullable":true}},"required":["_id","_tenant","api","plan","team","steps","state","from","date"]},"SubscriptionDemandState":{"description":"SubscriptionDemandStep","properties":{"id":{"type":"string"},"state":{"type":"string","enum":["waiting","inProgress","canceled","accepted","refused","blocked"]},"step":{"$ref":"#/components/schemas/ValidationStep"},"metadata":{"type":"object"}},"required":["id","step","state","metadata"]},"SubscriptionDemandStep.Email":{"description":"SubscriptionDemandState by Email","properties":{"type":{"type":"string","enum":["email"]},"id":{"type":"string"},"emails":{"type":"array","items":{"type":"string","format":"email"}},"title":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["type","id","emails","title"]},"SubscriptionDemandStep.TeamAdmin":{"description":"SubscriptionDemandState by team admin","properties":{"type":{"type":"string","enum":["teamAdmin"]},"id":{"type":"string"},"schema":{"type":"object","nullable":true},"formatter":{"type":"string","nullable":true},"title":{"type":"string"}},"required":["type","id","title"]},"SubscriptionDemandStep.Payment":{"description":"SubscriptionDemandState by payment","properties":{"type":{"type":"string","enum":["payment"]},"id":{"type":"string"},"thirdPartyPaymentSettingsId":{"type":"string"},"title":{"type":"string"}},"required":["type","id","thirdPartyPaymentSettingsId","title"]},"SubscriptionDemandStep.HttpRequest":{"description":"SubscriptionDemandState by Http request","properties":{"type":{"type":"string","enum":["httpRequest"]},"id":{"type":"string"},"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["type","id","url","title"]},"ValidationStep":{"description":"ValidationStep","properties":{}}}},"paths":{"/admin-api/tenants/{id}":{"delete":{"summary":"delete a tenant","operationId":"tenants.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to delete","required":true}],"tags":["tenant"]},"patch":{"summary":"update a tenant with JSON patch or by merging JSON object","operationId":"tenants.patch","requestBody":{"description":"the patch to update the tenant or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Tenant"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The tenant ID to update","required":true}],"tags":["tenant"]},"put":{"summary":"update a tenant","operationId":"tenants.update","requestBody":{"description":"the ID of the tenant to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to update","required":true}],"tags":["tenant"]},"get":{"summary":"read a tenant","operationId":"tenants.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to retrieve","required":true}],"tags":["tenant"]}},"/admin-api/tenants":{"get":{"summary":"read all tenant","operationId":"tenants.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]},"post":{"summary":"create a tenant","requestBody":{"description":"the tenant to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"operationId":"tenants.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]}},"/admin-api/users/{id}":{"delete":{"summary":"delete a user","operationId":"users.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"patch":{"summary":"update a user with JSON patch or by merging JSON object","operationId":"users.patch","requestBody":{"description":"the patch to update the user or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/User"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"put":{"summary":"update a user","operationId":"users.update","requestBody":{"description":"the user to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"get":{"summary":"read a user","operationId":"users.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]}},"/admin-api/users":{"get":{"summary":"read all user","operationId":"users.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]},"post":{"summary":"creates a user","requestBody":{"description":"the user to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"operationId":"users.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]}},"/admin-api/teams/{id}":{"delete":{"summary":"delete a team","operationId":"teams.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"patch":{"summary":"update a team with JSON patch or by merging JSON object","operationId":"teams.patch","requestBody":{"description":"the patch to update the team or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Team"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"put":{"summary":"update a team","operationId":"teams.update","requestBody":{"description":"the team to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"get":{"summary":"read a team","operationId":"teams.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]}},"/admin-api/teams":{"get":{"summary":"read all team","operationId":"teams.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]},"post":{"summary":"creates a team","requestBody":{"description":"the team to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"operationId":"teams.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]}},"/admin-api/apis/{id}":{"delete":{"summary":"delete a api","operationId":"apis.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"patch":{"summary":"update a api with JSON patch or by merging JSON object","operationId":"apis.patch","requestBody":{"description":"the patch to update the api or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Api"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"put":{"summary":"update a api","operationId":"apis.update","requestBody":{"description":"the api to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"get":{"summary":"read a api","operationId":"apis.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]}},"/admin-api/apis":{"get":{"summary":"read all api","operationId":"apis.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]},"post":{"summary":"creates a api","requestBody":{"description":"the api to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"operationId":"apis.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]}},"/admin-api/subscriptions/{id}":{"delete":{"summary":"delete a api-subscription","operationId":"api-subscriptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"patch":{"summary":"update a api-subscription with JSON patch or by merging JSON object","operationId":"api-subscriptions.patch","requestBody":{"description":"the patch to update the api-subscription or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiSubscription"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"put":{"summary":"update a api-subscription","operationId":"api-subscriptions.update","requestBody":{"description":"the api-subscription to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"get":{"summary":"read a api-subscription","operationId":"api-subscriptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]}},"/admin-api/subscriptions":{"get":{"summary":"read all api-subscription","operationId":"api-subscriptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]},"post":{"summary":"creates a api-subscription","requestBody":{"description":"the api-subscription to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"operationId":"api-subscriptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]}},"/admin-api/pages/{id}":{"delete":{"summary":"delete a api-documentation-page","operationId":"api-documentation-pages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"patch":{"summary":"update a api-documentation-page with JSON patch or by merging JSON object","operationId":"api-documentation-pages.patch","requestBody":{"description":"the patch to update the api-documentation-page or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiDocumentationPage"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"put":{"summary":"update a api-documentation-page","operationId":"api-documentation-pages.update","requestBody":{"description":"the api-documentation-page to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"get":{"summary":"read a api-documentation-page","operationId":"api-documentation-pages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]}},"/admin-api/pages":{"get":{"summary":"read all api-documentation-page","operationId":"api-documentation-pages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]},"post":{"summary":"creates a api-documentation-page","requestBody":{"description":"the api-documentation-page to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"operationId":"api-documentation-pages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]}},"/admin-api/notifications/{id}":{"delete":{"summary":"delete a notification","operationId":"notifications.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"patch":{"summary":"update a notification with JSON patch or by merging JSON object","operationId":"notifications.patch","requestBody":{"description":"the patch to update the notification or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Notification"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"put":{"summary":"update a notification","operationId":"notifications.update","requestBody":{"description":"the notification to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"get":{"summary":"read a notification","operationId":"notifications.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]}},"/admin-api/notifications":{"get":{"summary":"read all notification","operationId":"notifications.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]},"post":{"summary":"creates a notification","requestBody":{"description":"the notification to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"operationId":"notifications.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]}},"/admin-api/sessions/{id}":{"delete":{"summary":"delete a user-session","operationId":"user-sessions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"patch":{"summary":"update a user-session with JSON patch or by merging JSON object","operationId":"user-sessions.patch","requestBody":{"description":"the patch to update the user-session or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UserSession"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"put":{"summary":"update a user-session","operationId":"user-sessions.update","requestBody":{"description":"the user-session to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"get":{"summary":"read a user-session","operationId":"user-sessions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]}},"/admin-api/sessions":{"get":{"summary":"read all user-session","operationId":"user-sessions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]},"post":{"summary":"creates a user-session","requestBody":{"description":"the user-session to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"operationId":"user-sessions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]}},"/admin-api/consumptions/{id}":{"delete":{"summary":"delete a api-key-consumption","operationId":"api-key-consumptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"patch":{"summary":"update a api-key-consumption with JSON patch or by merging JSON object","operationId":"api-key-consumptions.patch","requestBody":{"description":"the patch to update the api-key-consumption or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiKeyConsumption"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"put":{"summary":"update a api-key-consumption","operationId":"api-key-consumptions.update","requestBody":{"description":"the api-key-consumption to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"get":{"summary":"read a api-key-consumption","operationId":"api-key-consumptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]}},"/admin-api/consumptions":{"get":{"summary":"read all api-key-consumption","operationId":"api-key-consumptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]},"post":{"summary":"creates a api-key-consumption","requestBody":{"description":"the api-key-consumption to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"operationId":"api-key-consumptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]}},"/admin-api/audit-events/{id}":{"delete":{"summary":"delete a audit-event","operationId":"audit-events.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"patch":{"summary":"update a audit-event with JSON patch or by merging JSON object","operationId":"audit-events.patch","requestBody":{"description":"the patch to update the audit-event or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/object"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"put":{"summary":"update a audit-event","operationId":"audit-events.update","requestBody":{"description":"the audit-event to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"get":{"summary":"read a audit-event","operationId":"audit-events.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]}},"/admin-api/audit-events":{"get":{"summary":"read all audit-event","operationId":"audit-events.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]},"post":{"summary":"creates a audit-event","requestBody":{"description":"the audit-event to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"operationId":"audit-events.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]}},"/admin-api/messages/{id}":{"delete":{"summary":"delete a message","operationId":"messages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"patch":{"summary":"update a message with JSON patch or by merging JSON object","operationId":"messages.patch","requestBody":{"description":"the patch to update the message or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Message"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"put":{"summary":"update a message","operationId":"messages.update","requestBody":{"description":"the message to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"get":{"summary":"read a message","operationId":"messages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]}},"/admin-api/messages":{"get":{"summary":"read all message","operationId":"messages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]},"post":{"summary":"creates a message","requestBody":{"description":"the message to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"operationId":"messages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]}},"/admin-api/issues/{id}":{"delete":{"summary":"delete a issue","operationId":"issues.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"patch":{"summary":"update a issue with JSON patch or by merging JSON object","operationId":"issues.patch","requestBody":{"description":"the patch to update the issue or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiIssue"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"put":{"summary":"update a issue","operationId":"issues.update","requestBody":{"description":"the issue to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"get":{"summary":"read a issue","operationId":"issues.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]}},"/admin-api/issues":{"get":{"summary":"read all issue","operationId":"issues.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]},"post":{"summary":"creates a issue","requestBody":{"description":"the issue to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"operationId":"issues.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]}},"/admin-api/posts/{id}":{"delete":{"summary":"delete a post","operationId":"posts.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"patch":{"summary":"update a post with JSON patch or by merging JSON object","operationId":"posts.patch","requestBody":{"description":"the patch to update the post or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiPost"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"put":{"summary":"update a post","operationId":"posts.update","requestBody":{"description":"the post to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"get":{"summary":"read a post","operationId":"posts.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]}},"/admin-api/posts":{"get":{"summary":"read all post","operationId":"posts.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]},"post":{"summary":"creates a post","requestBody":{"description":"the post to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"operationId":"posts.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]}},"/admin-api/translations/{id}":{"delete":{"summary":"delete a translation","operationId":"translations.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"patch":{"summary":"update a translation with JSON patch or by merging JSON object","operationId":"translations.patch","requestBody":{"description":"the patch to update the translation or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Translation"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"put":{"summary":"update a translation","operationId":"translations.update","requestBody":{"description":"the translation to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"get":{"summary":"read a translation","operationId":"translations.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]}},"/admin-api/translations":{"get":{"summary":"read all translation","operationId":"translations.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]},"post":{"summary":"creates a translation","requestBody":{"description":"the translation to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"operationId":"translations.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]}},"/admin-api/usage-plans/{id}":{"delete":{"summary":"delete a usage-plan","operationId":"usage-plans.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"patch":{"summary":"update a usage-plan with JSON patch or by merging JSON object","operationId":"usage-plans.patch","requestBody":{"description":"the patch to update the usage-plan or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"put":{"summary":"update a usage-plan","operationId":"usage-plans.update","requestBody":{"description":"the usage-plan to update","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"get":{"summary":"read a usage-plan","operationId":"usage-plans.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]}},"/admin-api/usage-plans":{"get":{"summary":"read all usage-plan","operationId":"usage-plans.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]},"post":{"summary":"creates a usage-plan","requestBody":{"description":"the usage-plan to create","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"operationId":"usage-plans.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]}},"/admin-api/subscription-demands/{id}":{"delete":{"summary":"delete a subscription-demand","operationId":"subscription-demands.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"patch":{"summary":"update a subscription-demand with JSON patch or by merging JSON object","operationId":"subscription-demands.patch","requestBody":{"description":"the patch to update the subscription-demand or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/SubscriptionDemand"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"put":{"summary":"update a subscription-demand","operationId":"subscription-demands.update","requestBody":{"description":"the subscription-demand to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"get":{"summary":"read a subscription-demand","operationId":"subscription-demands.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]}},"/admin-api/subscription-demands":{"get":{"summary":"read all subscription-demand","operationId":"subscription-demands.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]},"post":{"summary":"creates a subscription-demand","requestBody":{"description":"the subscription-demand to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"operationId":"subscription-demands.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]}},"/integration-api/apis":{"get":{"summary":"get all public apis for integration","operationId":"integration-api.findallapis","responses":{"200":{"description":"List of public APIs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}":{"get":{"summary":"get all teams for integration","operationId":"integration-api.findallateams","responses":{"200":{"description":"List of teams","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/complete":{"get":{"summary":"get complete API for integration","operationId":"integration-api.findcompleteapi","responses":{"200":{"description":"Complete API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/description":{"get":{"summary":"get API description","operationId":"integration-api.findapidescription","responses":{"200":{"description":"API description","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/plans":{"get":{"summary":"get API plans","operationId":"integration-api.findapiplans","responses":{"200":{"description":"API plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/documentation":{"get":{"summary":"get API documentation","operationId":"integration-api.findapidocumentation","responses":{"200":{"description":"API documentation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/apidoc":{"get":{"summary":"get API description","operationId":"integration-api.findapidoc","responses":{"200":{"description":"API doc (swagger)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}":{"get":{"summary":"get API","operationId":"integration-api.findapi","responses":{"200":{"description":"API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/admin-api/search":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.search","requestBody":{"description":"GraphQL query","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLResponse"}}}}},"tags":["GraphQL"]}},"/admin-api/schema":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.schema","requestBody":{"description":"get GraphQL schema","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLSchema"}}}}},"tags":["GraphQL"]}},"/admin-api/credentials/{token}/plans":{"get":{"summary":"get apikey from integration token","tags":["Integration ApiKey"],"parameters":[{"in":"path","name":"token","schema":{"type":"string"},"required":true,"description":"integration token"}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtoroshiApiKey"}}}}}}}}}}},"docusaurus-theme-redoc":{"theme-redoc":{"lightTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"#ffffff"},"rightPanel":{"backgroundColor":"#303846"},"colors":{"primary":{"main":"#25c2a0"}},"theme":{"prism":{"additionalLanguages":["scala"]}}},"darkTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"rgb(24, 25, 26)","textColor":"#f5f6f7","arrow":{"color":"#f5f6f7"}},"colors":{"text":{"primary":"#f5f6f7","secondary":"rgba(255, 255, 255, 1)"},"gray":{"50":"#FAFAFA","100":"#F5F5F5"},"border":{"dark":"#ffffff","light":"rgba(0,0,0, 0.1)"},"primary":{"main":"#25c2a0"}},"schema":{"nestedBackground":"rgb(24, 25, 26)","typeNameColor":"rgba(255, 255, 255, 1)","typeTitleColor":"rgba(255, 255, 255, 1)"},"theme":{"prism":{"additionalLanguages":["scala"]}}},"options":{"scrollYOffset":"nav.navbar","expandSingleSchemaField":true,"menuToggle":true,"suppressWarnings":true}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(22654);const c=JSON.parse('{"docusaurusVersion":"3.6.2","siteVersion":"17.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.2"},"docusaurus-plugin-redoc":{"type":"package","name":"docusaurus-plugin-redoc","version":"2.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.2"},"docusaurus-theme-redoc":{"type":"package","name":"docusaurus-theme-redoc","version":"2.2.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.37.5"}}}');var l=n(74848);const u={siteConfig:a.default,siteMetadata:c,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,l.jsx)(d.Provider,{value:u,children:t})}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),a=n(38193),o=n(5260),i=n(70440),s=n(2258),c=n(53102),l=n(74848);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,l.jsx)(c.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,l.jsx)(p,{children:(0,l.jsxs)(h,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,l.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.default.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},38193:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(80545),a=n(74848);function o(e){return(0,a.jsx)(r.mg,{...e})}},28774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(54625),o=n(70440),i=n(44586),s=n(16654),c=n(38193),l=n(63427),u=n(86025),d=n(74848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:k,baseUrl:w}=v,S=v.future.experimental_router,{withBaseUrl:x}=(0,u.hH)(),_=(0,l.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const A=p||f;const j=(0,s.A)(A),C=A?.replace("pathname://","");let T=void 0!==C?(P=C,y&&(e=>e.startsWith("/"))(P)?x(P):P):void 0;var P;"hash"===S&&T?.startsWith("./")&&(T=T?.slice(1)),T&&j&&(T=(0,o.Ks)(T,{trailingSlash:k,baseUrl:w}));const I=(0,r.useRef)(!1),N=n?a.k2:a.N_,O=c.default.canUseIntersectionObserver,$=(0,r.useRef)(),L=()=>{I.current||null==T||(window.docusaurus.preload(T),I.current=!0)};(0,r.useEffect)((()=>(!O&&j&&c.default.canUseDOM&&null!=T&&window.docusaurus.prefetch(T),()=>{O&&$.current&&$.current.disconnect()})),[$,T,O,j]);const R=T?.startsWith("#")??!1,D=!b.target||"_self"===b.target,F=!T||!j||!D||R&&"hash"!==S;g||!R&&F||_.collectLink(T),b.id&&_.collectAnchor(b.id);const M={};return F?(0,d.jsx)("a",{ref:E,href:T,...A&&!j&&{target:"_blank",rel:"noopener noreferrer"},...b,...M}):(0,d.jsx)(N,{...b,onMouseEnter:L,onTouchStart:L,innerRef:e=>{E.current=e,O&&e&&j&&($.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&($.current.unobserve(e),$.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),$.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m},...M})}const f=r.forwardRef(p)},21312:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,T:()=>c});var r=n(96540),a=n(74848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(22654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function c(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function l(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},17065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},16654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},86025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(96540),a=n(44586),o=n(16654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const c=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+c:c}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},63427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540);n(74848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},44586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(26988);function o(){return(0,r.useContext)(a.o)}},66588:(e,t,n)=>{"use strict";n.d(t,{P_:()=>i,kh:()=>o});var r=n(44586),a=n(17065);function o(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=o(e),i=r?.[t];if(!i&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},92303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a=n(38193).default.canUseDOM?r.useLayoutEffect:r.useEffect},86921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},53102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(96540),a=n(74848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},20978:(e,t,n)=>{"use strict";n.d(t,{d1:()=>m,vT:()=>x,gk:()=>_,Gy:()=>w,$S:()=>p,vF:()=>v,ht:()=>S,g1:()=>b});var r=n(56347),a=n(66588);function o(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}var i=n(96540);n(35947),n(44586);function s(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}var c=n(89532);n(74848);const l=Symbol("EmptyContext"),u=i.createContext(l);function d(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=d(t);if(e)return e}}(e):void 0:e.href}function p(){const{pathname:e}=(0,r.zy)(),t=function(){const e=(0,i.useContext)(u);if(e===l)throw new c.dV("DocsSidebarProvider");return e}();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=f({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}function f(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&(s(o.href,n)||e(o.items))||"link"===o.type&&s(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function m(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!d(e)))}var h=n(17065);n(89466);const g=i.createContext(null);function y(){const e=(0,i.useContext)(g);if(!e)throw new c.dV("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=h.W);const t=S(e),[n,r]=y(),{preferredVersionName:a}=n[e];return{preferredVersion:t.versions.find((e=>e.name===a))??null,savePreferredVersionName:(0,i.useCallback)((t=>{r.savePreferredVersion(e,t)}),[r,e])}}function v(){const e=w(),t=_(),n=function(){const e=w(),[t]=y();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}();return[...Object.keys(e).map((function(r){const a=t?.activePlugin.pluginId===r?t.activeVersion:void 0,o=n[r],i=e[r].versions.find((e=>e.isLast));return function(e,t){return`docs-${e}-${t}`}(r,(a??o??i).name)}))]}const k={},w=()=>(0,a.kh)("docusaurus-plugin-content-docs")??k,S=e=>{try{return(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function x(e){void 0===e&&(e={});const t=w(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function _(e){void 0===e&&(e={});const t=x(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:o(t.pluginData,n)}}},76294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},26134:(e,t,n)=>{"use strict";var r=n(78181),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(19700),n(61617)(`./prism-${e}`)})),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.My)},51107:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(96540);var r=n(18215),a=n(21312),o=n(95697),i=n(28774),s=n(63427);const c={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var l=n(74848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,l.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,l.jsxs)(t,{...u,className:(0,r.A)("anchor",p?c.anchorWithHideOnScrollNavbar:c.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,l.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},43186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(74848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2258:(e,t,n)=>{"use strict";n.d(t,{A:()=>tn});var r=n(96540),a=n(18215),o=n(67489),i=n(45660),s=n(56347),c=n(21312),l=n(21407),u=n(74848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,l.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,c.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(66578),y=n(25214);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(h,{className:b.skipToContent})}var k=n(95697),w=n(9590);function S(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const x={closeButton:"closeButton_CVFx"};function _(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",x.closeButton,e.className),children:(0,u.jsx)(S,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function A(e){const{announcementBar:t}=(0,k.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const j={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function C(){const{announcementBar:e}=(0,k.p)(),{isActive:t,close:n}=(0,w.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:j.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:j.announcementBarPlaceholder}),(0,u.jsx)(A,{className:j.announcementBarContent}),o&&(0,u.jsx)(_,{onClick:n,className:j.announcementBarClose})]})}var T=n(68390),P=n(86641);var I=n(30955),N=n(51079);const O=r.createContext(null);function $(e){let{children:t}=e;const n=function(){const e=(0,T.M)(),t=(0,N.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,I.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(O.Provider,{value:n,children:t})}function L(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function R(){const e=(0,r.useContext)(O);if(!e)throw new I.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,N.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:L(o)})),[a,o,t])}function D(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=R();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(20186),M=n(92303);function z(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,M.A)(),s=(0,c.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,c.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===r?"true":"false",children:[(0,u.jsx)(z,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const W=r.memo(q),Q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function H(e){let{className:t}=e;const n=(0,k.p)().navbar.style,r=(0,k.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,u.jsx)(W,{className:t,buttonClassName:"dark"===n?Q.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var V=n(23465);function K(){return(0,u.jsx)(V.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,T.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(S,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(K,{}),(0,u.jsx)(H,{className:"margin-right--md"}),(0,u.jsx)(G,{})]})}var J=n(28774),Z=n(86025),X=n(16654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(43186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:c,...l}=e;const d=(0,Z.Ay)(r),p=(0,Z.Ay)(t),f=(0,Z.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,X.A)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,m&&(0,u.jsx)(te.A,{...s&&{width:12,height:12}})]})};return a?(0,u.jsx)(J.A,{href:c?f:a,...l,...h}):(0,u.jsx)(J.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...l,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(87873),se=n(38088),ce=n(44586);const le="dropdownNavbarItemMobile_S0Fm";function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const c=(0,r.useRef)(null),[l,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),(0,u.jsxs)("div",{ref:c,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":l}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":l,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!l))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(ft,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...c}=e;const l=function(){const{siteConfig:{baseUrl:e}}=(0,ce.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ue(t,l),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[l,d,m]),(0,u.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.A)(le,"menu__link menu__link--sublist menu__link--sublist-caret",n),...c,onClick:e=>{e.preventDefault(),f()},children:c.children??c.label}),(0,u.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(ft,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var me=n(49638);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var ye=n(11088),be=n(20053);var ve=n(89532),ke=n(20978),we=n(5891),Se=n(32384),xe=n(4471),_e=n(27674),Ee=n(86841),Ae=n(43810);const je="searchBar_RVTs",Ce="dropdownMenu_qbY6",Te="searchBarLeft_MXDe",Pe="suggestion_fB_2",Ie="cursor_eG29",Ne="hitTree_kk6K",Oe="hitIcon_a7Zy",$e="hitPath_ieM4",Le="noResultsIcon_EBY5",Re="hitFooter_E9YW",De="hitWrapper_sAK8",Fe="hitTitle_vyVt",Me="hitAction_NqkB",ze="noResults_l6Q3",Be="searchBarContainer_NW3z",Ue="searchBarLoadingRing_YnHq",qe="searchClearButton_qk4g",We="searchIndexLoading_EJ1f",Qe="searchHintContainer_Pkmr",He="searchHint_iIMx",Ve="focused_OWtg",Ke="input_FOTf",Ge="hint_URu1",Ye="suggestions_X8XU",Je="dataset_QiCy",Ze="empty_eITn";function Xe(e){let{document:t,type:n,page:r,metadata:a,tokens:o,isInterOfTree:i,isLastOfTree:s}=e;const c=0===n,l=1===n,u=[];i?u.push(''):s&&u.push('');const d=u.map((e=>`${e}`)),p=`${c?'':l?'':''}`,f=[`${(0,Ae.C)(t.t,(0,_e.g)(a,"t"),o)}`];if(!i&&!s&&ye.tb){const e=r?(r.b??[]).concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;f.push(`${(0,xe.$)(e??[])}`)}else c||f.push(`${(0,Ee.Z)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),o)}`);const m=``;return[...d,p,``,...f,"",m].join("")}function et(){return`${(0,c.T)({id:"theme.SearchBar.noResultsText",message:"No results"})}`}var tt=n(2849);async function nt(){const e=await Promise.all([n.e(489),n.e(5741)]).then(n.t.bind(n,90489,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const rt="_highlight";const at=function(e){let{handleSearchBarToggle:t}=e;const a=(0,M.A)(),{siteConfig:{baseUrl:o}}=(0,ce.A)(),i=(0,ke.vT)();let l=o;try{const{preferredVersion:e}=function(){return n(20978).g1(...arguments)}(i?.pluginId??ye.UB);e&&!e.isLast&&(l=e.path+"/")}catch(R){if(ye.I$&&!(R instanceof ve.dV))throw R}const d=(0,s.W6)(),p=(0,s.zy)(),f=(0,r.useRef)(null),m=(0,r.useRef)(new Map),h=(0,r.useRef)(!1),[g,y]=(0,r.useState)(!1),[b,v]=(0,r.useState)(!1),[k,w]=(0,r.useState)(""),S=(0,r.useRef)(null),x=(0,r.useRef)(""),[_,E]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(ye.Hg))return;let e="";if(p.pathname.startsWith(l)){const t=p.pathname.substring(l.length),n=ye.Hg.find((e=>t===e||t.startsWith(`${e}/`)));n&&(e=n)}x.current!==e&&(m.current.delete(e),x.current=e),E(e)}),[p.pathname,l]);const A=!!ye.O6&&Array.isArray(ye.Hg)&&""===_,j=(0,r.useCallback)((async()=>{if(A||m.current.get(_))return;m.current.set(_,"loading"),S.current?.autocomplete.destroy(),y(!0);const[{wrappedIndexes:e,zhDictionary:t},n]=await Promise.all([(0,we.Z)(l,_),nt()]);if(S.current=n(f.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,be.A)(je,{[Te]:"left"===ye.ZG}),noPrefix:!0,dropdownMenu:Ce,input:Ke,hint:Ge,suggestions:Ye,suggestion:Pe,cursor:Ie,dataset:Je,empty:Ze}},[{source:(0,Se.m)(e,t,ye.AT),templates:{suggestion:Xe,empty:et,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&!_)return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),a=new URLSearchParams,i=(0,c.T)({id:"theme.SearchBar.seeAll",message:"See all results"}),s=(0,c.T)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:_}),u=(0,c.T)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:_});let p;if(a.set("q",t),p=_&&n?s:_?u:i,Array.isArray(ye.Hg)&&!n&&a.set("ctx",_),l!==o){if(!l.startsWith(o))throw new Error(`Version url '${l}' does not start with base url '${o}', this is a bug of \`@easyops-cn/docusaurus-search-local\`, please report it.`);a.set("version",l.substring(o.length))}const f=`${o}search?${a.toString()}`;return r.href=f,r.textContent=p,r.addEventListener("click",(e=>{e.ctrlKey||e.metaKey||(e.preventDefault(),S.current?.autocomplete.close(),d.push(f))})),r})({query:t,isEmpty:n}),a=document.createElement("div");return a.className=Re,a.appendChild(r),a}}}]).on("autocomplete:selected",(function(e,t){let{document:{u:n,h:r},tokens:a}=t;f.current?.blur();let o=n;if(ye.CU&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append(rt,t);o+=`?${e.toString()}`}r&&(o+=r),d.push(o)})).on("autocomplete:closed",(()=>{f.current?.blur()})),m.current.set(_,"done"),y(!1),h.current){const e=f.current;e.value&&S.current?.autocomplete.open(),e.focus()}}),[A,_,l,o,d]);(0,r.useEffect)((()=>{if(!ye.CU)return;const e=a?new URLSearchParams(p.search).getAll(rt):[];setTimeout((()=>{const t=document.querySelector("article");if(!t)return;const n=new ye.CU(t);n.unmark(),0!==e.length&&n.mark(e),w(e.join(" ")),S.current?.autocomplete.setVal(e.join(" "))}))}),[a,p.search,p.pathname]);const[C,T]=(0,r.useState)(!1),P=(0,r.useCallback)((()=>{h.current=!0,j(),T(!0),t?.(!0)}),[t,j]),I=(0,r.useCallback)((()=>{T(!1),t?.(!1)}),[t]),N=(0,r.useCallback)((()=>{j()}),[j]),O=(0,r.useCallback)((e=>{w(e.target.value),e.target.value&&v(!0)}),[]),$=!!a&&/mac/i.test(navigator.userAgentData?.platform??navigator.platform);(0,r.useEffect)((()=>{if(!ye.WW)return;const e=e=>{!($?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),f.current?.focus(),P())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[$,P]);const L=(0,r.useCallback)((()=>{const e=new URLSearchParams(p.search);e.delete(rt);const t=e.toString(),n=p.pathname+(""!=t?`?${t}`:"")+p.hash;n!=p.pathname+p.search+p.hash&&d.push(n),w(""),S.current?.autocomplete.setVal("")}),[p.pathname,p.search,p.hash,d]);return(0,u.jsxs)("div",{className:(0,be.A)("navbar__search",Be,{[We]:g&&b,[Ve]:C}),hidden:A,children:[(0,u.jsx)("input",{placeholder:(0,c.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:N,onFocus:P,onBlur:I,onChange:O,ref:f,value:k}),(0,u.jsx)(tt.A,{className:Ue}),ye.WW&&ye.pk&&(""!==k?(0,u.jsx)("button",{className:qe,onClick:L,children:"\u2715"}):a&&(0,u.jsxs)("div",{className:Qe,children:[(0,u.jsx)("kbd",{className:He,children:$?"\u2318":"ctrl"}),(0,u.jsx)("kbd",{className:He,children:"K"})]}))]})};function ot(e){return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(at,{...e})})}const it={navbarSearchContainer:"navbarSearchContainer_Bca1"};function st(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.A)(n,it.navbarSearchContainer),children:t})}var ct=n(86989),lt=n(98169);var ut=n(42109);function dt(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find((t=>t.id===e.mainDocId))}(e)}const pt={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:l,localeConfigs:d}}=(0,ce.A)(),p=(0,me.o)(),{search:f,hash:m}=(0,s.zy)(),h=[...n,...l.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,c.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(st,{className:n,children:(0,u.jsx)(ot,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,ct.zK)(r),i=(0,lt.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,ct.zK)(r),i=(0,lt.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,lt.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:l,hash:d}=(0,s.zy)(),p=(0,ct.zK)(n),f=(0,ct.jh)(n),{savePreferredVersionName:m}=(0,ut.g1)(n),h=[...a,...f.map((function(e){const t=dt(e,p);return{label:e.label,to:`${t.path}${l}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],g=(0,lt.Vd)(n)[0],y=t&&h.length>1?(0,c.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&h.length>1?void 0:dt(g,p).path;return h.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function ft(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=pt[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function mt(){const e=(0,T.M)(),t=(0,k.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(ft,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function ht(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(c.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function gt(){const e=0===(0,k.p)().navbar.items.length,t=R();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(ht,{onClick:()=>t.hide()}),t.content]})}function yt(){const e=(0,T.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(D,{header:(0,u.jsx)(Y,{}),primaryMenu:(0,u.jsx)(mt,{}),secondaryMenu:(0,u.jsx)(gt,{})}):null}const bt={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function vt(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function kt(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,k.p)(),i=(0,T.M)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,P.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+l{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,c.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[bt.navbarHideable,!d&&bt.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(vt,{onClick:i.toggle}),(0,u.jsx)(yt,{})]})}var wt=n(70440);const St={errorBoundaryError:"errorBoundaryError_MTEk",errorBoundaryFallback:"errorBoundaryFallback_wpIe"};function xt(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(c.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function _t(e){let{error:t}=e;const n=(0,wt.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:St.errorBoundaryError,children:n})}class Et extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const At="right";function jt(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ct(){const{toggle:e,shown:t}=(0,T.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,c.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(jt,{})})}const Tt={colorModeToggle:"colorModeToggle_DEke"};function Pt(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Et,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(ft,{...e})},t)))})}function It(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Nt(){const e=(0,T.M)(),t=(0,k.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??At)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(It,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Ct,{}),(0,u.jsx)(K,{}),(0,u.jsx)(Pt,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Pt,{items:r}),(0,u.jsx)(H,{className:Tt.colorModeToggle}),!a&&(0,u.jsx)(st,{children:(0,u.jsx)(ot,{})})]})})}function Ot(){return(0,u.jsx)(kt,{children:(0,u.jsx)(Nt,{})})}function $t(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,Z.Ay)(n),c=(0,Z.Ay)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(J.A,{className:"footer__link-item",...r?{href:o?c:r}:{to:s},...i,children:[a,r&&!(0,X.A)(r)&&(0,u.jsx)(te.A,{})]})}function Lt(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)($t,{item:t})},t.href??t.to)}function Rt(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(Lt,{item:e},t)))})]})}function Dt(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(Rt,{column:e},t)))})}function Ft(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Mt(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)($t,{item:t})}function zt(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Mt,{item:e}),t.length!==n+1&&(0,u.jsx)(Ft,{})]},n)))})})}function Bt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Dt,{columns:t}):(0,u.jsx)(zt,{links:t})}var Ut=n(91640);const qt="footerLogoLink_BH7S";function Wt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,Z.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(Ut.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Qt(e){let{logo:t}=e;return t.href?(0,u.jsx)(J.A,{href:t.href,className:qt,target:t.target,children:(0,u.jsx)(Wt,{logo:t})}):(0,u.jsx)(Wt,{logo:t})}function Ht(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Vt(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,u.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function Kt(){const{footer:e}=(0,k.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,u.jsx)(Vt,{style:a,links:n&&n.length>0&&(0,u.jsx)(Bt,{links:n}),logo:r&&(0,u.jsx)(Qt,{logo:r}),copyright:t&&(0,u.jsx)(Ht,{copyright:t})})}const Gt=r.memo(Kt),Yt=(0,I.fM)([F.a,w.o,P.Tv,ut.VQ,i.Jx,function(e){let{children:t}=e;return(0,u.jsx)(N.y_,{children:(0,u.jsx)(T.e,{children:(0,u.jsx)($,{children:t})})})}]);function Jt(e){let{children:t}=e;return(0,u.jsx)(Yt,{children:t})}var Zt=n(51107);function Xt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(Zt.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(c.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(xt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(_t,{error:t})})]})})})}const en={mainWrapper:"mainWrapper_z2l0"};function tn(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:c}=e;return(0,y.J)(),(0,u.jsxs)(Jt,{children:[(0,u.jsx)(i.be,{title:s,description:c}),(0,u.jsx)(v,{}),(0,u.jsx)(C,{}),(0,u.jsx)(Ot,{}),(0,u.jsx)("div",{id:d,className:(0,a.A)(g.G.wrapper.main,en.mainWrapper,r),children:(0,u.jsx)(o.A,{fallback:e=>(0,u.jsx)(Xt,{...e}),children:t})}),!n&&(0,u.jsx)(Gt,{})]})}},23465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(96540);var r=n(28774),a=n(86025),o=n(44586),i=n(95697),s=n(91640),c=n(74848);function l(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Ay)(t.src),dark:(0,a.Ay)(t.srcDark||t.src)},i=(0,c.jsx)(s.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,c.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,a.Ay)(s?.href||"/"),m=n?"":t,h=s?.alt??m;return(0,c.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,c.jsx)(l,{logo:s,alt:h,imageClassName:u}),null!=n&&(0,c.jsx)("b",{className:d,children:n})]})}},41463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(5260),a=n(74848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},91640:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),a=n(18215),o=n(92303),i=n(20186);const s={themedComponent:"themedComponent__dKv","themedComponent--light":"themedComponent--light_rzkv","themedComponent--dark":"themedComponent--dark_mMAk"};var c=n(74848);function l(e){let{className:t,children:n}=e;const l=(0,o.A)(),{colorMode:u}=(0,i.G)();return(0,c.jsx)(c.Fragment,{children:(l?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,c.jsx)(r.Fragment,{children:o},e)}))})}function u(e){const{sources:t,className:n,alt:r,...a}=e;return(0,c.jsx)(l,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,c.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},42109:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>g,g1:()=>b});var r=n(96540),a=n(86989),o=n(17065),i=n(95697),s=n(82993),c=n(30955),l=n(74848);const u=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,s.Wf)(u(e),{persistence:t}).set(n)},read:(e,t)=>(0,s.Wf)(u(e),{persistence:t}).get(),clear:(e,t)=>{(0,s.Wf)(u(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const f=r.createContext(null);function m(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,l.jsx)(f.Provider,{value:n,children:t})}function g(e){let{children:t}=e;return(0,l.jsx)(h,{children:t})}function y(){const e=(0,r.useContext)(f);if(!e)throw new c.dV("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},40716:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,t:()=>l});var r=n(96540),a=n(30955),o=n(74848);const i=Symbol("EmptyContext"),s=r.createContext(i);function c(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function l(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},98169:(e,t,n)=>{"use strict";n.d(t,{B5:()=>x,Nr:()=>p,OF:()=>v,QB:()=>S,Vd:()=>k,Y:()=>y,fW:()=>w,w8:()=>h});var r=n(96540),a=n(56347),o=n(22831),i=n(86989),s=n(38088),c=n(24035),l=n(42109),u=n(51948),d=n(40716);function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const f=(e,t)=>void 0!==e&&(0,s.ys)(e,t),m=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?f(e.href,t):"category"===e.type&&(f(e.href,t)||m(e.items,t))}function g(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>g(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>g(e,t)))),[e,t])}function b(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,s.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,s.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function v(){const e=(0,d.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?b({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,c.sb)([t,n,a].filter(Boolean))),[t,n,a])}function w(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.sb)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function x(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,u.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,l=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.v)(i),sidebarName:c,sidebarItems:l}}},51948:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>c});var r=n(96540),a=n(30955),o=n(74848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},86989:(e,t,n)=>{"use strict";n.d(t,{zK:()=>f,vT:()=>u,Gy:()=>c,HW:()=>m,ht:()=>l,r7:()=>p,jh:()=>d});var r=n(56347),a=n(66588);const o=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const s={},c=()=>(0,a.kh)("docusaurus-plugin-content-docs")??s,l=e=>{try{return(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function u(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function d(e){return l(e).versions}function p(e){const t=l(e);return o(t)}function f(e){const t=l(e),{pathname:n}=(0,r.zy)();return i(t,n)}function m(e){const t=l(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},87873:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>l});var r=n(96540),a=n(38193),o=n(205),i=n(78002),s=n(74848);const c="ease-in-out";function l(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??c}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.default.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:c,disableSSRStyle:l}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:l?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:c,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[c,l]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&l(t)}),[a,t]),a?(0,s.jsx)(h,{...n,collapsed:c}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,s.jsx)(r,{...n})}},9590:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(96540),a=n(92303),o=n(82993),i=n(30955),s=n(95697),c=n(74848);const l=(0,o.Wf)("docusaurus.announcement.dismiss"),u=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===l.get(),p=e=>l.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,c.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},20186:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(96540),a=n(38193),o=n(30955),i=n(82993),s=n(95697),c=n(74848);const l=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.default.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const c=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||c.current?c.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,c.jsx)(l.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(l);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},68390:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(96540),a=n(51079),o=n(99068),i=n(38874),s=n(95697),c=n(30955),l=n(74848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[c,l]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(c)return l(!1),!1}));const u=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:c})),[e,n,u,c])}function p(e){let{children:t}=e;const n=d();return(0,l.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new c.dV("NavbarMobileSidebarProvider");return e}},51079:(e,t,n)=>{"use strict";n.d(t,{GX:()=>l,YL:()=>c,y_:()=>s});var r=n(96540),a=n(30955),o=n(74848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function l(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,c=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:c})}),[s,t,c]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},25214:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(96540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},99068:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(96540),a=n(38193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.default.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},66578:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},78002:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},38874:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>c});var r=n(96540),a=n(56347),o=n(30955);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function c(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},24035:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{XI:()=>r,sb:()=>a})},45660:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(96540),a=n(18215),o=n(5260),i=n(53102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var c=n(86025),l=n(44586);var u=n(74848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=function(e){const{siteConfig:t}=(0,l.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,c.hH)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),s=(0,a.A)(i,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function m(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,a.A)(r,o),children:t})}},30955:(e,t,n)=>{"use strict";n.d(t,{Be:()=>l,ZC:()=>s,_q:()=>i,dV:()=>c,fM:()=>u});var r=n(96540),a=n(205),o=n(74848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class c extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function l(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},38088:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(96540),a=n(35947),o=n(44586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},86641:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>u,a_:()=>m,gk:()=>h});var r=n(96540),a=n(38193),o=n(92303),i=n(205),s=n(30955),c=n(74848);const l=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,c.jsx)(l.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(l);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const p=()=>a.default.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function m(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function h(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},82993:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>d,Wf:()=>u});var r=n(96540),a=n(24180);const o=a.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function s(e){if(void 0===e&&(e=o),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,c||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),c=!0),null}var t}let c=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${a.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const r=s(t?.persistence);return null===r?l:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?l:u(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},49638:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(44586),a=n(56347),o=n(70440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:c}=(0,a.zy)(),l=(0,o.Ks)(c,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=l.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},21407:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(96540),a=n(56347),o=n(30955);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},95697:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(44586);function a(){return(0,r.A)().siteConfig.themeConfig}},89532:(e,t,n)=>{"use strict";n.d(t,{dV:()=>r});n(96540),n(205),n(74848);class r extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}},89466:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>l});n(96540);var r=n(24180);const a=r.N;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const a=i(t?.persistence);return null===a?c:{get:()=>{try{return a.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},12983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(c=i,l=n,l?a(c):o(c));var c,l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;const r=n(42566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},80253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){if(t.cause)return[t,...e(t.cause)];return[t]}},70440:(e,t,n)=>{"use strict";t.rA=t.Ks=void 0;const r=n(31635);var a=n(12983);Object.defineProperty(t,"Ks",{enumerable:!0,get:function(){return r.__importDefault(a).default}});var o=n(42566);var i=n(80253);Object.defineProperty(t,"rA",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},42566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){if(""===t)return e;return e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},2849:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(96540);var r=n(20053);const a={loadingRing:"loadingRing_RJI3","loading-ring":"loading-ring_FB5o"};var o=n(74848);function i(e){let{className:t}=e;return(0,o.jsxs)("div",{className:(0,r.A)(a.loadingRing,t),children:[(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{})]})}},5891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(58291),a=n.n(r),o=n(11088);const i=new Map;function s(e,t){const n=`${e}${t}`;let r=i.get(n);return r||(r=async function(e,t){{const n=`${e}${o.IH.replace("{dir}",t?`-${t.replace(/\//g,"-")}`:"")}`;if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:a().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},32384:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(58291),a=n.n(r);var o=n(11088);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:a().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?a().Query.wildcard.TRAILING:a().Query.wildcard.NONE})))})))}function c(e,t,n){return function(r,s){const c=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return a()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,o.BH);if(0===c.length)return void s([]);const l=function(e,t){const n=function(e,t){const n=[];return function e(r,a){if(0===r.length)return void n.push(a);const o=r[0];if(/\p{Unified_Ideograph}/u.test(o)){const n=function(e,t){const n=[];return function e(r,a){let o=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:a.missed,term:a.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>o;t-=1){const c=s.substr(0,t);if(r.substr(0,t)===c){o=t;const s={missed:a.missed,term:a.term.concat({value:c,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:a.missed+1,term:a.term}):a.term.length>0&&n.push(a))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(o,t);for(const t of n){const n=a.concat(...t);e(r.slice(1),n)}}else{const t=a.concat({value:o});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:a().Query.presence.REQUIRED,wildcard:a().Query.wildcard.LEADING|a().Query.wildcard.TRAILING})))}];for(const a of n)a[a.length-1].maybeTyping=!0;const r=[];for(const i of o.BH)if("en"===i)o.sx||r.unshift(a().stopWordFilter);else{const e=a()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length0&&t.push(n)}n.push(...t)}else s=n.slice();const c=[];for(const a of s)if(a.length>2)for(let e=a.length-1;e>=0;e-=1)c.push(a.slice(0,e).concat(a.slice(e+1)));return i(n).concat(i(c))}(c,t),u=[];e:for(const{term:t,tokens:a}of l)for(const{documents:r,index:o,type:i}of e)if(u.push(...o.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!u.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-u.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:0!==i&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:a,score:t.score}}))),u.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type>0&&t.page?e.findIndex((e=>e.document===t.page)):t.index,a=n.type>0&&n.page?e.findIndex((e=>e.document===n.page)):n.index;return-1===r&&(r=t.index),-1===a&&(a=n.index),r===a?0===t.type?-1:0===n.type?1:t.index-n.index:r-a}))}(u),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.some((e=>e.document===t.page))&&(n{"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{$:()=>r})},53103:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{Z:()=>r})},27674:(e,t,n)=>{"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{g:()=>r})},86841:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(53103);function a(e,t,n){const o=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&o.push(a(e.substr(0,n),t)),o.push(`${(0,r.Z)(e.substr(n,i.length))}`);const s=n+i.length;s${(0,r.Z)(e)}`:(0,r.Z)(e):o.join("")}},43810:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var r=n(53103),a=n(86841);const o=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var s=n(11088);function c(e,t,n,o){void 0===o&&(o=s.rG);const{chunkIndex:c,chunks:l}=function(e,t,n){const o=[];let s=0,c=0,l=-1;for(;sc){const t=i(e.substring(c,u)).map((e=>({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)o.push(e)}-1===l&&(l=o.length),c=u+d,o.push({html:(0,a.Z)(e.substring(u,c),n,!0),textLength:d})}}if(c({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)o.push(e)}return{chunkIndex:l,chunks:o}}(e,t,n),u=l.slice(0,c),d=l[c],p=[d.html],f=l.slice(c+1);let m=d.textLength,h=0,g=0,y=!1,b=!1;for(;m0){const e=u.pop();m+e.textLength<=o?(p.unshift(e.html),h+=e.textLength,m+=e.textLength):(y=!0,u.length=0)}else{if(!(f.length>0))break;{const e=f.shift();m+e.textLength<=o?(p.push(e.html),g+=e.textLength,m+=e.textLength):(b=!0,f.length=0)}}return(y||u.length>0)&&p.unshift("\u2026"),(b||f.length>0)&&p.push("\u2026"),p.join("")}},11088:(e,t,n)=>{"use strict";n.d(t,{CU:()=>i(),UB:()=>g,tb:()=>p,O6:()=>v,I$:()=>y,BH:()=>s,sx:()=>c,ZG:()=>h,WW:()=>f,pk:()=>m,Hg:()=>b,IH:()=>l,rG:()=>d,AT:()=>u,dz:()=>k});var r=n(58291),a=n.n(r),o=n(689),i=n.n(o);n(86121)(a()),n(3397).A(a()),n(66106)(a());const s=["en","zh"],c=!1,l="search-index{dir}.json?_=6b504f98",u=8,d=50,p=!0,f=!0,m=!0,h="right",g=void 0,y=!0,b=null,v=!1,k=!1},3397:(e,t,n)=>{"use strict";function r(e){const t=new RegExp("^[^"+e+"]+","u"),n=new RegExp("[^"+e+"]+$","u");return function(e){return e.update((function(e){return e.replace(t,"").replace(n,"")}))}}function a(e,t){e.trimmerSupport.generateTrimmer=r,e.zh=function(){this.pipeline.reset(),this.pipeline.add(e.zh.trimmer,e.zh.stopWordFilter),t&&(this.tokenizer=t)},t&&(e.zh.tokenizer=t),e.zh.wordCharacters="\\u3400-\\u4DBF\\u4E00-\\u9FFC\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29\\u{20000}-\\u{2A6DD}\\u{2A700}-\\u{2B734}\\u{2B740}-\\u{2B81D}\\u{2B820}-\\u{2CEA1}\\u{2CEB0}-\\u{2EBE0}\\u{30000}-\\u{3134A}",e.zh.trimmer=e.trimmerSupport.generateTrimmer(e.zh.wordCharacters),e.Pipeline.registerFunction(e.zh.trimmer,"trimmer-zh"),e.zh.stopWordFilter=e.generateStopWordFilter("\u7684 \u4e00 \u4e0d \u5728 \u4eba \u6709 \u662f \u4e3a \u4ee5 \u4e8e \u4e0a \u4ed6 \u800c \u540e \u4e4b \u6765 \u53ca \u4e86 \u56e0 \u4e0b \u53ef \u5230 \u7531 \u8fd9 \u4e0e \u4e5f \u6b64 \u4f46 \u5e76 \u4e2a \u5176 \u5df2 \u65e0 \u5c0f \u6211 \u4eec \u8d77 \u6700 \u518d \u4eca \u53bb \u597d \u53ea \u53c8 \u6216 \u5f88 \u4ea6 \u67d0 \u628a \u90a3 \u4f60 \u4e43 \u5b83 \u5427 \u88ab \u6bd4 \u522b \u8d81 \u5f53 \u4ece \u5230 \u5f97 \u6253 \u51e1 \u513f \u5c14 \u8be5 \u5404 \u7ed9 \u8ddf \u548c \u4f55 \u8fd8 \u5373 \u51e0 \u65e2 \u770b \u636e \u8ddd \u9760 \u5566 \u4e86 \u53e6 \u4e48 \u6bcf \u4eec \u561b \u62ff \u54ea \u90a3 \u60a8 \u51ed \u4e14 \u5374 \u8ba9 \u4ecd \u5565 \u5982 \u82e5 \u4f7f \u8c01 \u867d \u968f \u540c \u6240 \u5979 \u54c7 \u55e1 \u5f80 \u54ea \u4e9b \u5411 \u6cbf \u54df \u7528 \u4e8e \u54b1 \u5219 \u600e \u66fe \u81f3 \u81f4 \u7740 \u8bf8 \u81ea".split(" ")),e.Pipeline.registerFunction(e.zh.stopWordFilter,"stopWordFilter-zh")}n.d(t,{A:()=>a})},23390:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});r(n(38193)).default.canUseDOM&&(window.Prism=window.Prism||{},window.Prism.manual=!0)},20053:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";n.d(t,{zR:()=>k,TM:()=>A,yJ:()=>f,sC:()=>C,AO:()=>p});var r=n(58168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!l)for(;d--;d)i.unshift("..");!l||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var s=n(11561);function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,h(),k.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(k.entries[k.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=k.index+e;return t>=0&&t{"use strict";var r=n(44363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),h=c(n),g=0;g{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},66106:function(e,t,n){var r,a;r=function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),n=t.join("-"),r="",a=[],o=[],i=0;i=n&&t[(a-=n)>>3]&1<<(7&a))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var a=e.charCodeAt(this.cursor-1);if(a<=r&&a>=n&&t[(a-=n)>>3]&1<<(7&a))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursorr||a>3]&1<<(7&a)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var a=e.charCodeAt(this.cursor-1);if(a>r||a>3]&1<<(7&a)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor>1),d=0,p=s0||a==r||l)break;l=!0}}for(;;){if(s>=(f=t[r]).s_size){if(this.cursor=o+f.s_size,!f.method)return f.result;var h=f.method();if(this.cursor=o+f.s_size,h)return f.result}if((r=f.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,a=n,o=this.cursor,i=this.limit_backward,s=0,c=0,l=!1;;){for(var u=r+(a-r>>1),d=0,p=s=0;f--){if(o-p==i){d=-1;break}if(d=e.charCodeAt(o-1-p)-m.s[f])break;p++}if(d<0?(a=u,c=p):(r=u,s=p),a-r<=1){if(r>0||a==r||l)break;l=!0}}for(;;){var m;if(s>=(m=t[r]).s_size){if(this.cursor=o-m.s_size,!m.method)return m.result;var h=m.method();if(this.cursor=o-m.s_size,h)return m.result}if((r=m.substring_i)<0)return 0}},replace_s:function(t,n,r){var a=r.length-(n-t),o=e.substring(0,t),i=e.substring(n);return e=o+r+i,this.limit+=a,this.cursor>=n?this.cursor+=a:this.cursor>t&&(this.cursor=t),a},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=a)},58291:(e,t,n)=>{var r,a;!function(){var o,i,s,c,l,u,d,p,f,m,h,g,y,b,v,k,w,S,x,_,E,A,j,C,T,P,I,N,O,$,L=function(e){var t=new L.Builder;return t.pipeline.add(L.trimmer,L.stopWordFilter,L.stemmer),t.searchPipeline.add(L.stemmer),e.call(t,t),t.build()};L.version="2.3.9",L.utils={},L.utils.warn=(o=this,function(e){o.console&&console.warn&&console.warn(e)}),L.utils.asString=function(e){return null==e?"":e.toString()},L.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var c=L.utils.clone(t)||{};c.position=[i,s],c.index=a.length,a.push(new L.Token(n.slice(i,o),c))}i=o+1}}return a},L.tokenizer.separator=/[\s\-]+/,L.Pipeline=function(){this._stack=[]},L.Pipeline.registeredFunctions=Object.create(null),L.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&L.utils.warn("Overwriting existing registered function: "+t),e.label=t,L.Pipeline.registeredFunctions[e.label]=e},L.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||L.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},L.Pipeline.load=function(e){var t=new L.Pipeline;return e.forEach((function(e){var n=L.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},L.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){L.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},L.Pipeline.prototype.after=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},L.Pipeline.prototype.before=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},L.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},L.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(oe&&(n=a),o!=e);)r=n-t,a=t+Math.floor(r/2),o=this.elements[2*a];return o==e||o>e?2*a:os?l+=2:i==s&&(t+=n[c+1]*r[l+1],c+=2,l+=2);return t},L.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},L.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var o,i=a.str.charAt(0);i in a.node.edges?o=a.node.edges[i]:(o=new L.TokenSet,a.node.edges[i]=o),1==a.str.length&&(o.final=!0),r.push({node:o,editsRemaining:a.editsRemaining,str:a.str.slice(1)})}if(0!=a.editsRemaining){if("*"in a.node.edges)var s=a.node.edges["*"];else{s=new L.TokenSet;a.node.edges["*"]=s}if(0==a.str.length&&(s.final=!0),r.push({node:s,editsRemaining:a.editsRemaining-1,str:a.str}),a.str.length>1&&r.push({node:a.node,editsRemaining:a.editsRemaining-1,str:a.str.slice(1)}),1==a.str.length&&(a.node.final=!0),a.str.length>=1){if("*"in a.node.edges)var c=a.node.edges["*"];else{c=new L.TokenSet;a.node.edges["*"]=c}1==a.str.length&&(c.final=!0),r.push({node:c,editsRemaining:a.editsRemaining-1,str:a.str.slice(1)})}if(a.str.length>1){var l,u=a.str.charAt(0),d=a.str.charAt(1);d in a.node.edges?l=a.node.edges[d]:(l=new L.TokenSet,a.node.edges[d]=l),1==a.str.length&&(l.final=!0),r.push({node:l,editsRemaining:a.editsRemaining-1,str:u+a.str.slice(2)})}}}return n},L.TokenSet.fromString=function(e){for(var t=new L.TokenSet,n=t,r=0,a=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},L.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},L.Index.prototype.search=function(e){return this.query((function(t){new L.QueryParser(e,t).parse()}))},L.Index.prototype.query=function(e){for(var t=new L.Query(this.fields),n=Object.create(null),r=Object.create(null),a=Object.create(null),o=Object.create(null),i=Object.create(null),s=0;s1?1:e},L.Builder.prototype.k1=function(e){this._k1=e},L.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var a=0;a=this.length)return L.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},L.QueryLexer.prototype.width=function(){return this.pos-this.start},L.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},L.QueryLexer.prototype.backup=function(){this.pos-=1},L.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=L.QueryLexer.EOS&&this.backup()},L.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(L.QueryLexer.TERM)),e.ignore(),e.more())return L.QueryLexer.lexText},L.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.EDIT_DISTANCE),L.QueryLexer.lexText},L.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.BOOST),L.QueryLexer.lexText},L.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(L.QueryLexer.TERM)},L.QueryLexer.termSeparator=L.tokenizer.separator,L.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==L.QueryLexer.EOS)return L.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return L.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if(t.match(L.QueryLexer.termSeparator))return L.QueryLexer.lexTerm}else e.escapeCharacter()}},L.QueryParser=function(e,t){this.lexer=new L.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},L.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=L.QueryParser.parseClause;e;)e=e(this);return this.query},L.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},L.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},L.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},L.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case L.QueryLexer.PRESENCE:return L.QueryParser.parsePresence;case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new L.QueryParseError(n,t.start,t.end)}},L.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=L.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=L.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new L.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new L.QueryParseError(n,t.start,t.end)}switch(r.type){case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new L.QueryParseError(n,r.start,r.end)}}},L.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var a=e.peekLexeme();if(null==a){r="expecting term, found nothing";throw new L.QueryParseError(r,t.start,t.end)}if(a.type===L.QueryLexer.TERM)return L.QueryParser.parseTerm;r="expecting term, found '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}},L.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new L.QueryParseError(r,n.start,n.end)}else e.nextClause()}},L.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var a=e.peekLexeme();if(null!=a)switch(a.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}else e.nextClause()}},L.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var a=e.peekLexeme();if(null!=a)switch(a.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}else e.nextClause()}},void 0===(a="function"==typeof(r=function(){return L})?r.call(t,n,t,e):r)||(e.exports=a)}()},689:function(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw new Error("iframe inaccessible")}catch(o){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);var l=function(){--s<=0&&o(c)};s||l(),i.forEach((function(t){e.matches(t,a.exclude)?l():a.onIframeReady(t,(function(e){n(t)&&(c++,r(e)),l()}),l)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return r.forEach((function(e,t){e.val===n&&(a=t,o=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach((function(e){e.handled||a.getIframeContents(e.val,(function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o=this,i=this.createIterator(t,e,r),s=[],c=[],l=void 0,u=void 0,d=function(){var e=o.getIteratorNode(i);return u=e.prevNode,l=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return o.checkIframeFilter(l,u,e,s)}),(function(t){o.createInstanceOnIframe(t).forEachNode(e,(function(e){return c.push(e)}),r)})),c.push(l);c.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach((function(o){var s=function(){r.iterateThroughNodes(e,o,t,n,(function(){--i<=0&&a()}))};r.iframes?r.waitForIframes(o,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var a=!1;return n.every((function(t){return!r.call(e,t)||(a=!0,!1)})),a}return!1}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(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)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],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}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(a){n.every((function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,a="string"==typeof r?r:r.value,o="string"==typeof r?[]:r.limiters,i="";switch(o.forEach((function(e){i+="|"+t.escapeStr(e)})),a){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!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:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,s=parseInt(e.start,10)-i;return(r=(s=s>o?o:s)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),s<0||r-s<0||s>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every((function(i,s){var c=e.nodes[s+1];if(void 0===c||c.start>t){if(!r(i.node))return!1;var l=t-i.start,u=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),p=e.value.substr(u+i.start);if(i.node=o.wrapRangeInTextNode(i.node,l,u),e.value=d+p,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=u),e.nodes[n].end-=u)})),n-=u,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var s=a.index;if(0!==i)for(var c=1;c{"use strict";n.r(t)},10119:(e,t,n)=>{"use strict";n.r(t)},51043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'