docusaurus/assets/js/ba8b3534.9a1626f6.js
2025-05-27 10:24:33 +00:00

1 line
No EOL
8.9 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["74099"],{7448:function(e,a,n){n.d(a,{Z:()=>t});let t={containerParaiso:"containerParaiso_TYa3",basicElementParaiso:"basicElementParaiso_DqvR",labelParaiso:"labelParaiso_l3ql",nullValueParaiso:"nullValueParaiso_Ey4X",undefinedValueParaiso:"undefinedValueParaiso__T3e",stringValueParaiso:"stringValueParaiso_T6i7",booleanValueParaiso:"booleanValueParaiso__TSh",numberValueParaiso:"numberValueParaiso_JGW0",otherValueParaiso:"otherValueParaiso_nnwW",punctuationParaiso:"punctuationParaiso_knwc",expandIconParaiso:"expandIconParaiso_fAkX",collapseIconParaiso:"collapseIconParaiso_MWEp",collapseContentParaiso:"collapseContentParaiso_KH36",childFieldsContainerParaiso:"childFieldsContainerParaiso_HB7R"}},97705:function(e,a,n){n.d(a,{Z:()=>t});let t={container:"container_tECh",nav:"nav_sWk6",navlink:"navlink__gTJ",active:"active_Uuwz"}},19329:function(e,a,n){n.d(a,{gc:()=>P,jF:()=>x});var t=n(67294);let l=e=>"boolean"==typeof e||e instanceof Boolean,r=e=>"number"==typeof e||e instanceof Number,o=e=>"bigint"==typeof e||e instanceof BigInt,s=e=>!!e&&e instanceof Date,i=e=>"string"==typeof e||e instanceof String,c=e=>Array.isArray(e),u=e=>"object"==typeof e&&null!==e,d=e=>!!e&&e instanceof Object&&"function"==typeof e;function m(e,a){return void 0===a&&(a=!1),!e||a?`"${e}"`:e}function p(e){let{field:a,value:n,data:l,lastElement:r,openBracket:o,closeBracket:s,level:i,style:c,shouldExpandNode:u,clickToExpandNode:d,outerRef:p}=e,b=(0,t.useRef)(!1),[f,h,_]=function(e){let[a,n]=(0,t.useState)(e());return[a,()=>n(e=>!e),n]}(()=>u(i,n,a)),x=(0,t.useRef)(null);(0,t.useEffect)(()=>{b.current?_(u(i,n,a)):b.current=!0},[u]);let v=f?c.collapseIcon:c.expandIcon,P=f?"collapse JSON":"expand JSON",k=(0,t.useId)(),V=i+1,j=l.length-1,N=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),_("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();let a="ArrowUp"===e.key?-1:1;if(!p.current)return;let n=p.current.querySelectorAll("[role=button]"),t=-1;for(let e=0;e<n.length;e++)if(0===n[e].tabIndex){t=e;break}if(t<0)return;let l=(t+a+n.length)%n.length;n[t].tabIndex=-1,n[l].tabIndex=0,n[l].focus()}},y=()=>{var e;h();let a=x.current;if(!a)return;let n=null==(e=p.current)?void 0:e.querySelector('[role=button][tabindex="0"]');n&&(n.tabIndex=-1),a.tabIndex=0,a.focus()};return(0,t.createElement)("div",{className:c.basicChildStyle,role:"treeitem","aria-expanded":f,"aria-selected":void 0},(0,t.createElement)("span",{className:v,onClick:y,onKeyDown:N,role:"button","aria-label":P,"aria-expanded":f,"aria-controls":f?k:void 0,ref:x,tabIndex:0===i?0:-1}),(a||""===a)&&(d?(0,t.createElement)("span",{className:c.clickableLabel,onClick:y,onKeyDown:N},m(a,c.quotesForFieldNames),":"):(0,t.createElement)("span",{className:c.label},m(a,c.quotesForFieldNames),":")),(0,t.createElement)("span",{className:c.punctuation},o),f?(0,t.createElement)("ul",{id:k,role:"group",className:c.childFieldsContainer},l.map((e,a)=>(0,t.createElement)(g,{key:e[0]||a,field:e[0],value:e[1],style:c,lastElement:a===j,level:V,shouldExpandNode:u,clickToExpandNode:d,outerRef:p}))):(0,t.createElement)("span",{className:c.collapsedContent,onClick:y,onKeyDown:N}),(0,t.createElement)("span",{className:c.punctuation},s),!r&&(0,t.createElement)("span",{className:c.punctuation},","))}function b(e){let{field:a,openBracket:n,closeBracket:l,lastElement:r,style:o}=e;return(0,t.createElement)("div",{className:o.basicChildStyle,role:"treeitem","aria-selected":void 0},(a||""===a)&&(0,t.createElement)("span",{className:o.label},m(a,o.quotesForFieldNames),":"),(0,t.createElement)("span",{className:o.punctuation},n),(0,t.createElement)("span",{className:o.punctuation},l),!r&&(0,t.createElement)("span",{className:o.punctuation},","))}function f(e){let{field:a,value:n,style:t,lastElement:l,shouldExpandNode:r,clickToExpandNode:o,level:s,outerRef:i}=e;return 0===Object.keys(n).length?b({field:a,openBracket:"{",closeBracket:"}",lastElement:l,style:t}):p({field:a,value:n,lastElement:l||!1,level:s,openBracket:"{",closeBracket:"}",style:t,shouldExpandNode:r,clickToExpandNode:o,data:Object.keys(n).map(e=>[e,n[e]]),outerRef:i})}function h(e){let{field:a,value:n,style:t,lastElement:l,level:r,shouldExpandNode:o,clickToExpandNode:s,outerRef:i}=e;return 0===n.length?b({field:a,openBracket:"[",closeBracket:"]",lastElement:l,style:t}):p({field:a,value:n,lastElement:l||!1,level:r,openBracket:"[",closeBracket:"]",style:t,shouldExpandNode:o,clickToExpandNode:s,data:n.map(e=>[void 0,e]),outerRef:i})}function _(e){let a,{field:n,value:c,style:u,lastElement:p}=e,b=u.otherValue;if(null===c)a="null",b=u.nullValue;else if(void 0===c)a="undefined",b=u.undefinedValue;else if(i(c))a=u.noQuotesForStringValues?c:`"${c}"`,b=u.stringValue;else l(c)?(a=c?"true":"false",b=u.booleanValue):r(c)?(a=c.toString(),b=u.numberValue):o(c)?(a=`${c.toString()}n`,b=u.numberValue):a=s(c)?c.toISOString():d(c)?"function() { }":c.toString();return(0,t.createElement)("div",{className:u.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,t.createElement)("span",{className:u.label},m(n,u.quotesForFieldNames),":"),(0,t.createElement)("span",{className:b},a),!p&&(0,t.createElement)("span",{className:u.punctuation},","))}function g(e){let a=e.value;return c(a)?(0,t.createElement)(h,Object.assign({},e)):!u(a)||s(a)||d(a)?(0,t.createElement)(_,Object.assign({},e)):(0,t.createElement)(f,Object.assign({},e))}let x={container:"_2IvMF _GzYRV",basicChildStyle:"_2bkNM",childFieldsContainer:"_1BXBN",label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},v=()=>!0,P=e=>{let{data:a,style:n=x,shouldExpandNode:l=v,clickToExpandNode:r=!1,...o}=e,s=(0,t.useRef)(null);return(0,t.createElement)("div",Object.assign({"aria-label":"JSON view"},o,{className:n.container,ref:s,role:"tree"}),(0,t.createElement)(g,{value:a,style:{...x,...n},lastElement:!0,level:0,shouldExpandNode:l,clickToExpandNode:r,outerRef:s}))}},49917:function(e,a,n){n.r(a),n.d(a,{default:()=>i});var t=n(85893);n(67294);var l=n(40157),r=n(22331);function o(e){let{pluginId:a,pluginInstanceContent:n}=e;return(0,t.jsxs)("section",{style:{marginBottom:30},children:[(0,t.jsx)("code",{children:a}),(0,t.jsx)(r.Z,{src:n,collapseDepth:2})]})}function s(e){let{pluginName:a,pluginContent:n}=e;return(0,t.jsxs)("section",{style:{marginBottom:60},children:[(0,t.jsx)("h3",{children:a}),(0,t.jsx)("div",{children:Object.entries(n).filter(e=>{let[,a]=e;return!!a}).map(e=>{let[a,n]=e;return(0,t.jsx)(o,{pluginId:a,pluginInstanceContent:n},a)})})]})}function i(e){let{allContent:a}=e;return(0,t.jsxs)(l.Z,{children:[(0,t.jsx)("h2",{children:"Plugin content"}),(0,t.jsx)("div",{children:Object.entries(a).filter(e=>{let[,a]=e;return Object.values(a).some(e=>!!e)}).map(e=>{let[a,n]=e;return(0,t.jsx)(s,{pluginName:a,pluginContent:n},a)})})]})}},22331:function(e,a,n){n.d(a,{Z:()=>s});var t=n(85893);n(67294);var l=n(19329),r=n(7448);let o={clickableLabel:l.jF.clickableLabel,noQuotesForStringValues:!1,container:r.Z.containerParaiso,basicChildStyle:r.Z.basicElementParaiso,label:r.Z.labelParaiso,nullValue:r.Z.nullValueParaiso,undefinedValue:r.Z.undefinedValueParaiso,stringValue:r.Z.stringValueParaiso,booleanValue:r.Z.booleanValueParaiso,numberValue:r.Z.numberValueParaiso,otherValue:r.Z.otherValueParaiso,punctuation:r.Z.punctuationParaiso,collapseIcon:r.Z.collapseIconParaiso,expandIcon:r.Z.expandIconParaiso,collapsedContent:r.Z.collapseContentParaiso,childFieldsContainer:r.Z.childFieldsContainerParaiso};function s(e){let{src:a,collapseDepth:n}=e;return(0,t.jsx)(l.gc,{data:a,shouldExpandNode:(e,a)=>Array.isArray(a)?a.length<5:void 0!==n&&e<n,style:o})}},40157:function(e,a,n){n.d(a,{Z:()=>i});var t=n(85893);n(67294);var l=n(53327),r=n(35363),o=n(97705);function s(e){let{to:a,children:n}=e;return(0,t.jsx)(r.Z,{className:o.Z.navlink,isNavLink:!0,to:a,exact:!0,activeStyle:{backgroundColor:"#363739"},children:n})}function i(e){let{children:a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l.Z,{children:[(0,t.jsx)("html",{lang:"en"}),(0,t.jsx)("title",{children:"Docusaurus debug panel"}),(0,t.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("nav",{className:o.Z.nav,children:[(0,t.jsx)(s,{to:"/__docusaurus/debug",children:"Config"}),(0,t.jsx)(s,{to:"/__docusaurus/debug/metadata",children:"Metadata"}),(0,t.jsx)(s,{to:"/__docusaurus/debug/registry",children:"Registry"}),(0,t.jsx)(s,{to:"/__docusaurus/debug/routes",children:"Routes"}),(0,t.jsx)(s,{to:"/__docusaurus/debug/content",children:"Content"}),(0,t.jsx)(s,{to:"/__docusaurus/debug/globalData",children:"Global data"})]}),(0,t.jsx)("main",{className:o.Z.container,children:a})]})]})}}}]);