From afd4d51a262de770e3d32117d7a20488ac262765 Mon Sep 17 00:00:00 2001 From: SethFalco Date: Tue, 7 May 2024 23:42:44 +0000 Subject: [PATCH] deploy: 6a572fae64b5cdd89b15784d0805f72aadb7d6fd --- 404.html | 4 +- assets/js/0bada90f.6815e8ac.js | 1 - assets/js/0bada90f.b92ac9cb.js | 1 + assets/js/17896441.57043062.js | 1 - assets/js/17896441.b5a0797c.js | 1 + assets/js/4c23bd0c.2cbc2cdc.js | 1 + assets/js/4c23bd0c.413e0c4c.js | 1 - assets/js/8ff84e15.0dc0ba02.js | 1 + assets/js/8ff84e15.f6e227a0.js | 1 - assets/js/935f2afb.11a28ccb.js | 1 + assets/js/935f2afb.6f5d18ed.js | 1 - assets/js/b8ac59b8.674474f4.js | 1 + assets/js/b8ac59b8.92911ebf.js | 1 - assets/js/d06206af.3df380b2.js | 1 + assets/js/e283eaed.011a8da8.js | 1 + assets/js/e283eaed.b28fbe77.js | 1 - assets/js/main.c4e1ee07.js | 2 - assets/js/main.eee1dcfa.js | 2 + ...CENSE.txt => main.eee1dcfa.js.LICENSE.txt} | 0 assets/js/runtime~main.89de2733.js | 1 - assets/js/runtime~main.f7e1a71d.js | 1 + docs/introduction/index.html | 4 +- docs/plugins-api/index.html | 4 +- .../add-attributes-to-svg-elements/index.html | 8 ++-- .../add-classes-to-svg-element/index.html | 8 ++-- docs/plugins/cleanup-attrs/index.html | 8 ++-- .../cleanup-enable-background/index.html | 8 ++-- docs/plugins/cleanup-ids/index.html | 8 ++-- .../plugins/cleanup-list-of-values/index.html | 8 ++-- .../plugins/cleanup-numeric-values/index.html | 8 ++-- docs/plugins/collapse-groups/index.html | 8 ++-- docs/plugins/convert-colors/index.html | 10 ++--- .../convert-ellipse-to-circle/index.html | 8 ++-- .../convert-one-stop-gradients/index.html | 8 ++-- docs/plugins/convert-path-data/index.html | 8 ++-- docs/plugins/convert-shape-to-path/index.html | 8 ++-- .../plugins/convert-style-to-attrs/index.html | 8 ++-- docs/plugins/convert-transform/index.html | 8 ++-- docs/plugins/index.html | 6 +-- docs/plugins/inline-styles/index.html | 8 ++-- docs/plugins/merge-paths/index.html | 8 ++-- docs/plugins/merge-styles/index.html | 8 ++-- docs/plugins/minify-styles/index.html | 8 ++-- .../move-elems-attrs-to-group/index.html | 8 ++-- .../move-group-attrs-to-elem/index.html | 8 ++-- docs/plugins/prefix-ids/index.html | 8 ++-- .../remove-attributes-by-selector/index.html | 8 ++-- docs/plugins/remove-attrs/index.html | 10 ++--- docs/plugins/remove-comments/index.html | 10 ++--- .../remove-deprecated-attrs/index.html | 44 +++++++++++++++++++ docs/plugins/remove-desc/index.html | 10 ++--- docs/plugins/remove-dimensions/index.html | 8 ++-- docs/plugins/remove-doctype/index.html | 8 ++-- .../plugins/remove-editors-ns-data/index.html | 8 ++-- .../remove-elements-by-attr/index.html | 8 ++-- docs/plugins/remove-empty-attrs/index.html | 8 ++-- .../remove-empty-containers/index.html | 8 ++-- docs/plugins/remove-empty-text/index.html | 8 ++-- docs/plugins/remove-hidden-elems/index.html | 8 ++-- docs/plugins/remove-metadata/index.html | 8 ++-- .../index.html | 8 ++-- .../remove-off-canvas-paths/index.html | 8 ++-- docs/plugins/remove-raster-images/index.html | 8 ++-- docs/plugins/remove-scripts/index.html | 8 ++-- docs/plugins/remove-style-element/index.html | 8 ++-- docs/plugins/remove-title/index.html | 8 ++-- .../remove-unknowns-and-defaults/index.html | 8 ++-- .../remove-unused-namespaces/index.html | 8 ++-- docs/plugins/remove-useless-defs/index.html | 8 ++-- .../remove-useless-stroke-and-fill/index.html | 8 ++-- docs/plugins/remove-viewbox/index.html | 8 ++-- docs/plugins/remove-xlink/index.html | 8 ++-- docs/plugins/remove-xml-proc-inst/index.html | 8 ++-- docs/plugins/remove-xmlns/index.html | 8 ++-- docs/plugins/reuse-paths/index.html | 8 ++-- docs/plugins/sort-attrs/index.html | 8 ++-- docs/plugins/sort-defs-children/index.html | 8 ++-- docs/preset-default/index.html | 4 +- index.html | 4 +- search-index.json | 2 +- search/index.html | 4 +- sitemap.xml | 2 +- 82 files changed, 284 insertions(+), 239 deletions(-) delete mode 100644 assets/js/0bada90f.6815e8ac.js create mode 100644 assets/js/0bada90f.b92ac9cb.js delete mode 100644 assets/js/17896441.57043062.js create mode 100644 assets/js/17896441.b5a0797c.js create mode 100644 assets/js/4c23bd0c.2cbc2cdc.js delete mode 100644 assets/js/4c23bd0c.413e0c4c.js create mode 100644 assets/js/8ff84e15.0dc0ba02.js delete mode 100644 assets/js/8ff84e15.f6e227a0.js create mode 100644 assets/js/935f2afb.11a28ccb.js delete mode 100644 assets/js/935f2afb.6f5d18ed.js create mode 100644 assets/js/b8ac59b8.674474f4.js delete mode 100644 assets/js/b8ac59b8.92911ebf.js create mode 100644 assets/js/d06206af.3df380b2.js create mode 100644 assets/js/e283eaed.011a8da8.js delete mode 100644 assets/js/e283eaed.b28fbe77.js delete mode 100644 assets/js/main.c4e1ee07.js create mode 100644 assets/js/main.eee1dcfa.js rename assets/js/{main.c4e1ee07.js.LICENSE.txt => main.eee1dcfa.js.LICENSE.txt} (100%) delete mode 100644 assets/js/runtime~main.89de2733.js create mode 100644 assets/js/runtime~main.f7e1a71d.js create mode 100644 docs/plugins/remove-deprecated-attrs/index.html diff --git a/404.html b/404.html index efb4338..d131e5c 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@ Page Not Found | SVGO - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

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

