docusaurus/assets/js/ba8b3534.2d8478e9.js
2024-10-11 08:53:13 +00:00

1 line
No EOL
7.3 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["74099"],{49917:function(e,n,t){t.r(n),t.d(n,{default:function(){return c}});var a=t(24246);t(27378);var l=t(93314),r=t(98619);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function i(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,a,l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var r=[],o=!0,i=!1;try{for(l=l.call(e);!(o=(t=l.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){i=!0,a=e}finally{try{!o&&null!=l.return&&l.return()}finally{if(i)throw a}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){var n=e.pluginId,t=e.pluginInstanceContent;return(0,a.jsxs)("section",{style:{marginBottom:30},children:[(0,a.jsx)("code",{children:n}),(0,a.jsx)(r.Z,{src:t,collapseDepth:2})]})}function u(e){var n=e.pluginName,t=e.pluginContent;return(0,a.jsxs)("section",{style:{marginBottom:60},children:[(0,a.jsx)("h3",{children:n}),(0,a.jsx)("div",{children:Object.entries(t).filter(function(e){return!!i(e,2)[1]}).map(function(e){var n=i(e,2),t=n[0],l=n[1];return(0,a.jsx)(s,{pluginId:t,pluginInstanceContent:l},t)})})]})}function c(e){var n=e.allContent;return(0,a.jsxs)(l.Z,{children:[(0,a.jsx)("h2",{children:"Plugin content"}),(0,a.jsx)("div",{children:Object.entries(n).filter(function(e){return Object.values(i(e,2)[1]).some(function(e){return!!e})}).map(function(e){var n=i(e,2),t=n[0],l=n[1];return(0,a.jsx)(u,{pluginName:t,pluginContent:l},t)})})]})}},98619:function(e,n,t){t.d(n,{Z:()=>er});var a=t("24246"),l=t("27378");let r=e=>"boolean"==typeof e||e instanceof Boolean,o=e=>"number"==typeof e||e instanceof Number,i=e=>"bigint"==typeof e||e instanceof BigInt,s=e=>!!e&&e instanceof Date,u=e=>"string"==typeof e||e instanceof String,c=e=>Array.isArray(e),d=e=>e instanceof Object&&null!==e;function m(e){let{field:n,value:t,data:a,lastElement:r,openBracket:o,closeBracket:i,level:s,style:u,shouldExpandNode:c}=e,d=(0,l.useRef)(!1),[m,_,f]=function(e){let[n,t]=(0,l.useState)(e());return[n,()=>t(e=>!e),t]}(()=>c(s,t,n));(0,l.useEffect)(()=>{d.current?f(c(s,t,n)):d.current=!0},[c]);let p=m?u.collapseIcon:u.expandIcon,h=m?"collapse JSON":"expand JSON",g=(0,l.useId)(),v=s+1,y=a.length-1,x=e=>{" "===e.key&&_()};return(0,l.createElement)("div",{className:u.basicChildStyle,role:"list"},(0,l.createElement)("span",{className:p,onClick:_,onKeyDown:x,role:"button",tabIndex:0,"aria-label":h,"aria-expanded":m,"aria-controls":m?g:void 0}),n&&(0,l.createElement)("span",{className:u.label},n,":"),(0,l.createElement)("span",{className:u.punctuation},o),m?(0,l.createElement)("div",{id:g},a.map((e,n)=>(0,l.createElement)(b,{key:e[0]||n,field:e[0],value:e[1],style:u,lastElement:n===y,level:v,shouldExpandNode:c}))):(0,l.createElement)("span",{className:u.collapsedContent,onClick:_,onKeyDown:x,role:"button",tabIndex:-1,"aria-hidden":!0,"aria-label":h,"aria-expanded":m}),(0,l.createElement)("span",{className:u.punctuation},i),!r&&(0,l.createElement)("span",{className:u.punctuation},","))}function _(e){let{field:n,value:t,style:a,lastElement:l,shouldExpandNode:r,level:o}=e;return m({field:n,value:t,lastElement:l||!1,level:o,openBracket:"{",closeBracket:"}",style:a,shouldExpandNode:r,data:Object.keys(t).map(e=>[e,t[e]])})}function f(e){let{field:n,value:t,style:a,lastElement:l,level:r,shouldExpandNode:o}=e;return m({field:n,value:t,lastElement:l||!1,level:r,openBracket:"[",closeBracket:"]",style:a,shouldExpandNode:o,data:t.map(e=>[void 0,e])})}function p(e){let{field:n,value:t,style:a,lastElement:c}=e,d=t,m=a.otherValue;return null===t?(d="null",m=a.nullValue):void 0===t?(d="undefined",m=a.undefinedValue):u(t)?(d=`"${t}"`,m=a.stringValue):r(t)?(d=t?"true":"false",m=a.booleanValue):o(t)?(d=t.toString(),m=a.numberValue):i(t)?(d=`${t.toString()}n`,m=a.numberValue):d=s(t)?t.toISOString():t.toString(),""===n&&(n='""'),(0,l.createElement)("div",{className:a.basicChildStyle,role:"listitem"},n&&(0,l.createElement)("span",{className:a.label},n,":"),(0,l.createElement)("span",{className:m},d),!c&&(0,l.createElement)("span",{className:a.punctuation},","))}function b(e){let n=e.value;return c(n)?(0,l.createElement)(f,Object.assign({},e)):d(n)&&!s(n)?(0,l.createElement)(_,Object.assign({},e)):(0,l.createElement)(p,Object.assign({},e))}var h="_2IvMF _GzYRV",g="_2bkNM",v="_1MGIk",y="_3uHL6 _3eOF8",x="_2T6PJ",j="_1Gho6",E="_vGjyY",V="_1bQdo",N="_3zQKs",I="_1xvuR",C="_oLqym _f10Tu _1MFti _1LId0",k="_2AXVT _f10Tu _1MFti _1UmXx",S="_2KJWg _1pNG9 _1MFti",O="_11RoI _GzYRV",P="_17H2C _f10Tu _1MFti _1UmXx",A="_3QHg2 _f10Tu _1MFti _1LId0",T="_3fDAz _1pNG9 _1MFti",M="_2bSDX",F="_gsbQL _3eOF8",w="_LaAZe",D="_GTKgm",G="_Chy1W",R="_2bveF",B="_2vRm-",J="_1prJR";let L={container:h,basicChildStyle:g,label:v,nullValue:x,undefinedValue:j,stringValue:E,booleanValue:N,numberValue:V,otherValue:I,punctuation:y,collapseIcon:C,expandIcon:k,collapsedContent:S},Z=()=>!0,K=e=>{let{data:n,style:t=L,shouldExpandNode:a=Z}=e;return(0,l.createElement)("div",{className:t.container},(0,l.createElement)(b,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:a}))},W="containerParaiso_TYa3",X="basicElementParaiso_DqvR",z="labelParaiso_l3ql",H="nullValueParaiso_Ey4X",Q="undefinedValueParaiso__T3e",Y="stringValueParaiso_T6i7",q="booleanValueParaiso__TSh",U="numberValueParaiso_JGW0",$="otherValueParaiso_nnwW",ee="punctuationParaiso_knwc",en="expandIconParaiso_fAkX",et="collapseIconParaiso_MWEp",ea="collapseContentParaiso_KH36";var el={container:W,basicChildStyle:X,label:z,nullValue:H,undefinedValue:Q,stringValue:Y,booleanValue:q,numberValue:U,otherValue:$,punctuation:ee,collapseIcon:et,expandIcon:en,collapsedContent:ea};function er(e){var n=e.src,t=e.collapseDepth;return(0,a.jsx)(K,{data:n,shouldExpandNode:function(e,n){return Array.isArray(n)?n.length<5:void 0!==t&&e<t},style:el})}},93314:function(e,n,t){t.d(n,{Z:()=>c});var a=t("24246");t("27378");var l=t("53327"),r=t("35363");let o="container_tECh",i="nav_sWk6",s="navlink__gTJ";function u(e){var n=e.to,t=e.children;return(0,a.jsx)(r.Z,{className:s,isNavLink:!0,to:n,exact:!0,activeStyle:{backgroundColor:"#363739"},children:t})}function c(e){var n=e.children;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l.Z,{children:[(0,a.jsx)("html",{lang:"en"}),(0,a.jsx)("title",{children:"Docusaurus debug panel"}),(0,a.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("nav",{className:i,children:[(0,a.jsx)(u,{to:"/__docusaurus/debug",children:"Config"}),(0,a.jsx)(u,{to:"/__docusaurus/debug/metadata",children:"Metadata"}),(0,a.jsx)(u,{to:"/__docusaurus/debug/registry",children:"Registry"}),(0,a.jsx)(u,{to:"/__docusaurus/debug/routes",children:"Routes"}),(0,a.jsx)(u,{to:"/__docusaurus/debug/content",children:"Content"}),(0,a.jsx)(u,{to:"/__docusaurus/debug/globalData",children:"Global data"})]}),(0,a.jsx)("main",{className:o,children:n})]})]})}}}]);