From 3cca32ba1cfc159dc9e0ab6e85ece607fbbecd99 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 12:57:12 +0000 Subject: [PATCH] deploy: 2b0077436abc888352a69c5de7cfac3a13db9685 --- 404.html | 4 ++-- assets/js/{common.ab062679.js => common.d7b5a18d.js} | 4 ++-- ...ab062679.js.LICENSE.txt => common.d7b5a18d.js.LICENSE.txt} | 0 .../js/{runtime~main.ee7bca83.js => runtime~main.9db00f63.js} | 2 +- docs/api.html | 4 ++-- docs/examples-Basic.html | 4 ++-- docs/examples-ControlledExpandedNode.html | 4 ++-- docs/examples-DataTypes.html | 4 ++-- docs/examples-DirectoryTree.html | 4 ++-- docs/examples-Filtering.html | 4 ++-- docs/examples-MultiSelectCheckbox.html | 4 ++-- docs/examples-MultiSelectCheckboxAsync.html | 4 ++-- docs/examples-MultiSelectCheckboxAsyncControlled.html | 4 ++-- docs/examples-MultiSelectCheckboxControlled.html | 4 ++-- docs/examples-MultiSelectCheckboxDisabled.html | 4 ++-- docs/examples-MultiSelectDirectoryTree.html | 4 ++-- docs/examples-SingleSelectCheckbox.html | 4 ++-- index.html | 4 ++-- 18 files changed, 33 insertions(+), 33 deletions(-) rename assets/js/{common.ab062679.js => common.d7b5a18d.js} (61%) rename assets/js/{common.ab062679.js.LICENSE.txt => common.d7b5a18d.js.LICENSE.txt} (100%) rename assets/js/{runtime~main.ee7bca83.js => runtime~main.9db00f63.js} (98%) diff --git a/404.html b/404.html index 90b87817..26714265 100644 --- a/404.html +++ b/404.html @@ -4,13 +4,13 @@ Page Not Found | react-accessible-treeview - +
Skip to main content

Page Not Found

We could not find what you were looking for.

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

