@modern-js/module-tools-docs 2.25.2-beta.0 → 2.25.2
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.
- package/CHANGELOG.md +9 -0
- package/docs/en/api/config/build-config.md +9 -9
- package/docs/en/api/config/build-preset.mdx +4 -4
- package/docs/en/guide/advance/asset.mdx +2 -2
- package/docs/en/guide/advance/build-umd.mdx +9 -9
- package/docs/en/guide/advance/copy.md +1 -1
- package/docs/en/guide/advance/external-dependency.mdx +2 -2
- package/docs/en/guide/advance/in-depth-about-build.md +11 -11
- package/docs/en/guide/advance/in-depth-about-dev-command.md +1 -1
- package/docs/en/guide/basic/before-getting-started.md +1 -1
- package/docs/en/guide/basic/command-preview.md +5 -5
- package/docs/en/guide/basic/modify-output-product.md +18 -18
- package/docs/en/guide/basic/using-storybook.mdx +1 -1
- package/docs/en/guide/best-practices/components.mdx +10 -10
- package/docs/en/guide/faq/build.mdx +1 -1
- package/docs/en/guide/intro/welcome.md +2 -2
- package/docs/en/plugins/guide/getting-started.mdx +1 -1
- package/docs/en/plugins/guide/plugin-object.mdx +2 -2
- package/docs/en/plugins/guide/setup-function.mdx +1 -1
- package/docs/zh/guide/faq/build.mdx +1 -1
- package/package.json +3 -3
- package/doc_build/api/config/build-config.html +0 -522
- package/doc_build/api/config/build-preset.html +0 -71
- package/doc_build/api/config/design-system.html +0 -113
- package/doc_build/api/config/dev.html +0 -40
- package/doc_build/api/config/plugins.html +0 -31
- package/doc_build/api/config/testing.html +0 -31
- package/doc_build/api/index.html +0 -11
- package/doc_build/api/plugin-api/plugin-hooks.html +0 -122
- package/doc_build/components/faq-build-exception.html +0 -11
- package/doc_build/components/faq-build-other.html +0 -11
- package/doc_build/components/faq-build-product.html +0 -11
- package/doc_build/components/faq-storybook.html +0 -11
- package/doc_build/components/faq-test.html +0 -11
- package/doc_build/en/api/config/build-config.html +0 -443
- package/doc_build/en/api/config/build-preset.html +0 -71
- package/doc_build/en/api/config/design-system.html +0 -127
- package/doc_build/en/api/config/dev.html +0 -40
- package/doc_build/en/api/config/plugins.html +0 -31
- package/doc_build/en/api/config/testing.html +0 -31
- package/doc_build/en/api/index.html +0 -11
- package/doc_build/en/api/plugin-api/plugin-hooks.html +0 -122
- package/doc_build/en/components/faq-build-exception.html +0 -11
- package/doc_build/en/components/faq-build-other.html +0 -11
- package/doc_build/en/components/faq-build-product.html +0 -11
- package/doc_build/en/components/faq-storybook.html +0 -11
- package/doc_build/en/components/faq-test.html +0 -11
- package/doc_build/en/guide/advance/asset.html +0 -31
- package/doc_build/en/guide/advance/build-umd.html +0 -42
- package/doc_build/en/guide/advance/copy.html +0 -52
- package/doc_build/en/guide/advance/external-dependency.html +0 -32
- package/doc_build/en/guide/advance/in-depth-about-build.html +0 -123
- package/doc_build/en/guide/advance/in-depth-about-dev-command.html +0 -32
- package/doc_build/en/guide/advance/theme-config.html +0 -39
- package/doc_build/en/guide/basic/before-getting-started.html +0 -97
- package/doc_build/en/guide/basic/command-preview.html +0 -73
- package/doc_build/en/guide/basic/modify-output-product.html +0 -113
- package/doc_build/en/guide/basic/publish-your-project.html +0 -60
- package/doc_build/en/guide/basic/test-your-project.html +0 -41
- package/doc_build/en/guide/basic/use-micro-generator.html +0 -47
- package/doc_build/en/guide/basic/using-storybook.html +0 -76
- package/doc_build/en/guide/best-practices/components.html +0 -121
- package/doc_build/en/guide/faq/build.html +0 -91
- package/doc_build/en/guide/faq/index.html +0 -17
- package/doc_build/en/guide/faq/storybook.html +0 -53
- package/doc_build/en/guide/faq/test.html +0 -16
- package/doc_build/en/guide/intro/getting-started.html +0 -53
- package/doc_build/en/guide/intro/welcome.html +0 -23
- package/doc_build/en/guide/intro/why-module-engineering-solution.html +0 -19
- package/doc_build/en/index.html +0 -11
- package/doc_build/en/plugins/guide/getting-started.html +0 -25
- package/doc_build/en/plugins/guide/plugin-object.html +0 -24
- package/doc_build/en/plugins/guide/setup-function.html +0 -40
- package/doc_build/en/plugins/official-list/overview.html +0 -19
- package/doc_build/en/plugins/official-list/plugin-babel.html +0 -23
- package/doc_build/en/plugins/official-list/plugin-banner.html +0 -40
- package/doc_build/en/plugins/official-list/plugin-import.html +0 -44
- package/doc_build/en/plugins/official-list/plugin-node-polyfill.html +0 -88
- package/doc_build/en/plugins/official-list/plugin-polyfill.html +0 -28
- package/doc_build/guide/advance/asset.html +0 -31
- package/doc_build/guide/advance/build-umd.html +0 -42
- package/doc_build/guide/advance/copy.html +0 -52
- package/doc_build/guide/advance/external-dependency.html +0 -31
- package/doc_build/guide/advance/in-depth-about-build.html +0 -123
- package/doc_build/guide/advance/in-depth-about-dev-command.html +0 -32
- package/doc_build/guide/advance/theme-config.html +0 -38
- package/doc_build/guide/basic/before-getting-started.html +0 -97
- package/doc_build/guide/basic/command-preview.html +0 -73
- package/doc_build/guide/basic/modify-output-product.html +0 -110
- package/doc_build/guide/basic/publish-your-project.html +0 -62
- package/doc_build/guide/basic/test-your-project.html +0 -43
- package/doc_build/guide/basic/use-micro-generator.html +0 -45
- package/doc_build/guide/basic/using-storybook.html +0 -74
- package/doc_build/guide/best-practices/components.html +0 -121
- package/doc_build/guide/faq/build.html +0 -91
- package/doc_build/guide/faq/index.html +0 -17
- package/doc_build/guide/faq/storybook.html +0 -53
- package/doc_build/guide/faq/test.html +0 -16
- package/doc_build/guide/intro/getting-started.html +0 -50
- package/doc_build/guide/intro/welcome.html +0 -23
- package/doc_build/guide/intro/why-module-engineering-solution.html +0 -19
- package/doc_build/index.html +0 -11
- package/doc_build/plugins/guide/getting-started.html +0 -25
- package/doc_build/plugins/guide/plugin-object.html +0 -24
- package/doc_build/plugins/guide/setup-function.html +0 -40
- package/doc_build/plugins/official-list/overview.html +0 -19
- package/doc_build/plugins/official-list/plugin-babel.html +0 -23
- package/doc_build/plugins/official-list/plugin-banner.html +0 -40
- package/doc_build/plugins/official-list/plugin-import.html +0 -44
- package/doc_build/plugins/official-list/plugin-node-polyfill.html +0 -88
- package/doc_build/plugins/official-list/plugin-polyfill.html +0 -28
- package/doc_build/route.json +0 -10
- package/doc_build/ssr/bundles/main.js +0 -30
- package/doc_build/ssr/bundles/main.js.LICENSE.txt +0 -103
- package/doc_build/static/css/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.71af0621.css +0 -1
- package/doc_build/static/css/main.1e1c5ea3.css +0 -17
- package/doc_build/static/js/async/default~docs_en_guide_faq_build_mdx~docs_en_guide_faq_storybook_mdx~docs_en_guide_faq_test_md~931d29.a2443c41.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_build-config_md.47c13184.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_build-preset_mdx.240d175b.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_design-system_md.b2ec1ff7.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_dev_md.6ad208aa.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_plugins_md.da21c1a9.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_testing_md.5655d56b.js +0 -1
- package/doc_build/static/js/async/docs_en_api_index_md.b332bf64.js +0 -1
- package/doc_build/static/js/async/docs_en_api_plugin-api_plugin-hooks_md.b0f73e0d.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_asset_mdx.d302e90c.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_build-umd_mdx.554fa073.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_copy_md.78b33f73.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_external-dependency_mdx.507e4091.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_in-depth-about-build_md.207e8b25.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_in-depth-about-dev-command_md.72d6b6fc.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_theme-config_mdx.168a5eec.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_before-getting-started_md.a00933ab.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_command-preview_md.5e63d7ad.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_modify-output-product_md.abd250e1.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_publish-your-project_md.3b098b03.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_test-your-project_mdx.b86e9b69.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_use-micro-generator_md.e03b16c8.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_using-storybook_mdx.32e9b389.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_best-practices_components_mdx.a56e369b.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_build_mdx.81c243c7.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_index_md.85367f4a.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_storybook_mdx.d6b26cfd.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_test_mdx.a7a1c8b5.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_getting-started_md.7c901798.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_welcome_md.69fe3324.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_why-module-engineering-solution_md.766afaee.js +0 -1
- package/doc_build/static/js/async/docs_en_index_md.32415ad9.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_getting-started_mdx.c6631fd6.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_plugin-object_mdx.0971cbdb.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_setup-function_mdx.388d92b1.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_overview_md.9390ed67.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-babel_md.0528b729.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-banner_md.c14f8599.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-import_mdx.67bac7e1.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-node-polyfill_md.19819cf5.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-polyfill_md.473537df.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_build-config_md.e52b0287.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_build-preset_mdx.8b874378.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_design-system_md.ceae6914.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_dev_md.033094f8.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_plugins_md.ab43b516.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_testing_md.2c1f171d.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_index_md.5df1b9d0.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_plugin-api_plugin-hooks_md.9f155180.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_asset_mdx.0b551e5e.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_build-umd_mdx.4c0a741d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_copy_md.ff70ddd3.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_external-dependency_mdx.64bae82a.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_in-depth-about-build_md.d16f07b4.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_in-depth-about-dev-command_md.2eabb853.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_theme-config_mdx.5670e00b.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_before-getting-started_md.3e23f82e.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_command-preview_md.718669ed.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_modify-output-product_md.bea77add.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_publish-your-project_md.b0c63699.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_test-your-project_mdx.b9ee0af4.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_use-micro-generator_md.ad32d392.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_using-storybook_mdx.2748f6f6.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_best-practices_components_mdx.e4450a3c.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_build_mdx.470ca09d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_index_md.9c5738a8.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_storybook_mdx.e1fb8e18.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_test_mdx.d332b61f.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_getting-started_md.8af35ffc.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_welcome_md.6169850d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_why-module-engineering-solution_md.ff0f5ef0.js +0 -1
- package/doc_build/static/js/async/docs_zh_index_md.bc7e2f02.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_getting-started_mdx.6a2c07ee.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_plugin-object_mdx.9a665baa.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_setup-function_mdx.a614b224.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_overview_md.bf4a7405.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-babel_md.7107a66b.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-banner_md.4443ae99.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-import_mdx.e4923a9a.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-node-polyfill_md.26c9cb0d.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-polyfill_md.0bda701d.js +0 -1
- package/doc_build/static/js/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.7070a8dd.js +0 -1
- package/doc_build/static/js/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.7070a8dd.js.LICENSE.txt +0 -20
- package/doc_build/static/js/lib-lodash.20527186.js +0 -1
- package/doc_build/static/js/lib-polyfill.a99fdfae.js +0 -1
- package/doc_build/static/js/lib-react.87879e53.js +0 -1
- package/doc_build/static/js/lib-react.87879e53.js.LICENSE.txt +0 -29
- package/doc_build/static/js/lib-router.65b37e4a.js +0 -1
- package/doc_build/static/js/lib-router.65b37e4a.js.LICENSE.txt +0 -32
- package/doc_build/static/js/main.42725889.js +0 -1
- package/doc_build/static/search_index.en.6f4165d1.json +0 -1
- package/doc_build/static/search_index.en.8cd54797.json +0 -1
- package/doc_build/static/search_index.zh.7ed3054c.json +0 -1
- package/doc_build/static/search_index.zh.97edcc6e.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be"],{74007:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{disableBodyScroll:function(){return v},clearAllBodyScrollLocks:function(){return x}});var r=!1;if("undefined"!=typeof window){var o={get passive(){r=!0;return}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),i=[],l=!1,s=-1,d=void 0,c=void 0,u=void 0,h=function(e){return i.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))||!1})},f=function(e){var t=e||window.event;return!!h(t.target)||!!(t.touches.length>1)||(t.preventDefault&&t.preventDefault(),!1)},p=function(e){if(void 0===u){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);u=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},m=function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},g=function(){if(void 0!==c){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=c.position,document.body.style.top=c.top,document.body.style.left=c.left,window.scrollTo(t,e),c=void 0}},b=function(e,t){var n,r=e.targetTouches[0].clientY-s;if(h(e.target))return!1;if(t&&0===t.scrollTop&&r>0)return f(e);return(n=t)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&r<0?f(e):(e.stopPropagation(),!0)},v=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!i.some(function(t){return t.targetElement===e})&&(i=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(i),[{targetElement:e,options:t||{}}]),a?window.requestAnimationFrame(function(){if(void 0===c){c={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,r=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=r-window.innerHeight;e&&t>=r&&(document.body.style.top=-(t+e))})},300)}}):p(t),a&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&b(t,e)},!l&&(document.addEventListener("touchmove",f,r?{passive:!1}:void 0),l=!0)))},x=function(){a&&(i.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),l&&(document.removeEventListener("touchmove",f,r?{passive:!1}:void 0),l=!1),s=-1),a?g():m(),i=[]}},40926:function(e,t,n){"use strict";t.parse=function(e){for(var t,n=[],o=String(e||a),i=o.indexOf(r),l=0,s=!1;!s;)-1===i&&(i=o.length,s=!0),((t=o.slice(l,i).trim())||!s)&&n.push(t),l=i+1,i=o.indexOf(r,l);return n},t.stringify=function(e,t){var n=t||{},i=!1===n.padLeft?a:o,l=n.padRight?o:a;return e[e.length-1]===a&&(e=e.concat(a)),e.join(l+r+i).trim()};var r=",",o=" ",a=""},53274:function(e,t,n){"use strict";var r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)},o=n("23072"),a={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var n,l,s,d,c,u,h=!1;!t&&(t={}),n=t.debug||!1;try{if(s=o(),d=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e)}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(u),d.selectNodeContents(u),c.addRange(d),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),l=r("message"in t?t.message:i),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),s()}return h}},61932:function(e,t,n){"use strict";var r,o,a,i,l,s;a="FlexSearch",i=function e(t){var n,r,o,a,i,l,s,d,c,u,h,f,p,m,g,b,v,x,y,k,w,_,I=function(e,t){var n=t?t.id:e&&e.id;this.id=n||0===n?n:Z++,this.init(e,t),S(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),S(this,"length",function(){return this.index.length})},P=function(e,t,n,r){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,r&&this.o.length>=r&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(t,this.o),this.F&&this.F(this.o))),this},E=function(e,t){for(var n=e.length,r=R(t),o=[],a=0,i=0;a<n;a++){var l=e[a];(r&&t(l)||!r&&!t[l])&&(o[i++]=l)}return o},j=function(e,t,n,r,o,a,i,l,s,d){var c;if(n=M(n,i?0:o,l,a,t,s,d),l&&(l=n.page,c=n.next,n=n.result),i)t=this.where(i,null,o,n);else{for(i=0,t=n,n=this.l,a=Array(o=t.length);i<o;i++)a[i]=n[t[i]];t=a}return n=t,r&&(R(r)||(1<(_=r.split(":")).length?r=F:(_=_[0],r=N)),n.sort(r)),n=L(l,c,n),this.cache&&this.j.set(e,n),n},S=function(e,t,n){Object.defineProperty(e,t,{get:n})},O=function(e){return RegExp(e,"g")},C=function(e,t){for(var n=0;n<t.length;n+=2)e=e.replace(t[n],t[n+1]);return e},z=function(e,t,n,r,o,a,i,l){return t[n]?t[n]:(o=o?(l-(i||l/1.5))*a+(i||l/1.5)*o:a,t[n]=o,o>=i&&((e=(e=e[l-(o+.5>>0)])[n]||(e[n]=[]))[e.length]=r),o)},T=function(e){for(var t="",n="",r="",o=0;o<e.length;o++){var a=e[o];a!==n&&(o&&"h"===a?(r="a"===r||"e"===r||"i"===r||"o"===r||"u"===r||"y"===r,(("a"===n||"e"===n||"i"===n||"o"===n||"u"===n||"y"===n)&&r||" "===n)&&(t+=a)):t+=a),r=o===e.length-1?"":e[o+1],n=a}return t},A=function(e,t){return 0>(e=e.length-t.length)?1:e?-1:0},N=function(e,t){return e=e[_],e<(t=t[_])?-1:e>t?1:0},F=function(e,t){for(var n=_.length,r=0;r<n;r++)e=e[_[r]],t=t[_[r]];return e<t?-1:e>t?1:0},L=function(e,t,n){return e?{page:e,next:t?""+t:null,result:n}:n},M=function(e,t,n,r,o,a,i){var l,s=[];if(!0===n){n="0";var d=""}else d=n&&n.split(":");var c=e.length;if(1<c){var u,h,f,p,m,g,b,v,x,y,k=W(),w=[],_=0,I=!0,P=0;if(d&&(2===d.length?(x=d,d=!1):d=y=parseInt(d[0],10)),i){for(h=W();_<c;_++)if("not"===o[_])for(m=(f=e[_]).length,p=0;p<m;p++)h["@"+f[p]]=1;else v=_+1;if(D(v))return L(n,l,s);_=0}else b=B(o)&&o;for(;_<c;_++){var E=_===(v||c)-1;if(!b||!_){if((p=b||o&&o[_])&&"and"!==p){if("or"!==p)continue;u=!1}else u=a=!0}if(m=(f=e[_]).length){if(I){if(g){var j=g.length;for(p=0;p<j;p++){var S="@"+(I=g[p]);i&&h[S]||(k[S]=1,a||(s[P++]=I))}g=null,I=!1}else{g=f;continue}}for(p=0,S=!1;p<m;p++){var O="@"+(j=f[p]),C=a?k[O]||0:_;if(!(!C&&!r||i&&h[O]||!a&&k[O])){if(C===_){if(E){if((!y||--y<P)&&(s[P++]=j,t&&P===t))return L(n,P+(d||0),s)}else k[O]=_+1;S=!0}else r&&((O=w[C]||(w[C]=[]))[O.length]=j)}}if(u&&!S&&!r)break}else if(u&&!r)return L(n,l,f)}if(g){if(_=g.length,i)for(p=d?parseInt(d,10):0;p<_;p++)h["@"+(e=g[p])]||(s[P++]=e);else s=g}if(r){for(P=s.length,x?(_=parseInt(x[0],10)+1,p=parseInt(x[1],10)+1):(_=w.length,p=0);_--;)if(j=w[_]){for(m=j.length;p<m;p++)if(r=j[p],(!i||!h["@"+r])&&(s[P++]=r,t&&P===t))return L(n,_+":"+p,s);p=0}}}else!c||o&&"not"===o[0]||(s=e[0],d&&(d=parseInt(d[0],10)));return t&&(i=s.length,d&&d>i&&(d=0),(l=(d=d||0)+t)<i?s=s.slice(d,l):(l=0,d&&(s=s.slice(d)))),L(n,l,s)},B=function(e){return"string"==typeof e},U=function(e){return e.constructor===Array},R=function(e){return"function"==typeof e},H=function(e){return"object"==typeof e},D=function(e){return void 0===e},q=function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=W();return t},W=function(){return Object.create(null)},$=function(){var e,t;self.onmessage=function(n){if(n=n.data){if(n.search){var r=t.search(n.content,n.threshold?{limit:n.limit,threshold:n.threshold,where:n.where}:n.limit);self.postMessage({id:e,content:n.content,limit:n.limit,result:r})}else n.add?t.add(n.id,n.content):n.update?t.update(n.id,n.content):n.remove?t.remove(n.id):n.clear?t.clear():n.info?((n=t.info()).worker=e,console.log(n)):n.register&&(e=n.id,n.options.cache=!1,n.options.async=!1,n.options.worker=!1,t=new(t=Function(n.register.substring(n.register.indexOf("{")+1,n.register.lastIndexOf("}")))())(n.options))}}},G=function(n,r,o,a){n=t("flexsearch","id"+n,$,function(e){(e=e.data)&&e.result&&a(e.id,e.content,e.result,e.limit,e.where,e.cursor,e.suggest)},r);var i=e.toString();return o.id=r,n.postMessage({register:i,options:o,id:r}),n};function X(e,t){if(e){for(var n=Object.keys(e),r=0,o=n.length;r<o;r++){var a=n[r],i=e[a];if(i)for(var l=0,s=i.length;l<s;l++)if(i[l]===t){1===s?delete e[a]:i.splice(l,1);break}else H(i[l])&&X(i[l],t)}}}var K={encode:"icase",f:"forward",split:/\W+/,cache:!1,async:!1,g:!1,D:!1,a:!1,b:9,threshold:0,depth:0},Y={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},V=[],Z=0,Q={},J={};I.create=function(e,t){return new I(e,t)},I.registerMatcher=function(e){for(var t in e)e.hasOwnProperty(t)&&V.push(O(t),e[t]);return this},I.registerEncoder=function(e,t){return et[e]=t.bind(et),this},I.registerLanguage=function(e,t){return Q[e]=t.filter,J[e]=t.stemmer,this},I.encode=function(e,t){return et[e](t)},I.prototype.init=function(e,t){if(this.v=[],t){var n=t.preset;e=t}else e||(e=K),n=e.preset;if(t={},B(e)?(t=Y[e],e={}):n&&(t=Y[n]),n=e.worker){if("undefined"==typeof Worker)e.worker=!1,this.m=null;else{var r=parseInt(n,10)||4;this.C=-1,this.u=0,this.o=[],this.F=null,this.m=Array(r);for(var o=0;o<r;o++)this.m[o]=G(this.id,o,e,P.bind(this))}}if(this.f=e.tokenize||t.f||this.f||K.f,this.split=D(n=e.split)?this.split||K.split:B(n)?O(n):n,this.D=e.rtl||this.D||K.D,this.async="undefined"==typeof Promise||D(n=e.async)?this.async||K.async:n,this.g=D(n=e.worker)?this.g||K.g:n,this.threshold=D(n=e.threshold)?t.threshold||this.threshold||K.threshold:n,this.b=D(n=e.resolution)?n=t.b||this.b||K.b:n,n<=this.threshold&&(this.b=this.threshold+1),this.depth="strict"!==this.f||D(n=e.depth)?t.depth||this.depth||K.depth:n,this.w=(n=D(n=e.encode)?t.encode||K.encode:n)&&et[n]&&et[n].bind(et)||(R(n)?n:this.w||!1),(n=e.matcher)&&this.addMatcher(n),n=(t=e.lang)||e.filter){if(B(n)&&(n=Q[n]),U(n)){r=this.w,o=W();for(var a=0;a<n.length;a++){var i=r?r(n[a]):n[a];o[i]=1}n=o}this.filter=n}if(n=t||e.stemmer){for(l in t=B(n)?J[n]:n,r=this.w,o=[],t)t.hasOwnProperty(l)&&(a=r?r(l):l,o.push(O(a+"($|\\W)"),r?r(t[l]):t[l]));this.stemmer=l=o}if(this.a=o=(n=e.doc)?function e(t){var n=W();for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];U(o)?n[r]=o.slice(0):H(o)?n[r]=e(o):n[r]=o}return n}(n):this.a||K.a,this.i=q(this.b-(this.threshold||0)),this.h=W(),this.c=W(),o){if(this.l=W(),e.doc=null,l=o.index={},t=o.keys=[],r=o.field,a=o.tag,i=o.store,U(o.id)||(o.id=o.id.split(":")),i){var l,s,d=W();if(B(i))d[i]=1;else if(U(i))for(var c=0;c<i.length;c++)d[i[c]]=1;else H(i)&&(d=i);o.store=d}if(a){if(this.G=W(),i=W(),r){if(B(r))i[r]=e;else if(U(r))for(d=0;d<r.length;d++)i[r[d]]=e;else H(r)&&(i=r)}for(U(a)||(o.tag=a=[a]),r=0;r<a.length;r++)this.G[a[r]]=W();this.I=a,r=i}if(r)for(U(r)||(H(r)?(s=r,o.field=r=Object.keys(r)):o.field=r=[r]),o=0;o<r.length;o++)U(a=r[o])||(s&&(e=s[a]),t[o]=a,r[o]=a.split(":")),l[a]=new I(e);e.doc=n}return this.B=!0,this.j=!!(this.cache=n=D(n=e.cache)?this.cache||K.cache:n)&&new en(n),this},I.prototype.encode=function(e){return e&&(V.length&&(e=C(e,V)),this.v.length&&(e=C(e,this.v)),this.w&&(e=this.w(e)),this.stemmer&&(e=C(e,this.stemmer))),e},I.prototype.addMatcher=function(e){var t=this.v;for(var n in e)e.hasOwnProperty(n)&&t.push(O(n),e[n]);return this},I.prototype.add=function(e,t,n,r,o){if(this.a&&H(e))return this.A("add",e,t);if(t&&B(t)&&(e||0===e)){var a="@"+e;if(this.c[a]&&!r)return this.update(e,t);if(this.g)return++this.C>=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:e,content:t}),this.c[a]=""+this.C,n&&n(),this;if(!o){if(this.async&&"function"!=typeof importScripts){var i=this;return(a=new Promise(function(n){setTimeout(function(){i.add(e,t,null,r,!0),i=null,n()})}),n)?(a.then(n),this):a}if(n)return this.add(e,t,null,r,!0),n(),this}if(!(t=this.encode(t)).length)return this;o=R(n=this.f)?n(t):t.split(this.split),this.filter&&(o=E(o,this.filter));var l=W();l._ctx=W();for(var s=o.length,d=this.threshold,c=this.depth,u=this.b,h=this.i,f=this.D,p=0;p<s;p++){var m=o[p];if(m){var g=m.length,b=(f?p+1:s-p)/s,v="";switch(n){case"reverse":case"both":for(var x=g;--x;)v=m[x]+v,z(h,l,v,e,f?1:(g-x)/g,b,d,u-1);v="";case"forward":for(x=0;x<g;x++)z(h,l,v+=m[x],e,f?(x+1)/g:1,b,d,u-1);break;case"full":for(x=0;x<g;x++){for(var y=(f?x+1:g-x)/g,k=g;k>x;k--)v=m.substring(x,k),z(h,l,v,e,y,b,d,u-1)}break;default:if(g=z(h,l,m,e,1,b,d,u-1),c&&1<s&&g>=d)for(g=l._ctx[m]||(l._ctx[m]=W()),m=this.h[m]||(this.h[m]=q(u-(d||0))),0>(b=p-c)&&(b=0),(v=p+c+1)>s&&(v=s);b<v;b++)b!==p&&z(m,g,o[b],e,0,u-(b<p?p-b:b-p),d,u-1)}}}this.c[a]=1,this.B=!1}return this},I.prototype.A=function(e,t,n){if(U(t)){var r=t.length;if(r--){for(var o=0;o<r;o++)this.A(e,t[o]);return this.A(e,t[r],n)}}else{var a,i=this.a.index,l=this.a.keys,s=this.a.tag;o=this.a.store;var d=this.a.id;r=t;for(var c=0;c<d.length;c++)r=r[d[c]];if("remove"===e&&(delete this.l[r],d=l.length,d--)){for(t=0;t<d;t++)i[l[t]].remove(r);return i[l[d]].remove(r,n)}if(s){for(a=0;a<s.length;a++){var u=s[a],h=t;for(c=0,d=u.split(":");c<d.length;c++)h=h[d[c]];h="@"+h}a=(a=this.G[u])[h]||(a[h]=[])}d=this.a.field;for(var f=0,p=d.length;f<p;f++){for(h=0,u=d[f],s=t;h<u.length;h++)s=s[u[h]];u=i[l[f]],h="add"===e?u.add:u.update,f===p-1?h.call(u,r,s,n):h.call(u,r,s)}if(o){for(i=0,n=Object.keys(o),e=W();i<n.length;i++)if(o[l=n[i]]){l=l.split(":");var m=void 0,g=void 0;for(d=0;d<l.length;d++)m=(m||t)[s=l[d]],g=(g||e)[s]=m}t=e}a&&(a[a.length]=t),this.l[r]=t}return this},I.prototype.update=function(e,t,n){return this.a&&H(e)?this.A("update",e,t):(this.c["@"+e]&&B(t)&&(this.remove(e),this.add(e,t,n,!0)),this)},I.prototype.remove=function(e,t,n){if(this.a&&H(e))return this.A("remove",e,t);var r="@"+e;if(this.c[r]){if(this.g)return this.m[this.c[r]].postMessage({remove:!0,id:e}),delete this.c[r],t&&t(),this;if(!n){if(this.async&&"function"!=typeof importScripts){var o=this;return(r=new Promise(function(t){setTimeout(function(){o.remove(e,null,!0),o=null,t()})}),t)?(r.then(t),this):r}if(t)return this.remove(e,null,!0),t(),this}for(t=0;t<this.b-(this.threshold||0);t++)X(this.i[t],e);this.depth&&X(this.h,e),delete this.c[r],this.B=!1}return this},I.prototype.search=function(e,t,n,r){if(H(t)){if(U(t))for(var o=0;o<t.length;o++)t[o].query=e;else t.query=e;e=t,t=1e3}else t&&R(t)?(n=t,t=1e3):t||0===t||(t=1e3);if(this.g){this.F=n,this.u=0,this.o=[];for(var a=0;a<this.g;a++)this.m[a].postMessage({search:!0,limit:t,content:e})}else{var i=[],l=e;if(H(e)&&!U(e)){n||(n=e.callback)&&(l.callback=null);var s=e.sort,d=e.page;t=e.limit,a=e.threshold;var c=e.suggest;e=e.query}if(this.a){a=this.a.index;var u,h,f=l.where,p=l.bool||"or",m=l.field,g=p;if(m)U(m)||(m=[m]);else if(U(l)){var b=l;m=[],g=[];for(var v=0;v<l.length;v++)o=(r=l[v]).bool||p,m[v]=r.field,g[v]=o,"not"===o?u=!0:"and"===o&&(h=!0)}else m=this.a.keys;for(v=0,p=m.length;v<p;v++)b&&(l=b[v]),d&&!B(l)&&(l.page=null,l.limit=0),i[v]=a[m[v]].search(l,0);if(n)return n(j.call(this,e,g,i,s,t,c,f,d,h,u));if(this.async){var x=this;return new Promise(function(n){Promise.all(i).then(function(r){n(j.call(x,e,g,r,s,t,c,f,d,h,u))})})}return j.call(this,e,g,i,s,t,c,f,d,h,u)}if(a||(a=this.threshold||0),!r){if(this.async&&"function"!=typeof importScripts){var y=this;return(a=new Promise(function(e){setTimeout(function(){e(y.search(l,t,null,!0)),y=null})}),n)?(a.then(n),this):a}if(n)return n(this.search(l,t,null,!0)),this}if(!e||!B(e))return i;if(l=e,this.cache){if(this.B){if(n=this.j.get(e))return n}else this.j.clear(),this.B=!0}if(!(l=this.encode(l)).length)return i;n=R(n=this.f)?n(l):l.split(this.split),this.filter&&(n=E(n,this.filter)),b=n.length,r=!0,o=[];var k=W(),w=0;if(1<b&&(this.depth&&"strict"===this.f?p=!0:n.sort(A)),!p||(v=this.h)){for(var _=this.b;w<b;w++){var I=n[w];if(I){if(p){if(!m){if(v[I])m=I,k[I]=1;else if(!c)return i}if(c&&w===b-1&&!o.length)p=!1,k[I=m||I]=0;else if(!m)continue}if(!k[I]){var P=[],S=!1,O=0,C=p?v[m]:this.i;if(C){for(var z=void 0,T=0;T<_-a;T++)(z=C[T]&&C[T][I])&&(P[O++]=z,S=!0)}if(S)m=I,o[o.length]=1<O?P.concat.apply([],P):P[0];else if(!c){r=!1;break}k[I]=1}}}}else r=!1;return r&&(i=M(o,t,d,c)),this.cache&&this.j.set(e,i),i}},I.prototype.find=function(e,t){return this.where(e,t,1)[0]||null},I.prototype.where=function(e,t,n,r){var o,a,i,l=this.l,s=[],d=0;if(H(e)){n||(n=t);var c=Object.keys(e),u=c.length;if(o=!1,1===u&&"id"===c[0])return[l[e.id]];if((a=this.I)&&!r)for(var h=0;h<a.length;h++){var f=a[h],p=e[f];if(!D(p)){if(i=this.G[f]["@"+p],0==--u)return i;c.splice(c.indexOf(f),1),delete e[f];break}}for(h=0,a=Array(u);h<u;h++)a[h]=c[h].split(":")}else{if(R(e)){for(c=0,n=(t=r||Object.keys(l)).length;c<n;c++)u=l[t[c]],e(u)&&(s[d++]=u);return s}if(D(t))return[l[e]];if("id"===e)return[l[t]];c=[e],u=1,a=[e.split(":")],o=!0}for(f=0,h=(r=i||r||Object.keys(l)).length;f<h;f++){p=i?r[f]:l[r[f]];for(var m=!0,g=0;g<u;g++){o||(t=e[c[g]]);var b=a[g],v=b.length,x=p;if(1<v)for(var y=0;y<v;y++)x=x[b[y]];else x=x[b[0]];if(x!==t){m=!1;break}}if(m&&(s[d++]=p,n&&d===n))break}return s},I.prototype.info=function(){if(!this.g)return{id:this.id,items:this.length,cache:!!this.cache&&!!this.cache.s&&this.cache.s.length,matcher:V.length+(this.v?this.v.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&"strict"===this.f};for(var e=0;e<this.g;e++)this.m[e].postMessage({info:!0,id:this.id})},I.prototype.clear=function(){return this.destroy().init()},I.prototype.destroy=function(){if(this.cache&&(this.j.clear(),this.j=null),this.i=this.h=this.c=null,this.a){for(var e=this.a.keys,t=0;t<e.length;t++)this.a.index[e[t]].destroy();this.a=this.l=null}return this},I.prototype.export=function(e){var t=!e||D(e.serialize)||e.serialize;if(this.a){var n=!e||D(e.doc)||e.doc,r=!e||D(e.index)||e.index;e=[];var o=0;if(r)for(r=this.a.keys;o<r.length;o++){var a=this.a.index[r[o]];e[o]=[a.i,a.h,Object.keys(a.c)]}n&&(e[o]=this.l)}else e=[this.i,this.h,Object.keys(this.c)];return t&&(e=JSON.stringify(e)),e},I.prototype.import=function(e,t){(!t||D(t.serialize)||t.serialize)&&(e=JSON.parse(e));var n=W();if(this.a){var r=!t||D(t.doc)||t.doc,o=0;if(!t||D(t.index)||t.index){for(var a=(t=this.a.keys).length,i=e[0][2];o<i.length;o++)n[i[o]]=1;for(o=0;o<a;o++){i=this.a.index[t[o]];var l=e[o];l&&(i.i=l[0],i.h=l[1],i.c=n)}}r&&(this.l=H(r)?r:e[o])}else{for(o=0,r=e[2];o<r.length;o++)n[r[o]]=1;this.i=e[0],this.h=e[1],this.c=n}};var ee=(n=O("\\s+"),r=O("[^a-z0-9 ]"),o=[O("[-/]")," ",r,"",n," "],function(e){return T(C(e.toLowerCase(),o))}),et={icase:function(e){return e.toLowerCase()},simple:(a=O("\\s+"),i=O("[^a-z0-9 ]"),l=O("[-/]"),s=[O("[\xe0\xe1\xe2\xe3\xe4\xe5]"),"a",O("[\xe8\xe9\xea\xeb]"),"e",O("[\xec\xed\xee\xef]"),"i",O("[\xf2\xf3\xf4\xf5\xf6ő]"),"o",O("[\xf9\xfa\xfb\xfcű]"),"u",O("[\xfdŷ\xff]"),"y",O("\xf1"),"n",O("[\xe7c]"),"k",O("\xdf"),"s",O(" & ")," and ",l," ",i,"",a," "],function(e){return" "===(e=C(e.toLowerCase(),s))?"":e}),advanced:(d=O("ae"),c=O("ai"),u=O("ay"),h=O("ey"),f=O("oe"),p=O("ue"),m=O("ie"),g=O("sz"),b=O("zs"),v=O("ck"),x=O("cc"),y=[d,"a",c,"ei",u,"ei",h,"ei",f,"o",p,"u",m,"i",g,"s",b,"s",O("sh"),"s",v,"k",x,"k",O("th"),"t",O("dt"),"t",O("ph"),"f",O("pf"),"f",O("ou"),"o",O("uo"),"u"],function(e,t){return e?(2<(e=this.simple(e)).length&&(e=C(e,y)),t||1<e.length&&(e=T(e)),e):e}),extra:(k=[O("p"),"b",O("z"),"s",O("[cgq]"),"k",O("n"),"m",O("d"),"t",O("[vw]"),"f",O("[aeiouy]"),""],function(e){if(!e)return e;if(1<(e=this.advanced(e,!0)).length){e=e.split(" ");for(var t=0;t<e.length;t++){var n=e[t];1<n.length&&(e[t]=n[0]+C(n.substring(1),k))}e=e.join(" "),e=T(e)}return e}),balance:ee},en=(w=function(e){this.clear(),this.H=!0!==e&&e},w.prototype.clear=function(){this.cache=W(),this.count=W(),this.index=W(),this.s=[]},w.prototype.set=function(e,t){if(this.H&&D(this.cache[e])){var n=this.s.length;if(n===this.H){n--;var r=this.s[n];delete this.cache[r],delete this.count[r],delete this.index[r]}this.index[e]=n,this.s[n]=e,this.count[e]=-1,this.cache[e]=t,this.get(e)}else this.cache[e]=t},w.prototype.get=function(e){var t=this.cache[e];if(this.H&&t){var n=++this.count[e],r=this.index,o=r[e];if(0<o){for(var a=this.s,i=o;this.count[a[--o]]<=n&&-1!==o;);if(++o!==i){for(n=i;n>o;n--)i=a[n-1],a[n]=i,r[i]=n;a[o]=e,r[e]=o}}}return t},w);return I}((r={},o="undefined"!=typeof Blob&&"undefined"!=typeof URL&&URL.createObjectURL,function(e,t,n,a,i){return n=o?URL.createObjectURL(new Blob(["("+n.toString()+")()"],{type:"text/javascript"})):e+".min.js",r[e+="-"+t]||(r[e]=[]),r[e][i]=new Worker(n),r[e][i].onmessage=a,r[e][i]})),l=this,(s=l.define)&&s.amd?s([],function(){return i}):(s=l.modules)?s[a.toLowerCase()]=i:"object"==typeof t?e.exports=i:l[a]=i},8569:function(e,t,n){"use strict";e.exports=function(e,t){for(var n,o,a,i=e||"",l=t||"div",s={},d=0;d<i.length;)r.lastIndex=d,a=r.exec(i),(n=i.slice(d,a?a.index:i.length))&&(o?"#"===o?s.id=n:s.className?s.className.push(n):s.className=[n]:l=n,d+=n.length),a&&(o=a[0],d++);return{type:"element",tagName:l,properties:s,children:[]}};var r=/[#.]/g},99082:function(e,t,n){"use strict";var r=function(e,t){return"string"==typeof e||"length"in e||o(t.tagName,e)},o=function(e,t){var n=t.type;return"input"!==e&&!!n&&"string"==typeof n&&("object"==typeof t.children&&"length"in t.children||((n=n.toLowerCase(),"button"===e)?"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n:"value"in t))},a=function(e,t,n){var r,o,a;if("object"!=typeof n||!("length"in n))return i(e,t,n);for(o=n.length,r=-1,a=[];++r<o;)a[r]=i(e,t,n[r]);return a},i=function(e,t,n){var r=n;return e.number||e.positiveNumber?!isNaN(r)&&""!==r&&(r=Number(r)):(e.boolean||e.overloadedBoolean)&&"string"==typeof r&&(""===r||c(n)===c(t))&&(r=!0),r},l=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")},s=function(e){for(var t,n=e.length,r=-1,o={};++r<n;)o[(t=e[r]).toLowerCase()]=t;return o},d=n("31368"),c=n("95322"),u=n("8569"),h=n("47296").parse,f=n("40926").parse;e.exports=function(e,t,n){var o=n?s(n):null;return function(n,i){var s,c=u(n,t),m=Array.prototype.slice.call(arguments,2),g=c.tagName.toLowerCase();if(c.tagName=o&&p.call(o,g)?o[g]:g,i&&r(i,c)&&(m.unshift(i),i=null),i)for(s in i)(function(t,n,r){var o,i,s;null!=r&&r==r&&(i=(o=d(e,n)).property,"string"==typeof(s=r)&&(o.spaceSeparated?s=h(s):o.commaSeparated?s=f(s):o.commaOrSpaceSeparated&&(s=h(f(s).join(" ")))),"style"===i&&"string"!=typeof r&&(s=l(s)),"className"===i&&t.className&&(s=t.className.concat(s)),t[i]=a(o,i,s))})(c.properties,s,i[s]);return function e(t,n){var r,o;if("string"==typeof n||"number"==typeof n){t.push({type:"text",value:String(n)});return}if("object"==typeof n&&"length"in n){for(r=-1,o=n.length;++r<o;)e(t,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");t.push(n)}(c.children,m),"template"===c.tagName&&(c.content={type:"root",children:c.children},c.children=[]),c}};var p={}.hasOwnProperty},51178:function(e,t,n){"use strict";var r=n("71236"),o=n("99082")(r,"div");o.displayName="html",e.exports=o},55589:function(e,t,n){"use strict";e.exports=n("51178")},44463:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,r,o,a,i,l],c=0;(s=Error(t.replace(/%s/g,function(){return d[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},21076:function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},99215:function(e,t,n){"use strict";var r=n("21076"),o=n("48935");e.exports=function(e){return r(e)||o(e)}},48935:function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},55181:function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},41989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});var r=n("20891"),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){return"IMG"===e.tagName},i=function(e){return e&&1===e.nodeType},l=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},s=function(e){try{var t;if(Array.isArray(e))return e.filter(a);if(t=e,NodeList.prototype.isPrototypeOf(t))return[].slice.call(e).filter(a);if(i(e))return[e].filter(a);if("string"==typeof e)return[].slice.call(document.querySelectorAll(e)).filter(a);return[]}catch(e){throw TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},d=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},c=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,o=t.width,a=t.height,i=e.cloneNode(),l=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,s=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return i.removeAttribute("id"),i.style.position="absolute",i.style.top=n+l+"px",i.style.left=r+s+"px",i.style.width=o+"px",i.style.height=a+"px",i.style.transform="",i},u=function(e,t){var n=o({bubbles:!1,cancelable:!1,detail:void 0},t);if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}");var h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=window.Promise||function(e){var t=function(){};e(t,t)},h=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return[].concat(e,s(t))},[]);return r.filter(function(e){return -1===g.indexOf(e)}).forEach(function(e){g.push(e),e.classList.add("medium-zoom-image")}),b.forEach(function(e){var t=e.type,n=e.listener,o=e.options;r.forEach(function(e){e.addEventListener(t,n,o)})}),_},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(y.container){if(r._(y.container,Object))t=(e=o({},e,y.container)).width-e.left-e.right-2*y.margin,n=e.height-e.top-e.bottom-2*y.margin;else{var a=(i(y.container)?y.container:document.querySelector(y.container)).getBoundingClientRect();e=o({},e,{width:a.width,height:a.height,left:a.left,top:a.top})}}t=t||e.width-2*y.margin,n=n||e.height-2*y.margin;var s=k.zoomedHd||k.original,d=l(s)?t:s.naturalWidth||t,c=l(s)?n:s.naturalHeight||n,u=s.getBoundingClientRect(),h=u.top,f=u.left,p=u.width,m=u.height,g=Math.min(Math.min(Math.max(p,d),t)/p,Math.min(Math.max(m,c),n)/m),b=(-f+(t-p)/2+y.margin+e.left)/g,v=(-h+(n-m)/2+y.margin+e.top)/g,x="scale("+g+") translate3d("+b+"px, "+v+"px, 0)";k.zoomed.style.transform=x,k.zoomedHd&&(k.zoomedHd.style.transform=x)};return new a(function(e){if(t&&-1===g.indexOf(t)){e(_);return}if(k.zoomed){e(_);return}if(t)k.original=t;else if(g.length>0){var r=g;k.original=r[0]}else{e(_);return}if(k.original.dispatchEvent(u("medium-zoom:open",{detail:{zoom:_}})),x=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,v=!0,k.zoomed=c(k.original),document.body.appendChild(w),y.template){var o=i(y.template)?y.template:document.querySelector(y.template);k.template=document.createElement("div"),k.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(k.template)}if(k.original.parentElement&&"PICTURE"===k.original.parentElement.tagName&&k.original.currentSrc&&(k.zoomed.src=k.original.currentSrc),document.body.appendChild(k.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),k.original.classList.add("medium-zoom-image--hidden"),k.zoomed.classList.add("medium-zoom-image--opened"),k.zoomed.addEventListener("click",p),k.zoomed.addEventListener("transitionend",function t(){v=!1,k.zoomed.removeEventListener("transitionend",t),k.original.dispatchEvent(u("medium-zoom:opened",{detail:{zoom:_}})),e(_)}),k.original.getAttribute("data-zoom-src")){k.zoomedHd=k.zoomed.cloneNode(),k.zoomedHd.removeAttribute("srcset"),k.zoomedHd.removeAttribute("sizes"),k.zoomedHd.removeAttribute("loading"),k.zoomedHd.src=k.zoomed.getAttribute("data-zoom-src"),k.zoomedHd.onerror=function(){clearInterval(a),console.warn("Unable to reach the zoom image target "+k.zoomedHd.src),k.zoomedHd=null,n()};var a=setInterval(function(){k.zoomedHd.complete&&(clearInterval(a),k.zoomedHd.classList.add("medium-zoom-image--opened"),k.zoomedHd.addEventListener("click",p),document.body.appendChild(k.zoomedHd),n())},10)}else if(k.original.hasAttribute("srcset")){k.zoomedHd=k.zoomed.cloneNode(),k.zoomedHd.removeAttribute("sizes"),k.zoomedHd.removeAttribute("loading");var l=k.zoomedHd.addEventListener("load",function(){k.zoomedHd.removeEventListener("load",l),k.zoomedHd.classList.add("medium-zoom-image--opened"),k.zoomedHd.addEventListener("click",p),document.body.appendChild(k.zoomedHd),n()})}else n()})},p=function(){return new a(function(e){if(v||!k.original){e(_);return}v=!0,document.body.classList.remove("medium-zoom--opened"),k.zoomed.style.transform="",k.zoomedHd&&(k.zoomedHd.style.transform=""),k.template&&(k.template.style.transition="opacity 150ms",k.template.style.opacity=0),k.original.dispatchEvent(u("medium-zoom:close",{detail:{zoom:_}})),k.zoomed.addEventListener("transitionend",function t(){k.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(k.zoomed),k.zoomedHd&&document.body.removeChild(k.zoomedHd),document.body.removeChild(w),k.zoomed.classList.remove("medium-zoom-image--opened"),k.template&&document.body.removeChild(k.template),v=!1,k.zoomed.removeEventListener("transitionend",t),k.original.dispatchEvent(u("medium-zoom:closed",{detail:{zoom:_}})),k.original=null,k.zoomed=null,k.zoomedHd=null,k.template=null,e(_)})})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return k.original?p():f({target:t})},g=[],b=[],v=!1,x=0,y=n,k={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?y=t:(t||"string"==typeof t)&&h(t);var w=d((y=o({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},y)).background);document.addEventListener("click",function(e){var t=e.target;if(t===w){p();return}-1!==g.indexOf(t)&&m({target:t})}),document.addEventListener("keyup",function(e){var t=e.key||e.keyCode;("Escape"===t||"Esc"===t||27===t)&&p()}),document.addEventListener("scroll",function(){!v&&k.original&&Math.abs(x-(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0))>y.scrollOffset&&setTimeout(p,150)}),window.addEventListener("resize",p);var _={open:f,close:p,toggle:m,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.background&&(w.style.background=e.background),e.container&&r._(e.container,Object)&&(e.container=o({},y.container,e.container)),e.template){var t=i(e.template)?e.template:document.querySelector(e.template);e.template=t}return y=o({},y,e),g.forEach(function(e){e.dispatchEvent(u("medium-zoom:update",{detail:{zoom:_}}))}),_},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(o({},y,t))},attach:h,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];k.zoomed&&p();var r=t.length>0?t.reduce(function(e,t){return[].concat(e,s(t))},[]):g;return r.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(u("medium-zoom:detach",{detail:{zoom:_}}))}),g=g.filter(function(e){return -1===r.indexOf(e)}),_},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g.forEach(function(r){r.addEventListener("medium-zoom:"+e,t,n)}),b.push({type:"medium-zoom:"+e,listener:t,options:n}),_},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g.forEach(function(r){r.removeEventListener("medium-zoom:"+e,t,n)}),b=b.filter(function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())}),_},getOptions:function(){return y},getImages:function(){return g},getZoomedImage:function(){return k.original}};return _}},42256:function(e,t,n){var r,o;r=this,o=function(){var e,t,n,r,o,a,i,l,s=function(e,t,n){return e<t?t:e>n?n:e},d=function(e){return(-1+e)*100},c=function(e,t,n){var r;return(r="translate3d"===b.positionUsing?{transform:"translate3d("+d(e)+"%,0,0)"}:"translate"===b.positionUsing?{transform:"translate("+d(e)+"%,0)"}:{"margin-left":d(e)+"%"}).transition="all "+t+"ms "+n,r},u=function(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0},h=function(e,t){var n=p(e),r=n+t;!u(n,t)&&(e.className=r.substring(1))},f=function(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))},p=function(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")},m=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},g={};g.version="0.2.0";var b=g.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};g.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(b[t]=n);return this},g.status=null,g.set=function(e){var t=g.isStarted();e=s(e,b.minimum,1),g.status=1===e?null:e;var n=g.render(!t),r=n.querySelector(b.barSelector),o=b.speed,a=b.easing;return n.offsetWidth,v(function(t){""===b.positionUsing&&(b.positionUsing=g.getPositioningCSS()),x(r,c(e,o,a)),1===e?(x(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){x(n,{transition:"all "+o+"ms linear",opacity:0}),setTimeout(function(){g.remove(),t()},o)},o)):setTimeout(t,o)}),this},g.isStarted=function(){return"number"==typeof g.status},g.start=function(){!g.status&&g.set(0);var e=function(){setTimeout(function(){g.status&&(g.trickle(),e())},b.trickleSpeed)};return b.trickle&&e(),this},g.done=function(e){return e||g.status?g.inc(.3+.5*Math.random()).set(1):this},g.inc=function(e){var t=g.status;return t?("number"!=typeof e&&(e=(1-t)*s(Math.random()*t,.1,.95)),t=s(t+e,0,.994),g.set(t)):g.start()},g.trickle=function(){return g.inc(Math.random()*b.trickleRate)},e=0,t=0,g.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&g.start(),e++,t++,n.always(function(){0==--t?(e=0,g.done()):g.set((e-t)/e)}),this):this},g.render=function(e){if(g.isRendered())return document.getElementById("nprogress");h(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=b.template;var n,r=t.querySelector(b.barSelector),o=e?"-100":d(g.status||0),a=document.querySelector(b.parent);return x(r,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),!b.showSpinner&&(n=t.querySelector(b.spinnerSelector))&&m(n),a!=document.body&&h(a,"nprogress-custom-parent"),a.appendChild(t),t},g.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(b.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&m(e)},g.isRendered=function(){return!!document.getElementById("nprogress")},g.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var v=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()});var x=(r=function(e){var t=document.body.style;if(e in t)return e;for(var n,r=i.length,o=e.charAt(0).toUpperCase()+e.slice(1);r--;)if((n=i[r]+o)in t)return n;return e},o=function(e){return l[e=e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(l[e]=r(e))},a=function(e,t,n){t=o(t),e.style[t]=n},i=["Webkit","O","Moz","ms"],l={},function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])});return g},"function"==typeof define&&define.amd?define(o):"object"==typeof t?e.exports=o():r.NProgress=o()},54178:function(e,t,n){"use strict";var r,o=59;e.exports=function(e){var t,n="&"+e+";";return(r=r||document.createElement("i")).innerHTML=n,((t=r.textContent).charCodeAt(t.length-1)!==o||"semi"===e)&&t!==n&&t}},63716:function(e,t,n){"use strict";var r=function(e,t){var n,r,s,d,m,H,D,q,W,$,G,X,K,Y,V,Z,Q,J,ee,et=t.additional,en=t.nonTerminated,er=t.text,eo=t.reference,ea=t.warning,ei=t.textContext,el=t.referenceContext,es=t.warningContext,ed=t.position,ec=t.indent||[],eu=e.length,eh=0,ef=-1,ep=ed.column||1,em=ed.line||1,eg="",eb=[];for("string"==typeof et&&(et=et.charCodeAt(0)),Z=ev(),q=ea?function(e,t){var n=ev();n.column+=t,n.offset+=t,ea.call(es,R[e],n,e)}:p,eh--,eu++;++eh<eu;)if(m===b&&(ep=ec[ef]||1),(m=e.charCodeAt(eh))===y){if((D=e.charCodeAt(eh+1))===g||D===b||D===v||D===x||D===y||D===w||D!=D||et&&D===et){eg+=f(m),ep++;continue}for(X=K=eh+1,ee=K,D===I?(ee=++X,(D=e.charCodeAt(ee))===P||D===E?(Y=O,ee=++X):Y=C):Y=S,n="",G="",d="",V=T[Y],ee--;++ee<eu&&V(D=e.charCodeAt(ee));){;d+=f(D),Y===S&&h.call(i,d)&&(n=d,G=i[d])}if((s=e.charCodeAt(ee)===k)&&(ee++,(r=Y===S&&u(d))&&(n=d,G=r)),J=1+ee-K,s||en)d?Y===S?(s&&!G?q(M,1):(n!==d&&(J=1+(ee=X+n.length)-X,s=!1),!s&&(W=n?A:F,t.attribute?(D=e.charCodeAt(ee))===_?(q(W,J),G=null):c(D)?G=null:q(W,J):q(W,J))),H=G):(!s&&q(N,J),o(H=parseInt(d,z[Y]))?(q(U,J),H=f(j)):H in l?(q(B,J),H=l[H]):($="",a(H)&&q(B,J),H>65535&&(H-=65536,$+=f(H>>>10|55296),H=56320|1023&H),H=$+f(H))):Y!==S&&q(L,J);H?(ex(),Z=ev(),eh=ee-1,ep+=ee-K+1,eb.push(H),Q=ev(),Q.offset++,eo&&eo.call(el,H,{start:Z,end:Q},e.slice(K-1,ee)),Z=Q):(eg+=d=e.slice(K-1,ee),ep+=d.length,eh=ee-1)}else 10===m&&(em++,ef++,ep=0),m==m?(eg+=f(m),ep++):ex();return eb.join("");function ev(){return{line:em,column:ep,offset:eh+(ed.offset||0)}}function ex(){eg&&(eb.push(eg),er&&er.call(ei,eg,{start:Z,end:ev()}),eg="")}},o=function(e){return e>=55296&&e<=57343||e>1114111},a=function(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(65535&e)==65535||(65535&e)==65534},i=n("66428"),l=n("20165"),s=n("48935"),d=n("55181"),c=n("99215"),u=n("54178");e.exports=function(e,t){var n,o,a={};for(o in!t&&(t={}),m)n=t[o],a[o]=null==n?m[o]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),r(e,a)};var h={}.hasOwnProperty,f=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},g=9,b=10,v=12,x=32,y=38,k=59,w=60,_=61,I=35,P=88,E=120,j=65533,S="named",O="hexadecimal",C="decimal",z={};z[O]=16,z[C]=10;var T={};T[S]=c,T[C]=s,T[O]=d;var A=1,N=2,F=3,L=4,M=5,B=6,U=7,R={};R[1]="Named character references must be terminated by a semicolon",R[N]="Numeric character references must be terminated by a semicolon",R[F]="Named character references cannot be empty",R[L]="Numeric character references cannot be empty",R[M]="Named character references must be known",R[B]="Numeric character references cannot be disallowed",R[U]="Numeric character references cannot be outside the permissible Unicode range"},62920:function(e,t,n){var r=n("20891"),o=function(e){var t=function(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length},n=function(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o},o=function(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0},a=function(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o},i=function(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o},l=function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t},s=function(){!h.manual&&h.highlightAll()},d=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,c=0,u={},h={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return r._(n,t)?new t(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return!e.__id&&Object.defineProperty(e,"__id",{value:++c}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},h.util.type(t)){case"Object":if(n[o=h.util.objId(t)])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":if(n[o=h.util.objId(t)])return n[o];return r=[],n[o]=r,t.forEach(function(t,o){r[o]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var t=d.exec(e.className);if(t)return t[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,t){e.className=e.className.replace(RegExp(d,"gi"),""),e.classList.add("language-"+t)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(e,t){var n=h.util.clone(h.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||h.languages)[e],a={};for(var i in o)if(o.hasOwnProperty(i)){if(i==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);!n.hasOwnProperty(i)&&(a[i]=o[i])}var s=r[e];return r[e]=a,h.languages.DFS(h.languages,function(t,n){n===s&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,o){o=o||{};var a=h.util.objId;for(var i in t)if(t.hasOwnProperty(i)){n.call(t,i,t[i],r||i);var l=t[i],s=h.util.type(l);"Object"!==s||o[a(l)]?"Array"===s&&!o[a(l)]&&(o[a(l)]=!0,e(l,n,i,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){h.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};h.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),h.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)h.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=function(e){d.highlightedCode=e,h.hooks.run("before-insert",d),d.element.innerHTML=d.highlightedCode,h.hooks.run("after-highlight",d),h.hooks.run("complete",d),r&&r.call(d.element)},a=h.util.getLanguage(t),i=h.languages[a];h.util.setLanguage(t,a);var l=t.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&h.util.setLanguage(l,a);var s=t.textContent,d={element:t,language:a,grammar:i,code:s};if(h.hooks.run("before-sanity-check",d),(l=d.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!d.code){h.hooks.run("complete",d),r&&r.call(d.element);return}if(h.hooks.run("before-highlight",d),!d.grammar){o(h.util.encode(d.code));return}if(n&&e.Worker){var c=new Worker(h.filename);c.onmessage=function(e){o(e.data)},c.postMessage(JSON.stringify({language:d.language,code:d.code,immediateClose:!0}))}else o(h.highlight(d.code,d.grammar,d.language))},highlight:function(e,n,r){var o={code:e,grammar:n,language:r};if(h.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return o.tokens=h.tokenize(o.code,o.grammar),h.hooks.run("after-tokenize",o),t.stringify(h.util.encode(o.tokens),o.language)},tokenize:function(e,s){var d=s.rest;if(d){for(var c in d)s[c]=d[c];delete s.rest}var u=new o;return a(u,u.head,e),function e(o,l,s,d,c,u){for(var f in s)if(s.hasOwnProperty(f)&&s[f]){var p=s[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(u&&u.cause==f+","+m)return;var g=p[m],b=g.inside,v=!!g.lookbehind,x=!!g.greedy,y=g.alias;if(x&&!g.pattern.global){var k=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,k+"g")}for(var w=g.pattern||g,_=d.next,I=c;_!==l.tail&&(!u||!(I>=u.reach));I+=_.value.length,_=_.next){var P,E=_.value;if(l.length>o.length)return;if(!r._(E,t)){var j=1;if(x){if(!(P=n(w,I,o,v))||P.index>=o.length)break;var S=P.index,O=P.index+P[0].length,C=I;for(C+=_.value.length;S>=C;)C+=(_=_.next).value.length;if(C-=_.value.length,I=C,r._(_.value,t))continue;for(var z=_;z!==l.tail&&(C<O||"string"==typeof z.value);z=z.next)j++,C+=z.value.length;j--,E=o.slice(I,C),P.index-=I}else if(!(P=n(w,0,E,v)))continue;var S=P.index,T=P[0],A=E.slice(0,S),N=E.slice(S+T.length),F=I+E.length;u&&F>u.reach&&(u.reach=F);var L=_.prev;A&&(L=a(l,L,A),I+=A.length),i(l,L,j);var M=new t(f,b?h.tokenize(T,b):T,y,T);if(_=a(l,L,M),N&&a(l,_,N),j>1){var B={cause:f+","+m,reach:F};e(o,l,s,_.prev,I,B),u&&B.reach>u.reach&&(u.reach=B.reach)}}}}}}(e,u,s,u.head,0),l(u)},hooks:{all:{},add:function(e,t){var n=h.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=h.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:t};e.Prism=h,t.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),h.hooks.run("wrap",o);var i="";for(var l in o.attributes)i+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+i+">"+o.content+"</"+o.tag+">"};if(!e.document)return e.addEventListener?(!h.disableWorkerMessageHandler&&e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(h.highlight(o,h.languages[r],r)),a&&e.close()},!1),h):h;var f=h.util.currentScript();if(f&&(h.filename=f.src,f.hasAttribute("data-manual")&&(h.manual=!0)),!h.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",s):window.requestAnimationFrame?window.requestAnimationFrame(s):window.setTimeout(s,16)}return h}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&r._(self,WorkerGlobalScope)?self:{});void 0!==e&&e.exports&&(e.exports=o),void 0!==n.g&&(n.g.Prism=o)},88154:function(e,t,n){"use strict";var r=function(){},o=function(){},a=n("11585");o.resetWarningCache=r,e.exports=function(){var e=function(e,t,n,r,o,i){if(i!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}},t=function(){return e};e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},47459:function(e,t,n){e.exports=n("88154")()},11585:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},31368:function(e,t,n){"use strict";var r=function(e){var t=e.slice(5).replace(h,i);return c+t.charAt(0).toUpperCase()+t.slice(1)},o=function(e){var t=e.slice(4);return h.test(t)?e:("-"!==(t=t.replace(f,a)).charAt(0)&&(t="-"+t),c+t)},a=function(e){return"-"+e.toLowerCase()},i=function(e){return e.charAt(1).toUpperCase()},l=n("95322"),s=n("52987"),d=n("82558"),c="data";e.exports=function(e,t){var n=l(t),a=t,i=d;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===c&&u.test(t)&&("-"===t.charAt(4)?a=r(t):t=o(t),i=s),new i(a,t))};var u=/^data[-\w.:]+$/i,h=/-[a-z]/g,f=/[A-Z]/g},71236:function(e,t,n){"use strict";var r=n("70541"),o=n("87043"),a=n("96690"),i=n("26605"),l=n("40096"),s=n("40051");e.exports=r([a,o,i,l,s])},40096:function(e,t,n){"use strict";var r=n("8532"),o=n("49402"),a=r.booleanish,i=r.number,l=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:i,ariaColIndex:i,ariaColSpan:i,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:i,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:i,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:i,ariaRowIndex:i,ariaRowSpan:i,ariaSelected:a,ariaSetSize:i,ariaSort:null,ariaValueMax:i,ariaValueMin:i,ariaValueNow:i,ariaValueText:null,role:null}})},40051:function(e,t,n){"use strict";var r=n("8532"),o=n("49402"),a=n("14890"),i=r.boolean,l=r.overloadedBoolean,s=r.booleanish,d=r.number,c=r.spaceSeparated,u=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:i,allowPaymentRequest:i,allowUserMedia:i,alt:null,as:null,async:i,autoCapitalize:null,autoComplete:c,autoFocus:i,autoPlay:i,capture:i,charSet:null,checked:i,cite:null,className:c,cols:d,colSpan:null,content:null,contentEditable:s,controls:i,controlsList:c,coords:d|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:i,defer:i,dir:null,dirName:null,disabled:i,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:i,formTarget:null,headers:c,height:d,hidden:i,high:d,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:i,itemId:null,itemProp:c,itemRef:c,itemScope:i,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:i,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:i,muted:i,name:null,nonce:null,noModule:i,noValidate:i,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:i,optimum:d,pattern:null,ping:c,placeholder:null,playsInline:i,poster:null,preload:null,readOnly:i,referrerPolicy:null,rel:c,required:i,reversed:i,rows:d,rowSpan:d,sandbox:c,scope:null,scoped:i,seamless:i,selected:i,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:u,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:i,useMap:null,value:s,width:d,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:i,declare:i,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:i,noHref:i,noShade:i,noWrap:i,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:i,disableRemotePlayback:i,prefix:null,property:null,results:d,security:null,unselectable:null}})},14890:function(e,t,n){"use strict";var r=n("83379");e.exports=function(e,t){return r(e,t.toLowerCase())}},83379:function(e,t,n){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},49402:function(e,t,n){"use strict";var r=n("95322"),o=n("23707"),a=n("52987");e.exports=function(e){var t,n,i=e.space,l=e.mustUseProperty||[],s=e.attributes||{},d=e.properties,c=e.transform,u={},h={};for(t in d)n=new a(t,c(s,t),d[t],i),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,h[r(t)]=t,h[r(n.attribute)]=t;return new o(u,h,i)}},52987:function(e,t,n){"use strict";var r=function(e,t,n,r){var d,c=-1;for(o(this,"space",r),a.call(this,e,t);++c<s;)o(this,d=l[c],(n&i[d])===i[d])},o=function(e,t,n){n&&(e[t]=n)},a=n("82558"),i=n("8532");e.exports=r,r.prototype=new a,r.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],s=l.length},82558:function(e,t,n){"use strict";var r=function(e,t){this.property=e,this.attribute=t};e.exports=r;var o=r.prototype;o.space=null,o.attribute=null,o.property=null,o.boolean=!1,o.booleanish=!1,o.overloadedBoolean=!1,o.number=!1,o.commaSeparated=!1,o.spaceSeparated=!1,o.commaOrSpaceSeparated=!1,o.mustUseProperty=!1,o.defined=!1},70541:function(e,t,n){"use strict";var r=n("56296"),o=n("23707");e.exports=function(e){for(var t,n,a=e.length,i=[],l=[],s=-1;++s<a;)t=e[s],i.push(t.property),l.push(t.normal),n=t.space;return new o(r.apply(null,i),r.apply(null,l),n)}},23707:function(e,t,n){"use strict";var r=function(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)};e.exports=r;var o=r.prototype;o.space=null,o.normal={},o.property={}},8532:function(e,t,n){"use strict";var r=function(){return Math.pow(2,++o)},o=0;t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},87043:function(e,t,n){"use strict";var r=n("49402");e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},96690:function(e,t,n){"use strict";var r=n("49402");e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},26605:function(e,t,n){"use strict";var r=n("49402"),o=n("14890");e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,properties:{xmlns:null,xmlnsXLink:null}})},95322:function(e,t,n){"use strict";e.exports=function(e){return e.toLowerCase()}},94086:function(e,t,n){var r=n("20891"),o="undefined"!=typeof Element,a="function"==typeof Map,i="function"==typeof Set,l="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,d,c,u;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((s=t.length)!=n.length)return!1;for(d=s;0!=d--;)if(!e(t[d],n[d]))return!1;return!0}if(a&&r._(t,Map)&&r._(n,Map)){if(t.size!==n.size)return!1;for(u=t.entries();!(d=u.next()).done;)if(!n.has(d.value[0]))return!1;for(u=t.entries();!(d=u.next()).done;)if(!e(d.value[1],n.get(d.value[0])))return!1;return!0}if(i&&r._(t,Set)&&r._(n,Set)){if(t.size!==n.size)return!1;for(u=t.entries();!(d=u.next()).done;)if(!n.has(d.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((s=t.length)!=n.length)return!1;for(d=s;0!=d--;)if(t[d]!==n[d])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(d=s;0!=d--;)if(!Object.prototype.hasOwnProperty.call(n,c[d]))return!1;if(o&&r._(t,Element))return!1;for(d=s;0!=d--;)if(("_owner"!==c[d]&&"__v"!==c[d]&&"__o"!==c[d]||!t.$$typeof)&&!e(t[c[d]],n[c[d]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},78585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Helmet:function(){return et},HelmetProvider:function(){return X}});var r,o,a,i,l,s,d=n("20891"),c=n("17508"),u=n.ir(n("6171")),h=n.ir(n("47459")),f=n.ir(n("94086")),p=n.ir(n("44463")),m=n.ir(n("28722"));function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function b(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},k={rel:["amphtml","canonical","alternate"]},w={type:["application/ld+json"]},_={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},I=Object.keys(y).map(function(e){return y[e]}),P={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E=Object.keys(P).reduce(function(e,t){return e[P[t]]=t,e},{}),j=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},S=function(e){var t=j(e,y.TITLE),n=j(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=j(e,"defaultTitle");return t||r||void 0},O=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return g({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+c._(t[e])+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var o={};n.filter(function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var l=a[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var d=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][d]&&(o[n][d]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var a=Object.keys(o),i=0;i<a.length;i+=1){var l=a[i],s=g({},r[l],o[l]);r[l]=s}return e},[]).reverse()},z=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},T=function(e){return Array.isArray(e)?e.join(""):e},A=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return g({},e,((n={})[t]=void 0,n))},F=[y.NOSCRIPT,y.SCRIPT,y.STYLE],L=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},B=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[P[n]||n]=e[n],t},t)},U=function(e,t){return t.map(function(t,n){var r,o=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach(function(e){var n=P[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),u.default.createElement(e,o)})},R=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){var e,n,r,o;return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,o=B(n,r),[u.default.createElement(y.TITLE,o,e)]},toString:function(){var r,o,a,i,l,s;return r=e,o=t.title,a=t.titleAttributes,i=n,l=M(a),s=T(o),l?"<"+r+' data-rh="true" '+l+">"+L(s,i)+"</"+r+">":"<"+r+' data-rh="true">'+L(s,i)+"</"+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return B(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return U(e,t)},toString:function(){var r,o,a;return r=e,o=t,a=n,o.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+L(t[n],a)+'"';return e?e+" "+r:r},""),o=t.innerHTML||t.cssText||"",i=-1===F.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+o+"</"+r+">")},"")}}}},H=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,d=e.linkTags,c=e.metaTags,u=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var f,p,m,g,b,v,x,I=(p=(f=e).linkTags,m=f.scriptTags,g=f.encode,b=A(f.metaTags,_),v=A(p,k),x=A(m,w),{priorityMethods:{toComponent:function(){return[].concat(U(y.META,b.priority),U(y.LINK,v.priority),U(y.SCRIPT,x.priority))},toString:function(){return R(y.META,b.priority,g)+" "+R(y.LINK,v.priority,g)+" "+R(y.SCRIPT,x.priority,g)}},metaTags:b.default,linkTags:v.default,scriptTags:x.default});h=I.priorityMethods,d=I.linkTags,c=I.metaTags,u=I.scriptTags}return{priority:h,base:R(y.BASE,t,r),bodyAttributes:R("bodyAttributes",n,r),htmlAttributes:R("htmlAttributes",o,r),link:R(y.LINK,d,r),meta:R(y.META,c,r),noscript:R(y.NOSCRIPT,a,r),script:R(y.SCRIPT,u,r),style:R(y.STYLE,i,r),title:R(y.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],q=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=H({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},W=u.default.createContext({}),$=h.default.shape({setHelmet:h.default.func,helmetInstances:h.default.shape({get:h.default.func,add:h.default.func,remove:h.default.func})}),G="undefined"!=typeof document,X=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new q(r.props.context,t.canUseDOM),r}return b(t,e),t.prototype.render=function(){return u.default.createElement(W.Provider,{value:this.helmetData.value},this.props.children)},t}(u.Component);X.canUseDOM=G,X.propTypes={context:h.default.shape({helmet:h.default.shape()}),children:h.default.node.isRequired},X.defaultProps={context:{}},X.displayName="HelmetProvider";var K=function(e,t){var n,r=document.head||document.querySelector(y.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some(function(e,t){return n=t,r.isEqualNode(e)})?a.splice(n,1):i.push(r)}),a.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:a,newTags:i}},Y=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],d=t[s]||"";n.getAttribute(s)!==d&&n.setAttribute(s,d),-1===o.indexOf(s)&&o.push(s);var c=a.indexOf(s);-1!==c&&a.splice(c,1)}for(var u=a.length-1;u>=0;u-=1)n.removeAttribute(a[u]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n,r,o=e.baseTag,a=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,d=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,h=e.title,f=e.titleAttributes;Y(y.BODY,e.bodyAttributes),Y(y.HTML,a),n=h,r=f,void 0!==n&&document.title!==n&&(document.title=T(n)),Y(y.TITLE,r);var p={baseTag:K(y.BASE,o),linkTags:K(y.LINK,i),metaTags:K(y.META,l),noscriptTags:K(y.NOSCRIPT,s),scriptTags:K(y.SCRIPT,c),styleTags:K(y.STYLE,u)},m={},g={};Object.keys(p).forEach(function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(g[e]=p[e].oldTags)}),t&&t(),d(e,m,g)},Z=null,Q=(r=u.Component,o=function(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=r.call.apply(r,[this].concat(n))||this).rendered=!1,e},b(o,r),a=o.prototype,a.shouldComponentUpdate=function(e){return!(0,m.default)(e,this.props)},a.componentDidUpdate=function(){this.emitChange()},a.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},a.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=g({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[y.BASE]}).map(function(e){return e[y.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t},[])),bodyAttributes:O("bodyAttributes",t),defer:j(t,"defer"),encode:j(t,"encodeSpecialCharacters"),htmlAttributes:O("htmlAttributes",t),linkTags:C(y.LINK,["rel","href"],t),metaTags:C(y.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(y.NOSCRIPT,["innerHTML"],t),onChangeClientState:j(t,"onChangeClientState")||function(){},scriptTags:C(y.SCRIPT,["src","innerHTML"],t),styleTags:C(y.STYLE,["cssText"],t),title:S(t),titleAttributes:O("titleAttributes",t),prioritizeSeoTags:z(t,"prioritizeSeoTags")};X.canUseDOM?(Z&&cancelAnimationFrame(Z),a.defer?Z=requestAnimationFrame(function(){V(a,function(){Z=null})}):(V(a),Z=null)):H&&(o=H(a)),r(o)},a.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},a.render=function(){return this.init(),null},o);Q.propTypes={context:$.isRequired},Q.displayName="HelmetDispatcher";var J=["children"],ee=["children"],et=(i=u.Component,l=function(){return i.apply(this,arguments)||this},b(l,i),s=l.prototype,s.shouldComponentUpdate=function(e){return!(0,f.default)(N(this.props,"helmetData"),N(e,"helmetData"))},s.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},s.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return g({},r,((t={})[n.type]=[].concat(r[n.type]||[],[g({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},s.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case y.TITLE:return g({},o,((t={})[r.type]=i,t.titleAttributes=g({},a),t));case y.BODY:return g({},o,{bodyAttributes:g({},a)});case y.HTML:return g({},o,{htmlAttributes:g({},a)});default:return g({},o,((n={})[r.type]=g({},a),n))}},s.mapArrayTypeChildrenToProps=function(e,t){var n=g({},t);return Object.keys(e).forEach(function(t){var r;n=g({},n,((r={})[t]=e[t],r))}),n},s.warnOnInvalidChildren=function(e,t){return(0,p.default)(I.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+I.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),(0,p.default)(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},s.mapChildrenToProps=function(e,t){var n=this,r={};return u.default.Children.forEach(e,function(e){if(e&&e.props){var o=e.props,a=o.children,i=x(o,J),l=Object.keys(i).reduce(function(e,t){return e[E[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==(void 0===s?"undefined":c._(s))?s=s.toString():n.warnOnInvalidChildren(e,a),s){case y.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}}),this.mapArrayTypeChildrenToProps(r,t)},s.render=function(){var e=this.props,t=e.children,n=x(e,ee),r=g({},n),o=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!o||d._(o,q)||(o=new q(o.context,o.instances)),o?u.default.createElement(Q,g({},r,{context:o.value,helmetData:void 0})):u.default.createElement(W.Consumer,null,function(e){return u.default.createElement(Q,g({},r,{context:e}))})},l);et.propTypes={base:h.default.object,bodyAttributes:h.default.object,children:h.default.oneOfType([h.default.arrayOf(h.default.node),h.default.node]),defaultTitle:h.default.string,defer:h.default.bool,encodeSpecialCharacters:h.default.bool,htmlAttributes:h.default.object,link:h.default.arrayOf(h.default.object),meta:h.default.arrayOf(h.default.object),noscript:h.default.arrayOf(h.default.object),onChangeClientState:h.default.func,script:h.default.arrayOf(h.default.object),style:h.default.arrayOf(h.default.object),title:h.default.string,titleAttributes:h.default.object,titleTemplate:h.default.string,prioritizeSeoTags:h.default.bool,helmetData:h.default.object},et.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},et.displayName="Helmet"},89440:function(e,t,n){"use strict";var r=function(e){var t,n,r=(0,o.lazy)(e),a=(0,o.forwardRef)(function(e,n){var a=(0,o.useRef)(null!=t?t:r);return(0,o.createElement)(a.current,Object.assign(n?{ref:n}:{},e))});return a.preload=function(){return!n&&(n=e().then(function(e){return t=e.default})),n},a};Object.defineProperty(t,"__esModule",{value:!0}),t.lazyWithPreload=void 0;var o=n("6171");t.lazyWithPreload=r,t.default=r},10606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e,t){return -1!==e.listLanguages().indexOf(t)}},7873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});var r=n.ir(n("79766")),o=n.ir(n("33460")),a=n.ir(n("6171"));function i(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var s={};function d(e){return e.join(" ")}function c(e){var t=e.node,n=e.stylesheet,o=e.style,i=e.useInlineStyles,d=e.key,u=t.properties,h=t.type,f=t.tagName,p=t.value;if("text"===h)return p;if(f){var m,g,b,v,x=(m=n,g=i,b=0,function(e){return b+=1,e.map(function(e,t){return c({node:e,stylesheet:m,useInlineStyles:g,key:"code-segment-".concat(b,"-").concat(t)})})});if(i){var y=Object.keys(n).reduce(function(e,t){return t.split(".").forEach(function(t){!e.includes(t)&&e.push(t)}),e},[]),k=u.className&&u.className.includes("token")?["token"]:[],w=u.className&&k.concat(u.className.filter(function(e){return!y.includes(e)}));v=l(l({},u),{},{className:w.join(" ")||void 0,style:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");if(!s[r]){;s[r]=(n=(t=e).length,0===n||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0)}return s[r]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return l(l({},e),n[t])},t)}(u.className,Object.assign({},u.style,void 0===o?{}:o),n)})}else v=l(l({},u),{},{className:u.className.join(" ")});var _=x(t.children);return a.default.createElement(f,(0,r.default)({key:d},v),_)}}},3197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});var r=n.ir(n("25458")),o=n.ir(n("75173")),a=n.ir(n("33460")),i=n.ir(n("6171")),l=n.ir(n("7873")),s=n.ir(n("10606")),d=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){(0,a.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=/\n/g;function f(e){var t,n,r,o,a=e.codeString,l=e.codeStyle,s=e.containerStyle,d=void 0===s?{float:"left",paddingRight:"10px"}:s,c=e.numberStyle,u=e.startingLineNumber;return i.default.createElement("code",{style:Object.assign({},l,d)},(n=(t={lines:a.replace(/\n$/,"").split("\n"),style:void 0===c?{}:c,startingLineNumber:u}).lines,r=t.startingLineNumber,o=t.style,n.map(function(e,t){var n=t+r;return i.default.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof o?o(n):o},"".concat(n,"\n"))})))}function p(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},a="function"==typeof e?e(t):e;return u(u({},o),a)}function g(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,l=void 0===i?{}:i,s=e.className,d=e.showLineNumbers,c=e.wrapLongLines,h="function"==typeof l?l(n):l;if(h.className=void 0===s?[]:s,n&&a){var f=m(r,n,o);t.unshift(p(n,f))}return c&d&&(h.style=u(u({},h.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function b(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(e,t){return(0,l.default)({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function v(e){return e&&void 0!==e.highlightAuto}function x(e,t){return function(n){var a=n.language,l=n.children,c=n.style,x=void 0===c?t:c,y=n.customStyle,k=void 0===y?{}:y,w=n.codeTagProps,_=void 0===w?{className:a?"language-".concat(a):void 0,style:u(u({},x['code[class*="language-"]']),x['code[class*="language-'.concat(a,'"]')])}:w,I=n.useInlineStyles,P=void 0===I||I,E=n.showLineNumbers,j=void 0!==E&&E,S=n.showInlineLineNumbers,O=void 0===S||S,C=n.startingLineNumber,z=void 0===C?1:C,T=n.lineNumberContainerStyle,A=n.lineNumberStyle,N=void 0===A?{}:A,F=n.wrapLines,L=n.wrapLongLines,M=void 0!==L&&L,B=n.lineProps,U=void 0===B?{}:B,R=n.renderer,H=n.PreTag,D=void 0===H?"pre":H,q=n.CodeTag,W=void 0===q?"code":q,$=n.code,G=void 0===$?(Array.isArray(l)?l[0]:l)||"":$,X=n.astGenerator,K=(0,r.default)(n,d);X=X||e;var Y=j?i.default.createElement(f,{containerStyle:T,codeStyle:_.style||{},numberStyle:N,startingLineNumber:z,codeString:G}):null,V=x.hljs||x['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=v(X)?"hljs":"prismjs",Q=P?Object.assign({},K,{style:Object.assign({},V,k)}):Object.assign({},K,{className:K.className?"".concat(Z," ").concat(K.className):Z,style:Object.assign({},k)});if(M?_.style=u(u({},_.style),{},{whiteSpace:"pre-wrap"}):_.style=u(u({},_.style),{},{whiteSpace:"pre"}),!X)return i.default.createElement(D,Q,Y,i.default.createElement(W,_,G));(void 0===F&&R||M)&&(F=!0),R=R||b;var J=[{type:"text",value:G}],ee=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(v(t)){var a=(0,s.default)(t,n);return"text"===n?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:X,language:a,code:G,defaultCodeValue:J});null===ee.language&&(ee.value=J);var et=ee.value.length+z,en=function(e,t,n,r,a,i,l,s,d){for(var c,u=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return g({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:d})},f=function(e,t){if(r&&t&&a){var n=m(s,t,l);e.unshift(p(t,n))}return e},b=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?u(e,n,r):f(e,n)},v=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<t.length;a++){var i=t[a];if("text"===i.type)r.push(g({children:[i],className:(0,o.default)(new Set(n))}));else if(i.children){var l=n.concat(i.properties.className);e(i.children,l).forEach(function(e){return r.push(e)})}}return r}(e.value),x=[],y=-1,k=0;k<v.length;)!function(){var e=v[k],t=e.children[0].value;if(t.match(h)){var n=t.split("\n");n.forEach(function(t,o){var a=r&&x.length+i,l={type:"text",value:"".concat(t,"\n")};if(0===o){var s=b(v.slice(y+1,k).concat(g({children:[l],className:e.properties.className})),a);x.push(s)}else if(o===n.length-1){var d=v[k+1]&&v[k+1].children&&v[k+1].children[0],c={type:"text",value:"".concat(t)};if(d){var u=g({children:[c],className:e.properties.className});v.splice(k+1,0,u)}else{var h=b([c],a,e.properties.className);x.push(h)}}else{var f=b([l],a,e.properties.className);x.push(f)}}),y=k}k++}();if(y!==v.length-1){var w=v.slice(y+1,v.length);if(w&&w.length){var _=b(w,r&&x.length+i);x.push(_)}}return t?x:(c=[]).concat.apply(c,x)}(ee,F,U,j,O,z,et,N,M);return i.default.createElement(D,Q,i.default.createElement(W,_,!O&&Y,R({rows:en,stylesheet:x,useInlineStyles:P})))}}},72858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PrismLight",{enumerable:!0,get:function(){return r.default}});var r=n.ir(n("79249"))},97575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("46285")).default},81130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("5340")).default},33204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("69870")).default},4249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("84641")).default},81767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("85849")).default},73846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("18055")).default},68448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("75271")).default},29385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("24667")).default},64227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("49317")).default},57077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("35944")).default},14917:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("73987")).default},73513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("93871")).default},43184:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=n.ir(n("94369")).default},79249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var r=n.ir(n("3197")),o=n.ir(n("41567")),a=(0,r.default)(o.default,{});a.registerLanguage=function(e,t){return o.default.register(t)},a.alias=function(e,t){return o.default.alias(e,t)};var i=a},41567:function(e,t,n){"use strict";var r,o,a=function(){},i=function(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===x.languages[e.displayName]&&e(x)},l=function(e,t){for(var n,r=[],o=e.length,a=-1;++a<o;)""!==(n=e[a])&&null!=n&&r.push(n);for(a=-1,o=r.length;++a<o;)n=r[a],r[a]=x.Token.stringify(n,t,r);return r},s=function(e){var t;for(t in e)e[t]=h(e[t]);return e},d="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{};var c=(r="Prism"in d,o=r?d.Prism:void 0,function(){r?d.Prism=o:delete d.Prism,r=void 0,o=void 0});d.Prism={manual:!0,disableWorkerMessageHandler:!0};var u=n("55589"),h=n("63716"),f=n("62920"),p=n("61976"),m=n("5340"),g=n("29645"),b=n("84641");c();var v={}.hasOwnProperty;a.prototype=f;var x=new a;e.exports=x,x.highlight=function(e,t){var n,r=f.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===x.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(v.call(x.languages,t))n=x.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},x.register=i,x.alias=function(e,t){var n,r,o,a,i=x.languages,l=e;for(n in t&&((l={})[e]=t),l)for(o=(r="string"==typeof(r=l[n])?[r]:r).length,a=-1;++a<o;)i[r[a]]=i[n]},x.registered=function(e){if("string"!=typeof e)throw Error("Expected `string` for `language`, got `"+e+"`");return v.call(x.languages,e)},x.listLanguages=function(){var e,t=x.languages,n=[];for(e in t)v.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},i(p),i(m),i(g),i(b),x.util.encode=function(e){return e},x.Token.stringify=function(e,t,n){var r;return"string"==typeof e?{type:"text",value:e}:"Array"===x.util.type(e)?l(e,t):(r={type:e.type,content:x.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias)),x.hooks.run("wrap",r),u(r.tag+"."+r.classes.join("."),s(r.attributes),r.content))}},46285:function(e,t,n){"use strict";var r=function(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.shell=e.languages.bash}(e)};e.exports=r,r.displayName="bash",r.aliases=["shell"]},29645:function(e,t,n){"use strict";var r=function(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}};e.exports=r,r.displayName="clike",r.aliases=[]},5340:function(e,t,n){"use strict";var r=function(e){var t,n,r;n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(t=e).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css,r=t.languages.markup,r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))};e.exports=r,r.displayName="css",r.aliases=[]},69870:function(e,t,n){"use strict";var r=function(e){var t,n;(t=e).languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"},Object.keys(n).forEach(function(e){var r=n[e],o=[];!/^\w+$/.test(e)&&o.push(/\w+/.exec(e)[0]),"diff"===e&&o.push("bold"),t.languages.diff[e]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(e)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})};e.exports=r,r.displayName="diff",r.aliases=[]},84641:function(e,t,n){"use strict";var r=function(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|")+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript};e.exports=r,r.displayName="javascript",r.aliases=["js"]},85849:function(e,t,n){"use strict";var r=function(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json};e.exports=r,r.displayName="json",r.aliases=["webmanifest"]},18055:function(e,t,n){"use strict";var r=function(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})}(e)};e.exports=r,r.displayName="jsx",r.aliases=[]},75271:function(e,t,n){"use strict";var r=function(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})};e.exports=r,r.displayName="less",r.aliases=[]},24667:function(e,t,n){"use strict";var r=function(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"!==o.type){e(o.content);continue}var a=o.content[1],i=o.content[3];if(a&&i&&"code-language"===a.type&&"code-block"===i.type&&"string"==typeof a.content){var l=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,s]:i.alias.push(s):i.alias=[s]}}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r],d=/language-(.+)/.exec(a);if(d){n=d[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){if("#"===(t=t.toLowerCase())[0]){var n;return s(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)))}var r=l[t];return r?r:e})}(t.content.value),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var u="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)};e.exports=r,r.displayName="markdown",r.aliases=["md"]},61976:function(e,t,n){"use strict";var r=function(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml};e.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},49317:function(e,t,n){"use strict";var r=function(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss};e.exports=r,r.displayName="scss",r.aliases=[]},35944:function(e,t,n){"use strict";var r=function(e){var t,n,r;e.register(o),e.register(a),n=(t=e).util.clone(t.languages.typescript),t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"],r=t.languages.tsx.tag,r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0},o=n("18055"),a=n("73987");e.exports=r,r.displayName="tsx",r.aliases=[]},73987:function(e,t,n){"use strict";var r=function(e){var t,n;(t=e).languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"],n=t.languages.extend("typescript",{}),delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript};e.exports=r,r.displayName="typescript",r.aliases=["ts"]},93871:function(e,t,n){"use strict";var r=function(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)};e.exports=r,r.displayName="xmlDoc",r.aliases=[]},94369:function(e,t,n){"use strict";var r=function(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)};e.exports=r,r.displayName="yaml",r.aliases=["yml"]},3366:function(e,t,n){"use strict";var r,o=function(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<l(o,t))e[r]=t,e[n]=o,n=r;else break e}},a=function(e){return 0===e.length?null:e[0]},i=function(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var i=2*(r+1)-1,s=e[i],d=i+1,c=e[d];if(0>l(s,n))d<o&&0>l(c,s)?(e[r]=c,e[d]=n,r=d):(e[r]=s,e[i]=n,r=i);else if(d<o&&0>l(c,n))e[r]=c,e[d]=n,r=d;else break e}}return t},l=function(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id},s=function(e){for(var t=a(v);null!==t;){if(null===t.callback)i(v);else if(t.startTime<=e)i(v),t.sortIndex=t.expirationTime,o(b,t);else break;t=a(v)}},d=function(e,n){_=!1,I&&(I=!1,E(z),z=-1),w=!0;var r=k;try{for(s(n),y=a(b);null!==y&&(!(y.expirationTime>n)||e&&!c());){var o=y.callback;if("function"==typeof o){y.callback=null,k=y.priorityLevel;var l=o(y.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?y.callback=l:y===a(b)&&i(b),s(n)}else i(b);y=a(b)}if(null!==y)var d=!0;else{var u=a(v);null!==u&&f(S,u.startTime-n),d=!1}return d}finally{y=null,k=r,w=!1}},c=function(){return!(t.unstable_now()-A<T)},u=function(){if(null!==C){var e=t.unstable_now();A=e;var n=!0;try{n=C(!0,e)}finally{n?r():(O=!1,C=null)}}else O=!1},h=function(e){C=e,O||(O=!0,r())},f=function(e,n){z=P(function(){e(t.unstable_now())},n)};if("object"==typeof performance&&"function"==typeof performance.now){var p=performance;t.unstable_now=function(){return p.now()}}else{var m=Date,g=m.now();t.unstable_now=function(){return m.now()-g}}var b=[],v=[],x=1,y=null,k=3,w=!1,_=!1,I=!1,P="function"==typeof setTimeout?setTimeout:null,E="function"==typeof clearTimeout?clearTimeout:null,j="undefined"!=typeof setImmediate?setImmediate:null;function S(e){if(I=!1,s(e),!_){if(null!==a(b))_=!0,h(d);else{var t=a(v);null!==t&&f(S,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var O=!1,C=null,z=-1,T=5,A=-1;if("function"==typeof j)r=function(){j(u)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,F=N.port2;N.port1.onmessage=u,r=function(){F.postMessage(null)}}else r=function(){P(u,0)};t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||w||(_=!0,h(d))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return k},t.unstable_getFirstCallbackNode=function(){return a(b)},t.unstable_next=function(e){switch(k){case 1:case 2:case 3:var t=3;break;default:t=k}var n=k;k=t;try{return e()}finally{k=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=k;k=e;try{return t()}finally{k=n}},t.unstable_scheduleCallback=function(e,n,r){var i=t.unstable_now();switch(r="object"==typeof r&&null!==r?"number"==typeof(r=r.delay)&&0<r?i+r:i:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=r+l,e={id:x++,callback:n,priorityLevel:e,startTime:r,expirationTime:l,sortIndex:-1},r>i?(e.sortIndex=r,o(v,e),null===a(b)&&e===a(v)&&(I?(E(z),z=-1):I=!0,f(S,r-i))):(e.sortIndex=l,o(b,e),_||w||(_=!0,h(d))),e},t.unstable_shouldYield=c,t.unstable_wrapCallback=function(e){var t=k;return function(){var n=k;k=t;try{return e.apply(this,arguments)}finally{k=n}}}},10406:function(e,t,n){"use strict";e.exports=n("3366")},28722:function(e,t,n){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var d=a[s];if(!l(d))return!1;var c=e[d],u=t[d];if(!1===(o=n?n.call(r,c,u,d):void 0)||void 0===o&&c!==u)return!1}return!0}},47296:function(e,t,n){"use strict";t.parse=function(e){var t=String(e||r).trim();return t===r?[]:t.split(a)},t.stringify=function(e){return e.join(o).trim()};var r="",o=" ",a=/[ \t\n\r\f]+/g},23072:function(e,t,n){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),!e.rangeCount&&n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},88697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{__generator:function(){return a},__values:function(){return i}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function i(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}},56296:function(e,t,n){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e};var r=Object.prototype.hasOwnProperty},52805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=[n.ir(n("70169")).default]},95558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"routes",{enumerable:!0,get:function(){return eq}});var r=n("61078"),o=n("73706"),a=n.ir(n("6171")),i=n("89440"),l=(0,i.lazyWithPreload)(function(){return n.el("96051").then(n.bind(n,"96051")).then(n.ir)}),s=(0,i.lazyWithPreload)(function(){return n.el("64871").then(n.bind(n,"64871")).then(n.ir)}),d=(0,i.lazyWithPreload)(function(){return n.el("88429").then(n.bind(n,"88429")).then(n.ir)}),c=(0,i.lazyWithPreload)(function(){return n.el("83668").then(n.bind(n,"83668")).then(n.ir)}),u=(0,i.lazyWithPreload)(function(){return n.el("41413").then(n.bind(n,"41413")).then(n.ir)}),h=(0,i.lazyWithPreload)(function(){return n.el("51349").then(n.bind(n,"51349")).then(n.ir)}),f=(0,i.lazyWithPreload)(function(){return n.el("13487").then(n.bind(n,"13487")).then(n.ir)}),p=(0,i.lazyWithPreload)(function(){return n.el("1282").then(n.bind(n,"1282")).then(n.ir)}),m=(0,i.lazyWithPreload)(function(){return n.el("6798").then(n.bind(n,"6798")).then(n.ir)}),g=(0,i.lazyWithPreload)(function(){return n.el("22297").then(n.bind(n,"22297")).then(n.ir)}),b=(0,i.lazyWithPreload)(function(){return n.el("8837").then(n.bind(n,"8837")).then(n.ir)}),v=(0,i.lazyWithPreload)(function(){return n.el("20826").then(n.bind(n,"20826")).then(n.ir)}),x=(0,i.lazyWithPreload)(function(){return n.el("5442").then(n.bind(n,"5442")).then(n.ir)}),y=(0,i.lazyWithPreload)(function(){return n.el("23570").then(n.bind(n,"23570")).then(n.ir)}),k=(0,i.lazyWithPreload)(function(){return n.el("85300").then(n.bind(n,"85300")).then(n.ir)}),w=(0,i.lazyWithPreload)(function(){return n.el("62157").then(n.bind(n,"62157")).then(n.ir)}),_=(0,i.lazyWithPreload)(function(){return n.el("59359").then(n.bind(n,"59359")).then(n.ir)}),I=(0,i.lazyWithPreload)(function(){return n.el("96918").then(n.bind(n,"96918")).then(n.ir)}),P=(0,i.lazyWithPreload)(function(){return n.el("92484").then(n.bind(n,"92484")).then(n.ir)}),E=(0,i.lazyWithPreload)(function(){return n.el("58220").then(n.bind(n,"58220")).then(n.ir)}),j=(0,i.lazyWithPreload)(function(){return n.el("95076").then(n.bind(n,"95076")).then(n.ir)}),S=(0,i.lazyWithPreload)(function(){return n.el("19805").then(n.bind(n,"19805")).then(n.ir)}),O=(0,i.lazyWithPreload)(function(){return n.el("9704").then(n.bind(n,"9704")).then(n.ir)}),C=(0,i.lazyWithPreload)(function(){return n.el("98207").then(n.bind(n,"98207")).then(n.ir)}),z=(0,i.lazyWithPreload)(function(){return n.el("24622").then(n.bind(n,"24622")).then(n.ir)}),T=(0,i.lazyWithPreload)(function(){return n.el("74457").then(n.bind(n,"74457")).then(n.ir)}),A=(0,i.lazyWithPreload)(function(){return n.el("18456").then(n.bind(n,"18456")).then(n.ir)}),N=(0,i.lazyWithPreload)(function(){return n.el("37036").then(n.bind(n,"37036")).then(n.ir)}),F=(0,i.lazyWithPreload)(function(){return n.el("62568").then(n.bind(n,"62568")).then(n.ir)}),L=(0,i.lazyWithPreload)(function(){return n.el("45127").then(n.bind(n,"45127")).then(n.ir)}),M=(0,i.lazyWithPreload)(function(){return n.el("6263").then(n.bind(n,"6263")).then(n.ir)}),B=(0,i.lazyWithPreload)(function(){return n.el("86967").then(n.bind(n,"86967")).then(n.ir)}),U=(0,i.lazyWithPreload)(function(){return n.el("52326").then(n.bind(n,"52326")).then(n.ir)}),R=(0,i.lazyWithPreload)(function(){return n.el("93233").then(n.bind(n,"93233")).then(n.ir)}),H=(0,i.lazyWithPreload)(function(){return n.el("21666").then(n.bind(n,"21666")).then(n.ir)}),D=(0,i.lazyWithPreload)(function(){return n.el("21724").then(n.bind(n,"21724")).then(n.ir)}),q=(0,i.lazyWithPreload)(function(){return n.el("70196").then(n.bind(n,"70196")).then(n.ir)}),W=(0,i.lazyWithPreload)(function(){return n.el("75240").then(n.bind(n,"75240")).then(n.ir)}),$=(0,i.lazyWithPreload)(function(){return n.el("4897").then(n.bind(n,"4897")).then(n.ir)}),G=(0,i.lazyWithPreload)(function(){return n.el("46333").then(n.bind(n,"46333")).then(n.ir)}),X=(0,i.lazyWithPreload)(function(){return n.el("51811").then(n.bind(n,"51811")).then(n.ir)}),K=(0,i.lazyWithPreload)(function(){return n.el("56979").then(n.bind(n,"56979")).then(n.ir)}),Y=(0,i.lazyWithPreload)(function(){return n.el("23205").then(n.bind(n,"23205")).then(n.ir)}),V=(0,i.lazyWithPreload)(function(){return n.el("56470").then(n.bind(n,"56470")).then(n.ir)}),Z=(0,i.lazyWithPreload)(function(){return n.el("73196").then(n.bind(n,"73196")).then(n.ir)}),Q=(0,i.lazyWithPreload)(function(){return n.el("58879").then(n.bind(n,"58879")).then(n.ir)}),J=(0,i.lazyWithPreload)(function(){return n.el("13507").then(n.bind(n,"13507")).then(n.ir)}),ee=(0,i.lazyWithPreload)(function(){return n.el("25355").then(n.bind(n,"25355")).then(n.ir)}),et=(0,i.lazyWithPreload)(function(){return n.el("76280").then(n.bind(n,"76280")).then(n.ir)}),en=(0,i.lazyWithPreload)(function(){return n.el("43409").then(n.bind(n,"43409")).then(n.ir)}),er=(0,i.lazyWithPreload)(function(){return n.el("22326").then(n.bind(n,"22326")).then(n.ir)}),eo=(0,i.lazyWithPreload)(function(){return n.el("79316").then(n.bind(n,"79316")).then(n.ir)}),ea=(0,i.lazyWithPreload)(function(){return n.el("19585").then(n.bind(n,"19585")).then(n.ir)}),ei=(0,i.lazyWithPreload)(function(){return n.el("25806").then(n.bind(n,"25806")).then(n.ir)}),el=(0,i.lazyWithPreload)(function(){return n.el("55665").then(n.bind(n,"55665")).then(n.ir)}),es=(0,i.lazyWithPreload)(function(){return n.el("69183").then(n.bind(n,"69183")).then(n.ir)}),ed=(0,i.lazyWithPreload)(function(){return n.el("18989").then(n.bind(n,"18989")).then(n.ir)}),ec=(0,i.lazyWithPreload)(function(){return n.el("25010").then(n.bind(n,"25010")).then(n.ir)}),eu=(0,i.lazyWithPreload)(function(){return n.el("67684").then(n.bind(n,"67684")).then(n.ir)}),eh=(0,i.lazyWithPreload)(function(){return n.el("16737").then(n.bind(n,"16737")).then(n.ir)}),ef=(0,i.lazyWithPreload)(function(){return n.el("15880").then(n.bind(n,"15880")).then(n.ir)}),ep=(0,i.lazyWithPreload)(function(){return n.el("20345").then(n.bind(n,"20345")).then(n.ir)}),em=(0,i.lazyWithPreload)(function(){return n.el("41538").then(n.bind(n,"41538")).then(n.ir)}),eg=(0,i.lazyWithPreload)(function(){return n.el("21699").then(n.bind(n,"21699")).then(n.ir)}),eb=(0,i.lazyWithPreload)(function(){return n.el("30372").then(n.bind(n,"30372")).then(n.ir)}),ev=(0,i.lazyWithPreload)(function(){return n.el("70714").then(n.bind(n,"70714")).then(n.ir)}),ex=(0,i.lazyWithPreload)(function(){return n.el("40428").then(n.bind(n,"40428")).then(n.ir)}),ey=(0,i.lazyWithPreload)(function(){return n.el("26443").then(n.bind(n,"26443")).then(n.ir)}),ek=(0,i.lazyWithPreload)(function(){return n.el("23931").then(n.bind(n,"23931")).then(n.ir)}),ew=(0,i.lazyWithPreload)(function(){return n.el("60599").then(n.bind(n,"60599")).then(n.ir)}),e_=(0,i.lazyWithPreload)(function(){return n.el("76629").then(n.bind(n,"76629")).then(n.ir)}),eI=(0,i.lazyWithPreload)(function(){return n.el("64956").then(n.bind(n,"64956")).then(n.ir)}),eP=(0,i.lazyWithPreload)(function(){return n.el("28020").then(n.bind(n,"28020")).then(n.ir)}),eE=(0,i.lazyWithPreload)(function(){return n.el("83937").then(n.bind(n,"83937")).then(n.ir)}),ej=(0,i.lazyWithPreload)(function(){return n.el("22588").then(n.bind(n,"22588")).then(n.ir)}),eS=(0,i.lazyWithPreload)(function(){return n.el("64043").then(n.bind(n,"64043")).then(n.ir)}),eO=(0,i.lazyWithPreload)(function(){return n.el("81150").then(n.bind(n,"81150")).then(n.ir)}),eC=(0,i.lazyWithPreload)(function(){return n.el("71815").then(n.bind(n,"71815")).then(n.ir)}),ez=(0,i.lazyWithPreload)(function(){return n.el("32573").then(n.bind(n,"32573")).then(n.ir)}),eT=(0,i.lazyWithPreload)(function(){return n.el("87674").then(n.bind(n,"87674")).then(n.ir)}),eA=(0,i.lazyWithPreload)(function(){return n.el("17713").then(n.bind(n,"17713")).then(n.ir)}),eN=(0,i.lazyWithPreload)(function(){return n.el("3204").then(n.bind(n,"3204")).then(n.ir)}),eF=(0,i.lazyWithPreload)(function(){return n.el("1163").then(n.bind(n,"1163")).then(n.ir)}),eL=(0,i.lazyWithPreload)(function(){return n.el("48407").then(n.bind(n,"48407")).then(n.ir)}),eM=(0,i.lazyWithPreload)(function(){return n.el("60035").then(n.bind(n,"60035")).then(n.ir)}),eB=(0,i.lazyWithPreload)(function(){return n.el("79018").then(n.bind(n,"79018")).then(n.ir)}),eU=(0,i.lazyWithPreload)(function(){return n.el("70365").then(n.bind(n,"70365")).then(n.ir)}),eR=(0,i.lazyWithPreload)(function(){return n.el("9254").then(n.bind(n,"9254")).then(n.ir)}),eH=(0,i.lazyWithPreload)(function(){return n.el("70481").then(n.bind(n,"70481")).then(n.ir)}),eD=(0,i.lazyWithPreload)(function(){return n.el("63981").then(n.bind(n,"63981")).then(n.ir)}),eq=[{path:"/module-tools/en/api/config/build-config",element:a.default.createElement(l),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/build-config.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,l.preload()];case 1:return e.sent(),[2,n.el("96051").then(n.bind(n,"96051")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/config/build-preset",element:a.default.createElement(s),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/build-preset.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,s.preload()];case 1:return e.sent(),[2,n.el("64871").then(n.bind(n,"64871")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/config/design-system",element:a.default.createElement(d),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/design-system.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,d.preload()];case 1:return e.sent(),[2,n.el("88429").then(n.bind(n,"88429")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/config/dev",element:a.default.createElement(c),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/dev.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,c.preload()];case 1:return e.sent(),[2,n.el("83668").then(n.bind(n,"83668")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/config/plugins",element:a.default.createElement(u),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/plugins.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,u.preload()];case 1:return e.sent(),[2,n.el("41413").then(n.bind(n,"41413")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/config/testing",element:a.default.createElement(h),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/testing.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,h.preload()];case 1:return e.sent(),[2,n.el("51349").then(n.bind(n,"51349")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/",element:a.default.createElement(f),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,f.preload()];case 1:return e.sent(),[2,n.el("13487").then(n.bind(n,"13487")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/api/plugin-api/plugin-hooks",element:a.default.createElement(p),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/plugin-api/plugin-hooks.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,p.preload()];case 1:return e.sent(),[2,n.el("1282").then(n.bind(n,"1282")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/components/faq-build-exception",element:a.default.createElement(m),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-exception.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,m.preload()];case 1:return e.sent(),[2,n.el("6798").then(n.bind(n,"6798")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/components/faq-build-other",element:a.default.createElement(g),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-other.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,g.preload()];case 1:return e.sent(),[2,n.el("22297").then(n.bind(n,"22297")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/components/faq-build-product",element:a.default.createElement(b),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-product.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,b.preload()];case 1:return e.sent(),[2,n.el("8837").then(n.bind(n,"8837")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/components/faq-storybook",element:a.default.createElement(v),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,v.preload()];case 1:return e.sent(),[2,n.el("20826").then(n.bind(n,"20826")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/components/faq-test",element:a.default.createElement(x),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-test.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,x.preload()];case 1:return e.sent(),[2,n.el("5442").then(n.bind(n,"5442")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/asset",element:a.default.createElement(y),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/asset.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,y.preload()];case 1:return e.sent(),[2,n.el("23570").then(n.bind(n,"23570")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/build-umd",element:a.default.createElement(k),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/build-umd.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,k.preload()];case 1:return e.sent(),[2,n.el("85300").then(n.bind(n,"85300")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/copy",element:a.default.createElement(w),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/copy.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,w.preload()];case 1:return e.sent(),[2,n.el("62157").then(n.bind(n,"62157")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/external-dependency",element:a.default.createElement(_),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/external-dependency.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,_.preload()];case 1:return e.sent(),[2,n.el("59359").then(n.bind(n,"59359")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/in-depth-about-build",element:a.default.createElement(I),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/in-depth-about-build.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,I.preload()];case 1:return e.sent(),[2,n.el("96918").then(n.bind(n,"96918")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/in-depth-about-dev-command",element:a.default.createElement(P),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/in-depth-about-dev-command.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,P.preload()];case 1:return e.sent(),[2,n.el("92484").then(n.bind(n,"92484")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/advance/theme-config",element:a.default.createElement(E),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/theme-config.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,E.preload()];case 1:return e.sent(),[2,n.el("58220").then(n.bind(n,"58220")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/before-getting-started",element:a.default.createElement(j),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/before-getting-started.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,j.preload()];case 1:return e.sent(),[2,n.el("95076").then(n.bind(n,"95076")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/command-preview",element:a.default.createElement(S),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/command-preview.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,S.preload()];case 1:return e.sent(),[2,n.el("19805").then(n.bind(n,"19805")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/modify-output-product",element:a.default.createElement(O),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/modify-output-product.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,O.preload()];case 1:return e.sent(),[2,n.el("9704").then(n.bind(n,"9704")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/publish-your-project",element:a.default.createElement(C),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/publish-your-project.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,C.preload()];case 1:return e.sent(),[2,n.el("98207").then(n.bind(n,"98207")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/test-your-project",element:a.default.createElement(z),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/test-your-project.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,z.preload()];case 1:return e.sent(),[2,n.el("24622").then(n.bind(n,"24622")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/use-micro-generator",element:a.default.createElement(T),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/use-micro-generator.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,T.preload()];case 1:return e.sent(),[2,n.el("74457").then(n.bind(n,"74457")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/basic/using-storybook",element:a.default.createElement(A),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/using-storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,A.preload()];case 1:return e.sent(),[2,n.el("18456").then(n.bind(n,"18456")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/best-practices/components",element:a.default.createElement(N),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/best-practices/components.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,N.preload()];case 1:return e.sent(),[2,n.el("37036").then(n.bind(n,"37036")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/faq/build",element:a.default.createElement(F),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/build.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,F.preload()];case 1:return e.sent(),[2,n.el("62568").then(n.bind(n,"62568")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/faq/",element:a.default.createElement(L),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,L.preload()];case 1:return e.sent(),[2,n.el("45127").then(n.bind(n,"45127")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/faq/storybook",element:a.default.createElement(M),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,M.preload()];case 1:return e.sent(),[2,n.el("6263").then(n.bind(n,"6263")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/faq/test",element:a.default.createElement(B),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/test.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,B.preload()];case 1:return e.sent(),[2,n.el("86967").then(n.bind(n,"86967")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/intro/getting-started",element:a.default.createElement(U),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/getting-started.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,U.preload()];case 1:return e.sent(),[2,n.el("52326").then(n.bind(n,"52326")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/intro/welcome",element:a.default.createElement(R),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/welcome.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,R.preload()];case 1:return e.sent(),[2,n.el("93233").then(n.bind(n,"93233")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/guide/intro/why-module-engineering-solution",element:a.default.createElement(H),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/why-module-engineering-solution.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,H.preload()];case 1:return e.sent(),[2,n.el("21666").then(n.bind(n,"21666")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/",element:a.default.createElement(D),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,D.preload()];case 1:return e.sent(),[2,n.el("21724").then(n.bind(n,"21724")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/guide/getting-started",element:a.default.createElement(q),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/getting-started.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,q.preload()];case 1:return e.sent(),[2,n.el("70196").then(n.bind(n,"70196")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/guide/plugin-object",element:a.default.createElement(W),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/plugin-object.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,W.preload()];case 1:return e.sent(),[2,n.el("75240").then(n.bind(n,"75240")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/guide/setup-function",element:a.default.createElement($),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/setup-function.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,$.preload()];case 1:return e.sent(),[2,n.el("4897").then(n.bind(n,"4897")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/overview",element:a.default.createElement(G),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/overview.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,G.preload()];case 1:return e.sent(),[2,n.el("46333").then(n.bind(n,"46333")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/plugin-babel",element:a.default.createElement(X),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-babel.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,X.preload()];case 1:return e.sent(),[2,n.el("51811").then(n.bind(n,"51811")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/plugin-banner",element:a.default.createElement(K),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-banner.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,K.preload()];case 1:return e.sent(),[2,n.el("56979").then(n.bind(n,"56979")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/plugin-import",element:a.default.createElement(Y),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-import.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,Y.preload()];case 1:return e.sent(),[2,n.el("23205").then(n.bind(n,"23205")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/plugin-node-polyfill",element:a.default.createElement(V),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-node-polyfill.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,V.preload()];case 1:return e.sent(),[2,n.el("56470").then(n.bind(n,"56470")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/en/plugins/official-list/plugin-polyfill",element:a.default.createElement(Z),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-polyfill.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,Z.preload()];case 1:return e.sent(),[2,n.el("73196").then(n.bind(n,"73196")).then(n.ir)]}})}),lang:"en"},{path:"/module-tools/api/config/build-config",element:a.default.createElement(Q),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/build-config.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,Q.preload()];case 1:return e.sent(),[2,n.el("58879").then(n.bind(n,"58879")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/config/build-preset",element:a.default.createElement(J),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/build-preset.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,J.preload()];case 1:return e.sent(),[2,n.el("13507").then(n.bind(n,"13507")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/config/design-system",element:a.default.createElement(ee),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/design-system.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ee.preload()];case 1:return e.sent(),[2,n.el("25355").then(n.bind(n,"25355")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/config/dev",element:a.default.createElement(et),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/dev.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,et.preload()];case 1:return e.sent(),[2,n.el("76280").then(n.bind(n,"76280")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/config/plugins",element:a.default.createElement(en),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/plugins.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,en.preload()];case 1:return e.sent(),[2,n.el("43409").then(n.bind(n,"43409")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/config/testing",element:a.default.createElement(er),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/testing.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,er.preload()];case 1:return e.sent(),[2,n.el("22326").then(n.bind(n,"22326")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/",element:a.default.createElement(eo),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eo.preload()];case 1:return e.sent(),[2,n.el("79316").then(n.bind(n,"79316")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/api/plugin-api/plugin-hooks",element:a.default.createElement(ea),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/plugin-api/plugin-hooks.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ea.preload()];case 1:return e.sent(),[2,n.el("19585").then(n.bind(n,"19585")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/components/faq-build-exception",element:a.default.createElement(ei),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-exception.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ei.preload()];case 1:return e.sent(),[2,n.el("25806").then(n.bind(n,"25806")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/components/faq-build-other",element:a.default.createElement(el),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-other.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,el.preload()];case 1:return e.sent(),[2,n.el("55665").then(n.bind(n,"55665")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/components/faq-build-product",element:a.default.createElement(es),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-product.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,es.preload()];case 1:return e.sent(),[2,n.el("69183").then(n.bind(n,"69183")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/components/faq-storybook",element:a.default.createElement(ed),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ed.preload()];case 1:return e.sent(),[2,n.el("18989").then(n.bind(n,"18989")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/components/faq-test",element:a.default.createElement(ec),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-test.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ec.preload()];case 1:return e.sent(),[2,n.el("25010").then(n.bind(n,"25010")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/asset",element:a.default.createElement(eu),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/asset.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eu.preload()];case 1:return e.sent(),[2,n.el("67684").then(n.bind(n,"67684")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/build-umd",element:a.default.createElement(eh),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/build-umd.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eh.preload()];case 1:return e.sent(),[2,n.el("16737").then(n.bind(n,"16737")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/copy",element:a.default.createElement(ef),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/copy.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ef.preload()];case 1:return e.sent(),[2,n.el("15880").then(n.bind(n,"15880")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/external-dependency",element:a.default.createElement(ep),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/external-dependency.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ep.preload()];case 1:return e.sent(),[2,n.el("20345").then(n.bind(n,"20345")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/in-depth-about-build",element:a.default.createElement(em),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/in-depth-about-build.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,em.preload()];case 1:return e.sent(),[2,n.el("41538").then(n.bind(n,"41538")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/in-depth-about-dev-command",element:a.default.createElement(eg),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/in-depth-about-dev-command.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eg.preload()];case 1:return e.sent(),[2,n.el("21699").then(n.bind(n,"21699")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/advance/theme-config",element:a.default.createElement(eb),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/theme-config.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eb.preload()];case 1:return e.sent(),[2,n.el("30372").then(n.bind(n,"30372")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/before-getting-started",element:a.default.createElement(ev),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/before-getting-started.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ev.preload()];case 1:return e.sent(),[2,n.el("70714").then(n.bind(n,"70714")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/command-preview",element:a.default.createElement(ex),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/command-preview.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ex.preload()];case 1:return e.sent(),[2,n.el("40428").then(n.bind(n,"40428")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/modify-output-product",element:a.default.createElement(ey),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/modify-output-product.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ey.preload()];case 1:return e.sent(),[2,n.el("26443").then(n.bind(n,"26443")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/publish-your-project",element:a.default.createElement(ek),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/publish-your-project.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ek.preload()];case 1:return e.sent(),[2,n.el("23931").then(n.bind(n,"23931")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/test-your-project",element:a.default.createElement(ew),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/test-your-project.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ew.preload()];case 1:return e.sent(),[2,n.el("60599").then(n.bind(n,"60599")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/use-micro-generator",element:a.default.createElement(e_),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/use-micro-generator.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,e_.preload()];case 1:return e.sent(),[2,n.el("76629").then(n.bind(n,"76629")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/basic/using-storybook",element:a.default.createElement(eI),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/using-storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eI.preload()];case 1:return e.sent(),[2,n.el("64956").then(n.bind(n,"64956")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/best-practices/components",element:a.default.createElement(eP),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/best-practices/components.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eP.preload()];case 1:return e.sent(),[2,n.el("28020").then(n.bind(n,"28020")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/faq/build",element:a.default.createElement(eE),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/build.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eE.preload()];case 1:return e.sent(),[2,n.el("83937").then(n.bind(n,"83937")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/faq/",element:a.default.createElement(ej),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ej.preload()];case 1:return e.sent(),[2,n.el("22588").then(n.bind(n,"22588")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/faq/storybook",element:a.default.createElement(eS),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/storybook.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eS.preload()];case 1:return e.sent(),[2,n.el("64043").then(n.bind(n,"64043")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/faq/test",element:a.default.createElement(eO),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/test.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eO.preload()];case 1:return e.sent(),[2,n.el("81150").then(n.bind(n,"81150")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/intro/getting-started",element:a.default.createElement(eC),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/getting-started.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eC.preload()];case 1:return e.sent(),[2,n.el("71815").then(n.bind(n,"71815")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/intro/welcome",element:a.default.createElement(ez),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/welcome.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,ez.preload()];case 1:return e.sent(),[2,n.el("32573").then(n.bind(n,"32573")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/guide/intro/why-module-engineering-solution",element:a.default.createElement(eT),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/why-module-engineering-solution.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eT.preload()];case 1:return e.sent(),[2,n.el("87674").then(n.bind(n,"87674")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/",element:a.default.createElement(eA),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/index.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eA.preload()];case 1:return e.sent(),[2,n.el("17713").then(n.bind(n,"17713")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/guide/getting-started",element:a.default.createElement(eN),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/getting-started.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eN.preload()];case 1:return e.sent(),[2,n.el("3204").then(n.bind(n,"3204")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/guide/plugin-object",element:a.default.createElement(eF),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/plugin-object.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eF.preload()];case 1:return e.sent(),[2,n.el("1163").then(n.bind(n,"1163")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/guide/setup-function",element:a.default.createElement(eL),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/setup-function.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eL.preload()];case 1:return e.sent(),[2,n.el("48407").then(n.bind(n,"48407")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/overview",element:a.default.createElement(eM),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/overview.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eM.preload()];case 1:return e.sent(),[2,n.el("60035").then(n.bind(n,"60035")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/plugin-babel",element:a.default.createElement(eB),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-babel.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eB.preload()];case 1:return e.sent(),[2,n.el("79018").then(n.bind(n,"79018")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/plugin-banner",element:a.default.createElement(eU),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-banner.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eU.preload()];case 1:return e.sent(),[2,n.el("70365").then(n.bind(n,"70365")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/plugin-import",element:a.default.createElement(eR),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-import.mdx",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eR.preload()];case 1:return e.sent(),[2,n.el("9254").then(n.bind(n,"9254")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/plugin-node-polyfill",element:a.default.createElement(eH),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-node-polyfill.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eH.preload()];case 1:return e.sent(),[2,n.el("70481").then(n.bind(n,"70481")).then(n.ir)]}})}),lang:"zh"},{path:"/module-tools/plugins/official-list/plugin-polyfill",element:a.default.createElement(eD),filePath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-polyfill.md",preload:r._(function(){return o._(this,function(e){switch(e.label){case 0:return[4,eD.preload()];case 1:return e.sent(),[2,n.el("63981").then(n.bind(n,"63981")).then(n.ir)]}})}),lang:"zh"}]},73427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={en:"6f4165d1",zh:"7ed3054c"}},73695:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={title:"Module Tools",description:"",icon:"https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/logo-1x-0104.png",themeConfig:{footer:{message:"Copyright \xa9 2023 ByteDance."},socialLinks:[{icon:"github",mode:"link",content:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools"}],locales:[{lang:"zh",label:"简体中文",nav:[{text:"指南",link:"/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/api/",activeMatch:"^/api/"},{text:"插件",link:"/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.25.1",items:[{text:"更新日志",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"贡献指南",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Module Tools",outlineTitle:"目录",prevPageText:"上一页",nextPageText:"下一页",description:"模块工程解决方案",sidebar:{"/api/":[{text:"概览",link:"/module-tools/api/"},{text:"配置项",collapsed:!1,collapsible:!0,items:[{text:"buildConfig",link:"/module-tools/api/config/build-config"},{text:"buildPreset",link:"/module-tools/api/config/build-preset"},{text:"designSystem",link:"/module-tools/api/config/design-system"},{text:"dev",link:"/module-tools/api/config/dev"},{text:"plugins",link:"/module-tools/api/config/plugins"},{text:"testing",link:"/module-tools/api/config/testing"}]},{text:"Plugin API",collapsed:!1,collapsible:!0,items:[{text:"Plugin Hooks",link:"/module-tools/api/plugin-api/plugin-hooks"}]}],"/guide/":[{text:"介绍",collapsed:!1,collapsible:!0,items:[{text:"欢迎使用",link:"/module-tools/guide/intro/welcome"},{text:"为什么需要模块工程解决方案",link:"/module-tools/guide/intro/why-module-engineering-solution"},{text:"快速开始",link:"/module-tools/guide/intro/getting-started"}]},{text:"基础使用",collapsed:!1,collapsible:!0,items:[{text:"开始之前",link:"/module-tools/guide/basic/before-getting-started"},{text:"CLI 命令",link:"/module-tools/guide/basic/command-preview"},{text:"修改输出产物",link:"/module-tools/guide/basic/modify-output-product"},{text:"使用微生成器",link:"/module-tools/guide/basic/use-micro-generator"},{text:"使用 Storybook",link:"/module-tools/guide/basic/using-storybook"},{text:"测试项目",link:"/module-tools/guide/basic/test-your-project"},{text:"版本管理与发布",link:"/module-tools/guide/basic/publish-your-project"}]},{text:"进阶指南",collapsed:!1,collapsible:!0,items:[{text:"深入理解构建",link:"/module-tools/guide/advance/in-depth-about-build"},{text:"深入理解 dev 命令",link:"/module-tools/guide/advance/in-depth-about-dev-command"},{text:"使用 Copy 工具",link:"/module-tools/guide/advance/copy"},{text:"如何处理第三方依赖",link:"/module-tools/guide/advance/external-dependency"},{text:"构建 umd 产物",link:"/module-tools/guide/advance/build-umd"},{text:"主题配置",link:"/module-tools/guide/advance/theme-config"},{text:"处理静态资源文件",link:"/module-tools/guide/advance/asset"}]},{text:"最佳实践",collapsed:!1,collapsible:!0,items:[{text:"开发组件",link:"/module-tools/guide/best-practices/components"}]},{text:"常见问题",link:"/module-tools/guide/faq/",collapsed:!1,collapsible:!0,items:[{text:"构建相关问题",link:"/module-tools/guide/faq/build"},{text:"Storybook 相关问题",link:"/module-tools/guide/faq/storybook"},{text:"测试相关问题",link:"/module-tools/guide/faq/test"}]}],"/plugins/":[{text:"指南",collapsed:!1,collapsible:!0,items:[{text:"快速开始",link:"/module-tools/plugins/guide/getting-started"},{text:"插件对象",link:"/module-tools/plugins/guide/plugin-object"},{text:"Setup 函数",link:"/module-tools/plugins/guide/setup-function"}]},{text:"插件列表",collapsed:!1,collapsible:!0,items:[{text:"总览",link:"/module-tools/plugins/official-list/overview"},{text:"Babel 插件",link:"/module-tools/plugins/official-list/plugin-babel"},{text:"Banner 插件",link:"/module-tools/plugins/official-list/plugin-banner"},{text:"Import 插件",link:"/module-tools/plugins/official-list/plugin-import"},{text:"Node Polyfill 插件",link:"/module-tools/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill 插件",link:"/module-tools/plugins/official-list/plugin-polyfill"}]}]}},{lang:"en",label:"English",nav:[{text:"Guide",link:"/en/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/en/api/",activeMatch:"^/api/"},{text:"Plugins",link:"/en/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.25.1",items:[{text:"Changelog",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"Contributing",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Module Tools",description:"Module Engineering Solutions",sidebar:{"/en/api/":[{text:"Overview",link:"/module-tools/en/api/"},{text:"Config",collapsed:!1,collapsible:!0,items:[{text:"buildConfig",link:"/module-tools/en/api/config/build-config"},{text:"buildPreset",link:"/module-tools/en/api/config/build-preset"},{text:"designSystem",link:"/module-tools/en/api/config/design-system"},{text:"dev",link:"/module-tools/en/api/config/dev"},{text:"plugins",link:"/module-tools/en/api/config/plugins"},{text:"testing",link:"/module-tools/en/api/config/testing"}]},{text:"Plugin API",collapsed:!1,collapsible:!0,items:[{text:"Plugin Hooks",link:"/module-tools/en/api/plugin-api/plugin-hooks"}]}],"/en/guide/":[{text:"Introduction",collapsed:!1,collapsible:!0,items:[{text:"Welcome to Module Tools",link:"/module-tools/en/guide/intro/welcome"},{text:"Why module project solution",link:"/module-tools/en/guide/intro/why-module-engineering-solution"},{text:"Quick Start",link:"/module-tools/en/guide/intro/getting-started"}]},{text:"Basic Guide",collapsed:!1,collapsible:!0,items:[{text:"Before you start",link:"/module-tools/en/guide/basic/before-getting-started"},{text:"CLI Commands",link:"/module-tools/en/guide/basic/command-preview"},{text:"Modify the output product",link:"/module-tools/en/guide/basic/modify-output-product"},{text:"Using the Microgenerator",link:"/module-tools/en/guide/basic/use-micro-generator"},{text:"Using Storybook",link:"/module-tools/en/guide/basic/using-storybook"},{text:"Testing Projects",link:"/module-tools/en/guide/basic/test-your-project"},{text:"Versioning and Publishing",link:"/module-tools/en/guide/basic/publish-your-project"}]},{text:"Advanced Guide",collapsed:!1,collapsible:!0,items:[{text:"In-depth understanding of build",link:"/module-tools/en/guide/advance/in-depth-about-build"},{text:"In-depth understanding of the dev command",link:"/module-tools/en/guide/advance/in-depth-about-dev-command"},{text:"Use the Copy Tools",link:"/module-tools/en/guide/advance/copy"},{text:"How to handle third-party dependencies",link:"/module-tools/en/guide/advance/external-dependency"},{text:"Build umd products",link:"/module-tools/en/guide/advance/build-umd"},{text:"Handle static resource files",link:"/module-tools/en/guide/advance/asset"},{text:"Theme Configuration",link:"/module-tools/en/guide/advance/theme-config"}]},{text:"Best practices",collapsed:!1,collapsible:!0,items:[{text:"Developing Components",link:"/module-tools/en/guide/best-practices/components"}]},{text:"FAQ",link:"/module-tools/en/guide/faq/",collapsed:!1,collapsible:!0,items:[{text:"Build FAQ",link:"/module-tools/en/guide/faq/build"},{text:"Storybook FAQ",link:"/module-tools/en/guide/faq/storybook"},{text:"Test FAQ",link:"/module-tools/en/guide/faq/test"}]}],"/en/plugins/":[{text:"Guide",collapsed:!1,collapsible:!0,items:[{text:"Quick Start",link:"/module-tools/en/plugins/guide/getting-started"},{text:"Plugin Object",link:"/module-tools/en/plugins/guide/plugin-object"},{text:"Setup function",link:"/module-tools/en/plugins/guide/setup-function"}]},{text:"Plugins List",collapsed:!1,collapsible:!0,items:[{text:"Overview",link:"/module-tools/en/plugins/official-list/overview"},{text:"Babel Plugin",link:"/module-tools/en/plugins/official-list/plugin-babel"},{text:"Banner Plugin",link:"/module-tools/en/plugins/official-list/plugin-banner"},{text:"Import Plugin",link:"/module-tools/en/plugins/official-list/plugin-import"},{text:"Node Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-polyfill"}]}]}}],editLink:{docRepoBaseUrl:"https://github.com/web-infra-dev/modern.js/tree/main/packages/document/module-doc/docs",text:"Edit this page on GitHub"}},base:"/module-tools/",root:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs",lang:"zh",logo:"",search:{mode:"local"},pages:[{title:"buildConfig",routePath:"/module-tools/en/api/config/build-config",lang:"en",toc:[{text:"alias",id:"alias",depth:2,charIndex:400},{text:"asset",id:"asset",depth:2,charIndex:1412},{text:"asset.path",id:"assetpath",depth:2,charIndex:1471},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:1575},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:2137},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:2425},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:3044},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:3162},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:3279},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:4010},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:4146},{text:"buildType",id:"buildtype",depth:2,charIndex:4277},{text:"copy",id:"copy",depth:2,charIndex:4435},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:4700},{text:"copy.options",id:"copyoptions",depth:2,charIndex:4873},{text:"define",id:"define",depth:2,charIndex:5170},{text:"dts",id:"dts",depth:2,charIndex:5873},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:6090},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:6675},{text:"dts.only",id:"dtsonly",depth:2,charIndex:6779},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:6866},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:7296},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:7389},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:8564},{text:"externals",id:"externals",depth:2,charIndex:9565},{text:"format",id:"format",depth:2,charIndex:9901},{text:"format: \\'esm\\'",id:"format:-\\'esm\\'",depth:3,charIndex:-1},{text:"format: \\'cjs\\'",id:"format:-\\'cjs\\'",depth:3,charIndex:-1},{text:"format: \\'iife\\'",id:"format:-\\'iife\\'",depth:3,charIndex:-1},{text:"format: \\'umd\\'",id:"format:-\\'umd\\'",depth:3,charIndex:-1},{text:"input",id:"input",depth:2,charIndex:11330},{text:"jsx",id:"jsx",depth:2,charIndex:12045},{text:"metafile",id:"metafile",depth:2,charIndex:12550},{text:"minify",id:"minify",depth:2,charIndex:13080},{text:"outDir",id:"outdir",depth:2,charIndex:13341},{text:"platform",id:"platform",depth:2,charIndex:13430},{text:"redirect",id:"redirect",depth:2,charIndex:13623},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:14323},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:15419},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:15653},{text:"sourceType",id:"sourcetype",depth:2,charIndex:15764},{text:"splitting",id:"splitting",depth:2,charIndex:15991},{text:"style",id:"style",depth:2,charIndex:16074},{text:"style.less",id:"styleless",depth:2,charIndex:16122},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:16164},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:16289},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:16544},{text:"style.sass",id:"stylesass",depth:2,charIndex:17149},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:17192},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:17298},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:17613},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:18213},{text:"style.inject",id:"styleinject",depth:2,charIndex:18456},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:19916},{text:"style.modules",id:"stylemodules",depth:2,charIndex:20263},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:20723},{text:"target",id:"target",depth:2,charIndex:21518},{text:"transformImport",id:"transformimport",depth:2,charIndex:22105},{text:"Notes",id:"notes",depth:3,charIndex:22559},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:22605},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:23035}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/build-config.md",_relativePath:"en/api/config/build-config.md"},{title:"buildPreset",routePath:"/module-tools/en/api/config/build-preset",lang:"en",toc:[{text:"string",id:"string",depth:2,charIndex:140},{text:"\\'npm-library\\'",id:"\\'npm-library\\'",depth:3,charIndex:-1},{text:"\\'npm-library-with-umd\\'",id:"\\'npm-library-with-umd\\'",depth:3,charIndex:-1},{text:"\\'npm-component\\'",id:"\\'npm-component\\'",depth:3,charIndex:-1},{text:"\\'npm-component-with-umd\\'",id:"\\'npm-component-with-umd\\'",depth:3,charIndex:-1},{text:"About the ECMAScript versions supported by the presets and {es5.... .esnext}",id:"about-the-ecmascript-versions-supported-by-the-presets-and-{es5-esnext}",depth:3,charIndex:3597},{text:"Function",id:"function",depth:2,charIndex:4082},{text:"Function Parameters",id:"function-parameters",depth:3,charIndex:4635},{text:"preset",id:"preset",depth:4,charIndex:4816},{text:"extendPreset",id:"extendpreset",depth:4,charIndex:5114}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/build-preset.mdx",_relativePath:"en/api/config/build-preset.mdx"},{title:"designSystem",routePath:"/module-tools/en/api/config/design-system",lang:"en",toc:[{text:"Screens",id:"screens",depth:2,charIndex:13310},{text:"Max-width breakpoints",id:"max-width-breakpoints",depth:3,charIndex:14822},{text:"Multiple range breakpoints",id:"multiple-range-breakpoints",depth:3,charIndex:15613},{text:"Custom media queries",id:"custom-media-queries",depth:3,charIndex:16389},{text:"Print styles",id:"print-styles",depth:3,charIndex:16696},{text:"Dark Mode",id:"dark-mode",depth:3,charIndex:17149},{text:"Colors",id:"colors",depth:2,charIndex:17506},{text:"Spacing",id:"spacing",depth:2,charIndex:17904},{text:"Core plugins",id:"core-plugins",depth:2,charIndex:18514},{text:"Customizing the default configuration",id:"customizing-the-default-configuration",depth:2,charIndex:19626},{text:"Override the default configuration",id:"override-the-default-configuration",depth:3,charIndex:19872},{text:"Extending the default configuration",id:"extending-the-default-configuration",depth:3,charIndex:20614},{text:"Referencing other values",id:"referencing-other-values",depth:3,charIndex:21513},{text:"Disabling the entire core plugin",id:"disabling-the-entire-core-plugin",depth:3,charIndex:22950},{text:"Adding your own key",id:"adding-your-own-key",depth:3,charIndex:23604},{text:"Configuration references",id:"configuration-references",depth:2,charIndex:24905}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/design-system.md",_relativePath:"en/api/config/design-system.md"},{title:"dev",routePath:"/module-tools/en/api/config/dev",lang:"en",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:178},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:436},{text:"Configure Manager App",id:"configure-manager-app",depth:4,charIndex:817},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:1190}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/dev.md",_relativePath:"en/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/en/api/config/plugins",lang:"en",toc:[{text:"Plugin Execution Order",id:"plugin-execution-order",depth:2,charIndex:136},{text:"Developing Plugins",id:"developing-plugins",depth:2,charIndex:576},{text:"Example",id:"example",depth:2,charIndex:672},{text:"Using Plugins from npm",id:"using-plugins-from-npm",depth:3,charIndex:683},{text:"Using Local Plugins",id:"using-local-plugins",depth:4,charIndex:890},{text:"Plugin Configuration",id:"plugin-configuration",depth:3,charIndex:1074}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/plugins.md",_relativePath:"en/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/en/api/config/testing",lang:"en",toc:[{text:"jest",id:"jest",depth:2,charIndex:133},{text:"transformer",id:"transformer",depth:2,charIndex:736}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/config/testing.md",_relativePath:"en/api/config/testing.md"},{title:"Overview",routePath:"/module-tools/en/api/",lang:"en",toc:[],frontmatter:{overview:!0,sidebar_label:"Overview",sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/index.md",_relativePath:"en/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/en/api/plugin-api/plugin-hooks",lang:"en",toc:[{text:"build hooks",id:"build-hooks",depth:2,charIndex:424},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:586},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:1223},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:1695},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:2099},{text:"buildPlatform hooks",id:"buildplatform-hooks",depth:2,charIndex:2554},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:3053},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:3775},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:4499},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:4994},{text:"Dev Hooks",id:"dev-hooks",depth:2,charIndex:5698},{text:"registerDev.",id:"registerdev",depth:3,charIndex:6173},{text:"beforeDev",id:"beforedev",depth:3,charIndex:7283},{text:"(before|after)DevMenu",id:"(before|after)devmenu",depth:3,charIndex:7885},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:9066},{text:"afterDev",id:"afterdev",depth:3,charIndex:9636}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/api/plugin-api/plugin-hooks.md",_relativePath:"en/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/en/components/faq-build-exception",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-exception.mdx",_relativePath:"en/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-other",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-other.mdx",_relativePath:"en/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-product",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-build-product.mdx",_relativePath:"en/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/en/components/faq-storybook",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-storybook.mdx",_relativePath:"en/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/en/components/faq-test",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/components/faq-test.mdx",_relativePath:"en/components/faq-test.mdx"},{title:"Handle static resource files",routePath:"/module-tools/en/guide/advance/asset",lang:"en",toc:[{text:"Default behavior",id:"default-behavior",depth:2,charIndex:144}],frontmatter:{sidebar_position:6},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/asset.mdx",_relativePath:"en/guide/advance/asset.mdx"},{title:"Build umd products",routePath:"/module-tools/en/guide/advance/build-umd",lang:"en",toc:[{text:"Third-party dependency handling for umd products",id:"third-party-dependency-handling-for-umd-products",depth:2,charIndex:484},{text:"Changing the name of a global variable in a project",id:"changing-the-name-of-a-global-variable-in-a-project",depth:2,charIndex:1500}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/build-umd.mdx",_relativePath:"en/guide/advance/build-umd.mdx"},{title:"Use the Copy Tools",routePath:"/module-tools/en/guide/advance/copy",lang:"en",toc:[{text:"Understanding the Copy API",id:"understanding-the-copy-api",depth:2,charIndex:174},{text:"API Description",id:"api-description",depth:2,charIndex:424},{text:"不同场景使用示例",id:"不同场景使用示例",depth:2,charIndex:1760},{text:"将文件复制文件",id:"将文件复制文件",depth:3,charIndex:1772},{text:"将文件复制到目录",id:"将文件复制到目录",depth:3,charIndex:2116},{text:"从目录复制到目录",id:"从目录复制到目录",depth:3,charIndex:2454},{text:"从目录到文件",id:"从目录到文件",depth:3,charIndex:2848},{text:"使用 Glob",id:"使用-glob",depth:3,charIndex:3253}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/copy.md",_relativePath:"en/guide/advance/copy.md"},{title:"How to handle third-party dependencies",routePath:"/module-tools/en/guide/advance/external-dependency",lang:"en",toc:[{text:"Default handling of third-party dependencies",id:"default-handling-of-third-party-dependencies",depth:2,charIndex:861},{text:"Exclude specified third-party dependencies",id:"exclude-specified-third-party-dependencies",depth:2,charIndex:1535}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/external-dependency.mdx",_relativePath:"en/guide/advance/external-dependency.mdx"},{title:"In-depth understanding of build",routePath:"/module-tools/en/guide/advance/in-depth-about-build",lang:"en",toc:[{text:"In-depth understanding of buildConfig",id:"in-depth-understanding-of-buildconfig",depth:2,charIndex:499},{text:"Bundle and Bundleless",id:"bundle-and-bundleless",depth:3,charIndex:540},{text:"Relationship between input and sourceDir",id:"relationship-between-input-and-sourcedir",depth:3,charIndex:1676},{text:"Object type of input",id:"object-type-of-input",depth:4,charIndex:2442},{text:"sourceDir",id:"sourcedir",depth:4,charIndex:2998},{text:"Declaration Type Files",id:"declaration-type-files",depth:3,charIndex:3389},{text:"Turn off type generation",id:"turn-off-type-generation",depth:4,charIndex:3490},{text:"Build type files",id:"build-type-files",depth:4,charIndex:3766},{text:"Alias Conversion",id:"alias-conversion",depth:4,charIndex:4472},{text:"Some examples of the use of dts",id:"some-examples-of-the-use-of-dts",depth:4,charIndex:5028},{text:"buildConfig.define Usage for different scenarios",id:"buildconfigdefine-usage-for-different-scenarios",depth:3,charIndex:5727},{text:"Environment variable replacement",id:"environment-variable-replacement",depth:4,charIndex:5892},{text:"Global variable replacement",id:"global-variable-replacement",depth:4,charIndex:6307},{text:"Build process",id:"build-process",depth:2,charIndex:6913},{text:"Build errors",id:"build-errors",depth:2,charIndex:7206}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/in-depth-about-build.md",_relativePath:"en/guide/advance/in-depth-about-build.md"},{title:"In-depth understanding of the dev command",routePath:"/module-tools/en/guide/advance/in-depth-about-dev-command",lang:"en",toc:[{text:"The overall flow of the command run",id:"the-overall-flow-of-the-command-run",depth:2,charIndex:90},{text:"Extending the dev command",id:"extending-the-dev-command",depth:2,charIndex:795}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/in-depth-about-dev-command.md",_relativePath:"en/guide/advance/in-depth-about-dev-command.md"},{title:"Theme Configuration",routePath:"/module-tools/en/guide/advance/theme-config",lang:"en",toc:[{text:"Motivation and rationale",id:"motivation-and-rationale",depth:2,charIndex:94},{text:"Usage examples",id:"usage-examples",depth:2,charIndex:1115},{text:"tailwindcss",id:"tailwindcss",depth:3,charIndex:1133},{text:"HTML Class",id:"html-class",depth:4,charIndex:1484},{text:"@apply Directives",id:"@apply-directives",depth:4,charIndex:1574}],frontmatter:{sidebar_position:7},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/advance/theme-config.mdx",_relativePath:"en/guide/advance/theme-config.mdx"},{title:"Before you start",routePath:"/module-tools/en/guide/basic/before-getting-started",lang:"en",toc:[{text:"Environment preparation",id:"environment-preparation",depth:2,charIndex:3},{text:"Getting Started with npm",id:"getting-started-with-npm",depth:2,charIndex:446},{text:"npm package type project",id:"npm-package-type-project",depth:2,charIndex:928},{text:"Using third-party npm packages",id:"using-third-party-npm-packages",depth:2,charIndex:2148},{text:"Other npm bits and pieces to know",id:"other-npm-bits-and-pieces-to-know",depth:2,charIndex:4015},{text:"Program entry for npm packages",id:"program-entry-for-npm-packages",depth:3,charIndex:4052},{text:'\\"scripts\\"',id:'\\"scripts\\"',depth:3,charIndex:-1},{text:"npm install",id:"npm-install",depth:4,charIndex:5752},{text:"npm publish",id:"npm-publish",depth:4,charIndex:6113},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:6383},{text:"npm package manager",id:"npm-package-manager",depth:2,charIndex:7085},{text:"Module Tools configuration file",id:"module-tools-configuration-file",depth:2,charIndex:7370}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/before-getting-started.md",_relativePath:"en/guide/basic/before-getting-started.md"},{title:"CLI Commands",routePath:"/module-tools/en/guide/basic/command-preview",lang:"en",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:69},{text:"modern new",id:"modern-new",depth:2,charIndex:2093},{text:"modern dev",id:"modern-dev",depth:2,charIndex:2872},{text:"modern test",id:"modern-test",depth:2,charIndex:3456},{text:"modern lint",id:"modern-lint",depth:2,charIndex:3764},{text:"modern change",id:"modern-change",depth:2,charIndex:4200},{text:"modern pre",id:"modern-pre",depth:2,charIndex:4528},{text:"modern bump",id:"modern-bump",depth:2,charIndex:4759},{text:"modern release",id:"modern-release",depth:2,charIndex:5278},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:5758},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:6254}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/command-preview.md",_relativePath:"en/guide/basic/command-preview.md"},{title:"Modify the output product",routePath:"/module-tools/en/guide/basic/modify-output-product",lang:"en",toc:[{text:"Default output products",id:"default-output-products",depth:2,charIndex:3},{text:"buildPreset",id:"buildpreset",depth:2,charIndex:1066},{text:"String form of build preset",id:"string-form-of-build-preset",depth:3,charIndex:1339},{text:"Build pre-defined function forms",id:"build-pre-defined-function-forms",depth:3,charIndex:2873},{text:"Build configuration (object)",id:"build-configuration-(object)",depth:2,charIndex:4535},{text:"When to use buildConfig",id:"when-to-use-buildconfig",depth:2,charIndex:7754}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/modify-output-product.md",_relativePath:"en/guide/basic/modify-output-product.md"},{title:"Versioning and Publishing",routePath:"/module-tools/en/guide/basic/publish-your-project",lang:"en",toc:[{text:"Tracking changes",id:"tracking-changes",depth:2,charIndex:402},{text:"Version update",id:"version-update",depth:2,charIndex:1744},{text:"Publish",id:"publish",depth:2,charIndex:2223},{text:"Pre-releases",id:"pre-releases",depth:2,charIndex:2937}],frontmatter:{sidebar_position:7},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/publish-your-project.md",_relativePath:"en/guide/basic/publish-your-project.md"},{title:"Testing Projects",routePath:"/module-tools/en/guide/basic/test-your-project",lang:"en",toc:[{text:"Prerequisites and conventions",id:"prerequisites-and-conventions",depth:2,charIndex:52},{text:"Run the tests",id:"run-the-tests",depth:2,charIndex:758},{text:"Usage Configuration",id:"usage-configuration",depth:2,charIndex:1028},{text:"Test example",id:"test-example",depth:2,charIndex:1187},{text:"Common modules",id:"common-modules",depth:3,charIndex:1203},{text:"Components",id:"components",depth:3,charIndex:1283}],frontmatter:{sidebar_position:6},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/test-your-project.mdx",_relativePath:"en/guide/basic/test-your-project.mdx"},{title:"Using the Microgenerator",routePath:"/module-tools/en/guide/basic/use-micro-generator",lang:"en",toc:[{text:"Test",id:"test",depth:2,charIndex:456},{text:"Storybook",id:"storybook",depth:2,charIndex:946},{text:"Tailwind CSS support",id:"tailwind-css-support",depth:2,charIndex:1595},{text:"Modern.js Runtime API",id:"modernjs-runtime-api",depth:2,charIndex:2100}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/use-micro-generator.md",_relativePath:"en/guide/basic/use-micro-generator.md"},{title:"Using Storybook",routePath:"/module-tools/en/guide/basic/using-storybook",lang:"en",toc:[{text:"Debugging code",id:"debugging-code",depth:2,charIndex:678},{text:"Referencing component products",id:"referencing-component-products",depth:3,charIndex:1318},{text:"Referencing component source code",id:"referencing-component-source-code",depth:3,charIndex:2411},{text:"Configure Storybook",id:"configure-storybook",depth:2,charIndex:3252},{text:"Building Storybook Products",id:"building-storybook-products",depth:2,charIndex:4191}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/basic/using-storybook.mdx",_relativePath:"en/guide/basic/using-storybook.mdx"},{title:"Developing Components",routePath:"/module-tools/en/guide/best-practices/components",lang:"en",toc:[{text:"Initialize the project",id:"initialize-the-project",depth:2,charIndex:104},{text:"Debugging code with Storybook",id:"debugging-code-with-storybook",depth:2,charIndex:130},{text:"Developing Styles",id:"developing-styles",depth:2,charIndex:163},{text:"CSS/PostCSS",id:"css/postcss",depth:3,charIndex:369},{text:"Less",id:"less",depth:3,charIndex:719},{text:"Sass/Scss",id:"sass/scss",depth:3,charIndex:830},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:951},{text:"HTML class",id:"html-class",depth:4,charIndex:1190},{text:"@apply",id:"@apply",depth:4,charIndex:1203},{text:"Recommended method",id:"recommended-method",depth:4,charIndex:1733},{text:"The difference between bundle and bundleless build products",id:"the-difference-between-bundle-and-bundleless-build-products",depth:4,charIndex:2127},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:3142},{text:"Configuring build products",id:"configuring-build-products",depth:2,charIndex:3500},{text:"Testing components",id:"testing-components",depth:2,charIndex:4431},{text:"Releasing components",id:"releasing-components",depth:2,charIndex:4534}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/best-practices/components.mdx",_relativePath:"en/guide/best-practices/components.mdx"},{title:"Build FAQ",routePath:"/module-tools/en/guide/faq/build",lang:"en",toc:[{text:"Product FAQ",id:"product-faq",depth:2,charIndex:3},{text:"Initialization of Class Fields",id:"initialization-of-class-fields",depth:3,charIndex:18},{text:"babel-plugin-lodash treats the introduced lodash as undefined",id:"babel-plugin-lodash-treats-the-introduced-lodash-as-undefined",depth:3,charIndex:2081},{text:"Exceptions FAQ",id:"exceptions-faq",depth:2,charIndex:2771},{text:'Dynamic require of \\"react\\" is not supported',id:'dynamic-require-of-\\"react\\"-is-not-supported',depth:3,charIndex:-1},{text:"Problem Description",id:"problem-description",depth:4,charIndex:2835},{text:"Solution",id:"solution",depth:4,charIndex:3138},{text:"Reference Links",id:"reference-links",depth:4,charIndex:3733},{text:"During compilation, an error was reported in the less file of a component library:\\'Operation on an invalid type\\'",id:"during-compilation,-an-error-was-reported-in-the-less-file-of-a-component-library:\\'operation-on-an-invalid-type\\'",depth:3,charIndex:-1},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:5269},{text:'Error reported for defineConfig function type: If there is no reference to \\"...\\" then the inferred type of \\"default\\" cannot be named',id:'error-reported-for-defineconfig-function-type:-if-there-is-no-reference-to-\\"\\"-then-the-inferred-type-of-\\"default\\"-cannot-be-named',depth:3,charIndex:-1},{text:"Other FAQ",id:"other-faq",depth:2,charIndex:6295},{text:"Add additional compilation feature",id:"add-additional-compilation-feature",depth:3,charIndex:6308},{text:"Support for generating TypeScript declaration files for CSS Modules",id:"support-for-generating-typescript-declaration-files-for-css-modules",depth:3,charIndex:6945}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/build.mdx",_relativePath:"en/guide/faq/build.mdx"},{title:"FAQ",routePath:"/module-tools/en/guide/faq/",lang:"en",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/index.md",_relativePath:"en/guide/faq/index.md"},{title:"Storybook FAQ",routePath:"/module-tools/en/guide/faq/storybook",lang:"en",toc:[{text:"Storybook v7 Support",id:"storybook-v7-support",depth:2,charIndex:3},{text:"Using Storybook Addon or other configurations does not work",id:"using-storybook-addon-or-other-configurations-does-not-work",depth:2,charIndex:186},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-\\'react-dom/packagejson",depth:2,charIndex:-1},{text:"Unable to locate the specific error message",id:"unable-to-locate-the-specific-error-message",depth:2,charIndex:880},{text:"Can`t find any stories is your Storybook",id:"can`t-find-any-stories-is-your-storybook",depth:2,charIndex:1653},{text:"Storybook Adds Proxy Functionality",id:"storybook-adds-proxy-functionality",depth:2,charIndex:1953},{text:"Modify the directory where the Story file exists",id:"modify-the-directory-where-the-story-file-exists",depth:2,charIndex:2800}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/storybook.mdx",_relativePath:"en/guide/faq/storybook.mdx"},{title:"Test FAQ",routePath:"/module-tools/en/guide/faq/test",lang:"en",toc:[{text:"Execute test command with an error TypeError: Cannot read property \\'testEnvironmentOptions\\' of undefined",id:"execute-test-command-with-an-error-typeerror:-cannot-read-property-\\'testenvironmentoptions\\'-of-undefined",depth:3,charIndex:-1}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/faq/test.mdx",_relativePath:"en/guide/faq/test.mdx"},{title:"Quick Start",routePath:"/module-tools/en/guide/intro/getting-started",lang:"en",toc:[{text:"3 minute demo",id:"3-minute-demo",depth:2,charIndex:3},{text:"Create new project",id:"create-new-project",depth:3,charIndex:206},{text:"Add to an existing project",id:"add-to-an-existing-project",depth:3,charIndex:1091},{text:"View official example",id:"view-official-example",depth:3,charIndex:1977},{text:"Let\\'s get started",id:"let\\'s-get-started",depth:2,charIndex:-1}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/getting-started.md",_relativePath:"en/guide/intro/getting-started.md"},{title:"Welcome to Module Tools",routePath:"/module-tools/en/guide/intro/welcome",lang:"en",toc:[],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/welcome.md",_relativePath:"en/guide/intro/welcome.md"},{title:"Why module project solution",routePath:"/module-tools/en/guide/intro/why-module-engineering-solution",lang:"en",toc:[],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/guide/intro/why-module-engineering-solution.md",_relativePath:"en/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/en/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"Module Tools",text:"Module engineering solutions",tagline:"simple, powerful, high-performance modern npm package development solution",actions:[{theme:"brand",text:"Welcome",link:"/en/guide/intro/welcome"},{theme:"alt",text:"Quick Start",link:"/en/guide/intro/getting-started"}]},features:[{title:"esbuild: The High Performance JS Bundler",details:"Built on esbuild, the build is extremely fast and gives you the ultimate development experience.",icon:"\uD83D\uDE80"},{title:"Two build modes",details:"Both bundle and bundleless build modes are supported.",icon:"✨"},{title:"Out of the box",details:"Develop your npm packages without too much configuration, with built-in presets covering a wide range of scenarios.",icon:"\uD83D\uDEE0️"},{title:"Extensible: Provides a powerful plugin mechanism",details:"With its plugin extension mechanism, you can easily extend the capabilities of Module Tools.",icon:"\uD83C\uDFA8"},{title:"Storybook: The community popular UI development tool",details:"Integrated with Storybook, you can use it to debug UI.",icon:"\uD83D\uDCE6"},{title:"Jest: Delightful Testing Framework",details:"Jest integration makes it easier to test code。",icon:"\uD83D\uDCD0"}]},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/index.md",_relativePath:"en/index.md"},{title:"Quick Start",routePath:"/module-tools/en/plugins/guide/getting-started",lang:"en",toc:[],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/getting-started.mdx",_relativePath:"en/plugins/guide/getting-started.mdx"},{title:"Plugin Object",routePath:"/module-tools/en/plugins/guide/plugin-object",lang:"en",toc:[{text:"Plugin type definitions",id:"plugin-type-definitions",depth:2,charIndex:558},{text:"Plugin configuration items",id:"plugin-configuration-items",depth:2,charIndex:916}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/plugin-object.mdx",_relativePath:"en/plugins/guide/plugin-object.mdx"},{title:"Setup function",routePath:"/module-tools/en/plugins/guide/setup-function",lang:"en",toc:[{text:"Plugin API objects",id:"plugin-api-objects",depth:2,charIndex:174},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:784},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:1308},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:1801},{text:"Asynchronous setup",id:"asynchronous-setup",depth:2,charIndex:2122},{text:"Life cycle hooks",id:"life-cycle-hooks",depth:2,charIndex:2394}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/guide/setup-function.mdx",_relativePath:"en/plugins/guide/setup-function.mdx"},{title:"Overview",routePath:"/module-tools/en/plugins/official-list/overview",lang:"en",toc:[{text:"Official Plugin",id:"official-plugin",depth:2,charIndex:3}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/overview.md",_relativePath:"en/plugins/official-list/overview.md"},{title:"Babel Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-babel",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:110},{text:"Install",id:"install",depth:3,charIndex:125},{text:"Register",id:"register",depth:3,charIndex:292},{text:"Config",id:"config",depth:2,charIndex:461}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-babel.md",_relativePath:"en/plugins/official-list/plugin-babel.md"},{title:"Banner Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-banner",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:89},{text:"Install",id:"install",depth:3,charIndex:104},{text:"Register",id:"register",depth:3,charIndex:274},{text:"Example",id:"example",depth:2,charIndex:615},{text:"Add copyright information at the top of a JS file",id:"add-copyright-information-at-the-top-of-a-js-file",depth:3,charIndex:626},{text:"Configuration",id:"configuration",depth:2,charIndex:1127},{text:"banner",id:"banner",depth:3,charIndex:1286},{text:"footer",id:"footer",depth:3,charIndex:1426}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-banner.md",_relativePath:"en/plugins/official-list/plugin-banner.md"},{title:"Import Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-import",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:227},{text:"Install",id:"install",depth:3,charIndex:242},{text:"Register",id:"register",depth:3,charIndex:412},{text:"Configurations",id:"configurations",depth:2,charIndex:774},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:855},{text:"Notes",id:"notes",depth:2,charIndex:1274}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-import.mdx",_relativePath:"en/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-node-polyfill",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:460},{text:"Install",id:"install",depth:3,charIndex:475},{text:"Register",id:"register",depth:3,charIndex:666},{text:"Configurations",id:"configurations",depth:2,charIndex:851},{text:"exclude",id:"exclude",depth:3,charIndex:956},{text:"overrides",id:"overrides",depth:3,charIndex:1153},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:1398},{text:"Globals",id:"globals",depth:3,charIndex:1416},{text:"Modules",id:"modules",depth:3,charIndex:1607},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:2108}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-node-polyfill.md",_relativePath:"en/plugins/official-list/plugin-node-polyfill.md"},{title:"Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-polyfill",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:497},{text:"Install",id:"install",depth:3,charIndex:512},{text:"Register",id:"register",depth:3,charIndex:688},{text:"Config",id:"config",depth:2,charIndex:869},{text:"targets",id:"targets",depth:3,charIndex:938}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/en/plugins/official-list/plugin-polyfill.md",_relativePath:"en/plugins/official-list/plugin-polyfill.md"},{title:"buildConfig",routePath:"/module-tools/api/config/build-config",lang:"zh",toc:[{text:"alias",id:"alias",depth:2,charIndex:159},{text:"asset",id:"asset",depth:2,charIndex:876},{text:"asset.path",id:"assetpath",depth:2,charIndex:899},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:970},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:1286},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:1503},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:1899},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:1998},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:2099},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:2598},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:2686},{text:"buildType",id:"buildtype",depth:2,charIndex:2782},{text:"copy",id:"copy",depth:2,charIndex:2883},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:3051},{text:"copy.options",id:"copyoptions",depth:2,charIndex:3218},{text:"define",id:"define",depth:2,charIndex:3451},{text:"dts",id:"dts",depth:2,charIndex:3784},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:3940},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:4274},{text:"dts.only",id:"dtsonly",depth:2,charIndex:4348},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:4410},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:4627},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:4707},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:5310},{text:"externals",id:"externals",depth:2,charIndex:5939},{text:"format",id:"format",depth:2,charIndex:6193},{text:"format: \\'esm\\'",id:"format:-\\'esm\\'",depth:3,charIndex:-1},{text:"format: \\'cjs\\'",id:"format:-\\'cjs\\'",depth:3,charIndex:-1},{text:"format: \\'iife\\'",id:"format:-\\'iife\\'",depth:3,charIndex:-1},{text:"format: \\'umd\\'",id:"format:-\\'umd\\'",depth:3,charIndex:-1},{text:"input",id:"input",depth:2,charIndex:7058},{text:"jsx",id:"jsx",depth:2,charIndex:7565},{text:"metafile",id:"metafile",depth:2,charIndex:7900},{text:"minify",id:"minify",depth:2,charIndex:8239},{text:"outDir",id:"outdir",depth:2,charIndex:8491},{text:"platform",id:"platform",depth:2,charIndex:8540},{text:"redirect",id:"redirect",depth:2,charIndex:8646},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:9013},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:9819},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:9915},{text:"sourceType",id:"sourcetype",depth:2,charIndex:10002},{text:"splitting",id:"splitting",depth:2,charIndex:10133},{text:"style",id:"style",depth:2,charIndex:10187},{text:"style.less",id:"styleless",depth:2,charIndex:10208},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:10234},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:10325},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:10557},{text:"sass",id:"sass",depth:2,charIndex:11020},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:11040},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:11110},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:11402},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:11866},{text:"style.inject",id:"styleinject",depth:2,charIndex:12079},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:13023},{text:"style.modules",id:"stylemodules",depth:2,charIndex:13257},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:13610},{text:"target",id:"target",depth:2,charIndex:14128},{text:"transformImport",id:"transformimport",depth:2,charIndex:14517},{text:"注意事项",id:"注意事项",depth:3,charIndex:14863},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:14892},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:15186}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/build-config.md",_relativePath:"zh/api/config/build-config.md"},{title:"buildPreset",routePath:"/module-tools/api/config/build-preset",lang:"zh",toc:[{text:"string",id:"string",depth:2,charIndex:75},{text:"\\'npm-library\\'",id:"\\'npm-library\\'",depth:3,charIndex:-1},{text:"\\'npm-library-with-umd\\'",id:"\\'npm-library-with-umd\\'",depth:3,charIndex:-1},{text:"\\'npm-component\\'",id:"\\'npm-component\\'",depth:3,charIndex:-1},{text:"\\'npm-component-with-umd\\'",id:"\\'npm-component-with-umd\\'",depth:3,charIndex:-1},{text:"关于预设值支持的 ECMAScript 版本以及 {es5...esnext}",id:"关于预设值支持的-ecmascript-版本以及-{es5esnext}",depth:3,charIndex:2841},{text:"Function",id:"function",depth:2,charIndex:3152},{text:"函数参数",id:"函数参数",depth:3,charIndex:3520},{text:"preset",id:"preset",depth:4,charIndex:3598},{text:"extendPreset",id:"extendpreset",depth:4,charIndex:3705}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/build-preset.mdx",_relativePath:"zh/api/config/build-preset.mdx"},{title:"designSystem",routePath:"/module-tools/api/config/design-system",lang:"zh",toc:[{text:"Screens",id:"screens",depth:2,charIndex:12978},{text:"Max-width 断点",id:"max-width-断点",depth:3,charIndex:14164},{text:"多个范围的断点",id:"多个范围的断点",depth:3,charIndex:14808},{text:"自定义媒体查询",id:"自定义媒体查询",depth:3,charIndex:15295},{text:"Print 样式",id:"print-样式",depth:3,charIndex:15516},{text:"Dark Mode",id:"dark-mode",depth:3,charIndex:15802},{text:"Colors",id:"colors",depth:2,charIndex:16159},{text:"Spacing",id:"spacing",depth:2,charIndex:16491},{text:"核心插件",id:"核心插件",depth:2,charIndex:16987},{text:"自定义默认配置",id:"自定义默认配置",depth:2,charIndex:17595},{text:"覆盖默认配置",id:"覆盖默认配置",depth:3,charIndex:17656},{text:"扩展默认配置",id:"扩展默认配置",depth:3,charIndex:18052},{text:"引用其他值",id:"引用其他值",depth:3,charIndex:18661},{text:"禁用整个核心插件",id:"禁用整个核心插件",depth:3,charIndex:19390},{text:"添加自己的 key",id:"添加自己的-key",depth:3,charIndex:19771},{text:"配置引用",id:"配置引用",depth:2,charIndex:20736}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/design-system.md",_relativePath:"zh/api/config/design-system.md"},{title:"dev",routePath:"/module-tools/api/config/dev",lang:"zh",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:128},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:291},{text:"配置 Manager App",id:"配置-manager-app",depth:4,charIndex:601},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:897}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/dev.md",_relativePath:"zh/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/api/config/plugins",lang:"zh",toc:[{text:"插件执行顺序",id:"插件执行顺序",depth:2,charIndex:75},{text:"开发插件",id:"开发插件",depth:2,charIndex:213},{text:"示例",id:"示例",depth:2,charIndex:245},{text:"使用 npm 上的插件",id:"使用-npm-上的插件",depth:3,charIndex:251},{text:"使用本地插件",id:"使用本地插件",depth:4,charIndex:369},{text:"插件配置项",id:"插件配置项",depth:3,charIndex:478}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/plugins.md",_relativePath:"zh/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/api/config/testing",lang:"zh",toc:[{text:"jest",id:"jest",depth:2,charIndex:55},{text:"transformer",id:"transformer",depth:2,charIndex:457}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/config/testing.md",_relativePath:"zh/api/config/testing.md"},{title:"概览",routePath:"/module-tools/api/",lang:"zh",toc:[],frontmatter:{overview:!0,sidebar_label:"概览",sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/index.md",_relativePath:"zh/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/api/plugin-api/plugin-hooks",lang:"zh",toc:[{text:"构建钩子",id:"构建钩子",depth:2,charIndex:168},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:277},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:827},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:1155},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:1505},{text:"buildPlatform 钩子",id:"buildplatform-钩子",depth:2,charIndex:1897},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:2236},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:2843},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:3424},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:3799},{text:"调试钩子",id:"调试钩子",depth:2,charIndex:4377},{text:"registerDev",id:"registerdev",depth:3,charIndex:4606},{text:"beforeDev",id:"beforedev",depth:3,charIndex:5452},{text:"(before|after)DevMenu",id:"(before|after)devmenu",depth:3,charIndex:5964},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:7e3},{text:"afterDev",id:"afterdev",depth:3,charIndex:7509}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/api/plugin-api/plugin-hooks.md",_relativePath:"zh/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/components/faq-build-exception",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-exception.mdx",_relativePath:"zh/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/components/faq-build-other",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-other.mdx",_relativePath:"zh/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/components/faq-build-product",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-build-product.mdx",_relativePath:"zh/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/components/faq-storybook",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-storybook.mdx",_relativePath:"zh/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/components/faq-test",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/components/faq-test.mdx",_relativePath:"zh/components/faq-test.mdx"},{title:"处理静态资源文件",routePath:"/module-tools/guide/advance/asset",lang:"zh",toc:[{text:"默认行为",id:"默认行为",depth:2,charIndex:61}],frontmatter:{sidebar_position:7},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/asset.mdx",_relativePath:"zh/guide/advance/asset.mdx"},{title:"构建 umd 产物",routePath:"/module-tools/guide/advance/build-umd",lang:"zh",toc:[{text:"umd 产物的第三方依赖处理",id:"umd-产物的第三方依赖处理",depth:2,charIndex:256},{text:"更改项目的全局变量名称",id:"更改项目的全局变量名称",depth:2,charIndex:714}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/build-umd.mdx",_relativePath:"zh/guide/advance/build-umd.mdx"},{title:"使用 Copy 工具",routePath:"/module-tools/guide/advance/copy",lang:"zh",toc:[{text:"了解 Copy API",id:"了解-copy-api",depth:2,charIndex:59},{text:"API 详解",id:"api-详解",depth:2,charIndex:174},{text:"不同场景使用示例",id:"不同场景使用示例",depth:2,charIndex:1501},{text:"将文件复制文件",id:"将文件复制文件",depth:3,charIndex:1513},{text:"将文件复制到目录",id:"将文件复制到目录",depth:3,charIndex:1857},{text:"从目录复制到目录",id:"从目录复制到目录",depth:3,charIndex:2195},{text:"从目录到文件",id:"从目录到文件",depth:3,charIndex:2589},{text:"使用 Glob",id:"使用-glob",depth:3,charIndex:2994}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/copy.md",_relativePath:"zh/guide/advance/copy.md"},{title:"如何处理第三方依赖",routePath:"/module-tools/guide/advance/external-dependency",lang:"zh",toc:[{text:"第三方依赖的默认处理",id:"第三方依赖的默认处理",depth:2,charIndex:314},{text:"排除指定第三方依赖",id:"排除指定第三方依赖",depth:2,charIndex:619}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/external-dependency.mdx",_relativePath:"zh/guide/advance/external-dependency.mdx"},{title:"深入理解构建",routePath:"/module-tools/guide/advance/in-depth-about-build",lang:"zh",toc:[{text:"深入理解 buildConfig",id:"深入理解-buildconfig",depth:2,charIndex:195},{text:"Bundle 和 Bundleless",id:"bundle-和-bundleless",depth:3,charIndex:215},{text:"input 与 sourceDir 的关系",id:"input-与-sourcedir-的关系",depth:3,charIndex:735},{text:"input 的对象模式",id:"input-的对象模式",depth:4,charIndex:1081},{text:"sourceDir",id:"sourcedir",depth:4,charIndex:1401},{text:"类型文件",id:"类型文件",depth:3,charIndex:1584},{text:"关闭类型生成",id:"关闭类型生成",depth:4,charIndex:1623},{text:"打包类型文件",id:"打包类型文件",depth:4,charIndex:1773},{text:"别名转换",id:"别名转换",depth:4,charIndex:2060},{text:"一些 dts 的使用示例",id:"一些-dts-的使用示例",depth:4,charIndex:2327},{text:"buildConfig.define 不同场景的使用方式",id:"buildconfigdefine-不同场景的使用方式",depth:3,charIndex:2899},{text:"环境变量替换",id:"环境变量替换",depth:4,charIndex:2990},{text:"全局变量替换",id:"全局变量替换",depth:4,charIndex:3298},{text:"构建过程",id:"构建过程",depth:2,charIndex:3687},{text:"构建报错",id:"构建报错",depth:2,charIndex:3857}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/in-depth-about-build.md",_relativePath:"zh/guide/advance/in-depth-about-build.md"},{title:"深入理解 dev 命令",routePath:"/module-tools/guide/advance/in-depth-about-dev-command",lang:"zh",toc:[{text:"命令运行的整体流程",id:"命令运行的整体流程",depth:2,charIndex:29},{text:"扩展 dev 命令",id:"扩展-dev-命令",depth:2,charIndex:318}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/in-depth-about-dev-command.md",_relativePath:"zh/guide/advance/in-depth-about-dev-command.md"},{title:"主题配置",routePath:"/module-tools/guide/advance/theme-config",lang:"zh",toc:[{text:"动机和原理",id:"动机和原理",depth:2,charIndex:40},{text:"使用示例",id:"使用示例",depth:2,charIndex:528},{text:"tailwindcss",id:"tailwindcss",depth:3,charIndex:536},{text:"HTML 类名",id:"html-类名",depth:4,charIndex:778},{text:"@apply 指令",id:"@apply-指令",depth:4,charIndex:865}],frontmatter:{sidebar_position:6},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/advance/theme-config.mdx",_relativePath:"zh/guide/advance/theme-config.mdx"},{title:"开始之前",routePath:"/module-tools/guide/basic/before-getting-started",lang:"zh",toc:[{text:"环境准备",id:"环境准备",depth:2,charIndex:3},{text:"初识 npm",id:"初识-npm",depth:2,charIndex:191},{text:"npm 包类型项目",id:"npm-包类型项目",depth:2,charIndex:394},{text:"使用第三方 npm 包",id:"使用第三方-npm-包",depth:2,charIndex:1025},{text:"还需要了解的 npm 零碎知识",id:"还需要了解的-npm-零碎知识",depth:2,charIndex:1992},{text:"npm 包的程序入口",id:"npm-包的程序入口",depth:3,charIndex:2011},{text:'\\"scripts\\"',id:'\\"scripts\\"',depth:3,charIndex:-1},{text:"npm install",id:"npm-install",depth:4,charIndex:2880},{text:"npm publish",id:"npm-publish",depth:4,charIndex:3144},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:3304},{text:"npm 包管理器",id:"npm-包管理器",depth:2,charIndex:3618},{text:"Module Tools 配置文件",id:"module-tools-配置文件",depth:2,charIndex:3746}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/before-getting-started.md",_relativePath:"zh/guide/basic/before-getting-started.md"},{title:"CLI 命令",routePath:"/module-tools/guide/basic/command-preview",lang:"zh",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:35},{text:"modern new",id:"modern-new",depth:2,charIndex:1071},{text:"modern dev",id:"modern-dev",depth:2,charIndex:1530},{text:"modern test",id:"modern-test",depth:2,charIndex:1897},{text:"modern lint",id:"modern-lint",depth:2,charIndex:2101},{text:"modern change",id:"modern-change",depth:2,charIndex:2394},{text:"modern pre",id:"modern-pre",depth:2,charIndex:2634},{text:"modern bump",id:"modern-bump",depth:2,charIndex:2780},{text:"modern release",id:"modern-release",depth:2,charIndex:3123},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:3474},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:3804}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/command-preview.md",_relativePath:"zh/guide/basic/command-preview.md"},{title:"修改输出产物",routePath:"/module-tools/guide/basic/modify-output-product",lang:"zh",toc:[{text:"默认输出产物",id:"默认输出产物",depth:2,charIndex:3},{text:"构建预设",id:"构建预设",depth:2,charIndex:474},{text:"构建预设的字符串形式",id:"构建预设的字符串形式",depth:3,charIndex:570},{text:"构建预设的函数形式",id:"构建预设的函数形式",depth:3,charIndex:1218},{text:"构建配置(对象)",id:"构建配置(对象)",depth:2,charIndex:2006},{text:"什么时候使用 buildConfig",id:"什么时候使用-buildconfig",depth:2,charIndex:3333}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/modify-output-product.md",_relativePath:"zh/guide/basic/modify-output-product.md"},{title:"版本管理与发布",routePath:"/module-tools/guide/basic/publish-your-project",lang:"zh",toc:[{text:"跟踪变更",id:"跟踪变更",depth:2,charIndex:152},{text:"版本更新",id:"版本更新",depth:2,charIndex:1046},{text:"发布",id:"发布",depth:2,charIndex:1309},{text:"预发布",id:"预发布",depth:2,charIndex:1647}],frontmatter:{sidebar_position:7},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/publish-your-project.md",_relativePath:"zh/guide/basic/publish-your-project.md"},{title:"测试项目",routePath:"/module-tools/guide/basic/test-your-project",lang:"zh",toc:[{text:"先决条件和约定",id:"先决条件和约定",depth:2,charIndex:21},{text:"运行测试",id:"运行测试",depth:2,charIndex:405},{text:"使用配置",id:"使用配置",depth:2,charIndex:539},{text:"测试示例",id:"测试示例",depth:2,charIndex:610},{text:"普通模块",id:"普通模块",depth:3,charIndex:618},{text:"组件",id:"组件",depth:3,charIndex:653}],frontmatter:{sidebar_position:6},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/test-your-project.mdx",_relativePath:"zh/guide/basic/test-your-project.mdx"},{title:"使用微生成器",routePath:"/module-tools/guide/basic/use-micro-generator",lang:"zh",toc:[{text:"Test 测试",id:"test-测试",depth:2,charIndex:150},{text:"Storybook 调试",id:"storybook-调试",depth:2,charIndex:404},{text:"Tailwind CSS 支持",id:"tailwind-css-支持",depth:2,charIndex:761},{text:"启动 Modern.js Runtime API",id:"启动-modernjs-runtime-api",depth:2,charIndex:1040}],frontmatter:{sidebar_position:4},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/use-micro-generator.md",_relativePath:"zh/guide/basic/use-micro-generator.md"},{title:"使用 Storybook",routePath:"/module-tools/guide/basic/using-storybook",lang:"zh",toc:[{text:"调试代码",id:"调试代码",depth:2,charIndex:288},{text:"引用组件产物",id:"引用组件产物",depth:3,charIndex:487},{text:"引用组件源码",id:"引用组件源码",depth:3,charIndex:1117},{text:"配置 Storybook",id:"配置-storybook",depth:2,charIndex:1514},{text:"构建 Storybook 产物",id:"构建-storybook-产物",depth:2,charIndex:1911}],frontmatter:{sidebar_position:5},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/basic/using-storybook.mdx",_relativePath:"zh/guide/basic/using-storybook.mdx"},{title:"开发组件",routePath:"/module-tools/guide/best-practices/components",lang:"zh",toc:[{text:"初始化项目",id:"初始化项目",depth:2,charIndex:30},{text:"使用 Storybook 调试代码",id:"使用-storybook-调试代码",depth:2,charIndex:39},{text:"开发样式",id:"开发样式",depth:2,charIndex:60},{text:"CSS/PostCSS",id:"css/postcss",depth:3,charIndex:168},{text:"Less",id:"less",depth:3,charIndex:382},{text:"Sass/Scss",id:"sass/scss",depth:3,charIndex:436},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:501},{text:"HTML 类名",id:"html-类名",depth:4,charIndex:605},{text:"@apply",id:"@apply",depth:4,charIndex:615},{text:"推荐方式",id:"推荐方式",depth:4,charIndex:944},{text:"bundle 和 bundleless 构建产物区别",id:"bundle-和-bundleless-构建产物区别",depth:4,charIndex:1090},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:1682},{text:"配置构建产物",id:"配置构建产物",depth:2,charIndex:1904},{text:"测试组件",id:"测试组件",depth:2,charIndex:2385},{text:"发布组件",id:"发布组件",depth:2,charIndex:2419}],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/best-practices/components.mdx",_relativePath:"zh/guide/best-practices/components.mdx"},{title:"构建相关问题",routePath:"/module-tools/guide/faq/build",lang:"zh",toc:[{text:"产物问题",id:"产物问题",depth:2,charIndex:3},{text:"Class Fields 的初始化处理",id:"class-fields-的初始化处理",depth:3,charIndex:11},{text:"babel-plugin-lodash 将引入的 lodash 处理成 undefined",id:"babel-plugin-lodash-将引入的-lodash-处理成-undefined",depth:3,charIndex:1315},{text:"异常类问题",id:"异常类问题",depth:2,charIndex:1721},{text:'Dynamic require of \\"react\\" is not supported',id:'dynamic-require-of-\\"react\\"-is-not-supported',depth:3,charIndex:-1},{text:"问题描述",id:"问题描述",depth:4,charIndex:1776},{text:"解决办法",id:"解决办法",depth:4,charIndex:1951},{text:"参考链接",id:"参考链接",depth:4,charIndex:2244},{text:"编译过程中,因为某个组件库的 less 文件报错:\\'Operation on an invalid type\\'",id:"编译过程中,因为某个组件库的-less-文件报错:\\'operation-on-an-invalid-type\\'",depth:3,charIndex:-1},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:3434},{text:'defineConfig 函数类型报错:如果没有引用 \\"...\\",则无法命名 \\"default\\" 的推断类型',id:'defineconfig-函数类型报错:如果没有引用-\\"\\",则无法命名-\\"default\\"-的推断类型',depth:3,charIndex:-1},{text:"其他",id:"其他",depth:2,charIndex:3868},{text:"增加额外的编译能力",id:"增加额外的编译能力",depth:3,charIndex:3874},{text:"支持生成 CSS Modules 的 TypeScript 声明文件",id:"支持生成-css-modules-的-typescript-声明文件",depth:3,charIndex:4278}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/build.mdx",_relativePath:"zh/guide/faq/build.mdx"},{title:"常见问题",routePath:"/module-tools/guide/faq/",lang:"zh",toc:[],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/index.md",_relativePath:"zh/guide/faq/index.md"},{title:"Storybook 相关问题",routePath:"/module-tools/guide/faq/storybook",lang:"zh",toc:[{text:"支持 Storybook v7",id:"支持-storybook-v7",depth:2,charIndex:3},{text:"使用 Storybook Addon 或者其他配置不生效",id:"使用-storybook-addon-或者其他配置不生效",depth:2,charIndex:102},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-\\'react-dom/packagejson",depth:2,charIndex:-1},{text:"报错后,看不到具体报错信息",id:"报错后,看不到具体报错信息",depth:2,charIndex:534},{text:"Couldn\\'t find any stories is your Storybook",id:"couldn\\'t-find-any-stories-is-your-storybook",depth:2,charIndex:-1},{text:"Storybook 添加 Proxy 功能",id:"storybook-添加-proxy-功能",depth:2,charIndex:1411},{text:"修改存在 Story 文件的目录",id:"修改存在-story-文件的目录",depth:2,charIndex:2095}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/storybook.mdx",_relativePath:"zh/guide/faq/storybook.mdx"},{title:"测试相关问题",routePath:"/module-tools/guide/faq/test",lang:"zh",toc:[{text:"执行 test 命令报错 TypeError: Cannot read property \\'testEnvironmentOptions\\' of undefined",id:"执行-test-命令报错-typeerror:-cannot-read-property-\\'testenvironmentoptions\\'-of-undefined",depth:2,charIndex:-1}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/faq/test.mdx",_relativePath:"zh/guide/faq/test.mdx"},{title:"快速开始",routePath:"/module-tools/guide/intro/getting-started",lang:"zh",toc:[{text:"三分钟快速上手",id:"三分钟快速上手",depth:2,charIndex:3},{text:"创建新项目",id:"创建新项目",depth:3,charIndex:106},{text:"接入已有项目",id:"接入已有项目",depth:3,charIndex:483},{text:"查看官方示例",id:"查看官方示例",depth:3,charIndex:1027},{text:"让我们开始吧",id:"让我们开始吧",depth:2,charIndex:1273}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/getting-started.md",_relativePath:"zh/guide/intro/getting-started.md"},{title:"欢迎使用",routePath:"/module-tools/guide/intro/welcome",lang:"zh",toc:[],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/welcome.md",_relativePath:"zh/guide/intro/welcome.md"},{title:"为什么需要模块工程解决方案",routePath:"/module-tools/guide/intro/why-module-engineering-solution",lang:"zh",toc:[],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/guide/intro/why-module-engineering-solution.md",_relativePath:"zh/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/",lang:"zh",toc:[],frontmatter:{pageType:"home",hero:{name:"Module Tools",text:"模块工程解决方案",tagline:"简单、强大、高性能的现代化 npm 包开发方案",actions:[{theme:"brand",text:"欢迎使用",link:"/guide/intro/welcome"},{theme:"alt",text:"快速上手",link:"/guide/intro/getting-started"}]},features:[{title:"esbuild: 高性能的 JS Bundler",details:"基于 esbuild 构建,构建速度极快,带给你极致的开发体验。",icon:"\uD83D\uDE80"},{title:"双构建模式",details:"支持 Bundle 和 Bundleless 两种构建模式。",icon:"✨"},{title:"开箱即用",details:"无需过多配置即可开发你的 npm 包,内置预设覆盖多种场景。",icon:"\uD83D\uDEE0️"},{title:"扩展性强: 提供强大的插件机制",details:"通过其插件扩展机制,你可以轻松的扩展 Module tools 的各项能力。",icon:"\uD83C\uDFA8"},{title:"Storybook: 社区流行的 UI 开发工具",details:"集成了 Storybook,你可以使用它调试 UI。",icon:"\uD83D\uDCE6"},{title:"Jest: 令人愉快的测试框架",details:"集成了 Jest,使得代码测试更加容易。",icon:"\uD83D\uDCD0"}]},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/index.md",_relativePath:"zh/index.md"},{title:"快速开始",routePath:"/module-tools/plugins/guide/getting-started",lang:"zh",toc:[],frontmatter:{sidebar_position:1},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/getting-started.mdx",_relativePath:"zh/plugins/guide/getting-started.mdx"},{title:"插件对象",routePath:"/module-tools/plugins/guide/plugin-object",lang:"zh",toc:[{text:"插件类型定义",id:"插件类型定义",depth:2,charIndex:232},{text:"插件配置项",id:"插件配置项",depth:2,charIndex:497}],frontmatter:{sidebar_position:2},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/plugin-object.mdx",_relativePath:"zh/plugins/guide/plugin-object.mdx"},{title:"Setup 函数",routePath:"/module-tools/plugins/guide/setup-function",lang:"zh",toc:[{text:"插件 API 对象",id:"插件-api-对象",depth:2,charIndex:77},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:441},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:808},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:1208},{text:"异步 setup",id:"异步-setup",depth:2,charIndex:1471},{text:"生命周期钩子",id:"生命周期钩子",depth:2,charIndex:1646}],frontmatter:{sidebar_position:3},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/guide/setup-function.mdx",_relativePath:"zh/plugins/guide/setup-function.mdx"},{title:"总览",routePath:"/module-tools/plugins/official-list/overview",lang:"zh",toc:[{text:"官方插件",id:"官方插件",depth:2,charIndex:3}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/overview.md",_relativePath:"zh/plugins/official-list/overview.md"},{title:"Babel 插件",routePath:"/module-tools/plugins/official-list/plugin-babel",lang:"zh",toc:[{text:"快速开始",id:"快速开始",depth:2,charIndex:50},{text:"安装",id:"安装",depth:3,charIndex:58},{text:"注册插件",id:"注册插件",depth:3,charIndex:220},{text:"配置",id:"配置",depth:2,charIndex:362}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-babel.md",_relativePath:"zh/plugins/official-list/plugin-babel.md"},{title:"Banner 插件",routePath:"/module-tools/plugins/official-list/plugin-banner",lang:"zh",toc:[{text:"快速开始",id:"快速开始",depth:2,charIndex:36},{text:"安装",id:"安装",depth:3,charIndex:44},{text:"注册插件",id:"注册插件",depth:3,charIndex:209},{text:"示例",id:"示例",depth:2,charIndex:484},{text:"在 JS 文件顶部增加版权信息",id:"在-js-文件顶部增加版权信息",depth:3,charIndex:490},{text:"配置",id:"配置",depth:2,charIndex:956},{text:"banner",id:"banner",depth:3,charIndex:1103},{text:"footer",id:"footer",depth:3,charIndex:1182}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-banner.md",_relativePath:"zh/plugins/official-list/plugin-banner.md"},{title:"Import 插件",routePath:"/module-tools/plugins/official-list/plugin-import",lang:"zh",toc:[{text:"快速开始",id:"快速开始",depth:2,charIndex:141},{text:"安装",id:"安装",depth:3,charIndex:149},{text:"注册插件",id:"注册插件",depth:3,charIndex:314},{text:"配置",id:"配置",depth:2,charIndex:606},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:673},{text:"注意事项",id:"注意事项",depth:2,charIndex:1025}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-import.mdx",_relativePath:"zh/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill 插件",routePath:"/module-tools/plugins/official-list/plugin-node-polyfill",lang:"zh",toc:[{text:"快速开始",id:"快速开始",depth:2,charIndex:213},{text:"安装",id:"安装",depth:3,charIndex:221},{text:"注册插件",id:"注册插件",depth:3,charIndex:407},{text:"配置",id:"配置",depth:2,charIndex:556},{text:"exclude",id:"exclude",depth:3,charIndex:647},{text:"overrides",id:"overrides",depth:3,charIndex:824},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:1053},{text:"Globals",id:"globals",depth:3,charIndex:1071},{text:"Modules",id:"modules",depth:3,charIndex:1194},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:1632}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-node-polyfill.md",_relativePath:"zh/plugins/official-list/plugin-node-polyfill.md"},{title:"Polyfill 插件",routePath:"/module-tools/plugins/official-list/plugin-polyfill",lang:"zh",toc:[{text:"快速开始",id:"快速开始",depth:2,charIndex:197},{text:"安装",id:"安装",depth:3,charIndex:205},{text:"注册插件",id:"注册插件",depth:3,charIndex:376},{text:"配置",id:"配置",depth:2,charIndex:521},{text:"targets",id:"targets",depth:3,charIndex:585}],frontmatter:{},_filepath:"/Users/bytedance/github/targeral/modern-js/packages/document/module-doc/docs/zh/plugins/official-list/plugin-polyfill.md",_relativePath:"zh/plugins/official-list/plugin-polyfill.md"}],markdown:{showLineNumbers:!1}}},90910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("73713"),n("50132"),n("76001"),n("52980"),n("41300"),n("42788"),n("19522"),n("39972"),n("2320"),n("3650"),n("84666"),n("89319"),n("7738"),n("50596"),n("89593"),n("27505"),n("4915"),n("83237"),n("800"),n("66334"),n("41167"),n("56009"),n("4037"),n("3224"),n("24611"),n("21544"),n("80963"),n("24034"),n("3947"),n("25816"),n("32723"),n("406"),n("27577"),n("82277"),n("12844"),n("40968"),n("17304"),n("68929"),n("38902"),n("91870"),n("61797"),n("65348"),n("77811"),n("12546"),n("63593"),n("31992"),n("48424"),n("71866"),n("93325"),n("26843"),n("27568"),n("26974"),n("41319"),n("88177"),n("36321"),n("41942"),n("36825"),n("71493"),n("2630"),n("84159"),n("75449"),n("55697"),n("89602"),n("77397"),n("81762"),n("44266"),n("91333"),n("63994"),n("2132"),n("20012"),n("30975"),n("98373"),n("41560"),n("76850"),n("76990"),n("90450"),n("20041"),n("99162"),n("90461"),n("55882"),n("65479"),n("48557"),n("89070"),n("28508"),n("22477"),n("59288"),n("46794"),n("7205"),n("17942"),n("16201"),n("41884"),n("88831"),n("49871"),n("40487"),n("95328"),n("44215"),n("71114"),n("29581"),n("59858"),n("8905"),n("22929"),n("27734"),n("54442"),n("44246"),n("23583"),n("71116"),n("33098"),n("11265"),n("91487"),n("58519"),n("94255"),n("82021"),n("93923"),n("8742"),n("31807"),n("18188"),n("66972"),n("88788"),n("27051"),n("61884"),n("99038"),n("34283"),n("45592"),n("43607"),n("836"),n("12547"),n("11405"),n("75206"),n("9933"),n("17225"),n("4974"),n("1562"),n("16202"),n("50514"),n("87995"),n("61732"),n("53970"),n("68474"),n("31889"),n("86059"),n("22641"),n("64623"),n("32977"),n("83342"),n("68132"),n("26333"),n("13783"),n("46063"),n("54440"),n("43798"),n("74648"),n("88629"),n("9041"),n("76188"),n("47239"),n("23069"),n("9053"),n("20718"),n("76231"),n("51377"),n("81054"),n("73581"),n("36183"),n("68680"),n("85038"),n("4589"),n("79846"),n("13883"),n("5534"),n("35563"),n("71389"),n("92310"),n("52679"),n("22714"),n("3913"),n("69584"),n("16642"),n("60394"),n("1841"),n("87558"),n("57212"),n("18851"),n("30951"),n("49731"),n("36763"),n("50343"),n("944"),n("4373"),n("56000"),n("74713"),n("14616"),n("72958"),n("43042"),n("20666"),n("84261"),n("17589"),n("29286"),n("79339"),n("22692"),n("30259"),n("40892"),n("87030"),n("21559"),n("37002"),n("72133"),n("44763"),n("98333"),n("90526"),n("28459"),n("38663"),n("8133"),n("92729"),n("74802"),n("52319"),n("94808"),n("23295"),n("70585"),n("18056"),n("22727"),n("91127"),n("64559"),n("91141"),n("30317"),n("45768"),n("21547"),n("3002"),n("63710"),n("95354"),n("69124"),n("39286"),n("52146"),n("96353"),n("83032"),n("12697"),n("44494"),n("46183"),n("37558"),n("57812"),n("41696"),n("70866"),n("70176"),n("66091"),n("98947"),n("89412"),n("46228"),n("51257"),n("84010"),n("44381"),n("49950"),n("83704"),n("94985"),n("34175"),n("44026"),n("60673"),n("98071"),n("17773"),n("6045"),n("62356"),n("62340"),n("35789"),n("70435"),n("4465"),n("14377"),n("53607"),n("30444"),n("56649"),n("95154"),n("39374"),n("32110"),n("51541"),n("34384"),n("8537"),n("20279")},17106:function(e,t,n){},57520:function(e,t,n){},98691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Annotation:function(){return od},CH:function(){return op},Code:function(){return rv},CodeSlot:function(){return r9},InlineCode:function(){return of},Preview:function(){return rG},PreviewSlot:function(){return ot},Scrollycoding:function(){return oo},Section:function(){return rw},SectionCode:function(){return r_},SectionLink:function(){return rI},Slideshow:function(){return os},Spotlight:function(){return rV},annotations:function(){return oc},internal:function(){return om}});var r,o,a,i,l,s,d,c,u,h,f,p,m,g,b,v,x,y,k,w,_,I,P,E,j,S,O,C,z,T,A,N,F,L,M,B,U,R,H,D,q,W,$,G,X,K,Y,V,Z,Q,J,ee,et,en,er,eo,ea,ei,el,es,ed,ec,eu,eh,ef,ep,em,eg,eb,ev,ex,ey,ek,ew,e_,eI,eP,eE,ej,eS,eO,eC,ez,eT,eA,eN,eF,eL,eM,eB,eU,eR,eH,eD,eq,eW,e$,eG,eX,eK,eY,eV,eZ,eQ,eJ,e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,te,tt,tn,tr,to,ta,ti,tl,ts=n("50569"),td=n("61078"),tc=n("20469"),tu=n("89393"),th=n("37599"),tf=n("36380"),tp=n("20891"),tm=n("15169"),tg=n("43932"),tb=n("28003"),tv=n("17419"),tx=n("93160"),ty=n("17508"),tk=n("4293"),tw=n("4494"),t_=n("73706"),tI=n.ir(n("6171")),tP=n("11167");function tE(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var tj=function(e){return parseInt(e.repeat(2/e.length),16)};function tS(e,t){if(!e)return e;var n=function(e){if(e){if(t=e,!/^#([A-Fa-f0-9]{3,4}){1,2}$/.test(t))throw Error("Invalid color string, must be a valid hex color");var t,n,r,o,a,i=Math.floor((e.length-1)/3);var l=(n=e.slice(1),r=i,n.match(RegExp(".{".concat(r,"}"),"g"))),s=tb._(l.map(tj),4);return{r:s[0],g:s[1],b:s[2],a:(a=1,void 0!==(o=s[3])?o/255:"number"!=typeof a||a<0||a>1?1:a)}}}(e);return function(e){if(e){var t=e.r,n=e.g,r=e.b,o=e.a;return"#".concat(t.toString(16).padStart(2,"0")).concat(n.toString(16).padStart(2,"0")).concat(r.toString(16).padStart(2,"0")).concat(Math.round(255*o).toString(16).padStart(2,"0"))}}({r:n.r,g:n.g,b:n.b,a:n.a*t})}function tO(e,t){return{prev:t(e.prev,"prev"),next:t(e.next,"next")}}function tC(e,t){return{prev:(null==e?void 0:e.prev)===void 0?t:e.prev,next:(null==e?void 0:e.next)===void 0?t:e.next}}function tz(e,t,n){return tO(tC(e,t),n)}function tT(e){return e.lines.map(function(e){return e.tokens.map(function(e){return e.content}).join("")}).join("\n")}function tA(e){return e.split(/,(?![^\[]*\])/g)}function tN(e){return e.reduce(function(e,t){return Object.assign(e,t)},{})}function tF(e){var t=e.match(/(\d+)\[(.+)\]/);if(!t)return tN(tU(e).map(function(e){return th._({},e,!0)}));var n=tb._(t,3),r=n[1],o=n[2].split(",").map(tL),a=Number(r);return th._({},a,o)}function tL(e){var t=tb._(e.split(":"),2),n=t[0],r=t[1];if(!tR(n))throw new tD(n);var o=Number(n);if(o<1)throw new tH;if(!r)return{start:o,end:o};if(!tR(r))throw new tD(r);return{start:o,end:+r}}function tM(e){if(!e)throw Error("Focus cannot be empty");try{var t=e.split(/,(?![^\[]*\])/g).map(tB);return function(e){for(var t={},n=-1,r=null==e?0:e.length;++n<r;){var o=e[n];t[o[0]]=o[1]}return t}(t.flat())}catch(e){throw e}}function tB(e){var t=e.match(/(\d+)\[(.+)\]/);if(!t)return tU(e).map(function(e){return[e-1,!0]});var n=tb._(t,3),r=n[1],o=n[2].split(",").map(tU);return[[Number(r)-1,o.flat().map(function(e){return e-1})]]}function tU(e){var t=tb._(e.split(":"),2),n=t[0],r=t[1];if(!tR(n))throw new tD(n);var o=Number(n);if(o<1)throw new tH;if(!r)return[o];if(!tR(r))throw new tD(r);for(var a=[],i=o;i<=+r;i++)a.push(i);return a}function tR(e){var t=Math.abs(e=e.toString()),n=parseInt(e,10);return!isNaN(t)&&n===t&&t.toString()===e}var tH=function(e){tf._(n,e);var t=tw._(n);function n(){var e;return tc._(this,n),e=t.call(this,"Invalid line or column number in focus string"),Object.setPrototypeOf(ts._(e),(tp._(this,n)?this.constructor:void 0).prototype),e}return n}(tk._(Error)),tD=function(e){tf._(n,e);var t=tw._(n);function n(e){var r;return tc._(this,n),(r=t.call(this,'Invalid number "'.concat(e,'" in focus string'))).number=e,Object.setPrototypeOf(ts._(r),(tp._(this,n)?this.constructor:void 0).prototype),r}return n}(tk._(Error));(r=ti||(ti={}))[r.CodeForeground=0]="CodeForeground",r[r.CodeBackground=1]="CodeBackground",r[r.EditorForeground=2]="EditorForeground",r[r.EditorBackground=3]="EditorBackground",r[r.FocusBorder=4]="FocusBorder",r[r.ActiveTabBackground=5]="ActiveTabBackground",r[r.ActiveTabForeground=6]="ActiveTabForeground",r[r.InactiveTabBackground=7]="InactiveTabBackground",r[r.InactiveTabForeground=8]="InactiveTabForeground",r[r.EditorGroupBorder=9]="EditorGroupBorder",r[r.EditorGroupHeaderBackground=10]="EditorGroupHeaderBackground",r[r.TabBorder=11]="TabBorder",r[r.ActiveTabBottomBorder=12]="ActiveTabBottomBorder",r[r.LineNumberForeground=13]="LineNumberForeground",r[r.InputForeground=14]="InputForeground",r[r.InputBackground=15]="InputBackground",r[r.InputBorder=16]="InputBorder",r[r.SelectionBackground=17]="SelectionBackground",r[r.IconForeground=18]="IconForeground",r[r.ListActiveSelectionBackground=19]="ListActiveSelectionBackground",r[r.ListActiveSelectionForeground=20]="ListActiveSelectionForeground",r[r.ListHoverBackground=21]="ListHoverBackground",r[r.ListHoverForeground=22]="ListHoverForeground",r[r.SideBarBackground=23]="SideBarBackground",r[r.SideBarForeground=24]="SideBarForeground",r[r.SideBarBorder=25]="SideBarBorder",r[r.LineHighlightBackground=26]="LineHighlightBackground",r[r.RangeHighlightBackground=27]="RangeHighlightBackground",r[r.EditorInfoForeground=28]="EditorInfoForeground";var tq="#6FC3DF";function tW(e,t){var n,r,o=e.colors||{};switch(t){case ti.CodeForeground:return(null===(n=tK(e))||void 0===n?void 0:n.foreground)||tW(e,ti.EditorForeground);case ti.CodeBackground:return(null===(r=tK(e))||void 0===r?void 0:r.background)||tW(e,ti.EditorBackground);case ti.EditorBackground:return o["editor.background"]||tG(e,{light:"#fffffe",dark:"#1E1E1E",hc:"#000000"});case ti.EditorForeground:return o["editor.foreground"]||tG(e,{light:"#333333",dark:"#BBBBBB",hc:"#fffffe"});case ti.FocusBorder:return o.focusBorder||tG(e,{light:"#0090F1",dark:"#007FD4",hc:tq});case ti.ActiveTabBackground:return o["tab.activeBackground"]||tW(e,ti.EditorBackground);case ti.ActiveTabForeground:return o["tab.activeForeground"]||tG(e,{dark:"#ffffff",light:"#333333",hc:"#ffffff"});case ti.InactiveTabBackground:return o["tab.inactiveBackground"]||tG(e,{dark:"#2D2D2D",light:"#ECECEC",hc:void 0});case ti.InactiveTabForeground:return o["tab.inactiveForeground"]||tG(e,{dark:tS(tW(e,ti.ActiveTabForeground),.5),light:tS(tW(e,ti.ActiveTabForeground),.7),hc:"#ffffff"});case ti.TabBorder:return o["tab.border"]||tG(e,{dark:"#252526",light:"#F3F3F3",hc:tq});case ti.ActiveTabBottomBorder:return o["tab.activeBorder"]||tW(e,ti.ActiveTabBackground);case ti.EditorGroupBorder:return o["editorGroup.border"]||tG(e,{dark:"#444444",light:"#E7E7E7",hc:tq});case ti.EditorGroupHeaderBackground:return o["editorGroupHeader.tabsBackground"]||tG(e,{dark:"#252526",light:"#F3F3F3",hc:void 0});case ti.LineNumberForeground:return o["editorLineNumber.foreground"]||tG(e,{dark:"#858585",light:"#237893",hc:"#fffffe"});case ti.InputBackground:return o["input.background"]||tG(e,{dark:"#3C3C3C",light:"#fffffe",hc:"#000000"});case ti.InputForeground:return o["input.foreground"]||tW(e,ti.EditorForeground);case ti.InputBorder:return o["input.border"]||tG(e,{dark:void 0,light:void 0,hc:tq});case ti.SelectionBackground:return o["editor.selectionBackground"]||tG(e,{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"});case ti.IconForeground:return o["icon.foreground"]||tG(e,{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"});case ti.SideBarBackground:return o["sideBar.background"]||tG(e,{dark:"#252526",light:"#F3F3F3",hc:"#000000"});case ti.SideBarForeground:return o["sideBar.foreground"]||tW(e,ti.EditorForeground);case ti.SideBarBorder:return o["sideBar.border"]||tW(e,ti.SideBarBackground);case ti.ListActiveSelectionBackground:return o["list.activeSelectionBackground"]||tG(e,{dark:"#094771",light:"#0060C0",hc:"#000000"});case ti.ListActiveSelectionForeground:return o["list.activeSelectionForeground"]||tG(e,{dark:"#fffffe",light:"#fffffe",hc:"#fffffe"});case ti.ListHoverBackground:return o["list.hoverBackground"]||tG(e,{dark:"#2A2D2E",light:"#F0F0F0",hc:void 0});case ti.ListHoverForeground:return o["list.hoverForeground"]||void 0;case ti.LineHighlightBackground:return o["editor.lineHighlightBackground"]||tG(e,{dark:void 0,light:void 0,hc:void 0});case ti.RangeHighlightBackground:return o["editor.rangeHighlightBackground"]||tG(e,{dark:"#ffffff0b",light:"#fdff0033",hc:void 0});case ti.EditorInfoForeground:return o["editor.infoForeground"]||tG(e,{dark:"#3794FF",light:"#1a85ff",hc:"#3794FF"});default:return"#f00"}}function t$(e){var t=tX(e);return"dark"===t?"dark":"light"===t?"light":void 0}function tG(e,t){return t[tX(e)]}function tX(e){var t;return e.type?e.type:(null===(t=e.name)||void 0===t?void 0:t.toLowerCase().includes("light"))?"light":"dark"}function tK(e){var t=e.settings?e.settings:e.tokenColors,n=t?t.find(function(e){return!e.name&&!e.scope}):void 0;return null==n?void 0:n.settings}var tY="undefined"!=typeof window?tI.default.useLayoutEffect:tI.default.useEffect;function tV(e,t,n){return Math.min(Math.max(e,t),n)}var tZ=/\r\n|\r|\n/;function tQ(e,t){var n,r,o=e?e.split(tZ):[""];var a=(n=t,r=o,n?Object.keys(tM(n)).map(function(e){return parseInt(e,10)}):tx._(r.keys())),i="";return o.forEach(function(e,t){a.includes(t)&&e.length>i.length&&(i=e)}),i}function tJ(e){var t=getComputedStyle(e);return parseFloat(t.width)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)}function t0(e){if(!e)return null;var t=getComputedStyle(e);return parseFloat(t.height)-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)}function t1(){}t1.prototype={diff:function(e,t){var n=function(e){return a?(setTimeout(function(){a(void 0,e)},0),!0):e},r=function(){for(var r=-1*d;r<=d;r+=2){var o=void 0,a=u[r-1],c=u[r+1],h=(c?c.newPos:0)-r;a&&(u[r-1]=void 0);var f=a&&a.newPos+1<l,p=c&&0<=h&&h<s;if(!f&&!p){u[r]=void 0;continue}if(!f||p&&a.newPos<c.newPos?(o=function(e){return{newPos:e.newPos,components:e.components.slice(0)}}(c),i.pushComponent(o.components,void 0,!0)):(o=a,o.newPos++,i.pushComponent(o.components,!0,void 0)),h=i.extractCommon(o,t,e,r),o.newPos+1>=l&&h+1>=s)return n(function(e,t,n,r,o){for(var a=0,i=t.length,l=0,s=0;a<i;a++){var d=t[a];if(d.removed){if(d.value=e.join(r.slice(s,s+d.count)),s+=d.count,a&&t[a-1].added){var c=t[a-1];t[a-1]=t[a],t[a]=c}}else{if(!d.added&&o){var u=n.slice(l,l+d.count);u=u.map(function(e,t){var n=r[s+t];return n.length>e.length?n:e}),d.value=e.join(u)}else d.value=e.join(n.slice(l,l+d.count));l+=d.count,!d.added&&(s+=d.count)}}var h=t[i-1];return i>1&&"string"==typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[i-2].value+=h.value,t.pop()),t}(i,o.components,t,e,i.useLongestToken));u[r]=o}d++},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.callback;"function"==typeof o&&(a=o,o={}),this.options=o;var i=this;e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,d=1,c=l+s,u=[{newPos:-1,components:[]}],h=this.extractCommon(u[0],t,e,0);if(u[0].newPos+1>=l&&h+1>=s)return n([{value:this.join(t),count:t.length}]);if(a)!function e(){setTimeout(function(){if(d>c)return a();!r()&&e()},0)}();else for(;d<=c;){var f=r();if(f)return f}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,a=n.length,i=e.newPos,l=i-r,s=0;i+1<o&&l+1<a&&this.equals(t[i+1],n[l+1]);)i++,l++,s++;return s&&e.components.push({count:s}),e.newPos=i,l},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var t2=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,t3=/\S/,t4=new t1;t4.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!t3.test(e)&&!t3.test(t)},t4.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&t2.test(t[n])&&t2.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var t5=new t1;t5.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);!n[n.length-1]&&n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t};function t6(e){return(t6="function"==typeof Symbol&&"symbol"===ty._(Symbol.iterator)?function(e){return void 0===e?"undefined":ty._(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":ty._(e)})(e)}new t1().tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},new t1().tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var t7=Object.prototype.toString,t8=new t1;t8.useLongestToken=!0,t8.tokenize=t5.tokenize,t8.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(function e(t,n,r,o,a){for(n=n||[],r=r||[],o&&(t=o(a,t)),i=0;i<n.length;i+=1)if(n[i]===t)return r[i];if("[object Array]"===t7.call(t)){for(n.push(t),l=Array(t.length),r.push(l),i=0;i<t.length;i+=1)l[i]=e(t[i],n,r,o,a);return n.pop(),r.pop(),l}if(t&&t.toJSON&&(t=t.toJSON()),"object"===t6(t)&&null!==t){n.push(t),l={},r.push(l);var i,l,s,d=[];for(s in t)t.hasOwnProperty(s)&&d.push(s);for(d.sort(),i=0;i<d.length;i+=1)l[s=d[i]]=e(t[s],n,r,o,s);n.pop(),r.pop()}else l=t;return l}(e,null,null,o),o," ")},t8.equals=function(e,t){return t1.prototype.equals.call(t8,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var t9=new t1;t9.tokenize=function(e){return e.slice()},t9.join=t9.removeEmpty=function(e){return e};function ne(e,t){return Array.isArray(t)?t.some(function(t){var n=t.start,r=t.end;return n-1<=e&&e<r}):t}function nt(e,t){return t.find(function(t){var n=t.columnNumbers;return n.start-1<=e&&e<n.end})}function nn(e,t){if(!0===e.fixed)return e.value;var n=tb._(e.interval,2),r=n[0],o=n[1],a=tb._(e.extremes,2),i=a[0],l=a[1];return t<r?i:t>o?l:i+(e.ease||no.linear)((t-r)/(o-r))*(l-i)}function nr(e,t,n){var r=tb._(e,2),o=r[0],a=r[1];if(n<=1)return[o,a];var i=a-o,l=i/Math.pow(n,1/8),s=o+(i-l)/(n-1)*t;return[s,s+l]}var no={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}};function na(e){return!!e.focus.match(/(\d+)\[(.+)\]/)}function ni(e,t,n){var r=tx._(t);r.sort(function(e,t){return e.lineNumbers.start-t.lineNumbers.start});for(var o=0,a=[];o<e.length;){var i=r[0],l=e[o];if(i&&n(l)>i.lineNumbers.start)throw"Code Hike can't handle two annotations for the same line";if(i&&n(l)===i.lineNumbers.start){for(var s={lines:[],annotation:i};l&&(!n(l)||n(l)<=i.lineNumbers.end);)s.lines.push(l),l=e[++o];a.push(s),r.shift()}else if(i){for(var d={lines:[]};l&&(!n(l)||n(l)<i.lineNumbers.start);)d.lines.push(l),l=e[++o];a.push(d)}else a.push({lines:e.slice(o)}),o=e.length}return a}function nl(e,t,n){for(var r=[],o=t;o<n&&e.length>0;){var a=e.shift();r.push(a),o+=a.tokens.reduce(function(e,t){return e+t.content.length},0)}return r}function ns(e){var t=e.dimensions,n=e.codeStep,r=e.children,o=e.minZoom,a=e.maxZoom,i=e.center,l=e.progress,s=function(e){var t=e.codeStep,n=tE(e,["codeStep"]),r=n.dimensions,o=r.lineHeight,a=r.lineWidth;return tO({prev:{extremes:[t.firstFocusedLineNumber.prev-1,t.lastFocusedLineNumber.prev-1],originalContentHeight:t.lineCount.prev*o,lineWidth:a[0]},next:{extremes:[t.firstFocusedLineNumber.next-1,t.lastFocusedLineNumber.next-1],originalContentHeight:t.lineCount.next*o,lineWidth:a[1]}},function(e){return function(e){var t=e.dimensions,n=e.lineWidth,r=e.minZoom,o=e.maxZoom,a=e.extremes,i=e.originalContentHeight,l=e.horizontalCenter,s=t.lineHeight,d=null==t?void 0:t.contentHeight,c=null==t?void 0:t.contentWidth,u=(a[1]-a[0]+3)*s,h=(null==t?void 0:t.lineNumberWidth)||16,f=Math.max(Math.min((c-h-16)/n,d/u,o),r),p=i*f,m=(a[0]-1)*s*f,g=(a[1]+2)*s*f,b=d>p?(d-p)/2:function(e,t,n){return e<=t?t:e>=n?n:e}(d/2-(g+m)/2,Math.max(d-p,-m),0);return{zoom:f,dx:l?Math.max(c/2-n*f/2,0):0,dy:b,focusHeight:g-m,focusWidth:n*f}}(Object.assign({extremes:e.extremes,originalContentHeight:e.originalContentHeight,lineWidth:e.lineWidth},n))})}({codeStep:n,dimensions:t,minZoom:void 0===o?0:o,maxZoom:void 0===a?1.2:a,horizontalCenter:void 0!==i&&i}),d=s.prev,c=s.next,u=nu(d.zoom,c.zoom,l),h=nu(d.dx,c.dx,l),f=nu(d.dy,c.dy,l,n.verticalInterval),p=nu(d.focusHeight,c.focusHeight,l),m=nu(d.focusWidth,c.focusWidth,l),g=((null==t?void 0:t.lineNumberWidth)||0)*u||16,b=Math.max(m+g,t.contentWidth);return tI.default.createElement(nd,{width:t.containerWidth,height:t.containerHeight,lang:n.lang},tI.default.createElement(nc,{dx:h,dy:f,scale:u,height:Math.max(p,t.contentHeight),width:b},r(m,g/u)))}function nd(e){var t=e.width,n=e.height,r=e.children,o=e.lang;return tI.default.createElement("code",{style:{width:t,height:n,position:"relative",overflow:"auto"},className:"ch-code-scroll-parent",children:r,"data-ch-lang":o})}function nc(e){var t=e.dx,n=e.dy,r=e.scale,o=e.height,a=e.width,i=e.children;return tI.default.createElement("div",{style:{position:"absolute",top:0,left:0,transformOrigin:"top left",width:a,height:o,overflow:"hidden"},className:"ch-code-scroll-content"},tI.default.createElement("div",{style:{position:"absolute",top:0,left:0,transform:"translateX(".concat(t,"px) translateY(").concat(n,"px) scale(").concat(r,")"),transformOrigin:"left top",width:a/r,height:(o-2*n)/r},children:i}))}function nu(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,1];return nn({fixed:!1,interval:r,extremes:[e,t],ease:no.easeInOutCubic},n)}function nh(e){return tI.default.createElement(ns,Object.assign({},e),function(t,n){return tI.default.createElement(nf,{codeStep:e.codeStep,focusWidth:t,lineHeight:e.dimensions.lineHeight,progress:e.progress,theme:e.theme,startX:n,lineNumberWidth:e.dimensions.lineNumberWidth})})}function nf(e){var t=e.codeStep,n=e.progress,r=e.focusWidth,o=e.lineHeight,a=e.startX,i=e.theme,l=e.lineNumberWidth,s=n<.5?t.groups.prev:t.groups.next;return tI.default.createElement(tI.default.Fragment,null,s.map(function(e,t){if(!e.annotation)return tI.default.createElement(np,{lines:e.lines,t:n,focusWidth:r,lineHeight:o,startX:a,key:t,theme:i,lineNumberWidth:l});var s=nn(e.lines[0].tweenY,n),d=e.annotation.lineNumbers.end-e.annotation.lineNumbers.start+1,c=e.annotation.Component;return tI.default.createElement(c,{style:{position:"absolute",height:d*o,width:"100%",transform:"translateY(".concat(s*o,"px)")},key:t,data:e.annotation.data,theme:e.annotation.theme,isInline:!1},tI.default.createElement(np,{lines:e.lines,t:n,focusWidth:r,lineHeight:o,startY:s,startX:a,theme:i,lineNumberWidth:l}))}))}function np(e){var t=e.lines,n=e.focusWidth,r=e.lineHeight,o=e.t,a=e.startX,i=e.startY,l=void 0===i?0:i,s=e.theme,d=e.lineNumberWidth;return tI.default.createElement(tI.default.Fragment,null,t.map(function(e,t){var i=e.tweenX,c=e.tweenY,u=e.focused,h=nn(i,o),f=nn(c,o),p=nv(u,o,h);return tI.default.createElement(tI.default.Fragment,{key:t},d?tI.default.createElement("span",{className:"ch-code-line-number",style:{position:"absolute",top:0,left:0,transform:"translate(".concat(h*n,"px, ").concat((f-l)*r,"px)"),width:d,opacity:p,color:tW(s,ti.LineNumberForeground)}},o<.5?e.lineNumber.prev:e.lineNumber.next):void 0,tI.default.createElement(nb,{dx:a+h*n,dy:(f-l)*r,width:n,opacity:p},tI.default.createElement(nm,{line:e,progress:o,dx:h})))}))}function nm(e){var t=e.line,n=e.progress,r=e.dx;return tI.default.createElement("div",{style:{display:"inline-block",width:"100%"}},t.annotatedGroups.map(function(e,t){return tI.default.createElement(ng,{annotatedGroup:e,progress:n,dx:r,key:t})}),tI.default.createElement("br",null))}function ng(e){var t,n,r,o=e.annotatedGroup,a=e.progress,i=e.dx,l=a<.5?o.prev:o.next,s=(null==l?void 0:l.groups)||[],d=null===(t=null==l?void 0:l.annotation)||void 0===t?void 0:t.Component,c=s.map(function(e,t){var n=nv(e.focused,a,i);return tI.default.createElement("span",{style:{opacity:n},key:t+1},e.element)});return d?tI.default.createElement(d,{children:c,data:null===(n=null==l?void 0:l.annotation)||void 0===n?void 0:n.data,theme:null===(r=null==l?void 0:l.annotation)||void 0===r?void 0:r.theme,isInline:!0}):tI.default.createElement(tI.default.Fragment,null,c)}function nb(e){var t=e.children,n=e.dx,r=e.dy,o=e.opacity,a=e.width;return tI.default.createElement("div",{style:{position:"absolute",top:0,left:0,transform:"translate(".concat(n,"px, ").concat(r,"px)"),width:a,display:o<=0?"none":void 0}},t)}function nv(e,t,n){return nn({fixed:!1,extremes:[e.prev?.99:.33,e.next?.99:.33],interval:[0,1]},t)-1*Math.abs(n)}function nx(e){var t=e.content,n=e.style,r=e.className,o=tb._(tI.default.useState(!1),2),a=o[0],i=o[1];return tI.default.createElement("svg",{style:n,onClick:function(){(function(e){if(!navigator.clipboard){(function(e){var t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(t)})(e);return}navigator.clipboard.writeText(e)})(t),i(!0),setTimeout(function(){i(!1)},1200)},fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:r},tI.default.createElement("title",null,"Copy"),a?tI.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"}):tI.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6px",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"}))}function ny(e){var t,n,r,o,a,i,l,s,d,c,u,h,f,p,m,g,b,v,x,y,k,w,_,I,P,E=e.tween,j=e.progress,S=e.config,O=tE(e,["tween","progress","config"]);var C=(n=(t={tween:E,theme:S.theme}).tween,r=t.theme,l=(i={highlightedLines:tO(n,function(e){return e.code.lines}),theme:r,focus:tO(n,function(e){return e.focus}),annotations:tO(n,function(e){return e.annotations}),lang:(o=n,(a=function(e){var t;return null===(t=null==e?void 0:e.code)||void 0===t?void 0:t.lang})(o.prev)||a(o.next))}).highlightedLines,s=i.theme,d=i.focus,tI.default.useMemo(function(){return function(e){var t=e.theme,n=e.focus,r=e.annotations,o=e.highlightedLines,a=e.lang,i=function(e){return tO(e,function(e){return e.map(function(e){return e.tokens.map(function(e){return e.content}).join("")}).join("\n").trimEnd().concat("\n")})}(o),l=function(e,t){var n,r,o,a;return n=e,r=t,o=0,a=0,{lines:(function(e){var t,n,r,o=(t=e.prev,n=e.next,t5.diff(t,n,void 0)),a=[],i=0,l=0;return o.forEach(function(e){if(e.added)for(var t=0;t<e.count;t++)a.push({next:l++});else if(e.removed)for(var n=0;n<e.count;n++)a.push({prev:i++});else for(var r=0;r<e.count;r++)a.push({prev:i++,next:l++})}),a})(n).map(function(e){return void 0===e.next?Object.assign(Object.assign({},r.prev[e.prev]),{lineNumber:{prev:e.prev+1},move:"exit",enterIndex:null,exitIndex:a++}):void 0===e.prev?Object.assign(Object.assign({},r.next[e.next]),{lineNumber:{next:e.next+1},move:"enter",enterIndex:o++,exitIndex:null}):Object.assign(Object.assign({},r.prev[e.prev]),{lineNumber:{prev:e.prev+1,next:e.next+1},move:"stay",enterIndex:null,exitIndex:null})}),enterCount:o,exitCount:a}}(i,o),s=function(e,t){var n,r,o,a,i,l,s,d,c,u,h,f,p,m;return n=e,r=t,l=(o=n,a=[],i=function(e){return e.flatMap(function(e){return tA(e.focus).map(function(t){return Object.assign(Object.assign({},e),{focus:t})})})},tO(tC(o,a),i)),u=(s=l,d=[],c=function(e){return e.filter(na)},tO(tC(s,d),c)),m=(h=l,f=[],p=function(e){return e.filter(function(e){return!na(e)})},tO(tC(h,f),p)),{inlineAnnotations:tO(u,function(e){return function(e,t){var n={};return e.forEach(function(e){var r=tF(e.focus),o=+Object.keys(r)[0],a=r[o],i=n[o]||[];i.push({columnNumbers:a[0],data:e.data,theme:t,Component:e.Component||function(e,t){return function(e){var t=e.children;return tI.default.createElement("span",{style:{outline:"red 1px solid"}},t)}}()}),n[o]=i}),n}(e,r)}),multilineAnnotations:tO(m,function(e){return function(e,t){return e.map(function(e){return{lineNumbers:tL(e.focus),data:e.data,theme:t,Component:e.Component||function(e,t){var n=t.colors["editor.lineHighlightBackground"]||t.colors["editor.selectionHighlightBackground"];return function(e){var t=e.children,r=e.style;return tI.default.createElement("div",{style:Object.assign(Object.assign({},r),{background:n,cursor:"pointer"}),onClick:function(e){return alert("clicked")},className:"ch-code-bg-annotation"},tI.default.createElement("span",{className:"ch-code-bg-annotation-border",style:{background:"#00a2d3",width:"3px",height:"100%",position:"absolute",left:0}}),t)}}(e,t)}})}(e,r)})}}(r,t),d=s.inlineAnnotations,c=s.multilineAnnotations;return function(e,t,n){var r=function(e,t){return e<=0&&t<=0?[0,1]:e<=0&&t>=1?[.33,1]:e>=1&&t<=0?[0,.67]:[.25,.75]}(e.enterCount,e.exitCount),o=tO(e.lineGroups,function(t){return t.map(function(t){var n,o,a,i,l,s,d;return Object.assign(Object.assign({},t),{lines:(n=t.lines,o=r,a=e.enterCount,i=e.exitCount,l=tb._(o,2),s=l[0],d=l[1],n.map(function(e){var t=tO(e.lineNumber,function(e){return e&&e-1}),n=e.enterIndex,r=e.exitIndex,o="exit"===e.move?{fixed:!0,value:t.prev}:"enter"===e.move?{fixed:!0,value:t.next}:{fixed:!1,extremes:[t.prev,t.next],interval:[s,d],ease:no.easeInOutCubic},l="exit"===e.move?{fixed:!1,extremes:[0,-1],ease:no.easeInQuad,interval:nr([0,s],r,i)}:"enter"===e.move?{fixed:!1,extremes:[1,0],ease:no.easeOutQuad,interval:nr([d,1],n,a)}:{fixed:!0,value:0};return Object.assign(Object.assign({},e),{tweenX:l,tweenY:o})}))})})});return Object.assign(Object.assign({},e),{groups:o,verticalInterval:r,code:t,lang:n})}(function(e,t,n){var r,o,a,i,l=e.lines,s=tE(e,["lines"]);var d={prev:ni(a=(r=l,o=t,r.map(function(e){var t=e.groups,n=tE(e,["groups"]),r=n.lineNumber,a={prev:r.prev&&o.prev[r.prev]||[],next:r.next&&o.next[r.next]||[]};return Object.assign(Object.assign({},n),{annotatedGroups:function(e,t){for(var n=tx._(e),r=tx._(e),o=tx._(t.prev),a=tx._(t.next),i=[],l=1,s=1;n.length>0||r.length>0;){var d=o[0],c=a[0],u=d&&d.columnNumbers.start===l,h=c&&c.columnNumbers.start===s;if(l<s){if(u){var f=d.columnNumbers.end+1;i.push({prev:{annotation:d,groups:nl(n,l,f)}}),l=f,o.shift()}else{var p=Math.min(s,(null==d?void 0:d.columnNumbers.start)||s);i.push({prev:{groups:nl(n,l,p)}}),l=p}}else if(l>s){if(h){var m=c.columnNumbers.end+1;i.push({next:{annotation:c,groups:nl(r,s,m)}}),s=m,a.shift()}else{var g=Math.min(l,(null==c?void 0:c.columnNumbers.start)||l);i.push({next:{groups:nl(r,s,g)}}),s=g}}else if(l==s){if(u&&h&&d.columnNumbers.end===c.columnNumbers.end){var b=c.columnNumbers.end+1;i.push({prev:{annotation:d,groups:nl(n,l,b)},next:{annotation:c,groups:nl(r,s,b)}}),l=b,s=b,o.shift(),a.shift()}else if(u){var v=d.columnNumbers.end+1;i.push({prev:{annotation:d,groups:nl(n,l,v)}}),l=v,o.shift()}else if(h){var x=c.columnNumbers.end+1;i.push({next:{annotation:c,groups:nl(r,s,x)}}),s=x,a.shift()}else if(d||c){var y=Math.min((null==d?void 0:d.columnNumbers.start)||Number.MAX_VALUE,(null==c?void 0:c.columnNumbers.start)||Number.MAX_VALUE);i.push({prev:{groups:nl(n,l,y)},next:{groups:nl(r,s,y)}}),l=y,s=y}else i.push({prev:{groups:n},next:{groups:r}}),n=[],r=[]}}return i}(t,a)})})),(i=n).prev,function(e){return e.lineNumber.prev}),next:ni(a,i.next,function(e){return e.lineNumber.next})};return Object.assign(Object.assign({},s),{lineGroups:d,lineCount:{prev:l.filter(function(e){return null!=e.lineNumber.prev}).length,next:l.filter(function(e){return null!=e.lineNumber.next}).length}})}(function(e,t,n){var r,o,a,i,l,s,d,c,u,h;return r=e,o=t,a=n,s=r.lines,d=tE(r,["lines"]),c=tO(o,function(e,t){var n,r,o="prev"===t?s.filter(function(e){return"enter"!==e.move}):s.filter(function(e){return"exit"!==e.move});return n=e,r=o,n?tN(tA(n).map(tF)):tN(tx._(r.keys()).map(function(e){return th._({},e+1,!0)}))}),u=s.map(function(e){var t=e.tokens,n=tE(e,["tokens"]),r={prev:!!e.lineNumber.prev&&c.prev[e.lineNumber.prev],next:!!e.lineNumber.next&&c.next[e.lineNumber.next]},o={prev:e.lineNumber.prev&&a.prev[e.lineNumber.prev]||[],next:e.lineNumber.next&&a.next[e.lineNumber.next]||[]};return Object.assign({focused:tO(r,function(e){return!!e}),groups:function(e,t,n){var r=tO(t,function(e){return Array.isArray(e)?e:[]}),o=tO(n,function(e){return e.map(function(e){return e.columnNumbers})}),a=function(e,t){var n=tx._(t.map(function(e){return e.start-1})).concat(tx._(t.map(function(e){return e.end}))),r=e;return n.forEach(function(e){var t=[],n=0;r.forEach(function(r){var o=n,a=n+r.content.length;if(o<e&&e<a){var i=e-o,l=r.content.slice(0,i),s=r.content.slice(i);t.push(Object.assign(Object.assign({},r),{content:l})),t.push(Object.assign(Object.assign({},r),{content:s}))}else t.push(r);n=a}),r=t}),r}(e,tx._(r.prev).concat(tx._(r.next),tx._(o.prev),tx._(o.next))),i=0,l=null,s=[];return a.forEach(function(e){var r=ne(i,t.prev),o=ne(i,t.next),a=nt(i,n.prev),d=nt(i,n.next);(!l||l.focused.prev!==r||l.focused.next!==o||l.annotation.prev!==a||l.annotation.next!==d)&&(l={focused:{prev:r,next:o},tokens:[],annotation:{prev:a,next:d}},s.push(l)),null==l||l.tokens.push(e),i+=e.content.length}),s.map(function(e){return{focused:e.focused,tokens:e.tokens,element:function(e){return tI.default.createElement(tI.default.Fragment,null,e.tokens.map(function(e,t){var n=e.content,r=e.props;return tI.default.createElement("span",Object.assign({},r,{key:t+1}),n)}))}(e)}})}(t,r,o)},n)}),h=tO(c,function(e){return Object.keys(e).map(function(e){return Number(e)})}),Object.assign({lines:u,firstFocusedLineNumber:tO(h,function(e){return(i=Math).min.apply(i,tx._(e))}),lastFocusedLineNumber:tO(h,function(e){return(l=Math).max.apply(l,tx._(e))})},d)}(l,tC(n,null),d),d,c),i,a)}(i)},[l.prev,l.next,d.prev,d.next,s]));var z=(c=C.code,u=tO(E,function(e){return e.focus}),h=S.minColumns||10,f=S.lineNumbers||!1,p=S.rows,m=[S.parentHeight],g=tb._(tI.default.useState(null),2),b=g[0],v=g[1],x=function(){var e=tb._(tI.default.useState(void 0),2),t=e[0],n=e[1];return tI.default.useEffect(function(){var e=function(){n(window.innerWidth)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),t}(),y=tI.default.useRef(null),k=tI.default.useMemo(function(){var e=tQ(c.prev,u.prev),t=tQ(c.next,u.next),n=(c.prev||c.next).trimEnd().split(tZ),r=n.length;if(p){for(var o="focus"===p?function(e,t){var n=tb._(function(e,t){if(!e)return[0,t.length-1];var n,r,o=Object.keys(tM(e)).map(function(e){return parseInt(e,10)});return[(n=Math).min.apply(n,tx._(o)),(r=Math).max.apply(r,tx._(o))]}(e.prev,t),2),r=n[0];return n[1]-r+1}(u,n):p,a=n.length;a<o;)n.push(""),a++;for(;a>o;)n.pop(),a--;e&&!n.includes(e)&&(n[n.length-1]=e)}var i=!1,l=tI.default.createElement("code",{className:"ch-code-scroll-parent"},tI.default.createElement("br",null),n.map(function(t,n){var o=i||t!==e?void 0:y;return i=i||null!=o,tI.default.createElement("div",{ref:o,key:n},f?tI.default.createElement("span",{className:"ch-code-line-number"},"_",r):void 0,tI.default.createElement("div",{style:{display:"inline-block",marginLeft:16}},tI.default.createElement("span",null,t)))}),tI.default.createElement("br",null));return{prevLongestLine:e,nextLongestLine:t,element:l}},[c]),w=k.prevLongestLine,_=k.nextLongestLine,I=k.element,P=tx._(m).concat([x,w,_,h]),(tY(function(){var e;if(y.current){var t=y.current,n=null==t?void 0:t.parentElement,r=n.parentElement,o=null==t?void 0:t.querySelector(":scope > div"),a=null==t?void 0:t.querySelector(":scope > span"),i=a?function(e){return parseFloat(getComputedStyle(e).width)}(a):0,l=tJ(o),s=l/w.length||1,d=_.length*s,c=null!==(e=t0(o))&&void 0!==e?e:20;v({containerWidth:tJ(r.parentElement),containerHeight:t0(r.parentElement),contentWidth:tJ(n.parentElement),contentHeight:t0(n.parentElement),lineWidths:[l||d||200,d||l||200],lineWidth:[Math.max(l||d||200,s*h),Math.max(d||l||200,s*h)],lineHeight:c,colWidth:s,lineNumberWidth:i,deps:P})}},P),!b||function(e,t){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}(b.deps,P))?{element:I,dimensions:null}:{element:I,dimensions:b}),T=z.element,A=z.dimensions;return!A||S.debug?tI.default.createElement(nk,{element:T,htmlProps:O,debug:S.debug}):tI.default.createElement(nw,{dimensions:A,stepInfo:C,config:S,progress:j,htmlProps:O})}function nk(e){var t=e.element,n=e.htmlProps,r=e.debug;return tI.default.createElement(n_,{htmlProps:n,style:{opacity:r?.9:0,overflow:"auto"}},t)}function nw(e){var t,n,r,o=e.config,a=o.minZoom,i=o.maxZoom,l=o.horizontalCenter,s=o.theme,d=e.dimensions,c=e.stepInfo,u=e.progress,h=e.htmlProps,f=e.config;var p={fg:tW(t=s,ti.CodeForeground),bg:tW(t,ti.CodeBackground)},m=p.bg,g=p.fg;return tI.default.createElement(n_,{htmlProps:h,style:(r={opacity:1,backgroundColor:m,color:g},th._(r,"colorScheme",t$(s)),th._(r,"--ch-selection-background",tW(s,ti.SelectionBackground)),r)},tI.default.createElement(nh,{codeStep:c,progress:u,dimensions:d,minZoom:void 0===a?1:a,maxZoom:void 0===i?1:i,center:void 0!==l&&l,theme:s}),f.showCopyButton?tI.default.createElement(nx,{className:"ch-code-button",content:null===(n=null==c?void 0:c.code)||void 0===n?void 0:n.prev}):void 0)}function n_(e){var t=e.htmlProps,n=e.style,r=e.children;return tI.default.createElement("div",Object.assign({className:"ch-code-wrapper"},t,{style:Object.assign(Object.assign({margin:0,padding:0,position:"relative",whiteSpace:"pre",boxSizing:"content-box"},n),null==t?void 0:t.style),children:r}))}function nI(){return"undefined"!=typeof window?performance.now():0}function nP(e,t){var n=t.stiffness,r=t.damping,o=t.mass,a=t.decimals,i=t.teleport;return{X:e,k:null!=n?n:170,c:null!=r?r:26,m:null!=o?o:1,teleport:null!=i&&i,decimals:null!=a?a:2}}var nE=Math.sqrt,nj=Math.exp,nS=Math.sin,nO=Math.cos;function nC(e){var t=e.x0,n=e.v0,r=e.t0,o=e.t,a=e.k,i=e.c,l=e.m,s=e.X,d=t-s,c=(o-r)/1e3,u=i*i-4*a*l;if(u>0){var h=(-i+nE(u))/(2*l),f=(-i-nE(u))/(2*l),p=(d*h-n)/(h-f),m=(n-d*f)/(h-f);return{x:s+p*nj(f*c)+m*nj(h*c),v:p*f*nj(f*c)+m*h*nj(h*c)}}if(u<0){var g=-i/(2*l),b=nE(-u)/(2*l),v=(n-g*d)/b;return{x:s+nj(g*c)*(d*nO(b*c)+v*nS(b*c)),v:nj(g*c)*((v*b+d*g)*nO(b*c)-(d*b-v*g)*nS(b*c))}}var x=-i/(2*l),y=n-x*d;return{x:s+(d+y*c)*nj(x*c),v:(y+d*x+y*x*c)*nj(x*c)}}var nz=[],nT=null;function nA(e){var t=nz.push(e);return 1===t&&(nT=requestAnimationFrame(nF)),[nT,t-1]}function nN(e){var t=e[0],n=e[1];t===nT&&delete nz[n]}function nF(){var e=nI(),t=nz;nz=[],(0,tP.unstable_batchedUpdates)(function(){return t.forEach(function(t){return t&&t(e)})})}var nL="undefined"!=typeof window?tI.default.useLayoutEffect:tI.default.useEffect;function nM(e,t){void 0===t&&(t={});var n,r,o,a=tI.default.useState()[1],i=nP(e,t);var l=(n=e,r=t,o=tI.default.useRef(null),null==o.current&&(o.current={config:nP(n,r),state:function(e,t){var n=t.from,r=t.initialSpeed;return{x0:null!=n?n:e,v0:null!=r?r:0,t0:nI(),raf:null}}(n,r)}),o.current),s=l.state,d=l.config,c=nI(),u=s.x0,h=s.v0,f=s.t0,p=d.k,m=d.c,g=d.m,b=d.X,v=i.teleport?{x:b,v:0}:nC({x0:u,v0:h,t0:f,t:c,k:p,c:m,m:g,X:b}),x=v.x,y=v.v,k=function(e,t,n,r){var o=r.decimals,a=r.X,i=r.k,l=r.c,s=r.m;return nB(e,o)!==nB(a,o)||nB(nC({x0:e,v0:t,t0:n,t:n+.016,k:i,c:l,m:s,X:a}).x,o)!==nB(a,o)}(x,y,c,i);return nL(function(){Object.assign(d,i)},[i.X,i.k,i.c,i.m,i.teleport]),nL(function(){s.x0=x,s.v0=y,s.t0=c},[x,y,c]),nL(function(){k&&null==s.raf?s.raf=nA(function e(t){var n=s.x0,r=s.v0,o=s.t0,i=d.k,l=d.c,c=d.m,u=d.X,h=d.decimals;nB(nC({x0:n,v0:r,t0:o,t:t,k:i,c:l,m:c,X:u}).x,h)!==nB(n,h)?(s.raf=null,a(t)):s.raf=nA(e)}):!k&&null!=s.raf&&(nN(s.raf),s.raf=null)}),nL(function(){return function(){null!=s.raf&&nN(s.raf)}},[]),[nB(x,i.decimals),k]}function nB(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}var nU={stiffness:120,damping:24,mass:.2,decimals:3};function nR(e){var t=e.step,n=e.config,r=tE(e,["step","config"]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nU,n=tb._(tI.default.useState({target:2,steps:[e,e,e],index:0}),2),r=n[0],o=r.target,a=r.steps,i=r.index,l=n[1];tI.default.useEffect(function(){a[a.length-1]!=e&&l(function(t){return function(e,t,n){var r=e.steps,o=e.target,a=e.index,i=r.slice();return n-a<1?(i[2]=t,Object.assign(Object.assign({},e),{steps:i})):(i[0]=r[1],i[1]=r[2],i[2]=t,Object.assign(Object.assign({},e),{steps:i,target:o+1,index:a+1}))}(t,e,s)})},[e]);var s=tb._(nM(o,t),1)[0],d=s-i;return d<=1?{tween:{prev:a[0],next:a[1]},t:d}:{tween:{prev:a[1],next:a[2]},t:d-1}}(t,n.spring),a=o.tween,i=o.t;return tI.default.createElement(ny,Object.assign({tween:a,progress:i,config:n},r))}var nH=(0,tI.createContext)({});function nD(e){var t=e.classes,n=e.children,r=nW((0,tI.useContext)(nH),t);return tI.default.createElement(nH.Provider,{value:r,children:n})}function nq(e,t){var n=nW((0,tI.useContext)(nH),t);return(0,tI.useCallback)(function(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=r.map(function(t){return e+(e&&t?"-":"")+t}),i=a.slice();return a.forEach(function(e){e in t&&i.push(t[e])}),i.join(" ")}}(e,n),[e,n])}function nW(e,t){return(0,tI.useMemo)(function(){return Object.assign(Object.assign({},e),t)},[e,t])}var n$=tI.default.forwardRef(function(e,t){var n=e.title,r=e.children,o=e.titleBar,a=e.classes,i=e.theme,l=e.zoom,s=e.overflow,d=tE(e,["title","children","titleBar","classes","theme","zoom","overflow"]),c=nq("ch-frame",a),u=o||tI.default.createElement(nG,{title:n});return tI.default.createElement(nD,{classes:a},tI.default.createElement("div",Object.assign({},d,{ref:t}),tI.default.createElement("div",{className:c("")},tI.default.createElement("div",{className:c("title-bar"),style:{background:tW(i,ti.EditorGroupHeaderBackground)}},u),tI.default.createElement("div",{className:c("content")},tI.default.createElement("div",{className:c("zoom"),style:{"--ch-frame-zoom":void 0===l?1:l,overflow:s}},r)))))});function nG(e){var t=e.title,n=nq("ch-frame");return tI.default.createElement(tI.default.Fragment,null,tI.default.createElement("div",{className:n("left-bar")},tI.default.createElement(nX,null)),tI.default.createElement("div",{className:n("middle-bar")},t),tI.default.createElement("div",{className:n("right-bar")}))}function nX(){var e=nq("ch-frame");return tI.default.createElement("div",{className:e("buttons")},tI.default.createElement("div",{className:e("button","button-left")}),tI.default.createElement("div",{className:e("button-space")}),tI.default.createElement("div",{className:e("button","button-middle")}),tI.default.createElement("div",{className:e("button-space")}),tI.default.createElement("div",{className:e("button","button-right")}))}tI.default.forwardRef(function(e,t){var n=e.title,r=e.children,o=e.titleBar,a=e.classes,i=(e.overflow,tE(e,["title","children","titleBar","classes","overflow"])),l=nq("ch",a),s=o||tI.default.createElement(nG,{title:n});return tI.default.createElement(nD,{classes:a},tI.default.createElement("div",Object.assign({},i,{ref:t}),tI.default.createElement("div",{className:l("simple-frame")},tI.default.createElement("div",{className:l("frame-title-bar")},s),r)))});var nK=tI.default.forwardRef(function(e,t){var n,r=e.northPanel,o=e.southPanel,a=(e.terminalPanel,e.style),i=(e.height,e.northButton),l=e.southButton,s=e.theme,d=(e.className,e.onTabClick),c=tE(e,["northPanel","southPanel","terminalPanel","style","height","northButton","southButton","theme","className","onTabClick"]);return tI.default.createElement("div",Object.assign({ref:t},c,{className:"ch-editor-frame",style:Object.assign({background:tW(s,ti.EditorBackground)},a)}),tI.default.createElement("div",{className:"ch-frame-title-bar",style:{color:tW(s,ti.IconForeground),background:tW(s,ti.EditorGroupHeaderBackground)}},tI.default.createElement(nY,{tabs:r.tabs,showFrameButtons:!0,button:i,panel:"north",theme:s,onTabClick:d})),tI.default.createElement("div",{"data-ch-panel":"north",style:r.style,children:r.children}),o&&tI.default.createElement(tI.default.Fragment,null,tI.default.createElement("div",{className:"ch-frame-title-bar",style:{transform:null===(n=o.style)||void 0===n?void 0:n.transform,color:tW(s,ti.IconForeground),background:tW(s,ti.EditorGroupHeaderBackground)}},tI.default.createElement(nY,{tabs:o.tabs,showFrameButtons:!1,button:l,topBorder:!0,panel:"south",theme:s,onTabClick:d})),tI.default.createElement("div",{"data-ch-panel":"south",children:o.children,style:o.style})))});function nY(e){var t=e.tabs,n=e.button,r=e.showFrameButtons,o=e.topBorder,a=e.panel,i=e.theme,l=e.onTabClick,s=nq("ch-editor-tab");return tI.default.createElement(tI.default.Fragment,null,o&&tI.default.createElement("div",{style:{position:"absolute",height:"1px",background:tW(i,ti.EditorGroupBorder),width:"100%",top:0,zIndex:1}}),r?tI.default.createElement(nX,null):tI.default.createElement("div",null),t.map(function(e){var t=e.title,n=e.active,r=e.style;return tI.default.createElement("div",{key:t,title:t,"data-ch-tab":a,className:s("",n?"active":"inactive"),style:Object.assign(Object.assign({},r),{background:tW(i,n?ti.ActiveTabBackground:ti.InactiveTabBackground),color:tW(i,n?ti.ActiveTabForeground:ti.InactiveTabForeground),borderRightColor:tW(i,ti.TabBorder),borderBottomColor:tW(i,n?ti.ActiveTabBottomBorder:ti.InactiveTabBackground)}),onClick:l&&function(){return l(t)}},tI.default.createElement(nV,{title:t}))}),tI.default.createElement("div",{style:{flex:1,minWidth:"0.8em"}}),n)}function nV(e){var t=e.title;if(!t)return tI.default.createElement("div",null);var n=t.lastIndexOf("/")+1,r=t.substring(n),o=t.substring(0,n);return tI.default.createElement("div",null,tI.default.createElement("span",{style:{opacity:.5}},o),r)}var nZ=tI.default.createElement("span",{className:"ch-terminal-prompt"},"$");function nQ(e){var t=e.text,n=e.progress,r=void 0===n?1:n,o=e.style,a=function(e,t){if(!e)return[];var n,r,o,a,i=Math.round(e.length*t);return(n=e.slice(0,i),r=tv._(n.split(/^\$\s*/gm)).slice(1).map(function(e){var t=tv._(e.split(/\r?\n/)),n=t[0],r=t.slice(1);return{run:n,output:r.length>0?r.join("\n"):null}}),o=r[r.length-1],a=r.length>0&&null!=o.output,{title:a?o.run.split(/(\s+)/)[0]:"bash",isRunning:a,commands:r}).commands}(t,r);return tI.default.createElement("pre",{style:o,className:"ch-terminal-content"},a.map(function(e,t){var n=e.run,r=e.output;return tI.default.createElement(tI.default.Fragment,{key:t},tI.default.createElement("div",null,nZ," ",tI.default.createElement("span",null,n)),r&&tI.default.createElement("div",{className:"ch-terminal-output"},r))}))}function nJ(e){var t=e.prev,n=e.prevKey,r=e.next,o=e.nextKey,a=e.progress;return tI.default.createElement("div",{className:"ch-terminal"},tI.default.createElement("div",{style:{position:"relative",transform:"translateY(-".concat(100*a,"%)")}},tI.default.createElement(nQ,{text:void 0===t?"":t,progress:1,key:n}),tI.default.createElement(nQ,{style:{position:"absolute"},text:void 0===r?"":r,progress:a,key:o})))}function n0(e){var t=e.steps,n=e.progress,r=t.map(function(e){return e.text}),o=function(e,t,n){return Math.min(Math.max(e,t),n)}(Math.floor(n),0,t.length-1),a=o+1;return tI.default.createElement(nJ,{prev:r[o],prevKey:o,next:r[a]||"",nextKey:a,progress:n%1})}function n1(e){var t=e.prev,n=e.next,r=e.t,o=function(e){var t=e.prev,n=e.next,r=e.t;return(e.backward,t||n)?!t&&n?n2*Math.min(4*r,1):t&&!n?n2*Math.max(1-4*r,0):n2:0}({prev:t,next:n,t:r,backward:e.backward});return o?tI.default.createElement("div",{className:"ch-editor-terminal",style:{height:o}},tI.default.createElement("div",{className:"ch-editor-terminal-tab"},tI.default.createElement("span",null,"Terminal")),tI.default.createElement("div",{className:"ch-editor-terminal-content"},tI.default.createElement(n0,{steps:[{text:t||""},{text:n||""}],progress:r}),")")):null}var n2=150;function n3(e){return Array.isArray(e.rows)?Object.assign(Object.assign({},e),{rows:e.rows[0]}):e}function n4(e){return Array.isArray(e.rows)?Object.assign(Object.assign({},e),{rows:e.rows[1]}):e}function n5(e,t,n){var r,o=t.northPanel,a=t.southPanel,i=n8(e,t,!1),l=(i.prevNorthFile,i.prevSouthFile,i.nextNorthFile),s=i.nextSouthFile;return!a&&o.active===(null===(r=null==e?void 0:e.southPanel)||void 0===r?void 0:r.active)&&(l=s),{northContent:n7(l),northPanel:{tabs:o.tabs.map(function(e){return{title:e,active:e===o.active,style:{}}}),style:{flexGrow:1,overflow:"hidden"},children:tI.default.createElement(n6,{codeConfig:n3(n),prevFile:l,nextFile:l,t:1,parentHeight:"1"})},southContent:n7(s),southPanel:a&&{tabs:a.tabs.map(function(e){return{title:e,active:e===a.active,style:{}}}),style:{flexGrow:1,overflow:"hidden"},children:tI.default.createElement(n6,{codeConfig:n4(n),prevFile:s,nextFile:s,t:1,parentHeight:"1"})}}}function n6(e){var t,n=e.prevFile,r=e.nextFile,o=e.t,a=e.codeConfig,i=e.parentHeight,l=Object.assign(Object.assign({},null==a?void 0:a.htmlProps),{style:Object.assign({height:"100%"},null===(t=null==a?void 0:a.htmlProps)||void 0===t?void 0:t.style)});return tI.default.createElement(ny,Object.assign({progress:o,tween:{prev:n,next:r},config:Object.assign(Object.assign({},a),{parentHeight:i})},l))}function n7(e){return e?tT(e.code):""}function n8(e,t,n){var r,o,a=e.northPanel.active,i=t.northPanel.active,l=null===(r=e.southPanel)||void 0===r?void 0:r.active,s=null===(o=t.southPanel)||void 0===o?void 0:o.active,d=e.files.find(function(e){return e.name===a}),c=t.files.find(function(e){return e.name===i}),u=l?e.files.find(function(e){return e.name===l}):null,h=s?t.files.find(function(e){return e.name===s}):null;return l||a!==s?s||i!==l?{prevNorthFile:a===i?d:n?d:c,nextNorthFile:a===i?c:n?d:c,prevSouthFile:l===s?u:n?u||h:h||u,nextSouthFile:l===s?h:n?u||h:h||u}:{prevNorthFile:d,nextNorthFile:d,prevSouthFile:u,nextSouthFile:c}:{prevNorthFile:c,nextNorthFile:c,prevSouthFile:d,nextSouthFile:h}}function n9(e,t,n){return e+(t-e)*n}function re(e,t,n,r,o,a){var i=e?Object.keys(e).filter(function(e){return rt(e,n)||!n}).map(function(t){var r=n&&n[t],i=e[t],l=r?r.left+(i.left-r.left)*a:i.left,s=r?r.width+(i.width-r.width)*a:i.width;return{active:t===o,title:t,style:{position:"absolute",transform:"translateX(".concat(l,"px)"),width:s}}}):[],l=e?Object.keys(e).filter(function(e){return n&&!rt(e,n)}).map(function(t){var n=e[t];return{active:t===o,title:t,style:{position:"absolute",transform:"translateX(".concat(n.left,"px)"),opacity:a,width:n.width}}}):[];e&&Object.keys(e).filter(function(e){return rt(e,r)}).map(function(t){var n=r[t],a=e[t].left-n.left;return{active:t===o,title:t,style:{position:"absolute",transform:"translateX(".concat(a,"px)")}}});var s=n?Object.keys(n).filter(function(t){return!rt(t,e)}).map(function(e){var t=n[e];return{active:e===o,title:e,style:{position:"absolute",opacity:1-a,transform:"translateX(".concat(t.left,"px)"),width:t.width}}}):[];return tx._(l).concat(tx._(i),tx._(s))}function rt(e,t){return t&&e&&e in t}var rn="undefined"!=typeof window?tI.default.useLayoutEffect:tI.default.useEffect;function rr(e,t){var n,r=e.querySelector("[data-ch-panel='north']"),o=e.querySelector("[data-ch-panel='south']");return{titleBarHeight:e.querySelector(".ch-frame-title-bar").getBoundingClientRect().height,northHeight:r.getBoundingClientRect().height,northKey:t.northPanel.active,southHeight:(null==o?void 0:o.getBoundingClientRect().height)||null,southKey:null===(n=t.southPanel)||void 0===n?void 0:n.active}}function ro(e,t){var n,r=Array.from(e.querySelectorAll("[data-ch-tab='north']")),o=Array.from(e.querySelectorAll("[data-ch-tab='south']"));return{northTabs:ra(r,t.northPanel.active),southTabs:ra(o,null===(n=t.southPanel)||void 0===n?void 0:n.active)}}function ra(e,t){if(!e[0])return null;var n=e[0].parentElement.getBoundingClientRect().left,r={};return e.forEach(function(e){var o=e.getAttribute("title"),a=e.getBoundingClientRect();r[o]={left:a.left-n,width:a.width,active:o===t}}),r}function ri(e){var t=e.files,n=e.theme,r=e.startingFileName,o=tb._(tI.default.useState(function(){return t.find(function(e){return e.name===r})}),2),a=o[0],i=o[1];return tI.default.createElement("div",{className:"ch-code-browser",style:{color:tW(n,ti.EditorForeground)}},tI.default.createElement(rl,{files:t,theme:n,activeFile:a,setActiveFile:i}),tI.default.createElement(rc,{file:a,theme:n}))}function rl(e){var t,n=e.theme,r=e.files,o=e.activeFile,a=e.setActiveFile,i=tI.default.useMemo(function(){return function(e){var t=[],n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)!function(){for(var e=a.value,n=e.name.split("/"),r=t,o=0;o<n.length;o++)!function(t){var o=n[t],a=t===n.length-1,i=r.findIndex(function(e){return e.name===o});if(-1===i){var l={name:o,children:[],codeFile:void 0};a&&(l.codeFile=e),r.push(l),r=l.children}else r=r[i].children}(o)}()}catch(e){r=!0,o=e}finally{try{!n&&null!=i.return&&i.return()}finally{if(r)throw o}}return t=function e(t){var n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var l=a.value;l.children=e(l.children)}}catch(e){r=!0,o=e}finally{try{!n&&null!=i.return&&i.return()}finally{if(r)throw o}}return t.sort(function(e,t){var n=e.children&&e.children.length>0,r=t.children&&t.children.length>0;return n&&r||!n&&!r?e.name.localeCompare(t.name):n?-1:1})}(t)}(r)},[r]);return tI.default.createElement("div",{className:"ch-code-browser-sidebar",style:(t={borderColor:tW(n,ti.SideBarBorder),background:tW(n,ti.SideBarBackground),color:tW(n,ti.SideBarForeground)},th._(t,"--ch-list-selection-background",tW(n,ti.ListActiveSelectionBackground)),th._(t,"--ch-list-selection-foreground",tW(n,ti.ListActiveSelectionForeground)),th._(t,"--ch-hover-background",tW(n,ti.ListHoverBackground)),th._(t,"--ch-hover-foreground",tW(n,ti.ListHoverForeground)),t)},tI.default.createElement(rs,{tree:i,activeFile:o,setActiveFile:a}))}function rs(e){var t=e.tree,n=e.activeFile,r=e.setActiveFile,o=e.level,a=void 0===o?0:o;return tI.default.createElement(tI.default.Fragment,null,t.map(function(e){return tI.default.createElement(rd,{key:e.name,node:e,activeFile:n,setActiveFile:r,level:a})}))}function rd(e){var t=e.node,n=e.activeFile,r=e.setActiveFile,o=e.level,a=t.children&&t.children.length>0,i=t.codeFile===n;return a?tI.default.createElement("div",null,tI.default.createElement("div",{className:"ch-code-browser-sidebar-folder"},tI.default.createElement("div",{style:{paddingLeft:1.5*o+"ch"}},t.name)),tI.default.createElement(rs,{tree:t.children,activeFile:n,setActiveFile:r,level:o+1})):tI.default.createElement("div",null,tI.default.createElement("div",{className:"ch-code-browser-sidebar-file",onClick:function(){return r(t.codeFile)},style:i?{color:"var(--ch-list-selection-foreground)",background:"var(--ch-list-selection-background)"}:{}},tI.default.createElement("div",{style:{paddingLeft:1.5*o+"ch"}},t.name)))}function rc(e){var t,n=e.file,r=e.theme;return tI.default.createElement("div",{className:"ch-code-browser-content",style:(t={background:tW(r,ti.CodeBackground),color:tW(r,ti.CodeForeground)},th._(t,"--ch-selection-background",tW(r,ti.SelectionBackground)),th._(t,"colorScheme",t$(r)),t)},tI.default.createElement(nx,{className:"ch-code-browser-button",content:tT(n.code)}),n.code.lines.map(function(e,t){return tI.default.createElement("div",{key:t},0===e.tokens.length?tI.default.createElement("br",null):e.tokens.map(function(e,t){return tI.default.createElement("span",Object.assign({key:t},e.props),e.content)}))}))}function ru(e){var t=e.style,n=e.step,r=e.theme,o=e.className,a=tb._(tI.default.useState(!1),2),i=a[0],l=a[1],s=tb._(tI.default.useState(!0),2),d=s[0],c=s[1],u=tI.default.useRef(null),h=n.files;return(tI.default.useEffect(function(){u.current&&!u.current.showModal&&c(!1)},[]),d)?tI.default.createElement(tI.default.Fragment,null,tI.default.createElement(rh,{className:o,style:t,onClick:function(){u.current.showModal(),document.body.classList.add("ch-no-scroll"),l(!0)}}),tI.default.createElement("dialog",{ref:u,className:"ch-expand-dialog",onClose:function(){l(!1)},onClick:function(e){e.currentTarget===e.target&&(u.current.close(),document.body.classList.remove("ch-no-scroll"))}},tI.default.createElement(rf,{onClick:function(){u.current.close(),document.body.classList.remove("ch-no-scroll")}}),i?tI.default.createElement("div",{className:"ch-expand-dialog-content",style:{borderColor:tW(r,ti.SideBarBorder)}},tI.default.createElement(ri,{files:h,theme:r,startingFileName:n.northPanel.active})):void 0)):null}function rh(e){var t=e.onClick,n=e.style,r=e.className;return tI.default.createElement("svg",{style:n,onClick:t,className:r,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"button"},tI.default.createElement("title",null,"Expand"),tI.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"}))}function rf(e){var t=e.onClick;return tI.default.createElement("svg",{onClick:t,className:"ch-expand-close",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"button"},tI.default.createElement("title",null,"Close"),tI.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}))}var rp={files:[{code:{lines:[],lang:"js"},focus:"",name:""}],northPanel:{active:"",tabs:[""],heightRatio:1}};function rm(e){var t=e.prev,n=void 0===t?rp:t,r=e.next,o=e.t,a=e.backward,i=e.codeConfig,l=e.frameProps,s=void 0===l?{}:l,d=tE(e,["prev","next","t","backward","codeConfig","frameProps"]),c=tI.default.createRef(),u=i.showCopyButton,h=i.showExpandButton,f=function(e,t,n,r,o,a){var i=function(e,t,n){var r=tb._(tI.default.useState({prevSnapshot:null,nextSnapshot:null}),2),o=r[0],a=o.prevSnapshot,i=o.nextSnapshot,l=r[1];return rn(function(){(a||i)&&l({prevSnapshot:null,nextSnapshot:null})},[t,n]),rn(function(){if(a){if(!i){var r=e.current;l(function(e){return Object.assign(Object.assign({},e),{nextSnapshot:Object.assign(Object.assign({},rr(r,n)),ro(r,n))})})}}else{var o=e.current;l(function(e){return Object.assign(Object.assign({},e),{prevSnapshot:Object.assign(Object.assign({},rr(o,t)),ro(o,t))})})}}),{prevSnapshot:a,nextSnapshot:i}}(e,t,n),l=i.prevSnapshot,s=i.nextSnapshot;if(!l)return function(e,t,n){var r=e.northPanel,o=e.southPanel,a=n8(e,t,!0),i=a.prevNorthFile,l=a.prevSouthFile;return a.nextNorthFile,a.nextSouthFile,{northContent:n7(i),northPanel:{tabs:r.tabs.map(function(e){return{title:e,active:e===r.active,style:{}}}),style:{flexGrow:1,overflow:"hidden"},children:tI.default.createElement(n6,{codeConfig:n3(n),prevFile:i,nextFile:i,t:0,parentHeight:"0"})},southContent:n7(l),southPanel:o&&{tabs:o.tabs.map(function(e){return{title:e,active:e===o.active,style:{}}}),style:{flexGrow:1,overflow:"hidden"},children:tI.default.createElement(n6,{codeConfig:n4(n),prevFile:l,nextFile:l,t:0,parentHeight:"0"})}}}(t,n,a);if(!s||1===r)return n5(t,n,a);var d=t.southPanel||n.southPanel,c=n8(t,n,0==r||o),u=c.prevNorthFile,h=c.prevSouthFile,f=c.nextNorthFile,p=c.nextSouthFile,m=function(e,t,n){return null===e.southHeight&&null===t.southHeight?{northStyle:{minHeight:e.northHeight}}:null!==e.southHeight&&null===t.southHeight&&t.northKey!==e.southKey?{northStyle:{minHeight:function(e,t,n){return e+(t-e)*n}(e.northHeight,t.northHeight,n)},southStyle:{minHeight:e.southHeight}}:null!==e.southHeight&&null===t.southHeight&&e.southKey===t.northKey?{northStyle:{minHeight:e.northHeight},southStyle:{position:"relative",minHeight:function(e,t,n){return e+(t-e)*n}(e.southHeight,t.northHeight,n),transform:"translateY(".concat(function(e,t,n){return e+(t-e)*n}(0,-(e.northHeight+e.titleBarHeight),n),"px)")}}:null===e.southHeight&&null!==t.southHeight&&e.northKey!==t.southKey?{northStyle:{minHeight:function(e,t,n){return e+(t-e)*n}(e.northHeight,t.northHeight,n)},southStyle:{position:"relative",minHeight:t.southHeight}}:null===e.southHeight&&null!==t.southHeight&&e.northKey===t.southKey?{northStyle:{minHeight:t.northHeight},southStyle:{position:"relative",minHeight:function(e,t,n){return e+(t-e)*n}(e.northHeight,t.southHeight,n),transform:"translateY(".concat(function(e,t,n){return e+(t-e)*n}(-(t.northHeight+t.titleBarHeight),0,n),"px)")}}:{northStyle:{minHeight:function(e,t,n){return e+(t-e)*n}(e.northHeight,t.northHeight,n)},southStyle:{minHeight:function(e,t,n){return e+(t-e)*n}(e.southHeight,t.southHeight,n)}}}(l,s,r),g=m.northStyle,b=m.southStyle,v=function(e,t,n,r,o){return!e.southTabs&&rt(r,e.northTabs)?{northTabs:re(t.northTabs,t.southTabs,e.southTabs,e.northTabs,n,o),southTabs:re(t.southTabs,t.northTabs,e.northTabs,e.southTabs,r,o)}:!t.southTabs&&rt(r,t.northTabs)?{northTabs:re(t.southTabs,t.northTabs,e.northTabs,e.southTabs,n,o),southTabs:re(t.northTabs,t.southTabs,e.southTabs,e.northTabs,r,o)}:{northTabs:re(t.northTabs,t.southTabs,e.northTabs,e.southTabs,n,o),southTabs:re(t.southTabs,t.northTabs,e.southTabs,e.northTabs,r,o)}}(l,s,u.name,null==h?void 0:h.name,r),x=v.northTabs,y=v.southTabs;return{northContent:n7(f),northPanel:{tabs:x,style:g,children:tI.default.createElement(n6,{codeConfig:n3(a),prevFile:u,nextFile:f,t:r,parentHeight:g.height||g.minHeight})},southContent:n7(p),southPanel:d&&{tabs:y,style:b,children:tI.default.createElement(n6,{codeConfig:n4(a),prevFile:h,nextFile:p,t:r,parentHeight:(null==b?void 0:b.height)||(null==b?void 0:b.minHeight)})}}}(c,n,r||n,o,a,tE(i,["showCopyButton","showExpandButton"])),p=f.northPanel,m=f.southPanel,g=f.northContent,b=f.southContent,v=tb._(tI.default.useState(void 0),2),x=v[0],y=v[1];tY(function(){var e;y(null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect().height)},[]);var k=Object.assign(Object.assign(Object.assign({},s),d),{style:Object.assign(Object.assign({},null==s?void 0:s.style),null==d?void 0:d.style)});x&&(k.style.height=x,k.style.maxHeight=x);var w=tI.default.createElement(tI.default.Fragment,null,u?tI.default.createElement(nx,{className:"ch-editor-button",content:g}):void 0,h?tI.default.createElement(ru,{className:"ch-editor-button",step:r||n,theme:i.theme}):void 0),_=u?tI.default.createElement(nx,{className:"ch-editor-button",content:b}):void 0,I=tI.default.createElement(n1,{prev:n.terminal,next:(r||n).terminal,t:o,backward:a});return tI.default.createElement(nK,Object.assign({ref:c},k,{northPanel:p,southPanel:m,terminalPanel:I,theme:i.theme,northButton:w,southButton:_}))}var rg={stiffness:120,damping:24,mass:.2,decimals:3};function rb(e){var t=e.northPanel,n=e.southPanel,r=e.files,o=e.terminal,a=e.springConfig,i=tE(e,["northPanel","southPanel","files","terminal","springConfig"]),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rg,n=tb._(tI.default.useState({target:2,steps:[e,e,e],index:0}),2),r=n[0],o=r.target,a=r.steps,i=r.index,l=n[1];tI.default.useEffect(function(){a[a.length-1]!=e&&l(function(t){return function(e,t,n){var r=e.steps,o=e.target,a=e.index,i=r.slice();return n-a<1?(i[2]=t,Object.assign(Object.assign({},e),{steps:i})):(i[0]=r[1],i[1]=r[2],i[2]=t,Object.assign(Object.assign({},e),{steps:i,target:o+1,index:a+1}))}(t,e,s)})},[e]);var s=tb._(nM(o,t),1)[0],d=s-i;return d<=1?{prev:a[0],next:a[1],t:d}:{prev:a[1],next:a[2],t:d-1}}(tI.default.useMemo(function(){return{northPanel:t,southPanel:n,files:r,terminal:o}},[t,n,r,o]),a),s=l.prev,d=l.next,c=l.t;return tI.default.createElement(rm,Object.assign({t:c,backward:!1,prev:s,next:d},i))}function rv(e){var t=tb._(tI.default.useState(e),2),n=t[0],r=t[1];return tI.default.createElement(rx,Object.assign({},n,{onTabClick:function(e){var t=ry(n,e,null);r(Object.assign(Object.assign({},n),t))}}))}function rx(e){var t,n,r,o,a,i,l,s,d,c,u,h,f,p,m,g,b,v=e.onTabClick,x=tE(e,["onTabClick"]);var y=(u=(t=x).lineNumbers,h=t.showCopyButton,f=t.showExpandButton,p=t.minZoom,m=t.maxZoom,g=tE(t,["lineNumbers","showCopyButton","showExpandButton","minZoom","maxZoom"]),b=Object.assign(Object.assign({},t.codeConfig),{maxZoom:null==m?null===(n=t.codeConfig)||void 0===n?void 0:n.maxZoom:m,minZoom:null==p?null===(r=t.codeConfig)||void 0===r?void 0:r.minZoom:p,horizontalCenter:null!==(a=null===(o=t.codeConfig)||void 0===o?void 0:o.horizontalCenter)&&void 0!==a?a:t.horizontalCenter,lineNumbers:null==u?null===(i=t.codeConfig)||void 0===i?void 0:i.lineNumbers:u,showCopyButton:null==h?null===(l=t.codeConfig)||void 0===l?void 0:l.showCopyButton:h,showExpandButton:null==f?null===(s=t.codeConfig)||void 0===s?void 0:s.showExpandButton:f,rows:t.rows,debug:null!==(d=t.debug)&&void 0!==d?d:null===(c=t.codeConfig)||void 0===c?void 0:c.debug}),Object.assign(Object.assign({},g),{codeConfig:b})),k=y.className,w=y.style,_=y.codeConfig,I=tE(y,["className","style","codeConfig"]);if(!x.southPanel&&1===x.files.length&&!x.files[0].name)return tI.default.createElement("div",{className:"ch-codeblock not-prose ".concat(k||""),style:w},tI.default.createElement(nR,{className:"ch-code",config:_,step:I.files[0]}));var P=Object.assign(Object.assign({},null==I?void 0:I.frameProps),{onTabClick:v});return tI.default.createElement("div",{className:"ch-codegroup not-prose ".concat(k||""),style:w},tI.default.createElement(rb,Object.assign({},I,{frameProps:P,codeConfig:_})))}function ry(e,t,n){var r=t||e.northPanel.active,o=e.files.map(function(e){return e.name===r?Object.assign(Object.assign({},e),{focus:null===n?e.focus:n}):e}),a=Object.assign({},e.northPanel),i=e.southPanel&&Object.assign({},e.southPanel);return e.northPanel.tabs.includes(r)?a.active=r:i&&(i.active=r),{files:o,northPanel:a,southPanel:i}}var rk=tI.default.createContext({props:null,setFocus:function(){}});function rw(e){var t=e.children,n=e.className,r=e.style,o=tE(e,["children","className","style"]),a=tb._(tI.default.useState(o),2),i=a[0],l=a[1],s=function(e){var t=e.fileName,n=e.focus,r=e.id,o=ry(i,t,n);l(Object.assign(Object.assign(Object.assign({},i),o),{selectedId:r}))},d=tE(i,["selectedId"]);return tI.default.createElement("section",{className:"ch-section ".concat(n||""),style:r},tI.default.createElement(rk.Provider,{value:{props:d,setFocus:s}},tI.default.createElement(rE,{onActivation:s,onReset:function(){return l(o)}},t)))}function r_(e){var t=tI.default.useContext(rk),n=t.props,r=t.setFocus;return tI.default.createElement(rx,Object.assign({},e,n,{onTabClick:function(e){r({fileName:e,focus:null,id:""})}}))}function rI(e){var t=e.focus,n=e.file,r=e.children,o=e.id,a=tI.default.useContext(rP),i=a.activate,l=a.reset,s=a.activatedId;return tI.default.createElement("span",{className:"ch-section-link","data-active":s===o,children:r,onMouseOver:function(){return i({fileName:n,focus:t,id:o})},onMouseOut:l})}var rP=tI.default.createContext({activatedId:void 0,activate:function(){},reset:function(){}});function rE(e){var t=e.onActivation,n=e.onReset,r=e.children,o=tb._(tI.default.useState(void 0),2),a=o[0],i=o[1],l=tI.default.useCallback(function(e){i(e.id),t(e)},[t]),s=tI.default.useCallback(function(){i(void 0),n()},[n]);return tI.default.createElement(rP.Provider,{value:{activate:l,reset:s,activatedId:a}},r)}function rj(){var e=nq("ch-browser");return tI.default.createElement("svg",{fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:"1em",viewBox:"13 10 14 23",className:e("button","back-button")},tI.default.createElement("g",null,tI.default.createElement("path",{d:"m26.5 12.1q0 0.3-0.2 0.6l-8.8 8.7 8.8 8.8q0.2 0.2 0.2 0.5t-0.2 0.5l-1.1 1.1q-0.3 0.3-0.6 0.3t-0.5-0.3l-10.4-10.4q-0.2-0.2-0.2-0.5t0.2-0.5l10.4-10.4q0.3-0.2 0.5-0.2t0.6 0.2l1.1 1.1q0.2 0.2 0.2 0.5z"})))}function rS(){var e=nq("ch-browser");return tI.default.createElement("svg",{fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:"1em",viewBox:"13 10 14 23",className:e("button","forward-button")},tI.default.createElement("g",null,tI.default.createElement("path",{d:"m26.3 21.4q0 0.3-0.2 0.5l-10.4 10.4q-0.3 0.3-0.6 0.3t-0.5-0.3l-1.1-1.1q-0.2-0.2-0.2-0.5t0.2-0.5l8.8-8.8-8.8-8.7q-0.2-0.3-0.2-0.6t0.2-0.5l1.1-1.1q0.3-0.2 0.5-0.2t0.6 0.2l10.4 10.4q0.2 0.2 0.2 0.5z"})))}function rO(e){var t=e.href,n=e.style,r=nq("ch-browser");return tI.default.createElement("a",{className:r("button","open-button"),title:"Open in new tab",href:t,style:n,target:"_blank",rel:"noopener noreferrer"},tI.default.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"3 3 18 18",height:"1em",width:"1em",className:r("open-icon"),xmlns:"http://www.w3.org/2000/svg"},tI.default.createElement("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"})))}function rC(e){var t=e.url,n=e.linkUrl,r=e.theme,o=tW(r,ti.InputBorder);return tI.default.createElement(tI.default.Fragment,null,tI.default.createElement(nX,null),tI.default.createElement(rj,null),tI.default.createElement(rS,null),tI.default.createElement("input",{value:t||"",readOnly:!0,style:{background:tW(r,ti.InputBackground),color:tW(r,ti.InputForeground),border:o?"1px solid ".concat(o):void 0}}),tI.default.createElement(rO,{href:n,style:{color:tW(r,ti.EditorForeground)}}))}var rz=tI.default.forwardRef(function(e,t){var n,r=e.progress,o=void 0===r?0:r,a=(e.backward,e.steps),i=e.transition,l=e.classes,s=e.theme,d=tE(e,["progress","backward","steps","transition","classes","theme"]),c=nq("ch-mini-browser",l);var u=(n=a,tI.default.useMemo(function(){return n?n.map(function(e){var t=function(e,t,n){var r="undefined"!=typeof window?window.origin:"",o=e&&!0===n?r+e:e;return{displayUrl:o,loadUrl:t||o}}(e.url,e.loadUrl,e.prependOrigin),n=t.displayUrl,r=t.loadUrl;return{zoom:e.zoom||1,displayUrl:n,loadUrl:r,children:e.children}}):[{zoom:1}]},[n])),h=u[Math.round(o)],f=h.zoom,p=h.displayUrl,m=h.loadUrl,g=h.children;return tI.default.createElement(n$,Object.assign({},d,{zoom:f,className:"".concat(c("")," ").concat(d.className||""),style:Object.assign(Object.assign({},function(e){var t=e.progress;if("slide"===e.transition){var n=t-Math.floor(t),r=2*Math.abs(n-.5);return{transform:"translateX(".concat(n<=.5?-50*n:50-50*n,"px)"),opacity:r*r}}return{}}({progress:o,transition:void 0===i?"none":i})),d.style),classes:l,titleBar:tI.default.createElement(rC,{url:p,linkUrl:m,theme:s}),theme:s}),g||tI.default.createElement("iframe",{ref:t,src:m}))});function rT(e){var t=e.url,n=e.loadUrl,r=e.prependOrigin,o=e.children,a=e.zoom,i=tE(e,["url","loadUrl","prependOrigin","children","zoom"]),l=tb._(function(e){var t=e.url,n=e.loadUrl,r=e.prependOrigin,o=e.children,a=e.zoom,i=tb._(tI.default.useState({target:0,steps:[{url:t,loadUrl:n,prependOrigin:r,children:o,zoom:a}]}),2),l=i[0],s=i[1];tI.default.useEffect(function(){var e=l.steps[l.steps.length-1];(e.url!==t||e.loadUrl!==n||e.prependOrigin!==r||e.children!==o)&&s(function(e){return{target:e.target+1,steps:tx._(e.steps).concat([{url:t,loadUrl:n,prependOrigin:r,children:o,zoom:a}])}})},[t,n,r,o,a]);var d=tb._(nM(l.target,{stiffness:100,decimals:3}),1)[0];return[l.steps,d]}({url:t,loadUrl:n,prependOrigin:r,children:o,zoom:a}),2),s=l[0],d=l[1];return tI.default.createElement(rz,Object.assign({},i,{steps:s,progress:d}))}var rA="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},rN={};Object.defineProperty(rN,"__esModule",{value:!0});rN.getMainFile=function(e){return"vue-cli"===e?"src/main.js":"angular-cli"===e?"src/main.ts":"create-react-app-typescript"===e?"src/index.tsx":"parcel"===e?"index.html":"gatsby"===e?"src/pages/index.js":"nuxt"===e||"next"===e||"apollo"===e||"reason"===e||"sapper"===e?"package.json":"nest"===e?"src/main.ts":"static"===e?"index.html":"src/index.js"};var rF="sandbox.config.json",rL=rN.getTemplate=function(e,t){var n=t[rF]||t["/"+rF];if(n)try{var r=JSON.parse(n.content);if(r.template)return r.template}catch(e){}var o=e.dependencies,a=void 0===o?{}:o,i=e.devDependencies,l=void 0===i?{}:i,s=Object.keys(a).concat(Object.keys(l)),d=["nuxt","nuxt-edge"];if(s.some(function(e){return d.indexOf(e)>-1}))return"nuxt";if(s.indexOf("next")>-1)return"next";var c=["apollo-server","apollo-server-express","apollo-server-hapi","apollo-server-koa","apollo-server-lambda","apollo-server-micro"];if(s.some(function(e){return c.indexOf(e)>-1}))return"apollo";if(s.indexOf("ember-cli")>-1)return"ember";if(s.indexOf("sapper")>-1)return"sapper";var u=Object.keys(t);if(u.some(function(e){return e.endsWith(".vue")}))return"vue-cli";if(u.some(function(e){return e.endsWith(".re")}))return"reason";if(s.indexOf("gatsby")>-1)return"gatsby";if(s.indexOf("parcel-bundler")>-1)return"parcel";if(s.indexOf("react-scripts")>-1)return"create-react-app";if(s.indexOf("react-scripts-ts")>-1)return"create-react-app-typescript";if(s.indexOf("@angular/core")>-1)return"angular-cli";if(s.indexOf("preact-cli")>-1)return"preact-cli";if(s.indexOf("svelte")>-1)return"svelte";if(s.indexOf("vue")>-1)return"vue-cli";var h=["@dojo/core","@dojo/framework"];return s.some(function(e){return h.indexOf(e)>-1})?"@dojo/cli-create-app":s.indexOf("cx")>-1?"cxjs":s.indexOf("@nestjs/core")>-1||s.indexOf("@nestjs/common")>-1?"nest":void 0},rM={exports:{}};o=rM,a=rM.exports,i=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a},l=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},s=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},d=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},c=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n},u=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n},h=function(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}},f=function(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}},p=function(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}},m=function(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new p;++t<n;)this.add(e[t])},g=function(e){var t=this.__data__=new f(e);this.size=t.size},b=function(e,t){var n=tt(e),r=!n&&te(e),o=!n&&!r&&tn(e),a=!n&&!r&&!o&&to(e),i=n||r||o||a,l=i?d(e.length,String):[],s=l.length;for(var c in e)(t||eA.call(e,c))&&!(i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||z(c,s)))&&l.push(c);return l},v=function(e,t){for(var n=e.length;n--;)if(M(e[n][0],t))return n;return -1},x=function(e,t,n){var r=t(e);return tt(e)?r:l(r,n(e))},y=function(e){return null==e?void 0===e?eh:eo:eq&&eq in Object(e)?C(e):F(e)},k=function(e){return H(e)&&y(e)==K},w=function(e,t,n,r,o,a){var i=tt(e),l=tt(t),s=i?Y:e9(e),d=l?Y:e9(t);s=s==K?ea:s,d=d==K?ea:d;var c=s==ea,u=d==ea,h=s==d;if(h&&tn(e)){if(!tn(t))return!1;i=!0,c=!1}if(h&&!c)return a||(a=new g),i||to(e)?I(e,t,n,r,o,a):P(e,t,s,n,r,o,a);if(!(n&$)){var f=c&&eA.call(e,"__wrapped__"),p=u&&eA.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,b=p?t.value():t;return a||(a=new g),o(m,b,n,r,a)}}return!!h&&(a||(a=new g),E(e,t,n,r,o,a))},_=function(e){if(!N(e))return eK(e);var t=[];for(var n in Object(e))eA.call(e,n)&&"constructor"!=n&&t.push(n);return t},I=function(e,t,n,r,o,a){var i=n&$,l=e.length,d=t.length;if(l!=d&&!(i&&d>l))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var u=-1,h=!0,f=n&G?new m:void 0;for(a.set(e,t),a.set(t,e);++u<l;){var p=e[u],g=t[u];if(r)var b=i?r(g,p,u,t,e,a):r(p,g,u,e,t,a);if(void 0!==b){if(b)continue;h=!1;break}if(f){if(!s(t,function(e,t){var i,l;if(i=f,l=t,!i.has(l)&&(p===e||o(p,e,n,r,a)))return f.push(t)})){h=!1;break}}else if(!(p===g||o(p,g,n,r,a))){h=!1;break}}return a.delete(e),a.delete(t),h},P=function(e,t,n,r,o,a,i){switch(n){case em:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case ep:if(e.byteLength!=t.byteLength||!a(new eR(e),new eR(t)))break;return!0;case Z:case Q:case er:return M(+e,+t);case J:return e.name==t.name&&e.message==t.message;case es:case ec:return e==t+"";case en:var l=c;case ed:var s=r&$;if(l||(l=u),e.size!=t.size&&!s)break;var d=i.get(e);if(d)return d==t;r|=G,i.set(e,t);var h=I(l(e),l(t),r,o,a,i);return i.delete(e),h;case eu:if(e7)return e7.call(e)==e7.call(t)}return!1},E=function(e,t,n,r,o,a){var i=n&$,l=j(e),s=l.length;if(s!=j(t).length&&!i)return!1;for(var d=s;d--;){var c=l[d];if(!(i?c in t:eA.call(t,c)))return!1}var u=a.get(e);if(u&&a.get(t))return u==t;var h=!0;a.set(e,t),a.set(t,e);for(var f=i;++d<s;){var p=e[c=l[d]],m=t[c];if(r)var g=i?r(m,p,c,t,e,a):r(p,m,c,e,t,a);if(!(void 0===g?p===m||o(p,m,n,r,a):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var b=e.constructor,v=t.constructor;b!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&tp._(b,b)&&"function"==typeof v&&tp._(v,v))&&(h=!1)}return a.delete(e),a.delete(t),h},j=function(e){return x(e,D,e8)},S=function(e,t){var n=e.__data__;return T(t)?n["string"==typeof t?"string":"hash"]:n.map},O=function(e,t){var n,r,o,a=(n=e,r=t,null==n?void 0:n[r]);return!(!R(o=a)||A(o))&&(B(o)?eM:eg).test(L(o))?a:void 0},C=function(e){var t=eA.call(e,eq),n=e[eq];try{e[eq]=void 0;var r=!0}catch(e){}var o=eL.call(e);return r&&(t?e[eq]=n:delete e[eq]),o},z=function(e,t){return!!(t=null==t?X:t)&&("number"==typeof e||eb.test(e))&&e>-1&&e%1==0&&e<t},T=function(e){var t=void 0===e?"undefined":ty._(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},A=function(e){return!!eF&&eF in e},N=function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||eC;return e===n},F=function(e){return eL.call(e)},L=function(e){if(null!=e){try{return eT.call(e)}catch(e){}try{return e+""}catch(e){}}return""},M=function(e,t){return e===t||e!=e&&t!=t},B=function(e){if(!R(e))return!1;var t=y(e);return t==ee||t==et||t==V||t==el},U=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=X},R=function(e){var t=void 0===e?"undefined":ty._(e);return null!=e&&("object"==t||"function"==t)},H=function(e){return null!=e&&"object"==typeof e},D=function(e){var t;return null!=(t=e)&&U(t.length)&&!B(t)?b(e):_(e)},q=200,W="__lodash_hash_undefined__",$=1,G=2,X=9007199254740991,K="[object Arguments]",Y="[object Array]",V="[object AsyncFunction]",Z="[object Boolean]",Q="[object Date]",J="[object Error]",ee="[object Function]",et="[object GeneratorFunction]",en="[object Map]",er="[object Number]",eo="[object Null]",ea="[object Object]",ei="[object Promise]",el="[object Proxy]",es="[object RegExp]",ed="[object Set]",ec="[object String]",eu="[object Symbol]",eh="[object Undefined]",ef="[object WeakMap]",ep="[object ArrayBuffer]",em="[object DataView]",eg=/^\[object .+?Constructor\]$/,eb=/^(?:0|[1-9]\d*)$/,ev={},ev["[object Float32Array]"]=ev["[object Float64Array]"]=ev["[object Int8Array]"]=ev["[object Int16Array]"]=ev["[object Int32Array]"]=ev["[object Uint8Array]"]=ev["[object Uint8ClampedArray]"]=ev["[object Uint16Array]"]=ev["[object Uint32Array]"]=!0,ev[K]=ev[Y]=ev[ep]=ev[Z]=ev[em]=ev[Q]=ev[J]=ev[ee]=ev[en]=ev[er]=ev[ea]=ev[es]=ev[ed]=ev[ec]=ev[ef]=!1,ex="object"==typeof rA&&rA&&rA.Object===Object&&rA,ey="object"==typeof self&&self&&self.Object===Object&&self,ek=ex||ey||Function("return this")(),ew=a&&!a.nodeType&&a,e_=ew&&o&&!o.nodeType&&o,eI=e_&&e_.exports===ew,eP=eI&&ex.process,eE=function(){try{return eP&&eP.binding&&eP.binding("util")}catch(e){}}(),ej=eE&&eE.isTypedArray,eS=Array.prototype,eO=Function.prototype,eC=Object.prototype,ez=ek["__core-js_shared__"],eT=eO.toString,eA=eC.hasOwnProperty,eF=(eN=/[^.]+$/.exec(ez&&ez.keys&&ez.keys.IE_PROTO||""),eN?"Symbol(src)_1."+eN:""),eL=eC.toString,eM=RegExp("^"+eT.call(eA).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eB=eI?ek.Buffer:void 0,eU=ek.Symbol,eR=ek.Uint8Array,eH=eC.propertyIsEnumerable,eD=eS.splice,eq=eU?eU.toStringTag:void 0,eG=Object.getOwnPropertySymbols,eX=eB?eB.isBuffer:void 0,eK=(eW=Object.keys,e$=Object,function(e){return eW(e$(e))}),eY=O(ek,"DataView"),eV=O(ek,"Map"),eZ=O(ek,"Promise"),eQ=O(ek,"Set"),eJ=O(ek,"WeakMap"),e0=O(Object,"create"),e1=L(eY),e2=L(eV),e3=L(eZ),e4=L(eQ),e5=L(eJ),e6=eU?eU.prototype:void 0,e7=e6?e6.valueOf:void 0,h.prototype.clear=function(){this.__data__=e0?e0(null):{},this.size=0},h.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},h.prototype.get=function(e){var t=this.__data__;if(e0){var n=t[e];return n===W?void 0:n}return eA.call(t,e)?t[e]:void 0},h.prototype.has=function(e){var t=this.__data__;return e0?void 0!==t[e]:eA.call(t,e)},h.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=e0&&void 0===t?W:t,this},f.prototype.clear=function(){this.__data__=[],this.size=0},f.prototype.delete=function(e){var t=this.__data__,n=v(t,e);return!(n<0)&&(n==t.length-1?t.pop():eD.call(t,n,1),--this.size,!0)},f.prototype.get=function(e){var t=this.__data__,n=v(t,e);return n<0?void 0:t[n][1]},f.prototype.has=function(e){return v(this.__data__,e)>-1},f.prototype.set=function(e,t){var n=this.__data__,r=v(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},p.prototype.clear=function(){this.size=0,this.__data__={hash:new h,map:new(eV||f),string:new h}},p.prototype.delete=function(e){var t=S(this,e).delete(e);return this.size-=t?1:0,t},p.prototype.get=function(e){return S(this,e).get(e)},p.prototype.has=function(e){return S(this,e).has(e)},p.prototype.set=function(e,t){var n=S(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},m.prototype.add=m.prototype.push=function(e){return this.__data__.set(e,W),this},m.prototype.has=function(e){return this.__data__.has(e)},g.prototype.clear=function(){this.__data__=new f,this.size=0},g.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},g.prototype.get=function(e){return this.__data__.get(e)},g.prototype.has=function(e){return this.__data__.has(e)},g.prototype.set=function(e,t){var n=this.__data__;if(tp._(n,f)){var r=n.__data__;if(!eV||r.length<q-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new p(r)}return n.set(e,t),this.size=n.size,this},e8=eG?function(e){return null==e?[]:i(eG(e=Object(e)),function(t){return eH.call(e,t)})}:function(){return[]},e9=y,(eY&&e9(new eY(new ArrayBuffer(1)))!=em||eV&&e9(new eV)!=en||eZ&&e9(eZ.resolve())!=ei||eQ&&e9(new eQ)!=ed||eJ&&e9(new eJ)!=ef)&&(e9=function(e){var t=y(e),n=t==ea?e.constructor:void 0,r=n?L(n):"";if(r)switch(r){case e1:return em;case e2:return en;case e3:return ei;case e4:return ed;case e5:return ef}return t}),te=k(function(){return arguments}())?k:function(e){return H(e)&&eA.call(e,"callee")&&!eH.call(e,"callee")},tt=Array.isArray,tn=eX||function(){return!1},to=ej?(tr=ej,function(e){return tr(e)}):function(e){return H(e)&&U(e.length)&&!!ev[y(e)]},o.exports=function(e,t){return function e(t,n,r,o,a){return t===n||(null!=t&&null!=n&&(H(t)||H(n))?w(t,n,r,o,e,a):t!=t&&n!=n)}(e,t)};var rB=rM.exports,rU=function(){return Math.floor(1e6*Math.random()+1e6*Math.random())},rR=function(e){try{return e.constructor.name}catch(e){return""}},rH=function(){function e(t,n,r){tc._(this,e),this.type=t,this.handleMessage=n,this.target=r,this.outgoingMessages=new Set;var o,a=this;this._messageListener=(o=td._(function(e){var t,n,r,o,i;return t_._(this,function(l){switch(l.label){case 0:if((n=e.data).$type!==a.getTypeId()||a.outgoingMessages.has(n.$id))return[2];r={$originId:a.internalId,$type:a.getTypeId(),$id:n.$id},l.label=1;case 1:return l.trys.push([1,3,,4]),[4,a.handleMessage(n.$data)];case 2:return o=l.sent(),r.$data=o,[3,4];case 3:return!(i=l.sent()).message&&console.error(i),r.$error={message:null!=(t=i.message)?t:"Unknown error"},[3,4];case 4:return e.source?e.source.postMessage(r,"*"):a._postMessage(r),[2]}})}),function(e){return o.apply(this,arguments)}),this.createConnection(),this.internalId=rU(),this.isWorker="Worker"===rR(r)}return tu._(e,[{key:"getTypeId",value:function(){return"p-".concat(this.type)}},{key:"createConnection",value:function(){self.addEventListener("message",this._messageListener)}},{key:"dispose",value:function(){self.removeEventListener("message",this._messageListener)}},{key:"sendMessage",value:function(e){var t=this;return new Promise(function(n){var r=rU(),o={$originId:t.internalId,$type:t.getTypeId(),$data:e,$id:r};t.outgoingMessages.add(r);var a=function(e){var o=e.data;o.$type===t.getTypeId()&&o.$id===r&&o.$originId!==t.internalId&&(n(o.$data),self.removeEventListener("message",a))};self.addEventListener("message",a),t._postMessage(o)})}},{key:"_postMessage",value:function(e){this.isWorker||"undefined"!=typeof DedicatedWorkerGlobalScope&&tp._(this.target,DedicatedWorkerGlobalScope)?this.target.postMessage(e):this.target.postMessage(e,"*")}}]),e}(),rD=function(){function e(t,n){tc._(this,e),this.globalListeners={},this.globalListenersCount=0,this.channelListeners={},this.channelListenersCount=0,this.channelId=Math.floor(1e6*Math.random()),this.frameWindow=t.contentWindow,this.origin=n,this.globalListeners=[],this.channelListeners=[],this.eventListener=this.eventListener.bind(this),"undefined"!=typeof window&&window.addEventListener("message",this.eventListener)}return tu._(e,[{key:"cleanup",value:function(){window.removeEventListener("message",this.eventListener),this.globalListeners={},this.channelListeners={},this.globalListenersCount=0,this.channelListenersCount=0}},{key:"register",value:function(){this.frameWindow&&this.frameWindow.postMessage({type:"register-frame",origin:document.location.origin,id:this.channelId},this.origin)}},{key:"dispatch",value:function(e){this.frameWindow&&this.frameWindow.postMessage(tm._({$id:this.channelId,codesandbox:!0},e),this.origin)}},{key:"globalListen",value:function(e){var t=this;if("function"!=typeof e)return function(){};var n=this.globalListenersCount;return this.globalListeners[n]=e,this.globalListenersCount++,function(){delete t.globalListeners[n]}}},{key:"channelListen",value:function(e){var t=this;if("function"!=typeof e)return function(){};var n=this.channelListenersCount;return this.channelListeners[n]=e,this.channelListenersCount++,function(){delete t.channelListeners[n]}}},{key:"eventListener",value:function(e){if(e.source!==this.frameWindow)return;var t=e.data;if(!!t.codesandbox)Object.values(this.globalListeners).forEach(function(e){return e(t)}),t.$id===this.channelId&&Object.values(this.channelListeners).forEach(function(e){return e(t)})}}]),e}();function rq(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/index.js";return JSON.stringify({name:"sandpack-project",main:n,dependencies:e,devDependencies:t},null,2)}var rW="https://".concat("0.19.0".replace(/\./g,"-"),"-sandpack.codesandbox.io/"),r$=function(){function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this;if(tc._(this,e),this.getTranspilerContext=function(){return new Promise(function(e){var t=a.listen(function(n){"transpiler-context"===n.type&&(e(n.data),t())});a.dispatch({type:"get-transpiler-context"})})},this.options=o,this.sandboxInfo=n,this.bundlerURL=o.bundlerURL||rW,this.bundlerState=void 0,this.errors=[],this.status="initializing","string"==typeof t){this.selector=t;var i=document.querySelector(t);if(!i)throw Error("No element found for selector '".concat(t,"'"));this.element=i,this.iframe=document.createElement("iframe"),this.initializeElement()}else this.element=t,this.iframe=t;!this.iframe.getAttribute("sandbox")&&this.iframe.setAttribute("sandbox","allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts");var l=o.startRoute?new URL(o.startRoute,this.bundlerURL).toString():this.bundlerURL;null==(r=this.iframe.contentWindow)||r.location.replace(l),this.iframeProtocol=new rD(this.iframe,this.bundlerURL),this.unsubscribeGlobalListener=this.iframeProtocol.globalListen(function(e){if("initialized"===e.type&&a.iframe.contentWindow){if(a.iframeProtocol.register(),a.options.fileResolver){var t;a.fileResolverProtocol=new rH("file-resolver",(t=td._(function(e){return t_._(this,function(t){return"isFile"===e.m?[2,a.options.fileResolver.isFile(e.p)]:[2,a.options.fileResolver.readFile(e.p)]})}),function(e){return t.apply(this,arguments)}),a.iframe.contentWindow)}a.updatePreview(a.sandboxInfo,!0)}}),this.unsubscribeChannelListener=this.iframeProtocol.channelListen(function(e){switch(e.type){case"start":a.errors=[];break;case"status":a.status=e.status;break;case"action":"show-error"===e.action&&(a.errors=tx._(a.errors).concat([function(e){if("SyntaxError"===e.title)return{title:e.title,path:e.path,message:e.message,line:e.line,column:e.column};var t=function(e){if(e)return e.find(function(e){return!!e._originalFileName})}(e.payload.frames);if(!t)return{message:e.message};var n=function(e){var t=e._originalScriptCode[e._originalScriptCode.length-1].lineNumber.toString().length,n=2+t+3+e._originalColumnNumber;return e._originalScriptCode.reduce(function(e,r){var o=r.highlight?">":" ",a=r.lineNumber.toString().length===t?"".concat(r.lineNumber):" ".concat(r.lineNumber),i=r.highlight?"\n"+" ".repeat(n)+"^":"";return e+"\n"+o+" "+a+" | "+r.content+i},"")}(t),r=function(e){return e?" (".concat(e._originalLineNumber,":").concat(e._originalColumnNumber,")"):""}(t);return{message:function(e,t,n,r){return"".concat(e,": ").concat(t).concat(n,"\n").concat(r)}(t._originalFileName,e.message,r,n),title:e.title,path:t._originalFileName,line:t._originalLineNumber,column:t._originalColumnNumber}}(e)]));break;case"state":a.bundlerState=e.state}})}return tu._(e,[{key:"cleanup",value:function(){this.unsubscribeChannelListener(),this.unsubscribeGlobalListener(),this.iframeProtocol.cleanup()}},{key:"updateOptions",value:function(e){!rB(this.options,e)&&(this.options=e,this.updatePreview())}},{key:"updatePreview",value:function(){var e,t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.sandboxInfo,a=arguments.length>1?arguments[1]:void 0;this.sandboxInfo=tm._({},this.sandboxInfo,o);var i=this.getFiles(),l=Object.keys(i).reduce(function(e,t){return tg._(tm._({},e),th._({},t,{code:i[t].code,path:t}))},{}),s=JSON.parse(rq(this.sandboxInfo.dependencies,this.sandboxInfo.devDependencies,this.sandboxInfo.entry));try{s=JSON.parse(i["/package.json"].code)}catch(e){console.error("Could not parse package.json file: "+e.message)}var d=Object.keys(i).reduce(function(e,t){return tg._(tm._({},e),th._({},t,{content:i[t].code,path:t}))},{});this.dispatch({type:"compile",codesandbox:!0,version:3,isInitializationCompile:a,modules:l,reactDevTools:this.options.reactDevTools,externalResources:this.options.externalResources||[],hasFileResolver:!!this.options.fileResolver,disableDependencyPreprocessing:this.sandboxInfo.disableDependencyPreprocessing,template:this.sandboxInfo.template||rL(s,d),showOpenInCodeSandbox:null==(e=this.options.showOpenInCodeSandbox)||e,showErrorScreen:null==(t=this.options.showErrorScreen)||t,showLoadingScreen:null==(n=this.options.showLoadingScreen)||n,skipEval:this.options.skipEval||!1,clearConsoleDisabled:!this.options.clearConsoleOnFirstCompile,logLevel:null!=(r=this.options.logLevel)?r:tl.Info})}},{key:"dispatch",value:function(e){this.iframeProtocol.dispatch(e)}},{key:"listen",value:function(e){return this.iframeProtocol.channelListen(e)}},{key:"getCodeSandboxURL",value:function(){var e=this.getFiles(),t=Object.keys(e).reduce(function(t,n){return tg._(tm._({},t),th._({},n.replace("/",""),{content:e[n].code,isBinary:!1}))},{});return fetch("https://codesandbox.io/api/v1/sandboxes/define?json=1",{method:"POST",body:JSON.stringify({files:t}),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(e){return e.json()}).then(function(e){return{sandboxId:e.sandbox_id,editorUrl:"https://codesandbox.io/s/".concat(e.sandbox_id),embedUrl:"https://codesandbox.io/embed/".concat(e.sandbox_id)}})}},{key:"getFiles",value:function(){var e=this.sandboxInfo;return void 0===e.files["/package.json"]?function(e,t,n,r){var o=tm._({},e);if(!o["/package.json"]){if(!t)throw Error("No dependencies specified, please specify either a package.json or dependencies.");if(!r)throw Error("Missing 'entry' parameter. Either specify an entry point, or pass in a package.json with the 'main' field set.");o["/package.json"]={code:rq(t,n,r)}}return o}(e.files,e.dependencies,e.devDependencies,e.entry):this.sandboxInfo.files}},{key:"initializeElement",value:function(){if(this.iframe.style.border="0",this.iframe.style.width=this.options.width||"100%",this.iframe.style.height=this.options.height||"100%",this.iframe.style.overflow="hidden",!this.element.parentNode)throw Error("Given element does not have a parent.");this.element.parentNode.replaceChild(this.iframe,this.element)}}]),e}();function rG(e){var t=e.className,n=e.files,r=e.presetConfig,o=e.show,a=e.children,i=e.codeConfig,l=e.style,s=e.frameless,d=tE(e,["className","files","presetConfig","show","children","codeConfig","style","frameless"]),c=r?tI.default.createElement(rX,{files:n,presetConfig:r}):a;return tI.default.createElement("div",{className:"ch-preview"+(t?" "+t:""),style:l},s?c:tI.default.createElement(rT,Object.assign({loadUrl:o,theme:i.theme},d,{children:c})))}function rX(e){var t=e.files,n=e.presetConfig,r=tI.default.useRef(null),o=tI.default.useRef(null);return tI.default.useEffect(function(){o.current=new r$(r.current,Object.assign(Object.assign({},n),{files:rK(n.files,t)}),{showOpenInCodeSandbox:!1})},[]),tI.default.useEffect(function(){o.current&&o.current.updatePreview(Object.assign(Object.assign({},n),{files:rK(n.files,t)}))},[t]),tI.default.createElement("iframe",{ref:r})}function rK(e,t){var n=Object.assign({},e);return t.forEach(function(e){n["/"+e.name]={code:e.code.lines.map(function(e){return e.tokens.map(function(e){return e.content}).join("")}).join("\n")}}),n}function rY(e,t){var n=tI.default.Children.toArray(e);return{stepsChildren:t?n.slice(0,n.length/2):n,previewChildren:t?n.slice(n.length/2):void 0}}function rV(e){var t,n=e.children,r=e.editorSteps,o=e.codeConfig,a=e.start,i=void 0===a?0:a,l=e.presetConfig,s=e.className,d=e.style,c=e.hasPreviewSteps,u=tE(e,["children","editorSteps","codeConfig","start","presetConfig","className","style","hasPreviewSteps"]),h=rY(n,c),f=h.stepsChildren,p=h.previewChildren,m=l||c,g=tb._(tI.default.useState({stepIndex:i,step:r[i]}),2),b=g[0],v=g[1],x=b.step,y=f[0];return tI.default.createElement("section",{className:"ch-spotlight ".concat(m?"ch-spotlight-with-preview":""," ").concat(s||""),style:d},tI.default.createElement("div",{className:"ch-spotlight-tabs"},(null===(t=null==y?void 0:y.props)||void 0===t?void 0:t.children)?tI.default.createElement("div",null,f[0]):null,f.map(function(e,t){return 0===t?null:tI.default.createElement("div",{key:t,onClick:function(){return v({stepIndex:t,step:r[t]})},className:"ch-spotlight-tab","data-selected":t===b.stepIndex?"true":void 0},e)})),tI.default.createElement("div",{className:"ch-spotlight-sticker"},tI.default.createElement(rx,Object.assign({},u,x,{codeConfig:o,onTabClick:function(e){var t=ry(b.step,e,null);v(Object.assign(Object.assign({},b),{step:t}))}})),l?tI.default.createElement(rG,{className:"ch-spotlight-preview",files:x.files,presetConfig:l,codeConfig:o}):c?tI.default.createElement(rG,Object.assign({className:"ch-spotlight-preview"},p[b.stepIndex].props)):null))}(ta=tl||(tl={}))[ta.None=0]="None",ta[ta.Error=10]="Error",ta[ta.Warning=20]="Warning",ta[ta.Info=30]="Info",ta[ta.Debug=40]="Debug";function rZ(e){var t,n=(null===(t=e.rootBounds)||void 0===t?void 0:t.height)||0;rQ(e.rootBounds,{border:"".concat(Math.min(10,n/2),"px solid ").concat(rJ.rootColor),overflow:"hidden",boxSizing:"border-box"}),rQ(e.boundingClientRect,{border:"".concat(Math.min(10,e.boundingClientRect.height/2),"px solid ").concat(e.isIntersecting?rJ.enterColor:rJ.exitColor),overflow:"hidden",boxSizing:"border-box"}),rQ(e.intersectionRect,{backgroundColor:rJ.interColor,zIndex:2})}function rQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.width,r=e.left,o=e.height,a=e.top,i=document.createElement("div");return i.style.position="fixed",i.style.width=n+"px",i.style.left=r+"px",i.style.top=a+"px",i.style.height=o+"px",i.style.pointerEvents="none",i.style.transition="opacity 2s ease-in",Object.assign(i.style,t),requestAnimationFrame(function(){return requestAnimationFrame(function(){i.style.opacity="0"})}),i.addEventListener("transitionend",function(){document.body.removeChild(i)}),document.body.appendChild(i),i}var rJ={rootColor:"#9428AB",enterColor:"#B35C00",exitColor:"#035570",interColor:"#9CAF00BB"},r0="undefined"!=typeof window?tI.default.useLayoutEffect:tI.default.useEffect,r1=tI.default.createContext(void 0),r2="undefined"!=typeof window?tI.default.useLayoutEffect:tI.default.useEffect;function r3(e){var t,n,r,o,a,i=e.onStepChange,l=e.children,s=e.getRootMargin,d=void 0===s?r5:s,c=e.debug,u=void 0!==c&&c,h=tb._(tI.default.useState(),2),f=h[0],p=h[1];var m=(t=function(){return n?document.documentElement.clientHeight:void 0},n="object"==typeof window,r=tb._(tI.default.useState(t),2),o=r[0],a=r[1],tI.default.useEffect(function(){var e=function(){a(t())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),r0(function(){a(t())},[]),o);return r2(function(){var e=m||0,t=function(e,t){return new IntersectionObserver(e,{rootMargin:t,threshold:1e-6,root:null})}(function(e){(u||window.chDebugScroller)&&!function(e){e.forEach(rZ)}(e),e.forEach(function(e){e.intersectionRatio>0&&i(+e.target.stepIndex)})},d(e));return p(t),function(){return t.disconnect()}},[m]),tI.default.createElement(r1.Provider,{value:f},l)}function r4(e){var t=e.as,n=void 0===t?"section":t,r=e.index,o=tE(e,["as","index"]),a=tI.default.useRef(null),i=tI.default.useContext(r1);return r2(function(){return i&&i.observe(a.current),function(){return i&&i.unobserve(a.current)}},[i]),r2(function(){a.current.stepIndex=r},[r]),tI.default.createElement(n,Object.assign(Object.assign({},o),{ref:a}))}function r5(e){return"-".concat(e/2-2,"px 0px")}var r6=0;function r7(e){var t=e.match,n=t.map(function(e){return tb._(e,1)[0]}),r=function(e){var t="undefined"==typeof window,n=e.slice(0,-1);"default"!==e[e.length-1]&&console.warn("last media query should be 'default'");var r=tb._(tI.default.useState(0),2)[1],o=t?[]:n.map(function(e){return window.matchMedia(e)});tI.default.useEffect(function(){var e=function(){return r(function(e){return e+1})};return o.forEach(function(t){return t.addListener(e)}),function(){return o.forEach(function(t){return t.removeListener(e)})}},[]);var a=o.findIndex(function(e){return e.matches});return{isServer:t,matchedIndex:a<0?e.length-1:a}}(n),o=r.isServer,a=r.matchedIndex,i=o?"ssmq-"+r6++:"";return o?tI.default.createElement(tI.default.Fragment,null,tI.default.createElement("style",{className:i,dangerouslySetInnerHTML:{__html:function(e,t){return e.slice().reverse().map(function(e){var n=".".concat(t,".").concat(r8(e),"{display:block}"),r=".".concat(t,":not(.").concat(r8(e),"){display: none;}");return"default"===e?"".concat(n).concat(r):"@media ".concat(e,"{").concat(n).concat(r,"}")}).join("\n")}(n,i)}}),t.map(function(e){var t=tb._(e,2),n=t[0],r=t[1];return tI.default.createElement("div",{key:n,className:"".concat(i," ").concat(r8(n))},r)}),tI.default.createElement("script",{className:i,dangerouslySetInnerHTML:{__html:function(e,t){var n=e.map(function(e){return tb._(e,1)[0]}),r=n.map(r8);return"(function() {\n var qs = ".concat(JSON.stringify(n),";\n var clss = ").concat(JSON.stringify(r),';\n var mainCls = "').concat(t,'";\n\n var scrEls = document.getElementsByTagName("script");\n var scrEl = scrEls[scrEls.length - 1];\n var parent = scrEl.parentNode;\n\n var el = null;\n for (var i = 0; i < qs.length - 1; i++) {\n if (window.matchMedia(qs[i]).matches) {\n el = parent.querySelector(":scope > ." + mainCls + "." + clss[i]);\n break;\n }\n }\n if (!el) {\n var defaultClass = clss.pop();\n el = parent.querySelector(":scope > ." + mainCls + "." + defaultClass);\n }\n el.removeAttribute("class");\n\n parent.querySelectorAll(":scope > ." + mainCls).forEach(function (e) {\n parent.removeChild(e);\n });\n})();')}(t,i)}})):tI.default.createElement(tI.default.Fragment,null,tI.default.createElement("div",null,t[a][1]))}function r8(e){return"ssmq-"+e.replace(/[!\"#$%&'\(\)\*\+,\.\/:;<=>\?\@\[\\\]\^`\{\|\}~\s]/g,"").toLowerCase()}function r9(){var e=tI.default.useContext(or);return e?tI.default.createElement(oe,Object.assign({},e)):null}function oe(e){var t=e.editorStep,n=e.setFocus,r=tE(t,["preset","presetConfig"]);return tI.default.createElement(rx,Object.assign({},r,{onTabClick:function(e){n({fileName:e,focus:null,id:""})}}))}function ot(){var e=tI.default.useContext(or);return e?tI.default.createElement(on,Object.assign({},e)):null}function on(e){var t=e.previewStep,n=e.allProps,r=e.editorStep,o=tE(n,["preset"]);return tI.default.createElement(rG,Object.assign({className:"ch-scrollycoding-preview"},o,null==t?void 0:t.props,{files:r.files}))}var or=tI.default.createContext(null);function oo(e){return tI.default.createElement(r7,{match:[[e.codeConfig.staticMediaQuery,tI.default.createElement(oa,Object.assign({},e))],["default",tI.default.createElement(ol,Object.assign({},e))]]})}function oa(e){var t=e.children,n=e.hasPreviewSteps,r=e.editorSteps,o=tE(e,["children","hasPreviewSteps","editorSteps"]),a=rY(t,n),i=a.stepsChildren,l=a.previewChildren;return tI.default.createElement("section",{className:"ch-scrollycoding-static"},i.map(function(e,t){return tI.default.createElement(oi,{key:t,editorStep:r[t],previewStep:l&&l[t],allProps:o},e)}))}function oi(e){var t=e.editorStep,n=e.previewStep,r=e.allProps,o=e.children,a=tb._(tI.default.useState(Object.assign(Object.assign({},t),r)),2),i=a[0],l=a[1],s=function(e){var t=e.fileName,n=e.focus,r=e.id,o=ry(i,t,n);l(Object.assign(Object.assign(Object.assign({},i),o),{selectedId:r}))};return tI.default.createElement(or.Provider,{value:{editorStep:i,previewStep:n,allProps:r,setFocus:s}},tI.default.createElement(rE,{onActivation:s,onReset:function(){return l(Object.assign(Object.assign({},t),r))}},o))}function ol(e){var t=function(e){x({stepIndex:e,step:o[e]})},n=function(e,t,n){var r=ry(o[e],t,n);x(Object.assign(Object.assign({},v),{stepIndex:e,step:r}))},r=e.children,o=e.editorSteps,a=e.codeConfig,i=e.presetConfig,l=e.start,s=void 0===l?0:l,d=e.className,c=e.style,u=e.hasPreviewSteps,h=tE(e,["children","editorSteps","codeConfig","presetConfig","start","className","style","hasPreviewSteps"]),f=rY(r,u),p=f.stepsChildren,m=f.previewChildren,g=i||u,b=tb._(tI.default.useState({stepIndex:s,step:o[s]}),2),v=b[0],x=b[1],y=v.step;return tI.default.createElement("section",{className:"ch-scrollycoding ".concat(g?"ch-scrollycoding-with-preview":""," ").concat(d||""),style:c},tI.default.createElement("div",{className:"ch-scrollycoding-content"},tI.default.createElement(r3,{onStepChange:t},p.map(function(e,r){return tI.default.createElement(r4,{as:"div",key:r,index:r,onClick:function(){return t(r)},className:"ch-scrollycoding-step-content","data-selected":r===v.stepIndex?"true":void 0},tI.default.createElement(rE,{onActivation:function(e){n(r,e.fileName,e.focus)},onReset:function(){t(r)}},e))}))),tI.default.createElement("div",{className:"ch-scrollycoding-sticker"},tI.default.createElement(rx,Object.assign({showExpandButton:!0},h,y,{codeConfig:a,onTabClick:function(e){var t=ry(v.step,e,null);x(Object.assign(Object.assign({},v),{step:t}))}})),i?tI.default.createElement(rG,{className:"ch-scrollycoding-preview",files:y.files,presetConfig:i,codeConfig:a}):u?tI.default.createElement(rG,Object.assign({className:"ch-scrollycoding-preview"},m[v.stepIndex].props)):null))}function os(e){var t,n,r,o=function(e){var t=tV(e,0,S);z({stepIndex:t,step:c[t]})},a=function(){z(function(e){var t=k?(e.stepIndex+1)%(S+1):tV(e.stepIndex+1,0,S);return{stepIndex:t,step:c[t]}})},i=e.children,l=e.className,s=e.code,d=e.codeConfig,c=e.editorSteps,u=e.autoFocus,h=e.hasPreviewSteps,f=e.start,p=void 0===f?0:f,m=e.onChange,g=void 0===m?function(){}:m,b=e.presetConfig,v=e.style,x=e.autoPlay,y=e.loop,k=void 0!==y&&y,w=tE(e,["children","className","code","codeConfig","editorSteps","autoFocus","hasPreviewSteps","start","onChange","presetConfig","style","autoPlay","loop"]),_=rY(i,h),I=_.stepsChildren,P=_.previewChildren,E=b||h,j=I.some(function(e){var t;return null===(t=e.props)||void 0===t?void 0:t.children}),S=c.length-1,O=tb._(tI.default.useState(function(){var e=tV(p,0,S);return{stepIndex:e,step:c[e]}}),2),C=O[0],z=O[1],T=C.stepIndex,A=C.step,N=T===S;return tI.default.useEffect(function(){g({index:T})},[T]),t=a,n=x,r=tI.default.useRef(t),tI.default.useEffect(function(){r.current=t},[t]),tI.default.useEffect(function(){if(n||0===n){var e=setInterval(function(){return r.current()},n);return function(){return clearInterval(e)}}},[n]),tI.default.createElement("div",{className:"ch-slideshow ".concat(E?"ch-slideshow-with-preview":""," ").concat(l||""),style:v},tI.default.createElement("div",{className:"ch-slideshow-slide"},tI.default.createElement(rx,Object.assign({},w,A,{codeConfig:Object.assign(Object.assign({},d),s),onTabClick:function(e){var t=ry(A,e,null);z(Object.assign(Object.assign({},C),{step:t}))}})),b?tI.default.createElement(rG,{className:"ch-slideshow-preview",files:A.files,presetConfig:b,codeConfig:d}):h?tI.default.createElement(rG,Object.assign({className:"ch-slideshow-preview"},P[T].props)):null),tI.default.createElement("div",{className:"ch-slideshow-notes"},tI.default.createElement("div",{className:"ch-slideshow-range"},tI.default.createElement("button",{onClick:function(){return o(T-1)},disabled:0===T},"Prev"),tI.default.createElement("input",{max:S,min:0,step:1,type:"range",value:T,onChange:function(e){return o(+e.target.value)},ref:function(e){var t=tI.default.useRef(null);return tI.default.useEffect(function(){e&&t.current.focus()},[]),t}(u),autoFocus:u}),tI.default.createElement("button",{onClick:a,disabled:N},"Next")),j&&tI.default.createElement("div",{className:"ch-slideshow-note"},I[T])))}function od(){return tI.default.createElement("div",null,'"error: code hike remark plugin not running or annotation isn\'t at the right place"')}var oc={box:function(e){var t,n,r=e.children,o=e.data,a=e.theme,i="string"==typeof o?o:(null===(n=null===(t=a.tokenColors.find(function(e){var t;return null===(t=e.scope)||void 0===t?void 0:t.includes("string")}))||void 0===t?void 0:t.settings)||void 0===n?void 0:n.foreground)||"yellow";return tI.default.createElement("span",{className:"ch-code-box-annotation",style:{outline:"2px solid ".concat(i)}},r)},bg:ou,label:function(e){var t=e.children,n=e.data,r=e.style,o=e.theme,a=o.colors["editor.lineHighlightBackground"]||o.colors["editor.selectionHighlightBackground"],i=tb._(tI.default.useState(!1),2),l=i[0],s=i[1];return tI.default.createElement("div",{style:Object.assign(Object.assign({},r),{background:l?a:void 0}),onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)}},t,tI.default.createElement("div",{style:{position:"absolute",right:0,paddingRight:16,display:l?"block":"none",opacity:.7}},(null==n?void 0:n.children)||n))},link:function(e){var t=e.children,n=e.isInline,r=e.style,o=e.data,a=(null==o?void 0:o.url)||o,i=null==o?void 0:o.title;return tI.default.createElement("a",{href:a,title:i,className:n?"ch-code-inline-link":"ch-code-link",style:r},t)},mark:function(e){return e.isInline?tI.default.createElement(oh,Object.assign({},e)):tI.default.createElement(ou,Object.assign({},e))},withClass:function(e){var t=e.children,n=e.data,r=e.style;return e.theme,tI.default.createElement("span",{style:r,className:n},t)}};function ou(e){var t=e.children,n=e.data,r=e.style,o=e.theme,a=tW(o,ti.RangeHighlightBackground),i=tW(o,ti.EditorInfoForeground);return tI.default.createElement("div",{style:Object.assign(Object.assign({},r),{background:a}),className:"ch-code-multiline-mark "+(null!=n?n:"")},tI.default.createElement("span",{className:"ch-code-multiline-mark-border",style:{background:i}}),t)}function oh(e){var t=e.children,n=e.data,r=e.theme,o=function(e){var t,n,r,o=tI.default.Children.toArray(e)[0],a=tI.default.Children.toArray((null===(t=null==o?void 0:o.props)||void 0===t?void 0:t.children)||[])[0],i=tI.default.Children.toArray((null===(n=null==a?void 0:a.props)||void 0===n?void 0:n.children)||[])[0],l=((null===(r=null==i?void 0:i.props)||void 0===r?void 0:r.style)||{}).color;if(l)return tS(l,.2)}(t)||tS(tW(r,ti.CodeForeground),.2);return tI.default.createElement("span",{className:"ch-code-inline-mark "+(null!=n?n:""),style:{background:o}},t)}function of(e){var t,n=e.className,r=e.codeConfig,o=(e.children,e.code),a=tE(e,["className","codeConfig","children","code"]),i=r.theme,l=o.lines.flatMap(function(e){return e.tokens}),s=tW(i,ti.CodeForeground);return tI.default.createElement("span",Object.assign({className:"ch-inline-code not-prose"+(n?" "+n:"")},a),tI.default.createElement("code",{style:(t={},th._(t,"--ch-code-foreground",s),th._(t,"background",tS(tW(i,ti.CodeBackground),.9)),th._(t,"color",s),t)},l.map(function(e,t){return tI.default.createElement("span",Object.assign({key:t},e.props),e.content)})))}var op={Code:rv,Section:rw,SectionLink:rI,SectionCode:r_,Spotlight:rV,Scrollycoding:oo,Preview:rG,annotations:oc,Annotation:od,Slideshow:os,InlineCode:of,CodeSlot:r9,PreviewSlot:ot},om={MiniBrowser:rT,EditorSpring:rb}},51737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return o}});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},87537:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return H}});var r,o,a=n("37599"),i=n("15169"),l=n("43932"),s=n("85056"),d=n("28003"),c=n("93160"),u=n.ir(n("6171")),h=n("61377"),f=n("21370"),p=n("53483"),m=n("51737"),g=n("79677"),b=n("49353"),v=n("89571"),x=n("43561"),y=n("77996"),k=n("91069"),w=n("95661"),_=n("91735"),I=n("21803"),P=n("77282");var E=((r=E||{})[r.SetSelectedIndex=0]="SetSelectedIndex",r[r.RegisterTab=1]="RegisterTab",r[r.UnregisterTab=2]="UnregisterTab",r[r.RegisterPanel=3]="RegisterPanel",r[r.UnregisterPanel=4]="UnregisterPanel",r),j=(o={},a._(o,0,function(e,t){var n=e.tabs.filter(function(e){var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))});if(t.index<0)return l._(i._({},e),{selectedIndex:e.tabs.indexOf(n[0])});if(t.index>e.tabs.length)return l._(i._({},e),{selectedIndex:e.tabs.indexOf(n[n.length-1])});var r=e.tabs.slice(0,t.index),o=c._(e.tabs.slice(t.index)).concat(c._(r)).find(function(e){return n.includes(e)});return o?l._(i._({},e),{selectedIndex:e.tabs.indexOf(o)}):e}),a._(o,1,function(e,t){if(e.tabs.includes(t.tab))return e;var n,r=e.tabs[e.selectedIndex],o=(0,g.sortByDomNode)(c._(e.tabs).concat([t.tab]),function(e){return e.current}),a=null!=(n=o.indexOf(r))?n:e.selectedIndex;return -1===a&&(a=e.selectedIndex),l._(i._({},e),{tabs:o,selectedIndex:a})}),a._(o,2,function(e,t){return l._(i._({},e),{tabs:e.tabs.filter(function(e){return e!==t.tab})})}),a._(o,3,function(e,t){return e.panels.includes(t.panel)?e:l._(i._({},e),{panels:(0,g.sortByDomNode)(c._(e.panels).concat([t.panel]),function(e){return e.current})})}),a._(o,4,function(e,t){return l._(i._({},e),{panels:e.panels.filter(function(e){return e!==t.panel})})}),o),S=(0,u.createContext)(null);function O(e){var t=(0,u.useContext)(S);if(null===t){var n=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,O),n}return t}S.displayName="TabsSSRContext";var C=(0,u.createContext)(null);function z(e){var t=(0,u.useContext)(C);if(null===t){var n=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,z),n}return t}C.displayName="TabsDataContext";var T=(0,u.createContext)(null);function A(e){var t=(0,u.useContext)(T);if(null===t){var n=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,A),n}return t}function N(e,t){return(0,p.match)(t.type,j,e,t)}T.displayName="TabsActionsContext";var F=u.Fragment,L=(0,h.forwardRefWithAs)(function(e,t){var n=e.defaultIndex,r=void 0===n?0:n,o=e.vertical,a=e.manual,l=e.onChange,c=e.selectedIndex,f=void 0===c?null:c,p=s._(e,["defaultIndex","vertical","manual","onChange","selectedIndex"]),m=void 0!==o&&o?"vertical":"horizontal",g=void 0!==a&&a?"manual":"auto",x=null!==f,_=(0,v.useSyncRefs)(t),I=d._((0,u.useReducer)(N,{selectedIndex:null!=f?f:r,tabs:[],panels:[]}),2),P=I[0],E=I[1],j=(0,u.useMemo)(function(){return{selectedIndex:P.selectedIndex}},[P.selectedIndex]),O=(0,y.useLatestValue)(l||function(){}),z=(0,y.useLatestValue)(P.tabs),A=(0,u.useMemo)(function(){return i._({orientation:m,activation:g},P)},[m,g,P]),L=(0,w.useEvent)(function(e){return E({type:1,tab:e}),function(){return E({type:2,tab:e})}}),M=(0,w.useEvent)(function(e){return E({type:3,panel:e}),function(){return E({type:4,panel:e})}}),B=(0,w.useEvent)(function(e){U.current!==e&&O.current(e),x||E({type:0,index:e})}),U=(0,y.useLatestValue)(x?e.selectedIndex:P.selectedIndex),R=(0,u.useMemo)(function(){return{registerTab:L,registerPanel:M,change:B}},[]);(0,b.useIsoMorphicEffect)(function(){E({type:0,index:null!=f?f:r})},[f]);var H=(0,u.useRef)({tabs:[],panels:[]});return u.default.createElement(S.Provider,{value:H},u.default.createElement(T.Provider,{value:R},u.default.createElement(C.Provider,{value:A},A.tabs.length<=0&&u.default.createElement(k.FocusSentinel,{onFocus:function(){var e=!0,t=!1,n=void 0;try{for(var r,o,a,i=z.current[Symbol.iterator]();!(e=(a=i.next()).done);e=!0){var l=a.value;if((null==(r=l.current)?void 0:r.tabIndex)===0)return null==(o=l.current)||o.focus(),!0}}catch(e){t=!0,n=e}finally{try{!e&&null!=i.return&&i.return()}finally{if(t)throw n}}return!1}}),(0,h.render)({ourProps:{ref:_},theirProps:p,slot:j,defaultTag:F,name:"Tabs"}))))}),M=(0,h.forwardRefWithAs)(function(e,t){var n=z("Tab.List"),r=n.orientation,o=n.selectedIndex,a=(0,v.useSyncRefs)(t);return(0,h.render)({ourProps:{ref:a,role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:o},defaultTag:"div",name:"Tabs.List"})}),B=(0,h.forwardRefWithAs)(function(e,t){var n,r,o=(0,f.useId)(),a=e.id,i=void 0===a?"headlessui-tabs-tab-".concat(o):a,l=s._(e,["id"]),d=z("Tab"),c=d.orientation,y=d.activation,k=d.selectedIndex,I=d.tabs,E=d.panels,j=A("Tab"),S=z("Tab"),C=O("Tab"),T=(0,u.useRef)(null),N=(0,v.useSyncRefs)(T,t);(0,b.useIsoMorphicEffect)(function(){return j.registerTab(T)},[j,T]);var F=C.current.tabs.indexOf(i);-1===F&&(F=C.current.tabs.push(i)-1);var L=I.indexOf(T);-1===L&&(L=F);var M=L===k,B=(0,w.useEvent)(function(e){var t,n=e();if(n===g.FocusResult.Success&&"auto"===y){var r=null==(t=(0,P.getOwnerDocument)(T))?void 0:t.activeElement,o=S.tabs.findIndex(function(e){return e.current===r});-1!==o&&j.change(o)}return n}),U=(0,w.useEvent)(function(e){var t=I.map(function(e){return e.current}).filter(Boolean);if(e.key===m.Keys.Space||e.key===m.Keys.Enter){e.preventDefault(),e.stopPropagation(),j.change(L);return}switch(e.key){case m.Keys.Home:case m.Keys.PageUp:return e.preventDefault(),e.stopPropagation(),B(function(){return(0,g.focusIn)(t,g.Focus.First)});case m.Keys.End:case m.Keys.PageDown:return e.preventDefault(),e.stopPropagation(),B(function(){return(0,g.focusIn)(t,g.Focus.Last)})}if(B(function(){return(0,p.match)(c,{vertical:function(){return e.key===m.Keys.ArrowUp?(0,g.focusIn)(t,g.Focus.Previous|g.Focus.WrapAround):e.key===m.Keys.ArrowDown?(0,g.focusIn)(t,g.Focus.Next|g.Focus.WrapAround):g.FocusResult.Error},horizontal:function(){return e.key===m.Keys.ArrowLeft?(0,g.focusIn)(t,g.Focus.Previous|g.Focus.WrapAround):e.key===m.Keys.ArrowRight?(0,g.focusIn)(t,g.Focus.Next|g.Focus.WrapAround):g.FocusResult.Error}})})===g.FocusResult.Success)return e.preventDefault()}),R=(0,u.useRef)(!1),H=(0,w.useEvent)(function(){var e;R.current||(R.current=!0,null==(e=T.current)||e.focus(),j.change(L),(0,_.microTask)(function(){R.current=!1}))}),D=(0,w.useEvent)(function(e){e.preventDefault()}),q=(0,u.useMemo)(function(){return{selected:M}},[M]),W={ref:N,onKeyDown:U,onMouseDown:D,onClick:H,id:i,role:"tab",type:(0,x.useResolveButtonType)(e,T),"aria-controls":null==(r=null==(n=E[L])?void 0:n.current)?void 0:r.id,"aria-selected":M,tabIndex:M?0:-1};return(0,h.render)({ourProps:W,theirProps:l,slot:q,defaultTag:"button",name:"Tabs.Tab"})}),U=(0,h.forwardRefWithAs)(function(e,t){var n=z("Tab.Panels").selectedIndex,r=(0,v.useSyncRefs)(t),o=(0,u.useMemo)(function(){return{selectedIndex:n}},[n]);return(0,h.render)({ourProps:{ref:r},theirProps:e,slot:o,defaultTag:"div",name:"Tabs.Panels"})}),R=h.Features.RenderStrategy|h.Features.Static,H=Object.assign(B,{Group:L,List:M,Panels:U,Panel:(0,h.forwardRefWithAs)(function(e,t){var n,r,o,a,l=(0,f.useId)(),d=e.id,c=void 0===d?"headlessui-tabs-panel-".concat(l):d,p=s._(e,["id"]),m=z("Tab.Panel"),g=m.selectedIndex,x=m.tabs,y=m.panels,k=A("Tab.Panel"),w=O("Tab.Panel"),_=(0,u.useRef)(null),P=(0,v.useSyncRefs)(_,t);(0,b.useIsoMorphicEffect)(function(){return k.registerPanel(_)},[k,_]);var E=w.current.panels.indexOf(c);-1===E&&(E=w.current.panels.push(c)-1);var j=y.indexOf(_);-1===j&&(j=E);var S=j===g,C=(0,u.useMemo)(function(){return{selected:S}},[S]),T={ref:P,id:c,role:"tabpanel","aria-labelledby":null==(r=null==(n=x[j])?void 0:n.current)?void 0:r.id,tabIndex:S?0:-1};return S||null!=(o=p.unmount)&&!o||null!=(a=p.static)&&a?(0,h.render)({ourProps:T,theirProps:p,slot:C,defaultTag:"div",features:R,visible:S,name:"Tabs.Panel"}):u.default.createElement(I.Hidden,i._({as:"span"},T))})})},26463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.es(n("87537"),t)},95661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useEvent",{enumerable:!0,get:function(){return i}});var r=n("93160"),o=n.ir(n("6171")),a=n("77996"),i=function(e){var t=(0,a.useLatestValue)(e);return o.default.useCallback(function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.current.apply(t,r._(n))},[t])}},21370:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return c}});var r,o=n("28003"),a=n.ir(n("6171")),i=n("49353"),l=n("83251"),s=0;function d(){return++s}var c=null!=(r=a.default.useId)?r:function(){var e=(0,l.useServerHandoffComplete)(),t=o._(a.default.useState(e?d:null),2),n=t[0],r=t[1];return(0,i.useIsoMorphicEffect)(function(){null===n&&r(d())},[n]),null!=n?""+n:void 0}},49353:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIsoMorphicEffect",{enumerable:!0,get:function(){return o}});var r=n("6171"),o=n("46382").isServer?r.useEffect:r.useLayoutEffect},77996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useLatestValue",{enumerable:!0,get:function(){return a}});var r=n("6171"),o=n("49353");function a(e){var t=(0,r.useRef)(e);return(0,o.useIsoMorphicEffect)(function(){t.current=e},[e]),t}},43561:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useResolveButtonType",{enumerable:!0,get:function(){return s}});var r=n("20891"),o=n("28003"),a=n("6171"),i=n("49353");function l(e){if(e.type)return e.type;var t,n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function s(e,t){var n=o._((0,a.useState)(function(){return l(e)}),2),s=n[0],d=n[1];return(0,i.useIsoMorphicEffect)(function(){d(l(e))},[e.type,e.as]),(0,i.useIsoMorphicEffect)(function(){s||!t.current||r._(t.current,HTMLButtonElement)&&!t.current.hasAttribute("type")&&d("button")},[s,t]),s}},83251:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useServerHandoffComplete",{enumerable:!0,get:function(){return i}});var r=n("28003"),o=n("6171"),a={serverHandoffComplete:!1};function i(){var e=r._((0,o.useState)(a.serverHandoffComplete),2),t=e[0],n=e[1];return(0,o.useEffect)(function(){!0!==t&&n(!0)},[t]),(0,o.useEffect)(function(){!1===a.serverHandoffComplete&&(a.serverHandoffComplete=!0)},[]),t}},89571:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useSyncRefs",{enumerable:!0,get:function(){return i}});var r=n("6171"),o=n("95661"),a=Symbol();function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=(0,r.useRef)(t);(0,r.useEffect)(function(){i.current=t},[t]);var l=(0,o.useEvent)(function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i.current[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var l=o.value;null!=l&&("function"==typeof l?l(e):l.current=e)}}catch(e){n=!0,r=e}finally{try{!t&&null!=a.return&&a.return()}finally{if(n)throw r}}});return t.every(function(e){return null==e||(null==e?void 0:e[a])})?void 0:l}},91069:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FocusSentinel",{enumerable:!0,get:function(){return i}});var r=n("28003"),o=n.ir(n("6171")),a=n("21803");function i(e){var t=e.onFocus,n=r._((0,o.useState)(!0),2),i=n[0],l=n[1];return i?o.default.createElement(a.Hidden,{as:"button",type:"button",features:a.Features.Focusable,onFocus:function(e){e.preventDefault();var n,r=50;n=requestAnimationFrame(function e(){if(r--<=0){n&&cancelAnimationFrame(n);return}if(t()){l(!1),cancelAnimationFrame(n);return}n=requestAnimationFrame(e)})}}):null}},21803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Features:function(){return l},Hidden:function(){return s}});var r,o=n("15169"),a=n("85056"),i=n("61377");var l=((r=l||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r),s=(0,i.forwardRefWithAs)(function(e,t){var n=e.features,r=void 0===n?1:n,l=a._(e,["features"]),s={ref:t,"aria-hidden":(2&r)==2||void 0,style:o._({position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},(4&r)==4&&(2&r)!=2&&{display:"none"})};return(0,i.render)({ourProps:s,theirProps:l,slot:{},defaultTag:"div",name:"Hidden"})})},79677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Focus:function(){return s},FocusResult:function(){return d},focusIn:function(){return f},sortByDomNode:function(){return h}});var r,o,a,i,l=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(function(e){return"".concat(e,":not([tabindex='-1'])")}).join(",");var s=((r=s||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),d=((o=d||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),c=((a=c||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);var u=((i=u||{})[i.Strict=0]="Strict",i[i.Loose=1]="Loose",i);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return e.slice().sort(function(e,n){var r=t(e),o=t(n);if(null===r||null===o)return 0;var a=r.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function f(e,t){var n,r,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.sorted,s=a.relativeTo,d=void 0===s?null:s,c=a.skipElements,u=void 0===c?[]:c,f=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?void 0===i||i?h(e):e:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(l)).sort(function(e,t){return Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))})}(e);u.length>0&&(p=p.filter(function(e){return!u.includes(e)})),d=null!=d?d:f.activeElement;var m,g=function(){if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),b=function(){if(1&t)return 0;if(2&t)return Math.max(0,p.indexOf(d))-1;if(4&t)return Math.max(0,p.indexOf(d))+1;if(8&t)return p.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),v=32&t?{preventScroll:!0}:{},x=0,y=p.length;do{if(x>=y||x+y<=0)return 0;var k=b+x;if(16&t)k=(k+y)%y;else{if(k<0)return 3;if(k>=y)return 1}null==(m=p[k])||m.focus(v),x+=g}while(m!==f.activeElement);return 6&t&&null!=(o=null==(r=null==(n=m)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&m.select(),m.hasAttribute("tabindex")||m.setAttribute("tabindex","0"),2}},53483:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"match",{enumerable:!0,get:function(){return o}});var r=n("93160");function o(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i];if(e in t){var l=t[e];return"function"==typeof l?l.apply(void 0,r._(a)):l}var s=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(function(e){return'"'.concat(e,'"')}).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(s,o),s}},91735:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"microTask",{enumerable:!0,get:function(){return r}})},77282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getOwnerDocument",{enumerable:!0,get:function(){return a}});var r=n("20891"),o=n("46382");function a(e){return o.isServer?null:r._(e,Node)?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&r._(e.current,Node)?e.current.ownerDocument:document}},61377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Features:function(){return p},forwardRefWithAs:function(){return x},render:function(){return g}});var r,o,a=n("37599"),i=n("20891"),l=n("15169"),s=n("43932"),d=n("85056"),c=n("28003"),u=n("93160"),h=n("6171"),f=n("53483");var p=((r=p||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),m=((o=m||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function g(e){var t=e.ourProps,n=e.theirProps,r=e.slot,o=e.defaultTag,i=e.features,c=e.visible,u=e.name,h=v(n,t);if(void 0===c||c)return b(h,r,o,u);var p=null!=i?i:0;if(2&p){var m=h.static,g=d._(h,["static"]);if(void 0!==m&&m)return b(g,r,o,u)}if(1&p){var x,y=h.unmount,k=void 0===y||y,w=d._(h,["unmount"]);return(0,f.match)(k?0:1,(x={},a._(x,0,function(){return null}),a._(x,1,function(){return b(s._(l._({},w),{hidden:!0,style:{display:"none"}}),r,o,u)}),x))}return b(h,r,o,u)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=k(e,["unmount","static"]),i=o.as,l=void 0===i?n:i,s=o.children,u=o.refName,f=d._(o,["as","children","refName"]),p=void 0!==e.ref?a._({},void 0===u?"ref":u,e.ref):{},m="function"==typeof s?s(t):s;f.className&&"function"==typeof f.className&&(f.className=f.className(t));var g={};if(t){var b=!1,x=[],w=!0,_=!1,I=void 0;try{for(var P,E=Object.entries(t)[Symbol.iterator]();!(w=(P=E.next()).done);w=!0){var j=c._(P.value,2),S=j[0],O=j[1];"boolean"==typeof O&&(b=!0),!0===O&&x.push(S)}}catch(e){_=!0,I=e}finally{try{!w&&null!=E.return&&E.return()}finally{if(_)throw I}}b&&(g["data-headlessui-state"]=x.join(" "))}if(l===h.Fragment&&Object.keys(y(f)).length>0){if(!(0,h.isValidElement)(m)||Array.isArray(m)&&m.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(f).map(function(e){return" - ".concat(e)}).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(function(e){return" - ".concat(e)}).join("\n")].join("\n"));return(0,h.cloneElement)(m,Object.assign({},v(m.props,y(k(f,["ref"]))),g,p,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{ref:t.every(function(e){return null==e})?void 0:function(e){var n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var l=a.value;null!=l&&("function"==typeof l?l(e):l.current=e)}}catch(e){r=!0,o=e}finally{try{!n&&null!=i.return&&i.return()}finally{if(r)throw o}}}}}(m.ref,p.ref)))}return(0,h.createElement)(l,Object.assign({},k(f,["ref"]),l!==h.Fragment&&p,l!==h.Fragment&&g),m)}function v(){for(var e=function(e){Object.assign(o,a._({},e,function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=l[e],s=!0,d=!1,c=void 0;try{for(var h,f=a[Symbol.iterator]();!(s=(h=f.next()).done);s=!0){var p=h.value;if((i._(t,Event)||i._(null==t?void 0:t.nativeEvent,Event))&&t.defaultPrevented)return;p.apply(void 0,[t].concat(u._(r)))}}catch(e){d=!0,c=e}finally{try{!s&&null!=f.return&&f.return()}finally{if(d)throw c}}}))},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(0===n.length)return{};if(1===n.length)return n[0];var o={},l={},s=!0,d=!1,c=void 0;try{for(var h,f,p=n[Symbol.iterator]();!(s=(f=p.next()).done);s=!0){var m=f.value;for(var g in m)g.startsWith("on")&&"function"==typeof m[g]?(null!=l[g]||(l[g]=[]),l[g].push(m[g])):o[g]=m[g]}}catch(e){d=!0,c=e}finally{try{!s&&null!=p.return&&p.return()}finally{if(d)throw c}}if(o.disabled||o["aria-disabled"])return Object.assign(o,Object.fromEntries(Object.keys(l).map(function(e){return[e,void 0]})));for(var b in l)e(b);return o}function x(e){var t;return Object.assign((0,h.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function y(e){var t=Object.assign({},e);for(var n in t)void 0===t[n]&&delete t[n];return t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e),r=!0,o=!1,a=void 0;try{for(var i,l=t[Symbol.iterator]();!(r=(i=l.next()).done);r=!0){var s=i.value;s in n&&delete n[s]}}catch(e){o=!0,a=e}finally{try{!r&&null!=l.return&&l.return()}finally{if(o)throw a}}return n}},46382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isServer",{enumerable:!0,get:function(){return r}});var r="undefined"==typeof window||"undefined"==typeof document},23169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{MDXProvider:function(){return r.MDXProvider},useMDXComponents:function(){return r.useMDXComponents}});var r=n("56868")},56868:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{useMDXComponents:function(){return i},MDXProvider:function(){return s}});var r=n("15169"),o=n.ir(n("6171")),a=o.default.createContext({});function i(e){var t=o.default.useContext(a);return o.default.useMemo(function(){return"function"==typeof e?e(t):r._({},t,e)},[t,e])}var l={};function s(e){var t=e.components,n=e.children,r=e.disableParentContext,s=i(t);return r&&(s=t||l),o.default.createElement(a.Provider,{value:s},n)}},66428:function(e,t,n){e.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},20165:function(e,t,n){e.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}}]);
|