@mintlify/msft-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +23 -0
  2. package/dist/components/content-components/all-components.js +27 -0
  3. package/dist/components/content-components/all-components.js.map +1 -0
  4. package/dist/components/content-components/callouts.js +50 -0
  5. package/dist/components/content-components/callouts.js.map +1 -0
  6. package/dist/components/content-components/callouts.module.css.js +26 -0
  7. package/dist/components/content-components/callouts.module.css.js.map +1 -0
  8. package/dist/components/content-components/code-block.js +86 -0
  9. package/dist/components/content-components/code-block.js.map +1 -0
  10. package/dist/components/content-components/code-block.module.css.js +28 -0
  11. package/dist/components/content-components/code-block.module.css.js.map +1 -0
  12. package/dist/components/content-components/default-components.js +36 -0
  13. package/dist/components/content-components/default-components.js.map +1 -0
  14. package/dist/components/content-components/default-components.module.css.js +12 -0
  15. package/dist/components/content-components/default-components.module.css.js.map +1 -0
  16. package/dist/components/content-components/details/details.js +42 -0
  17. package/dist/components/content-components/details/details.js.map +1 -0
  18. package/dist/components/content-components/details/details.module.css.js +20 -0
  19. package/dist/components/content-components/details/details.module.css.js.map +1 -0
  20. package/dist/components/content-components/heading.js +9 -0
  21. package/dist/components/content-components/heading.js.map +1 -0
  22. package/dist/components/content-components/link.js +23 -0
  23. package/dist/components/content-components/link.js.map +1 -0
  24. package/dist/components/content-components/link.module.css.js +10 -0
  25. package/dist/components/content-components/link.module.css.js.map +1 -0
  26. package/dist/components/content-components/param-name.js +9 -0
  27. package/dist/components/content-components/param-name.js.map +1 -0
  28. package/dist/components/content-components/param-name.module.css.js +8 -0
  29. package/dist/components/content-components/param-name.module.css.js.map +1 -0
  30. package/dist/components/content-components/table/index.js +122 -0
  31. package/dist/components/content-components/table/index.js.map +1 -0
  32. package/dist/components/content-components/table/table-modal.js +64 -0
  33. package/dist/components/content-components/table/table-modal.js.map +1 -0
  34. package/dist/components/content-components/table/table-modal.module.css.js +18 -0
  35. package/dist/components/content-components/table/table-modal.module.css.js.map +1 -0
  36. package/dist/components/content-components/table/table.module.css.js +30 -0
  37. package/dist/components/content-components/table/table.module.css.js.map +1 -0
  38. package/dist/components/content-components/tabs/tab.js +8 -0
  39. package/dist/components/content-components/tabs/tab.js.map +1 -0
  40. package/dist/components/content-components/tabs/tabs.js +87 -0
  41. package/dist/components/content-components/tabs/tabs.js.map +1 -0
  42. package/dist/components/content-components/tabs/tabs.module.css.js +24 -0
  43. package/dist/components/content-components/tabs/tabs.module.css.js.map +1 -0
  44. package/dist/components/content-components/zone-pivots/zone-pivot-context.js +52 -0
  45. package/dist/components/content-components/zone-pivots/zone-pivot-context.js.map +1 -0
  46. package/dist/components/content-components/zone-pivots/zone-pivot-selector.js +74 -0
  47. package/dist/components/content-components/zone-pivots/zone-pivot-selector.js.map +1 -0
  48. package/dist/components/content-components/zone-pivots/zone-pivot-selector.module.css.js +14 -0
  49. package/dist/components/content-components/zone-pivots/zone-pivot-selector.module.css.js.map +1 -0
  50. package/dist/components/content-components/zone-pivots/zone-pivot.js +25 -0
  51. package/dist/components/content-components/zone-pivots/zone-pivot.js.map +1 -0
  52. package/dist/components/content-components/zone-pivots/zone-target.js +8 -0
  53. package/dist/components/content-components/zone-pivots/zone-target.js.map +1 -0
  54. package/dist/components/mdx-renderer.js +13 -0
  55. package/dist/components/mdx-renderer.js.map +1 -0
  56. package/dist/components/mdx-renderer.module.css.js +8 -0
  57. package/dist/components/mdx-renderer.module.css.js.map +1 -0
  58. package/dist/components/nav-tree/dropdown-menu.js +68 -0
  59. package/dist/components/nav-tree/dropdown-menu.js.map +1 -0
  60. package/dist/components/nav-tree/dropdown-menu.module.css.js +52 -0
  61. package/dist/components/nav-tree/dropdown-menu.module.css.js.map +1 -0
  62. package/dist/components/nav-tree/index.js +126 -0
  63. package/dist/components/nav-tree/index.js.map +1 -0
  64. package/dist/components/nav-tree/mobile-nav.js +60 -0
  65. package/dist/components/nav-tree/mobile-nav.js.map +1 -0
  66. package/dist/components/nav-tree/mobile-nav.module.css.js +22 -0
  67. package/dist/components/nav-tree/mobile-nav.module.css.js.map +1 -0
  68. package/dist/components/nav-tree/nav-tree.module.css.js +34 -0
  69. package/dist/components/nav-tree/nav-tree.module.css.js.map +1 -0
  70. package/dist/components/page-context-menu.js +123 -0
  71. package/dist/components/page-context-menu.js.map +1 -0
  72. package/dist/components/page-context-menu.module.css.js +42 -0
  73. package/dist/components/page-context-menu.module.css.js.map +1 -0
  74. package/dist/components/page.js +85 -0
  75. package/dist/components/page.js.map +1 -0
  76. package/dist/components/page.module.css.js +48 -0
  77. package/dist/components/page.module.css.js.map +1 -0
  78. package/dist/components/prose.module.css.js +8 -0
  79. package/dist/components/prose.module.css.js.map +1 -0
  80. package/dist/components/toc/index.js +65 -0
  81. package/dist/components/toc/index.js.map +1 -0
  82. package/dist/components/toc/pivot-aware-toc.js +23 -0
  83. package/dist/components/toc/pivot-aware-toc.js.map +1 -0
  84. package/dist/components/toc/toc.module.css.js +18 -0
  85. package/dist/components/toc/toc.module.css.js.map +1 -0
  86. package/dist/hooks/useMarkdownCopy.js +50 -0
  87. package/dist/hooks/useMarkdownCopy.js.map +1 -0
  88. package/dist/index.d.ts +313 -0
  89. package/dist/index.js +45 -0
  90. package/dist/index.js.map +1 -0
  91. package/dist/parser/convert-html-to-mdx.js +28 -0
  92. package/dist/parser/convert-html-to-mdx.js.map +1 -0
  93. package/dist/parser/serialize-mdx.js +36 -0
  94. package/dist/parser/serialize-mdx.js.map +1 -0
  95. package/dist/plugins/rehype/rehype-code-blocks.js +44 -0
  96. package/dist/plugins/rehype/rehype-code-blocks.js.map +1 -0
  97. package/dist/plugins/remark/remark-heading-ids.js +23 -0
  98. package/dist/plugins/remark/remark-heading-ids.js.map +1 -0
  99. package/dist/plugins/sanitize/rehype-callouts.js +32 -0
  100. package/dist/plugins/sanitize/rehype-callouts.js.map +1 -0
  101. package/dist/plugins/sanitize/rehype-details.js +18 -0
  102. package/dist/plugins/sanitize/rehype-details.js.map +1 -0
  103. package/dist/plugins/sanitize/rehype-heading-ids.js +22 -0
  104. package/dist/plugins/sanitize/rehype-heading-ids.js.map +1 -0
  105. package/dist/plugins/sanitize/rehype-param-name.js +11 -0
  106. package/dist/plugins/sanitize/rehype-param-name.js.map +1 -0
  107. package/dist/plugins/sanitize/rehype-pre-to-mdx-fence.js +29 -0
  108. package/dist/plugins/sanitize/rehype-pre-to-mdx-fence.js.map +1 -0
  109. package/dist/plugins/sanitize/rehype-remark.js +50 -0
  110. package/dist/plugins/sanitize/rehype-remark.js.map +1 -0
  111. package/dist/plugins/sanitize/rehype-table-align.js +52 -0
  112. package/dist/plugins/sanitize/rehype-table-align.js.map +1 -0
  113. package/dist/plugins/sanitize/rehype-tabs.js +51 -0
  114. package/dist/plugins/sanitize/rehype-tabs.js.map +1 -0
  115. package/dist/plugins/sanitize/rehype-zone-pivots.js +106 -0
  116. package/dist/plugins/sanitize/rehype-zone-pivots.js.map +1 -0
  117. package/dist/plugins/sanitize/remove-html-comments.js +17 -0
  118. package/dist/plugins/sanitize/remove-html-comments.js.map +1 -0
  119. package/dist/styles.css +1 -0
  120. package/dist/utils/get-node-text.js +5 -0
  121. package/dist/utils/get-node-text.js.map +1 -0
  122. package/dist/utils/rehype.js +17 -0
  123. package/dist/utils/rehype.js.map +1 -0
  124. package/dist/utils/string.js +5 -0
  125. package/dist/utils/string.js.map +1 -0
  126. package/package.json +90 -0