diff --git a/assets/js/0bada90f.6815e8ac.js b/assets/js/0bada90f.6815e8ac.js deleted file mode 100644 index 9650da8..0000000 --- a/assets/js/0bada90f.6815e8ac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[2754],{2158:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>m,frontMatter:()=>s,metadata:()=>l,toc:()=>d});var o=t(5893),i=t(1151);const s={title:"Remove Description",svgo:{pluginId:"removeDesc",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes descriptions that are either empty or contain editor attribution. Enabling this removes the <desc> element indiscriminately.",type:"boolean",default:!1}}}},r=void 0,l={id:"plugins/remove-desc",title:"Remove Description",description:"Removes the `` element from the document in one of the following conditions:",source:"@site/.svgo/docs/03-plugins/remove-desc.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-desc",permalink:"/docs/plugins/remove-desc",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-desc.mdx",tags:[],version:"current",frontMatter:{title:"Remove Description",svgo:{pluginId:"removeDesc",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes descriptions that are either empty or contain editor attribution. Enabling this removes the <desc> element indiscriminately.",type:"boolean",default:!1}}}},sidebar:"docsSidebar",previous:{title:"Remove Comments",permalink:"/docs/plugins/remove-comments"},next:{title:"Remove Dimensions",permalink:"/docs/plugins/remove-dimensions"}},c={},d=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components},{PluginDemo:t,PluginParams:s,PluginUsage:r}=n;return t||u("PluginDemo",!0),s||u("PluginParams",!0),r||u("PluginUsage",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(n.p,{children:["Removes the ",(0,o.jsx)(n.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Element/desc",children:(0,o.jsx)(n.code,{children:""})})," element from the document in one of the following conditions:"]}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["The ",(0,o.jsx)(n.code,{children:""})," element is empty."]}),"\n",(0,o.jsxs)(n.li,{children:["The ",(0,o.jsx)(n.code,{children:""})," element appears to only contain editor attribution."]}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["This plugin does not remove the ",(0,o.jsx)(n.code,{children:""})," indiscriminately by default, as it is a crucial aspect of accessibility for users of assistive technologies."]}),"\n",(0,o.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(r,{}),"\n",(0,o.jsx)(n.h3,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsx)(s,{}),"\n",(0,o.jsx)(n.h2,{id:"demo",children:"Demo"}),"\n",(0,o.jsx)(t,{}),"\n",(0,o.jsx)(n.h2,{id:"implementation",children:"Implementation"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeDesc.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeDesc.js"})}),"\n"]})]})}function m(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}function u(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0bada90f.b92ac9cb.js b/assets/js/0bada90f.b92ac9cb.js new file mode 100644 index 0000000..5598067 --- /dev/null +++ b/assets/js/0bada90f.b92ac9cb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[2754],{2158:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>m,frontMatter:()=>s,metadata:()=>l,toc:()=>d});var i=n(5893),o=n(1151);const s={title:"Remove Description",svgo:{pluginId:"removeDesc",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes descriptions that are either empty or contain editor attribution. Enabling this removes the <desc> element indiscriminately.",type:"boolean",default:!1}}}},r=void 0,l={id:"plugins/remove-desc",title:"Remove Description",description:"Removes the `` element from the document in one of the following conditions:",source:"@site/.svgo/docs/03-plugins/remove-desc.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-desc",permalink:"/docs/plugins/remove-desc",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-desc.mdx",tags:[],version:"current",frontMatter:{title:"Remove Description",svgo:{pluginId:"removeDesc",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes descriptions that are either empty or contain editor attribution. Enabling this removes the <desc> element indiscriminately.",type:"boolean",default:!1}}}},sidebar:"docsSidebar",previous:{title:"Remove Deprecated Attributes",permalink:"/docs/plugins/remove-deprecated-attrs"},next:{title:"Remove Dimensions",permalink:"/docs/plugins/remove-dimensions"}},c={},d=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components},{PluginDemo:n,PluginParams:s,PluginUsage:r}=t;return n||u("PluginDemo",!0),s||u("PluginParams",!0),r||u("PluginUsage",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["Removes the ",(0,i.jsx)(t.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Element/desc",children:(0,i.jsx)(t.code,{children:""})})," element from the document in one of the following conditions:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["The ",(0,i.jsx)(t.code,{children:""})," element is empty."]}),"\n",(0,i.jsxs)(t.li,{children:["The ",(0,i.jsx)(t.code,{children:""})," element appears to only contain editor attribution."]}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:["This plugin does not remove the ",(0,i.jsx)(t.code,{children:""})," indiscriminately by default, as it is a crucial aspect of accessibility for users of assistive technologies."]}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(r,{}),"\n",(0,i.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsx)(s,{}),"\n",(0,i.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,i.jsx)(n,{}),"\n",(0,i.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeDesc.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeDesc.js"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}function u(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>r});var i=n(7294);const o={},s=i.createContext(o);function r(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.57043062.js b/assets/js/17896441.57043062.js deleted file mode 100644 index 1748aaa..0000000 --- a/assets/js/17896441.57043062.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[7918],{2247:(e,n,s)=>{s.d(n,{Z:()=>t});var r=s(6010);s(7294);const a={badge:"badge_vJP_"};var i=s(5893);function t(){return(0,i.jsx)("span",{className:(0,r.Z)(a.badge),title:"This plugin is enabled by default.",children:"Default"})}},1425:(e,n,s)=>{s.d(n,{Z:()=>o});var r=s(7294),a=s(8883),i=s(4866),t=s(5162),l=s(6010);const d={fixedHeight:"fixedHeight_R_Gw","code-markup":"code-markup_Hxn4",renderPreview:"renderPreview_qwRH",malformedWarning:"malformedWarning_V_zv"};var c=s(5893);function o(e){var n=(0,r.useState)(!1),s=n[0],o=n[1],u=e.svg;return(0,c.jsxs)(i.Z,{groupId:"preview-mode",children:[(0,c.jsx)(t.Z,{value:"svg",label:"Markup",children:(0,c.jsx)("div",{className:(0,l.Z)(d.fixedHeight),children:(0,c.jsx)(a.Z,{language:"svg",children:u})})}),(0,c.jsx)(t.Z,{value:"preview",label:"Render",children:(0,c.jsx)("div",{className:(0,l.Z)(d.renderPreview),children:s?(0,c.jsxs)("span",{className:(0,l.Z)(d.malformedWarning),children:["SVG can only be rendered inline, not standalone or in an ",(0,c.jsx)("code",{children:""})," element."]}):(0,c.jsx)("img",{src:"data:image/svg+xml;utf8,"+encodeURIComponent(u),alt:"Render of the optimized SVG.",onError:function(){o(!0)}})})})]})}},3273:(e,n,s)=>{s.r(n),s.d(n,{default:()=>_});s(7294);var r=s(1944),a=s(5130),i=s(1602),t=s(6010),l=s(2400),d=s(5281),c=s(6233),o=s(5893);function u(e){return(0,o.jsx)("div",{className:(0,t.Z)(d.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,o.jsx)("div",{className:"col",children:(0,o.jsx)(c.Z,Object.assign({},e))})})}function g(){var e=(0,a.k)().metadata.tags,n=e.length>0;return n?(0,o.jsx)("footer",{className:(0,t.Z)(d.k.docs.docFooter,"docusaurus-mt-lg"),children:n&&(0,o.jsx)(u,{tags:e})}):null}var v=s(3616),h=s(2503),m=s(5042),x=s(2247);const j={header:"header_NT8n",badge:"badge_IsQY"};function f(e){var n,s=e.children,r=(0,a.k)(),i=r.metadata,l=r.frontMatter,c=function(e,n,s){return n.hide_title||void 0!==s?null:e.title}(i,l,r.contentTitle);return(0,o.jsxs)("div",{className:(0,t.Z)(d.k.docs.docMarkdown,"markdown"),children:[c&&(0,o.jsxs)("header",{className:(0,t.Z)(j.header),children:[(0,o.jsx)(h.Z,{as:"h1",children:c}),(null==(n=l.svgo)?void 0:n.defaultPlugin)&&(0,o.jsx)("div",{className:(0,t.Z)(j.badge),children:(0,o.jsx)(x.Z,{})})]}),(0,o.jsx)(m.Z,{children:s})]})}var p=s(1310);const Z={docItemContainer:"docItemContainer_c0TR",wrapper:"wrapper_xJ_b",docItemCol:"docItemCol_z5aJ",toc:"toc_ubMy"};function b(e){var n=e.children;return(0,o.jsxs)("div",{className:(0,t.Z)(Z.wrapper),children:[(0,o.jsx)("div",{className:(0,t.Z)("col",Z.docItemCol),children:(0,o.jsxs)("div",{className:Z.docItemContainer,children:[(0,o.jsxs)("article",{children:[(0,o.jsx)(p.Z,{}),(0,o.jsx)(f,{children:n}),(0,o.jsx)(g,{})]}),(0,o.jsx)(l.Z,{})]})}),(0,o.jsx)("div",{className:(0,t.Z)(Z.toc),children:(0,o.jsx)(v.Z,{})})]})}function _(e){var n="docs-doc-id-"+e.content.metadata.unversionedId,s=e.content;return(0,o.jsx)(a.b,{content:e.content,children:(0,o.jsxs)(r.FG,{className:n,children:[(0,o.jsx)(i.Z,{}),(0,o.jsx)(b,{children:(0,o.jsx)(s,{})})]})})}},2866:(e,n,s)=>{s.d(n,{Z:()=>m});var r=s(9124),a=s(4866),i=s(5162),t=s(2247),l=s(7294),d=s(5130),c=s(8883),o=s(5893);var u=s(6010);const g="leftMargin_Pe6_";function v(e){return(0,o.jsx)(c.Z,{language:"js",title:"svgo.config.js",children:'module.export = {\n plugins: [\n "'+e.pluginId+'"\n ]\n}'})}var h=s(1425);const m=Object.assign({},r.Z,{Tabs:a.Z,TabItem:i.Z,DefaultBadge:t.Z,PluginDemo:function(){var e='const svg = `\n\n\n \x3c!-- Created with love! --\x3e\n \n \n \n \n \n \n \n\n`;\n\nconst svgoConfig = {\n js2svg: { indent: 2, pretty: true },\n plugins: [\n "'+(0,d.k)().frontMatter.svgo.pluginId+'"\n ]\n}\n\nrender();\n';return(0,o.jsx)(c.Z,{language:"js",live:!0,noInline:!0,children:e})},PluginParams:function(){var e=(0,d.k)().frontMatter.svgo.parameters,n=Object.keys(e).filter((function(n){var s;return null==(s=e[n])?void 0:s.description})).map((function(n){return Object.assign({name:n},e[n])}));return(0,o.jsx)("dl",{children:n.map((function(e){return(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)("dt",{children:(0,o.jsx)("code",{children:e.name})}),(0,o.jsx)("dd",{className:(0,u.Z)(g),children:(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:e.description}})})]},e.name)}))})},PluginUsage:function(){var e=(0,d.k)().frontMatter.svgo,n=e.pluginId,s=e.parameters;if(!s)return(0,o.jsx)(v,{pluginId:n});var r=Object.keys(s).filter((function(e){return s[e]&&void 0!==s[e].default})).map((function(e){return" "+e+": "+JSON.stringify(s[e].default)})).join(",\n");return(0,o.jsxs)(a.Z,{children:[(0,o.jsx)(i.Z,{value:"basic",label:"Basic",default:!0,children:(0,o.jsx)(v,{pluginId:n})}),s&&(0,o.jsx)(i.Z,{value:"params",label:"Parameters",children:(0,o.jsx)(c.Z,{language:"js",title:"svgo.config.js",children:'module.export = {\n plugins: [\n {\n name: "'+n+'",\n params: {\n'+r+"\n }\n }\n ]\n}"})})]})},SvgPreview:h.Z})},4992:(e,n,s)=>{s.d(n,{Z:()=>c});s(7294);var r=s(6010),a=s(5259),i=s(1425);const t="profit_urLh",l="highlight_PYLI";var d=s(5893);const c={SvgoPreview:function(e){var n=e.svg,s=e.svgoConfig,c=(0,a.t)(n,s).data,o=n.length,u=c.length,g=100-100*u/o,v=Math.round(o/1024*1e3)/1e3+" KiB",h=Math.round(u/1024*1e3)/1e3+" KiB",m=g<0?"+":"-",x=Math.abs(Math.round(10*g)/10)+"%";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Z,{svg:c}),(0,d.jsxs)("span",{className:(0,r.Z)(t),children:[v," ",m," ",(0,d.jsx)("span",{className:(0,r.Z)(l),children:x})," = ",h]})]})}}},4971:(e,n,s)=>{s.d(n,{Z:()=>v});var r=s(6010),a=s(7294),i=s(5130),t=s(5999);const l="rootToc_LhCa",d="onThisPage_PKNE",c="noSeperator_JdoM",o="editPage_IZFO";var u=s(5893);function g(e){var n=e.toc,s=e.className,a=e.linkClassName,v=e.isChild,h=(0,i.k)().metadata;if(!n.length)return null;var m=h.editUrl;return(0,u.jsxs)(u.Fragment,{children:[!v&&(0,u.jsx)("div",{className:(0,r.Z)(d),children:"On this page"}),(0,u.jsx)("ul",{className:(0,r.Z)(v?void 0:s,v?void 0:l,c),children:n.map((function(e){return(0,u.jsxs)("li",{children:[(0,u.jsx)("a",{href:"#"+e.id,className:null!=a?a:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,u.jsx)(g,{isChild:!0,toc:e.children,className:s,linkClassName:a})]},e.id)}))}),!v&&(0,u.jsx)("div",{className:(0,r.Z)(o),children:(0,u.jsx)("a",{href:m,target:"_blank",className:null!=a?a:void 0,children:(0,u.jsx)(t.Z,{children:"Edit this page on GitHub"})})})]})}const v=a.memo(g)}}]); \ No newline at end of file diff --git a/assets/js/17896441.b5a0797c.js b/assets/js/17896441.b5a0797c.js new file mode 100644 index 0000000..0d0ea06 --- /dev/null +++ b/assets/js/17896441.b5a0797c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[7918],{2247:(e,n,s)=>{s.d(n,{Z:()=>t});var r=s(6010);s(7294);const a={badge:"badge_vJP_"};var i=s(5893);function t(){return(0,i.jsx)("span",{className:(0,r.Z)(a.badge),title:"This plugin is enabled by default.",children:"Default"})}},1425:(e,n,s)=>{s.d(n,{Z:()=>o});var r=s(7294),a=s(8883),i=s(4866),t=s(5162),l=s(6010);const d={fixedHeight:"fixedHeight_R_Gw","code-markup":"code-markup_Hxn4",renderPreview:"renderPreview_qwRH",malformedWarning:"malformedWarning_V_zv"};var c=s(5893);function o(e){var n=(0,r.useState)(!1),s=n[0],o=n[1],u=e.svg;return(0,c.jsxs)(i.Z,{groupId:"preview-mode",children:[(0,c.jsx)(t.Z,{value:"svg",label:"Markup",children:(0,c.jsx)("div",{className:(0,l.Z)(d.fixedHeight),children:(0,c.jsx)(a.Z,{language:"svg",children:u})})}),(0,c.jsx)(t.Z,{value:"preview",label:"Render",children:(0,c.jsx)("div",{className:(0,l.Z)(d.renderPreview),children:s?(0,c.jsxs)("span",{className:(0,l.Z)(d.malformedWarning),children:["SVG can only be rendered inline, not standalone or in an ",(0,c.jsx)("code",{children:""})," element."]}):(0,c.jsx)("img",{src:"data:image/svg+xml;utf8,"+encodeURIComponent(u),alt:"Render of the optimized SVG.",onError:function(){o(!0)}})})})]})}},3273:(e,n,s)=>{s.r(n),s.d(n,{default:()=>_});s(7294);var r=s(1944),a=s(5130),i=s(1602),t=s(6010),l=s(2400),d=s(5281),c=s(6233),o=s(5893);function u(e){return(0,o.jsx)("div",{className:(0,t.Z)(d.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,o.jsx)("div",{className:"col",children:(0,o.jsx)(c.Z,Object.assign({},e))})})}function g(){var e=(0,a.k)().metadata.tags,n=e.length>0;return n?(0,o.jsx)("footer",{className:(0,t.Z)(d.k.docs.docFooter,"docusaurus-mt-lg"),children:n&&(0,o.jsx)(u,{tags:e})}):null}var v=s(3616),h=s(2503),m=s(5042),x=s(2247);const j={header:"header_NT8n",badge:"badge_IsQY"};function f(e){var n,s=e.children,r=(0,a.k)(),i=r.metadata,l=r.frontMatter,c=function(e,n,s){return n.hide_title||void 0!==s?null:e.title}(i,l,r.contentTitle);return(0,o.jsxs)("div",{className:(0,t.Z)(d.k.docs.docMarkdown,"markdown"),children:[c&&(0,o.jsxs)("header",{className:(0,t.Z)(j.header),children:[(0,o.jsx)(h.Z,{as:"h1",children:c}),(null==(n=l.svgo)?void 0:n.defaultPlugin)&&(0,o.jsx)("div",{className:(0,t.Z)(j.badge),children:(0,o.jsx)(x.Z,{})})]}),(0,o.jsx)(m.Z,{children:s})]})}var p=s(1310);const Z={docItemContainer:"docItemContainer_c0TR",wrapper:"wrapper_xJ_b",docItemCol:"docItemCol_z5aJ",toc:"toc_ubMy"};function b(e){var n=e.children;return(0,o.jsxs)("div",{className:(0,t.Z)(Z.wrapper),children:[(0,o.jsx)("div",{className:(0,t.Z)("col",Z.docItemCol),children:(0,o.jsxs)("div",{className:Z.docItemContainer,children:[(0,o.jsxs)("article",{children:[(0,o.jsx)(p.Z,{}),(0,o.jsx)(f,{children:n}),(0,o.jsx)(g,{})]}),(0,o.jsx)(l.Z,{})]})}),(0,o.jsx)("div",{className:(0,t.Z)(Z.toc),children:(0,o.jsx)(v.Z,{})})]})}function _(e){var n="docs-doc-id-"+e.content.metadata.unversionedId,s=e.content;return(0,o.jsx)(a.b,{content:e.content,children:(0,o.jsxs)(r.FG,{className:n,children:[(0,o.jsx)(i.Z,{}),(0,o.jsx)(b,{children:(0,o.jsx)(s,{})})]})})}},2866:(e,n,s)=>{s.d(n,{Z:()=>m});var r=s(9124),a=s(4866),i=s(5162),t=s(2247),l=s(7294),d=s(5130),c=s(8883),o=s(5893);var u=s(6010);const g="leftMargin_Pe6_";function v(e){return(0,o.jsx)(c.Z,{language:"js",title:"svgo.config.js",children:'module.exports = {\n plugins: [\n "'+e.pluginId+'"\n ]\n}'})}var h=s(1425);const m=Object.assign({},r.Z,{Tabs:a.Z,TabItem:i.Z,DefaultBadge:t.Z,PluginDemo:function(){var e='const svg = `\n\n\n \x3c!-- Created with love! --\x3e\n \n \n \n \n \n \n \n\n`;\n\nconst svgoConfig = {\n js2svg: { indent: 2, pretty: true },\n plugins: [\n "'+(0,d.k)().frontMatter.svgo.pluginId+'"\n ]\n}\n\nrender();\n';return(0,o.jsx)(c.Z,{language:"js",live:!0,noInline:!0,children:e})},PluginParams:function(){var e=(0,d.k)().frontMatter.svgo.parameters,n=Object.keys(e).filter((function(n){var s;return null==(s=e[n])?void 0:s.description})).map((function(n){return Object.assign({name:n},e[n])}));return(0,o.jsx)("dl",{children:n.map((function(e){return(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)("dt",{children:(0,o.jsx)("code",{children:e.name})}),(0,o.jsx)("dd",{className:(0,u.Z)(g),children:(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:e.description}})})]},e.name)}))})},PluginUsage:function(){var e=(0,d.k)().frontMatter.svgo,n=e.pluginId,s=e.parameters;if(!s)return(0,o.jsx)(v,{pluginId:n});var r=Object.keys(s).filter((function(e){return s[e]&&void 0!==s[e].default})).map((function(e){return" "+e+": "+JSON.stringify(s[e].default)})).join(",\n");return(0,o.jsxs)(a.Z,{children:[(0,o.jsx)(i.Z,{value:"basic",label:"Basic",default:!0,children:(0,o.jsx)(v,{pluginId:n})}),s&&(0,o.jsx)(i.Z,{value:"params",label:"Parameters",children:(0,o.jsx)(c.Z,{language:"js",title:"svgo.config.js",children:'module.exports = {\n plugins: [\n {\n name: "'+n+'",\n params: {\n'+r+"\n }\n }\n ]\n}"})})]})},SvgPreview:h.Z})},4992:(e,n,s)=>{s.d(n,{Z:()=>c});s(7294);var r=s(6010),a=s(5259),i=s(1425);const t="profit_urLh",l="highlight_PYLI";var d=s(5893);const c={SvgoPreview:function(e){var n=e.svg,s=e.svgoConfig,c=(0,a.t)(n,s).data,o=n.length,u=c.length,g=100-100*u/o,v=Math.round(o/1024*1e3)/1e3+" KiB",h=Math.round(u/1024*1e3)/1e3+" KiB",m=g<0?"+":"-",x=Math.abs(Math.round(10*g)/10)+"%";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Z,{svg:c}),(0,d.jsxs)("span",{className:(0,r.Z)(t),children:[v," ",m," ",(0,d.jsx)("span",{className:(0,r.Z)(l),children:x})," = ",h]})]})}}},4971:(e,n,s)=>{s.d(n,{Z:()=>v});var r=s(6010),a=s(7294),i=s(5130),t=s(5999);const l="rootToc_LhCa",d="onThisPage_PKNE",c="noSeperator_JdoM",o="editPage_IZFO";var u=s(5893);function g(e){var n=e.toc,s=e.className,a=e.linkClassName,v=e.isChild,h=(0,i.k)().metadata;if(!n.length)return null;var m=h.editUrl;return(0,u.jsxs)(u.Fragment,{children:[!v&&(0,u.jsx)("div",{className:(0,r.Z)(d),children:"On this page"}),(0,u.jsx)("ul",{className:(0,r.Z)(v?void 0:s,v?void 0:l,c),children:n.map((function(e){return(0,u.jsxs)("li",{children:[(0,u.jsx)("a",{href:"#"+e.id,className:null!=a?a:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,u.jsx)(g,{isChild:!0,toc:e.children,className:s,linkClassName:a})]},e.id)}))}),!v&&(0,u.jsx)("div",{className:(0,r.Z)(o),children:(0,u.jsx)("a",{href:m,target:"_blank",className:null!=a?a:void 0,children:(0,u.jsx)(t.Z,{children:"Edit this page on GitHub"})})})]})}const v=a.memo(g)}}]); \ No newline at end of file diff --git a/assets/js/4c23bd0c.2cbc2cdc.js b/assets/js/4c23bd0c.2cbc2cdc.js new file mode 100644 index 0000000..fba7d09 --- /dev/null +++ b/assets/js/4c23bd0c.2cbc2cdc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[7087],{9416:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>m});var s=n(5893),o=n(1151);const r={title:"Remove Comments",svgo:{pluginId:"removeComments",defaultPlugin:!0,parameters:{preservePatterns:{description:'An array of regular expressions (RegExp or string). If the comment matches any of these, including partial matches, the comment is preserved. Set to false to disable this behavior and remove comments indiscriminately.',default:["^!"]}}}},i=void 0,a={id:"plugins/remove-comments",title:"Remove Comments",description:"Removes XML comments from the document.",source:"@site/.svgo/docs/03-plugins/remove-comments.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-comments",permalink:"/docs/plugins/remove-comments",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-comments.mdx",tags:[],version:"current",frontMatter:{title:"Remove Comments",svgo:{pluginId:"removeComments",defaultPlugin:!0,parameters:{preservePatterns:{description:'An array of regular expressions (RegExp or string). If the comment matches any of these, including partial matches, the comment is preserved. Set to false to disable this behavior and remove comments indiscriminately.',default:["^!"]}}}},sidebar:"docsSidebar",previous:{title:"Remove Attributes",permalink:"/docs/plugins/remove-attrs"},next:{title:"Remove Deprecated Attributes",permalink:"/docs/plugins/remove-deprecated-attrs"}},c={},m=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Trivia",id:"trivia",level:2},{value:"Legal Comments",id:"legal-comments",level:3},{value:"Implementation",id:"implementation",level:2}];function l(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.a)(),...e.components},{PluginDemo:n,PluginParams:r,PluginUsage:i}=t;return n||h("PluginDemo",!0),r||h("PluginParams",!0),i||h("PluginUsage",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Removes XML comments from the document."}),"\n",(0,s.jsxs)(t.p,{children:["XML comments are the content between the ",(0,s.jsx)(t.code,{children:"\x3c!--"})," and ",(0,s.jsx)(t.code,{children:"--\x3e"})," syntax, and do not effect rendering. From an optimization perspective, these can always be safely removed."]}),"\n",(0,s.jsxs)(t.p,{children:['By default, this plugin ignores legal comments, also known as "special comments" or "protected comments". These are comments that start with an exclamation point (',(0,s.jsx)(t.code,{children:"!"}),") and are often used for legal information like copyright notices, licensing, or attribution."]}),"\n",(0,s.jsxs)(t.p,{children:["For example, the following comment can be found in ",(0,s.jsx)(t.a,{href:"https://fontawesome.com/license/free",children:"Font Awesome Free"})," icons:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-svg",children:"\x3c!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Removing a comment like this may be considered a breach of the license terms, as Font Awesome Free is released under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC-BY-4.0 (Creative Commons Attribution)"}),", but removing the comment would strip away that attribution."]}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(i,{}),"\n",(0,s.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsx)(r,{}),"\n",(0,s.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,s.jsx)(n,{}),"\n",(0,s.jsx)(t.h2,{id:"trivia",children:"Trivia"}),"\n",(0,s.jsx)(t.h3,{id:"legal-comments",children:"Legal Comments"}),"\n",(0,s.jsx)(t.p,{children:"It's unclear if there are authoritative resources promoting this syntax for legal comments. However, the convention to preserve them based on this can be seen by a number of minification and build tools:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/clean-css/clean-css#how-to-preserve-a-comment-block",children:"clean-css"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/css/csso#syntaxcompressast-options",children:"CSSO"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://esbuild.github.io/api/#legal-comments",children:"esbuild"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://sass-lang.com/documentation/syntax/comments/",children:"Sass"})}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://github.com/terser/terser#keeping-copyright-notices-or-other-comments",children:"Terser"})," / ",(0,s.jsx)(t.a,{href:"https://github.com/webpack-contrib/terser-webpack-plugin#preserve-comments",children:"terser-webpack-plugin"})]}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/mishoo/UglifyJS#keeping-copyright-notices-or-other-comments",children:"UglifyJS"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/yui/yuicompressor#notes",children:"YUI Compressor"})}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeComments.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeComments.js"})}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}function h(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>i});var s=n(7294);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4c23bd0c.413e0c4c.js b/assets/js/4c23bd0c.413e0c4c.js deleted file mode 100644 index 405557c..0000000 --- a/assets/js/4c23bd0c.413e0c4c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[7087],{9416:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>m});var s=n(5893),o=n(1151);const i={title:"Remove Comments",svgo:{pluginId:"removeComments",defaultPlugin:!0,parameters:{preservePatterns:{description:'An array of regular expressions (RegExp or string). If the comment matches any of these, including partial matches, the comment is preserved. Set to false to disable this behavior and remove comments indiscriminately.',default:["^!"]}}}},r=void 0,a={id:"plugins/remove-comments",title:"Remove Comments",description:"Removes XML comments from the document.",source:"@site/.svgo/docs/03-plugins/remove-comments.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-comments",permalink:"/docs/plugins/remove-comments",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-comments.mdx",tags:[],version:"current",frontMatter:{title:"Remove Comments",svgo:{pluginId:"removeComments",defaultPlugin:!0,parameters:{preservePatterns:{description:'An array of regular expressions (RegExp or string). If the comment matches any of these, including partial matches, the comment is preserved. Set to false to disable this behavior and remove comments indiscriminately.',default:["^!"]}}}},sidebar:"docsSidebar",previous:{title:"Remove Attributes",permalink:"/docs/plugins/remove-attrs"},next:{title:"Remove Description",permalink:"/docs/plugins/remove-desc"}},c={},m=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Trivia",id:"trivia",level:2},{value:"Legal Comments",id:"legal-comments",level:3},{value:"Implementation",id:"implementation",level:2}];function l(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.a)(),...e.components},{PluginDemo:n,PluginParams:i,PluginUsage:r}=t;return n||h("PluginDemo",!0),i||h("PluginParams",!0),r||h("PluginUsage",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Removes XML comments from the document."}),"\n",(0,s.jsxs)(t.p,{children:["XML comments are the content between the ",(0,s.jsx)(t.code,{children:"\x3c!--"})," and ",(0,s.jsx)(t.code,{children:"--\x3e"})," syntax, and do not effect rendering. From an optimization perspective, these can always be safely removed."]}),"\n",(0,s.jsxs)(t.p,{children:['By default, this plugin ignores legal comments, also known as "special comments" or "protected comments". These are comments that start with an exclamation point (',(0,s.jsx)(t.code,{children:"!"}),") and are often used for legal information like copyright notices, licensing, or attribution."]}),"\n",(0,s.jsxs)(t.p,{children:["For example, the following comment can be found in ",(0,s.jsx)(t.a,{href:"https://fontawesome.com/license/free",children:"Font Awesome Free"})," icons:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-svg",children:"\x3c!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Removing a comment like this may be considered a breach of the license terms, as Font Awesome Free is released under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC-BY-4.0 (Creative Commons Attribution)"}),", but removing the comment would strip away that attribution."]}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(r,{}),"\n",(0,s.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsx)(i,{}),"\n",(0,s.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,s.jsx)(n,{}),"\n",(0,s.jsx)(t.h2,{id:"trivia",children:"Trivia"}),"\n",(0,s.jsx)(t.h3,{id:"legal-comments",children:"Legal Comments"}),"\n",(0,s.jsx)(t.p,{children:"It's unclear if there are authoritative resources promoting this syntax for legal comments. However, the convention to preserve them based on this can be seen by a number of minification and build tools:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/clean-css/clean-css#how-to-preserve-a-comment-block",children:"clean-css"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/css/csso#syntaxcompressast-options",children:"CSSO"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://esbuild.github.io/api/#legal-comments",children:"esbuild"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://sass-lang.com/documentation/syntax/comments/",children:"Sass"})}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://github.com/terser/terser#keeping-copyright-notices-or-other-comments",children:"Terser"})," / ",(0,s.jsx)(t.a,{href:"https://github.com/webpack-contrib/terser-webpack-plugin#preserve-comments",children:"terser-webpack-plugin"})]}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/mishoo/UglifyJS#keeping-copyright-notices-or-other-comments",children:"UglifyJS"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/yui/yuicompressor#notes",children:"YUI Compressor"})}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeComments.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeComments.js"})}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}function h(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>r});var s=n(7294);const o={},i=s.createContext(o);function r(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8ff84e15.0dc0ba02.js b/assets/js/8ff84e15.0dc0ba02.js new file mode 100644 index 0000000..6b7cc07 --- /dev/null +++ b/assets/js/8ff84e15.0dc0ba02.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[6531],{7162:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var r=s(5893),n=s(1151);const o={title:"Remove Attributes",svgo:{pluginId:"removeAttrs",parameters:{attrs:{description:"A selector that matches attributes.",default:null},elemSeparator:{description:"The pattern syntax used by this plugin is element:attribute:value, this changes the delimiter from : to another string.",default:":"},preserveCurrentColor:{description:"If to ignore the attribute when it's set to currentcolor.",default:!1}}}},i=void 0,l={id:"plugins/remove-attrs",title:"Remove Attributes",description:"Remove attributes from elements matching a custom syntax.",source:"@site/.svgo/docs/03-plugins/remove-attrs.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-attrs",permalink:"/docs/plugins/remove-attrs",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-attrs.mdx",tags:[],version:"current",frontMatter:{title:"Remove Attributes",svgo:{pluginId:"removeAttrs",parameters:{attrs:{description:"A selector that matches attributes.",default:null},elemSeparator:{description:"The pattern syntax used by this plugin is element:attribute:value, this changes the delimiter from : to another string.",default:":"},preserveCurrentColor:{description:"If to ignore the attribute when it's set to currentcolor.",default:!1}}}},sidebar:"docsSidebar",previous:{title:"Remove Attributes by Selector",permalink:"/docs/plugins/remove-attributes-by-selector"},next:{title:"Remove Comments",permalink:"/docs/plugins/remove-comments"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function u(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,n.a)(),...e.components},{PluginDemo:s,PluginParams:o,PluginUsage:i}=t;return s||d("PluginDemo",!0),o||d("PluginParams",!0),i||d("PluginUsage",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"Remove attributes from elements matching a custom syntax."}),"\n",(0,r.jsxs)(t.p,{children:["The format accepted is ",(0,r.jsx)(t.code,{children:"[ element* : attribute* : value* ]"}),", where:"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"element"}),": A regular expression matching element names. An asterisk or omission matches all elements."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"attribute"}),": A regular expression matching attribute names."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"value"}),": A regular expresison matching attribute values. An asterisk or omission matches all values."]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:["For example, ",(0,r.jsx)(t.code,{children:"path:fill"})," matches all ",(0,r.jsx)(t.code,{children:"fill"})," attributes in ",(0,r.jsx)(t.code,{children:""})," elements."]}),"\n",(0,r.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(i,{}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(o,{}),"\n",(0,r.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,r.jsx)(s,{}),"\n",(0,r.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeAttrs.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeAttrs.js"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}function d(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,s)=>{s.d(t,{Z:()=>l,a:()=>i});var r=s(7294);const n={},o=r.createContext(n);function i(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8ff84e15.f6e227a0.js b/assets/js/8ff84e15.f6e227a0.js deleted file mode 100644 index 86dc40b..0000000 --- a/assets/js/8ff84e15.f6e227a0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[6531],{7162:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>m,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var r=s(5893),n=s(1151);const i={title:"Remove Attributes",svgo:{pluginId:"removeAttrs",parameters:{attrs:{description:"A selector that matches attributes.",default:null},elemSeparator:{description:"The pattern syntax used by this plugin is element:attribute:value, this changes the delimiter from : to another string.",default:":"},preserveCurrentColor:{description:"If to ignore the attribute if it's set to currentColor.",default:!1}}}},o=void 0,l={id:"plugins/remove-attrs",title:"Remove Attributes",description:"Remove attributes from elements matching a custom syntax.",source:"@site/.svgo/docs/03-plugins/remove-attrs.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-attrs",permalink:"/docs/plugins/remove-attrs",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-attrs.mdx",tags:[],version:"current",frontMatter:{title:"Remove Attributes",svgo:{pluginId:"removeAttrs",parameters:{attrs:{description:"A selector that matches attributes.",default:null},elemSeparator:{description:"The pattern syntax used by this plugin is element:attribute:value, this changes the delimiter from : to another string.",default:":"},preserveCurrentColor:{description:"If to ignore the attribute if it's set to currentColor.",default:!1}}}},sidebar:"docsSidebar",previous:{title:"Remove Attributes by Selector",permalink:"/docs/plugins/remove-attributes-by-selector"},next:{title:"Remove Comments",permalink:"/docs/plugins/remove-comments"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function u(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,n.a)(),...e.components},{PluginDemo:s,PluginParams:i,PluginUsage:o}=t;return s||d("PluginDemo",!0),i||d("PluginParams",!0),o||d("PluginUsage",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"Remove attributes from elements matching a custom syntax."}),"\n",(0,r.jsxs)(t.p,{children:["The format accepted is ",(0,r.jsx)(t.code,{children:"[ element* : attribute* : value* ]"}),", where:"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"element"}),": A regular expression matching element names. An asterisk or omission matches all elements."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"attribute"}),": A regular expression matching attribute names."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"value"}),": A regular expresison matching attribute values. An asterisk or omission matches all values."]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:["For example, ",(0,r.jsx)(t.code,{children:"path:fill"})," matches all ",(0,r.jsx)(t.code,{children:"fill"})," attributes in ",(0,r.jsx)(t.code,{children:""})," elements."]}),"\n",(0,r.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(o,{}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(i,{}),"\n",(0,r.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,r.jsx)(s,{}),"\n",(0,r.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeAttrs.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeAttrs.js"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}function d(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,s)=>{s.d(t,{Z:()=>l,a:()=>o});var r=s(7294);const n={},i=r.createContext(n);function o(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.11a28ccb.js b/assets/js/935f2afb.11a28ccb.js new file mode 100644 index 0000000..60ccfa9 --- /dev/null +++ b/assets/js/935f2afb.11a28ccb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","label":"Introduction","href":"/docs/introduction","docId":"index","unlisted":false},{"type":"link","label":"Preset Default","href":"/docs/preset-default","docId":"preset-default","unlisted":false},{"type":"category","label":"Plugins","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Add Attributes to Elements","href":"/docs/plugins/add-attributes-to-svg-elements","docId":"plugins/add-attributes-to-svg-elements","unlisted":false},{"type":"link","label":"Add Classes to SVG","href":"/docs/plugins/add-classes-to-svg-element","docId":"plugins/add-classes-to-svg-element","unlisted":false},{"type":"link","label":"Cleanup Attributes","href":"/docs/plugins/cleanup-attrs","docId":"plugins/cleanup-attrs","unlisted":false},{"type":"link","label":"Cleanup Enable Background","href":"/docs/plugins/cleanup-enable-background","docId":"plugins/cleanup-enable-background","unlisted":false},{"type":"link","label":"Cleanup IDs","href":"/docs/plugins/cleanup-ids","docId":"plugins/cleanup-ids","unlisted":false},{"type":"link","label":"Cleanup List of Values","href":"/docs/plugins/cleanup-list-of-values","docId":"plugins/cleanup-list-of-values","unlisted":false},{"type":"link","label":"Cleanup Numeric Values","href":"/docs/plugins/cleanup-numeric-values","docId":"plugins/cleanup-numeric-values","unlisted":false},{"type":"link","label":"Collapse Groups","href":"/docs/plugins/collapse-groups","docId":"plugins/collapse-groups","unlisted":false},{"type":"link","label":"Convert Colors","href":"/docs/plugins/convert-colors","docId":"plugins/convert-colors","unlisted":false},{"type":"link","label":"Convert Ellipse to Circle","href":"/docs/plugins/convert-ellipse-to-circle","docId":"plugins/convert-ellipse-to-circle","unlisted":false},{"type":"link","label":"Convert One-Stop Gradients","href":"/docs/plugins/convert-one-stop-gradients","docId":"plugins/convert-one-stop-gradients","unlisted":false},{"type":"link","label":"Convert Path Commands","href":"/docs/plugins/convert-path-data","docId":"plugins/convert-path-data","unlisted":false},{"type":"link","label":"Convert Shape to Path","href":"/docs/plugins/convert-shape-to-path","docId":"plugins/convert-shape-to-path","unlisted":false},{"type":"link","label":"Convert Style to Attributes","href":"/docs/plugins/convert-style-to-attrs","docId":"plugins/convert-style-to-attrs","unlisted":false},{"type":"link","label":"Convert Transform","href":"/docs/plugins/convert-transform","docId":"plugins/convert-transform","unlisted":false},{"type":"link","label":"Inline Styles","href":"/docs/plugins/inline-styles","docId":"plugins/inline-styles","unlisted":false},{"type":"link","label":"Merge Paths","href":"/docs/plugins/merge-paths","docId":"plugins/merge-paths","unlisted":false},{"type":"link","label":"Merge Styles","href":"/docs/plugins/merge-styles","docId":"plugins/merge-styles","unlisted":false},{"type":"link","label":"Minify Styles","href":"/docs/plugins/minify-styles","docId":"plugins/minify-styles","unlisted":false},{"type":"link","label":"Move Element Attributes to Group","href":"/docs/plugins/move-elems-attrs-to-group","docId":"plugins/move-elems-attrs-to-group","unlisted":false},{"type":"link","label":"Move Group Attributes to Element","href":"/docs/plugins/move-group-attrs-to-elem","docId":"plugins/move-group-attrs-to-elem","unlisted":false},{"type":"link","label":"Prefix IDs","href":"/docs/plugins/prefix-ids","docId":"plugins/prefix-ids","unlisted":false},{"type":"link","label":"Remove Attributes by Selector","href":"/docs/plugins/remove-attributes-by-selector","docId":"plugins/remove-attributes-by-selector","unlisted":false},{"type":"link","label":"Remove Attributes","href":"/docs/plugins/remove-attrs","docId":"plugins/remove-attrs","unlisted":false},{"type":"link","label":"Remove Comments","href":"/docs/plugins/remove-comments","docId":"plugins/remove-comments","unlisted":false},{"type":"link","label":"Remove Deprecated Attributes","href":"/docs/plugins/remove-deprecated-attrs","docId":"plugins/remove-deprecated-attrs","unlisted":false},{"type":"link","label":"Remove Description","href":"/docs/plugins/remove-desc","docId":"plugins/remove-desc","unlisted":false},{"type":"link","label":"Remove Dimensions","href":"/docs/plugins/remove-dimensions","docId":"plugins/remove-dimensions","unlisted":false},{"type":"link","label":"Remove Doctype","href":"/docs/plugins/remove-doctype","docId":"plugins/remove-doctype","unlisted":false},{"type":"link","label":"Remove Editor Namespace Data","href":"/docs/plugins/remove-editors-ns-data","docId":"plugins/remove-editors-ns-data","unlisted":false},{"type":"link","label":"Remove Elements by Attribute","href":"/docs/plugins/remove-elements-by-attr","docId":"plugins/remove-elements-by-attr","unlisted":false},{"type":"link","label":"Remove Empty Attributes","href":"/docs/plugins/remove-empty-attrs","docId":"plugins/remove-empty-attrs","unlisted":false},{"type":"link","label":"Remove Empty Containers","href":"/docs/plugins/remove-empty-containers","docId":"plugins/remove-empty-containers","unlisted":false},{"type":"link","label":"Remove Empty Text","href":"/docs/plugins/remove-empty-text","docId":"plugins/remove-empty-text","unlisted":false},{"type":"link","label":"Remove Hidden Elements","href":"/docs/plugins/remove-hidden-elems","docId":"plugins/remove-hidden-elems","unlisted":false},{"type":"link","label":"Remove Metadata","href":"/docs/plugins/remove-metadata","docId":"plugins/remove-metadata","unlisted":false},{"type":"link","label":"Remove Non-inheritable Group Attributes","href":"/docs/plugins/remove-non-inheritable-group-attrs","docId":"plugins/remove-non-inheritable-group-attrs","unlisted":false},{"type":"link","label":"Remove Off Canvas Paths","href":"/docs/plugins/remove-off-canvas-paths","docId":"plugins/remove-off-canvas-paths","unlisted":false},{"type":"link","label":"Remove Raster Images","href":"/docs/plugins/remove-raster-images","docId":"plugins/remove-raster-images","unlisted":false},{"type":"link","label":"Remove Scripts","href":"/docs/plugins/remove-scripts","docId":"plugins/remove-scripts","unlisted":false},{"type":"link","label":"Remove Style Elements","href":"/docs/plugins/remove-style-element","docId":"plugins/remove-style-element","unlisted":false},{"type":"link","label":"Remove Title","href":"/docs/plugins/remove-title","docId":"plugins/remove-title","unlisted":false},{"type":"link","label":"Remove Unknowns and Defaults","href":"/docs/plugins/remove-unknowns-and-defaults","docId":"plugins/remove-unknowns-and-defaults","unlisted":false},{"type":"link","label":"Remove Unused Namespaces","href":"/docs/plugins/remove-unused-namespaces","docId":"plugins/remove-unused-namespaces","unlisted":false},{"type":"link","label":"Remove Useless Defs","href":"/docs/plugins/remove-useless-defs","docId":"plugins/remove-useless-defs","unlisted":false},{"type":"link","label":"Remove Useless Stroke and Fill","href":"/docs/plugins/remove-useless-stroke-and-fill","docId":"plugins/remove-useless-stroke-and-fill","unlisted":false},{"type":"link","label":"Remove ViewBox","href":"/docs/plugins/remove-viewbox","docId":"plugins/remove-viewbox","unlisted":false},{"type":"link","label":"Remove XLink","href":"/docs/plugins/remove-xlink","docId":"plugins/remove-xlink","unlisted":false},{"type":"link","label":"Remove XML Declaration","href":"/docs/plugins/remove-xml-proc-inst","docId":"plugins/remove-xml-proc-inst","unlisted":false},{"type":"link","label":"Remove XML Namespace","href":"/docs/plugins/remove-xmlns","docId":"plugins/remove-xmlns","unlisted":false},{"type":"link","label":"Reuse Paths","href":"/docs/plugins/reuse-paths","docId":"plugins/reuse-paths","unlisted":false},{"type":"link","label":"Sort Attributes","href":"/docs/plugins/sort-attrs","docId":"plugins/sort-attrs","unlisted":false},{"type":"link","label":"Sort Defs Children","href":"/docs/plugins/sort-defs-children","docId":"plugins/sort-defs-children","unlisted":false}],"href":"/docs/plugins/"},{"type":"link","label":"Plugin Architecture","href":"/docs/plugins-api","docId":"plugins-api","unlisted":false}]},"docs":{"index":{"id":"index","title":"Introduction","description":"SVGO (short for SVG Optimizer) is a Node.js library and command-line application for optimizing SVG files.","sidebar":"docsSidebar"},"plugins-api":{"id":"plugins-api","title":"Plugin Architecture","description":"SVGO is primarily an optimizer, and is evolving as the community continue to propose or implement better optimizations.","sidebar":"docsSidebar"},"plugins/add-attributes-to-svg-elements":{"id":"plugins/add-attributes-to-svg-elements","title":"Add Attributes to Elements","description":"Adds attributes to the outer most `` element in the document. This is not an optimization and will increase the size of SVG documents.","sidebar":"docsSidebar"},"plugins/add-classes-to-svg-element":{"id":"plugins/add-classes-to-svg-element","title":"Add Classes to SVG","description":"Overrides the class attribute in the outer most `` element, omitting duplicates or null classes if found in your configuration.","sidebar":"docsSidebar"},"plugins/cleanup-attrs":{"id":"plugins/cleanup-attrs","title":"Cleanup Attributes","description":"Removes redundant whitespaces from attribute values.","sidebar":"docsSidebar"},"plugins/cleanup-enable-background":{"id":"plugins/cleanup-enable-background","title":"Cleanup Enable Background","description":"Cleans up enable-background, unless the document uses `` elements.","sidebar":"docsSidebar"},"plugins/cleanup-ids":{"id":"plugins/cleanup-ids","title":"Cleanup IDs","description":"Removes unused IDs, and minifys IDs that are referenced by other elements.","sidebar":"docsSidebar"},"plugins/cleanup-list-of-values":{"id":"plugins/cleanup-list-of-values","title":"Cleanup List of Values","description":"Rounds numeric values in attributes, such as those found in viewBox, enable-background, and points.","sidebar":"docsSidebar"},"plugins/cleanup-numeric-values":{"id":"plugins/cleanup-numeric-values","title":"Cleanup Numeric Values","description":"Rounds numeric values, and removes the unit when it\'s px as this is the default.","sidebar":"docsSidebar"},"plugins/collapse-groups":{"id":"plugins/collapse-groups","title":"Collapse Groups","description":"Finds groups that effectively do nothing and flattens them, preserving the contents of the groups.","sidebar":"docsSidebar"},"plugins/convert-colors":{"id":"plugins/convert-colors","title":"Convert Colors","description":"Converts color references to the shortest equivalent.","sidebar":"docsSidebar"},"plugins/convert-ellipse-to-circle":{"id":"plugins/convert-ellipse-to-circle","title":"Convert Ellipse to Circle","description":"Convert non-eccentric ` elements to ` elements.","sidebar":"docsSidebar"},"plugins/convert-one-stop-gradients":{"id":"plugins/convert-one-stop-gradients","title":"Convert One-Stop Gradients","description":"Converts the ` and ` nodes that are effectively a solid color to the color.","sidebar":"docsSidebar"},"plugins/convert-path-data":{"id":"plugins/convert-path-data","title":"Convert Path Commands","description":"Optimize path commands found in `, , and elements. Path commands are the syntax used in the d` attribute, each character represents an instruction to draw paths.","sidebar":"docsSidebar"},"plugins/convert-shape-to-path":{"id":"plugins/convert-shape-to-path","title":"Convert Shape to Path","description":"Convert basic shapes to `` elements.","sidebar":"docsSidebar"},"plugins/convert-style-to-attrs":{"id":"plugins/convert-style-to-attrs","title":"Convert Style to Attributes","description":"Converts presentation attributes in element styles to the equvilent XML attribute.","sidebar":"docsSidebar"},"plugins/convert-transform":{"id":"plugins/convert-transform","title":"Convert Transform","description":"Collapse multiple transforms into one, convert matrices to the short aliases, and much more.","sidebar":"docsSidebar"},"plugins/index":{"id":"plugins/index","title":"Plugins","description":"All optimizations performed by SVGO are through the various plugins that are either built-in, or provided in your SVGO config.","sidebar":"docsSidebar"},"plugins/inline-styles":{"id":"plugins/inline-styles","title":"Inline Styles","description":"Merges styles from ` elements to the style` attribute of matching elements.","sidebar":"docsSidebar"},"plugins/merge-paths":{"id":"plugins/merge-paths","title":"Merge Paths","description":"Merge multiple paths into one.","sidebar":"docsSidebar"},"plugins/merge-styles":{"id":"plugins/merge-styles","title":"Merge Styles","description":"Merge multiple `` elements into one.","sidebar":"docsSidebar"},"plugins/minify-styles":{"id":"plugins/minify-styles","title":"Minify Styles","description":"Minify `` elements with CSSO.","sidebar":"docsSidebar"},"plugins/move-elems-attrs-to-group":{"id":"plugins/move-elems-attrs-to-group","title":"Move Element Attributes to Group","description":"Move an elements attributes to their enclosing group.","sidebar":"docsSidebar"},"plugins/move-group-attrs-to-elem":{"id":"plugins/move-group-attrs-to-elem","title":"Move Group Attributes to Element","description":"Move some group attributes to the contained elements.","sidebar":"docsSidebar"},"plugins/prefix-ids":{"id":"plugins/prefix-ids","title":"Prefix IDs","description":"Prefix element IDs and class names with the filename or another arbitrary string.","sidebar":"docsSidebar"},"plugins/remove-attributes-by-selector":{"id":"plugins/remove-attributes-by-selector","title":"Remove Attributes by Selector","description":"Removes specific attributes from elements that match a CSS selector.","sidebar":"docsSidebar"},"plugins/remove-attrs":{"id":"plugins/remove-attrs","title":"Remove Attributes","description":"Remove attributes from elements matching a custom syntax.","sidebar":"docsSidebar"},"plugins/remove-comments":{"id":"plugins/remove-comments","title":"Remove Comments","description":"Removes XML comments from the document.","sidebar":"docsSidebar"},"plugins/remove-deprecated-attrs":{"id":"plugins/remove-deprecated-attrs","title":"Remove Deprecated Attributes","description":"Removes deprecated attributes from elements in the document.","sidebar":"docsSidebar"},"plugins/remove-desc":{"id":"plugins/remove-desc","title":"Remove Description","description":"Removes the `` element from the document in one of the following conditions:","sidebar":"docsSidebar"},"plugins/remove-dimensions":{"id":"plugins/remove-dimensions","title":"Remove Dimensions","description":"Removes the width and height attribute from the top-most ` element if specified, and replaces it with the viewBox` attribute if it\'s missing.","sidebar":"docsSidebar"},"plugins/remove-doctype":{"id":"plugins/remove-doctype","title":"Remove Doctype","description":"Removes the Document Type Definition, also known as the DOCTYPE, from the document.","sidebar":"docsSidebar"},"plugins/remove-editors-ns-data":{"id":"plugins/remove-editors-ns-data","title":"Remove Editor Namespace Data","description":"Removes all XML namespaces, elements, and attributes associated with popular vector editing software.","sidebar":"docsSidebar"},"plugins/remove-elements-by-attr":{"id":"plugins/remove-elements-by-attr","title":"Remove Elements by Attribute","description":"Removes arbitrary elements by ID or className.","sidebar":"docsSidebar"},"plugins/remove-empty-attrs":{"id":"plugins/remove-empty-attrs","title":"Remove Empty Attributes","description":"Remove empty attributes from elements in the document.","sidebar":"docsSidebar"},"plugins/remove-empty-containers":{"id":"plugins/remove-empty-containers","title":"Remove Empty Containers","description":"Remove container elements in the document that have no children or meaningful attributes.","sidebar":"docsSidebar"},"plugins/remove-empty-text":{"id":"plugins/remove-empty-text","title":"Remove Empty Text","description":"Removes empty ` and elements, and ` elements that don\'t reference another node in the document.","sidebar":"docsSidebar"},"plugins/remove-hidden-elems":{"id":"plugins/remove-hidden-elems","title":"Remove Hidden Elements","description":"Remove hidden or invisible elements from the document. This can be elements with 0 width and height defined, or elements that were just hidden with CSS.","sidebar":"docsSidebar"},"plugins/remove-metadata":{"id":"plugins/remove-metadata","title":"Remove Metadata","description":"Removes the `` element from the document.","sidebar":"docsSidebar"},"plugins/remove-non-inheritable-group-attrs":{"id":"plugins/remove-non-inheritable-group-attrs","title":"Remove Non-inheritable Group Attributes","description":"Removes non-inheritable presentation attributes from groups.","sidebar":"docsSidebar"},"plugins/remove-off-canvas-paths":{"id":"plugins/remove-off-canvas-paths","title":"Remove Off Canvas Paths","description":"If a viewBox is present,","sidebar":"docsSidebar"},"plugins/remove-raster-images":{"id":"plugins/remove-raster-images","title":"Remove Raster Images","description":"Removes inline JPEGs, PNGs, and GIFs from the document.","sidebar":"docsSidebar"},"plugins/remove-scripts":{"id":"plugins/remove-scripts","title":"Remove Scripts","description":"Removes all scripts from the document.","sidebar":"docsSidebar"},"plugins/remove-style-element":{"id":"plugins/remove-style-element","title":"Remove Style Elements","description":"Remove all `` elements from the document.","sidebar":"docsSidebar"},"plugins/remove-title":{"id":"plugins/remove-title","title":"Remove Title","description":"Removes the `` element from the document.","sidebar":"docsSidebar"},"plugins/remove-unknowns-and-defaults":{"id":"plugins/remove-unknowns-and-defaults","title":"Remove Unknowns and Defaults","description":"Removes unknown elements and attributes, as well as attributes that are set to their default value.","sidebar":"docsSidebar"},"plugins/remove-unused-namespaces":{"id":"plugins/remove-unused-namespaces","title":"Remove Unused Namespaces","description":"Removes unused namespace declarations from the document.","sidebar":"docsSidebar"},"plugins/remove-useless-defs":{"id":"plugins/remove-useless-defs","title":"Remove Useless Defs","description":"Removes children of `` element that do not have an ID to reference.","sidebar":"docsSidebar"},"plugins/remove-useless-stroke-and-fill":{"id":"plugins/remove-useless-stroke-and-fill","title":"Remove Useless Stroke and Fill","description":"Removes useless stroke and fill attributes.","sidebar":"docsSidebar"},"plugins/remove-viewbox":{"id":"plugins/remove-viewbox","title":"Remove ViewBox","description":"Removes the viewBox attribute where it matches the documents width and height.","sidebar":"docsSidebar"},"plugins/remove-xlink":{"id":"plugins/remove-xlink","title":"Remove XLink","description":"Removes XLink namespace prefixes and converts references to XLink attributes to the native SVG equivalent by performing the following operations:","sidebar":"docsSidebar"},"plugins/remove-xml-proc-inst":{"id":"plugins/remove-xml-proc-inst","title":"Remove XML Declaration","description":"Removes the XML declaration from the document.","sidebar":"docsSidebar"},"plugins/remove-xmlns":{"id":"plugins/remove-xmlns","title":"Remove XML Namespace","description":"Removes the xmlns attribute from the top-most `` element in the document.","sidebar":"docsSidebar"},"plugins/reuse-paths":{"id":"plugins/reuse-paths","title":"Reuse Paths","description":"Creates a definition for similar paths, and swaps the ` elements to elements that will reference a single ` definition.","sidebar":"docsSidebar"},"plugins/sort-attrs":{"id":"plugins/sort-attrs","title":"Sort Attributes","description":"Sorts attributes in all elements in the document. This does not reduce the size of the SVG, but improves readability and may improve how compression algorithms perform on it.","sidebar":"docsSidebar"},"plugins/sort-defs-children":{"id":"plugins/sort-defs-children","title":"Sort Defs Children","description":"Sorts all children in the `` element. This does not reduce the size of the SVG, but may improve how compression algorithms perform on it.","sidebar":"docsSidebar"},"preset-default":{"id":"preset-default","title":"Preset Default","description":"SVGO runs with a default preset that has the plugin ID preset-default. This is the default set of plugins that are used when not explicitly specified or overridden elsewhere.","sidebar":"docsSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.6f5d18ed.js b/assets/js/935f2afb.6f5d18ed.js deleted file mode 100644 index 2a7899a..0000000 --- a/assets/js/935f2afb.6f5d18ed.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","label":"Introduction","href":"/docs/introduction","docId":"index","unlisted":false},{"type":"link","label":"Preset Default","href":"/docs/preset-default","docId":"preset-default","unlisted":false},{"type":"category","label":"Plugins","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Add Attributes to Elements","href":"/docs/plugins/add-attributes-to-svg-elements","docId":"plugins/add-attributes-to-svg-elements","unlisted":false},{"type":"link","label":"Add Classes to SVG","href":"/docs/plugins/add-classes-to-svg-element","docId":"plugins/add-classes-to-svg-element","unlisted":false},{"type":"link","label":"Cleanup Attributes","href":"/docs/plugins/cleanup-attrs","docId":"plugins/cleanup-attrs","unlisted":false},{"type":"link","label":"Cleanup Enable Background","href":"/docs/plugins/cleanup-enable-background","docId":"plugins/cleanup-enable-background","unlisted":false},{"type":"link","label":"Cleanup IDs","href":"/docs/plugins/cleanup-ids","docId":"plugins/cleanup-ids","unlisted":false},{"type":"link","label":"Cleanup List of Values","href":"/docs/plugins/cleanup-list-of-values","docId":"plugins/cleanup-list-of-values","unlisted":false},{"type":"link","label":"Cleanup Numeric Values","href":"/docs/plugins/cleanup-numeric-values","docId":"plugins/cleanup-numeric-values","unlisted":false},{"type":"link","label":"Collapse Groups","href":"/docs/plugins/collapse-groups","docId":"plugins/collapse-groups","unlisted":false},{"type":"link","label":"Convert Colors","href":"/docs/plugins/convert-colors","docId":"plugins/convert-colors","unlisted":false},{"type":"link","label":"Convert Ellipse to Circle","href":"/docs/plugins/convert-ellipse-to-circle","docId":"plugins/convert-ellipse-to-circle","unlisted":false},{"type":"link","label":"Convert One-Stop Gradients","href":"/docs/plugins/convert-one-stop-gradients","docId":"plugins/convert-one-stop-gradients","unlisted":false},{"type":"link","label":"Convert Path Commands","href":"/docs/plugins/convert-path-data","docId":"plugins/convert-path-data","unlisted":false},{"type":"link","label":"Convert Shape to Path","href":"/docs/plugins/convert-shape-to-path","docId":"plugins/convert-shape-to-path","unlisted":false},{"type":"link","label":"Convert Style to Attributes","href":"/docs/plugins/convert-style-to-attrs","docId":"plugins/convert-style-to-attrs","unlisted":false},{"type":"link","label":"Convert Transform","href":"/docs/plugins/convert-transform","docId":"plugins/convert-transform","unlisted":false},{"type":"link","label":"Inline Styles","href":"/docs/plugins/inline-styles","docId":"plugins/inline-styles","unlisted":false},{"type":"link","label":"Merge Paths","href":"/docs/plugins/merge-paths","docId":"plugins/merge-paths","unlisted":false},{"type":"link","label":"Merge Styles","href":"/docs/plugins/merge-styles","docId":"plugins/merge-styles","unlisted":false},{"type":"link","label":"Minify Styles","href":"/docs/plugins/minify-styles","docId":"plugins/minify-styles","unlisted":false},{"type":"link","label":"Move Element Attributes to Group","href":"/docs/plugins/move-elems-attrs-to-group","docId":"plugins/move-elems-attrs-to-group","unlisted":false},{"type":"link","label":"Move Group Attributes to Element","href":"/docs/plugins/move-group-attrs-to-elem","docId":"plugins/move-group-attrs-to-elem","unlisted":false},{"type":"link","label":"Prefix IDs","href":"/docs/plugins/prefix-ids","docId":"plugins/prefix-ids","unlisted":false},{"type":"link","label":"Remove Attributes by Selector","href":"/docs/plugins/remove-attributes-by-selector","docId":"plugins/remove-attributes-by-selector","unlisted":false},{"type":"link","label":"Remove Attributes","href":"/docs/plugins/remove-attrs","docId":"plugins/remove-attrs","unlisted":false},{"type":"link","label":"Remove Comments","href":"/docs/plugins/remove-comments","docId":"plugins/remove-comments","unlisted":false},{"type":"link","label":"Remove Description","href":"/docs/plugins/remove-desc","docId":"plugins/remove-desc","unlisted":false},{"type":"link","label":"Remove Dimensions","href":"/docs/plugins/remove-dimensions","docId":"plugins/remove-dimensions","unlisted":false},{"type":"link","label":"Remove Doctype","href":"/docs/plugins/remove-doctype","docId":"plugins/remove-doctype","unlisted":false},{"type":"link","label":"Remove Editor Namespace Data","href":"/docs/plugins/remove-editors-ns-data","docId":"plugins/remove-editors-ns-data","unlisted":false},{"type":"link","label":"Remove Elements by Attribute","href":"/docs/plugins/remove-elements-by-attr","docId":"plugins/remove-elements-by-attr","unlisted":false},{"type":"link","label":"Remove Empty Attributes","href":"/docs/plugins/remove-empty-attrs","docId":"plugins/remove-empty-attrs","unlisted":false},{"type":"link","label":"Remove Empty Containers","href":"/docs/plugins/remove-empty-containers","docId":"plugins/remove-empty-containers","unlisted":false},{"type":"link","label":"Remove Empty Text","href":"/docs/plugins/remove-empty-text","docId":"plugins/remove-empty-text","unlisted":false},{"type":"link","label":"Remove Hidden Elements","href":"/docs/plugins/remove-hidden-elems","docId":"plugins/remove-hidden-elems","unlisted":false},{"type":"link","label":"Remove Metadata","href":"/docs/plugins/remove-metadata","docId":"plugins/remove-metadata","unlisted":false},{"type":"link","label":"Remove Non-inheritable Group Attributes","href":"/docs/plugins/remove-non-inheritable-group-attrs","docId":"plugins/remove-non-inheritable-group-attrs","unlisted":false},{"type":"link","label":"Remove Off Canvas Paths","href":"/docs/plugins/remove-off-canvas-paths","docId":"plugins/remove-off-canvas-paths","unlisted":false},{"type":"link","label":"Remove Raster Images","href":"/docs/plugins/remove-raster-images","docId":"plugins/remove-raster-images","unlisted":false},{"type":"link","label":"Remove Scripts","href":"/docs/plugins/remove-scripts","docId":"plugins/remove-scripts","unlisted":false},{"type":"link","label":"Remove Style Elements","href":"/docs/plugins/remove-style-element","docId":"plugins/remove-style-element","unlisted":false},{"type":"link","label":"Remove Title","href":"/docs/plugins/remove-title","docId":"plugins/remove-title","unlisted":false},{"type":"link","label":"Remove Unknowns and Defaults","href":"/docs/plugins/remove-unknowns-and-defaults","docId":"plugins/remove-unknowns-and-defaults","unlisted":false},{"type":"link","label":"Remove Unused Namespaces","href":"/docs/plugins/remove-unused-namespaces","docId":"plugins/remove-unused-namespaces","unlisted":false},{"type":"link","label":"Remove Useless Defs","href":"/docs/plugins/remove-useless-defs","docId":"plugins/remove-useless-defs","unlisted":false},{"type":"link","label":"Remove Useless Stroke and Fill","href":"/docs/plugins/remove-useless-stroke-and-fill","docId":"plugins/remove-useless-stroke-and-fill","unlisted":false},{"type":"link","label":"Remove ViewBox","href":"/docs/plugins/remove-viewbox","docId":"plugins/remove-viewbox","unlisted":false},{"type":"link","label":"Remove XLink","href":"/docs/plugins/remove-xlink","docId":"plugins/remove-xlink","unlisted":false},{"type":"link","label":"Remove XML Declaration","href":"/docs/plugins/remove-xml-proc-inst","docId":"plugins/remove-xml-proc-inst","unlisted":false},{"type":"link","label":"Remove XML Namespace","href":"/docs/plugins/remove-xmlns","docId":"plugins/remove-xmlns","unlisted":false},{"type":"link","label":"Reuse Paths","href":"/docs/plugins/reuse-paths","docId":"plugins/reuse-paths","unlisted":false},{"type":"link","label":"Sort Attributes","href":"/docs/plugins/sort-attrs","docId":"plugins/sort-attrs","unlisted":false},{"type":"link","label":"Sort Defs Children","href":"/docs/plugins/sort-defs-children","docId":"plugins/sort-defs-children","unlisted":false}],"href":"/docs/plugins/"},{"type":"link","label":"Plugin Architecture","href":"/docs/plugins-api","docId":"plugins-api","unlisted":false}]},"docs":{"index":{"id":"index","title":"Introduction","description":"SVGO (short for SVG Optimizer) is a Node.js library and command-line application for optimizing SVG files.","sidebar":"docsSidebar"},"plugins-api":{"id":"plugins-api","title":"Plugin Architecture","description":"SVGO is primarily an optimizer, and is evolving as the community continue to propose or implement better optimizations.","sidebar":"docsSidebar"},"plugins/add-attributes-to-svg-elements":{"id":"plugins/add-attributes-to-svg-elements","title":"Add Attributes to Elements","description":"Adds attributes to the outer most `` element in the document. This is not an optimization and will increase the size of SVG documents.","sidebar":"docsSidebar"},"plugins/add-classes-to-svg-element":{"id":"plugins/add-classes-to-svg-element","title":"Add Classes to SVG","description":"Overrides the class attribute in the outer most `` element, omitting duplicates or null classes if found in your configuration.","sidebar":"docsSidebar"},"plugins/cleanup-attrs":{"id":"plugins/cleanup-attrs","title":"Cleanup Attributes","description":"Removes redundant whitespaces from attribute values.","sidebar":"docsSidebar"},"plugins/cleanup-enable-background":{"id":"plugins/cleanup-enable-background","title":"Cleanup Enable Background","description":"Cleans up enable-background, unless the document uses `` elements.","sidebar":"docsSidebar"},"plugins/cleanup-ids":{"id":"plugins/cleanup-ids","title":"Cleanup IDs","description":"Removes unused IDs, and minifys IDs that are referenced by other elements.","sidebar":"docsSidebar"},"plugins/cleanup-list-of-values":{"id":"plugins/cleanup-list-of-values","title":"Cleanup List of Values","description":"Rounds numeric values in attributes, such as those found in viewBox, enable-background, and points.","sidebar":"docsSidebar"},"plugins/cleanup-numeric-values":{"id":"plugins/cleanup-numeric-values","title":"Cleanup Numeric Values","description":"Rounds numeric values, and removes the unit when it\'s px as this is the default.","sidebar":"docsSidebar"},"plugins/collapse-groups":{"id":"plugins/collapse-groups","title":"Collapse Groups","description":"Finds groups that effectively do nothing and flattens them, preserving the contents of the groups.","sidebar":"docsSidebar"},"plugins/convert-colors":{"id":"plugins/convert-colors","title":"Convert Colors","description":"Converts color references to the shortest equivalent.","sidebar":"docsSidebar"},"plugins/convert-ellipse-to-circle":{"id":"plugins/convert-ellipse-to-circle","title":"Convert Ellipse to Circle","description":"Convert non-eccentric ` elements to ` elements.","sidebar":"docsSidebar"},"plugins/convert-one-stop-gradients":{"id":"plugins/convert-one-stop-gradients","title":"Convert One-Stop Gradients","description":"Converts the ` and ` nodes that are effectively a solid color to the color.","sidebar":"docsSidebar"},"plugins/convert-path-data":{"id":"plugins/convert-path-data","title":"Convert Path Commands","description":"Optimize path commands found in `, , and elements. Path commands are the syntax used in the d` attribute, each character represents an instruction to draw paths.","sidebar":"docsSidebar"},"plugins/convert-shape-to-path":{"id":"plugins/convert-shape-to-path","title":"Convert Shape to Path","description":"Convert basic shapes to `` elements.","sidebar":"docsSidebar"},"plugins/convert-style-to-attrs":{"id":"plugins/convert-style-to-attrs","title":"Convert Style to Attributes","description":"Converts presentation attributes in element styles to the equvilent XML attribute.","sidebar":"docsSidebar"},"plugins/convert-transform":{"id":"plugins/convert-transform","title":"Convert Transform","description":"Collapse multiple transforms into one, convert matrices to the short aliases, and much more.","sidebar":"docsSidebar"},"plugins/index":{"id":"plugins/index","title":"Plugins","description":"All optimizations performed by SVGO are through the various plugins that are either built-in, or provided in your SVGO config.","sidebar":"docsSidebar"},"plugins/inline-styles":{"id":"plugins/inline-styles","title":"Inline Styles","description":"Merges styles from ` elements to the style` attribute of matching elements.","sidebar":"docsSidebar"},"plugins/merge-paths":{"id":"plugins/merge-paths","title":"Merge Paths","description":"Merge multiple paths into one.","sidebar":"docsSidebar"},"plugins/merge-styles":{"id":"plugins/merge-styles","title":"Merge Styles","description":"Merge multiple `` elements into one.","sidebar":"docsSidebar"},"plugins/minify-styles":{"id":"plugins/minify-styles","title":"Minify Styles","description":"Minify `` elements with CSSO.","sidebar":"docsSidebar"},"plugins/move-elems-attrs-to-group":{"id":"plugins/move-elems-attrs-to-group","title":"Move Element Attributes to Group","description":"Move an elements attributes to their enclosing group.","sidebar":"docsSidebar"},"plugins/move-group-attrs-to-elem":{"id":"plugins/move-group-attrs-to-elem","title":"Move Group Attributes to Element","description":"Move some group attributes to the contained elements.","sidebar":"docsSidebar"},"plugins/prefix-ids":{"id":"plugins/prefix-ids","title":"Prefix IDs","description":"Prefix element IDs and class names with the filename or another arbitrary string.","sidebar":"docsSidebar"},"plugins/remove-attributes-by-selector":{"id":"plugins/remove-attributes-by-selector","title":"Remove Attributes by Selector","description":"Removes specific attributes from elements that match a CSS selector.","sidebar":"docsSidebar"},"plugins/remove-attrs":{"id":"plugins/remove-attrs","title":"Remove Attributes","description":"Remove attributes from elements matching a custom syntax.","sidebar":"docsSidebar"},"plugins/remove-comments":{"id":"plugins/remove-comments","title":"Remove Comments","description":"Removes XML comments from the document.","sidebar":"docsSidebar"},"plugins/remove-desc":{"id":"plugins/remove-desc","title":"Remove Description","description":"Removes the `` element from the document in one of the following conditions:","sidebar":"docsSidebar"},"plugins/remove-dimensions":{"id":"plugins/remove-dimensions","title":"Remove Dimensions","description":"Removes the width and height attribute from the top-most ` element if specified, and replaces it with the viewBox` attribute if it\'s missing.","sidebar":"docsSidebar"},"plugins/remove-doctype":{"id":"plugins/remove-doctype","title":"Remove Doctype","description":"Removes the Document Type Definition, also known as the DOCTYPE, from the document.","sidebar":"docsSidebar"},"plugins/remove-editors-ns-data":{"id":"plugins/remove-editors-ns-data","title":"Remove Editor Namespace Data","description":"Removes all XML namespaces, elements, and attributes associated with popular vector editing software.","sidebar":"docsSidebar"},"plugins/remove-elements-by-attr":{"id":"plugins/remove-elements-by-attr","title":"Remove Elements by Attribute","description":"Removes arbitrary elements by ID or className.","sidebar":"docsSidebar"},"plugins/remove-empty-attrs":{"id":"plugins/remove-empty-attrs","title":"Remove Empty Attributes","description":"Remove empty attributes from elements in the document.","sidebar":"docsSidebar"},"plugins/remove-empty-containers":{"id":"plugins/remove-empty-containers","title":"Remove Empty Containers","description":"Remove container elements in the document that have no children or meaningful attributes.","sidebar":"docsSidebar"},"plugins/remove-empty-text":{"id":"plugins/remove-empty-text","title":"Remove Empty Text","description":"Removes empty ` and elements, and ` elements that don\'t reference another node in the document.","sidebar":"docsSidebar"},"plugins/remove-hidden-elems":{"id":"plugins/remove-hidden-elems","title":"Remove Hidden Elements","description":"Remove hidden or invisible elements from the document. This can be elements with 0 width and height defined, or elements that were just hidden with CSS.","sidebar":"docsSidebar"},"plugins/remove-metadata":{"id":"plugins/remove-metadata","title":"Remove Metadata","description":"Removes the `` element from the document.","sidebar":"docsSidebar"},"plugins/remove-non-inheritable-group-attrs":{"id":"plugins/remove-non-inheritable-group-attrs","title":"Remove Non-inheritable Group Attributes","description":"Removes non-inheritable presentation attributes from groups.","sidebar":"docsSidebar"},"plugins/remove-off-canvas-paths":{"id":"plugins/remove-off-canvas-paths","title":"Remove Off Canvas Paths","description":"If a viewBox is present,","sidebar":"docsSidebar"},"plugins/remove-raster-images":{"id":"plugins/remove-raster-images","title":"Remove Raster Images","description":"Removes inline JPEGs, PNGs, and GIFs from the document.","sidebar":"docsSidebar"},"plugins/remove-scripts":{"id":"plugins/remove-scripts","title":"Remove Scripts","description":"Removes all scripts from the document.","sidebar":"docsSidebar"},"plugins/remove-style-element":{"id":"plugins/remove-style-element","title":"Remove Style Elements","description":"Remove all `` elements from the document.","sidebar":"docsSidebar"},"plugins/remove-title":{"id":"plugins/remove-title","title":"Remove Title","description":"Removes the `` element from the document.","sidebar":"docsSidebar"},"plugins/remove-unknowns-and-defaults":{"id":"plugins/remove-unknowns-and-defaults","title":"Remove Unknowns and Defaults","description":"Removes unknown elements and attributes, as well as attributes that are set to their default value.","sidebar":"docsSidebar"},"plugins/remove-unused-namespaces":{"id":"plugins/remove-unused-namespaces","title":"Remove Unused Namespaces","description":"Removes unused namespace declarations from the document.","sidebar":"docsSidebar"},"plugins/remove-useless-defs":{"id":"plugins/remove-useless-defs","title":"Remove Useless Defs","description":"Removes children of `` element that do not have an ID to reference.","sidebar":"docsSidebar"},"plugins/remove-useless-stroke-and-fill":{"id":"plugins/remove-useless-stroke-and-fill","title":"Remove Useless Stroke and Fill","description":"Removes useless stroke and fill attributes.","sidebar":"docsSidebar"},"plugins/remove-viewbox":{"id":"plugins/remove-viewbox","title":"Remove ViewBox","description":"Removes the viewBox attribute where it matches the documents width and height.","sidebar":"docsSidebar"},"plugins/remove-xlink":{"id":"plugins/remove-xlink","title":"Remove XLink","description":"Removes XLink namespace prefixes and converts references to XLink attributes to the native SVG equivalent by performing the following operations:","sidebar":"docsSidebar"},"plugins/remove-xml-proc-inst":{"id":"plugins/remove-xml-proc-inst","title":"Remove XML Declaration","description":"Removes the XML declaration from the document.","sidebar":"docsSidebar"},"plugins/remove-xmlns":{"id":"plugins/remove-xmlns","title":"Remove XML Namespace","description":"Removes the xmlns attribute from the top-most `` element in the document.","sidebar":"docsSidebar"},"plugins/reuse-paths":{"id":"plugins/reuse-paths","title":"Reuse Paths","description":"Creates a definition for similar paths, and swaps the ` elements to elements that will reference a single ` definition.","sidebar":"docsSidebar"},"plugins/sort-attrs":{"id":"plugins/sort-attrs","title":"Sort Attributes","description":"Sorts attributes in all elements in the document. This does not reduce the size of the SVG, but improves readability and may improve how compression algorithms perform on it.","sidebar":"docsSidebar"},"plugins/sort-defs-children":{"id":"plugins/sort-defs-children","title":"Sort Defs Children","description":"Sorts all children in the `` element. This does not reduce the size of the SVG, but may improve how compression algorithms perform on it.","sidebar":"docsSidebar"},"preset-default":{"id":"preset-default","title":"Preset Default","description":"SVGO runs with a default preset that has the plugin ID preset-default. This is the default set of plugins that are used when not explicitly specified or overridden elsewhere.","sidebar":"docsSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/b8ac59b8.674474f4.js b/assets/js/b8ac59b8.674474f4.js new file mode 100644 index 0000000..cd04ada --- /dev/null +++ b/assets/js/b8ac59b8.674474f4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[3207],{6305:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=n(5893),s=n(1151);const a={title:"Merge Paths",svgo:{pluginId:"mergePaths",defaultPlugin:!0,parameters:{force:{default:!1},floatPrecision:{description:"Number of decimal places to round to, using conventional rounding rules.",default:3},noSpaceAfterFlags:{description:'If to omit spaces after flags. Flags are values that can only be 0 or 1 and are used by some path commands, namely A and a.',default:!1}}}},r=void 0,l={id:"plugins/merge-paths",title:"Merge Paths",description:"Merge multiple paths into one.",source:"@site/.svgo/docs/03-plugins/merge-paths.mdx",sourceDirName:"03-plugins",slug:"/plugins/merge-paths",permalink:"/docs/plugins/merge-paths",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/merge-paths.mdx",tags:[],version:"current",frontMatter:{title:"Merge Paths",svgo:{pluginId:"mergePaths",defaultPlugin:!0,parameters:{force:{default:!1},floatPrecision:{description:"Number of decimal places to round to, using conventional rounding rules.",default:3},noSpaceAfterFlags:{description:'If to omit spaces after flags. Flags are values that can only be 0 or 1 and are used by some path commands, namely A and a.',default:!1}}}},sidebar:"docsSidebar",previous:{title:"Inline Styles",permalink:"/docs/plugins/inline-styles"},next:{title:"Merge Styles",permalink:"/docs/plugins/merge-styles"}},i={},c=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function d(e){const t={a:"a",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components},{PluginDemo:n,PluginParams:a,PluginUsage:r}=t;return n||p("PluginDemo",!0),a||p("PluginParams",!0),r||p("PluginUsage",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"Merge multiple paths into one."}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(r,{}),"\n",(0,o.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsx)(a,{}),"\n",(0,o.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,o.jsx)(n,{}),"\n",(0,o.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/mergePaths.js",children:"https://github.com/svg/svgo/blob/main/plugins/mergePaths.js"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}function p(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>r});var o=n(7294);const s={},a=o.createContext(s);function r(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b8ac59b8.92911ebf.js b/assets/js/b8ac59b8.92911ebf.js deleted file mode 100644 index d57437d..0000000 --- a/assets/js/b8ac59b8.92911ebf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[3207],{6305:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>c});var o=n(5893),s=n(1151);const a={title:"Merge Paths",svgo:{pluginId:"mergePaths",defaultPlugin:!0,parameters:{force:{default:!1},floatPrecision:{description:"Number of decimal places to round to, using conventional rounding rules.",default:null},noSpaceAfterFlags:{description:'If to omit spaces after flags. Flags are values that can only be 0 or 1 and are used by some path commands, namely A and a.',default:!1}}}},l=void 0,r={id:"plugins/merge-paths",title:"Merge Paths",description:"Merge multiple paths into one.",source:"@site/.svgo/docs/03-plugins/merge-paths.mdx",sourceDirName:"03-plugins",slug:"/plugins/merge-paths",permalink:"/docs/plugins/merge-paths",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/merge-paths.mdx",tags:[],version:"current",frontMatter:{title:"Merge Paths",svgo:{pluginId:"mergePaths",defaultPlugin:!0,parameters:{force:{default:!1},floatPrecision:{description:"Number of decimal places to round to, using conventional rounding rules.",default:null},noSpaceAfterFlags:{description:'If to omit spaces after flags. Flags are values that can only be 0 or 1 and are used by some path commands, namely A and a.',default:!1}}}},sidebar:"docsSidebar",previous:{title:"Inline Styles",permalink:"/docs/plugins/inline-styles"},next:{title:"Merge Styles",permalink:"/docs/plugins/merge-styles"}},i={},c=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function d(e){const t={a:"a",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components},{PluginDemo:n,PluginParams:a,PluginUsage:l}=t;return n||p("PluginDemo",!0),a||p("PluginParams",!0),l||p("PluginUsage",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"Merge multiple paths into one."}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(l,{}),"\n",(0,o.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsx)(a,{}),"\n",(0,o.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,o.jsx)(n,{}),"\n",(0,o.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/mergePaths.js",children:"https://github.com/svg/svgo/blob/main/plugins/mergePaths.js"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}function p(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>r,a:()=>l});var o=n(7294);const s={},a=o.createContext(s);function l(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d06206af.3df380b2.js b/assets/js/d06206af.3df380b2.js new file mode 100644 index 0000000..ce8269e --- /dev/null +++ b/assets/js/d06206af.3df380b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[9007],{2655:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var r=n(5893),o=n(1151);const s={title:"Remove Deprecated Attributes",svgo:{pluginId:"removeDeprecatedAttrs",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes safe deprecated attributes that do not change the rendered image. Enabling this will remove all deprecated attributes which may impact rendering.",type:"boolean",default:!1}}}},i=void 0,a={id:"plugins/remove-deprecated-attrs",title:"Remove Deprecated Attributes",description:"Removes deprecated attributes from elements in the document.",source:"@site/.svgo/docs/03-plugins/remove-deprecated-attrs.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-deprecated-attrs",permalink:"/docs/plugins/remove-deprecated-attrs",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-deprecated-attrs.mdx",tags:[],version:"current",frontMatter:{title:"Remove Deprecated Attributes",svgo:{pluginId:"removeDeprecatedAttrs",defaultPlugin:!0,parameters:{removeAny:{description:"By default, this plugin only removes safe deprecated attributes that do not change the rendered image. Enabling this will remove all deprecated attributes which may impact rendering.",type:"boolean",default:!1}}}},sidebar:"docsSidebar",previous:{title:"Remove Comments",permalink:"/docs/plugins/remove-comments"},next:{title:"Remove Description",permalink:"/docs/plugins/remove-desc"}},d={},l=[{value:"Usage",id:"usage",level:2},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function c(e){const t={a:"a",h2:"h2",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components},{PluginDemo:n,PluginUsage:s}=t;return n||u("PluginDemo",!0),s||u("PluginUsage",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"Removes deprecated attributes from elements in the document."}),"\n",(0,r.jsxs)(t.p,{children:["This plugin does not remove attributes from the deprecated XLink namespace. To remove them, use the ",(0,r.jsx)(t.a,{href:"/docs/plugins/remove-xlink/",children:"Remove XLink"})," plugin."]}),"\n",(0,r.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(s,{}),"\n",(0,r.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,r.jsx)(n,{}),"\n",(0,r.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeDeprecatedAttrs.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeDeprecatedAttrs.js"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}function u(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>i});var r=n(7294);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e283eaed.011a8da8.js b/assets/js/e283eaed.011a8da8.js new file mode 100644 index 0000000..4f53134 --- /dev/null +++ b/assets/js/e283eaed.011a8da8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[6150],{5355:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>i,contentTitle:()=>c,default:()=>h,frontMatter:()=>s,metadata:()=>l,toc:()=>d});var r=t(5893),n=t(1151);const s={title:"Convert Colors",svgo:{pluginId:"convertColors",defaultPlugin:!0,parameters:{currentColor:{description:'If to convert all instances of a color to currentcolor. This means to inherit the active foreground color, for example in HTML5 this would be the color property in CSS.',default:!1},names2hex:{description:"If to convert color names to the hex equivalent.",default:!0},rgb2hex:{description:"If to convert RGB colors to the hex equivalent, ignores RGBA.",default:!0},convertCase:{description:"Convert all color values to either upper or lower case by setting this to 'upper' or 'lower' respectively to improve compression. Set to false to disable this behavior.",default:"lower"},shorthex:{description:"If to convert 6 character hex colors to the 3 character equivalent where possible.",default:!0},shortname:{description:"If to convert hex colors to the color name, if the color name is shorter then the hex equivalent.",default:!0}}}},c=void 0,l={id:"plugins/convert-colors",title:"Convert Colors",description:"Converts color references to the shortest equivalent.",source:"@site/.svgo/docs/03-plugins/convert-colors.mdx",sourceDirName:"03-plugins",slug:"/plugins/convert-colors",permalink:"/docs/plugins/convert-colors",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/convert-colors.mdx",tags:[],version:"current",frontMatter:{title:"Convert Colors",svgo:{pluginId:"convertColors",defaultPlugin:!0,parameters:{currentColor:{description:'If to convert all instances of a color to currentcolor. This means to inherit the active foreground color, for example in HTML5 this would be the color property in CSS.',default:!1},names2hex:{description:"If to convert color names to the hex equivalent.",default:!0},rgb2hex:{description:"If to convert RGB colors to the hex equivalent, ignores RGBA.",default:!0},convertCase:{description:"Convert all color values to either upper or lower case by setting this to 'upper' or 'lower' respectively to improve compression. Set to false to disable this behavior.",default:"lower"},shorthex:{description:"If to convert 6 character hex colors to the 3 character equivalent where possible.",default:!0},shortname:{description:"If to convert hex colors to the color name, if the color name is shorter then the hex equivalent.",default:!0}}}},sidebar:"docsSidebar",previous:{title:"Collapse Groups",permalink:"/docs/plugins/collapse-groups"},next:{title:"Convert Ellipse to Circle",permalink:"/docs/plugins/convert-ellipse-to-circle"}},i={},d=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function a(e){const o={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components},{PluginDemo:t,PluginParams:s,PluginUsage:c}=o;return t||u("PluginDemo",!0),s||u("PluginParams",!0),c||u("PluginUsage",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.p,{children:"Converts color references to the shortest equivalent."}),"\n",(0,r.jsx)(o.p,{children:"Colors can be represented in various notations, the following table showcases some equivalent colors:"}),"\n",(0,r.jsxs)(o.table,{children:[(0,r.jsx)(o.thead,{children:(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.th,{children:"Name"}),(0,r.jsx)(o.th,{children:"rgb()"}),(0,r.jsx)(o.th,{children:"#rrggbb"}),(0,r.jsx)(o.th,{children:"#rgb"})]})}),(0,r.jsxs)(o.tbody,{children:[(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"red"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 0, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ff0000"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#f00"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"orange"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 165, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ffa500"})}),(0,r.jsx)(o.td,{})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"yellow"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 255, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ffff00"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ff0"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"green"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(0, 128, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#008000"})}),(0,r.jsx)(o.td,{})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"blue"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(0, 0, 255)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#0000FF"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#00f"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"purple"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(128, 0, 128)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#800080"})}),(0,r.jsx)(o.td,{})]})]})]}),"\n",(0,r.jsx)(o.p,{children:"It makes no difference which format is received by a client, and each one has wide support across browsers and image viewing software."}),"\n",(0,r.jsx)(o.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(c,{}),"\n",(0,r.jsx)(o.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(s,{}),"\n",(0,r.jsx)(o.h2,{id:"demo",children:"Demo"}),"\n",(0,r.jsx)(t,{}),"\n",(0,r.jsx)(o.h2,{id:"implementation",children:"Implementation"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsx)(o.li,{children:(0,r.jsx)(o.a,{href:"https://github.com/svg/svgo/blob/main/plugins/convertColors.js",children:"https://github.com/svg/svgo/blob/main/plugins/convertColors.js"})}),"\n"]})]})}function h(e={}){const{wrapper:o}={...(0,n.a)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}function u(e,o){throw new Error("Expected "+(o?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,o,t)=>{t.d(o,{Z:()=>l,a:()=>c});var r=t(7294);const n={},s=r.createContext(n);function c(e){const o=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function l(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e283eaed.b28fbe77.js b/assets/js/e283eaed.b28fbe77.js deleted file mode 100644 index 0780a7c..0000000 --- a/assets/js/e283eaed.b28fbe77.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[6150],{5355:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>i,contentTitle:()=>l,default:()=>a,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var r=t(5893),n=t(1151);const s={title:"Convert Colors",svgo:{pluginId:"convertColors",defaultPlugin:!0,parameters:{currentColor:{description:'If to convert all instances of a color to currentColor. This means to inherit the active foreground color, for example in HTML5 this would be the color property in CSS.',default:!1},names2hex:{description:"If to convert color names to the hex equivalent.",default:!0},rgb2hex:{description:"If to convert RGB colors to the hex equivalent, does ignores RGBA.",default:!0},shorthex:{description:"If to convert 6 character hex colors to the 3 character equivalent where possible.",default:!0},shortname:{description:"If to convert hex colors to the color name, if the color name is shorter then the hex equivalent.",default:!0}}}},l=void 0,c={id:"plugins/convert-colors",title:"Convert Colors",description:"Converts color references to the shortest equivalent.",source:"@site/.svgo/docs/03-plugins/convert-colors.mdx",sourceDirName:"03-plugins",slug:"/plugins/convert-colors",permalink:"/docs/plugins/convert-colors",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/convert-colors.mdx",tags:[],version:"current",frontMatter:{title:"Convert Colors",svgo:{pluginId:"convertColors",defaultPlugin:!0,parameters:{currentColor:{description:'If to convert all instances of a color to currentColor. This means to inherit the active foreground color, for example in HTML5 this would be the color property in CSS.',default:!1},names2hex:{description:"If to convert color names to the hex equivalent.",default:!0},rgb2hex:{description:"If to convert RGB colors to the hex equivalent, does ignores RGBA.",default:!0},shorthex:{description:"If to convert 6 character hex colors to the 3 character equivalent where possible.",default:!0},shortname:{description:"If to convert hex colors to the color name, if the color name is shorter then the hex equivalent.",default:!0}}}},sidebar:"docsSidebar",previous:{title:"Collapse Groups",permalink:"/docs/plugins/collapse-groups"},next:{title:"Convert Ellipse to Circle",permalink:"/docs/plugins/convert-ellipse-to-circle"}},i={},d=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function h(e){const o={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components},{PluginDemo:t,PluginParams:s,PluginUsage:l}=o;return t||x("PluginDemo",!0),s||x("PluginParams",!0),l||x("PluginUsage",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.p,{children:"Converts color references to the shortest equivalent."}),"\n",(0,r.jsx)(o.p,{children:"Colors can be represented in various notations, the following table showcases some equivalent colors:"}),"\n",(0,r.jsxs)(o.table,{children:[(0,r.jsx)(o.thead,{children:(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.th,{children:"Name"}),(0,r.jsx)(o.th,{children:"rgb()"}),(0,r.jsx)(o.th,{children:"#rrggbb"}),(0,r.jsx)(o.th,{children:"#rgb"})]})}),(0,r.jsxs)(o.tbody,{children:[(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"red"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 0, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ff0000"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#f00"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"orange"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 165, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ffa500"})}),(0,r.jsx)(o.td,{})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"yellow"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(255, 255, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ffff00"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#ff0"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"green"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(0, 128, 0)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#008000"})}),(0,r.jsx)(o.td,{})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"blue"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(0, 0, 255)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#0000FF"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#00f"})})]}),(0,r.jsxs)(o.tr,{children:[(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"purple"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"rgb(128, 0, 128)"})}),(0,r.jsx)(o.td,{children:(0,r.jsx)(o.code,{children:"#800080"})}),(0,r.jsx)(o.td,{})]})]})]}),"\n",(0,r.jsx)(o.p,{children:"It makes no difference which format is received by a client, and each one has wide support across browsers and image viewing software."}),"\n",(0,r.jsx)(o.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(l,{}),"\n",(0,r.jsx)(o.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(s,{}),"\n",(0,r.jsx)(o.h2,{id:"demo",children:"Demo"}),"\n",(0,r.jsx)(t,{}),"\n",(0,r.jsx)(o.h2,{id:"implementation",children:"Implementation"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsx)(o.li,{children:(0,r.jsx)(o.a,{href:"https://github.com/svg/svgo/blob/main/plugins/convertColors.js",children:"https://github.com/svg/svgo/blob/main/plugins/convertColors.js"})}),"\n"]})]})}function a(e={}){const{wrapper:o}={...(0,n.a)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}function x(e,o){throw new Error("Expected "+(o?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,o,t)=>{t.d(o,{Z:()=>c,a:()=>l});var r=t(7294);const n={},s=r.createContext(n);function l(e){const o=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function c(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.c4e1ee07.js b/assets/js/main.c4e1ee07.js deleted file mode 100644 index f53cad4..0000000 --- a/assets/js/main.c4e1ee07.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.c4e1ee07.js.LICENSE.txt */ -(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),o=n.n(r),a=n(6887);const i={"02610c8c":[function(){return n.e(436).then(n.bind(n,6847))},"@site/.svgo/docs/03-plugins/move-elems-attrs-to-group.mdx",6847],"0833c2e0":[function(){return n.e(5415).then(n.bind(n,5492))},"@site/.svgo/docs/03-plugins/remove-editors-ns-data.mdx",5492],"095a7c56":[function(){return n.e(5820).then(n.bind(n,484))},"@site/.svgo/docs/03-plugins/cleanup-enable-background.mdx",484],"09a4f9df":[function(){return n.e(9333).then(n.bind(n,3421))},"@site/.svgo/docs/03-plugins/remove-title.mdx",3421],"0bada90f":[function(){return n.e(2754).then(n.bind(n,2158))},"@site/.svgo/docs/03-plugins/remove-desc.mdx",2158],"0f0982c2":[function(){return n.e(9079).then(n.bind(n,6173))},"@site/.svgo/docs/03-plugins/prefix-ids.mdx",6173],"16c609e6":[function(){return n.e(9731).then(n.t.bind(n,2776,19))},"/home/runner/work/svgo.dev/svgo.dev/.docusaurus/@easyops-cn/docusaurus-search-local/default/plugin-route-context-module-100.json",2776],17896441:[function(){return Promise.all([n.e(532),n.e(7751),n.e(7918)]).then(n.bind(n,3273))},"@theme/DocItem",3273],"1a4e3797":[function(){return Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,2027))},"@theme/SearchPage",2027],"2805cede":[function(){return n.e(6480).then(n.bind(n,8666))},"@site/.svgo/docs/03-plugins/remove-viewbox.mdx",8666],"2e223245":[function(){return n.e(8833).then(n.bind(n,9827))},"@site/.svgo/docs/03-plugins/convert-ellipse-to-circle.mdx",9827],"39101f67":[function(){return n.e(2162).then(n.bind(n,1889))},"@site/.svgo/docs/03-plugins/remove-scripts.mdx",1889],"3984b408":[function(){return n.e(45).then(n.bind(n,9288))},"@site/.svgo/docs/03-plugins/remove-style-element.mdx",9288],"3a7dc8b1":[function(){return n.e(4801).then(n.bind(n,6267))},"@site/.svgo/docs/03-plugins/index.mdx",6267],"3ad916a9":[function(){return n.e(8731).then(n.bind(n,9283))},"@site/.svgo/docs/03-plugins/sort-attrs.mdx",9283],"3c88de45":[function(){return n.e(2366).then(n.bind(n,6697))},"@site/.svgo/docs/03-plugins/cleanup-ids.mdx",6697],"4c23bd0c":[function(){return n.e(7087).then(n.bind(n,9416))},"@site/.svgo/docs/03-plugins/remove-comments.mdx",9416],"4c4d97ac":[function(){return n.e(3637).then(n.bind(n,3363))},"@site/.svgo/docs/03-plugins/remove-doctype.mdx",3363],"4ee2231d":[function(){return n.e(9626).then(n.bind(n,4048))},"@site/.svgo/docs/03-plugins/sort-defs-children.mdx",4048],"545a226d":[function(){return n.e(7559).then(n.bind(n,2809))},"@site/.svgo/docs/03-plugins/remove-xmlns.mdx",2809],"5e95c892":[function(){return n.e(9661).then(n.bind(n,1892))},"@theme/DocsRoot",1892],"5e9f5e1a":[function(){return Promise.resolve().then(n.bind(n,6809))},"@generated/docusaurus.config",6809],"61eb0dcb":[function(){return n.e(7995).then(n.bind(n,4586))},"@site/.svgo/docs/03-plugins/add-classes-to-svg-element.mdx",4586],"628aad87":[function(){return n.e(4203).then(n.bind(n,9310))},"@site/.svgo/docs/03-plugins/remove-metadata.mdx",9310],"6680a07a":[function(){return n.e(539).then(n.bind(n,8449))},"@site/.svgo/docs/01-index.mdx",8449],"677d6728":[function(){return n.e(9790).then(n.bind(n,4162))},"@site/.svgo/docs/03-plugins/remove-unknowns-and-defaults.mdx",4162],"6c884c52":[function(){return n.e(9799).then(n.bind(n,8190))},"@site/.svgo/docs/03-plugins/minify-styles.mdx",8190],"6ed1bfe5":[function(){return n.e(9874).then(n.bind(n,8688))},"@site/.svgo/docs/03-plugins/remove-non-inheritable-group-attrs.mdx",8688],"6ff6566e":[function(){return n.e(2126).then(n.bind(n,5416))},"@site/.svgo/docs/03-plugins/remove-empty-text.mdx",5416],"73b05e58":[function(){return n.e(3444).then(n.bind(n,9059))},"@site/.svgo/docs/03-plugins/remove-xml-proc-inst.mdx",9059],"7f27fec9":[function(){return n.e(4278).then(n.bind(n,3825))},"@site/.svgo/docs/03-plugins/remove-hidden-elems.mdx",3825],"8be194ca":[function(){return n.e(2624).then(n.t.bind(n,3769,19))},"/home/runner/work/svgo.dev/svgo.dev/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"8cb1d838":[function(){return n.e(2317).then(n.bind(n,2643))},"@site/.svgo/docs/03-plugins/convert-transform.mdx",2643],"8e43e3b0":[function(){return n.e(59).then(n.bind(n,2364))},"@site/.svgo/docs/03-plugins/remove-empty-containers.mdx",2364],"8ff84e15":[function(){return n.e(6531).then(n.bind(n,7162))},"@site/.svgo/docs/03-plugins/remove-attrs.mdx",7162],"908e8c5c":[function(){return n.e(9143).then(n.bind(n,8933))},"@site/.svgo/docs/02-preset-default.mdx",8933],"935f2afb":[function(){return n.e(53).then(n.t.bind(n,1109,19))},"~docs/default/version-current-metadata-prop-751.json",1109],"9637d875":[function(){return n.e(2165).then(n.bind(n,3354))},"@site/.svgo/docs/03-plugins/cleanup-list-of-values.mdx",3354],"9b35937e":[function(){return n.e(5161).then(n.bind(n,2786))},"@site/.svgo/docs/03-plugins/convert-style-to-attrs.mdx",2786],"9be2aba1":[function(){return n.e(9978).then(n.bind(n,9236))},"@site/.svgo/docs/04-plugins-api.mdx",9236],"9fdaf449":[function(){return n.e(2874).then(n.bind(n,3439))},"@site/.svgo/docs/03-plugins/convert-path-data.mdx",3439],a517b943:[function(){return n.e(694).then(n.bind(n,7354))},"@site/.svgo/docs/03-plugins/collapse-groups.mdx",7354],a7bd4aaa:[function(){return n.e(8518).then(n.bind(n,8564))},"@theme/DocVersionRoot",8564],a94703ab:[function(){return Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,4007))},"@theme/DocRoot",4007],ad328574:[function(){return n.e(227).then(n.bind(n,8653))},"@site/.svgo/docs/03-plugins/remove-dimensions.mdx",8653],ae674b60:[function(){return n.e(2107).then(n.bind(n,609))},"@site/.svgo/docs/03-plugins/remove-useless-defs.mdx",609],aefbcdd1:[function(){return n.e(5033).then(n.t.bind(n,5745,19))},"/home/runner/work/svgo.dev/svgo.dev/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],b8ac59b8:[function(){return n.e(3207).then(n.bind(n,6305))},"@site/.svgo/docs/03-plugins/merge-paths.mdx",6305],ba7e1bec:[function(){return n.e(7903).then(n.bind(n,1806))},"@site/.svgo/docs/03-plugins/remove-xlink.mdx",1806],be6624b8:[function(){return n.e(3045).then(n.bind(n,7232))},"@site/.svgo/docs/03-plugins/convert-shape-to-path.mdx",7232],c4f5d8e4:[function(){return Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,5142))},"@site/src/pages/index.js",5142],c52470c9:[function(){return n.e(5039).then(n.bind(n,6974))},"@site/.svgo/docs/03-plugins/add-attributes-to-svg-elements.mdx",6974],c90cd879:[function(){return n.e(8530).then(n.bind(n,9266))},"@site/.svgo/docs/03-plugins/move-group-attrs-to-elem.mdx",9266],c9ba1691:[function(){return n.e(8485).then(n.bind(n,8104))},"@site/.svgo/docs/03-plugins/remove-useless-stroke-and-fill.mdx",8104],ca914fbb:[function(){return n.e(9914).then(n.bind(n,2848))},"@site/.svgo/docs/03-plugins/cleanup-numeric-values.mdx",2848],cd98feba:[function(){return n.e(4672).then(n.bind(n,1562))},"@site/.svgo/docs/03-plugins/inline-styles.mdx",1562],d3401572:[function(){return n.e(5436).then(n.bind(n,95))},"@site/.svgo/docs/03-plugins/remove-raster-images.mdx",95],de837b91:[function(){return n.e(4346).then(n.bind(n,1726))},"@site/.svgo/docs/03-plugins/remove-attributes-by-selector.mdx",1726],e0d1f3ab:[function(){return n.e(6469).then(n.bind(n,3288))},"@site/.svgo/docs/03-plugins/remove-empty-attrs.mdx",3288],e283eaed:[function(){return n.e(6150).then(n.bind(n,5355))},"@site/.svgo/docs/03-plugins/convert-colors.mdx",5355],e463939b:[function(){return n.e(6602).then(n.bind(n,587))},"@site/.svgo/docs/03-plugins/remove-unused-namespaces.mdx",587],e7c904b5:[function(){return n.e(7184).then(n.bind(n,3533))},"@site/.svgo/docs/03-plugins/remove-elements-by-attr.mdx",3533],e93c8ee9:[function(){return n.e(3174).then(n.bind(n,5861))},"@site/.svgo/docs/03-plugins/cleanup-attrs.mdx",5861],e9c5b91c:[function(){return n.e(1289).then(n.bind(n,2369))},"@site/.svgo/docs/03-plugins/remove-off-canvas-paths.mdx",2369],ef022ca9:[function(){return n.e(4158).then(n.bind(n,9767))},"@site/.svgo/docs/03-plugins/merge-styles.mdx",9767],f8ce1b83:[function(){return n.e(7015).then(n.bind(n,5725))},"@site/.svgo/docs/03-plugins/convert-one-stop-gradients.mdx",5725],ffa29ea2:[function(){return n.e(6461).then(n.bind(n,4612))},"@site/.svgo/docs/03-plugins/reuse-paths.mdx",4612]};var s=n(5893);function l(e){var t=e.error,n=e.retry,r=e.pastDelay;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(9670),c=n(226);function d(e,t){if("*"===e)return o()({loading:l,loader:function(){return n.e(1772).then(n.bind(n,1772))},modules:["@theme/NotFound"],webpack:function(){return[1772]},render:function(e,t){var n=e.default;return(0,s.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,Object.assign({},t))})}});var r=a[e+"-"+t],d={},p=[],f=[],h=(0,u.Z)(r);return Object.entries(h).forEach((function(e){var t=e[0],n=e[1],r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:d,modules:p,webpack:function(){return f},render:function(t,n){var o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((function(t){var n=t[0],r=t[1],a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((function(e){return"default"!==e})).forEach((function(e){a[e]=r[e]}));var i=o,s=n.split(".");s.slice(0,-1).forEach((function(e){i=i[e]})),i[s[s.length-1]]=a}));var a=o.__comp;delete o.__comp;var i=o.__context;return delete o.__context,(0,s.jsx)(c.z,{value:i,children:(0,s.jsx)(a,Object.assign({},o,n))})}})}const p=[{path:"/search/",component:d("/search/","7f2"),exact:!0},{path:"/docs/",component:d("/docs/","dd6"),routes:[{path:"/docs/",component:d("/docs/","dc0"),routes:[{path:"/docs/",component:d("/docs/","68f"),routes:[{path:"/docs/introduction/",component:d("/docs/introduction/","42f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins-api/",component:d("/docs/plugins-api/","c55"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/",component:d("/docs/plugins/","a91"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/add-attributes-to-svg-elements/",component:d("/docs/plugins/add-attributes-to-svg-elements/","869"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/add-classes-to-svg-element/",component:d("/docs/plugins/add-classes-to-svg-element/","eaf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/cleanup-attrs/",component:d("/docs/plugins/cleanup-attrs/","6a4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/cleanup-enable-background/",component:d("/docs/plugins/cleanup-enable-background/","fef"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/cleanup-ids/",component:d("/docs/plugins/cleanup-ids/","ef0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/cleanup-list-of-values/",component:d("/docs/plugins/cleanup-list-of-values/","fcb"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/cleanup-numeric-values/",component:d("/docs/plugins/cleanup-numeric-values/","3df"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/collapse-groups/",component:d("/docs/plugins/collapse-groups/","594"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-colors/",component:d("/docs/plugins/convert-colors/","206"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-ellipse-to-circle/",component:d("/docs/plugins/convert-ellipse-to-circle/","c59"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-one-stop-gradients/",component:d("/docs/plugins/convert-one-stop-gradients/","0bf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-path-data/",component:d("/docs/plugins/convert-path-data/","e51"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-shape-to-path/",component:d("/docs/plugins/convert-shape-to-path/","2cf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-style-to-attrs/",component:d("/docs/plugins/convert-style-to-attrs/","12f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/convert-transform/",component:d("/docs/plugins/convert-transform/","7c8"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/inline-styles/",component:d("/docs/plugins/inline-styles/","0ac"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/merge-paths/",component:d("/docs/plugins/merge-paths/","af5"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/merge-styles/",component:d("/docs/plugins/merge-styles/","c07"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/minify-styles/",component:d("/docs/plugins/minify-styles/","dcc"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/move-elems-attrs-to-group/",component:d("/docs/plugins/move-elems-attrs-to-group/","792"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/move-group-attrs-to-elem/",component:d("/docs/plugins/move-group-attrs-to-elem/","a3b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/prefix-ids/",component:d("/docs/plugins/prefix-ids/","f3e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-attributes-by-selector/",component:d("/docs/plugins/remove-attributes-by-selector/","5fa"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-attrs/",component:d("/docs/plugins/remove-attrs/","cd7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-comments/",component:d("/docs/plugins/remove-comments/","5e3"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-desc/",component:d("/docs/plugins/remove-desc/","8b5"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-dimensions/",component:d("/docs/plugins/remove-dimensions/","af4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-doctype/",component:d("/docs/plugins/remove-doctype/","818"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-editors-ns-data/",component:d("/docs/plugins/remove-editors-ns-data/","094"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-elements-by-attr/",component:d("/docs/plugins/remove-elements-by-attr/","9a0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-empty-attrs/",component:d("/docs/plugins/remove-empty-attrs/","cf6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-empty-containers/",component:d("/docs/plugins/remove-empty-containers/","225"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-empty-text/",component:d("/docs/plugins/remove-empty-text/","5f4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-hidden-elems/",component:d("/docs/plugins/remove-hidden-elems/","d7a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-metadata/",component:d("/docs/plugins/remove-metadata/","c40"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-non-inheritable-group-attrs/",component:d("/docs/plugins/remove-non-inheritable-group-attrs/","b17"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-off-canvas-paths/",component:d("/docs/plugins/remove-off-canvas-paths/","47d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-raster-images/",component:d("/docs/plugins/remove-raster-images/","0f7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-scripts/",component:d("/docs/plugins/remove-scripts/","439"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-style-element/",component:d("/docs/plugins/remove-style-element/","96c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-title/",component:d("/docs/plugins/remove-title/","a13"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-unknowns-and-defaults/",component:d("/docs/plugins/remove-unknowns-and-defaults/","cb1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-unused-namespaces/",component:d("/docs/plugins/remove-unused-namespaces/","38e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-useless-defs/",component:d("/docs/plugins/remove-useless-defs/","86b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-useless-stroke-and-fill/",component:d("/docs/plugins/remove-useless-stroke-and-fill/","78d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-viewbox/",component:d("/docs/plugins/remove-viewbox/","d35"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-xlink/",component:d("/docs/plugins/remove-xlink/","c4e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-xml-proc-inst/",component:d("/docs/plugins/remove-xml-proc-inst/","311"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/remove-xmlns/",component:d("/docs/plugins/remove-xmlns/","50c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/reuse-paths/",component:d("/docs/plugins/reuse-paths/","d5f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/sort-attrs/",component:d("/docs/plugins/sort-attrs/","346"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/plugins/sort-defs-children/",component:d("/docs/plugins/sort-defs-children/","fb3"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/preset-default/",component:d("/docs/preset-default/","c8b"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","a09"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(7294),o=n(5893),a=r.createContext(!1);function i(e){var t=e.children,n=(0,r.useState)(!1),i=n[0],s=n[1];return(0,r.useEffect)((function(){s(!0)}),[]),(0,o.jsx)(a.Provider,{value:i,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),o=n(745),a=n(3727),i=n(405),s=n(412);const l=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790),p=n(5893);function f(e){var t=e.children;return(0,p.jsx)(p.Fragment,{children:t})}var h=n(5742),m=n(2263),g=n(4996),v=n(6668),y=n(1944),b=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){var e=(0,m.Z)().i18n,t=e.currentLocale,n=e.defaultLocale,r=e.localeConfigs,o=(0,b.l)(),a=r[t].htmlLang,i=function(e){return e.replace("-","_")};return(0,p.jsxs)(h.Z,{children:[Object.entries(r).map((function(e){var t=e[0],n=e[1].htmlLang;return(0,p.jsx)("link",{rel:"alternate",href:o.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:o.createUrl({locale:n,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:i(a)}),Object.values(r).filter((function(e){return a!==e.htmlLang})).map((function(e){return(0,p.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},"meta-og-"+e.htmlLang)}))]})}function C(e){var t=e.permalink,n=(0,m.Z)().siteConfig.url,r=function(){var e=(0,m.Z)().siteConfig,t=e.url,n=e.baseUrl,r=e.trailingSlash,o=(0,c.TH)().pathname;return t+(0,x.applyTrailingSlash)((0,g.Z)(o),{trailingSlash:r,baseUrl:n})}(),o=t?""+n+t:r;return(0,p.jsxs)(h.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function _(){var e=(0,m.Z)().i18n.currentLocale,t=(0,v.L)(),n=t.metadata,r=t.image;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(h.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),r&&(0,p.jsx)(y.d,{image:r}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(h.Z,{children:n.map((function(e,t){return(0,p.jsx)("meta",Object.assign({},e),t)}))})]})}var T=new Map;function j(e){if(T.has(e.pathname))return Object.assign({},e,{pathname:T.get(e.pathname)});if((0,d.f)(u.Z,e.pathname).some((function(e){return!0===e.route.exact})))return T.set(e.pathname,e.pathname),e;var t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),Object.assign({},e,{pathname:t})}var L=n(8934),A=n(8940),D=n(1073),O=n(469);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = '+e+" "+("/"===e?" (default value)":"")+'