- + \ No newline at end of file diff --git a/assets/js/common.ab062679.js b/assets/js/common.d7b5a18d.js similarity index 61% rename from assets/js/common.ab062679.js rename to assets/js/common.d7b5a18d.js index 4f7ddc9a..33d44c24 100644 --- a/assets/js/common.ab062679.js +++ b/assets/js/common.d7b5a18d.js @@ -1,2 +1,2 @@ -/*! For license information please see common.ab062679.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[592],{3905:function(e,t,n){"use strict";n.d(t,{Zo:function(){return d},kt:function(){return h}});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,c=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=s(n),p=a,h=u["".concat(c,".").concat(p)]||u[p]||f[p]||l;return n?r.createElement(h,i(i({ref:t},d),{},{components:n})):r.createElement(h,i({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=p;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[u]="string"==typeof e?e:a,i[1]=o;for(var s=2;s0})).map((function(e){return[e-1,[o]]}));return{lineClassNames:Object.fromEntries(c),code:n}}if(void 0===r)return{lineClassNames:{},code:n};for(var s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return S(["js","jsBlock"],t);case"jsx":case"tsx":return S(["js","jsBlock","jsx"],t);case"html":return S(["js","jsBlock","html"],t);case"python":case"py":case"bash":return S(["bash"],t);case"markdown":case"md":return S(["html","jsx","bash"],t);default:return S(Object.keys(y),t)}}(r,a),d=n.split("\n"),u=Object.fromEntries(a.map((function(e){return[e.className,{start:0,range:""}]}))),f=Object.fromEntries(a.filter((function(e){return e.line})).map((function(e){var t=e.className;return[e.line,t]}))),p=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.start,t]}))),h=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.end,t]}))),v=0;v0&&e[n-1]===t?e:e.concat(t)};function R(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var D=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),A(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),a=e.styles.reduce((function(e,n){var r=n.languages,a=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=L({},e[t],a);e[t]=n})),e}),r);return a.root=n,a.plain=L({},n,{backgroundColor:null}),a}(e.theme,e.language):void 0;return t.themeDict=n})),A(this,"getLineProps",(function(e){var n=e.key,r=e.className,a=e.style,l=L({},R(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(l.style=i.plain),void 0!==a&&(l.style=void 0!==l.style?L({},l.style,a):a),void 0!==n&&(l.key=n),r&&(l.className+=" "+r),l})),A(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,a=n.length,l=t.getThemeDict(t.props);if(void 0!==l){if(1===a&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===a&&!r)return l[n[0]];var i=r?{display:"inline-block"}:{},o=n.map((function(e){return l[e]}));return Object.assign.apply(Object,[i].concat(o))}})),A(this,"getTokenProps",(function(e){var n=e.key,r=e.className,a=e.style,l=e.token,i=L({},R(e,["key","className","style","token"]),{className:"token "+l.types.join(" "),children:l.content,style:t.getStyleForToken(l),key:void 0});return void 0!==a&&(i.style=void 0!==i.style?L({},i.style,a):a),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),A(this,"tokenize",(function(e,t,n,r){var a={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",a);var l=a.tokens=e.tokenize(a.code,a.grammar,a.language);return e.hooks.run("after-tokenize",a),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,a=e.children,l=this.getThemeDict(this.props),i=t.languages[n];return a({tokens:function(e){for(var t=[[]],n=[e],r=[0],a=[e.length],l=0,i=0,o=[],c=[o];i>-1;){for(;(l=r[i]++)0?d:["plain"],s=u):(d=M(d,u.type),u.alias&&(d=M(d,u.alias)),s=u.content),"string"==typeof s){var f=s.split(B),p=f.length;o.push({types:d,content:f[0]});for(var h=1;h0&&i.getRangeAt(0);r.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;var c=!1;try{c=document.execCommand("copy")}catch(s){}a.remove(),o&&(i.removeAllRanges(),i.addRange(o)),l&&l.focus()}(t),i(!0),o.current=window.setTimeout((function(){i(!1)}),1e3)}),[t]);return(0,a.useEffect)((function(){return function(){return window.clearTimeout(o.current)}}),[]),a.createElement("button",{type:"button","aria-label":l?(0,Z.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,Z.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,Z.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.Z)("clean-btn",n,F.copyButton,l&&F.copyButtonCopied),onClick:c},a.createElement("span",{className:F.copyButtonIcons,"aria-hidden":"true"},a.createElement(H,{className:F.copyButtonIcon}),a.createElement(V,{className:F.copyButtonSuccessIcon})))}function Y(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}))}var G={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function q(e){var t=e.className,n=e.onClick,r=e.isEnabled,l=(0,Z.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return a.createElement("button",{type:"button",onClick:n,className:(0,s.Z)("clean-btn",t,r&&G.wordWrapButtonEnabled),"aria-label":l,title:l},a.createElement(Y,{className:G.wordWrapButtonIcon,"aria-hidden":"true"}))}function X(e){var t,n,l,i,o,c,d,p,h,v,m,g=e.children,y=e.className,S=void 0===y?"":y,E=e.metastring,I=e.title,x=e.showLineNumbers,N=e.language,C=(0,u.L)().prism,T=C.defaultLanguage,A=C.magicComments,L=null!=(t=null!=N?N:null==(n=S.split(" ").find((function(e){return e.startsWith("language-")})))?void 0:n.replace(/language-/,""))?t:T,B=f(),W=(l=(0,a.useState)(!1),i=l[0],o=l[1],c=(0,a.useState)(!1),d=c[0],p=c[1],h=(0,a.useRef)(null),v=(0,a.useCallback)((function(){var e=h.current.querySelector("code");i?e.removeAttribute("style"):(e.style.whiteSpace="pre-wrap",e.style.overflowWrap="anywhere"),o((function(e){return!e}))}),[h,i]),m=(0,a.useCallback)((function(){var e=h.current,t=e.scrollWidth>e.clientWidth||h.current.querySelector("code").hasAttribute("style");p(t)}),[h]),j(h,m),(0,a.useEffect)((function(){m()}),[i,m]),(0,a.useEffect)((function(){return window.addEventListener("resize",m,{passive:!0}),function(){window.removeEventListener("resize",m)}}),[m]),{codeBlockRef:h,isEnabled:i,isCodeScrollable:d,toggle:v}),M=function(e){var t,n;return null!=(t=null==e||null==(n=e.match(b))?void 0:n.groups.title)?t:""}(E)||I,R=w(g,{metastring:E,language:L,magicComments:A}),D=R.lineClassNames,U=R.code,Z=null!=x?x:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(E);return a.createElement(O,{as:"div",className:(0,s.Z)(S,L&&!S.includes("language-"+L)&&"language-"+L)},M&&a.createElement("div",{className:k.codeBlockTitle},M),a.createElement("div",{className:k.codeBlockContent},a.createElement(P,(0,r.Z)({},_,{theme:B,code:U,language:null!=L?L:"text"}),(function(e){var t=e.className,n=e.tokens,r=e.getLineProps,l=e.getTokenProps;return a.createElement("pre",{tabIndex:0,ref:W.codeBlockRef,className:(0,s.Z)(t,k.codeBlock,"thin-scrollbar")},a.createElement("code",{className:(0,s.Z)(k.codeBlockLines,Z&&k.codeBlockLinesWithNumbering)},n.map((function(e,t){return a.createElement(z,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:D[t],showLineNumbers:Z})}))))})),a.createElement("div",{className:k.buttonGroup},(W.isEnabled||W.isCodeScrollable)&&a.createElement(q,{className:k.codeButton,onClick:function(){return W.toggle()},isEnabled:W.isEnabled}),a.createElement(K,{className:k.codeButton,code:U}))))}var $=["children"];function Q(e){var t=e.children,n=(0,l.Z)(e,$),i=(0,c.Z)(),o=function(e){return a.Children.toArray(e).some((function(e){return(0,a.isValidElement)(e)}))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof o?X:x;return a.createElement(s,(0,r.Z)({key:String(i)},n),o)}var J=n(9960);var ee=n(6043),te={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"},ne=["summary","children"];function re(e){return!!e&&("SUMMARY"===e.tagName||re(e.parentElement))}function ae(e,t){return!!e&&(e===t||ae(e.parentElement,t))}function le(e){var t=e.summary,n=e.children,i=(0,l.Z)(e,ne),o=(0,c.Z)(),d=(0,a.useRef)(null),u=(0,ee.u)({initialState:!i.open}),f=u.collapsed,p=u.setCollapsed,h=(0,a.useState)(i.open),v=h[0],m=h[1],b=a.isValidElement(t)?t:a.createElement("summary",null,null!=t?t:"Details");return a.createElement("details",(0,r.Z)({},i,{ref:d,open:v,"data-collapsed":f,className:(0,s.Z)(te.details,o&&te.isBrowser,i.className),onMouseDown:function(e){re(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;re(t)&&ae(t,d.current)&&(e.preventDefault(),f?(p(!1),m(!0)):p(!0))}}),b,a.createElement(ee.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){p(e),m(!e)}},a.createElement("div",{className:te.collapsibleContent},n)))}var ie={details:"details_b_Ee"},oe="alert alert--info";function ce(e){var t=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return a.createElement(le,(0,r.Z)({},t,{className:(0,s.Z)(oe,ie.details,t.className)}))}var se=n(2503);function de(e){return a.createElement(se.Z,e)}var ue={containsTaskList:"containsTaskList_mC6p"};function fe(e){if(void 0!==e)return(0,s.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&ue.containsTaskList)}var pe={img:"img_ev3q"};var he="admonition_LlT9",ve="admonitionHeading_tbUL",me="admonitionIcon_kALy",be="admonitionContent_S0QG";var ge={note:{infimaClassName:"secondary",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 16 16"},a.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},ye={secondary:"note",important:"info",success:"tip",warning:"danger"};function Se(e){var t,n=function(e){var t=a.Children.toArray(e),n=t.find((function(e){var t;return a.isValidElement(e)&&"mdxAdmonitionTitle"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return{mdxAdmonitionTitle:n,rest:r}}(e.children),r=n.mdxAdmonitionTitle,l=n.rest;return Object.assign({},e,{title:null!=(t=e.title)?t:r,children:l})}var we={head:function(e){var t=a.Children.map(e.children,(function(e){return a.isValidElement(e)?function(e){var t;if(null!=(t=e.props)&&t.mdxType&&e.props.originalType){var n=e.props,r=(n.mdxType,n.originalType,(0,l.Z)(n,o));return a.createElement(e.props.originalType,r)}return e}(e):e}));return a.createElement(i.Z,e,t)},code:function(e){var t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return a.Children.toArray(e.children).every((function(e){var n;return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(null==(n=e.props)?void 0:n.mdxType)}))?a.createElement("code",e):a.createElement(Q,e)},a:function(e){return a.createElement(J.Z,e)},pre:function(e){var t;return a.createElement(Q,(0,a.isValidElement)(e.children)&&"code"===(null==(t=e.children.props)?void 0:t.originalType)?e.children.props:Object.assign({},e))},details:function(e){var t=a.Children.toArray(e.children),n=t.find((function(e){var t;return a.isValidElement(e)&&"summary"===(null==(t=e.props)?void 0:t.mdxType)})),l=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return a.createElement(ce,(0,r.Z)({},e,{summary:n}),l)},ul:function(e){return a.createElement("ul",(0,r.Z)({},e,{className:fe(e.className)}))},img:function(e){return a.createElement("img",(0,r.Z)({loading:"lazy"},e,{className:(t=e.className,(0,s.Z)(t,pe.img))}));var t},h1:function(e){return a.createElement(de,(0,r.Z)({as:"h1"},e))},h2:function(e){return a.createElement(de,(0,r.Z)({as:"h2"},e))},h3:function(e){return a.createElement(de,(0,r.Z)({as:"h3"},e))},h4:function(e){return a.createElement(de,(0,r.Z)({as:"h4"},e))},h5:function(e){return a.createElement(de,(0,r.Z)({as:"h5"},e))},h6:function(e){return a.createElement(de,(0,r.Z)({as:"h6"},e))},admonition:function(e){var t=Se(e),n=t.children,r=t.type,l=t.title,i=t.icon,o=function(e){var t,n=null!=(t=ye[e])?t:e,r=ge[n];return r||(console.warn('No admonition config found for admonition type "'+n+'". Using Info as fallback.'),ge.info)}(r),c=null!=l?l:o.label,d=o.iconComponent,u=null!=i?i:a.createElement(d,null);return a.createElement("div",{className:(0,s.Z)(p.k.common.admonition,p.k.common.admonitionType(e.type),"alert","alert--"+o.infimaClassName,he)},a.createElement("div",{className:ve},a.createElement("span",{className:me},u),c),a.createElement("div",{className:be},n))},mermaid:n(1875).Z}},2805:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var r=n(7294),a=n(3511),l=function(e){var t=e.className,n=e.children;return r.createElement(a.Z.pre,null,r.createElement(a.Z.code,{className:t},n))},i=(n(2473),function(){});var o=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},c=0,s=function(){return++c},d=function(){var e=(0,r.useState)(null),t=e[0],n=e[1];return(0,r.useEffect)((function(){return n(s())}),[]),t},u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var p=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onChange,o=e.index,c=void 0===o?void 0:o,s=e.readOnly,p=void 0!==s&&s,h=e.defaultIndex,v=f(e,["children","as","onChange","index","readOnly","defaultIndex"]),m=(0,r.useRef)(null!=c).current,b=d(),g=(0,r.useRef)(!1),y=(0,r.useRef)(null),S=(0,r.useState)(h||0),w=S[0],E=S[1],I=r.Children.map(n,(function(e){return"string"==typeof e.type?e:(0,r.cloneElement)(e,{selectedIndex:m?c:w,_id:b,_userInteractedRef:g,_selectedPanelRef:y,_onFocusPanel:function(){return y.current&&y.current.focus()},_onSelectTab:p?function(){}:function(e){g.current=!0,i&&i(e),m||E(e)}})}));return r.createElement(l,u({"data-reach-tabs":"",ref:t},v,{children:I}))})),h=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onKeyDown,c=f(e,["children","as","onKeyDown"]),s=c.selectedIndex,d=c._onSelectTab,p=c._userInteractedRef,h=c._onFocusPanel,v=(c._selectedPanelRef,c._id),m=f(c,["selectedIndex","_onSelectTab","_userInteractedRef","_onFocusPanel","_selectedPanelRef","_id"]),b=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===s,_id:g(v,t),_userInteractedRef:p,_onSelect:function(){return d(t)}})})),y=o(i,(function(e){var t=r.Children.map(n,(function(e,t){return!0===e.props.disabled?null:t})).filter((function(e){return null!=e})),a=t.indexOf(s);switch(e.key){case"ArrowRight":var l=t[(a+1)%t.length];d(l);break;case"ArrowLeft":var i=t.length,o=t[(a-1+i)%i];d(o);break;case"ArrowDown":e.preventDefault(),h();break;case"Home":d(0);break;case"End":d(r.Children.count(n)-1)}}));return r.createElement(l,u({"data-reach-tab-list":"",ref:t,role:"tablist",onKeyDown:y,children:b},m))})),v=(0,r.forwardRef)((function(e,t){var n,a,l,i=e.children,o=e.as,c=void 0===o?"button":o,s=f(e,["children","as"]),d=s.isSelected,p=s._userInteractedRef,h=s._onSelect,v=s._id,m=f(s,["isSelected","_userInteractedRef","_onSelect","_id"]),b=(0,r.useRef)(null),g=t||b;return n=function(){d&&g.current&&p.current&&(p.current=!1,g.current.focus())},a=[d],l=(0,r.useRef)(!1),(0,r.useEffect)((function(){l.current?n():l.current=!0}),a),r.createElement(c,u({"data-reach-tab":"",ref:g,role:"tab",id:"tab:"+v,tabIndex:d?0:-1,"aria-selected":d,"aria-controls":"panel:"+v,"data-selected":d?"":void 0,onClick:h,children:i},m))})),m=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.selectedIndex,c=i._selectedPanelRef,s=(i._userInteractedRef,i._onFocusPanel,i._onSelectTab,i._id),d=f(i,["selectedIndex","_selectedPanelRef","_userInteractedRef","_onFocusPanel","_onSelectTab","_id"]),p=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===o,_selectedPanelRef:c,_id:g(s,t)})}));return r.createElement(l,u({"data-reach-tab-panels":"",ref:t},d,{children:p}))})),b=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.isSelected,c=i._selectedPanelRef,s=i._id,d=f(i,["isSelected","_selectedPanelRef","_id"]);return r.createElement(l,u({"data-reach-tab-panel":"",ref:o?c:void 0,role:"tabpanel",tabIndex:-1,"aria-labelledby":"tab:"+s,hidden:!o,id:"panel:"+s,children:n},d))}));var g=function(e,t){return e+":"+t},y=n(7462),S=n(3935);function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var E=function(e){e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},I=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,l=Array(a),i=0;i=0&&n.callbacks.splice(r,1),n.callbacks.length||A.delete(e),A.size||cancelAnimationFrame(O)}}}},W=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],n=(0,r.useState)(null),a=n[0],l=n[1],i=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){return i.current||(i.current=B(e.current,l)),t&&i.current.observe(),function(){return i.current.unobserve()}}),[t]),a}U.defaultProps={observe:!0};var Z,H=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var F="idle",K="focused",Y="visible",G="leavingVisible",q="dismissed",X={initial:F,states:(Z={},Z[F]={enter:re,on:{mouseenter:K,focus:Y}},Z[K]={enter:function(){clearTimeout(te),te=setTimeout((function(){return J("rest")}),100)},leave:function(){clearTimeout(te)},on:{mousemove:K,mouseleave:F,mousedown:q,blur:F,rest:Y}},Z[Y]={on:{focus:K,mouseenter:K,mouseleave:G,blur:G,mousedown:q,selectWithKeyboard:q,globalMouseMove:G}},Z[G]={enter:function(){clearTimeout(ne),ne=setTimeout((function(){return J("timecomplete")}),500)},leave:function(){clearTimeout(ne),re()},on:{mouseenter:Y,focus:Y,timecomplete:F}},Z[q]={leave:function(){$.id=null},on:{mouseleave:F,blur:F}},Z)},$={id:null},Q=X.initial;function J(e,t){var n=X.states[Q],r=n.on[e];if(!r)throw new Error('Unknown state for action "'+e+'" from state "'+Q+'"');n.leave&&n.leave(),t&&($=t);var a=X.states[r];a.enter&&a.enter(),Q=r,ee.forEach((function(e){return e(Q,$)}))}var ee=[];var te=void 0;var ne=void 0;function re(){$.id=null}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMouseEnter,n=e.onMouseMove,a=e.onMouseLeave,l=e.onFocus,c=(e.onBlur,e.onKeyDown),s=e.onMouseDown,u=e.ref,f=e.DEBUG_STYLE,p="tooltip:"+d(),h=(0,r.useState)(!!f||$.id===p&&Q===Y),v=h[0],m=h[1],b=u||(0,r.useRef)(),g=z(b,v);(0,r.useEffect)((function(){return e=function(){$.id!==p||Q!==Y&&Q!==G?m(!1):m(!0)},ee.push(e),function(){ee.splice(ee.indexOf(e),1)};var e}),[p]),(0,r.useEffect)((function(){return i("tooltip")}));return[{"aria-describedby":p,"data-reach-tooltip-trigger":"",ref:b,onMouseEnter:o(t,(function(){switch(Q){case F:case Y:case G:J("mouseenter",{id:p})}})),onMouseMove:o(n,(function(){if(Q===K)J("mousemove",{id:p})})),onFocus:o(l,(function(e){if(!window.__REACH_DISABLE_TOOLTIPS)switch(Q){case F:case Y:case G:J("focus",{id:p})}})),onBlur:o(l,(function(){if($.id===p)switch(Q){case K:case Y:case q:J("blur")}})),onMouseLeave:o(a,(function(){switch(Q){case K:case Y:case q:J("mouseleave")}})),onKeyDown:o(c,(function(e){if(("Enter"===e.key||" "===e.key)&&Q===Y)J("selectWithKeyboard")})),onMouseDown:o(s,(function(){if($.id===p)switch(Q){case K:case Y:J("mousedown")}}))},{id:p,triggerRect:g,isVisible:v},v]}var le=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=e.isVisible,o=e.id,c=e.triggerRect,s=V(e,["label","ariaLabel","position","isVisible","id","triggerRect"]);return i?r.createElement(N,null,r.createElement(ie,H({label:n,ariaLabel:a,position:l,isVisible:i,id:o,triggerRect:c,ref:t},s))):null})),ie=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=void 0===l?ce:l,o=e.isVisible,c=e.id,s=e.triggerRect,d=e.style,u=V(e,["label","ariaLabel","position","isVisible","id","triggerRect","style"]),f=null!=a,p=(0,r.useRef)(),h=z(p,o);return r.createElement(r.Fragment,null,r.createElement("div",H({"data-reach-tooltip":!0,role:f?void 0:"tooltip",id:f?void 0:c,children:n,style:H({},d,oe(i,s,h)),ref:function(e){p.current=e,t&&t(e)}},u)),f&&r.createElement(T,{role:"tooltip",id:c},a))})),oe=function(e,t,n){return!n?{visibility:"hidden"}:e(t,n)},ce=function(e,t){var n={left:e.left+window.pageXOffset+"px",top:e.top+e.height+window.pageYOffset+"px"},r={top:e.top-t.height<0,right:window.innerWidthe.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,l]=t;if(r&&l){r=parseInt(r),l=parseInt(l);const e=re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,l=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw l}}}}function v(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aa)for(;o1&&console.warn("Tree in singleSelect mode, only the first item from selectedIds will be selected.");var Y=t.ids[0];Y&&V.add(Y),F=null!=Y?Y:F,K=null!=Y?Y:F}var G=new Set(e.halfSelectedIds);t.ids.every((function(e){return G.delete(e)}));var q=new Set(t.ids);return Object.assign(Object.assign({},e),{selectedIds:V,halfSelectedIds:G,controlledIds:q,isFocused:!0,lastAction:t.type,tabbableId:K,lastInteractedWith:F});case _:return Object.assign(Object.assign({},e),{tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case A:return Object.assign(Object.assign({},e),{isFocused:!1});case"DISABLE":var X=new Set(e.disabledIds);return X.add(t.id),Object.assign(Object.assign({},e),{disabledIds:X});case"ENABLE":var $=new Set(e.disabledIds);return $.delete(t.id),Object.assign(Object.assign({},e),{disabledIds:$});case L:return Object.assign(Object.assign({},e),{lastManuallyToggled:null});case W:return Object.assign(Object.assign({},e),{tabbableId:t.tabbableId,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.lastUserSelect});default:throw new Error("Invalid action passed to the reducer")}},oe=function(e){var t,n=e.element,r=e.dispatch,l=e.data,i=e.selectedIds,c=e.tabbableId,d=e.isFocused,f=e.expandedIds,p=e.disabledIds,h=e.halfSelectedIds,m=e.lastUserSelect,g=e.nodeRefs,y=e.leafRefs,S=e.baseClassNames,E=e.nodeRenderer,I=e.nodeAction,O=e.setsize,x=e.posinset,A=e.level,L=e.propagateCollapse,B=e.propagateSelect,W=e.multiSelect,D=e.togglableSelect,P=e.clickAction,U=e.state,Z=function(e){if(!(e.ctrlKey||e.altKey||e.shiftKey))if(f.has(n.id)&&L){var t=[n.id].concat(u(V(l,n.id,new Set)));r({type:w,ids:t,lastInteractedWith:n.id})}else r({type:N,id:n.id,lastInteractedWith:n.id})},H=function(){return r({type:_,id:n.id,lastInteractedWith:n.id})},F=function(e){if(e.shiftKey){var t=X({data:l,expandedIds:f,from:m,to:n.id}).filter((function(e){return!p.has(e)}));t=B?ee(l,t,p):t,r({type:T,select:!0,multiSelect:W,ids:t,lastInteractedWith:n.id,lastManuallyToggled:n.id})}else e.ctrlKey||P===b.select?(r({type:D?ne(l,n.id,i,p):k,id:n.id,multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id}),B&&!p.has(n.id)&&r({type:j,ids:ee(l,[n.id],p),select:!D||!i.has(n.id),multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id})):P===b.exclusiveSelect?r({type:D?C:k,id:n.id,multiSelect:!1,lastInteractedWith:n.id,lastManuallyToggled:n.id}):P===b.focus&&r({type:_,id:n.id,lastInteractedWith:n.id})},K=function(e){var t;return a()(e,(s(t={},"".concat(e,"--expanded"),f.has(n.id)),s(t,"".concat(e,"--selected"),i.has(n.id)),s(t,"".concat(e,"--focused"),c===n.id&&d),t))},Y="select"===I?{"aria-selected":Q({isSelected:i.has(n.id),isDisabled:p.has(n.id),multiSelect:W})}:{"aria-checked":J({isSelected:i.has(n.id),isDisabled:p.has(n.id),isHalfSelected:h.has(n.id),multiSelect:W})};return z(l,n.id)||n.isBranch?o.createElement("li",Object.assign({role:"treeitem","aria-expanded":f.has(n.id),"aria-setsize":O,"aria-posinset":x,"aria-level":A,"aria-disabled":p.has(n.id),tabIndex:c===n.id?0:-1,ref:function(e){null!=(null==g?void 0:g.current)&&null!=e&&(g.current[n.id]=e)},className:S.branchWrapper},Y),o.createElement(o.Fragment,null,E({element:n,isBranch:!0,isSelected:i.has(n.id),isHalfSelected:h.has(n.id),isExpanded:f.has(n.id),isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return{onClick:null==e?R(F,Z,H):R(e,H),className:a()(K(S.node),S.branch),ref:function(e){null!=(null==y?void 0:y.current)&&(y.current[n.id]=e)}}},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:Z,treeState:U}),o.createElement(ce,Object.assign({getClasses:K},((t=e).setsize,t.posinset,v(t,["setsize","posinset"])))))):o.createElement("li",{role:"none",className:K(S.leafListItem)},E({element:n,isBranch:!1,isSelected:i.has(n.id),isHalfSelected:!1,isExpanded:!1,isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return Object.assign({role:"treeitem",tabIndex:c===n.id?0:-1,onClick:R(null==e?F:e,H),ref:function(e){null!=(null==g?void 0:g.current)&&null!=(null==y?void 0:y.current)&&(g.current[n.id]=e,y.current[n.id]=e)},className:a()(K(S.node),S.leaf),"aria-setsize":O,"aria-posinset":x,"aria-level":A,disabled:p.has(n.id),"aria-disabled":p.has(n.id)},Y)},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:M,treeState:U}))},ce=function(e){var t=e.data,n=e.element,r=e.expandedIds,a=e.getClasses,l=e.baseClassNames,i=e.level,s=v(e,["data","element","expandedIds","getClasses","baseClassNames","level"]);return o.createElement("ul",{role:"group",className:a(l.nodeGroup)},r.has(n.id)&&n.children.length>0&&n.children.map((function(e,a){return o.createElement(oe,Object.assign({data:t,expandedIds:r,baseClassNames:l,key:"".concat(e,"-").concat(c(e)),element:ae(t,e),setsize:n.children.length,posinset:a+1,level:i+1},s))})))},se=function(e){var t=e.data,n=e.controlledSelectedIds,r=e.controlledExpandedIds,a=e.defaultExpandedIds,l=e.defaultSelectedIds,i=e.defaultDisabledIds,c=e.nodeRefs,s=e.leafRefs,f=e.onSelect,p=e.onNodeSelect,v=e.onExpand,m=e.onLoadData,b=e.togglableSelect,g=e.multiSelect,y=e.propagateSelect,C=e.propagateSelectUpwards,T=re(t),A=d((0,o.useReducer)(ie,{selectedIds:new Set(n||l),controlledIds:new Set(n),tabbableId:T.children[0],isFocused:!1,expandedIds:new Set(r||a),halfSelectedIds:new Set,lastUserSelect:T.children[0],lastInteractedWith:null,lastManuallyToggled:null,disabledIds:new Set(i)}),2),R=A[0],F=A[1],K=R.selectedIds,Y=R.expandedIds,G=R.disabledIds,q=R.tabbableId,X=R.halfSelectedIds,$=R.lastAction,Q=R.lastInteractedWith,J=R.lastManuallyToggled,ne=U(K)||new Set,le=P(K,ne);(0,o.useEffect)((function(){var e;if(null!=f&&f!==M){var n,r=h(le);try{for(r.s();!(n=r.n()).done;){var a=n.value,l=z(t,a)||!!(null===(e=ae(t,q))||void 0===e?void 0:e.isBranch);f({element:ae(t,a),isBranch:l,isExpanded:!!l&&Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:!!l&&X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,le,f,R]),(0,o.useEffect)((function(){null!=p&&p!==M&&null!=J&&le.size&&(p({element:ae(t,J),isSelected:K.has(J),isBranch:z(t,J),treeState:R}),F({type:L}))}),[J,K,le]);var oe=U(Y)||new Set;(0,o.useEffect)((function(){var e=P(Y,oe);if(null!=v&&v!==M){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;v({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,oe,v,R]);var ce,se,de=(ce=t,se=(0,o.useRef)(),(0,o.useEffect)((function(){se.current=ce})),se.current||new Map);(0,o.useEffect)((function(){var e=P(Y,oe);if(m){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;m({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}if(de!==t&&b&&y){var l,i=h(Y);try{for(i.s();!(l=i.n()).done;){var o=l.value;K.has(o)&&F({type:j,ids:ee(t,[o],G),select:!0,multiSelect:g,lastInteractedWith:o})}}catch(e){i.e(e)}finally{i.f()}}}}),[t,K,Y,G,X,oe,m,R]),(0,o.useEffect)((function(){if(de!==t){var e=re(t);e.children.length&&F({type:W,tabbableId:t.find((function(e){return e.id===R.tabbableId}))?R.tabbableId:e.children[0],lastInteractedWith:t.find((function(e){return e.id===R.lastInteractedWith}))?R.lastInteractedWith:null,lastManuallyToggled:t.find((function(e){return e.id===R.lastManuallyToggled}))?R.lastManuallyToggled:null,lastUserSelect:t.find((function(e){return e.id===R.lastUserSelect}))?R.lastUserSelect:e.children[0]})}}),[t]);var ue=P(new Set(n),K);return(0,o.useEffect)((function(){if(n){ue.size&&F({type:B,ids:n,multiSelect:g});var e,r=h(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;y&&!G.has(a)&&F({type:j,ids:ee(t,[a],G),select:!0,multiSelect:g,lastInteractedWith:a})}}catch(e){r.e(e)}finally{r.f()}}}),[n]),(0,o.useEffect)((function(){var e=new Set(r),n=D(e,oe),a=D(oe,e);if(a.size){var l,i=h(a);try{for(i.s();!(l=i.n()).done;){var o=l.value;if(z(t,o)||ae(t,o).isBranch){var c=[o].concat(u(V(t,o,new Set)));F({type:w,ids:c,lastInteractedWith:o})}}}catch(e){i.e(e)}finally{i.f()}}if(n.size){var s,d=h(n);try{for(d.s();!(s=d.n()).done;){var f=s.value;if(z(t,f)||ae(t,f).isBranch){var p=Z(t,f);F(p?{type:I,ids:[f,p],lastInteractedWith:f}:{type:E,id:f,lastInteractedWith:f})}}}catch(e){d.e(e)}finally{d.f()}}}),[r]),(0,o.useEffect)((function(){if(C){var e=new Set(u(le));Q&&$!==_&&$!==S&&$!==E&&$!==N&&e.add(Q);var n=[];e.forEach((function(e){t.find((function(t){return t.id===e}))||n.push(e)})),n.forEach((function(t){return e.delete(t)}));var r,a=function(e,t,n,r,a,l){var i,o={every:new Set,some:new Set,none:new Set},c=h(t);try{for(c.s();!(i=c.n()).done;)for(var s=i.value;;){var d=Z(e,s);if(0===d||null==d||null!=d&&r.has(d))break;var u=ae(e,d).children.filter((function(e){return!r.has(e)}));if(0===u.length)break;if(u.some((function(e){return n.has(e)||o.some.has(e)&&!o.none.has(e)||a.has(e)&&!o.none.has(e)})))u.every((function(e){return n.has(e)}))?o.every.add(d):o.some.add(d);else{var f=H(e,s,r).find((function(e){return n.has(e)}));if(!l&&f){V(e,f,r).forEach((function(e){a.has(e)&&o.none.add(e)}));break}o.none.add(d)}s=d}}catch(e){c.e(e)}finally{c.f()}return o}(t,e,K,G,X,g),l=a.every,i=a.some,o=a.none,c=h(l);try{for(c.s();!(r=c.n()).done;){var s=r.value;K.has(s)||F({type:k,id:s,multiSelect:g||te(t,s,K),keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q})}}catch(e){c.e(e)}finally{c.f()}var d,f=h(i);try{for(f.s();!(d=f.n()).done;){var p=d.value;X.has(p)||F({type:O,id:p,lastInteractedWith:Q,keepFocus:!0,NotUserAction:!0})}}catch(e){f.e(e)}finally{f.f()}var v,m=h(o);try{for(m.s();!(v=m.n()).done;){var b=v.value;(K.has(b)||X.has(b))&&F({type:x,id:b,multiSelect:g,keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q,lastManuallyToggled:J})}}catch(e){m.e(e)}finally{m.f()}}}),[t,g,C,K,Y,G,X,$,ne,le,Q,ue]),(0,o.useEffect)((function(){if(null!=Q&&null!=q&&null!=(null==c?void 0:c.current)&&null!=(null==s?void 0:s.current)){var e=c.current[q];!function(e){null!=e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest"})}(s.current[Q]),function(e){null!=e&&e.focus&&e.focus({preventScroll:!0})}(e)}}),[q,c,s,Q]),[R,F]},de=o.forwardRef((function(e,t){var n=e.data,r=e.selectedIds,l=e.nodeRenderer,i=e.onSelect,s=void 0===i?M:i,u=e.onNodeSelect,f=void 0===u?M:u,p=e.onExpand,h=void 0===p?M:p,g=e.onLoadData,y=e.className,S=void 0===y?"":y,w=e.multiSelect,E=void 0!==w&&w,I=e.propagateSelect,O=void 0!==I&&I,k=e.propagateSelectUpwards,x=void 0!==k&&k,N=e.propagateCollapse,C=void 0!==N&&N,j=e.expandOnKeyboardSelect,T=void 0!==j&&j,_=e.togglableSelect,L=void 0!==_&&_,B=e.defaultExpandedIds,W=void 0===B?[]:B,R=e.defaultSelectedIds,D=void 0===R?[]:R,P=e.defaultDisabledIds,U=void 0===P?[]:P,z=e.clickAction,Z=void 0===z?b.select:z,H=e.nodeAction,V=void 0===H?"select":H,F=e.expandedIds,K=e.onBlur,Y=v(e,["data","selectedIds","nodeRenderer","onSelect","onNodeSelect","onExpand","onLoadData","className","multiSelect","propagateSelect","propagateSelectUpwards","propagateCollapse","expandOnKeyboardSelect","togglableSelect","defaultExpandedIds","defaultSelectedIds","defaultDisabledIds","clickAction","nodeAction","expandedIds","onBlur"]);!function(e){if(le(e.map((function(e){return e.id}))))throw Error("Multiple TreeView nodes have the same ID. IDs must be unique.");if(e.forEach((function(e){if(e.id===e.parent)throw Error("Node with id=".concat(e.id," has parent reference to itself."));if(le(e.children))throw Error("Node with id=".concat(e.id," contains duplicate ids in its children."))})),0===e.filter((function(e){return null===e.parent})).length)throw Error("TreeView must have one root node.");if(e.filter((function(e){return null===e.parent})).length>1)throw Error("TreeView can have only one root node.");re(e).children.length||console.warn("TreeView have no nodes to display.")}(n);var G=(0,o.useRef)({}),q=(0,o.useRef)({}),X=d(se({data:n,controlledSelectedIds:r,controlledExpandedIds:F,defaultExpandedIds:W,defaultSelectedIds:D,defaultDisabledIds:U,nodeRefs:G,leafRefs:q,onSelect:s,onNodeSelect:f,onExpand:h,onLoadData:g,togglableSelect:L,multiSelect:E,propagateSelect:O,propagateSelectUpwards:x}),2),$=X[0],Q=X[1];O=O&&E;var J=(0,o.useRef)(null);return null!=t&&(J=t),o.createElement("ul",Object.assign({className:a()(m.root,S),role:"tree","aria-multiselectable":"select"===V?E:void 0,ref:J,onBlur:function(e){!function(e,t,n){null!=t?window.navigator.userAgent.match(/Trident/)?setTimeout((function(){return!t.contains(document.activeElement)&&n()}),0):!t.contains(e.nativeEvent.relatedTarget)&&n():console.warn("ref not set on
    ")}(e,J.current,(function(){K&&K({treeState:$,dispatch:Q}),Q({type:A})}))},onKeyDown:ue({data:n,tabbableId:$.tabbableId,expandedIds:$.expandedIds,selectedIds:$.selectedIds,disabledIds:$.disabledIds,halfSelectedIds:$.halfSelectedIds,clickAction:Z,dispatch:Q,propagateCollapse:C,propagateSelect:O,multiSelect:E,expandOnKeyboardSelect:T,togglableSelect:L})},Y),re(n).children.map((function(e,t){return o.createElement(oe,Object.assign({key:"".concat(e,"-").concat(c(e)),data:n,element:ae(n,e),setsize:re(n).children.length,posinset:t+1,level:1},$,{state:$,dispatch:Q,nodeRefs:G,leafRefs:q,baseClassNames:m,nodeRenderer:l,propagateCollapse:C,propagateSelect:O,propagateSelectUpwards:x,multiSelect:E,togglableSelect:L,clickAction:Z,nodeAction:V}))})))})),ue=function(e){var t=e.data,n=e.expandedIds,r=e.selectedIds,a=e.disabledIds,l=e.tabbableId,i=e.dispatch,o=e.propagateCollapse,c=e.propagateSelect,s=e.multiSelect,d=e.expandOnKeyboardSelect,f=e.togglableSelect,p=e.clickAction;return function(e){var h=ae(t,l),v=h.id;if(e.ctrlKey){if("a"===e.key){e.preventDefault();var m=t.filter((function(e){return null!==e.parent})).map((function(e){return e.id})).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:Array.from(r).filter((function(e){return!a.has(e)})).length!==m.length,ids:m,lastInteractedWith:h.id})}else if(e.shiftKey&&("Home"===e.key||"End"===e.key)){var g="Home"===e.key?re(t).children[0]:Y(t,v,n),y=X({data:t,expandedIds:n,from:v,to:g}).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:!0,ids:c?ee(t,y,a):y}),i({type:_,id:g,lastInteractedWith:g})}}else{if(e.shiftKey)switch(e.key){case"ArrowUp":e.preventDefault();var O=G(t,v,n);return void(null==O||a.has(O)||(i({type:j,ids:c?ee(t,[O],a):[O],select:!0,multiSelect:s,lastInteractedWith:O,lastManuallyToggled:O}),i({type:_,id:O,lastInteractedWith:O})));case"ArrowDown":e.preventDefault();var x=q(t,v,n);return void(null==x||a.has(x)||(i({type:j,ids:c?ee(t,[x],a):[x],multiSelect:s,select:!0,lastInteractedWith:x,lastManuallyToggled:x}),i({type:_,id:x,lastInteractedWith:x})))}switch(e.key){case"ArrowDown":e.preventDefault();var C=q(t,v,n);return void(null!=C&&i({type:_,id:C,lastInteractedWith:C}));case"ArrowUp":e.preventDefault();var T=G(t,v,n);return void(null!=T&&i({type:_,id:T,lastInteractedWith:T}));case"ArrowLeft":if(e.preventDefault(),(z(t,v)||h.isBranch)&&n.has(l))if(o){var A=[v].concat(u(V(t,v,new Set)));i({type:w,ids:A,lastInteractedWith:h.id})}else i({type:S,id:v,lastInteractedWith:v});else if(!re(t).children.includes(v)){var L=Z(t,v);if(null==L)throw new Error("parentId of root element is null");i({type:_,id:L,lastInteractedWith:L})}return;case"ArrowRight":return e.preventDefault(),void((z(t,v)||h.isBranch)&&(n.has(l)?i({type:_,id:h.children[0],lastInteractedWith:h.children[0]}):i({type:E,id:v,lastInteractedWith:v})));case"Home":e.preventDefault(),i({type:_,id:re(t).children[0],lastInteractedWith:re(t).children[0]});break;case"End":e.preventDefault();var B=Y(t,re(t).id,n);return void i({type:_,id:B,lastInteractedWith:B});case"*":e.preventDefault();var W=Z(t,v);if(null==W)throw new Error("parentId of element is null");var M=ae(t,W).children.filter((function(e){return z(t,e)||ae(t,e).isBranch}));return void i({type:I,ids:M,lastInteractedWith:v});case"Enter":case" ":case"Spacebar":if(e.preventDefault(),p===b.focus)return;return i({type:f?ne(t,v,r,a):k,id:v,multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),c&&!a.has(h.id)&&i({type:j,ids:ee(t,[v],a),select:!f||!r.has(v),multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),void(d&&i({type:N,id:v,lastInteractedWith:v}));default:if(1===e.key.length)for(var R=q(t,v,n);R!==v;)if(null!=R){if(ae(t,R).name[0].toLowerCase()===e.key.toLowerCase())return void i({type:_,id:R,lastInteractedWith:v});R=q(t,R,n)}else R=re(t).children[0];return}}}};de.propTypes={data:i().array.isRequired,onSelect:i().func,onNodeSelect:i().func,onExpand:i().func,className:i().string,nodeRenderer:i().func.isRequired,defaultExpandedIds:i().array,defaultSelectedIds:i().array,expandedIds:i().array,selectedIds:i().array,defaultDisabledIds:i().array,propagateCollapse:i().bool,propagateSelect:i().bool,propagateSelectUpwards:i().bool,multiSelect:i().bool,expandOnKeyboardSelect:i().bool,togglableSelect:i().bool,nodeAction:i().oneOf(y),clickAction:i().oneOf(g),onBlur:i().func,onLoadData:i().func},t.ZP=de},9583:function(e,t,n){"use strict";n.d(t,{AeW:function(){return l},IEK:function(){return s},kty:function(){return i},u9M:function(){return o},xik:function(){return a},zuo:function(){return c}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"}}]})(e)}},1649:function(e,t,n){"use strict";n.d(t,{am:function(){return a}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"}}]})(e)}},8357:function(e,t,n){"use strict";n.d(t,{w_:function(){return s}});var r=n(7294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(a),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,c=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=s(n),p=a,h=u["".concat(c,".").concat(p)]||u[p]||f[p]||l;return n?r.createElement(h,i(i({ref:t},d),{},{components:n})):r.createElement(h,i({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=p;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[u]="string"==typeof e?e:a,i[1]=o;for(var s=2;s0})).map((function(e){return[e-1,[o]]}));return{lineClassNames:Object.fromEntries(c),code:n}}if(void 0===r)return{lineClassNames:{},code:n};for(var s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return S(["js","jsBlock"],t);case"jsx":case"tsx":return S(["js","jsBlock","jsx"],t);case"html":return S(["js","jsBlock","html"],t);case"python":case"py":case"bash":return S(["bash"],t);case"markdown":case"md":return S(["html","jsx","bash"],t);default:return S(Object.keys(y),t)}}(r,a),d=n.split("\n"),u=Object.fromEntries(a.map((function(e){return[e.className,{start:0,range:""}]}))),f=Object.fromEntries(a.filter((function(e){return e.line})).map((function(e){var t=e.className;return[e.line,t]}))),p=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.start,t]}))),h=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.end,t]}))),v=0;v0&&e[n-1]===t?e:e.concat(t)};function R(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var D=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),A(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),a=e.styles.reduce((function(e,n){var r=n.languages,a=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=L({},e[t],a);e[t]=n})),e}),r);return a.root=n,a.plain=L({},n,{backgroundColor:null}),a}(e.theme,e.language):void 0;return t.themeDict=n})),A(this,"getLineProps",(function(e){var n=e.key,r=e.className,a=e.style,l=L({},R(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(l.style=i.plain),void 0!==a&&(l.style=void 0!==l.style?L({},l.style,a):a),void 0!==n&&(l.key=n),r&&(l.className+=" "+r),l})),A(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,a=n.length,l=t.getThemeDict(t.props);if(void 0!==l){if(1===a&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===a&&!r)return l[n[0]];var i=r?{display:"inline-block"}:{},o=n.map((function(e){return l[e]}));return Object.assign.apply(Object,[i].concat(o))}})),A(this,"getTokenProps",(function(e){var n=e.key,r=e.className,a=e.style,l=e.token,i=L({},R(e,["key","className","style","token"]),{className:"token "+l.types.join(" "),children:l.content,style:t.getStyleForToken(l),key:void 0});return void 0!==a&&(i.style=void 0!==i.style?L({},i.style,a):a),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),A(this,"tokenize",(function(e,t,n,r){var a={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",a);var l=a.tokens=e.tokenize(a.code,a.grammar,a.language);return e.hooks.run("after-tokenize",a),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,a=e.children,l=this.getThemeDict(this.props),i=t.languages[n];return a({tokens:function(e){for(var t=[[]],n=[e],r=[0],a=[e.length],l=0,i=0,o=[],c=[o];i>-1;){for(;(l=r[i]++)0?d:["plain"],s=u):(d=M(d,u.type),u.alias&&(d=M(d,u.alias)),s=u.content),"string"==typeof s){var f=s.split(B),p=f.length;o.push({types:d,content:f[0]});for(var h=1;h0&&i.getRangeAt(0);r.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;var c=!1;try{c=document.execCommand("copy")}catch(s){}a.remove(),o&&(i.removeAllRanges(),i.addRange(o)),l&&l.focus()}(t),i(!0),o.current=window.setTimeout((function(){i(!1)}),1e3)}),[t]);return(0,a.useEffect)((function(){return function(){return window.clearTimeout(o.current)}}),[]),a.createElement("button",{type:"button","aria-label":l?(0,Z.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,Z.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,Z.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.Z)("clean-btn",n,F.copyButton,l&&F.copyButtonCopied),onClick:c},a.createElement("span",{className:F.copyButtonIcons,"aria-hidden":"true"},a.createElement(H,{className:F.copyButtonIcon}),a.createElement(V,{className:F.copyButtonSuccessIcon})))}function Y(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}))}var G={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function q(e){var t=e.className,n=e.onClick,r=e.isEnabled,l=(0,Z.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return a.createElement("button",{type:"button",onClick:n,className:(0,s.Z)("clean-btn",t,r&&G.wordWrapButtonEnabled),"aria-label":l,title:l},a.createElement(Y,{className:G.wordWrapButtonIcon,"aria-hidden":"true"}))}function X(e){var t,n,l,i,o,c,d,p,h,v,m,g=e.children,y=e.className,S=void 0===y?"":y,E=e.metastring,I=e.title,x=e.showLineNumbers,N=e.language,C=(0,u.L)().prism,T=C.defaultLanguage,A=C.magicComments,L=null!=(t=null!=N?N:null==(n=S.split(" ").find((function(e){return e.startsWith("language-")})))?void 0:n.replace(/language-/,""))?t:T,B=f(),W=(l=(0,a.useState)(!1),i=l[0],o=l[1],c=(0,a.useState)(!1),d=c[0],p=c[1],h=(0,a.useRef)(null),v=(0,a.useCallback)((function(){var e=h.current.querySelector("code");i?e.removeAttribute("style"):(e.style.whiteSpace="pre-wrap",e.style.overflowWrap="anywhere"),o((function(e){return!e}))}),[h,i]),m=(0,a.useCallback)((function(){var e=h.current,t=e.scrollWidth>e.clientWidth||h.current.querySelector("code").hasAttribute("style");p(t)}),[h]),j(h,m),(0,a.useEffect)((function(){m()}),[i,m]),(0,a.useEffect)((function(){return window.addEventListener("resize",m,{passive:!0}),function(){window.removeEventListener("resize",m)}}),[m]),{codeBlockRef:h,isEnabled:i,isCodeScrollable:d,toggle:v}),M=function(e){var t,n;return null!=(t=null==e||null==(n=e.match(b))?void 0:n.groups.title)?t:""}(E)||I,R=w(g,{metastring:E,language:L,magicComments:A}),D=R.lineClassNames,U=R.code,Z=null!=x?x:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(E);return a.createElement(O,{as:"div",className:(0,s.Z)(S,L&&!S.includes("language-"+L)&&"language-"+L)},M&&a.createElement("div",{className:k.codeBlockTitle},M),a.createElement("div",{className:k.codeBlockContent},a.createElement(P,(0,r.Z)({},_,{theme:B,code:U,language:null!=L?L:"text"}),(function(e){var t=e.className,n=e.tokens,r=e.getLineProps,l=e.getTokenProps;return a.createElement("pre",{tabIndex:0,ref:W.codeBlockRef,className:(0,s.Z)(t,k.codeBlock,"thin-scrollbar")},a.createElement("code",{className:(0,s.Z)(k.codeBlockLines,Z&&k.codeBlockLinesWithNumbering)},n.map((function(e,t){return a.createElement(z,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:D[t],showLineNumbers:Z})}))))})),a.createElement("div",{className:k.buttonGroup},(W.isEnabled||W.isCodeScrollable)&&a.createElement(q,{className:k.codeButton,onClick:function(){return W.toggle()},isEnabled:W.isEnabled}),a.createElement(K,{className:k.codeButton,code:U}))))}var $=["children"];function Q(e){var t=e.children,n=(0,l.Z)(e,$),i=(0,c.Z)(),o=function(e){return a.Children.toArray(e).some((function(e){return(0,a.isValidElement)(e)}))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof o?X:x;return a.createElement(s,(0,r.Z)({key:String(i)},n),o)}var J=n(9960);var ee=n(6043),te={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"},ne=["summary","children"];function re(e){return!!e&&("SUMMARY"===e.tagName||re(e.parentElement))}function ae(e,t){return!!e&&(e===t||ae(e.parentElement,t))}function le(e){var t=e.summary,n=e.children,i=(0,l.Z)(e,ne),o=(0,c.Z)(),d=(0,a.useRef)(null),u=(0,ee.u)({initialState:!i.open}),f=u.collapsed,p=u.setCollapsed,h=(0,a.useState)(i.open),v=h[0],m=h[1],b=a.isValidElement(t)?t:a.createElement("summary",null,null!=t?t:"Details");return a.createElement("details",(0,r.Z)({},i,{ref:d,open:v,"data-collapsed":f,className:(0,s.Z)(te.details,o&&te.isBrowser,i.className),onMouseDown:function(e){re(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;re(t)&&ae(t,d.current)&&(e.preventDefault(),f?(p(!1),m(!0)):p(!0))}}),b,a.createElement(ee.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){p(e),m(!e)}},a.createElement("div",{className:te.collapsibleContent},n)))}var ie={details:"details_b_Ee"},oe="alert alert--info";function ce(e){var t=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return a.createElement(le,(0,r.Z)({},t,{className:(0,s.Z)(oe,ie.details,t.className)}))}var se=n(2503);function de(e){return a.createElement(se.Z,e)}var ue={containsTaskList:"containsTaskList_mC6p"};function fe(e){if(void 0!==e)return(0,s.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&ue.containsTaskList)}var pe={img:"img_ev3q"};var he="admonition_LlT9",ve="admonitionHeading_tbUL",me="admonitionIcon_kALy",be="admonitionContent_S0QG";var ge={note:{infimaClassName:"secondary",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 16 16"},a.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},ye={secondary:"note",important:"info",success:"tip",warning:"danger"};function Se(e){var t,n=function(e){var t=a.Children.toArray(e),n=t.find((function(e){var t;return a.isValidElement(e)&&"mdxAdmonitionTitle"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return{mdxAdmonitionTitle:n,rest:r}}(e.children),r=n.mdxAdmonitionTitle,l=n.rest;return Object.assign({},e,{title:null!=(t=e.title)?t:r,children:l})}var we={head:function(e){var t=a.Children.map(e.children,(function(e){return a.isValidElement(e)?function(e){var t;if(null!=(t=e.props)&&t.mdxType&&e.props.originalType){var n=e.props,r=(n.mdxType,n.originalType,(0,l.Z)(n,o));return a.createElement(e.props.originalType,r)}return e}(e):e}));return a.createElement(i.Z,e,t)},code:function(e){var t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return a.Children.toArray(e.children).every((function(e){var n;return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(null==(n=e.props)?void 0:n.mdxType)}))?a.createElement("code",e):a.createElement(Q,e)},a:function(e){return a.createElement(J.Z,e)},pre:function(e){var t;return a.createElement(Q,(0,a.isValidElement)(e.children)&&"code"===(null==(t=e.children.props)?void 0:t.originalType)?e.children.props:Object.assign({},e))},details:function(e){var t=a.Children.toArray(e.children),n=t.find((function(e){var t;return a.isValidElement(e)&&"summary"===(null==(t=e.props)?void 0:t.mdxType)})),l=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return a.createElement(ce,(0,r.Z)({},e,{summary:n}),l)},ul:function(e){return a.createElement("ul",(0,r.Z)({},e,{className:fe(e.className)}))},img:function(e){return a.createElement("img",(0,r.Z)({loading:"lazy"},e,{className:(t=e.className,(0,s.Z)(t,pe.img))}));var t},h1:function(e){return a.createElement(de,(0,r.Z)({as:"h1"},e))},h2:function(e){return a.createElement(de,(0,r.Z)({as:"h2"},e))},h3:function(e){return a.createElement(de,(0,r.Z)({as:"h3"},e))},h4:function(e){return a.createElement(de,(0,r.Z)({as:"h4"},e))},h5:function(e){return a.createElement(de,(0,r.Z)({as:"h5"},e))},h6:function(e){return a.createElement(de,(0,r.Z)({as:"h6"},e))},admonition:function(e){var t=Se(e),n=t.children,r=t.type,l=t.title,i=t.icon,o=function(e){var t,n=null!=(t=ye[e])?t:e,r=ge[n];return r||(console.warn('No admonition config found for admonition type "'+n+'". Using Info as fallback.'),ge.info)}(r),c=null!=l?l:o.label,d=o.iconComponent,u=null!=i?i:a.createElement(d,null);return a.createElement("div",{className:(0,s.Z)(p.k.common.admonition,p.k.common.admonitionType(e.type),"alert","alert--"+o.infimaClassName,he)},a.createElement("div",{className:ve},a.createElement("span",{className:me},u),c),a.createElement("div",{className:be},n))},mermaid:n(1875).Z}},2805:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var r=n(7294),a=n(3511),l=function(e){var t=e.className,n=e.children;return r.createElement(a.Z.pre,null,r.createElement(a.Z.code,{className:t},n))},i=(n(2473),function(){});var o=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},c=0,s=function(){return++c},d=function(){var e=(0,r.useState)(null),t=e[0],n=e[1];return(0,r.useEffect)((function(){return n(s())}),[]),t},u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var p=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onChange,o=e.index,c=void 0===o?void 0:o,s=e.readOnly,p=void 0!==s&&s,h=e.defaultIndex,v=f(e,["children","as","onChange","index","readOnly","defaultIndex"]),m=(0,r.useRef)(null!=c).current,b=d(),g=(0,r.useRef)(!1),y=(0,r.useRef)(null),S=(0,r.useState)(h||0),w=S[0],E=S[1],I=r.Children.map(n,(function(e){return"string"==typeof e.type?e:(0,r.cloneElement)(e,{selectedIndex:m?c:w,_id:b,_userInteractedRef:g,_selectedPanelRef:y,_onFocusPanel:function(){return y.current&&y.current.focus()},_onSelectTab:p?function(){}:function(e){g.current=!0,i&&i(e),m||E(e)}})}));return r.createElement(l,u({"data-reach-tabs":"",ref:t},v,{children:I}))})),h=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onKeyDown,c=f(e,["children","as","onKeyDown"]),s=c.selectedIndex,d=c._onSelectTab,p=c._userInteractedRef,h=c._onFocusPanel,v=(c._selectedPanelRef,c._id),m=f(c,["selectedIndex","_onSelectTab","_userInteractedRef","_onFocusPanel","_selectedPanelRef","_id"]),b=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===s,_id:g(v,t),_userInteractedRef:p,_onSelect:function(){return d(t)}})})),y=o(i,(function(e){var t=r.Children.map(n,(function(e,t){return!0===e.props.disabled?null:t})).filter((function(e){return null!=e})),a=t.indexOf(s);switch(e.key){case"ArrowRight":var l=t[(a+1)%t.length];d(l);break;case"ArrowLeft":var i=t.length,o=t[(a-1+i)%i];d(o);break;case"ArrowDown":e.preventDefault(),h();break;case"Home":d(0);break;case"End":d(r.Children.count(n)-1)}}));return r.createElement(l,u({"data-reach-tab-list":"",ref:t,role:"tablist",onKeyDown:y,children:b},m))})),v=(0,r.forwardRef)((function(e,t){var n,a,l,i=e.children,o=e.as,c=void 0===o?"button":o,s=f(e,["children","as"]),d=s.isSelected,p=s._userInteractedRef,h=s._onSelect,v=s._id,m=f(s,["isSelected","_userInteractedRef","_onSelect","_id"]),b=(0,r.useRef)(null),g=t||b;return n=function(){d&&g.current&&p.current&&(p.current=!1,g.current.focus())},a=[d],l=(0,r.useRef)(!1),(0,r.useEffect)((function(){l.current?n():l.current=!0}),a),r.createElement(c,u({"data-reach-tab":"",ref:g,role:"tab",id:"tab:"+v,tabIndex:d?0:-1,"aria-selected":d,"aria-controls":"panel:"+v,"data-selected":d?"":void 0,onClick:h,children:i},m))})),m=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.selectedIndex,c=i._selectedPanelRef,s=(i._userInteractedRef,i._onFocusPanel,i._onSelectTab,i._id),d=f(i,["selectedIndex","_selectedPanelRef","_userInteractedRef","_onFocusPanel","_onSelectTab","_id"]),p=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===o,_selectedPanelRef:c,_id:g(s,t)})}));return r.createElement(l,u({"data-reach-tab-panels":"",ref:t},d,{children:p}))})),b=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.isSelected,c=i._selectedPanelRef,s=i._id,d=f(i,["isSelected","_selectedPanelRef","_id"]);return r.createElement(l,u({"data-reach-tab-panel":"",ref:o?c:void 0,role:"tabpanel",tabIndex:-1,"aria-labelledby":"tab:"+s,hidden:!o,id:"panel:"+s,children:n},d))}));var g=function(e,t){return e+":"+t},y=n(7462),S=n(3935);function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var E=function(e){e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},I=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,l=Array(a),i=0;i=0&&n.callbacks.splice(r,1),n.callbacks.length||A.delete(e),A.size||cancelAnimationFrame(O)}}}},W=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],n=(0,r.useState)(null),a=n[0],l=n[1],i=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){return i.current||(i.current=B(e.current,l)),t&&i.current.observe(),function(){return i.current.unobserve()}}),[t]),a}U.defaultProps={observe:!0};var Z,H=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var F="idle",K="focused",Y="visible",G="leavingVisible",q="dismissed",X={initial:F,states:(Z={},Z[F]={enter:re,on:{mouseenter:K,focus:Y}},Z[K]={enter:function(){clearTimeout(te),te=setTimeout((function(){return J("rest")}),100)},leave:function(){clearTimeout(te)},on:{mousemove:K,mouseleave:F,mousedown:q,blur:F,rest:Y}},Z[Y]={on:{focus:K,mouseenter:K,mouseleave:G,blur:G,mousedown:q,selectWithKeyboard:q,globalMouseMove:G}},Z[G]={enter:function(){clearTimeout(ne),ne=setTimeout((function(){return J("timecomplete")}),500)},leave:function(){clearTimeout(ne),re()},on:{mouseenter:Y,focus:Y,timecomplete:F}},Z[q]={leave:function(){$.id=null},on:{mouseleave:F,blur:F}},Z)},$={id:null},Q=X.initial;function J(e,t){var n=X.states[Q],r=n.on[e];if(!r)throw new Error('Unknown state for action "'+e+'" from state "'+Q+'"');n.leave&&n.leave(),t&&($=t);var a=X.states[r];a.enter&&a.enter(),Q=r,ee.forEach((function(e){return e(Q,$)}))}var ee=[];var te=void 0;var ne=void 0;function re(){$.id=null}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMouseEnter,n=e.onMouseMove,a=e.onMouseLeave,l=e.onFocus,c=(e.onBlur,e.onKeyDown),s=e.onMouseDown,u=e.ref,f=e.DEBUG_STYLE,p="tooltip:"+d(),h=(0,r.useState)(!!f||$.id===p&&Q===Y),v=h[0],m=h[1],b=u||(0,r.useRef)(),g=z(b,v);(0,r.useEffect)((function(){return e=function(){$.id!==p||Q!==Y&&Q!==G?m(!1):m(!0)},ee.push(e),function(){ee.splice(ee.indexOf(e),1)};var e}),[p]),(0,r.useEffect)((function(){return i("tooltip")}));return[{"aria-describedby":p,"data-reach-tooltip-trigger":"",ref:b,onMouseEnter:o(t,(function(){switch(Q){case F:case Y:case G:J("mouseenter",{id:p})}})),onMouseMove:o(n,(function(){if(Q===K)J("mousemove",{id:p})})),onFocus:o(l,(function(e){if(!window.__REACH_DISABLE_TOOLTIPS)switch(Q){case F:case Y:case G:J("focus",{id:p})}})),onBlur:o(l,(function(){if($.id===p)switch(Q){case K:case Y:case q:J("blur")}})),onMouseLeave:o(a,(function(){switch(Q){case K:case Y:case q:J("mouseleave")}})),onKeyDown:o(c,(function(e){if(("Enter"===e.key||" "===e.key)&&Q===Y)J("selectWithKeyboard")})),onMouseDown:o(s,(function(){if($.id===p)switch(Q){case K:case Y:J("mousedown")}}))},{id:p,triggerRect:g,isVisible:v},v]}var le=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=e.isVisible,o=e.id,c=e.triggerRect,s=V(e,["label","ariaLabel","position","isVisible","id","triggerRect"]);return i?r.createElement(N,null,r.createElement(ie,H({label:n,ariaLabel:a,position:l,isVisible:i,id:o,triggerRect:c,ref:t},s))):null})),ie=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=void 0===l?ce:l,o=e.isVisible,c=e.id,s=e.triggerRect,d=e.style,u=V(e,["label","ariaLabel","position","isVisible","id","triggerRect","style"]),f=null!=a,p=(0,r.useRef)(),h=z(p,o);return r.createElement(r.Fragment,null,r.createElement("div",H({"data-reach-tooltip":!0,role:f?void 0:"tooltip",id:f?void 0:c,children:n,style:H({},d,oe(i,s,h)),ref:function(e){p.current=e,t&&t(e)}},u)),f&&r.createElement(T,{role:"tooltip",id:c},a))})),oe=function(e,t,n){return!n?{visibility:"hidden"}:e(t,n)},ce=function(e,t){var n={left:e.left+window.pageXOffset+"px",top:e.top+e.height+window.pageYOffset+"px"},r={top:e.top-t.height<0,right:window.innerWidthe.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,l]=t;if(r&&l){r=parseInt(r),l=parseInt(l);const e=re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,l=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw l}}}}function v(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aa)for(;o1&&console.warn("Tree in singleSelect mode, only the first item from selectedIds will be selected.");var Y=t.ids[0];Y&&V.add(Y),F=null!=Y?Y:F,K=null!=Y?Y:F}var G=new Set(e.halfSelectedIds);t.ids.every((function(e){return G.delete(e)}));var q=new Set(t.ids);return Object.assign(Object.assign({},e),{selectedIds:V,halfSelectedIds:G,controlledIds:q,isFocused:!0,lastAction:t.type,tabbableId:K,lastInteractedWith:F});case _:return Object.assign(Object.assign({},e),{tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case A:return Object.assign(Object.assign({},e),{isFocused:!1});case"DISABLE":var X=new Set(e.disabledIds);return X.add(t.id),Object.assign(Object.assign({},e),{disabledIds:X});case"ENABLE":var $=new Set(e.disabledIds);return $.delete(t.id),Object.assign(Object.assign({},e),{disabledIds:$});case L:return Object.assign(Object.assign({},e),{lastManuallyToggled:null});case W:return Object.assign(Object.assign({},e),{tabbableId:t.tabbableId,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.lastUserSelect});default:throw new Error("Invalid action passed to the reducer")}},oe=function(e){var t,n=e.element,r=e.dispatch,l=e.data,i=e.selectedIds,c=e.tabbableId,d=e.isFocused,f=e.expandedIds,p=e.disabledIds,h=e.halfSelectedIds,m=e.lastUserSelect,g=e.nodeRefs,y=e.leafRefs,S=e.baseClassNames,E=e.nodeRenderer,I=e.nodeAction,O=e.setsize,x=e.posinset,A=e.level,L=e.propagateCollapse,B=e.propagateSelect,W=e.multiSelect,D=e.togglableSelect,P=e.clickAction,U=e.state,Z=function(e){if(!(e.ctrlKey||e.altKey||e.shiftKey))if(f.has(n.id)&&L){var t=[n.id].concat(u(V(l,n.id,new Set)));r({type:w,ids:t,lastInteractedWith:n.id})}else r({type:N,id:n.id,lastInteractedWith:n.id})},H=function(){return r({type:_,id:n.id,lastInteractedWith:n.id})},F=function(e){if(e.shiftKey){var t=X({data:l,expandedIds:f,from:m,to:n.id}).filter((function(e){return!p.has(e)}));t=B?ee(l,t,p):t,r({type:T,select:!0,multiSelect:W,ids:t,lastInteractedWith:n.id,lastManuallyToggled:n.id})}else e.ctrlKey||P===b.select?(r({type:D?ne(l,n.id,i,p):k,id:n.id,multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id}),B&&!p.has(n.id)&&r({type:j,ids:ee(l,[n.id],p),select:!D||!i.has(n.id),multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id})):P===b.exclusiveSelect?r({type:D?C:k,id:n.id,multiSelect:!1,lastInteractedWith:n.id,lastManuallyToggled:n.id}):P===b.focus&&r({type:_,id:n.id,lastInteractedWith:n.id})},K=function(e){var t;return a()(e,(s(t={},"".concat(e,"--expanded"),f.has(n.id)),s(t,"".concat(e,"--selected"),i.has(n.id)),s(t,"".concat(e,"--focused"),c===n.id&&d),t))},Y="select"===I?{"aria-selected":Q({isSelected:i.has(n.id),isDisabled:p.has(n.id),multiSelect:W})}:{"aria-checked":J({isSelected:i.has(n.id),isDisabled:p.has(n.id),isHalfSelected:h.has(n.id),multiSelect:W})};return z(l,n.id)||n.isBranch?o.createElement("li",Object.assign({role:"treeitem","aria-expanded":f.has(n.id),"aria-setsize":O,"aria-posinset":x,"aria-level":A,"aria-disabled":p.has(n.id),tabIndex:c===n.id?0:-1,ref:function(e){null!=(null==g?void 0:g.current)&&null!=e&&(g.current[n.id]=e)},className:S.branchWrapper},Y),o.createElement(o.Fragment,null,E({element:n,isBranch:!0,isSelected:i.has(n.id),isHalfSelected:h.has(n.id),isExpanded:f.has(n.id),isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return{onClick:null==e?R(F,Z,H):R(e,H),className:a()(K(S.node),S.branch),ref:function(e){null!=(null==y?void 0:y.current)&&(y.current[n.id]=e)}}},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:Z,treeState:U}),o.createElement(ce,Object.assign({getClasses:K},((t=e).setsize,t.posinset,v(t,["setsize","posinset"])))))):o.createElement("li",{role:"none",className:K(S.leafListItem)},E({element:n,isBranch:!1,isSelected:i.has(n.id),isHalfSelected:!1,isExpanded:!1,isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return Object.assign({role:"treeitem",tabIndex:c===n.id?0:-1,onClick:R(null==e?F:e,H),ref:function(e){null!=(null==g?void 0:g.current)&&null!=(null==y?void 0:y.current)&&(g.current[n.id]=e,y.current[n.id]=e)},className:a()(K(S.node),S.leaf),"aria-setsize":O,"aria-posinset":x,"aria-level":A,disabled:p.has(n.id),"aria-disabled":p.has(n.id)},Y)},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:M,treeState:U}))},ce=function(e){var t=e.data,n=e.element,r=e.expandedIds,a=e.getClasses,l=e.baseClassNames,i=e.level,s=v(e,["data","element","expandedIds","getClasses","baseClassNames","level"]);return o.createElement("ul",{role:"group",className:a(l.nodeGroup)},r.has(n.id)&&n.children.length>0&&n.children.map((function(e,a){return o.createElement(oe,Object.assign({data:t,expandedIds:r,baseClassNames:l,key:"".concat(e,"-").concat(c(e)),element:ae(t,e),setsize:n.children.length,posinset:a+1,level:i+1},s))})))},se=function(e){var t=e.data,n=e.controlledSelectedIds,r=e.controlledExpandedIds,a=e.defaultExpandedIds,l=e.defaultSelectedIds,i=e.defaultDisabledIds,c=e.nodeRefs,s=e.leafRefs,f=e.onSelect,p=e.onNodeSelect,v=e.onExpand,m=e.onLoadData,b=e.togglableSelect,g=e.multiSelect,y=e.propagateSelect,C=e.propagateSelectUpwards,T=re(t),A=d((0,o.useReducer)(ie,{selectedIds:new Set(n||l),controlledIds:new Set(n),tabbableId:T.children[0],isFocused:!1,expandedIds:new Set(r||a),halfSelectedIds:new Set,lastUserSelect:T.children[0],lastInteractedWith:null,lastManuallyToggled:null,disabledIds:new Set(i)}),2),R=A[0],F=A[1],K=R.selectedIds,Y=R.expandedIds,G=R.disabledIds,q=R.tabbableId,X=R.halfSelectedIds,$=R.lastAction,Q=R.lastInteractedWith,J=R.lastManuallyToggled,ne=U(K)||new Set,le=P(K,ne);(0,o.useEffect)((function(){var e;if(null!=f&&f!==M){var n,r=h(le);try{for(r.s();!(n=r.n()).done;){var a=n.value,l=z(t,a)||!!(null===(e=ae(t,q))||void 0===e?void 0:e.isBranch);f({element:ae(t,a),isBranch:l,isExpanded:!!l&&Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:!!l&&X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,le,f,R]),(0,o.useEffect)((function(){null!=p&&p!==M&&null!=J&&le.size&&(p({element:ae(t,J),isSelected:K.has(J),isBranch:z(t,J),treeState:R}),F({type:L}))}),[J,K,le]);var oe=U(Y)||new Set;(0,o.useEffect)((function(){var e=P(Y,oe);if(null!=v&&v!==M){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;v({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,oe,v,R]);var ce,se,de=(ce=t,se=(0,o.useRef)(),(0,o.useEffect)((function(){se.current=ce})),se.current||new Map);(0,o.useEffect)((function(){var e=P(Y,oe);if(m){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;m({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}if(de!==t&&b&&y){var l,i=h(Y);try{for(i.s();!(l=i.n()).done;){var o=l.value;K.has(o)&&F({type:j,ids:ee(t,[o],G),select:!0,multiSelect:g,lastInteractedWith:o})}}catch(e){i.e(e)}finally{i.f()}}}}),[t,K,Y,G,X,oe,m,R]),(0,o.useEffect)((function(){if(de!==t){var e=re(t);e.children.length&&F({type:W,tabbableId:t.find((function(e){return e.id===R.tabbableId}))?R.tabbableId:e.children[0],lastInteractedWith:t.find((function(e){return e.id===R.lastInteractedWith}))?R.lastInteractedWith:null,lastManuallyToggled:t.find((function(e){return e.id===R.lastManuallyToggled}))?R.lastManuallyToggled:null,lastUserSelect:t.find((function(e){return e.id===R.lastUserSelect}))?R.lastUserSelect:e.children[0]})}}),[t]);var ue=P(new Set(n),K);return(0,o.useEffect)((function(){if(n){ue.size&&F({type:B,ids:n,multiSelect:g});var e,r=h(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;y&&!G.has(a)&&F({type:j,ids:ee(t,[a],G),select:!0,multiSelect:g,lastInteractedWith:a})}}catch(e){r.e(e)}finally{r.f()}}}),[n]),(0,o.useEffect)((function(){var e=new Set(r),n=D(e,oe),a=D(oe,e);if(a.size){var l,i=h(a);try{for(i.s();!(l=i.n()).done;){var o=l.value;if(z(t,o)||ae(t,o).isBranch){var c=[o].concat(u(V(t,o,new Set)));F({type:w,ids:c,lastInteractedWith:o})}}}catch(e){i.e(e)}finally{i.f()}}if(n.size){var s,d=h(n);try{for(d.s();!(s=d.n()).done;){var f=s.value;if(z(t,f)||ae(t,f).isBranch){var p=Z(t,f);F(p?{type:I,ids:[f,p],lastInteractedWith:f}:{type:E,id:f,lastInteractedWith:f})}}}catch(e){d.e(e)}finally{d.f()}}}),[r]),(0,o.useEffect)((function(){if(C){var e=new Set(u(le));Q&&$!==_&&$!==S&&$!==E&&$!==N&&e.add(Q);var n=[];e.forEach((function(e){t.find((function(t){return t.id===e}))||n.push(e)})),n.forEach((function(t){return e.delete(t)}));var r,a=function(e,t,n,r,a,l){var i,o={every:new Set,some:new Set,none:new Set},c=h(t);try{for(c.s();!(i=c.n()).done;)for(var s=i.value;;){var d=Z(e,s);if(0===d||null==d||null!=d&&r.has(d))break;var u=ae(e,d).children.filter((function(e){return!r.has(e)}));if(0===u.length)break;if(u.some((function(e){return n.has(e)||o.some.has(e)&&!o.none.has(e)||a.has(e)&&!o.none.has(e)})))u.every((function(e){return n.has(e)}))?o.every.add(d):o.some.add(d);else{var f=H(e,s,r).find((function(e){return n.has(e)}));if(!l&&f){V(e,f,r).forEach((function(e){a.has(e)&&o.none.add(e)}));break}o.none.add(d)}s=d}}catch(e){c.e(e)}finally{c.f()}return o}(t,e,K,G,X,g),l=a.every,i=a.some,o=a.none,c=h(l);try{for(c.s();!(r=c.n()).done;){var s=r.value;K.has(s)||F({type:k,id:s,multiSelect:g||te(t,s,K),keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q})}}catch(e){c.e(e)}finally{c.f()}var d,f=h(i);try{for(f.s();!(d=f.n()).done;){var p=d.value;X.has(p)||F({type:O,id:p,lastInteractedWith:Q,keepFocus:!0,NotUserAction:!0})}}catch(e){f.e(e)}finally{f.f()}var v,m=h(o);try{for(m.s();!(v=m.n()).done;){var b=v.value;(K.has(b)||X.has(b))&&F({type:x,id:b,multiSelect:g,keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q,lastManuallyToggled:J})}}catch(e){m.e(e)}finally{m.f()}}}),[t,g,C,K,Y,G,X,$,ne,le,Q,ue]),(0,o.useEffect)((function(){if(null!=Q&&null!=q&&null!=(null==c?void 0:c.current)&&null!=(null==s?void 0:s.current)){var e=c.current[q];!function(e){null!=e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest"})}(s.current[Q]),function(e){null!=e&&e.focus&&e.focus({preventScroll:!0})}(e)}}),[q,c,s,Q]),[R,F]},de=o.forwardRef((function(e,t){var n=e.data,r=e.selectedIds,l=e.nodeRenderer,i=e.onSelect,s=void 0===i?M:i,u=e.onNodeSelect,f=void 0===u?M:u,p=e.onExpand,h=void 0===p?M:p,g=e.onLoadData,y=e.className,S=void 0===y?"":y,w=e.multiSelect,E=void 0!==w&&w,I=e.propagateSelect,O=void 0!==I&&I,k=e.propagateSelectUpwards,x=void 0!==k&&k,N=e.propagateCollapse,C=void 0!==N&&N,j=e.expandOnKeyboardSelect,T=void 0!==j&&j,_=e.togglableSelect,L=void 0!==_&&_,B=e.defaultExpandedIds,W=void 0===B?[]:B,R=e.defaultSelectedIds,D=void 0===R?[]:R,P=e.defaultDisabledIds,U=void 0===P?[]:P,z=e.clickAction,Z=void 0===z?b.select:z,H=e.nodeAction,V=void 0===H?"select":H,F=e.expandedIds,K=e.onBlur,Y=v(e,["data","selectedIds","nodeRenderer","onSelect","onNodeSelect","onExpand","onLoadData","className","multiSelect","propagateSelect","propagateSelectUpwards","propagateCollapse","expandOnKeyboardSelect","togglableSelect","defaultExpandedIds","defaultSelectedIds","defaultDisabledIds","clickAction","nodeAction","expandedIds","onBlur"]);!function(e){if(le(e.map((function(e){return e.id}))))throw Error("Multiple TreeView nodes have the same ID. IDs must be unique.");if(e.forEach((function(e){if(e.id===e.parent)throw Error("Node with id=".concat(e.id," has parent reference to itself."));if(le(e.children))throw Error("Node with id=".concat(e.id," contains duplicate ids in its children."))})),0===e.filter((function(e){return null===e.parent})).length)throw Error("TreeView must have one root node.");if(e.filter((function(e){return null===e.parent})).length>1)throw Error("TreeView can have only one root node.");re(e).children.length||console.warn("TreeView have no nodes to display.")}(n);var G=(0,o.useRef)({}),q=(0,o.useRef)({}),X=d(se({data:n,controlledSelectedIds:r,controlledExpandedIds:F,defaultExpandedIds:W,defaultSelectedIds:D,defaultDisabledIds:U,nodeRefs:G,leafRefs:q,onSelect:s,onNodeSelect:f,onExpand:h,onLoadData:g,togglableSelect:L,multiSelect:E,propagateSelect:O,propagateSelectUpwards:x}),2),$=X[0],Q=X[1];O=O&&E;var J=(0,o.useRef)(null);return null!=t&&(J=t),o.createElement("ul",Object.assign({className:a()(m.root,S),role:"tree","aria-multiselectable":"select"===V?E:void 0,ref:J,onBlur:function(e){!function(e,t,n){null!=t?window.navigator.userAgent.match(/Trident/)?setTimeout((function(){return!t.contains(document.activeElement)&&n()}),0):!t.contains(e.nativeEvent.relatedTarget)&&n():console.warn("ref not set on
      ")}(e,J.current,(function(){K&&K({treeState:$,dispatch:Q}),Q({type:A})}))},onKeyDown:ue({data:n,tabbableId:$.tabbableId,expandedIds:$.expandedIds,selectedIds:$.selectedIds,disabledIds:$.disabledIds,halfSelectedIds:$.halfSelectedIds,clickAction:Z,dispatch:Q,propagateCollapse:C,propagateSelect:O,multiSelect:E,expandOnKeyboardSelect:T,togglableSelect:L})},Y),re(n).children.map((function(e,t){return o.createElement(oe,Object.assign({key:"".concat(e,"-").concat(c(e)),data:n,element:ae(n,e),setsize:re(n).children.length,posinset:t+1,level:1},$,{state:$,dispatch:Q,nodeRefs:G,leafRefs:q,baseClassNames:m,nodeRenderer:l,propagateCollapse:C,propagateSelect:O,propagateSelectUpwards:x,multiSelect:E,togglableSelect:L,clickAction:Z,nodeAction:V}))})))})),ue=function(e){var t=e.data,n=e.expandedIds,r=e.selectedIds,a=e.disabledIds,l=e.tabbableId,i=e.dispatch,o=e.propagateCollapse,c=e.propagateSelect,s=e.multiSelect,d=e.expandOnKeyboardSelect,f=e.togglableSelect,p=e.clickAction;return function(e){var h=ae(t,l),v=h.id;if(e.ctrlKey){if("a"===e.key){e.preventDefault();var m=t.filter((function(e){return null!==e.parent})).map((function(e){return e.id})).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:Array.from(r).filter((function(e){return!a.has(e)})).length!==m.length,ids:m,lastInteractedWith:h.id})}else if(e.shiftKey&&("Home"===e.key||"End"===e.key)){var g="Home"===e.key?re(t).children[0]:Y(t,v,n),y=X({data:t,expandedIds:n,from:v,to:g}).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:!0,ids:c?ee(t,y,a):y}),i({type:_,id:g,lastInteractedWith:g})}}else{if(e.shiftKey)switch(e.key){case"ArrowUp":e.preventDefault();var O=G(t,v,n);return void(null==O||a.has(O)||(i({type:j,ids:c?ee(t,[O],a):[O],select:!0,multiSelect:s,lastInteractedWith:O,lastManuallyToggled:O}),i({type:_,id:O,lastInteractedWith:O})));case"ArrowDown":e.preventDefault();var x=q(t,v,n);return void(null==x||a.has(x)||(i({type:j,ids:c?ee(t,[x],a):[x],multiSelect:s,select:!0,lastInteractedWith:x,lastManuallyToggled:x}),i({type:_,id:x,lastInteractedWith:x})))}switch(e.key){case"ArrowDown":e.preventDefault();var C=q(t,v,n);return void(null!=C&&i({type:_,id:C,lastInteractedWith:C}));case"ArrowUp":e.preventDefault();var T=G(t,v,n);return void(null!=T&&i({type:_,id:T,lastInteractedWith:T}));case"ArrowLeft":if(e.preventDefault(),(z(t,v)||h.isBranch)&&n.has(l))if(o){var A=[v].concat(u(V(t,v,new Set)));i({type:w,ids:A,lastInteractedWith:h.id})}else i({type:S,id:v,lastInteractedWith:v});else if(!re(t).children.includes(v)){var L=Z(t,v);if(null==L)throw new Error("parentId of root element is null");i({type:_,id:L,lastInteractedWith:L})}return;case"ArrowRight":return e.preventDefault(),void((z(t,v)||h.isBranch)&&(n.has(l)?i({type:_,id:h.children[0],lastInteractedWith:h.children[0]}):i({type:E,id:v,lastInteractedWith:v})));case"Home":e.preventDefault(),i({type:_,id:re(t).children[0],lastInteractedWith:re(t).children[0]});break;case"End":e.preventDefault();var B=Y(t,re(t).id,n);return void i({type:_,id:B,lastInteractedWith:B});case"*":e.preventDefault();var W=Z(t,v);if(null==W)throw new Error("parentId of element is null");var M=ae(t,W).children.filter((function(e){return z(t,e)||ae(t,e).isBranch}));return void i({type:I,ids:M,lastInteractedWith:v});case"Enter":case" ":case"Spacebar":if(e.preventDefault(),p===b.focus)return;return i({type:f?ne(t,v,r,a):k,id:v,multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),c&&!a.has(h.id)&&i({type:j,ids:ee(t,[v],a),select:!f||!r.has(v),multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),void(d&&i({type:N,id:v,lastInteractedWith:v}));default:if(1===e.key.length)for(var R=q(t,v,n);R!==v;)if(null!=R){if(ae(t,R).name[0].toLowerCase()===e.key.toLowerCase())return void i({type:_,id:R,lastInteractedWith:v});R=q(t,R,n)}else R=re(t).children[0];return}}}};de.propTypes={data:i().array.isRequired,onSelect:i().func,onNodeSelect:i().func,onExpand:i().func,className:i().string,nodeRenderer:i().func.isRequired,defaultExpandedIds:i().array,defaultSelectedIds:i().array,expandedIds:i().array,selectedIds:i().array,defaultDisabledIds:i().array,propagateCollapse:i().bool,propagateSelect:i().bool,propagateSelectUpwards:i().bool,multiSelect:i().bool,expandOnKeyboardSelect:i().bool,togglableSelect:i().bool,nodeAction:i().oneOf(y),clickAction:i().oneOf(g),onBlur:i().func,onLoadData:i().func},t.ZP=de},9583:function(e,t,n){"use strict";n.d(t,{AeW:function(){return l},IEK:function(){return s},kty:function(){return i},u9M:function(){return o},xik:function(){return a},zuo:function(){return c}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"}}]})(e)}},1649:function(e,t,n){"use strict";n.d(t,{am:function(){return a}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"}}]})(e)}},8357:function(e,t,n){"use strict";n.d(t,{w_:function(){return s}});var r=n(7294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(a),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[u])}))?n.splice(u--,1):(c=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var f={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){f[t]=function(){return e[t]}}));return f.default=function(){return e},i.d(o,f),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",73:"e56b3d68",99:"0f6bc27b",147:"3ec8ed95",148:"22f348d2",195:"c4f5d8e4",207:"5fbc5cf1",320:"13c4e3bb",442:"64f7982e",507:"28e78d68",514:"1be78505",535:"f7176354",592:"common",627:"878f79e1",648:"80ab3120",864:"6ebfbd9a",890:"3a56c823",891:"366a509e",918:"17896441",982:"88d09b9b"}[e]||e)+"."+{53:"ef62f291",73:"6c84bca0",99:"c8e7e4a7",147:"3cc4fa62",148:"7ee9352d",195:"86f346cc",207:"1d3098f8",320:"80703ae5",442:"14b3f1ac",507:"a9650a1a",514:"50ad97e7",535:"82bb532b",592:"ab062679",627:"1f88265b",648:"ded4a173",670:"85b5b7f9",859:"8276f4fa",864:"578d5a9a",890:"93ee3602",891:"a9292136",918:"28b37a0d",972:"3ccd22ab",982:"8671656c"}[e]+".js"},i.miniCssF=function(e){},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="website:",i.l=function(e,t,n,f){if(r[e])r[e].push(t);else{var c,u;if(void 0!==n)for(var a=document.getElementsByTagName("script"),b=0;b=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[u])}))?n.splice(u--,1):(c=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var f={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){f[t]=function(){return e[t]}}));return f.default=function(){return e},i.d(o,f),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",73:"e56b3d68",99:"0f6bc27b",147:"3ec8ed95",148:"22f348d2",195:"c4f5d8e4",207:"5fbc5cf1",320:"13c4e3bb",442:"64f7982e",507:"28e78d68",514:"1be78505",535:"f7176354",592:"common",627:"878f79e1",648:"80ab3120",864:"6ebfbd9a",890:"3a56c823",891:"366a509e",918:"17896441",982:"88d09b9b"}[e]||e)+"."+{53:"ef62f291",73:"6c84bca0",99:"c8e7e4a7",147:"3cc4fa62",148:"7ee9352d",195:"86f346cc",207:"1d3098f8",320:"80703ae5",442:"14b3f1ac",507:"a9650a1a",514:"50ad97e7",535:"82bb532b",592:"d7b5a18d",627:"1f88265b",648:"ded4a173",670:"85b5b7f9",859:"8276f4fa",864:"578d5a9a",890:"93ee3602",891:"a9292136",918:"28b37a0d",972:"3ccd22ab",982:"8671656c"}[e]+".js"},i.miniCssF=function(e){},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="website:",i.l=function(e,t,n,f){if(r[e])r[e].push(t);else{var c,u;if(void 0!==n)for(var a=document.getElementsByTagName("script"),b=0;b API Reference | react-accessible-treeview - + @@ -16,7 +16,7 @@ Note: the function uses the state right after the selection before propagation.

    onExpand​

    • Arguments: onExpand({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState}) Note: the function uses the state after the expansion.

    onLoadData​

    • Arguments: onLoadData({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState}) Note: the function uses the state after inital data is loaded and on expansion .

    Keyboard Navigation​

    Follows the same conventions described in https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html and https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22.

    KeyFunction
    Enter or SpaceUpdates the selected node to the current node and triggers onSelect
    Down Arrow
    • Moves focus to the next node that is tabbable without opening or closing a node.
    • If focus is on the last node, does nothing.
    Up arrow
    • Moves focus to the previous node that is tabbable without opening or closing a node.
    • If focus is on the first node, does nothing.
    Right Arrow
    • When focus is on a closed node, opens the node; focus does not move.
    • When focus is on an end node, does nothing.
    • When focus is on a open node, moves focus to the first child node.
    Left Arrow
    • When focus is on an open node, closes the node.
    • When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
    • When focus is on a root node that is also either an end node or a closed node, does nothing.
    HomeMoves focus to first node without opening or closing a node.
    EndMoves focus to the last node that can be focused without expanding any nodes that are closed.
    a-z, A-Z
    • Focus moves to the next node with a name that starts with the typed character.
    • Search wraps to first node if a matching name is not found among the nodes that follow the focused node.
    • Search ignores nodes that are descendants of closed nodes.
    * (asterisk)
    • Expands all closed sibling nodes that are at the same level as the focused node.
    • Focus does not move.
    Shift + Down ArrowMoves focus to and toggles the selection state of the next node.
    Shift + Up ArrowMoves focus to and toggles the selection state of the previous node.
    Ctrl + ASelects all nodes in the tree. If all nodes are selected, unselects all nodes.


    Mouse Navigation​

    KeyFunction
    ClickToggles parent nodes and also performs one of clickActions = SELECT, EXCLUSIVE_SELECT, FOCUS
    Ctrl+ClickIf multiselect is set to true, selects the node without dropping the current selected ones. If false, it selects the clicked node. Doesn't toggle parents.
    Shift+ClickIf multiselect is set to true, selects from the node without dropping the current selected ones. If false, it focus the clicked node. Doesn't toggle parents.


    Click actions​

    VariantFunction
    SELECTSelects the clicked node (default).
    EXCLUSIVE_SELECTSelects the clicked node and deselects the rest.
    FOCUSFocuses the clicked node


    treeState​

    The internal state of the component.

    PropertyTypeDefaultDescription
    selectedIdsSetnew Set(defaultSelectedIds)Set of the ids of the selected nodes
    controlledIdsSetnew Set(controlledSelectedIds)Set of the ids of the nodes selected programmatically
    tabbableIdnumberdata[0].children[0]Id of the node with tabindex = 0
    isFocusedboolfalseWhether the tree has focus
    expandedIdsSetnew Set(defaultExpandedIds)Set of the ids of the expanded nodes
    halfSelectedIdsSetnew Set()Set of the ids of the selected nodes
    lastUserSelectnumberdata[0].children[0]Last selection made directly by the user
    lastInteractedWithnumber or nullnullLast node interacted with
    lastManuallyTogglednumber or nullnullLast node that was manually selected/deselected
    disabledIdsSetnew Set(defaultDisabledIds)Set of the ids of the selected nodes
    - + \ No newline at end of file diff --git a/docs/examples-Basic.html b/docs/examples-Basic.html index b479f185..a1b0ae0c 100644 --- a/docs/examples-Basic.html +++ b/docs/examples-Basic.html @@ -4,13 +4,13 @@ Basic | react-accessible-treeview - +

    Basic

    The simplest instance of the component, a good base on which a custom component can be built.

    • .npmignore
    • package.json
    • webpack.config.js
    - + \ No newline at end of file diff --git a/docs/examples-ControlledExpandedNode.html b/docs/examples-ControlledExpandedNode.html index 25028e5b..233aff5b 100644 --- a/docs/examples-ControlledExpandedNode.html +++ b/docs/examples-ControlledExpandedNode.html @@ -4,13 +4,13 @@ Basic with controlled expandable node | react-accessible-treeview - +

    Basic with controlled expandable node

    This example demonstrates how to create a simple tree with controlled expandable node

    • Fruits-1
      • Avocados-2
      • Bananas-3
      • Berries-4
      • Oranges-5
      • Pears-6
    - + \ No newline at end of file diff --git a/docs/examples-DataTypes.html b/docs/examples-DataTypes.html index 4caa1aff..83c87b1c 100644 --- a/docs/examples-DataTypes.html +++ b/docs/examples-DataTypes.html @@ -4,13 +4,13 @@ Data types | react-accessible-treeview - +

    Data types

    This example demonstrates different ways of defining ids in data

    You can define IDs for your tree nodes yourself (they have to be of type number or string). Alternatively, if IDs are not defined, flattenTree() will create sequential, unique node IDs. If you are loading TreeView data asynchronously, it is recommended to define IDs yourself.

    IDs defined by consumer (you)

    IDs set by flattenTree()

    - + \ No newline at end of file diff --git a/docs/examples-DirectoryTree.html b/docs/examples-DirectoryTree.html index eef9386f..4798de24 100644 --- a/docs/examples-DirectoryTree.html +++ b/docs/examples-DirectoryTree.html @@ -4,13 +4,13 @@ Directory tree (single selection) | react-accessible-treeview - +

    Directory tree (single selection)

    An example of how to customize the styling of the component

    • .npmignore
    • package.json
    • webpack.config.js
    - + \ No newline at end of file diff --git a/docs/examples-Filtering.html b/docs/examples-Filtering.html index f3982b2b..ed2c9594 100644 --- a/docs/examples-Filtering.html +++ b/docs/examples-Filtering.html @@ -4,13 +4,13 @@ Filtering | react-accessible-treeview - +

    Filtering

    The example how to implement filtering within a tree.

    • AFGHANISTAN
    • ALAND ISLANDS
    • ALBANIA
    • ALGERIA
    • AMERICAN SAMOA
    • ANDORRA
    • ANGOLA
    • ANGUILLA
    • ANTARCTICA
    • ANTIGUA AND BARBUDA
    • ARGENTINA
    • ARMENIA
    • ARUBA
    • AUSTRALIA
    • AUSTRIA
    • AZERBAIJAN
    • BAHAMAS
    • BAHRAIN
    • BANGLADESH
    • BARBADOS
    • BELARUS
    • BELGIUM
    • BELIZE
    • BENIN
    • BERMUDA
    • BHUTAN
    • BHUTAN
    • BOLIVIA
    • BONAIRE, SINT EUSTATIUS AND SABA
    • BOSNIA and HERZEGOVINA
    • BOTSWANA
    • BOUVET ISLAND
    • BRAZIL
    • BRAZIL
    • BRITISH INDIAN OCEAN TERRITORY
    • BRUNEI DARUSSALAM
    • BULGARIA
    • BURKINA FASO
    • BURUNDI
    • CAMBODIA
    • CAMEROON
    • CANADA
    • CAPE VERDE
    • CAYMAN ISLANDS
    • CENTRAL AFRICAN REPUBLIC
    • CHAD
    • CHILE
    • CHINA
    • CHINA
    • CHRISTMAS ISLAND
    • COCOS (KEELING) ISLANDS
    • COLOMBIA
    • COMOROS
    • CONGO
    • COOK ISLANDS
    • COSTA RICA
    • COTE D’IVOIRE (IVORY COAST)
    • CROATIA
    • CURACAO
    • CYPRUS
    • CZECH REPUBLIC
    • DEMOCRATIC REPUBLIC OF THE CONGO
    • DENMARK
    • DJIBOUTI
    • DOMINICA
    • DOMINICAN REPUBLIC
    • EGYPT
    • EL SALVADOR
    • ECUADOR
    • EQUATORIAL GUINEA
    • ERITREA
    • ERITREA
    • ESTONIA
    • ETHIOPIA
    • FALKLAND ISLANDS (MALVINAS)
    • FEDERATED STATES OF MICRONESIA
    • FIJI
    • FINLAND
    • FRANCE
    • FRANCE, METROPOLITAN
    • FRENCH GUIANA
    • FRENCH POLYNESIA
    • GABON
    • GAMBIA
    • GEORGIA
    • GERMANY
    • GHANA
    • GIBRALTAR
    • GREECE
    • GREENLAND
    • GRENADA
    • GUADELOUPE
    • GUAM
    • GUATEMALA
    • GUINEA-BISSAU
    • GUINEA
    • GUYANA
    • HAITI
    • HEARD and MCDONALD ISLANDS
    • HOLY SEE (VATICAN CITY STATE)
    • HONDURUS
    • HONG KONG
    • HUNGARY
    • ICELAND
    • INDIA
    • INDONESIA
    • IRAQ
    • ISRAEL
    • IRELAND
    • ISLE OF MAN
    • ITALY
    • JAMAICA
    • JAPAN
    • JERSEY
    • JORDAN
    • KAZAKHSTAN
    • KENYA
    • KIRIBATI
    • KOREA, REPUBLIC OF
    • KUWAIT
    • KYRGYZSTAN
    • LAO PEOPLE'S DEMOCRATIC REPUBLIC
    • LATVIA
    • LEBANON
    • LESOTHO
    • LESOTHO
    • LIBERIA
    • LIBYAN ARAB JAMAHIRIYA
    • LIECHTENSTEIN
    • LITHUANIA
    • LUXEMBOURG
    • MACAO
    • MACEDONIA
    • MADAGASCAR
    • MALAWI
    • MALAYSIA
    • MALDIVES
    • MALI
    • MALTA
    • MARSHALL ISLANDS
    • MARTINIQUE
    • MAURITANIA
    • MAURITIUS
    • MAYOTTE
    • MEXICO
    • MOLDOVA, REPUBLIC OF
    • MONACO
    • MONGOLIA
    • MONTENEGRO, REPUBLIC OF
    • MONTSERRAT
    • MOROCCO
    • MOZAMBIQUE
    • MYANMAR
    • NAMIBIA
    • NAURU
    • NEPAL
    • NETHERLANDS
    • NETHERLANDS ANTILLES
    • NEW CALEDONIA
    • NEW ZEALAND
    • NICARAGUA
    • NIGER
    • NIGERIA
    • NIUE
    • NORFOLK ISLAND
    • NORTHERN MARIANA ISLANDS
    • NORWAY
    • OMAN
    • PAKISTAN
    • PALAU
    • PANAMA
    • PAPUA NEW GUINEA
    • PARAGUAY
    • PERU
    • PHILIPPINES
    • PITCAIRN
    • POLAND
    • PORTUGAL
    • PUERTO RICO
    • QATAR
    • REUNION
    • ROMANIA
    • RUSSIAN FEDERATION
    • RWANDA
    • SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA
    • SAMOA
    • SAN MARINO
    • SAO TOME AND PRINCIPE
    • SAUDI ARABIA
    • SENEGAL
    • SERBIA
    • SEYCHELLES
    • SIERRA LEONE
    • SINGAPORE
    • SINT MAARTEN (DUTCH PART)
    • SLOVAKIA
    • SLOVENIA
    • SOLOMON ISLANDS
    • SOMALIA
    • SOUTH AFRICA
    • SOUTH SUDAN
    • SPAIN
    • SRI LANKA
    • ST. KITTS-NEVIS
    • ST. LUCIA
    • ST. PIERRE AND MIQUELON
    • ST. VINCENT AND THE GRENADINES
    • SURINAME
    • SVALBARD AND JAN MAYEN
    • SWITZERLAND
    • SWAZILAND
    • SWEDEN
    • TAIWAN
    • TAJIKISTAN
    • TANZANIA, UNITED REPUBLIC OF
    • THAILAND
    • TIMOR-LESTE
    • TOGO
    • TOKELAU
    • TONGA
    • TRINIDAD AND TOBAGO
    • TUNISIA
    • TURKEY
    • TURKMENISTAN
    • TURKS and CAICOS ISLANDS
    • TUVALU
    • UGANDA
    • UKRAINE
    • UNITED ARAB EMIRATES
    • UNITED KINGDOM
    • UNITED STATES
    • URUGUAY
    • UZBEKISTAN
    • VANUATU
    • VENEZUELA
    • VIETNAM
    • BRITISH VIRGIN ISLANDS
    • U.S. VIRGIN ISLANDS
    • WALLIS AND FUTUNA ISLANDS
    • WESTERN SAHARA
    • YEMEN
    • ZAMBIA
    • ZIMBABWE
    • CUBA
    • ECUADOR
    • IRAN
    • LATVIA
    • LITHUANIA
    • GUINEA-BISSAU
    • SYRIA
    • TONGA
    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckbox.html b/docs/examples-MultiSelectCheckbox.html index 9e7566f6..c261d6e5 100644 --- a/docs/examples-MultiSelectCheckbox.html +++ b/docs/examples-MultiSelectCheckbox.html @@ -4,13 +4,13 @@ Checkbox | react-accessible-treeview - +

    Checkbox

    This example demonstrates how to create a checkbox tree

    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxAsync.html b/docs/examples-MultiSelectCheckboxAsync.html index 90e7d904..bec9f1f3 100644 --- a/docs/examples-MultiSelectCheckboxAsync.html +++ b/docs/examples-MultiSelectCheckboxAsync.html @@ -4,13 +4,13 @@ Asynchronous loading | react-accessible-treeview - +

    Asynchronous loading

    This example demonstrates how to create a checkbox tree with asynchronous loading

    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxAsyncControlled.html b/docs/examples-MultiSelectCheckboxAsyncControlled.html index 48907c19..19513c67 100644 --- a/docs/examples-MultiSelectCheckboxAsyncControlled.html +++ b/docs/examples-MultiSelectCheckboxAsyncControlled.html @@ -4,13 +4,13 @@ Asynchronous loading with Controlled selection | react-accessible-treeview - +

    Asynchronous loading with Controlled selection

    This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection

    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxControlled.html b/docs/examples-MultiSelectCheckboxControlled.html index 8668667b..81a2aad8 100644 --- a/docs/examples-MultiSelectCheckboxControlled.html +++ b/docs/examples-MultiSelectCheckboxControlled.html @@ -4,13 +4,13 @@ Checkbox with controlled selectedIds | react-accessible-treeview - +

    Checkbox with controlled selectedIds

    This example demonstrates how to create a checkbox tree

    • Fruits-1
      • Avocados-2
      • Bananas-3
      • Berries-4
      • Oranges-5
      • Pears-6
    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxDisabled.html b/docs/examples-MultiSelectCheckboxDisabled.html index 17ea5271..bae53aa7 100644 --- a/docs/examples-MultiSelectCheckboxDisabled.html +++ b/docs/examples-MultiSelectCheckboxDisabled.html @@ -4,13 +4,13 @@ Checkbox with disabled nodes | react-accessible-treeview - +

    Checkbox with disabled nodes

    This example demonstrates the use of disabled nodes

    - + \ No newline at end of file diff --git a/docs/examples-MultiSelectDirectoryTree.html b/docs/examples-MultiSelectDirectoryTree.html index 4c865e8a..a838d689 100644 --- a/docs/examples-MultiSelectDirectoryTree.html +++ b/docs/examples-MultiSelectDirectoryTree.html @@ -4,13 +4,13 @@ Directory tree (multiple selection) | react-accessible-treeview - +

    Directory tree (multiple selection)

    This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.

    • .npmignore
    • package.json
    • webpack.config.js
    - + \ No newline at end of file diff --git a/docs/examples-SingleSelectCheckbox.html b/docs/examples-SingleSelectCheckbox.html index 733046d2..ee3446ea 100644 --- a/docs/examples-SingleSelectCheckbox.html +++ b/docs/examples-SingleSelectCheckbox.html @@ -4,13 +4,13 @@ Checkbox (single selection) | react-accessible-treeview - +

    Checkbox (single selection)

    This example demonstrates how to create single select checkbox tree

    - + \ No newline at end of file diff --git a/index.html b/index.html index a0d89d34..327dfe47 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ react-accessible-treeview | react-accessible-treeview - +

    react-accessible-treeview

    A React component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.

    Features

    • Single and multiple selection
    • Disabled nodes
    • Extensive key bindings
    • .npmignore
    • package.json
    • webpack.config.js

    Flexible

    Highly customizable through the use of the render prop and prop getter patterns.
    - + \ No newline at end of file