@@ -0,0 +1 @@
1
+ ._container_1hsml_1{min-width:0;color:#424242}.dark ._container_1hsml_1{color:#d6d6d6}._prose_1ka1h_1{color:#424242;max-width:none;line-height:1.75}.dark ._prose_1ka1h_1{color:#d6d6d6}._prose_1ka1h_1 :where(p):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}._prose_1ka1h_1 :where([class~=lead]):not(:where([class~=not-prose] *)){color:#4b5563;font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}._prose_1ka1h_1 :where(a):not(:where([class~=not-prose] *)){color:#111827;text-decoration:underline;font-weight:500}._prose_1ka1h_1 :where(strong):not(:where([class~=not-prose] *)){color:#111827;font-weight:600}._prose_1ka1h_1 :where(a strong):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}._prose_1ka1h_1 :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}._prose_1ka1h_1 :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}._prose_1ka1h_1 :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}._prose_1ka1h_1 :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}._prose_1ka1h_1 :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}._prose_1ka1h_1 :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}._prose_1ka1h_1 :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}._prose_1ka1h_1 :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}._prose_1ka1h_1 :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}._prose_1ka1h_1 :where(ul):not(:where([class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}._prose_1ka1h_1 :where(ol>li):not(:where([class~=not-prose] *))::marker{font-weight:400;color:#6b7280}._prose_1ka1h_1 :where(ul>li):not(:where([class~=not-prose] *))::marker{color:#d1d5db}._prose_1ka1h_1 :where(hr):not(:where([class~=not-prose] *)){border-color:#e5e7eb;border-top-width:1px;margin-top:3em;margin-bottom:3em}._prose_1ka1h_1 :where(blockquote):not(:where([class~=not-prose] *)){font-weight:500;font-style:italic;color:#111827;border-left-width:.25rem;border-left-color:#e5e7eb;quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}._prose_1ka1h_1 :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}._prose_1ka1h_1 :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}._prose_1ka1h_1 :where(h1):not(:where([class~=not-prose] *)){color:#111827;font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}._prose_1ka1h_1 :where(h1 strong):not(:where([class~=not-prose] *)){font-weight:900;color:inherit}._prose_1ka1h_1 :where(h2):not(:where([class~=not-prose] *)){color:#111827;font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}._prose_1ka1h_1 :where(h2 strong):not(:where([class~=not-prose] *)){font-weight:800;color:inherit}._prose_1ka1h_1 :where(h3):not(:where([class~=not-prose] *)){color:#111827;font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}._prose_1ka1h_1 :where(h3 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}._prose_1ka1h_1 :where(h4):not(:where([class~=not-prose] *)){color:#111827;font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}._prose_1ka1h_1 :where(h4 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}._prose_1ka1h_1 :where(img):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._prose_1ka1h_1 :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}._prose_1ka1h_1 :where(figcaption):not(:where([class~=not-prose] *)){color:#6b7280;font-size:.875em;line-height:1.4285714;margin-top:.8571429em}._prose_1ka1h_1 :where(code):not(:where([class~=not-prose] *)){color:#111827;font-weight:600;font-size:.875em}._prose_1ka1h_1 :where(a code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(h2 code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(h3 code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}._prose_1ka1h_1 :where(pre):not(:where([class~=not-prose] *)){color:#e5e7eb;background-color:#1f2937;overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}._prose_1ka1h_1 :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}._prose_1ka1h_1 :where(pre code):not(:where([class~=not-prose] *)):before{content:none}._prose_1ka1h_1 :where(pre code):not(:where([class~=not-prose] *)):after{content:none}._prose_1ka1h_1 :where(table):not(:where([class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}._prose_1ka1h_1 :where(thead):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:#d1d5db}._prose_1ka1h_1 :where(thead th):not(:where([class~=not-prose] *)){color:#111827;font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}._prose_1ka1h_1 :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:#e5e7eb}._prose_1ka1h_1 :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}._prose_1ka1h_1 :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:baseline}._prose_1ka1h_1 :where(tfoot):not(:where([class~=not-prose] *)){border-top-width:1px;border-top-color:#d1d5db}._prose_1ka1h_1 :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}._prose_1ka1h_1 :where(video):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._prose_1ka1h_1 :where(figure):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._prose_1ka1h_1 :where(li):not(:where([class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}._prose_1ka1h_1 :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}._prose_1ka1h_1 :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}._prose_1ka1h_1 :where(._prose_1ka1h_1>ul>li p):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}._prose_1ka1h_1 :where(._prose_1ka1h_1>ul>li>*:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}._prose_1ka1h_1 :where(._prose_1ka1h_1>ul>li>*:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}._prose_1ka1h_1 :where(._prose_1ka1h_1>ol>li>*:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}._prose_1ka1h_1 :where(._prose_1ka1h_1>ol>li>*:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}._prose_1ka1h_1 :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}._prose_1ka1h_1 :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}._prose_1ka1h_1 :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}._prose_1ka1h_1 :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}._prose_1ka1h_1 :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}._prose_1ka1h_1 :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}._prose_1ka1h_1 :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}._prose_1ka1h_1 :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}._prose_1ka1h_1 :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}._prose_1ka1h_1 :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}._prose_1ka1h_1 :where(._prose_1ka1h_1>:first-child):not(:where([class~=not-prose] *)){margin-top:0}._prose_1ka1h_1 :where(._prose_1ka1h_1>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}._prose_1ka1h_1>:last-child:not(:where([class~=not-prose] *)){margin-bottom:0}.dark ._prose_1ka1h_1 :where([class~=lead]):not(:where([class~=not-prose] *)){color:#9ca3af}.dark ._prose_1ka1h_1 :where(a):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(strong):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(ol>li):not(:where([class~=not-prose] *))::marker{color:#9ca3af}.dark ._prose_1ka1h_1 :where(ul>li):not(:where([class~=not-prose] *))::marker{color:#6b7280}.dark ._prose_1ka1h_1 :where(hr):not(:where([class~=not-prose] *)){border-color:#374151}.dark ._prose_1ka1h_1 :where(blockquote):not(:where([class~=not-prose] *)){color:#fff;border-left-color:#374151}.dark ._prose_1ka1h_1 :where(h1):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(h2):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(h3):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(h4):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(figcaption):not(:where([class~=not-prose] *)){color:#9ca3af}.dark ._prose_1ka1h_1 :where(code):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(pre):not(:where([class~=not-prose] *)){color:#e5e7eb;background-color:#1f2937}.dark ._prose_1ka1h_1 :where(thead th):not(:where([class~=not-prose] *)){color:#fff}.dark ._prose_1ka1h_1 :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:#4b5563}.dark ._prose_1ka1h_1 :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:#6b7280}.dark ._prose_1ka1h_1 :where(tfoot):not(:where([class~=not-prose] *)){border-top-color:#6b7280}._overlay_oaifl_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}._modal_oaifl_12{position:relative;width:100%;max-width:80rem;max-height:90vh;overflow:auto;background-color:#fff;border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;border:1px solid #e5e7eb}.dark ._modal_oaifl_12{background-color:#1f1f1f;border-color:#ffffff1a}._header_oaifl_29{position:sticky;top:0;right:0;z-index:10;display:flex;justify-content:flex-end;padding:.5rem 1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}._closeButton_oaifl_40{padding:.5rem;border-radius:.5rem;background:transparent;border:none;cursor:pointer}._closeButton_oaifl_40:hover{background-color:#f3f4f6}.dark ._closeButton_oaifl_40:hover{background-color:#141414}._closeIcon_oaifl_56{height:1.25rem;width:1.25rem;color:#374151}.dark ._closeIcon_oaifl_56{color:#fff}._content_oaifl_66{padding:1rem 1.5rem}._container_1yfm4_1{position:relative;display:block;margin-bottom:1rem;margin-top:2rem}._expandButton_1yfm4_8{margin-left:auto;display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:.5rem;background:transparent;border:none;cursor:pointer}._expandButton_1yfm4_8:hover{background-color:#f3f4f6}.dark ._expandButton_1yfm4_8:hover{background-color:#2d2d2d}._expandIcon_1yfm4_28{height:1rem;width:1rem;color:#374151}.dark ._expandIcon_1yfm4_28{color:#e5e7eb}._expandText_1yfm4_38{font-size:.875rem;color:#374151}.dark ._expandText_1yfm4_38{color:#e5e7eb}._scrollContainer_1yfm4_47{margin-top:.5rem;overflow-x:auto}._table_1yfm4_52{margin-top:.5rem;border-collapse:collapse;font-size:.875rem;width:100%;border-radius:.75rem;overflow:hidden;background-color:#f9fafb}.dark ._table_1yfm4_52{background-color:#2d2d2d}._tableHeader_1yfm4_66{color:#374151;background-color:#f9fafb}.dark ._tableHeader_1yfm4_66{color:#d1d5db;background-color:#2d2d2d}._tableHeader_1yfm4_66 tr{border:0}._tableFooter_1yfm4_80{border-top:1px solid #e5e7eb;background-color:#f9fafb80;font-weight:500}.dark ._tableFooter_1yfm4_80{border-top-color:#4b5563;background-color:#2d2d2d80}._tableFooter_1yfm4_80 tr:last-child{border-bottom:0}._tableRow_1yfm4_95{border:1px solid #f9fafb}.dark ._tableRow_1yfm4_95{border-color:#2d2d2d}._tableHead_1yfm4_66{height:2rem;background-color:#f9fafb;overflow:hidden;padding:.5rem 1.5rem;text-align:left;font-weight:600;color:#374151}.dark ._tableHead_1yfm4_66{background-color:#2d2d2d;color:#d1d5db}._tableHead_1yfm4_66:first-child{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}._tableHead_1yfm4_66:last-child{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}._tableCell_1yfm4_128{background-color:#fff;border-color:#f9fafb;padding:.75rem 1.5rem;color:#141414}.dark ._tableCell_1yfm4_128{background-color:#252525;border-color:#2d2d2d;color:#e5e7eb}._tableCell_1yfm4_128:first-child{border-left:4px solid transparent}._tableCell_1yfm4_128:last-child{border-right:4px solid transparent}tbody>tr:first-child>._tableCell_1yfm4_128:first-child{border-top-left-radius:.75rem}tbody>tr:first-child>._tableCell_1yfm4_128:last-child{border-top-right-radius:.75rem}tbody>tr:last-child>._tableCell_1yfm4_128:first-child{border-bottom-left-radius:.75rem}tbody>tr:last-child>._tableCell_1yfm4_128:last-child{border-bottom-right-radius:.75rem}tbody>tr:last-child>._tableCell_1yfm4_128{border-bottom:4px solid transparent}._tableCaption_1yfm4_169{margin-top:1rem;font-size:.875rem;color:#6b7280}.dark ._tableCaption_1yfm4_169{color:#9ca3af}._inlineCode_16wxq_1{font-weight:500;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;background-color:#f3f4f6;box-shadow:0 0 0 1px #9ca3af4d;padding:.125rem .375rem;border-radius:.25rem}.dark ._inlineCode_16wxq_1{background-color:#1f1f1f;box-shadow:0 0 0 1px #37415180}._paragraph_16wxq_17{line-height:1.75}._blockquote_16wxq_21{border-left:4px solid #e5e7eb;padding-left:1.5rem;margin-bottom:1rem}.dark ._blockquote_16wxq_21{border-left-color:#fff3}._container_2biqe_1{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;margin-bottom:1rem;border:1px solid #e5e5e5;padding:.625rem .5rem .5rem;border-radius:.75rem;overflow:hidden}.dark ._container_2biqe_1{border-color:#262626}._fileName_2biqe_20{font-size:.875rem;font-weight:500;padding-left:.5rem;padding-right:.5rem}._codeWrapper_2biqe_27{position:relative;border-radius:.75rem;background-color:#f5f5f5}.dark ._codeWrapper_2biqe_27{background-color:#141414}._header_2biqe_37{display:flex;align-items:center;justify-content:space-between;padding-left:.75rem;padding-right:.75rem;padding-top:.5rem}._language_2biqe_46{font-size:.75rem;font-weight:500;color:#737373}.dark ._language_2biqe_46{color:#a3a3a3}._copyButton_2biqe_56{display:flex;align-items:center;gap:.375rem;padding:.25rem .5rem;font-size:.75rem;color:#737373;border-radius:.25rem;transition-property:color;transition-duration:.15s;border:none;background:transparent;cursor:pointer}.dark ._copyButton_2biqe_56{color:#a3a3a3}._copyButton_2biqe_56:hover{color:#171717}.dark ._copyButton_2biqe_56:hover{color:#fafafa}._copyIcon_2biqe_86{width:1.25rem;height:1.25rem}._copiedIcon_2biqe_91{width:1.25rem;height:1.25rem;color:#16a34a}.dark ._copiedIcon_2biqe_91{color:#4ade80}._scrollContainer_2biqe_101{overflow-x:auto}._pre_2biqe_105{padding:.5rem .75rem .75rem;margin:0;white-space:pre;font-size:.875rem}._code_2biqe_27{display:block;color:#24292e}.dark ._code_2biqe_27{color:#e6edf3}._link_1rr6d_1{text-decoration:underline}._srOnly_1rr6d_5{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}._callout_1k3jj_1{margin-top:1rem;margin-bottom:1rem;display:flex;gap:.5rem;padding:.625rem .75rem;border-radius:.5rem;border-width:1px;overflow:hidden}._iconContainer_1k3jj_12{display:flex;align-items:flex-start;justify-content:center;margin-top:2px}._icon_1k3jj_12{width:1.25rem;height:1.25rem;flex-shrink:0}._content_1k3jj_25{font-size:.875rem;min-width:0;width:100%}._content_1k3jj_25>p:first-of-type{margin-bottom:0;font-weight:600}._content_1k3jj_25>p:nth-of-type(2){margin-top:.5rem}._tip_1k3jj_40{background-color:#f1faf1;border-color:#9fd89f;color:#0c5e0c}.dark ._tip_1k3jj_40{background-color:#052505;border-color:#54b054;color:#54b054}._note_1k3jj_52{background-color:#f5f5f5;border-color:#d1d1d1;color:#242424}.dark ._note_1k3jj_52{background-color:#141414;border-color:#666;color:#fff}._warning_1k3jj_64{background-color:#fff9f5;border-color:#fdcfb4;color:#8a3707}.dark ._warning_1k3jj_64{background-color:#4a1e04;border-color:#de590b;color:#faa06b}._caution_1k3jj_76{background-color:#fdf3f4;border-color:#eeacb2;color:#960b18}.dark ._caution_1k3jj_76{background-color:#3b0509;border-color:#c50f1f;color:#dc626d}._important_1k3jj_88{background-color:#e1cefc;border-color:#8251ee;color:#643fb2}.dark ._important_1k3jj_88{background-color:#1a1326;border-color:#9263f1;color:#9263f1}._nextstepaction_1k3jj_100{background-color:#f9fafb;border-color:#d1d1d1;color:#141414}.dark ._nextstepaction_1k3jj_100{background-color:#141414;border-color:#666;color:#fff}._nextstepaction_1k3jj_100 ._icon_1k3jj_12{color:#616161}.dark ._nextstepaction_1k3jj_100 ._icon_1k3jj_12{color:#fff}._paramName_b3gwo_1{display:inline-block;margin-top:.5rem;margin-right:.25rem;padding:.125rem .375rem;font-size:.875rem;font-weight:600;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;border-radius:.25rem;background-color:#f3f4f6}.dark ._paramName_b3gwo_1{background-color:#2d2d2d}._details_d3x6c_1{margin-top:1rem;margin-bottom:1rem;border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden}.dark ._details_d3x6c_1{border-color:#ffffff1a}._summary_d3x6c_13{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;cursor:pointer;list-style:none;font-size:.875rem;font-weight:600;color:#111827}.dark ._summary_d3x6c_13{color:#fff}._summary_d3x6c_13:hover{background-color:#f9fafb}.dark ._summary_d3x6c_13:hover{background-color:#ffffff0d}._icon_d3x6c_37{transition:transform .15s;flex-shrink:0}._iconOpen_d3x6c_42{transform:rotate(0)}._iconClosed_d3x6c_46{transform:rotate(-90deg)}._content_d3x6c_50{flex:1}._body_d3x6c_54{padding:.5rem .75rem 1rem;border-top:1px solid #e5e7eb}.dark ._body_d3x6c_54{border-top-color:#ffffff1a}._container_1099y_1{margin-top:1.5rem;margin-bottom:1.5rem}._tabList_1099y_6{display:flex;gap:.25rem;border-bottom:1px solid #e5e7eb;margin-bottom:1rem;overflow-x:auto}.dark ._tabList_1099y_6{border-bottom-color:#374151}._tab_1099y_6{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-bottom:2px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;background:transparent;cursor:pointer;transition:all .15s}._tab_1099y_6:focus{outline:none}._tab_1099y_6:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #75b6e7;outline-offset:2px}._tabActive_1099y_39{border-bottom-color:#0078d4;color:#0078d4}.dark ._tabActive_1099y_39{border-bottom-color:#75b6e7;color:#75b6e7}._tabInactive_1099y_49{border-bottom-color:transparent;color:#4b5563}.dark ._tabInactive_1099y_49{color:#9ca3af}._tabInactive_1099y_49:hover{color:#111827;border-bottom-color:#d1d5db}.dark ._tabInactive_1099y_49:hover{color:#e5e7eb;border-bottom-color:#4b5563}._tabContent_1099y_68{display:flex;align-items:center;gap:.5rem}._panel_1099y_74{outline:none}._panelHidden_1099y_81{display:none}._container_1hsqx_1{margin-bottom:.5rem}@media (min-width: 1024px){._container_1hsqx_1{margin-bottom:.5rem}}._button_1hsqx_11{width:100%;padding:.5rem .75rem;border-radius:.75rem;background-color:#fff;border:1px solid rgba(229,231,235,.7);cursor:pointer}.dark ._button_1hsqx_11{background-color:#1f1f1f;border-color:#ffffff12}._button_1hsqx_11:hover{border-color:#d1d5db;background-color:#4b55630d}.dark ._button_1hsqx_11:hover{border-color:#ffffff26;background-color:#4b55630d}._button_1hsqx_11:focus-visible{outline:2px solid #643fb2;outline-offset:2px}._buttonActive_1hsqx_40{box-shadow:0 0 0 2px #643fb233;border-color:#643fb24d}._buttonContent_1hsqx_45{display:flex;align-items:center;gap:.5rem}._iconContainer_1hsqx_51{flex-shrink:0}._iconWrapper_1hsqx_55{width:2rem;height:2rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;background-color:#e1cefc;border:1px solid #643fb2}.dark ._iconWrapper_1hsqx_55{background-color:#38255e;border-color:#c9aaf9}._icon_1hsqx_51{width:1rem;height:1rem;color:#643fb2}.dark ._icon_1hsqx_51{color:#c9aaf9}._textContainer_1hsqx_81{flex:1;text-align:left;min-width:0}._title_1hsqx_87{font-size:.875rem;font-weight:500;color:#111827}.dark ._title_1hsqx_87{color:#fff}._description_1hsqx_97{font-size:.75rem;color:#4b5563;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dark ._description_1hsqx_97{color:#9ca3af}._chevronContainer_1hsqx_110{flex-shrink:0}._chevron_1hsqx_110{width:1rem;height:1rem;color:#6b7280;transition:transform .2s}.dark ._chevron_1hsqx_110{color:#9ca3af}._chevronExpanded_1hsqx_125{transform:rotate(180deg)}._chevronCollapsed_1hsqx_129{transform:rotate(0)}._dropdownContainer_1hsqx_133{position:relative;margin-top:.5rem}._dropdown_1hsqx_133{position:absolute;top:0;left:0;right:0;z-index:10;width:100%;padding:.25rem;border-radius:.5rem;background-color:#fff;border:1px solid rgba(229,231,235,.7);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.dark ._dropdown_1hsqx_133{background-color:#1f1f1f;border-color:#ffffff12}._dropdownList_1hsqx_158{display:flex;flex-direction:column;gap:.25rem}._dropdownItem_1hsqx_164{display:flex;align-items:center;justify-content:space-between;padding:.375rem .5rem;font-size:.875rem;border-radius:.75rem;transition:all .15s;text-decoration:none;color:#111827}.dark ._dropdownItem_1hsqx_164{color:#fff}._dropdownItem_1hsqx_164:hover{background-color:#4b55630d;color:#111827}.dark ._dropdownItem_1hsqx_164:hover{background-color:#4b55630d;color:#e5e7eb}._dropdownItem_1hsqx_164:focus-visible{outline:2px solid #643fb2;outline-offset:2px}._dropdownItemContent_1hsqx_195{display:flex;align-items:center;gap:.5rem}._dropdownItemIconWrapper_1hsqx_201{width:1.75rem;height:1.75rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;background-color:#e1cefc;border:1px solid #643fb2}.dark ._dropdownItemIconWrapper_1hsqx_201{background-color:#38255e;border-color:#c9aaf9}._dropdownItemIcon_1hsqx_201{width:1rem;height:1rem;color:#643fb2}.dark ._dropdownItemIcon_1hsqx_201{color:#c9aaf9}._dropdownItemTitle_1hsqx_227{font-weight:500}._checkmark_1hsqx_231{width:.75rem;height:.75rem;color:#643fb2}.dark ._checkmark_1hsqx_231{color:#c9aaf9}._nav_2wanx_1{display:flex;flex-direction:column;gap:.5rem}._group_2wanx_7{margin-bottom:1.5rem}._groupHeader_2wanx_11{font-size:.875rem;font-weight:600;color:#141414;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.dark ._groupHeader_2wanx_11{color:#fff}._groupIcon_2wanx_25{width:1.25rem;height:1.25rem}._list_2wanx_30{display:flex;flex-direction:column;gap:.25rem}._listItem_2wanx_36{list-style:none}._expandButton_2wanx_40{position:relative;text-align:left;width:100%;display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;font-size:.875rem;border-radius:.5rem;transition:all .15s;background:transparent;border:none;cursor:pointer;color:#4b5563}.dark ._expandButton_2wanx_40{color:#9ca3af}._expandButton_2wanx_40:hover{background-color:#4b55630d;color:#141414}.dark ._expandButton_2wanx_40:hover{background-color:#4b55630d;color:#e5e7eb}._expandButton_2wanx_40:focus-visible{outline:2px solid #643fb2;outline-offset:2px}._hoverIndicator_2wanx_76{position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:60%;border-radius:9999px;background-color:#643fb2;opacity:0;transition:opacity .15s}.dark ._hoverIndicator_2wanx_76{background-color:#c9aaf9}._expandButton_2wanx_40:hover ._hoverIndicator_2wanx_76{opacity:1}._chevron_2wanx_97{width:1rem;height:1rem;transition:transform .15s;color:#6b7280}.dark ._chevron_2wanx_97{color:#9ca3af}._chevronExpanded_2wanx_108{transform:rotate(90deg)}._chevronCollapsed_2wanx_112{transform:rotate(0)}._link_2wanx_116{position:relative;display:block;padding:.5rem .75rem;font-size:.875rem;border-radius:.75rem;transition:all .15s;text-decoration:none;color:#4b5563}.dark ._link_2wanx_116{color:#9ca3af}._link_2wanx_116:hover{background-color:#4b55630d;color:#141414}.dark ._link_2wanx_116:hover{background-color:#4b55630d;color:#e5e7eb}._link_2wanx_116:focus-visible{outline:2px solid #643fb2;outline-offset:2px}._linkActive_2wanx_146{background-color:#643fb21a;color:#643fb2;font-weight:500}._link_2wanx_116:hover ._hoverIndicator_2wanx_76{opacity:1}._nestedList_2wanx_156{margin-top:.25rem;margin-left:.75rem;display:flex;flex-direction:column;gap:.25rem;border-left:1px solid #e5e7eb;padding-left:.75rem}.dark ._nestedList_2wanx_156{border-left-color:#374151}:root{--scroll-mt: 3rem}h1,h2,h3,h4,h5,h6{scroll-margin-top:var(--scroll-mt)}iframe{width:100%;aspect-ratio:attr(width) / attr(height)}iframe:not([width]):not([height]){aspect-ratio:16 / 9}.code-scrollbar::-webkit-scrollbar{height:8px;width:8px}.code-scrollbar::-webkit-scrollbar-track{background:transparent}.code-scrollbar::-webkit-scrollbar-thumb{background:#0003;border-radius:4px}.code-scrollbar::-webkit-scrollbar-thumb:hover{background:#0000004d}:is(.dark *)::-webkit-scrollbar-thumb{background:#fff3}:is(.dark *)::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#6a737d}:is(.dark *) .token.comment,:is(.dark *) .token.prolog,:is(.dark *) .token.doctype,:is(.dark *) .token.cdata{color:#8b949e}.token.punctuation{color:#24292e}:is(.dark *) .token.punctuation{color:#e6edf3}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#005cc5}:is(.dark *) .token.property,:is(.dark *) .token.tag,:is(.dark *) .token.boolean,:is(.dark *) .token.number,:is(.dark *) .token.constant,:is(.dark *) .token.symbol,:is(.dark *) .token.deleted{color:#79c0ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#032f62}:is(.dark *) .token.selector,:is(.dark *) .token.attr-name,:is(.dark *) .token.string,:is(.dark *) .token.char,:is(.dark *) .token.builtin,:is(.dark *) .token.inserted{color:#a5d6ff}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#d73a49}:is(.dark *) .token.operator,:is(.dark *) .token.entity,:is(.dark *) .token.url,:is(.dark *) .language-css .token.string,:is(.dark *) .style .token.string{color:#ff7b72}.token.atrule,.token.attr-value,.token.keyword{color:#d73a49}:is(.dark *) .token.atrule,:is(.dark *) .token.attr-value,:is(.dark *) .token.keyword{color:#ff7b72}.token.function,.token.class-name{color:#6f42c1}:is(.dark *) .token.function,:is(.dark *) .token.class-name{color:#d2a8ff}.token.regex,.token.important,.token.variable{color:#e36209}:is(.dark *) .token.regex,:is(.dark *) .token.important,:is(.dark *) .token.variable{color:#ffa657}._list_sdpe2_1{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;color:#6b7280;font-weight:500}.dark ._list_sdpe2_1{color:#9ca3af}._listItem_sdpe2_14{position:relative}._activeIndicator_sdpe2_18{position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:9999px;background-color:#643fb2}.dark ._activeIndicator_sdpe2_18{background-color:#c9aaf9}._link_sdpe2_32{display:block;padding-left:1.5rem;line-height:1.625;transition:color .15s;text-decoration:none}._linkActive_sdpe2_40{color:#643fb2}.dark ._linkActive_sdpe2_40{color:#c9aaf9}._linkInactive_sdpe2_48:hover{color:#111827}.dark ._linkInactive_sdpe2_48:hover{color:#d1d5db}._container_19j54_1{display:flex;align-items:center;flex-shrink:0}._mainButton_19j54_7{border-radius:.75rem;padding:.375rem .75rem;border:1px solid #e5e7eb;background-color:#fff;color:#374151;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500}._mainButton_19j54_7:hover{background-color:#4b55630d}.dark ._mainButton_19j54_7{border-color:#ffffff12;background-color:#1a1a1a;color:#d1d5db}.dark ._mainButton_19j54_7:hover{background-color:#e5e7eb0d}._mainButton_19j54_7._split_19j54_35{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}._mainButton_19j54_7._copied_19j54_41{color:#6b7280}.dark ._mainButton_19j54_7._copied_19j54_41{color:#9ca3af}._buttonContent_19j54_49{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;color:#242424}.dark ._buttonContent_19j54_49{color:#dbdbdb}._icon_19j54_62{width:1.25rem;height:1.25rem;color:#424242}.dark ._icon_19j54_62{color:#b2b2b2}._dropdownToggle_19j54_72{border-radius:0;border-top-right-radius:.75rem;border-bottom-right-radius:.75rem;padding:.375rem .5rem;border:1px solid #e5e7eb;background-color:#fff;color:#374151;cursor:pointer}._dropdownToggle_19j54_72:hover{background-color:#4b55630d}.dark ._dropdownToggle_19j54_72{border-color:#ffffff12;background-color:#1a1a1a;color:#d1d5db}.dark ._dropdownToggle_19j54_72:hover{background-color:#e5e7eb0d}._chevron_19j54_97{width:1rem;height:1rem;transition:transform .15s}._chevron_19j54_97._open_19j54_103{transform:rotate(180deg)}._dropdownWrapper_19j54_107{position:relative}._dropdown_19j54_72{position:absolute;right:0;top:100%;margin-top:.25rem;z-index:50;max-height:420px;padding:.375rem;min-width:240px;border:1px solid #e5e7eb;background-color:#fff;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;overflow-y:auto}.dark ._dropdown_19j54_72{border-color:#ffffff12;background-color:#1a1a1a}._dropdownItem_19j54_133{width:100%;display:flex;align-items:center;gap:.75rem;padding:.5rem .625rem;cursor:pointer;border-radius:.75rem;transition:background-color .15s;border:none;background:none}._dropdownItem_19j54_133:hover{background-color:#4b55630d}.dark ._dropdownItem_19j54_133:hover{background-color:#e5e7eb0d}._dropdownIconWrapper_19j54_154{border:1px solid #e5e7eb;border-radius:.5rem;padding:.25rem;flex-shrink:0}.dark ._dropdownIconWrapper_19j54_154{border-color:#ffffff12}._dropdownIcon_19j54_154{width:1.25rem;height:1.25rem;color:#424242}.dark ._dropdownIcon_19j54_154{color:#b2b2b2}._dropdownItemContent_19j54_175{display:flex;flex-direction:column;flex:1;min-width:0;text-align:left}._dropdownItemTitle_19j54_183{font-size:.875rem;font-weight:500;color:#1f2937;display:flex;align-items:center;gap:.375rem}.dark ._dropdownItemTitle_19j54_183{color:#d1d5db}._externalIcon_19j54_196{width:.75rem;height:.75rem;color:#6b7280;flex-shrink:0}.dark ._externalIcon_19j54_196{color:#9ca3af}._dropdownItemDescription_19j54_207{font-size:.75rem;color:#6b7280;margin-top:.125rem}.dark ._dropdownItemDescription_19j54_207{color:#9ca3af}@media (max-width: 640px){._dropdown_19j54_72{right:auto;left:0;transform:translate(-123px)}}._pageContainer_1nz8v_1{padding-right:.5rem;background-color:#f0f0f0}.dark ._pageContainer_1nz8v_1{background-color:#0f0f0f}._sidebar_1nz8v_10{position:fixed;z-index:10;left:0;top:3.5rem;bottom:0;width:16.5rem;overflow-y:auto}@media (max-width: 1023px){._sidebar_1nz8v_10{display:none}}@media (min-width: 1024px){._sidebar_1nz8v_10{display:block}}._sidebarInner_1nz8v_32{padding:1.5rem}._mainWrapper_1nz8v_36{display:flex;border-radius:1rem;height:calc(100vh - 4.5rem)}._mainContent_1nz8v_42{flex:1;padding:2rem;overflow-y:auto;border-radius:1rem;background-color:#fff;border:1px solid rgba(229,231,235,.7);scrollbar-gutter:stable}@media (min-width: 1024px){._mainContent_1nz8v_42{margin-left:16.5rem;padding-left:4rem;padding-right:4rem;padding-top:3rem}}.dark ._mainContent_1nz8v_42{background-color:#1f1f1f;border-color:#ffffff12}._contentWrapper_1nz8v_66{display:flex;flex-direction:row-reverse;gap:3rem;justify-content:center;margin-left:auto;margin-right:auto;width:100%}._tocSidebar_1nz8v_76{width:16rem;flex-shrink:0;margin-left:2rem}@media (max-width: 1279px){._tocSidebar_1nz8v_76{display:none}}@media (min-width: 1280px){._tocSidebar_1nz8v_76{display:block}}._tocInner_1nz8v_94{position:sticky;top:.5rem;padding:0 .5rem 1.5rem;max-height:calc(100vh - 3.5rem);overflow-y:auto}._tocHeader_1nz8v_102{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}._tocIcon_1nz8v_109{width:1rem;height:1rem;color:#4b5563}.dark ._tocIcon_1nz8v_109{color:#9ca3af}._tocTitle_1nz8v_119{font-size:.875rem;font-weight:600;color:#141414}.dark ._tocTitle_1nz8v_119{color:#fff}._contentArea_1nz8v_129{width:100%;overflow-x:visible;max-width:42rem}._header_1nz8v_135{margin-bottom:2rem}._headerInner_1nz8v_139{margin-bottom:1rem}._headerContent_1nz8v_143{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}@media (min-width: 640px){._headerContent_1nz8v_143{flex-direction:row;align-items:center;gap:1rem}}._title_1nz8v_158{font-size:1.875rem;font-weight:700;color:#141414;margin:0;line-height:1.2}._contextMenu_1nz8v_166{margin-left:auto}@media (max-width: 639px){._contextMenu_1nz8v_166{margin-left:0}}.dark ._title_1nz8v_158{color:#fff}._description_1nz8v_180{font-size:1.125rem;color:#4b5563}.dark ._description_1nz8v_180{color:#d1d5db}._pivotContainer_1nz8v_189{margin-bottom:1.5rem;display:flex;flex-wrap:wrap;gap:1rem}._pivotSelector_1nz8v_196{display:flex;align-items:center;gap:.5rem;font-size:.875rem}._mdxContent_1nz8v_203{padding-top:1rem}._container_gmrx7_1{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem;background-color:#f3f4f6;border-radius:.5rem}.dark ._container_gmrx7_1{background-color:#ffffff0d}._button_gmrx7_14{position:relative;padding:.375rem .75rem;font-size:.875rem;font-weight:500;border-radius:.375rem;background:transparent;border:none;cursor:pointer;transition:all .15s}._button_gmrx7_14:focus{outline:none}._button_gmrx7_14:focus-visible{box-shadow:0 0 0 2px #3b82f6;outline-offset:2px}._buttonSelected_gmrx7_35{background-color:#fff;color:#141414;box-shadow:0 1px 2px #0000000d}.dark ._buttonSelected_gmrx7_35{background-color:#ffffff1a;color:#fff}._buttonUnselected_gmrx7_46{color:#4b5563}.dark ._buttonUnselected_gmrx7_46{color:#9ca3af}._buttonUnselected_gmrx7_46:hover{color:#141414;background-color:#ffffff80}.dark ._buttonUnselected_gmrx7_46:hover{color:#fff;background-color:#ffffff1a}._dialog_1y5d2_1{position:fixed;top:0;right:0;bottom:0;left:0;overflow-y:auto;z-index:50}@media (min-width: 1024px){._dialog_1y5d2_1{display:none}}._backdrop_1y5d2_14{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0003;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:opacity .3s ease-out}.dark ._backdrop_1y5d2_14{background-color:#000c}._backdrop_1y5d2_14[data-closed]{opacity:0}._container_1y5d2_30{position:fixed;top:0;right:0;bottom:0;left:0;display:flex}._panel_1y5d2_36{display:flex;flex-direction:column;position:relative;background-color:#fff;width:85vw;min-width:19rem;max-width:22rem;min-height:100%;transition:transform .1s ease-in-out}.dark ._panel_1y5d2_36{background-color:#0f0f0f}._panel_1y5d2_36[data-closed]{transform:translate(-100%)}._content_1y5d2_56{display:flex;flex-direction:column;flex:1;padding:1rem 1rem 3rem;overflow-y:auto;height:100%}._closeButton_1y5d2_67{position:absolute;background-color:#fff;border-radius:9999px;top:1rem;right:1rem;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer}.dark ._closeButton_1y5d2_67{background-color:#0f0f0f}._closeIcon_1y5d2_86{width:1rem;height:1rem;color:#6b7280}.dark ._closeIcon_1y5d2_86{color:#9ca3af}._closeIcon_1y5d2_86:hover{color:#4b5563}.dark ._closeIcon_1y5d2_86:hover{color:#d1d5db}._srOnly_1y5d2_104{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
@@ -0,0 +1,5 @@
1
+ const t = (r) => typeof r == "string" || typeof r == "number" ? r.toString() : r instanceof Array ? r.map(t).join("") : r && typeof r == "object" && "props" in r && r.props && typeof r.props == "object" && "children" in r.props ? t(r.props.children) : "";
2
+ export {
3
+ t as getNodeText
4
+ };
5
+ //# sourceMappingURL=get-node-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-node-text.js","sources":["../../src/utils/get-node-text.ts"],"sourcesContent":["export const getNodeText = (node: unknown): string => {\n if (typeof node === \"string\" || typeof node === \"number\") {\n return node.toString();\n }\n\n if (node instanceof Array) {\n return node.map(getNodeText).join(\"\");\n }\n\n if (\n node &&\n typeof node === \"object\" &&\n \"props\" in node &&\n node.props &&\n typeof node.props === \"object\" &&\n \"children\" in node.props\n ) {\n return getNodeText(node.props.children);\n }\n\n return \"\";\n};\n"],"names":["getNodeText","node"],"mappings":"AAAO,MAAMA,IAAc,CAACC,MACtB,OAAOA,KAAS,YAAY,OAAOA,KAAS,WACvCA,EAAK,SAAA,IAGVA,aAAgB,QACXA,EAAK,IAAID,CAAW,EAAE,KAAK,EAAE,IAIpCC,KACA,OAAOA,KAAS,YAChB,WAAWA,KACXA,EAAK,SACL,OAAOA,EAAK,SAAU,YACtB,cAAcA,EAAK,QAEZD,EAAYC,EAAK,MAAM,QAAQ,IAGjC;"}
@@ -0,0 +1,17 @@
1
+ function i(t, r = "type", e = "element") {
2
+ return t != null && t[r] === e;
3
+ }
4
+ function s(t) {
5
+ var e;
6
+ const r = (e = t.properties) == null ? void 0 : e.className;
7
+ return Array.isArray(r) ? r.map(String) : typeof r == "string" ? r.split(/\s+/).filter(Boolean) : [];
8
+ }
9
+ function n(t) {
10
+ return t.type === "text" ? t.value : t.type === "element" && Array.isArray(t.children) ? t.children.map((r) => n(r)).join("") : "";
11
+ }
12
+ export {
13
+ s as getClassNames,
14
+ n as getTextContent,
15
+ i as isElement
16
+ };
17
+ //# sourceMappingURL=rehype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rehype.js","sources":["../../src/utils/rehype.ts"],"sourcesContent":["import { Element, Text } from \"hast\";\n\nexport type ElementType = { type?: string; tagName?: string };\n\nexport function isElement<T extends ElementType = Element>(\n node: ElementType | undefined,\n key: keyof T = \"type\",\n element = \"element\"\n): node is T & { data?: { meta?: unknown } } {\n return (\n node != undefined && (node as Record<keyof T, unknown>)[key] === element\n );\n}\n\nexport function getClassNames(element: Element): string[] {\n const classAttr = element.properties?.className;\n\n if (Array.isArray(classAttr)) {\n return classAttr.map(String);\n }\n\n if (typeof classAttr === \"string\") {\n return classAttr.split(/\\s+/).filter(Boolean);\n }\n\n return [];\n}\n\nexport function getTextContent(node: Element | Text): string {\n if (node.type === \"text\") {\n return node.value;\n }\n\n if (node.type === \"element\" && Array.isArray(node.children)) {\n return node.children\n .map((child) => getTextContent(child as Element | Text))\n .join(\"\");\n }\n\n return \"\";\n}\n"],"names":["isElement","node","key","element","getClassNames","_a","classAttr","getTextContent","child"],"mappings":"AAIO,SAASA,EACdC,GACAC,IAAe,QACfC,IAAU,WACiC;AAC3C,SACEF,KAAQ,QAAcA,EAAkCC,CAAG,MAAMC;AAErE;AAEO,SAASC,EAAcD,GAA4B;AAVnD,MAAAE;AAWL,QAAMC,KAAYD,IAAAF,EAAQ,eAAR,gBAAAE,EAAoB;AAEtC,SAAI,MAAM,QAAQC,CAAS,IAClBA,EAAU,IAAI,MAAM,IAGzB,OAAOA,KAAc,WAChBA,EAAU,MAAM,KAAK,EAAE,OAAO,OAAO,IAGvC,CAAA;AACT;AAEO,SAASC,EAAeN,GAA8B;AAC3D,SAAIA,EAAK,SAAS,SACTA,EAAK,QAGVA,EAAK,SAAS,aAAa,MAAM,QAAQA,EAAK,QAAQ,IACjDA,EAAK,SACT,IAAI,CAACO,MAAUD,EAAeC,CAAuB,CAAC,EACtD,KAAK,EAAE,IAGL;AACT;"}
@@ -0,0 +1,5 @@
1
+ const t = (e) => e.charAt(0).toUpperCase() + e.slice(1);
2
+ export {
3
+ t as capitalize
4
+ };
5
+ //# sourceMappingURL=string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.js","sources":["../../src/utils/string.ts"],"sourcesContent":["export const capitalize = (str: string) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n};\n"],"names":["capitalize","str"],"mappings":"AAAO,MAAMA,IAAa,CAACC,MAClBA,EAAI,OAAO,CAAC,EAAE,gBAAgBA,EAAI,MAAM,CAAC;"}
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "@mintlify/msft-sdk",
3
+ "version": "0.1.0",
4
+ "description": "Lightweight SDK for Microsoft documentation with MDX rendering",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "./page": {
13
+ "types": "./dist/Page/index.d.ts",
14
+ "default": "./dist/Page/index.js"
15
+ },
16
+ "./components": {
17
+ "types": "./dist/Page/components/index.d.ts",
18
+ "default": "./dist/Page/components/index.js"
19
+ },
20
+ "./styles.css": "./dist/styles.css"
21
+ },
22
+ "type": "module",
23
+ "sideEffects": [
24
+ "**/*.css"
25
+ ],
26
+ "files": [
27
+ "dist",
28
+ "README.md"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "private"
32
+ },
33
+ "scripts": {
34
+ "build": "vite build",
35
+ "clean": "rimraf dist",
36
+ "dev": "vite build --watch",
37
+ "lint": "eslint .",
38
+ "lint:fix": "eslint . --fix",
39
+ "prepublishOnly": "npm run clean && npm run build"
40
+ },
41
+ "keywords": [
42
+ "microsoft",
43
+ "docs",
44
+ "mdx",
45
+ "react",
46
+ "documentation",
47
+ "mintlify"
48
+ ],
49
+ "author": "Mintlify, Inc.",
50
+ "license": "MIT",
51
+ "dependencies": {
52
+ "@fluentui/react-components": "^9.72.3",
53
+ "@fluentui/react-icons": "^2.0.312",
54
+ "@headlessui/react": "^2.2.9",
55
+ "@mdx-js/mdx": "^3.0.0",
56
+ "@mdx-js/react": "^3.0.0",
57
+ "@sindresorhus/slugify": "^3.0.0",
58
+ "clsx": "^2.1.1",
59
+ "hast-util-from-html": "^2.0.0",
60
+ "hast-util-to-mdast": "^10.1.2",
61
+ "hast-util-to-string": "^3.0.1",
62
+ "mdast-util-mdx-jsx": "^3.2.0",
63
+ "prismjs": "^1.29.0",
64
+ "refractor": "^5.0.0",
65
+ "rehype-parse": "^9.0.0",
66
+ "rehype-stringify": "^10.0.0",
67
+ "remark-gfm": "^4.0.0",
68
+ "remark-mdx": "^3.0.0",
69
+ "remark-stringify": "^11.0.0",
70
+ "unified": "^11.0.0",
71
+ "unist-util-visit": "^5.0.0"
72
+ },
73
+ "peerDependencies": {
74
+ "react": ">=18.0.0",
75
+ "react-dom": ">=18.0.0"
76
+ },
77
+ "devDependencies": {
78
+ "@eslint/js": "^9.38.0",
79
+ "@types/react": "^18.2.0",
80
+ "@types/react-dom": "^18.2.0",
81
+ "@vitejs/plugin-react": "^4.1.1",
82
+ "eslint": "^9.38.0",
83
+ "rimraf": "^5.0.0",
84
+ "typescript": "^5.0.0",
85
+ "typescript-eslint": "^8.46.2",
86
+ "vite": "^5.0.0",
87
+ "vite-plugin-dts": "^4.5.4",
88
+ "vite-plugin-lib-inject-css": "^2.2.2"
89
+ }
90
+ }