\n

We suggest trying baseUrl =

\n\n'}(e)).replace(/{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(7294),o=n(6809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"index","docs":[{"id":"index","path":"/docs/introduction","sidebar":"docsSidebar"},{"id":"plugins-api","path":"/docs/plugins-api","sidebar":"docsSidebar"},{"id":"plugins/add-attributes-to-svg-elements","path":"/docs/plugins/add-attributes-to-svg-elements","sidebar":"docsSidebar"},{"id":"plugins/add-classes-to-svg-element","path":"/docs/plugins/add-classes-to-svg-element","sidebar":"docsSidebar"},{"id":"plugins/cleanup-attrs","path":"/docs/plugins/cleanup-attrs","sidebar":"docsSidebar"},{"id":"plugins/cleanup-enable-background","path":"/docs/plugins/cleanup-enable-background","sidebar":"docsSidebar"},{"id":"plugins/cleanup-ids","path":"/docs/plugins/cleanup-ids","sidebar":"docsSidebar"},{"id":"plugins/cleanup-list-of-values","path":"/docs/plugins/cleanup-list-of-values","sidebar":"docsSidebar"},{"id":"plugins/cleanup-numeric-values","path":"/docs/plugins/cleanup-numeric-values","sidebar":"docsSidebar"},{"id":"plugins/collapse-groups","path":"/docs/plugins/collapse-groups","sidebar":"docsSidebar"},{"id":"plugins/convert-colors","path":"/docs/plugins/convert-colors","sidebar":"docsSidebar"},{"id":"plugins/convert-ellipse-to-circle","path":"/docs/plugins/convert-ellipse-to-circle","sidebar":"docsSidebar"},{"id":"plugins/convert-one-stop-gradients","path":"/docs/plugins/convert-one-stop-gradients","sidebar":"docsSidebar"},{"id":"plugins/convert-path-data","path":"/docs/plugins/convert-path-data","sidebar":"docsSidebar"},{"id":"plugins/convert-shape-to-path","path":"/docs/plugins/convert-shape-to-path","sidebar":"docsSidebar"},{"id":"plugins/convert-style-to-attrs","path":"/docs/plugins/convert-style-to-attrs","sidebar":"docsSidebar"},{"id":"plugins/convert-transform","path":"/docs/plugins/convert-transform","sidebar":"docsSidebar"},{"id":"plugins/index","path":"/docs/plugins/","sidebar":"docsSidebar"},{"id":"plugins/inline-styles","path":"/docs/plugins/inline-styles","sidebar":"docsSidebar"},{"id":"plugins/merge-paths","path":"/docs/plugins/merge-paths","sidebar":"docsSidebar"},{"id":"plugins/merge-styles","path":"/docs/plugins/merge-styles","sidebar":"docsSidebar"},{"id":"plugins/minify-styles","path":"/docs/plugins/minify-styles","sidebar":"docsSidebar"},{"id":"plugins/move-elems-attrs-to-group","path":"/docs/plugins/move-elems-attrs-to-group","sidebar":"docsSidebar"},{"id":"plugins/move-group-attrs-to-elem","path":"/docs/plugins/move-group-attrs-to-elem","sidebar":"docsSidebar"},{"id":"plugins/prefix-ids","path":"/docs/plugins/prefix-ids","sidebar":"docsSidebar"},{"id":"plugins/remove-attributes-by-selector","path":"/docs/plugins/remove-attributes-by-selector","sidebar":"docsSidebar"},{"id":"plugins/remove-attrs","path":"/docs/plugins/remove-attrs","sidebar":"docsSidebar"},{"id":"plugins/remove-comments","path":"/docs/plugins/remove-comments","sidebar":"docsSidebar"},{"id":"plugins/remove-desc","path":"/docs/plugins/remove-desc","sidebar":"docsSidebar"},{"id":"plugins/remove-dimensions","path":"/docs/plugins/remove-dimensions","sidebar":"docsSidebar"},{"id":"plugins/remove-doctype","path":"/docs/plugins/remove-doctype","sidebar":"docsSidebar"},{"id":"plugins/remove-editors-ns-data","path":"/docs/plugins/remove-editors-ns-data","sidebar":"docsSidebar"},{"id":"plugins/remove-elements-by-attr","path":"/docs/plugins/remove-elements-by-attr","sidebar":"docsSidebar"},{"id":"plugins/remove-empty-attrs","path":"/docs/plugins/remove-empty-attrs","sidebar":"docsSidebar"},{"id":"plugins/remove-empty-containers","path":"/docs/plugins/remove-empty-containers","sidebar":"docsSidebar"},{"id":"plugins/remove-empty-text","path":"/docs/plugins/remove-empty-text","sidebar":"docsSidebar"},{"id":"plugins/remove-hidden-elems","path":"/docs/plugins/remove-hidden-elems","sidebar":"docsSidebar"},{"id":"plugins/remove-metadata","path":"/docs/plugins/remove-metadata","sidebar":"docsSidebar"},{"id":"plugins/remove-non-inheritable-group-attrs","path":"/docs/plugins/remove-non-inheritable-group-attrs","sidebar":"docsSidebar"},{"id":"plugins/remove-off-canvas-paths","path":"/docs/plugins/remove-off-canvas-paths","sidebar":"docsSidebar"},{"id":"plugins/remove-raster-images","path":"/docs/plugins/remove-raster-images","sidebar":"docsSidebar"},{"id":"plugins/remove-scripts","path":"/docs/plugins/remove-scripts","sidebar":"docsSidebar"},{"id":"plugins/remove-style-element","path":"/docs/plugins/remove-style-element","sidebar":"docsSidebar"},{"id":"plugins/remove-title","path":"/docs/plugins/remove-title","sidebar":"docsSidebar"},{"id":"plugins/remove-unknowns-and-defaults","path":"/docs/plugins/remove-unknowns-and-defaults","sidebar":"docsSidebar"},{"id":"plugins/remove-unused-namespaces","path":"/docs/plugins/remove-unused-namespaces","sidebar":"docsSidebar"},{"id":"plugins/remove-useless-defs","path":"/docs/plugins/remove-useless-defs","sidebar":"docsSidebar"},{"id":"plugins/remove-useless-stroke-and-fill","path":"/docs/plugins/remove-useless-stroke-and-fill","sidebar":"docsSidebar"},{"id":"plugins/remove-viewbox","path":"/docs/plugins/remove-viewbox","sidebar":"docsSidebar"},{"id":"plugins/remove-xlink","path":"/docs/plugins/remove-xlink","sidebar":"docsSidebar"},{"id":"plugins/remove-xml-proc-inst","path":"/docs/plugins/remove-xml-proc-inst","sidebar":"docsSidebar"},{"id":"plugins/remove-xmlns","path":"/docs/plugins/remove-xmlns","sidebar":"docsSidebar"},{"id":"plugins/reuse-paths","path":"/docs/plugins/reuse-paths","sidebar":"docsSidebar"},{"id":"plugins/sort-attrs","path":"/docs/plugins/sort-attrs","sidebar":"docsSidebar"},{"id":"plugins/sort-defs-children","path":"/docs/plugins/sort-defs-children","sidebar":"docsSidebar"},{"id":"preset-default","path":"/docs/preset-default","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/introduction","label":"index"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(7529);const l=JSON.parse('{"docusaurusVersion":"3.0.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.0"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.0"},"prefers-color-scheme":{"type":"project"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"3.0.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.37.4"}}}');var u=n(5893),c={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(c);function p(e){var t=e.children;return(0,u.jsx)(d.Provider,{value:c,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(1073),o=n(7294),a=n(412),i=n(5742),s=n(8780),l=n(6911),u=n(5893);function c(e){var t=e.error,n=e.tryAgain;return(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){var t=e.error,n=(0,s.getErrorCausalChain)(t).map((function(e){return e.message})).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){var t=e.error,n=e.tryAgain;return(0,u.jsxs)(h,{fallback:function(){return(0,u.jsx)(c,{error:t,tryAgain:n})},children:[(0,u.jsx)(i.Z,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(l.Z,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})}var f=function(e){return(0,u.jsx)(p,Object.assign({},e))},h=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={error:null},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e){a.Z.canUseDOM&&this.setState({error:e})},n.render=function(){var e=this,t=this.props.children,n=this.state.error;if(n){var r,o={error:n,tryAgain:function(){return e.setState({error:null})}};return(null!=(r=this.props.fallback)?r:f)(o)}return null!=t?t:null},t}(o.Component)},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document;const o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);var r=n(405),o=n(5893);function a(e){return(0,o.jsx)(r.ql,Object.assign({},e))}},9960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(102),o=n(7294),a=n(3727),i=n(8780),s=n(2263),l=n(3919),u=n(412),c=n(5893),d=o.createContext({collectLink:function(){}});var p=n(4996),f=["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"];function h(e,t){var n,h,m=e.isNavLink,g=e.to,v=e.href,y=e.activeClassName,b=e.isActive,w=e["data-noBrokenLinkCheck"],k=e.autoAddBaseUrl,x=void 0===k||k,S=(0,r.Z)(e,f),E=(0,s.Z)().siteConfig,C=E.trailingSlash,_=E.baseUrl,T=(0,p.C)().withBaseUrl,j=(0,o.useContext)(d),L=(0,o.useRef)(null);(0,o.useImperativeHandle)(t,(function(){return L.current}));var A=g||v;var D,O=(0,l.Z)(A),R=null==A?void 0:A.replace("pathname://",""),F=void 0!==R?(D=R,x&&function(e){return e.startsWith("/")}(D)?T(D):D):void 0;F&&O&&(F=(0,i.applyTrailingSlash)(F,{trailingSlash:C,baseUrl:_}));var P=(0,o.useRef)(!1),N=m?a.OL:a.rU,I=u.Z.canUseIntersectionObserver,M=(0,o.useRef)(),B=function(){P.current||null==F||(window.docusaurus.preload(F),P.current=!0)};(0,o.useEffect)((function(){return!I&&O&&null!=F&&window.docusaurus.prefetch(F),function(){I&&M.current&&M.current.disconnect()}}),[M,F,I,O]);var z=null!=(n=null==(h=F)?void 0:h.startsWith("#"))&&n,U=!F||!O||z;return U||w||j.collectLink(F),U?(0,c.jsx)("a",Object.assign({ref:L,href:F},A&&!O&&{target:"_blank",rel:"noopener noreferrer"},S)):(0,c.jsx)(N,Object.assign({},S,{onMouseEnter:B,onTouchStart:B,innerRef:function(e){L.current=e,I&&e&&O&&(M.current=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(M.current.unobserve(e),M.current.disconnect(),null!=F&&window.docusaurus.prefetch(F))}))})),M.current.observe(e))},to:F},m&&{isActive:b,activeClassName:y}))}const m=o.forwardRef(h)},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,I:()=>l});var r=n(7294),o=n(5893);function a(e,t){var n=e.split(/(\{\w+\})/).map((function(e,n){if(n%2==1){var r=null==t?void 0:t[e.slice(1,-1)];if(void 0!==r)return r}return e}));return n.some((function(e){return(0,r.isValidElement)(e)}))?n.map((function(e,t){return(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e})).filter((function(e){return""!==e})):n.join("")}var i=n(7529);function s(e){var t,n,r=e.id,o=e.message;if(void 0===r&&void 0===o)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=i[null!=r?r:o])?n:o)?t:r}function l(e,t){return a(s({message:e.message,id:e.id}),t)}function u(e){var t=e.children,n=e.id,r=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");var i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>o,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>s});var r=n(7294),o=n(2263),a=n(3919);function i(){var e=(0,o.Z)().siteConfig,t=e.baseUrl,n=e.url,i=(0,r.useCallback)((function(e,r){return function(e,t,n,r){var o=void 0===r?{}:r,i=o.forcePrependBaseUrl,s=void 0!==i&&i,l=o.absolute,u=void 0!==l&&l;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(s)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;var c=n.startsWith(t)?n:t+n.replace(/^\//,"");return u?e+c:c}(n,t,e,r)}),[n,t]);return{withBaseUrl:i}}function s(e,t){return void 0===t&&(t={}),(0,i().withBaseUrl)(e,t)}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(8940);function a(){return(0,r.useContext)(o._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(8934);function a(){return(0,r.useContext)(o._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const o=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(e){return"object"==typeof e&&!!e&&Object.keys(e).length>0};function o(e){var t={};return function e(n,o){Object.entries(n).forEach((function(n){var a=n[0],i=n[1],s=o?o+"."+a:a;r(i)?e(i,s):t[s]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>i});var r=n(7294),o=n(5893),a=r.createContext(null);function i(e){var t=e.children,n=e.value,i=r.useContext(a),s=(0,r.useMemo)((function(){return function(e){var t=e.parent,n=e.value;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}var r=Object.assign({},t.data,null==n?void 0:n.data);return{plugin:t.plugin,data:r}}({parent:i,value:n})}),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>m,gA:()=>p,_r:()=>c,zh:()=>d,yW:()=>h,gB:()=>f});var r=n(6550),o=n(2263),a=n(9935);function i(e,t){void 0===t&&(t={});var n=(0,o.Z)().globalData[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}var s=function(e){return e.versions.find((function(e){return e.isLast}))};function l(e,t){var n,o,a=function(e,t){var n=s(e);return[].concat(e.versions.filter((function(e){return e!==n})),[n]).find((function(e){return!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})}))}(e,t),i=null==a?void 0:a.docs.find((function(e){return!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:a,activeDoc:i,alternateDocVersions:i?(n=i.id,o={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===n&&(o[e.name]=t)}))})),o):{}}}var u={},c=function(){var e;return null!=(e=i("docusaurus-plugin-content-docs"))?e:u},d=function(e){return function(e,t,n){void 0===t&&(t=a.m),void 0===n&&(n={});var r=i(e),o=null==r?void 0:r[t];if(!o&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return o}("docusaurus-plugin-content-docs",e,{failfast:!0})};function p(e){return void 0===e&&(e={}),function(e,t,n){void 0===n&&(n={});var o=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return a}(c(),(0,r.TH)().pathname,e)}function f(e){return d(e).versions}function h(e){var t=d(e);return s(t)}function m(e){return l(d(e),(0,r.TH)().pathname)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(4865),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate:function(e){var t=e.location,n=e.previousLocation;if(n&&t.pathname!==n.pathname){var r=window.setTimeout((function(){o().start()}),200);return function(){return window.clearTimeout(r)}}},onRouteDidUpdate:function(){o().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r,o,a=n(4965),i=n(6809);r=a.p1,o=i.default.themeConfig.prism.additionalLanguages,globalThis.Prism=r,o.forEach((function(e){"php"===e&&n(6854),n(6726)("./prism-"+e)})),delete globalThis.Prism},2503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(102),o=(n(7294),n(6010)),a=n(5999),i=n(6668),s=n(9960);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(5893),c=["as","id"];function d(e){var t=e.as,n=e.id,d=(0,r.Z)(e,c),p=(0,i.L)().navbar.hideOnScroll;if("h1"===t||!n)return(0,u.jsx)(t,Object.assign({},d,{id:void 0}));var f=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof d.children?d.children:n});return(0,u.jsxs)(t,Object.assign({},d,{className:(0,o.Z)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,d.className),id:n,children:[d.children,(0,u.jsx)(s.Z,{className:"hash-link",to:"#"+n,"aria-label":f,title:f,children:"\u200b"})]}))}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(5893);function a(e){var t=e.width,n=void 0===t?13.5:t,a=e.height,i=void 0===a?13.5:a;return(0,o.jsx)("svg",{width:n,height:i,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6911:(e,t,n)=>{"use strict";n.d(t,{Z:()=>un});var r=n(7294),o=n(6010),a=n(4763),i=n(1944),s=n(6550),l=n(5999),u=n(5936),c=n(5893),d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){var e=(0,r.useRef)(null),t=(0,s.k6)().action,n=(0,r.useCallback)((function(e){e.preventDefault();var t,n=null!=(t=document.querySelector("main:first-of-type"))?t:document.getElementById(d);n&&p(n)}),[]);return(0,u.S)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}var h=(0,l.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){var t,n=null!=(t=e.children)?t:h,r=f(),o=r.containerRef,a=r.onClick;return(0,c.jsx)("div",{ref:o,role:"region","aria-label":h,children:(0,c.jsx)("a",Object.assign({},e,{href:"#"+d,onClick:a,children:n}))})}var g=n(5281),v=n(9727);const y={skipToContent:"skipToContent_fXgn"};function b(){return(0,c.jsx)(m,{className:y.skipToContent})}var w=n(6668),k=n(9689),x=n(102),S=["width","height","color","strokeWidth","className"];function E(e){var t=e.width,n=void 0===t?21:t,r=e.height,o=void 0===r?21:r,a=e.color,i=void 0===a?"currentColor":a,s=e.strokeWidth,l=void 0===s?1.2:s,u=(e.className,(0,x.Z)(e,S));return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 15 15",width:n,height:o},u,{children:(0,c.jsx)("g",{stroke:i,strokeWidth:l,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})}))}const C={closeButton:"closeButton_CVFx"};function _(e){return(0,c.jsx)("button",Object.assign({type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,o.Z)("clean-btn close",C.closeButton,e.className),children:(0,c.jsx)(E,{width:14,height:14,strokeWidth:3.1})}))}const T={content:"content_knG7"};function j(e){var t=(0,w.L)().announcementBar.content;return(0,c.jsx)("div",Object.assign({},e,{className:(0,o.Z)(T.content,e.className),dangerouslySetInnerHTML:{__html:t}}))}const L={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function A(){var e=(0,w.L)().announcementBar,t=(0,k.nT)(),n=t.isActive,r=t.close;if(!n)return null;var o=e.backgroundColor,a=e.textColor,i=e.isCloseable;return(0,c.jsxs)("div",{className:L.announcementBar,style:{backgroundColor:o,color:a},role:"banner",children:[i&&(0,c.jsx)("div",{className:L.announcementBarPlaceholder}),(0,c.jsx)(j,{className:L.announcementBarContent}),i&&(0,c.jsx)(_,{onClick:r,className:L.announcementBarClose})]})}var D=n(3163),O=n(2466);var R=n(4700),F=n(3102),P=r.createContext(null);function N(e){var t,n,o,a,i,s,l,u=e.children,d=(t=(0,D.e)(),n=(0,F.HY)(),o=(0,r.useState)(!1),a=o[0],i=o[1],s=null!==n.component,l=(0,R.D9)(s),(0,r.useEffect)((function(){s&&!l&&i(!0)}),[s,l]),(0,r.useEffect)((function(){s?t.shown||i(!0):i(!1)}),[t.shown,s]),(0,r.useMemo)((function(){return[a,i]}),[a]));return(0,c.jsx)(P.Provider,{value:d,children:u})}function I(e){if(e.component){var t=e.component;return(0,c.jsx)(t,Object.assign({},e.props))}}function M(){var e=(0,r.useContext)(P);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");var t=e[0],n=e[1],o=(0,r.useCallback)((function(){return n(!1)}),[n]),a=(0,F.HY)();return(0,r.useMemo)((function(){return{shown:t,hide:o,content:I(a)}}),[o,a,t])}function B(e){var t=e.header,n=e.primaryMenu,r=e.secondaryMenu,a=M().shown;return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var z=n(2949),U=n(2389);function Z(e){return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:24,height:24},e,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})}))}function $(e){return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:24,height:24},e,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})}))}const q={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",_:"__gAUT",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function H(e){var t=e.className,n=e.buttonClassName,r=e.value,a=e.onChange,i=(0,U.Z)(),s=(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,o.Z)(q.toggle,t),children:(0,c.jsxs)("button",{className:(0,o.Z)("clean-btn",q.toggleButton,!i&&q.toggleButtonDisabled,n),type:"button",onClick:function(){return a("dark"===r?"light":"dark")},disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,c.jsx)(Z,{className:(0,o.Z)(q.toggleIcon,q.lightToggleIcon)}),(0,c.jsx)($,{className:(0,o.Z)(q.toggleIcon,q.darkToggleIcon)})]})})}const Q=r.memo(H),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function G(e){var t=e.className,n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,o=(0,z.I)(),a=o.colorMode,i=o.setColorMode;return r?null:(0,c.jsx)(Q,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:a,onChange:i})}var W=n(9960);const K={logoWrapper:"logoWrapper_shR0",logo:"logo_rTTD"};var Y,X,J,ee,te,ne=["title","titleId"];function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const ae=function(e){var t=e.title,n=e.titleId,o=oe(e,ne);return r.createElement("svg",re({viewBox:"0 0 348.61 100","aria-labelledby":n},o),t?r.createElement("title",{id:n},t):null,Y||(Y=r.createElement("defs",null,r.createElement("linearGradient",{id:"a",x1:263.36,x2:333.47,y1:14.74,y2:84.85,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:0,stopColor:"#45afe4"}),r.createElement("stop",{offset:1,stopColor:"#364f9e"})),r.createElement("linearGradient",{id:"b",x1:262.64,x2:332.75,y1:15.46,y2:85.57,href:"#a"}))),X||(X=r.createElement("path",{fill:"currentColor",d:"m0 78.14 9.77-12.25A54.83 54.83 0 0 0 23.6 75a35.07 35.07 0 0 0 14.07 2.9q7.65 0 12.25-2.82t4.59-7.54A7.79 7.79 0 0 0 51.39 61Q48.27 58.6 41 57.42l-16.39-2.83Q14 52.82 8.54 47.17T3.06 32.58q0-11.55 8.77-18.25t23.72-6.71a56.64 56.64 0 0 1 18.08 3.06 52.24 52.24 0 0 1 15.95 8.47l-9.19 12.72a51.59 51.59 0 0 0-13-7.48A36.66 36.66 0 0 0 34.38 22q-6.84 0-11 2.53t-4.12 6.77A7.06 7.06 0 0 0 22 37.17q2.7 2.11 9.06 3.06l15.54 2.59q12.24 2 18.43 7.83T71.23 66a22.85 22.85 0 0 1-9.48 19.2q-9.48 7.18-25.25 7.18A53 53 0 0 1 17 88.62 55.3 55.3 0 0 1 0 78.14m106.49 13.07L73.05 8.79h18.49l25.19 65.11 25.78-65.11h17.66l-33.9 82.42z"})),J||(J=r.createElement("path",{fill:"url(#a)",d:"M340.15 39.88A43.42 43.42 0 0 0 335 28c1.72-2.41 3.36-4.89 4.89-7.49L328.08 8.75c-2.68 1.58-5.22 3.28-7.71 5.05a42.48 42.48 0 0 0-11.52-4.75c-.51-3-1.11-6-1.9-9h-16.67c-.78 3-1.37 5.92-1.87 8.88a42.9 42.9 0 0 0-11.85 4.7c-2.39-1.69-4.83-3.33-7.41-4.83l-11.78 11.73c1.42 2.43 2.94 4.74 4.53 7A43.1 43.1 0 0 0 256.39 40c-2.6.46-5.18 1-7.78 1.68v16.65c2.42.64 4.82 1.14 7.24 1.58a42.94 42.94 0 0 0 5.34 13.58 82.692 82.692 0 0 0-3.82 6l11.78 11.79c2-1.16 3.9-2.4 5.76-3.68a42.75 42.75 0 0 0 13.92 5.8c.4 2.22.88 4.42 1.45 6.63H307c.59-2.27 1.07-4.53 1.49-6.79A43.07 43.07 0 0 0 322 87.35c2 1.36 4 2.67 6.07 3.9l11.78-11.79a96.887 96.887 0 0 0-4.19-6.48 43.12 43.12 0 0 0 5-13c2.64-.47 5.28-1 7.92-1.7V41.67c-2.79-.74-5.58-1.31-8.43-1.79m-29.22 40.05a31.54 31.54 0 0 1-24.77.23.13.13 0 0 0 0-.06 31.67 31.67 0 0 1-17.19-17.64l-.16-.42a31.47 31.47 0 0 1 .62-23.51c.18-.42.37-.84.58-1.26a31.74 31.74 0 0 1 15.89-15.16q1-.43 2.1-.81a31.5 31.5 0 0 1 10.28-1.72 31.12 31.12 0 0 1 10.79 1.91c.79.29 1.56.6 2.32 1a31.64 31.64 0 0 1 15.18 14.81q.45.91.84 1.86A31.4 31.4 0 0 1 328 61.5c-.12.35-.24.7-.38 1a31.69 31.69 0 0 1-16.48 17.29z"})),ee||(ee=r.createElement("path",{fill:"url(#b)",d:"M321 60.91a6.33 6.33 0 0 0-10.63-3.26l-5-3.72a8.63 8.63 0 0 0-2.28-11.3l4-6.93a4.34 4.34 0 1 0-2.8-2.7 4.27 4.27 0 0 0 1.08 1.66l-4 6.93a8.79 8.79 0 0 0-3.94-.72 8.65 8.65 0 0 0-7.2 4.66l-8.58-3.37v-.09a4 4 0 1 0-.75 1.95l8.58 3.37a8.67 8.67 0 0 0 2.92 8.84l-4 6.24a5.23 5.23 0 0 0-2.27-.38 5.33 5.33 0 1 0 4 1.45l4-6.22a8.67 8.67 0 0 0 10.07-1.82l5 3.73a6.33 6.33 0 1 0 11.8 1.68z"})),te||(te=r.createElement("path",{fill:"currentColor",d:"M198.38 43.21v13.57h25.1a1.89 1.89 0 0 1 0 .29 23.59 23.59 0 0 1-1.55 6 22 22 0 0 1-2 3.89l-.06.08a20.51 20.51 0 0 1-3.87 4.28q-.48.42-1 .81a22.55 22.55 0 0 1-5.41 3.08A25.51 25.51 0 0 1 200 77a26.61 26.61 0 0 1-10.4-2.1 25.32 25.32 0 0 1-13.95-14.19 25.23 25.23 0 0 1-1.08-3.32 28.72 28.72 0 0 1-.92-7.39 29.1 29.1 0 0 1 1.26-8.68 20.11 20.11 0 0 1 .68-2 26.59 26.59 0 0 1 2-4.1 24.35 24.35 0 0 1 3.41-4.35c.26-.27.53-.54.81-.8a25.06 25.06 0 0 1 7.43-4.85 25.58 25.58 0 0 1 10.3-2.07h1.8a27.4 27.4 0 0 1 10.11 2.54l.39.18a30.36 30.36 0 0 1 10.07 7.95l11.89-10.95a40.71 40.71 0 0 0-14.95-11.3 46.09 46.09 0 0 0-19.3-4.07h-1.65a44.14 44.14 0 0 0-15.42 3.26 42.71 42.71 0 0 0-13.83 9 40.48 40.48 0 0 0-5.28 6.34 42.34 42.34 0 0 0-3.91 7.14A41.82 41.82 0 0 0 156.11 50a43.83 43.83 0 0 0 .25 4.76c.09.89.21 1.76.37 2.63a39.93 39.93 0 0 0 2.79 9.32A43.45 43.45 0 0 0 166 77.23c.87 1 1.78 2 2.75 3a42.71 42.71 0 0 0 13.83 9 44.68 44.68 0 0 0 17.19 3.3 42.8 42.8 0 0 0 12.29-1.74 38.67 38.67 0 0 0 4.19-1.5 41 41 0 0 0 8.29-4.67 36.58 36.58 0 0 0 4.81-4.14A40.2 40.2 0 0 0 238 67a42.1 42.1 0 0 0 2.4-8.51 48 48 0 0 0 .72-8.39v-6.9z"})))};function ie(){return(0,c.jsx)(W.Z,{to:"/",className:(0,o.Z)(K.logoWrapper),"aria-label":"SVGO home",children:(0,c.jsx)(ae,{className:(0,o.Z)(K.logo)})})}function se(){var e=(0,D.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:function(){return e.toggle()},children:(0,c.jsx)(E,{color:"var(--ifm-color-emphasis-600)"})})}function le(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(ie,{}),(0,c.jsx)(G,{className:"margin-right--md"}),(0,c.jsx)(se,{})]})}var ue=n(4996),ce=n(3919);function de(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var pe=n(9471),fe=["activeBasePath","activeBaseRegex","to","href","label","html","isDropdownLink","prependBaseUrlToHref"];function he(e){var t=e.activeBasePath,n=e.activeBaseRegex,r=e.to,o=e.href,a=e.label,i=e.html,s=e.isDropdownLink,l=e.prependBaseUrlToHref,u=(0,x.Z)(e,fe),d=(0,ue.Z)(r),p=(0,ue.Z)(t),f=(0,ue.Z)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,ce.Z)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[a,h&&(0,c.jsx)(pe.Z,Object.assign({},s&&{width:12,height:12}))]})};return o?(0,c.jsx)(W.Z,Object.assign({href:l?f:o},u,m)):(0,c.jsx)(W.Z,Object.assign({to:d,isNavLink:!0},(t||n)&&{isActive:function(e,t){return n?de(n,t.pathname):t.pathname.startsWith(p)}},u,m))}var me=["className","isDropdownItem"],ge=["className","isDropdownItem"],ve=["mobile","position"];function ye(e){var t=e.className,n=e.isDropdownItem,r=void 0!==n&&n,a=(0,x.Z)(e,me),i=(0,c.jsx)(he,Object.assign({className:(0,o.Z)(r?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:r},a));return r?(0,c.jsx)("li",{children:i}):i}function be(e){var t=e.className,n=(e.isDropdownItem,(0,x.Z)(e,ge));return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(he,Object.assign({className:(0,o.Z)("menu__link",t)},n))})}function we(e){var t,n=e.mobile,r=void 0!==n&&n,o=(e.position,(0,x.Z)(e,ve)),a=r?be:ye;return(0,c.jsx)(a,Object.assign({},o,{activeClassName:null!=(t=o.activeClassName)?t:r?"menu__link--active":"navbar__link--active"}))}var ke=n(6043),xe=n(8596),Se=n(2263);var Ee=["items","position","className","onClick"],Ce=["items","className","position","onClick"],_e=["mobile"];function Te(e,t){return e.some((function(e){return function(e,t){return!!(0,xe.Mg)(e.to,t)||!!de(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)}))}function je(e){var t,n=e.items,a=e.position,i=e.className,s=(e.onClick,(0,x.Z)(e,Ee)),l=(0,r.useRef)(null),u=(0,r.useState)(!1),d=u[0],p=u[1];return(0,r.useEffect)((function(){var e=function(e){l.current&&!l.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,c.jsxs)("div",{ref:l,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===a,"dropdown--show":d}),children:[(0,c.jsx)(he,Object.assign({"aria-haspopup":"true","aria-expanded":d,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i)},s,{onClick:s.to?void 0:function(e){return e.preventDefault()},onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),p(!d))},children:null!=(t=s.children)?t:s.label})),(0,c.jsx)("ul",{className:"dropdown__menu",children:n.map((function(e,t){return(0,r.createElement)(bt,Object.assign({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))}))})]})}function Le(e){var t,n,a=e.items,i=e.className,l=(e.position,e.onClick),u=(0,x.Z)(e,Ce),d=(n=(0,Se.Z)().siteConfig.baseUrl,(0,s.TH)().pathname.replace(n,"/")),p=Te(a,d),f=(0,ke.u)({initialState:function(){return!p}}),h=f.collapsed,m=f.toggleCollapsed,g=f.setCollapsed;return(0,r.useEffect)((function(){p&&g(!p)}),[d,p,g]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":h}),children:[(0,c.jsx)(he,Object.assign({role:"button",className:(0,o.Z)("menu__link menu__link--sublist menu__link--sublist-caret",i)},u,{onClick:function(e){e.preventDefault(),m()},children:null!=(t=u.children)?t:u.label})),(0,c.jsx)(ke.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:h,children:a.map((function(e,t){return(0,r.createElement)(bt,Object.assign({mobile:!0,isDropdownItem:!0,onClick:l,activeClassName:"menu__link--active"},e,{key:t}))}))})]})}function Ae(e){var t=e.mobile,n=void 0!==t&&t,r=(0,x.Z)(e,_e),o=n?Le:je;return(0,c.jsx)(o,Object.assign({},r))}var De=n(4711),Oe=["width","height"];function Re(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,a=(0,x.Z)(e,Oe);return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:n,height:o,"aria-hidden":!0},a,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})}))}const Fe="iconLanguage_nlXk";var Pe=["mobile","dropdownItemsBefore","dropdownItemsAfter","queryString"];var Ne=n(1029),Ie=n(1017),Me=n(7872),Be=n(4035),ze=n(373),Ue=n(143),Ze=n(22),$e=n(8202),qe=n(3926),He=n(2775),Qe=n(2539),Ve=n(726),Ge='',We='',Ke='',Ye='',Xe='',Je='',et='';const tt={searchBar:"searchBar_RVTs",dropdownMenu:"dropdownMenu_qbY6",searchBarLeft:"searchBarLeft_MXDe",_:"__y3NZ",suggestion:"suggestion_fB_2",cursor:"cursor_eG29",hitTree:"hitTree_kk6K",hitIcon:"hitIcon_a7Zy",hitPath:"hitPath_ieM4",noResultsIcon:"noResultsIcon_EBY5",hitFooter:"hitFooter_E9YW",hitWrapper:"hitWrapper_sAK8",hitTitle:"hitTitle_vyVt",hitAction:"hitAction_NqkB",hideAction:"hideAction_vcyE",noResults:"noResults_l6Q3",searchBarContainer:"searchBarContainer_NW3z",searchBarLoadingRing:"searchBarLoadingRing_YnHq",searchClearButton:"searchClearButton_qk4g",searchIndexLoading:"searchIndexLoading_EJ1f",searchHintContainer:"searchHintContainer_Pkmr",searchHint:"searchHint_iIMx",focused:"focused_OWtg",input:"input_FOTf",hint:"hint_URu1",suggestions:"suggestions_X8XU",dataset:"dataset_QiCy",empty:"empty_eITn"};function nt(e){var t=e.document,n=e.type,r=e.page,o=e.metadata,a=e.tokens,i=e.isInterOfTree,s=e.isLastOfTree,l=0===n,u=1===n,c=[];i?c.push(Je):s&&c.push(et);var d=c.map((function(e){return''+e+""})),p=''+(l?Ge:u?We:Ke)+"",f=[''+(0,Ve.o)(t.t,(0,He.m)(o,"t"),a)+""];if(!i&&!s&&Ne.H6){var h,m=r?(null!=(h=r.b)?h:[]).concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;f.push(''+(0,qe.e)(null!=m?m:[])+"")}else l||f.push(''+(0,Qe.C)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),a)+"");var g=''+Ye+"";return[].concat(d,[p,''],f,["",g]).join("")}function rt(){return''+Xe+""+(0,l.I)({id:"theme.SearchBar.noResultsText",message:"No results"})+""}var ot=n(311);function at(){return it.apply(this,arguments)}function it(){return(it=(0,Be.Z)((0,Ie.Z)().mark((function e(){var t,r;return(0,Ie.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(8443),n.e(5525)]).then(n.t.bind(n,8443,23));case 2:return t=e.sent,(r=t.default).noConflict?r.noConflict():t.noConflict&&t.noConflict(),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var st="_highlight";const lt=function(e){var t,n,a,i=e.handleSearchBarToggle,u=(0,U.Z)(),d=(0,Se.Z)().siteConfig.baseUrl,p=(0,Ue.gA)(),f=d;try{var h,m=(0,ze.J)(null!=(h=null==p?void 0:p.pluginId)?h:Ne.gQ).preferredVersion;m&&!m.isLast&&(f=m.path+"/")}catch(G){if(Ne.l9&&!(G instanceof R.i6))throw G}var g=(0,s.k6)(),v=(0,s.TH)(),y=(0,r.useRef)(null),b=(0,r.useRef)(new Map),w=(0,r.useRef)(!1),k=(0,r.useState)(!1),x=k[0],S=k[1],E=(0,r.useState)(!1),C=E[0],_=E[1],T=(0,r.useState)(""),j=T[0],L=T[1],A=(0,r.useRef)(null),D=(0,r.useRef)(""),O=(0,r.useState)(""),F=O[0],P=O[1];(0,r.useEffect)((function(){if(Array.isArray(Ne.Kc)){var e="";if(v.pathname.startsWith(f)){var t=v.pathname.substring(f.length),n=Ne.Kc.find((function(e){return t===e||t.startsWith(e+"/")}));n&&(e=n)}D.current!==e&&(b.current.delete(e),D.current=e),P(e)}}),[v.pathname,f]);var N=!!Ne.hG&&Array.isArray(Ne.Kc)&&""===F,I=(0,r.useCallback)((0,Be.Z)((0,Ie.Z)().mark((function e(){var t,n,r,a,i,s,u,c,p,h;return(0,Ie.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!N&&!b.current.get(F)){e.next=2;break}return e.abrupt("return");case 2:return b.current.set(F,"loading"),null==(t=A.current)||t.autocomplete.destroy(),S(!0),e.next=7,Promise.all([(0,Ze.w)(f,F),at()]);case 7:r=e.sent,a=r[0],i=a.wrappedIndexes,s=a.zhDictionary,u=r[1],c=function(e){var t,n=e.query,r=e.isEmpty,o=document.createElement("a"),a=new URLSearchParams,i=(0,l.I)({id:"theme.SearchBar.seeAll",message:"See all results"}),s=(0,l.I)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:F}),u=(0,l.I)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:F});if(a.set("q",n),t=F&&r?s:F?u:i,Array.isArray(Ne.Kc)&&!r&&a.set("ctx",F),f!==d){if(!f.startsWith(d))throw new Error("Version url '"+f+"' does not start with base url '"+d+"', this is a bug of `@easyops-cn/docusaurus-search-local`, please report it.");a.set("version",f.substring(d.length))}var c=d+"search?"+a.toString();return o.href=c,o.textContent=t,o.addEventListener("click",(function(e){var t;e.ctrlKey||e.metaKey||(e.preventDefault(),null==(t=A.current)||t.autocomplete.close(),g.push(c))})),o},A.current=u(y.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,o.Z)(tt.searchBar,(n={},n[tt.searchBarLeft]="left"===Ne.pu,n)),noPrefix:!0,dropdownMenu:tt.dropdownMenu,input:tt.input,hint:tt.hint,suggestions:tt.suggestions,suggestion:tt.suggestion,cursor:tt.cursor,dataset:tt.dataset,empty:tt.empty}},[{source:(0,$e.v)(i,s,Ne.qo),templates:{suggestion:nt,empty:rt,footer:function(e){var t=e.query,n=e.isEmpty;if(!n||F){var r=c({query:t,isEmpty:n}),o=document.createElement("div");return o.className=tt.hitFooter,o.appendChild(r),o}}}}]).on("autocomplete:selected",(function(e,t){var n,r=t.document,o=r.u,a=r.h,i=t.tokens;null==(n=y.current)||n.blur();var s=o;if(Ne.vc&&i.length>0){for(var l,u=new URLSearchParams,c=(0,Me.Z)(i);!(l=c()).done;){var d=l.value;u.append(st,d)}s+="?"+u.toString()}a&&(s+=a),g.push(s)})).on("autocomplete:closed",(function(){var e;null==(e=y.current)||e.blur()})),b.current.set(F,"done"),S(!1),w.current&&((p=y.current).value&&(null==(h=A.current)||h.autocomplete.open()),p.focus());case 17:case"end":return e.stop()}}),e)}))),[N,F,f,d,g]);(0,r.useEffect)((function(){if(Ne.vc){var e=u?new URLSearchParams(v.search).getAll(st):[];setTimeout((function(){var t,n=document.querySelector("article");if(n){var r=new Ne.vc(n);r.unmark(),0!==e.length&&r.mark(e),L(e.join(" ")),null==(t=A.current)||t.autocomplete.setVal(e.join(" "))}}))}}),[u,v.search,v.pathname]);var M=(0,r.useState)(!1),B=M[0],z=M[1],Z=(0,r.useCallback)((function(){w.current=!0,I(),z(!0),null==i||i(!0)}),[i,I]),$=(0,r.useCallback)((function(){z(!1),null==i||i(!1)}),[i]),q=(0,r.useCallback)((function(){I()}),[I]),H=(0,r.useCallback)((function(e){L(e.target.value),e.target.value&&_(!0)}),[]),Q=!!u&&/mac/i.test(null!=(t=null==(n=navigator.userAgentData)?void 0:n.platform)?t:navigator.platform);(0,r.useEffect)((function(){if(Ne.AY){var e=function(e){var t;!(Q?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),null==(t=y.current)||t.focus(),Z())};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}}),[Q,Z]);var V=(0,r.useCallback)((function(){var e,t=new URLSearchParams(v.search);t.delete(st);var n=t.toString(),r=v.pathname+(""!=n?"?"+n:"")+v.hash;r!=v.pathname+v.search+v.hash&&g.push(r),L(""),null==(e=A.current)||e.autocomplete.setVal("")}),[v.pathname,v.search,v.hash,g]);return(0,c.jsxs)("div",{className:(0,o.Z)("navbar__search",tt.searchBarContainer,(a={},a[tt.searchIndexLoading]=x&&C,a[tt.focused]=B,a)),hidden:N,children:[(0,c.jsx)("input",{placeholder:(0,l.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:q,onFocus:Z,onBlur:$,onChange:H,ref:y,value:j}),(0,c.jsx)(ot.Z,{className:tt.searchBarLoadingRing}),Ne.AY&&Ne.t_&&(""!==j?(0,c.jsx)("button",{className:tt.searchClearButton,onClick:V,children:"\u2715"}):u&&(0,c.jsxs)("div",{className:tt.searchHintContainer,children:[(0,c.jsx)("kbd",{className:tt.searchHint,children:Q?"\u2318":"ctrl"}),(0,c.jsx)("kbd",{className:tt.searchHint,children:"K"})]}))]})},ut={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ct(e){var t=e.children,n=e.className;return(0,c.jsx)("div",{className:(0,o.Z)(n,ut.navbarSearchContainer),children:t})}var dt=n(3438),pt=["docId","label","docsPluginId"];var ft=["sidebarId","label","docsPluginId"];var ht=["label","to","docsPluginId"];var mt=["mobile","docsPluginId","dropdownActiveClassDisabled","dropdownItemsBefore","dropdownItemsAfter"],gt=function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))};const vt={default:we,localeDropdown:function(e){var t=e.mobile,n=e.dropdownItemsBefore,r=e.dropdownItemsAfter,o=e.queryString,a=void 0===o?"":o,i=(0,x.Z)(e,Pe),u=(0,Se.Z)().i18n,d=u.currentLocale,p=u.locales,f=u.localeConfigs,h=(0,De.l)(),m=(0,s.TH)(),g=m.search,v=m.hash,y=p.map((function(e){var n=""+("pathname://"+h.createUrl({locale:e,fullyQualified:!1}))+g+v+a;return{label:f[e].label,lang:f[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===d?t?"menu__link--active":"dropdown__link--active":""}})),b=[].concat(n,y,r),w=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):f[d].label;return(0,c.jsx)(Ae,Object.assign({},i,{mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Re,{className:Fe}),w]}),items:b}))},search:function(e){var t=e.mobile,n=e.className;return t?null:(0,c.jsx)(ct,{className:n,children:(0,c.jsx)(lt,{})})},dropdown:Ae,html:function(e){var t=e.value,n=e.className,r=e.mobile,a=void 0!==r&&r,i=e.isDropdownItem,s=void 0!==i&&i,l=s?"li":"div";return(0,c.jsx)(l,{className:(0,o.Z)({navbar__item:!a&&!s,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){var t=e.docId,n=e.label,r=e.docsPluginId,o=(0,x.Z)(e,pt),a=(0,Ue.Iw)(r).activeDoc,i=(0,dt.vY)(t,r),s=(null==a?void 0:a.path)===(null==i?void 0:i.path);return null===i||i.unlisted&&!s?null:(0,c.jsx)(we,Object.assign({exact:!0},o,{isActive:function(){return s||!(null==a||!a.sidebar)&&a.sidebar===i.sidebar},label:null!=n?n:i.id,to:i.path}))},docSidebar:function(e){var t=e.sidebarId,n=e.label,r=e.docsPluginId,o=(0,x.Z)(e,ft),a=(0,Ue.Iw)(r).activeDoc,i=(0,dt.oz)(t,r).link;if(!i)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return(0,c.jsx)(we,Object.assign({exact:!0},o,{isActive:function(){return(null==a?void 0:a.sidebar)===t},label:null!=n?n:i.label,to:i.path}))},docsVersion:function(e){var t=e.label,n=e.to,r=e.docsPluginId,o=(0,x.Z)(e,ht),a=(0,dt.lO)(r)[0],i=null!=t?t:a.label,s=null!=n?n:function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(a).path;return(0,c.jsx)(we,Object.assign({},o,{label:i,to:s}))},docsVersionDropdown:function(e){var t=e.mobile,n=e.docsPluginId,r=e.dropdownActiveClassDisabled,o=e.dropdownItemsBefore,a=e.dropdownItemsAfter,i=(0,x.Z)(e,mt),u=(0,s.TH)(),d=u.search,p=u.hash,f=(0,Ue.Iw)(n),h=(0,Ue.gB)(n),m=(0,ze.J)(n).savePreferredVersionName,g=h.map((function(e){var t,n=null!=(t=f.alternateDocVersions[e.name])?t:gt(e);return{label:e.label,to:""+n.path+d+p,isActive:function(){return e===f.activeVersion},onClick:function(){return m(e.name)}}})),v=[].concat(o,g,a),y=(0,dt.lO)(n)[0],b=t&&v.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):y.label,w=t&&v.length>1?void 0:gt(y).path;return v.length<=1?(0,c.jsx)(we,Object.assign({},i,{mobile:t,label:b,to:w,isActive:r?function(){return!1}:void 0})):(0,c.jsx)(Ae,Object.assign({},i,{mobile:t,label:b,to:w,items:v,isActive:r?function(){return!1}:void 0}))}};var yt=["type"];function bt(e){var t=e.type,n=(0,x.Z)(e,yt),r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=vt[r];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return(0,c.jsx)(o,Object.assign({},n))}function wt(){var e=(0,D.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map((function(t,n){return(0,r.createElement)(bt,Object.assign({mobile:!0},t,{onClick:function(){return e.toggle()},key:n}))}))})}function kt(e){return(0,c.jsx)("button",Object.assign({},e,{type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})}))}function xt(){var e=0===(0,w.L)().navbar.items.length,t=M();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(kt,{onClick:function(){return t.hide()}}),t.content]})}function St(){var e,t=(0,D.e)();return void 0===(e=t.shown)&&(e=!0),(0,r.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e]),t.shouldRender?(0,c.jsx)(B,{header:(0,c.jsx)(le,{}),primaryMenu:(0,c.jsx)(wt,{}),secondaryMenu:(0,c.jsx)(xt,{})}):null}const Et={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ct(e){return(0,c.jsx)("div",Object.assign({role:"presentation"},e,{className:(0,o.Z)("navbar-sidebar__backdrop",e.className)}))}function _t(e){var t=e.children,n=(0,w.L)().navbar,a=n.hideOnScroll,i=n.style,s=(0,D.e)(),d=function(e){var t=(0,r.useState)(e),n=t[0],o=t[1],a=(0,r.useRef)(!1),i=(0,r.useRef)(0),s=(0,r.useCallback)((function(e){null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,O.RF)((function(t,n){var r=t.scrollY;if(e)if(r=s?o(!1):r+u0&&(0,c.jsx)(Vt,{links:n}),logo:r&&(0,c.jsx)(Yt,{logo:r}),copyright:t&&(0,c.jsx)(Xt,{copyright:t})})}const nn=r.memo(tn);var rn=(0,R.Qc)([z.S,k.pl,O.OC,ze.L5,i.VC,function(e){var t=e.children;return(0,c.jsx)(F.n2,{children:(0,c.jsx)(D.M,{children:(0,c.jsx)(N,{children:t})})})}]);function on(e){var t=e.children;return(0,c.jsx)(rn,{children:t})}var an=n(2503);function sn(e){var t=e.error,n=e.tryAgain;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(an.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Tt.Cw,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Tt.aG,{error:t})})]})})})}const ln={mainWrapper:"mainWrapper_z2l0"};function un(e){var t=e.children,n=e.noFooter,r=e.wrapperClassName,s=e.title,l=e.description;return(0,v.t)(),(0,c.jsxs)(on,{children:[(0,c.jsx)(i.d,{title:s,description:l}),(0,c.jsx)(b,{}),(0,c.jsx)(A,{}),(0,c.jsx)(Nt,{}),(0,c.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,ln.mainWrapper,r),children:(0,c.jsx)(a.Z,{fallback:function(e){return(0,c.jsx)(sn,Object.assign({},e))},children:t})}),!n&&(0,c.jsx)(nn,{})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);var r=n(5742),o=n(5893);function a(e){var t=e.locale,n=e.version,a=e.tag,i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(102),o=n(7294),a=n(6010),i=n(2389),s=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE",_:"__CY5b","themedComponent--dark":"themedComponent--dark_xIcU"};var u=n(5893);function c(e){var t=e.className,n=e.children,r=(0,i.Z)(),c=(0,s.I)().colorMode;return(0,u.jsx)(u.Fragment,{children:(r?"dark"===c?["dark"]:["light"]:["light","dark"]).map((function(e){var r=n({theme:e,className:(0,a.Z)(t,l.themedComponent,l["themedComponent--"+e])});return(0,u.jsx)(o.Fragment,{children:r},e)}))})}var d=["sources","className","alt"];function p(e){var t=e.sources,n=e.className,o=e.alt,a=(0,r.Z)(e,d);return(0,u.jsx)(c,{className:n,children:function(e){var n=e.theme,r=e.className;return(0,u.jsx)("img",Object.assign({src:t[n],alt:o,className:r},a))}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>p,z:()=>w});var r=n(102),o=n(7294),a=n(412),i=n(469),s=n(1442),l=n(5893),u=["collapsed"],c=["lazy"],d="ease-in-out";function p(e){var t=e.initialState,n=(0,o.useState)(null!=t&&t),r=n[0],a=n[1],i=(0,o.useCallback)((function(){a((function(e){return!e}))}),[]);return{collapsed:r,setCollapsed:a,toggleCollapsed:i}}var f={display:"none",overflow:"hidden",height:"0px"},h={display:"block",overflow:"visible",height:"auto"};function m(e,t){var n=t?f:h;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function g(e){var t=e.collapsibleRef,n=e.collapsed,r=e.animation,a=(0,o.useRef)(!1);(0,o.useEffect)((function(){var e,o=t.current;function i(){var e,t,n=o.scrollHeight,a=null!=(e=null==r?void 0:r.duration)?e:function(e){if((0,s.n)())return 1;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}(n);return{transition:"height "+a+"ms "+(null!=(t=null==r?void 0:r.easing)?t:d),height:n+"px"}}function l(){var e=i();o.style.transition=e.transition,o.style.height=e.height}if(!a.current)return m(o,n),void(a.current=!0);return o.style.willChange="height",e=requestAnimationFrame((function(){n?(l(),requestAnimationFrame((function(){o.style.height=f.height,o.style.overflow=f.overflow}))):(o.style.display="block",requestAnimationFrame((function(){l()})))})),function(){return cancelAnimationFrame(e)}}),[t,n,r])}function v(e){if(!a.Z.canUseDOM)return e?f:h}function y(e){var t=e.as,n=void 0===t?"div":t,r=e.collapsed,a=e.children,i=e.animation,s=e.onCollapseTransitionEnd,u=e.className,c=e.disableSSRStyle,d=(0,o.useRef)(null);return g({collapsibleRef:d,collapsed:r,animation:i}),(0,l.jsx)(n,{ref:d,style:c?void 0:v(r),onTransitionEnd:function(e){"height"===e.propertyName&&(m(d.current,r),null==s||s(r))},className:u,children:a})}function b(e){var t=e.collapsed,n=(0,r.Z)(e,u),a=(0,o.useState)(!t),s=a[0],c=a[1],d=(0,o.useState)(t),p=d[0],f=d[1];return(0,i.Z)((function(){t||c(!0)}),[t]),(0,i.Z)((function(){s&&f(t)}),[s,t]),s?(0,l.jsx)(y,Object.assign({},n,{collapsed:p})):null}function w(e){var t=e.lazy,n=(0,r.Z)(e,c),o=t?b:y;return(0,l.jsx)(o,Object.assign({},n))}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>h});var r=n(7294),o=n(2389),a=n(12),i=n(4700),s=n(6668),l=n(5893),u=(0,a.WA)("docusaurus.announcement.dismiss"),c=(0,a.WA)("docusaurus.announcement.id"),d=function(){return"true"===u.get()},p=function(e){return u.set(String(e))},f=r.createContext(null);function h(e){var t=e.children,n=function(){var e=(0,s.L)().announcementBar,t=(0,o.Z)(),n=(0,r.useState)((function(){return!!t&&d()})),a=n[0],i=n[1];(0,r.useEffect)((function(){i(d())}),[]);var l=(0,r.useCallback)((function(){p(!0),i(!0)}),[]);return(0,r.useEffect)((function(){if(e){var t=e.id,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;c.set(t),r&&p(!1),!r&&d()||i(!1)}}),[e]),(0,r.useMemo)((function(){return{isActive:!!e&&!a,close:l}}),[e,a,l])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function m(){var e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>v,S:()=>g});var r=n(7294),o=n(412),a=n(4700),i=n(12),s=n(6668),l=n(5893),u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),p={light:"light",dark:"dark"},f=function(e){return e===p.dark?p.dark:p.light},h=function(e){return o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e)},m=function(e){d.set(f(e))};function g(e){var t=e.children,n=function(){var e=(0,s.L)().colorMode,t=e.defaultMode,n=e.disableSwitch,o=e.respectPrefersColorScheme,a=(0,r.useState)(h(t)),i=a[0],l=a[1];(0,r.useEffect)((function(){n&&d.del()}),[n]);var u=(0,r.useCallback)((function(e,n){void 0===n&&(n={});var r=n.persist,a=void 0===r||r;e?(l(e),a&&m(e)):(l(o?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:t),d.del())}),[o,t]);(0,r.useEffect)((function(){document.documentElement.setAttribute("data-theme",f(i))}),[i]),(0,r.useEffect)((function(){if(!n){var e=function(e){if(e.key===c){var t=d.get();null!==t&&u(f(t))}};return window.addEventListener("storage",e),function(){return window.removeEventListener("storage",e)}}}),[n,u]);var g=(0,r.useRef)(!1);return(0,r.useEffect)((function(){if(!n||o){var e=window.matchMedia("(prefers-color-scheme: dark)"),t=function(){window.matchMedia("print").matches||g.current?g.current=window.matchMedia("print").matches:u(null)};return e.addListener(t),function(){return e.removeListener(t)}}}),[u,n,o]),(0,r.useMemo)((function(){return{colorMode:i,setColorMode:u,get isDarkTheme(){return i===p.dark},setLightTheme:function(){u(p.light)},setDarkTheme:function(){u(p.dark)}}}),[i,u])}();return(0,l.jsx)(u.Provider,{value:n,children:t})}function v(){var e=(0,r.useContext)(u);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>b,L5:()=>v});var r=n(7294),o=n(143),a=n(9935),i=n(6668),s=n(3438),l=n(4700),u=n(12),c=n(5893),d=function(e){return"docs-preferred-version-"+e},p={save:function(e,t,n){(0,u.WA)(d(e),{persistence:t}).set(n)},read:function(e,t){return(0,u.WA)(d(e),{persistence:t}).get()},clear:function(e,t){(0,u.WA)(d(e),{persistence:t}).del()}},f=function(e){return Object.fromEntries(e.map((function(e){return[e,{preferredVersionName:null}]})))};var h=r.createContext(null);function m(){var e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((function(){return Object.keys(e)}),[e]),a=(0,r.useState)((function(){return f(n)})),s=a[0],l=a[1];return(0,r.useEffect)((function(){l(function(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;return Object.fromEntries(t.map((function(e){return[e,(t=e,o=p.read(t,n),r[t].versions.some((function(e){return e.name===o}))?{preferredVersionName:o}:(p.clear(t,n),{preferredVersionName:null}))];var t,o})))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[s,(0,r.useMemo)((function(){return{savePreferredVersion:function(e,n){p.save(e,t,n),l((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}function g(e){var t=e.children,n=m();return(0,c.jsx)(h.Provider,{value:n,children:t})}function v(e){var t=e.children;return s.cE?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function y(){var e=(0,r.useContext)(h);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function b(e){var t;void 0===e&&(e=a.m);var n=(0,o.zh)(e),i=y(),s=i[0],l=i[1],u=s[e].preferredVersionName;return{preferredVersion:null!=(t=n.versions.find((function(e){return e.name===u})))?t:null,savePreferredVersionName:(0,r.useCallback)((function(t){l.savePreferredVersion(e,t)}),[l,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,b:()=>l});var r=n(7294),o=n(4700),a=n(5893),i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){var t=e.children,n=e.name,o=e.items,i=(0,r.useMemo)((function(){return n&&o?{name:n,items:o}:null}),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function u(){var e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>l,q:()=>s});var r=n(7294),o=n(4700),a=n(5893),i=r.createContext(null);function s(e){var t=e.children,n=e.version;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){var e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(7294),o=n(3102),a=n(7524),i=n(1980),s=n(6668),l=n(4700),u=n(5893),c=r.createContext(void 0);function d(){var e,t=(e=(0,o.HY)(),0===(0,s.L)().navbar.items.length&&!e.component),n=(0,a.i)(),l=!t&&"mobile"===n,u=(0,r.useState)(!1),c=u[0],d=u[1];(0,i.Rb)((function(){if(c)return d(!1),!1}));var p=(0,r.useCallback)((function(){d((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===n&&d(!1)}),[n]),(0,r.useMemo)((function(){return{disabled:t,shouldRender:l,toggle:p,shown:c}}),[t,l,p,c])}function p(e){var t=e.children,n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function f(){var e=r.useContext(c);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>u,n2:()=>s});var r=n(7294),o=n(4700),a=n(5893),i=r.createContext(null);function s(e){var t=e.children,n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){var e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){var t=e.component,n=e.props,a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");var s=a[1],l=(0,o.Ql)(n);return(0,r.useEffect)((function(){s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((function(){return function(){return s({component:null,props:null})}}),[s]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,t:()=>a});var r=n(7294),o="navigation-with-keyboard";function a(){(0,r.useEffect)((function(){function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),function(){document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(7294),o=n(412),a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(){var e=(0,r.useState)((function(){return"ssr"})),t=e[0],n=e[1];return(0,r.useEffect)((function(){function e(){n(function(){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?a.desktop:a.mobile}())}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),t}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:function(e){return"theme-admonition-"+e}},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},3438:(e,t,n)=>{"use strict";n.d(t,{LM:()=>h,SN:()=>C,_F:()=>v,cE:()=>f,f:()=>b,lO:()=>x,oz:()=>S,s1:()=>k,vY:()=>E});var r=n(7872),o=n(7294),a=n(6550),i=n(8790),s=n(143),l=n(373),u=n(4477),c=n(1116),d=n(7392),p=n(8596),f=!!s._r;function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(var t,n=(0,r.Z)(e.items);!(t=n()).done;){var o=h(t.value);if(o)return o}}(e):void 0:e.href}var m=function(e,t){return void 0!==e&&(0,p.Mg)(e,t)},g=function(e,t){return e.some((function(e){return v(e,t)}))};function v(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||g(e.items,t))}function y(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((function(e){return y(e,t)}));case"link":return!e.unlisted||v(e,t);default:return!1}}function b(e,t){return(0,o.useMemo)((function(){return e.filter((function(e){return y(e,t)}))}),[e,t])}function w(e){var t=e.sidebarItems,n=e.pathname,o=e.onlyCategories,a=void 0!==o&&o,i=[];return function e(t){for(var o,s=(0,r.Z)(t);!(o=s()).done;){var l=o.value;if("category"===l.type&&((0,p.Mg)(l.href,n)||e(l.items))||"link"===l.type&&(0,p.Mg)(l.href,n))return a&&"category"!==l.type||i.unshift(l),!0}return!1}(t),i}function k(){var e,t=(0,c.V)(),n=(0,a.TH)().pathname;return!1!==(null==(e=(0,s.gA)())?void 0:e.pluginData.breadcrumbs)&&t?w({sidebarItems:t.items,pathname:n}):null}function x(e){var t=(0,s.Iw)(e).activeVersion,n=(0,l.J)(e).preferredVersion,r=(0,s.yW)(e);return(0,o.useMemo)((function(){return(0,d.j)([t,n,r].filter(Boolean))}),[t,n,r])}function S(e,t){var n=x(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.sidebars?Object.entries(e.sidebars):[]})),r=t.find((function(t){return t[0]===e}));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((function(e){return e.name})).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((function(e){return e[0]})).join("\n- "));return r[1]}),[e,n])}function E(e,t){var n=x(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.docs})),r=t.find((function(t){return t.id===e}));if(!r){if(n.flatMap((function(e){return e.draftIds})).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((function(e){return e.name})).join(", ")+'".\nAvailable doc ids are:\n- '+(0,d.j)(t.map((function(e){return e.id}))).join("\n- "))}return r}),[e,n])}function C(e){var t=e.route,n=(0,a.TH)(),r=(0,u.E)(),o=t.routes,s=o.find((function(e){return(0,a.LX)(n.pathname,e)}));if(!s)return null;var l=s.sidebar,c=l?r.docsSidebars[l]:void 0;return{docElement:(0,i.H)(o),sidebarName:l,sidebarItems:c}}},9690:(e,t,n)=>{"use strict";n.d(t,{aG:()=>d,Ac:()=>c,Cw:()=>u,QW:()=>p});var r=n(1073),o=n(7294),a=n(5999),i=n(8780);const s={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var l=n(5893);function u(e){return(0,l.jsx)("button",Object.assign({type:"button"},e,{children:(0,l.jsx)(a.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})}))}function c(e){var t=e.error,n=e.tryAgain;return(0,l.jsxs)("div",{className:s.errorBoundaryFallback,children:[(0,l.jsx)("p",{children:t.message}),(0,l.jsx)(u,{onClick:n})]})}function d(e){var t=e.error,n=(0,i.getErrorCausalChain)(t).map((function(e){return e.message})).join("\n\nCause:\n");return(0,l.jsx)("p",{className:s.errorBoundaryError,children:n})}var p=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e,t){throw this.props.onError(e,t)},n.render=function(){return this.props.children},t}(o.Component)},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>i,_X:()=>s});var r=n(7294),o=n(6550),a=n(4700);function i(e){!function(e){var t=(0,o.k6)(),n=(0,a.zX)(e);(0,r.useEffect)((function(){return t.block((function(e,t){return n(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}function s(e){return t=function(t){return null===e?null:new URLSearchParams(t.location.search).get(e)},n=(0,o.k6)(),(0,r.useSyncExternalStore)(n.listen,(function(){return t(n)}),(function(){return t(n)}));var t,n}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=function(e,t){return e===t}),e.filter((function(n,r){return e.findIndex((function(e){return t(e,n)}))!==r}))}function o(e){return Array.from(new Set(e))}n.d(t,{j:()=>o,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>h});var r=n(7294),o=n(6010),a=n(5742),i=n(226);function s(){var e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(4996),u=n(2263);var c=n(5893);function d(e){var t=e.title,n=e.description,r=e.keywords,o=e.image,i=e.children,s=function(e){var t=(0,u.Z)().siteConfig,n=t.title,r=t.titleDelimiter;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),d=(0,l.C)().withBaseUrl,p=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.Z,{children:[t&&(0,c.jsx)("title",{children:s}),t&&(0,c.jsx)("meta",{property:"og:title",content:s}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}var p=r.createContext(void 0);function f(e){var t=e.className,n=e.children,i=r.useContext(p),s=(0,o.Z)(i,t);return(0,c.jsxs)(p.Provider,{value:s,children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("html",{className:s})}),n]})}function h(e){var t=e.children,n=s(),r="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,""),a="plugin-id-"+n.plugin.id;return(0,c.jsx)(f,{className:(0,o.Z)(r,a),children:t})}},4700:(e,t,n)=>{"use strict";n.d(t,{i6:()=>h,Qc:()=>g,zX:()=>p,D9:()=>f,Ql:()=>m});var r=n(7802),o=n(1073);function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var i=n(9817);function s(e,t,n){return s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,i.Z)(o,n.prototype),o},s.apply(null,arguments)}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,i.Z)(n,e)},l(e)}var u=n(7294),c=n(469),d=n(5893);function p(e){var t=(0,u.useRef)(e);return(0,c.Z)((function(){t.current=e}),[e]),(0,u.useCallback)((function(){return t.current.apply(t,arguments)}),[])}function f(e){var t=(0,u.useRef)();return(0,c.Z)((function(){t.current=e})),t.current}var h=function(e){function t(t,n){var o,a,i;return(i=e.call(this)||this).name="ReactContextError",i.message="Hook "+(null!=(o=null==(a=i.stack)||null==(a=a.split("\n")[1])||null==(a=a.match((0,r.Z)(/at (?:\w+\.)?(\w+)/,{name:1})))?void 0:a.groups.name)?o:"")+" is called outside the <"+t+">. "+(null!=n?n:""),i}return(0,o.Z)(t,e),t}(l(Error));function m(e){var t=Object.entries(e);return t.sort((function(e,t){return e[0].localeCompare(t[0])})),(0,u.useMemo)((function(){return e}),t.flat())}function g(e){return function(t){var n=t.children;return(0,d.jsx)(d.Fragment,{children:e.reduceRight((function(e,t){return(0,d.jsx)(t,{children:e})}),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>s});var r=n(7294),o=n(723),a=n(2263);function i(e,t){var n=function(e){var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function s(){var e=(0,a.Z)().siteConfig.baseUrl;return(0,r.useMemo)((function(){return function(e){var t=e.baseUrl;function n(e){return e.path===t&&!0===e.exact}function r(e){return e.path===t&&!e.exact}return function e(t){if(0!==t.length)return t.find(n)||e(t.filter(r).flatMap((function(e){var t;return null!=(t=e.routes)?t:[]})))}(e.routes)}({routes:o.Z,baseUrl:e})}),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>m,OC:()=>c,RF:()=>f,o5:()=>h});var r=n(7294),o=n(412),a=n(2389),i=n(469),s=n(4700),l=n(5893);var u=r.createContext(void 0);function c(e){var t,n=e.children,o=(t=(0,r.useRef)(!0),(0,r.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]));return(0,l.jsx)(u.Provider,{value:o,children:n})}function d(){var e=(0,r.useContext)(u);if(null==e)throw new s.i6("ScrollControllerProvider");return e}var p=function(){return o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function f(e,t){void 0===t&&(t=[]);var n=d().scrollEventsEnabledRef,o=(0,r.useRef)(p()),a=(0,s.zX)(e);(0,r.useEffect)((function(){var e=function(){if(n.current){var e=p();a(e,o.current),o.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[a,n].concat(t))}function h(){var e,t,n,o=d(),a=(e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((function(t){e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((function(){var t=e.current,n=t.elem,r=t.top;if(!n)return{restored:!1};var o=n.getBoundingClientRect().top-r;return o&&window.scrollBy({left:0,top:o}),e.current={elem:null,top:0},{restored:0!==o}}),[]),(0,r.useMemo)((function(){return{save:t,restore:n}}),[n,t])),s=(0,r.useRef)(void 0),l=(0,r.useCallback)((function(e){a.save(e),o.disableScrollEvents(),s.current=function(){var e=a.restore().restored;if(s.current=void 0,e){window.addEventListener("scroll",(function e(){o.enableScrollEvents(),window.removeEventListener("scroll",e)}))}else o.enableScrollEvents()}}),[o,a]);return(0,i.Z)((function(){queueMicrotask((function(){return null==s.current?void 0:s.current()}))})),{blockElementScrollPositionUntilNextRender:l}}function m(){var e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:function(n){e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),function(){}}(n):function(e){var t=null,n=document.documentElement.scrollTop>e;return function r(){var o=document.documentElement.scrollTop;(n&&o>e||!n&&o{"use strict";n.d(t,{HX:()=>r,os:()=>o});n(2263);var r="default";function o(e,t){return"docs-"+e+"-"+t}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>c,WA:()=>u});var r=n(7294),o="localStorage";function a(e){var t=e.key,n=e.oldValue,r=e.newValue,o=e.storage;if(n!==r){var a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}}function i(e){if(void 0===e&&(e=o),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}var s=!1;var l={get:function(){return null},set:function(){},del:function(){},listen:function(){return function(){}}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);var n=i(null==t?void 0:t.persistence);return null===n?l:{get:function(){try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:function(t){try{var r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(o){console.error("Docusaurus storage error, can't set "+e+"="+t,o)}},del:function(){try{var t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(r){console.error("Docusaurus storage error, can't delete key="+e,r)}},listen:function(t){try{var r=function(r){r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),function(){return window.removeEventListener("storage",r)}}catch(o){return console.error("Docusaurus storage error, can't listen for changes of key="+e,o),function(){}}}}}function c(e,t){var n=(0,r.useRef)((function(){return null===e?l:u(e,t)})).current(),o=(0,r.useCallback)((function(e){return"undefined"==typeof window?function(){}:n.listen(e)}),[n]);return[(0,r.useSyncExternalStore)(o,(function(){return"undefined"==typeof window?null:n.get()}),(function(){return null})),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),o=n(6550),a=n(8780);function i(){var e=(0,r.Z)(),t=e.siteConfig,n=t.baseUrl,i=t.url,s=t.trailingSlash,l=e.i18n,u=l.defaultLocale,c=l.currentLocale,d=(0,o.TH)().pathname,p=(0,a.applyTrailingSlash)(d,{trailingSlash:s,baseUrl:n}),f=c===u?n:n.replace("/"+c+"/","/"),h=p.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?i:"")+function(e){return e===u?""+f:""+f+e+"/"}(t)+h}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),o=n(6550),a=n(4700);function i(e){var t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((function(){n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(2263);function o(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var o,a=e.split(/[#?]/)[0],i="/"===a||a===r?a:(o=a,n?function(e){return e.endsWith("/")?e:e+"/"}(o):function(e){return e.endsWith("/")?e.slice(0,-1):e}(o));return e.replace(a,i)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t].concat(e(t.cause)):[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var r=n(6010);const o={loadingRing:"loadingRing_RJI3","loading-ring":"loading-ring_FB5o"};var a=n(5893);function i(e){var t=e.className;return(0,a.jsxs)("div",{className:(0,r.Z)(o.loadingRing,t),children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]})}},22:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var r=n(1017),o=n(7872),a=n(4035),i=n(1336),s=n.n(i),l=n(1029),u=new Map;function c(e,t){var n=""+e+t,r=u.get(n);return r||(r=function(e,t){return d.apply(this,arguments)}(e,t),u.set(n,r)),r}function d(){return(d=(0,a.Z)((0,r.Z)().mark((function e(t,n){var a,i,u,c;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=""+t+l.J.replace("{dir}",n?"-"+n.replace(/\//g,"-"):""),new URL(a,location.origin).origin===location.origin){e.next=5;break}throw new Error("Unexpected version url");case 5:return e.next=7,fetch(a);case 7:return e.next=9,e.sent.json();case 9:return i=e.sent,u=i.map((function(e,t){var n=e.documents,r=e.index;return{type:t,documents:n,index:s().Index.load(r)}})),c=i.reduce((function(e,t){for(var n,r=(0,o.Z)(t.index.invertedIndex);!(n=r()).done;){var a=n.value;/(?:[\u3400-\u4DBF\u4E00-\u9FFF\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/.test(a[0][0])&&e.add(a[0])}return e}),new Set),e.abrupt("return",{wrappedIndexes:u,zhDictionary:Array.from(c)});case 13:return e.abrupt("return",{wrappedIndexes:[],zhDictionary:[]});case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},8202:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var r=n(7872),o=n(1336),a=n.n(o);function i(e,t){var n=[];return function e(o,a){if(0!==o.length){var i=o[0];if(/(?:[\u3400-\u4DBF\u4E00-\u9FFF\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/.test(i))for(var s,l=function(e,t){var n=[];return function e(o,a){for(var i,s=0,l=!1,u=(0,r.Z)(t);!(i=u()).done;){var c=i.value;if(o.substr(0,c.length)===c){var d={missed:a.missed,term:a.term.concat({value:c})};o.length>c.length?e(o.substr(c.length),d):n.push(d),l=!0}else for(var p=c.length-1;p>s;p-=1){var f=c.substr(0,p);if(o.substr(0,p)===f){s=p;var h={missed:a.missed,term:a.term.concat({value:f,trailing:!0})};o.length>p?e(o.substr(p),h):n.push(h),l=!0;break}}}l||(o.length>0?e(o.substr(1),{missed:a.missed+1,term:a.term}):a.term.length>0&&n.push(a))}(e,{missed:0,term:[]}),n.sort((function(e,t){var n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((function(e){return e.term}))}(i,t),u=(0,r.Z)(l);!(s=u()).done;){var c=s.value,d=a.concat.apply(a,c);e(o.slice(1),d)}else{var p=a.concat({value:i});e(o.slice(1),p)}}else n.push(a)}(e,[]),n}var s=n(1029);function l(e){return u(e).concat(u(e.filter((function(e){var t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function u(e,t){return e.map((function(e){return{tokens:e.map((function(e){return e.value})),term:e.map((function(e){return{value:e.value,presence:a().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?a().Query.wildcard.TRAILING:a().Query.wildcard.NONE}}))}}))}function c(e,t,n){return function(o,u){var c=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return a()[t[0]].tokenizer(e).map((function(e){return e.toString()}));var n=/[^-\s]+/g;return t.includes("zh")&&(n=/[0-9A-Z_a-z]+|(?:[\u3400-\u4DBF\u4E00-\u9FFF\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+/g),e.toLowerCase().match(n)||[]}(o,s.dK);if(0!==c.length){var d=function(e,t){var n=i(e,t);if(0===n.length)return[{tokens:e,term:e.map((function(e){return{value:e,presence:a().Query.presence.REQUIRED,wildcard:a().Query.wildcard.LEADING|a().Query.wildcard.TRAILING}}))}];for(var o,u=(0,r.Z)(n);!(o=u()).done;){var c=o.value;c[c.length-1].maybeTyping=!0}for(var d,p,f=[],h=(0,r.Z)(s.dK);!(d=h()).done;){var m=d.value;if("en"===m)s._k||f.unshift(a().stopWordFilter);else{var g=a()[m];g.stopWordFilter&&f.unshift(g.stopWordFilter)}}if(f.length>0){var v=function(e){return f.reduce((function(e,t){return e.filter((function(e){return t(e.value)}))}),e)};p=[];for(var y,b=[],w=(0,r.Z)(n);!(y=w()).done;){var k=y.value,x=v(k);p.push(x),x.length0&&b.push(x)}n.push.apply(n,b)}else p=n.slice();for(var S,E=[],C=(0,r.Z)(p);!(S=C()).done;){var _=S.value;if(_.length>2)for(var T=_.length-1;T>=0;T-=1)E.push(_.slice(0,T).concat(_.slice(T+1)))}return l(n).concat(l(E))}(c,t),p=[],f=function(){for(var t,o,a=h.value,i=a.term,s=a.tokens,l=function(){var t=o.value,a=t.documents,l=t.index,u=t.type;if(p.push.apply(p,l.query((function(e){for(var t,n=(0,r.Z)(i);!(t=n()).done;){var o=t.value;e.term(o.value,{wildcard:o.wildcard,presence:o.presence})}})).slice(0,n).filter((function(e){return!p.some((function(t){return t.document.i.toString()===e.ref}))})).slice(0,n-p.length).map((function(t){var n=a.find((function(e){return e.i.toString()===t.ref}));return{document:n,type:u,page:0!==u&&e[0].documents.find((function(e){return e.i===n.p})),metadata:t.matchData.metadata,tokens:s,score:t.score}}))),p.length>=n)return{v:1}},u=(0,r.Z)(e);!(o=u()).done;)if(t=l())return t.v};e:for(var h,m=(0,r.Z)(d);!(h=m()).done&&!f(););!function(e){e.forEach((function(e,t){e.index=t})),e.sort((function(t,n){var r=t.type>0&&t.page?e.findIndex((function(e){return e.document===t.page})):t.index,o=n.type>0&&n.page?e.findIndex((function(e){return e.document===n.page})):n.index;return-1===r&&(r=t.index),-1===o&&(o=n.index),r===o?0===t.type?-1:0===n.type?1:t.index-n.index:r-o}))}(p),function(e){e.forEach((function(t,n){n>0&&t.page&&e.some((function(e){return e.document===t.page}))&&(n{"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{e:()=>r})},1690:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{X:()=>r})},2775:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r=0,o=Object.values(e);rr})},2539:(e,t,n)=>{"use strict";n.d(t,{C:()=>a});var r=n(7872),o=n(1690);function a(e,t,n){for(var i,s=[],l=(0,r.Z)(t);!(i=l()).done;){var u=i.value,c=e.toLowerCase().indexOf(u);if(c>=0){c>0&&s.push(a(e.substr(0,c),t)),s.push(""+(0,o.X)(e.substr(c,u.length))+"");var d=c+u.length;d"+(0,o.X)(e)+"":(0,o.X)(e):s.join("")}},726:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var r=n(7872),o=n(1690),a=n(2539),i=/[0-9A-Z_a-z]+|(?:[\u3400-\u4DBF\u4E00-\u9FFF\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/;function s(e){for(var t=[],n=0,r=e;r.length>0;){var o=r.match(i);if(!o){t.push(r);break}o.index>0&&t.push(r.substring(0,o.index)),t.push(o[0]),n+=o.index+o[0].length,r=e.substring(n)}return t}var l=n(1029);function u(e,t,n,i){void 0===i&&(i=l.Hk);for(var u=function(e,t,n){var i=[],l=0,u=0,c=-1;for(;lu)for(var h,m=s(e.substring(u,p)).map((function(e){return{html:(0,o.X)(e),textLength:e.length}})),g=(0,r.Z)(m);!(h=g()).done;){var v=h.value;i.push(v)}-1===c&&(c=i.length),u=p+f,i.push({html:(0,a.C)(e.substring(p,u),n,!0),textLength:f})}}if(u0){var k=p.pop();g+k.textLength<=i?(h.unshift(k.html),v+=k.textLength,g+=k.textLength):(b=!0,p.length=0)}else{if(!(m.length>0))break;var x=m.shift();g+x.textLength<=i?(h.push(x.html),y+=x.textLength,g+=x.textLength):(w=!0,m.length=0)}return(b||p.length>0)&&h.unshift("\u2026"),(w||m.length>0)&&h.push("\u2026"),h.join("")}},1029:(e,t,n)=>{"use strict";n.d(t,{vc:()=>a,gQ:()=>f,H6:()=>u,hG:()=>g,l9:()=>h,dK:()=>r,_k:()=>o,pu:()=>p,AY:()=>c,t_:()=>d,Kc:()=>m,J:()=>i,Hk:()=>l,qo:()=>s,pQ:()=>v});n(1336);var r=["en"],o=!1,a=null,i="search-index{dir}.json",s=8,l=50,u=!1,c=!0,d=!0,p="right",f=void 0,h=!0,m=null,g=!1,v=!1},6010:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,n=0,o="";n{"use strict";n.d(t,{lX:()=>w,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=n(3117);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(8776);function l(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},1336:(e,t,n)=>{var r,o;!function(){var a,i,s,l,u,c,d,p,f,h,m,g,v,y,b,w,k,x,S,E,C,_,T,j,L,A,D,O,R,F,P=function(e){var t=new P.Builder;return t.pipeline.add(P.trimmer,P.stopWordFilter,P.stemmer),t.searchPipeline.add(P.stemmer),e.call(t,t),t.build()};P.version="2.3.9",P.utils={},P.utils.warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),P.utils.asString=function(e){return null==e?"":e.toString()},P.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var l=P.utils.clone(t)||{};l.position=[i,s],l.index=o.length,o.push(new P.Token(n.slice(i,a),l))}i=a+1}}return o},P.tokenizer.separator=/[\s\-]+/,P.Pipeline=function(){this._stack=[]},P.Pipeline.registeredFunctions=Object.create(null),P.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&P.utils.warn("Overwriting existing registered function: "+t),e.label=t,P.Pipeline.registeredFunctions[e.label]=e},P.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||P.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},P.Pipeline.load=function(e){var t=new P.Pipeline;return e.forEach((function(e){var n=P.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},P.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){P.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},P.Pipeline.prototype.after=function(e,t){P.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},P.Pipeline.prototype.before=function(e,t){P.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},P.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},P.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(ae&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:as?u+=2:i==s&&(t+=n[l+1]*r[u+1],l+=2,u+=2);return t},P.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},P.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new P.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new P.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new P.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?u=o.node.edges[d]:(u=new P.TokenSet,o.node.edges[d]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},P.TokenSet.fromString=function(e){for(var t=new P.TokenSet,n=t,r=0,o=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},P.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},P.Index.prototype.search=function(e){return this.query((function(t){new P.QueryParser(e,t).parse()}))},P.Index.prototype.query=function(e){for(var t=new P.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),s=0;s1?1:e},P.Builder.prototype.k1=function(e){this._k1=e},P.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o=this.length)return P.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},P.QueryLexer.prototype.width=function(){return this.pos-this.start},P.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},P.QueryLexer.prototype.backup=function(){this.pos-=1},P.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=P.QueryLexer.EOS&&this.backup()},P.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(P.QueryLexer.TERM)),e.ignore(),e.more())return P.QueryLexer.lexText},P.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(P.QueryLexer.EDIT_DISTANCE),P.QueryLexer.lexText},P.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(P.QueryLexer.BOOST),P.QueryLexer.lexText},P.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(P.QueryLexer.TERM)},P.QueryLexer.termSeparator=P.tokenizer.separator,P.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==P.QueryLexer.EOS)return P.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return P.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(P.QueryLexer.TERM),P.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(P.QueryLexer.TERM),P.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(P.QueryLexer.PRESENCE),P.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(P.QueryLexer.PRESENCE),P.QueryLexer.lexText;if(t.match(P.QueryLexer.termSeparator))return P.QueryLexer.lexTerm}else e.escapeCharacter()}},P.QueryParser=function(e,t){this.lexer=new P.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},P.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=P.QueryParser.parseClause;e;)e=e(this);return this.query},P.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},P.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},P.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},P.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case P.QueryLexer.PRESENCE:return P.QueryParser.parsePresence;case P.QueryLexer.FIELD:return P.QueryParser.parseField;case P.QueryLexer.TERM:return P.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new P.QueryParseError(n,t.start,t.end)}},P.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=P.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=P.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new P.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new P.QueryParseError(n,t.start,t.end)}switch(r.type){case P.QueryLexer.FIELD:return P.QueryParser.parseField;case P.QueryLexer.TERM:return P.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new P.QueryParseError(n,r.start,r.end)}}},P.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new P.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new P.QueryParseError(r,t.start,t.end)}if(o.type===P.QueryLexer.TERM)return P.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new P.QueryParseError(r,o.start,o.end)}},P.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case P.QueryLexer.TERM:return e.nextClause(),P.QueryParser.parseTerm;case P.QueryLexer.FIELD:return e.nextClause(),P.QueryParser.parseField;case P.QueryLexer.EDIT_DISTANCE:return P.QueryParser.parseEditDistance;case P.QueryLexer.BOOST:return P.QueryParser.parseBoost;case P.QueryLexer.PRESENCE:return e.nextClause(),P.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new P.QueryParseError(r,n.start,n.end)}else e.nextClause()}},P.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new P.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case P.QueryLexer.TERM:return e.nextClause(),P.QueryParser.parseTerm;case P.QueryLexer.FIELD:return e.nextClause(),P.QueryParser.parseField;case P.QueryLexer.EDIT_DISTANCE:return P.QueryParser.parseEditDistance;case P.QueryLexer.BOOST:return P.QueryParser.parseBoost;case P.QueryLexer.PRESENCE:return e.nextClause(),P.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new P.QueryParseError(r,o.start,o.end)}else e.nextClause()}},P.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new P.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case P.QueryLexer.TERM:return e.nextClause(),P.QueryParser.parseTerm;case P.QueryLexer.FIELD:return e.nextClause(),P.QueryParser.parseField;case P.QueryLexer.EDIT_DISTANCE:return P.QueryParser.parseEditDistance;case P.QueryLexer.BOOST:return P.QueryParser.parseBoost;case P.QueryLexer.PRESENCE:return e.nextClause(),P.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new P.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return P})?r.call(t,n,t,e):r)||(e.exports=o)}()},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.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:'
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,i(e,c,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.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 s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return 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])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),o=n(9642),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),a.add(e)}))}i.silent=!1,e.exports=i},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),h=p.indexOf(f);if(h>-1){++o;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=p.substring(h+f.length),y=[];m&&y.push.apply(y,i([m])),y.push(g),v&&y.push.apply(y,i([v])),"string"==typeof u?s.splice.apply(s,[l,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(Prism)},6726:(e,t,n)=>{var r={"./":2885};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=6726},6500:(e,t,n)=>{var r={"./":2885};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var s={},l=e[r];if(l){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in o(t,a),s[t]=!0,n[t])s[i]=!0}t(l.require,u),t(l.optional,u),t(l.modify,u)}n[r]=s,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(l);i=i.map(u),s=(s||[]).map(u);var c=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(l),h=c;o(h);){for(var m in p={},h){var g=l[m];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var v in d)if(!(v in c))for(var y in f(v))if(y in c){p[v]=!0;break}for(var b in h=p)c[b]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,s={},l={};function u(e){if(e in s)return s[e];l[e]=!0;var o,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)o=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete l[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return s[e]=o}for(var c in n)u(c);var d=[];for(var p in l)d.push(s[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new 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 s.name="Invariant Violation",s}}function t(){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:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n