From f2d3412bf5864b5d334b4a5ee9b242d1847677ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Apr 2022 15:11:38 +0800 Subject: [PATCH] chore: release package(s) (#155) Co-authored-by: github-actions[bot] --- .changeset/loud-toys-dance.md | 5 - .changeset/spicy-swans-smile.md | 7 - dist/226.af73caf68c915178ae0b.js | 1 + dist/594.f0bf83eb5b0c8320588b.js | 1 + dist/934.b49239c725cb008b35ae.js | 1 + dist/app.12775d505eedb14149cb.css | 2 + dist/app.ccce98467b614ce3674a.js | 2 + dist/app.ccce98467b614ce3674a.js.LICENSE.txt | 50 +++++ dist/index.html | 201 +++++++++++++++++++ dist/manifest.58fa9ebf631cfb88d49f.js | 1 + dist/service-worker.js | 1 + dist/workbox-1003e6ae.js | 1 + packages/pkg/CHANGELOG.md | 6 + packages/pkg/package.json | 2 +- packages/sh/CHANGELOG.md | 8 + packages/sh/package.json | 2 +- packages/sql/CHANGELOG.md | 6 + packages/sql/package.json | 2 +- 18 files changed, 284 insertions(+), 15 deletions(-) delete mode 100644 .changeset/loud-toys-dance.md delete mode 100644 .changeset/spicy-swans-smile.md create mode 100644 dist/226.af73caf68c915178ae0b.js create mode 100644 dist/594.f0bf83eb5b0c8320588b.js create mode 100644 dist/934.b49239c725cb008b35ae.js create mode 100644 dist/app.12775d505eedb14149cb.css create mode 100644 dist/app.ccce98467b614ce3674a.js create mode 100644 dist/app.ccce98467b614ce3674a.js.LICENSE.txt create mode 100644 dist/index.html create mode 100644 dist/manifest.58fa9ebf631cfb88d49f.js create mode 100644 dist/service-worker.js create mode 100644 dist/workbox-1003e6ae.js diff --git a/.changeset/loud-toys-dance.md b/.changeset/loud-toys-dance.md deleted file mode 100644 index 1f99e810..00000000 --- a/.changeset/loud-toys-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"prettier-plugin-sh": minor ---- - -feat: use wasm for plugin sh diff --git a/.changeset/spicy-swans-smile.md b/.changeset/spicy-swans-smile.md deleted file mode 100644 index e9417777..00000000 --- a/.changeset/spicy-swans-smile.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"prettier-plugin-pkg": minor -"prettier-plugin-sh": minor -"prettier-plugin-sql": minor ---- - -feat: drop umd format support diff --git a/dist/226.af73caf68c915178ae0b.js b/dist/226.af73caf68c915178ae0b.js new file mode 100644 index 00000000..521d71f5 --- /dev/null +++ b/dist/226.af73caf68c915178ae0b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rxts_prettier=self.webpackChunk_rxts_prettier||[]).push([[226],{1226:(e,n,s)=>{s.r(n),s.d(n,{default:()=>r}),s(9601);var i=s(5893);const r=function(e={}){const{wrapper:n}=e.components||{};return n?(0,i.jsx)(n,Object.assign({},e,{children:(0,i.jsx)(s,{})})):s();function s(){const n=Object.assign({p:"p",img:"img",h1:"h1",code:"code",a:"a",h2:"h2",pre:"pre",h3:"h3",ul:"ul",li:"li",input:"input"},e.components);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://raw.githubusercontent.com/rx-ts/prettier/master/assets/pkg.svg?sanitize=true",alt:"banner"})}),"\n",(0,i.jsxs)(n.h1,{children:["prettier-plugin-pkg ",(0,i.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/min/prettier-plugin-pkg",alt:"npm bundle size"})," ",(0,i.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/minzip/prettier-plugin-pkg",alt:"npm bundle size"})]}),"\n",(0,i.jsxs)(n.p,{children:["An opinionated ",(0,i.jsx)(n.code,{children:"package.json"})," formatter plugin for ",(0,i.jsx)(n.a,{href:"https://prettier.io",children:"Prettier"}),", based on ",(0,i.jsx)(n.a,{href:"https://github.com/shellscape/prettier-plugin-package",children:"prettier-plugin-package"}),"."]}),"\n",(0,i.jsx)(n.p,{children:"Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account."}),"\n",(0,i.jsxs)(n.p,{children:["This plugin adds support for ",(0,i.jsx)(n.code,{children:"package.json"})," files used within NPM modules, ",(0,i.jsx)(n.a,{href:"https://docs.npmjs.com/files/package.json",children:"npm"}),", ",(0,i.jsx)(n.a,{href:"https://yarnpkg.com/docs/package-j",children:"yarn"})," and ",(0,i.jsx)(n.a,{href:"https://code.visualstudio.com/api/references/extension-manifest",children:"VSCode"})," is supported out of box."]}),"\n",(0,i.jsx)(n.h2,{children:"Requirements"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"prettier-plugin-pkg"})," is an evergreen module. 🌲 This module requires an ",(0,i.jsx)(n.a,{href:"https://github.com/nodejs/Release",children:"LTS"})," Node version (v12.0.0+)."]}),"\n",(0,i.jsx)(n.h2,{children:"Install"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# npm\nnpm i -D prettier prettier-plugin-pkg\n\n# yarn\nyarn add -D prettier prettier-plugin-pkg\n"})}),"\n",(0,i.jsx)(n.h2,{children:"Usage"}),"\n",(0,i.jsxs)(n.p,{children:["Once installed, ",(0,i.jsx)(n.a,{href:"https://prettier.io/docs/en/plugins.html",children:"Prettier plugins"})," should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# npx\nnpx prettier --write package.json\n\n# yarn\nyarn prettier --write package.json\n"})}),"\n",(0,i.jsx)(n.h2,{children:"Rules"}),"\n",(0,i.jsx)(n.p,{children:"This plugin enforces its own set of opinionated rules:"}),"\n",(0,i.jsx)(n.h3,{children:"Engines"}),"\n",(0,i.jsxs)(n.p,{children:["Keys in ",(0,i.jsx)(n.code,{children:"engines"})," are ordered alphabetically."]}),"\n",(0,i.jsx)(n.h3,{children:"Files"}),"\n",(0,i.jsxs)(n.p,{children:["Keys in ",(0,i.jsx)(n.code,{children:"files"})," are ordered alphabetically (keeping the negations below), followed by ",(0,i.jsx)(n.code,{children:"README.md"})," and ",(0,i.jsx)(n.code,{children:"LICENSE"})," if they exist in the array."]}),"\n",(0,i.jsx)(n.h3,{children:"Scripts"}),"\n",(0,i.jsxs)(n.p,{children:["Keys in ",(0,i.jsx)(n.code,{children:"scripts"})," are ordered alphabetically. Use prefixes wisely to properly order child scripts. e.g. ",(0,i.jsx)(n.code,{children:"lint"}),", ",(0,i.jsx)(n.code,{children:"lint:ts"}),"."]}),"\n",(0,i.jsx)(n.h3,{children:"Sorting"}),"\n",(0,i.jsxs)(n.p,{children:["Top-level keys are sorted according to a style commonly seen in the packages of ",(0,i.jsx)(n.a,{href:"https://github.com/JounQin",children:"@JounQin"}),", ",(0,i.jsx)(n.a,{href:"https://github.com/1stG",children:"@1stG"})," and ",(0,i.jsx)(n.a,{href:"https://github.com/rx-ts",children:"@RxTS"}),". Known keys, and their order are"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-jsonc",children:'[\n // meta\n "name",\n "version",\n "type",\n "flat",\n "displayName",\n "description",\n "categories",\n "repository",\n "homepage",\n "bugs",\n "funding",\n "author",\n "publisher",\n "contributors",\n "license",\n "preview",\n "private",\n "workspaces",\n\n // constraints\n "engines",\n "cpu",\n "os",\n\n // entry\n "man",\n "bin",\n "main",\n "module",\n "esnext",\n "es2015",\n "fesm5",\n "fesm2015",\n "browser",\n "umd",\n "jsdelivr",\n "unpkg",\n "types",\n "typings",\n "typesVersions",\n\n // content and util\n "directories",\n "files",\n "keywords",\n "scripts",\n "config",\n\n // dependencies\n "bundledDependencies",\n "peerDependencies",\n "dependencies",\n "optionalDependencies",\n "devDependencies",\n "resolutions",\n "publishConfig",\n "sideEffects",\n\n // vscode spec\n "icon",\n "galleryBanner",\n "activationEvents",\n "contributes",\n "markdown",\n "qna",\n "extensionPack",\n "extensionDependencies"\n]\n'})}),"\n",(0,i.jsxs)(n.p,{children:["Unknown keys, or keys not part of the list above, will be alphabetically sorted and added to the end of the file. Note that this list takes into account both ",(0,i.jsx)(n.code,{children:"npm"})," and ",(0,i.jsx)(n.code,{children:"yarn"})," keys."]}),"\n",(0,i.jsx)(n.h3,{children:"Forthcoming"}),"\n",(0,i.jsx)(n.p,{children:"Forthcoming rules include:"}),"\n",(0,i.jsxs)(n.ul,{className:"contains-task-list",children:["\n",(0,i.jsxs)(n.li,{className:"task-list-item",children:[(0,i.jsx)(n.input,{type:"checkbox",disabled:!0})," ","Author format"]}),"\n",(0,i.jsxs)(n.li,{className:"task-list-item",children:[(0,i.jsx)(n.input,{type:"checkbox",disabled:!0})," ","Repository format"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{children:"Acknowledgements"}),"\n",(0,i.jsxs)(n.p,{children:["Thanks for ",(0,i.jsx)(n.a,{href:"https://github.com/shellscape",children:"@shellscape"}),"'s original great work of ",(0,i.jsx)(n.a,{href:"https://github.com/shellscape/prettier-plugin-package",children:"prettier-plugin-package"})," again."]}),"\n",(0,i.jsx)(n.h2,{children:"Meta"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"./LICENSE",children:"LICENSE (Mozilla Public License)"})})]})}}}}]); \ No newline at end of file diff --git a/dist/594.f0bf83eb5b0c8320588b.js b/dist/594.f0bf83eb5b0c8320588b.js new file mode 100644 index 00000000..fdb49a7d --- /dev/null +++ b/dist/594.f0bf83eb5b0c8320588b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rxts_prettier=self.webpackChunk_rxts_prettier||[]).push([[594],{3594:(e,n,r)=>{r.r(n),r.d(n,{default:()=>i}),r(9601);var s=r(5893);const i=function(e={}){const{wrapper:n}=e.components||{};return n?(0,s.jsx)(n,Object.assign({},e,{children:(0,s.jsx)(r,{})})):r();function r(){const n=Object.assign({h1:"h1",img:"img",blockquote:"blockquote",p:"p",code:"code",a:"a",h2:"h2",pre:"pre"},e.components);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.h1,{children:["prettier-plugin-sh ",(0,s.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/min/prettier-plugin-sh",alt:"npm bundle size"})," ",(0,s.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/minzip/prettier-plugin-sh",alt:"npm bundle size"})]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["An opinionated ",(0,s.jsx)(n.code,{children:"shellscript、Dockerfile、properties、gitignore、dotenv、hosts、jvmoptions..."})," formatter plugin for ",(0,s.jsx)(n.a,{href:"https://prettier.io",children:"Prettier"})]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account."}),"\n",(0,s.jsxs)(n.p,{children:["This plugin adds support for a lot of files through ",(0,s.jsx)(n.a,{href:"https://github.com/mvdan/sh",children:"mvdan-sh"}),"."]}),"\n",(0,s.jsx)(n.h2,{children:"Notice"}),"\n",(0,s.jsxs)(n.p,{children:["This plugin is still under development, its printer just wraps ",(0,s.jsx)(n.a,{href:"https://github.com/mvdan/sh",children:"mvdan-sh"}),"'s default printer.\nOf course it should just work, but may not match ",(0,s.jsx)(n.a,{href:"https://prettier.io",children:"prettier"}),"'s format sometimes."]}),"\n",(0,s.jsx)(n.h2,{children:"Requirements"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"prettier-plugin-sh"})," is an evergreen module. 🌲 This module requires an ",(0,s.jsx)(n.a,{href:"https://github.com/nodejs/Release",children:"LTS"})," Node version (v12.0.0+)."]}),"\n",(0,s.jsx)(n.h2,{children:"Install"}),"\n",(0,s.jsx)(n.p,{children:"Using npm:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"# npm\nnpm i -D prettier prettier-plugin-sh\n\n# yarn\nyarn add -D prettier prettier-plugin-sh\n"})}),"\n",(0,s.jsx)(n.h2,{children:"Usage"}),"\n",(0,s.jsxs)(n.p,{children:["Once installed, ",(0,s.jsx)(n.a,{href:"https://prettier.io/docs/en/plugins.html",children:"Prettier plugins"})," should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"# npx\nnpx prettier --write script.sh\n\n# yarn\nyarn prettier --write script.sh\n"})}),"\n",(0,s.jsx)(n.h2,{children:"Parser Options"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"interface ShOptions {\n // parser\n keepComments: boolean // default `true`\n stopAt: string\n variant: LangVariant\n\n // printer\n indent: number\n binaryNextLine: boolean // default `true`\n switchCaseIndent: boolean\n spaceRedirects: boolean\n keepPadding: boolean\n minify: boolean\n functionNextLine: boolean\n}\n"})}),"\n",(0,s.jsxs)(n.p,{children:["More details on ",(0,s.jsx)(n.a,{href:"https://godoc.org/mvdan.cc/sh/syntax#NewParser",children:"godoc"})]}),"\n",(0,s.jsx)(n.h2,{children:"Changelog"}),"\n",(0,s.jsxs)(n.p,{children:["Detailed changes for each release are documented in ",(0,s.jsx)(n.a,{href:"./CHANGELOG.md",children:"CHANGELOG.md"}),"."]}),"\n",(0,s.jsx)(n.h2,{children:"License"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"http://opensource.org/licenses/MIT",children:"MIT"})," © ",(0,s.jsx)(n.a,{href:"https://GitHub.com/JounQin",children:"JounQin"}),"@",(0,s.jsx)(n.a,{href:"https://www.1stg.me",children:"1stG.me"})]})]})}}}}]); \ No newline at end of file diff --git a/dist/934.b49239c725cb008b35ae.js b/dist/934.b49239c725cb008b35ae.js new file mode 100644 index 00000000..efdc60f4 --- /dev/null +++ b/dist/934.b49239c725cb008b35ae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rxts_prettier=self.webpackChunk_rxts_prettier||[]).push([[934],{5934:(e,n,r)=>{r.r(n),r.d(n,{default:()=>t}),r(9601);var s=r(5893);const t=function(e={}){const{wrapper:n}=e.components||{};return n?(0,s.jsx)(n,Object.assign({},e,{children:(0,s.jsx)(r,{})})):r();function r(){const n=Object.assign({h1:"h1",img:"img",blockquote:"blockquote",p:"p",a:"a",h2:"h2",code:"code",pre:"pre"},e.components);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.h1,{children:["prettier-plugin-sql ",(0,s.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/min/prettier-plugin-sql",alt:"npm bundle size"})," ",(0,s.jsx)(n.img,{src:"https://img.shields.io/bundlephobia/minzip/prettier-plugin-sql",alt:"npm bundle size"})]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:["An opinionated sql formatter plugin for ",(0,s.jsx)(n.a,{href:"https://prettier.io",children:"Prettier"})]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account."}),"\n",(0,s.jsxs)(n.p,{children:["This plugin adds support for a lot of sql files through ",(0,s.jsx)(n.a,{href:"https://github.com/zeroturnaround/sql-formatter",children:"sql-formatter"})," or ",(0,s.jsx)(n.a,{href:"https://github.com/taozhi8833998/node-sql-parser",children:"node-sql-parser"}),"."]}),"\n",(0,s.jsx)(n.h2,{children:"Notice"}),"\n",(0,s.jsxs)(n.p,{children:["This plugin is still under development, its printer just wraps ",(0,s.jsx)(n.a,{href:"https://github.com/zeroturnaround/sql-formatter",children:"sql-formatter"})," or ",(0,s.jsx)(n.a,{href:"https://github.com/taozhi8833998/node-sql-parser",children:"node-sql-parser"}),"'s default printer.\nOf course it should just work, but may not match ",(0,s.jsx)(n.a,{href:"https://prettier.io",children:"prettier"}),"'s format sometimes."]}),"\n",(0,s.jsx)(n.h2,{children:"Requirements"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"prettier-plugin-sql"})," is an evergreen module. 🌲 This module requires an ",(0,s.jsx)(n.a,{href:"https://github.com/nodejs/Release",children:"LTS"})," Node version (v12.0.0+)."]}),"\n",(0,s.jsx)(n.h2,{children:"Install"}),"\n",(0,s.jsx)(n.p,{children:"Using npm:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"# npm\nnpm i -D prettier prettier-plugin-sql\n\n# yarn\nyarn add -D prettier prettier-plugin-sql\n"})}),"\n",(0,s.jsx)(n.h2,{children:"Usage"}),"\n",(0,s.jsxs)(n.p,{children:["Once installed, ",(0,s.jsx)(n.a,{href:"https://prettier.io/docs/en/plugins.html",children:"Prettier plugins"})," should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"# npx\nnpx prettier --write db.sql\n\n# yarn\nyarn prettier --write db.sql\n"})}),"\n",(0,s.jsx)(n.h2,{children:"Parser Options"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"interface SqlOptions {\n formatter: 'sql-formatter' | 'node-sql-parser' // default `sql-formatter`\n\n // sql-formatter\n language:\n | 'sql'\n | 'mariadb'\n | 'mysql'\n | 'postgresql'\n | 'db2'\n | 'plsql'\n | 'n1ql'\n | 'redshift'\n | 'spark'\n | 'tsql' // default `sql`\n uppercase: boolean // default `false`\n linesBetweenQueries: number // default `2`\n\n // node-sql-parser\n type: 'table' | 'column' // default `table`\n database:\n | 'bigquery'\n | 'db2'\n | 'hive'\n | 'mariadb'\n | 'mysql'\n | 'postgresql'\n | 'transactsql'\n | 'flinksql' // default `mysql`\n}\n"})}),"\n",(0,s.jsxs)(n.p,{children:["More details on ",(0,s.jsx)(n.a,{href:"https://github.com/zeroturnaround/sql-formatter",children:"sql-formatter"})," and ",(0,s.jsx)(n.a,{href:"https://github.com/taozhi8833998/node-sql-parser",children:"node-sql-parser"}),"."]}),"\n",(0,s.jsx)(n.h2,{children:"Changelog"}),"\n",(0,s.jsxs)(n.p,{children:["Detailed changes for each release are documented in ",(0,s.jsx)(n.a,{href:"./CHANGELOG.md",children:"CHANGELOG.md"}),"."]}),"\n",(0,s.jsx)(n.h2,{children:"License"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"http://opensource.org/licenses/MIT",children:"MIT"})," © ",(0,s.jsx)(n.a,{href:"https://GitHub.com/JounQin",children:"JounQin"}),"@",(0,s.jsx)(n.a,{href:"https://www.1stg.me",children:"1stG.me"})]})]})}}}}]); \ No newline at end of file diff --git a/dist/app.12775d505eedb14149cb.css b/dist/app.12775d505eedb14149cb.css new file mode 100644 index 00000000..bd9f8a5b --- /dev/null +++ b/dist/app.12775d505eedb14149cb.css @@ -0,0 +1,2 @@ +@media (color-index:48){:root{background-color:#0d1117}}@media (color:48842621){:root{background-color:#0d1117}}@media (prefers-color-scheme:dark){:root{background-color:#0d1117}}body{margin:0 auto;max-width:1200px;padding:0 40px} +@media (color-index:48){.markdown-body{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}}@media (color:48842621){.markdown-body{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}}@media (prefers-color-scheme:dark){.markdown-body{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}}@media (color-index:70){.markdown-body{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}}@media (color:70318723){.markdown-body{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}}@media (prefers-color-scheme:light){.markdown-body{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:var(--color-canvas-default);color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;margin:0}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{background-color:currentColor;content:" ";display:inline-block;height:16px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,");mask-image:url("data:image/svg+xml;charset=utf-8,");width:16px}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{border-bottom:1px solid var(--color-border-muted);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{background-color:var(--color-canvas-default);border-style:none;box-sizing:content-box;max-width:100%}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace,monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{background:transparent;background-color:var(--color-border-default);border:0;box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}.markdown-body input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=button]::-moz-focus-inner,.markdown-body [type=reset]::-moz-focus-inner,.markdown-body [type=submit]::-moz-focus-inner{border-style:none;padding:0}.markdown-body [type=button]:-moz-focusring,.markdown-body [type=reset]:-moz-focusring,.markdown-body [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body hr:after,.markdown-body hr:before{content:"";display:table}.markdown-body hr:after{clear:both}.markdown-body table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;overflow:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>:not(summary){display:none!important}.markdown-body kbd{background-color:var(--color-canvas-subtle);border-bottom-color:var(--color-neutral-muted);border:1px solid var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted);color:var(--color-fg-default);display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.markdown-body h2{border-bottom:1px solid var(--color-border-muted);font-size:1.5em;font-weight:600;padding-bottom:.3em}.markdown-body h3{font-size:1.25em;font-weight:600}.markdown-body h4{font-size:1em;font-weight:600}.markdown-body h5{font-size:.875em;font-weight:600}.markdown-body h6{color:var(--color-fg-muted);font-size:.85em;font-weight:600}.markdown-body p{margin-bottom:10px;margin-top:0}.markdown-body blockquote{border-left:.25em solid var(--color-border-default);color:var(--color-fg-muted);margin:0;padding:0 1em}.markdown-body ol,.markdown-body ul{margin-bottom:0;margin-top:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre,.markdown-body tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{word-wrap:normal;margin-bottom:0;margin-top:0}.markdown-body .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body :-ms-input-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-smw,.markdown-body .pl-v{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{background-color:var(--color-prettylights-syntax-invalid-illegal-bg);color:var(--color-prettylights-syntax-invalid-illegal-text)}.markdown-body .pl-c2{background-color:var(--color-prettylights-syntax-carriage-return-bg);color:var(--color-prettylights-syntax-carriage-return-text)}.markdown-body .pl-sr .pl-cce{color:var(--color-prettylights-syntax-string-regexp);font-weight:700}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{color:var(--color-prettylights-syntax-markup-heading);font-weight:700}.markdown-body .pl-mi{color:var(--color-prettylights-syntax-markup-italic);font-style:italic}.markdown-body .pl-mb{color:var(--color-prettylights-syntax-markup-bold);font-weight:700}.markdown-body .pl-md{background-color:var(--color-prettylights-syntax-markup-deleted-bg);color:var(--color-prettylights-syntax-markup-deleted-text)}.markdown-body .pl-mi1{background-color:var(--color-prettylights-syntax-markup-inserted-bg);color:var(--color-prettylights-syntax-markup-inserted-text)}.markdown-body .pl-mc{background-color:var(--color-prettylights-syntax-markup-changed-bg);color:var(--color-prettylights-syntax-markup-changed-text)}.markdown-body .pl-mi2{background-color:var(--color-prettylights-syntax-markup-ignored-bg);color:var(--color-prettylights-syntax-markup-ignored-text)}.markdown-body .pl-mdr{color:var(--color-prettylights-syntax-meta-diff-range);font-weight:700}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{color:var(--color-prettylights-syntax-constant-other-reference-link);text-decoration:underline}.markdown-body [data-catalyst]{display:block}.markdown-body g-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{height:1em;width:1em}.markdown-body:after,.markdown-body:before{content:"";display:table}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-bottom:16px;margin-top:0}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body sup>a:before{content:"["}.markdown-body sup>a:after{content:"]"}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 code,.markdown-body h1 tt,.markdown-body h2 code,.markdown-body h2 tt,.markdown-body h3 code,.markdown-body h3 tt,.markdown-body h4 code,.markdown-body h4 tt,.markdown-body h5 code,.markdown-body h5 tt,.markdown-body h6 code,.markdown-body h6 tt{font-size:inherit;padding:0 .2em}.markdown-body ol.no-list,.markdown-body ul.no-list{list-style-type:none;padding:0}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-bottom:0;margin-top:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.markdown-body dl dd{margin-bottom:16px;padding:0 16px}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{border:1px solid var(--color-border-default);padding:6px 13px}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{border:1px solid var(--color-border-default);display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{clear:both;color:var(--color-fg-default);display:block;padding:5px 0 0}.markdown-body span.align-center{clear:both;display:block;overflow:hidden}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{clear:both;display:block;overflow:hidden}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{background-color:var(--color-neutral-muted);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body pre code{font-size:100%}.markdown-body pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{background-color:var(--color-canvas-subtle);border-radius:6px;font-size:85%;line-height:1.45;overflow:auto;padding:16px}.markdown-body pre code,.markdown-body pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}.markdown-body .csv-data td,.markdown-body .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{background:var(--color-canvas-default);border:0;padding:10px 8px 9px;text-align:right}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{background:var(--color-canvas-subtle);border-top:0;font-weight:600}.markdown-body .footnotes{border-top:1px solid var(--color-border-default);color:var(--color-fg-muted);font-size:12px}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{border:2px solid var(--color-accent-emphasis);border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}[dir=rtl] .markdown-body .contains-task-list .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)} diff --git a/dist/app.ccce98467b614ce3674a.js b/dist/app.ccce98467b614ce3674a.js new file mode 100644 index 00000000..5420321e --- /dev/null +++ b/dist/app.ccce98467b614ce3674a.js @@ -0,0 +1,2 @@ +/*! For license information please see app.ccce98467b614ce3674a.js.LICENSE.txt */ +(self.webpackChunk_rxts_prettier=self.webpackChunk_rxts_prettier||[]).push([[143],{102:(e,t,n)=>{"use strict";var r,a=n(745),l=(n(6992),n(8674),n(3948),n(7294));function o(){return o=Object.assign||function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const f=(0,l.createContext)(null),d=(0,l.createContext)(null),p=(0,l.createContext)({outlet:null,matches:[]});function h(e,t){if(!e)throw new Error(t)}function v(e,t,n){void 0===n&&(n="/");let r=x(("string"==typeof t?c(t):t).pathname||"/",n);if(null==r)return null;let a=m(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let l=null;for(let e=0;null==l&&e{let l={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};l.relativePath.startsWith("/")&&(l.relativePath.startsWith(r)||h(!1),l.relativePath=l.relativePath.slice(r.length));let o=S([r,l.relativePath]),i=n.concat(l);e.children&&e.children.length>0&&(!0===e.index&&h(!1),m(e.children,t,i,o)),(null!=e.path||e.index)&&t.push({path:o,score:b(o,e.index),routesMeta:i})})),t}const g=/^:\w+$/,y=e=>"*"===e;function b(e,t){let n=e.split("/"),r=n.length;return n.some(y)&&(r+=-2),t&&(r+=2),n.filter((e=>!y(e))).reduce(((e,t)=>e+(g.test(t)?3:""===t?1:10)),r)}function w(e,t){let{routesMeta:n}=e,r={},a="/",l=[];for(let e=0;e(r.push(t),"([^\\/]+)")));return e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],o=l.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=i[n]||"";o=l.slice(0,l.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(i[n]||""),e}),{}),pathname:l,pathnameBase:o,pattern:e}}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const S=e=>e.join("/").replace(/\/\/+/g,"/"),E=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function C(){return null!=(0,l.useContext)(d)}function _(e){h(!1)}function P(e){let{basename:t="/",children:n=null,location:a,navigationType:o=r.Pop,navigator:i,static:u=!1}=e;C()&&h(!1);let s=E(t),p=(0,l.useMemo)((()=>({basename:s,navigator:i,static:u})),[s,i,u]);"string"==typeof a&&(a=c(a));let{pathname:v="/",search:m="",hash:g="",state:y=null,key:b="default"}=a,w=(0,l.useMemo)((()=>{let e=x(v,s);return null==e?null:{pathname:e,search:m,hash:g,state:y,key:b}}),[s,v,m,g,y,b]);return null==w?null:(0,l.createElement)(f.Provider,{value:p},(0,l.createElement)(d.Provider,{children:n,value:{location:w,navigationType:o}}))}function j(e){let{children:t,location:n}=e;return function(e,t){C()||h(!1);let{matches:n}=(0,l.useContext)(p),r=n[n.length-1],a=r?r.params:{},o=(r&&r.pathname,r?r.pathnameBase:"/");r&&r.route;let i,u=(C()||h(!1),(0,l.useContext)(d).location);if(t){var s;let e="string"==typeof t?c(t):t;"/"===o||(null==(s=e.pathname)?void 0:s.startsWith(o))||h(!1),i=e}else i=u;let f=i.pathname||"/",m=v(e,{pathname:"/"===o?f:f.slice(o.length)||"/"});return function(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,r,a)=>(0,l.createElement)(p.Provider,{children:void 0!==r.route.element?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,a+1))}})),null)}(m&&m.map((e=>Object.assign({},e,{params:Object.assign({},a,e.params),pathname:S([o,e.pathname]),pathnameBase:"/"===e.pathnameBase?o:S([o,e.pathnameBase])}))),n)}(T(t),n)}function T(e){let t=[];return l.Children.forEach(e,(e=>{if(!(0,l.isValidElement)(e))return;if(e.type===l.Fragment)return void t.push.apply(t,T(e.props.children));e.type!==_&&h(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=T(e.props.children)),t.push(n)})),t}function N(e){let{basename:t,children:n,window:a}=e,f=(0,l.useRef)();null==f.current&&(f.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,a=n.history;function l(){var e=n.location,t=e.pathname,r=e.search,l=e.hash,o=a.state||{};return[o.idx,{pathname:t,search:r,hash:l,state:o.usr||null,key:o.key||"default"}]}var f=null;n.addEventListener("popstate",(function(){if(f)g.call(f),f=null;else{var e=r.Pop,t=l(),n=t[0],a=t[1];if(g.length){if(null!=n){var o=h-n;o&&(f={action:e,location:a,retry:function(){S(-1*o)}},S(o))}}else x(e)}}));var d=r.Pop,p=l(),h=p[0],v=p[1],m=s(),g=s();function y(e){return"string"==typeof e?e:function(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,a=void 0===r?"":r,l=e.hash,o=void 0===l?"":l;return a&&"?"!==a&&(n+="?"===a.charAt(0)?a:"?"+a),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}(e)}function b(e,t){return void 0===t&&(t=null),o({pathname:v.pathname,hash:"",search:""},"string"==typeof e?c(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function w(e,t){return[{usr:e.state,key:e.key,idx:t},y(e)]}function k(e,t,n){return!g.length||(g.call({action:e,location:t,retry:n}),!1)}function x(e){d=e;var t=l();h=t[0],v=t[1],m.call({action:d,location:v})}function S(e){a.go(e)}null==h&&(h=0,a.replaceState(o({},a.state,{idx:h}),""));var E={get action(){return d},get location(){return v},createHref:y,push:function e(t,l){var o=r.Push,i=b(t,l);if(k(o,i,(function(){e(t,l)}))){var u=w(i,h+1),s=u[0],c=u[1];try{a.pushState(s,"",c)}catch(e){n.location.assign(c)}x(o)}},replace:function e(t,n){var l=r.Replace,o=b(t,n);if(k(l,o,(function(){e(t,n)}))){var i=w(o,h),u=i[0],s=i[1];a.replaceState(u,"",s),x(l)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return m.push(e)},block:function(e){var t=g.push(e);return 1===g.length&&n.addEventListener(i,u),function(){t(),g.length||n.removeEventListener(i,u)}}};return E}({window:a}));let d=f.current,[p,h]=(0,l.useState)({action:d.action,location:d.location});return(0,l.useLayoutEffect)((()=>d.listen(h)),[d]),(0,l.createElement)(P,{basename:t,children:n,location:p.location,navigationType:p.action,navigator:d})}n(9601);var L=n(5893);const O=function(e={}){const{wrapper:t}=e.components||{};return t?(0,L.jsx)(t,Object.assign({},e,{children:(0,L.jsx)(n,{})})):n();function n(){const t=Object.assign({h1:"h1",p:"p",a:"a",img:"img",blockquote:"blockquote",h2:"h2",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",code:"code"},e.components);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(t.h1,{children:"@rxts/prettier"}),"\n",(0,L.jsxs)(t.p,{children:[(0,L.jsx)(t.a,{href:"https://github.com/rx-ts/prettier/actions?query=workflow%3A%22Node+CI%22",children:(0,L.jsx)(t.img,{src:"https://github.com/rx-ts/prettier/workflows/Node%20CI/badge.svg",alt:"GitHub Actions"})}),"\n",(0,L.jsx)(t.a,{href:"https://app.codacy.com/gh/rx-ts/prettier",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/codacy/grade/09abfcb3399b418fbc3eff3e42bd4ff7",alt:"Codacy Grade"})}),"\n",(0,L.jsx)(t.a,{href:"https://codecov.io/gh/rx-ts/prettier",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/codecov/c/gh/rx-ts/prettier",alt:"Codecov"})}),"\n",(0,L.jsx)(t.a,{href:"https://github.com/plantain-00/type-coverage",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%25&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Frx-ts%2Fprettier%2Fmaster%2Fpackage.json",alt:"type-coverage"})}),"\n",(0,L.jsx)(t.a,{href:"https://github.com/rx-ts/prettier/releases",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/github/release/rx-ts/prettier",alt:"GitHub release"})}),"\n",(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?type=dev",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/dev/rx-ts/prettier.svg",alt:"David Dev"})})]}),"\n",(0,L.jsxs)(t.p,{children:[(0,L.jsx)(t.a,{href:"https://conventionalcommits.org",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg",alt:"Conventional Commits"})}),"\n",(0,L.jsx)(t.a,{href:"https://renovatebot.com/",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/renovate-enabled-brightgreen.svg",alt:"Renovate enabled"})}),"\n",(0,L.jsx)(t.a,{href:"https://standardjs.com",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/code_style-standard-brightgreen.svg",alt:"JavaScript Style Guide"})}),"\n",(0,L.jsx)(t.a,{href:"https://github.com/prettier/prettier",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/code_style-prettier-ff69b4.svg",alt:"Code Style: Prettier"})}),"\n",(0,L.jsx)(t.a,{href:"https://github.com/atlassian/changesets",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/badge/maintained%20with-changesets-176de3.svg",alt:"changesets"})})]}),"\n",(0,L.jsxs)(t.blockquote,{children:["\n",(0,L.jsx)(t.p,{children:"Opinionated but Incredible Prettier plugins."}),"\n"]}),"\n",(0,L.jsx)(t.h2,{children:"Packages"}),"\n",(0,L.jsxs)(t.p,{children:["This repository is a monorepo managed by ",(0,L.jsx)(t.a,{href:"https://github.com/atlassian/changesets",children:"changesets"})," what means we actually publish several packages to npm from same codebase, including:"]}),"\n",(0,L.jsxs)(t.table,{children:[(0,L.jsx)(t.thead,{children:(0,L.jsxs)(t.tr,{children:[(0,L.jsx)(t.th,{children:"Package"}),(0,L.jsx)(t.th,{children:"Description"}),(0,L.jsx)(t.th,{children:"Version"}),(0,L.jsx)(t.th,{children:"Peer Dependencies"}),(0,L.jsx)(t.th,{children:"Dependencies"})]})}),(0,L.jsxs)(t.tbody,{children:[(0,L.jsxs)(t.tr,{children:[(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"/packages/pkg",children:(0,L.jsx)(t.code,{children:"prettier-plugin-pkg"})})}),(0,L.jsx)(t.td,{children:"An opinionated package.json formatter plugin for Prettier"}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://www.npmjs.com/package/prettier-plugin-pkg",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/npm/v/prettier-plugin-pkg.svg",alt:"npm"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier-plugin-pkg?path=packages/pkg&type=peer",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/peer/rx-ts/prettier.svg?path=packages/pkg",alt:"David Peer"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?path=packages/pkg",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/rx-ts/prettier.svg?path=packages/pkg",alt:"David"})})})]}),(0,L.jsxs)(t.tr,{children:[(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"/packages/sh",children:(0,L.jsx)(t.code,{children:"prettier-plugin-sh"})})}),(0,L.jsxs)(t.td,{children:["An opinionated ",(0,L.jsx)(t.code,{children:"shellscript、Dockerfile、properties、gitignore、dotenv、hosts、jvmoptions..."})," formatter plugin for Prettier"]}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://www.npmjs.com/package/prettier-plugin-sh",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/npm/v/prettier-plugin-sh.svg",alt:"npm"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?path=packages/sh&type=peer",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/peer/rx-ts/prettier.svg?path=packages/sh",alt:"David Peer"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?path=packages/sh",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/rx-ts/prettier.svg?path=packages/sh",alt:"David"})})})]}),(0,L.jsxs)(t.tr,{children:[(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"/packages/sql",children:(0,L.jsx)(t.code,{children:"prettier-plugin-sql"})})}),(0,L.jsx)(t.td,{children:"An opinionated sql formatter plugin for Prettier"}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://www.npmjs.com/package/prettier-plugin-sql",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/npm/v/prettier-plugin-sql.svg",alt:"npm"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?path=packages/sql&type=peer",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/peer/rx-ts/prettier.svg?path=packages/sql",alt:"David Peer"})})}),(0,L.jsx)(t.td,{children:(0,L.jsx)(t.a,{href:"https://david-dm.org/rx-ts/prettier?path=packages/sql",children:(0,L.jsx)(t.img,{src:"https://img.shields.io/david/rx-ts/prettier.svg?path=packages/sql",alt:"David"})})})]})]})]}),"\n",(0,L.jsx)(t.h2,{children:"Changelog"}),"\n",(0,L.jsxs)(t.p,{children:["Detailed changes for each release are documented in ",(0,L.jsx)(t.a,{href:"./CHANGELOG.md",children:"CHANGELOG.md"}),"."]}),"\n",(0,L.jsx)(t.h2,{children:"License"}),"\n",(0,L.jsxs)(t.p,{children:[(0,L.jsx)(t.a,{href:"http://opensource.org/licenses/MIT",children:"MIT"})," © ",(0,L.jsx)(t.a,{href:"https://github.com/JounQin",children:"JounQin"}),"@",(0,L.jsx)(t.a,{href:"https://www.1stg.me",children:"1stG.me"})]})]})}},z=()=>{const{name:e}=function(){let{matches:e}=(0,l.useContext)(p),t=e[e.length-1];return t?t.params:{}}(),t=(0,l.lazy)((()=>n(5071)(`./${e}/README.md`)));return(0,L.jsx)(l.Suspense,{fallback:null,children:(0,L.jsx)(t,{})})},R=()=>(0,L.jsx)(N,{children:(0,L.jsxs)(j,{children:[(0,L.jsx)(_,{path:"/packages/:name",element:(0,L.jsx)(z,{})}),(0,L.jsx)(_,{path:"/",element:(0,L.jsx)(O,{})})]})}),M=document.querySelector("#app");M.classList.add("markdown-body"),(0,a.s)(M).render((0,L.jsx)(R,{}))},9662:(e,t,n)=>{var r=n(7854),a=n(614),l=n(6330),o=r.TypeError;e.exports=function(e){if(a(e))return e;throw o(l(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(7854),a=n(4411),l=n(6330),o=r.TypeError;e.exports=function(e){if(a(e))return e;throw o(l(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(7854),a=n(614),l=r.String,o=r.TypeError;e.exports=function(e){if("object"==typeof e||a(e))return e;throw o("Can't set "+l(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),a=n(30),l=n(3070),o=r("unscopables"),i=Array.prototype;null==i[o]&&l.f(i,o,{configurable:!0,value:a(null)}),e.exports=function(e){i[o][e]=!0}},5787:(e,t,n)=>{var r=n(7854),a=n(7976),l=r.TypeError;e.exports=function(e,t){if(a(t,e))return e;throw l("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(7854),a=n(111),l=r.String,o=r.TypeError;e.exports=function(e){if(a(e))return e;throw o(l(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),a=n(1400),l=n(6244),o=function(e){return function(t,n,o){var i,u=r(t),s=l(u),c=a(o,s);if(e&&n!=n){for(;s>c;)if((i=u[c++])!=i)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},7072:(e,t,n)=>{var r=n(5112)("iterator"),a=!1;try{var l=0,o={next:function(){return{done:!!l++}},return:function(){a=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var l={};l[r]=function(){return{next:function(){return{done:n=!0}}}},e(l)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(1702),a=r({}.toString),l=r("".slice);e.exports=function(e){return l(a(e),8,-1)}},648:(e,t,n)=>{var r=n(7854),a=n(1694),l=n(614),o=n(4326),i=n(5112)("toStringTag"),u=r.Object,s="Arguments"==o(function(){return arguments}());e.exports=a?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),i))?n:s?o(t):"Object"==(r=o(t))&&l(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),a=n(3887),l=n(1236),o=n(3070);e.exports=function(e,t,n){for(var i=a(t),u=o.f,s=l.f,c=0;c{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,a=n(30),l=n(9114),o=n(8003),i=n(7497),u=function(){return this};e.exports=function(e,t,n,s){var c=t+" Iterator";return e.prototype=a(r,{next:l(+!s,n)}),o(e,c,!1,!0),i[c]=u,e}},8880:(e,t,n)=>{var r=n(9781),a=n(3070),l=n(9114);e.exports=r?function(e,t,n){return a.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},654:(e,t,n)=>{"use strict";var r=n(2109),a=n(6916),l=n(1913),o=n(6530),i=n(614),u=n(4994),s=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(1320),h=n(5112),v=n(7497),m=n(3383),g=o.PROPER,y=o.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,k=h("iterator"),x="keys",S="values",E="entries",C=function(){return this};e.exports=function(e,t,n,o,h,m,_){u(n,t,o);var P,j,T,N=function(e){if(e===h&&M)return M;if(!w&&e in z)return z[e];switch(e){case x:case S:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},L=t+" Iterator",O=!1,z=e.prototype,R=z[k]||z["@@iterator"]||h&&z[h],M=!w&&R||N(h),F="Array"==t&&z.entries||R;if(F&&(P=s(F.call(new e)))!==Object.prototype&&P.next&&(l||s(P)===b||(c?c(P,b):i(P[k])||p(P,k,C)),f(P,L,!0,!0),l&&(v[L]=C)),g&&h==S&&R&&R.name!==S&&(!l&&y?d(z,"name",S):(O=!0,M=function(){return a(R,this)})),h)if(j={values:N(S),keys:m?M:N(x),entries:N(E)},_)for(T in j)(w||O||!(T in z))&&p(z,T,j[T]);else r({target:t,proto:!0,forced:w||O},j);return l&&!_||z[k]===M||p(z,k,M,{name:h}),v[t]=M,j}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,n)=>{var r=n(7854),a=n(111),l=r.document,o=a(l)&&a(l.createElement);e.exports=function(e){return o?l.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,n)=>{var r=n(317)("span").classList,a=r&&r.constructor&&r.constructor.prototype;e.exports=a===Object.prototype?void 0:a},7871:e=>{e.exports="object"==typeof window},1528:(e,t,n)=>{var r=n(8113),a=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==a.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),a=n(7854);e.exports="process"==r(a.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,a,l=n(7854),o=n(8113),i=l.process,u=l.Deno,s=i&&i.versions||u&&u.version,c=s&&s.v8;c&&(a=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(a=+r[1]),e.exports=a},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),a=n(1236).f,l=n(8880),o=n(1320),i=n(3505),u=n(9920),s=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,v=e.global,m=e.stat;if(n=v?r:m?r[h]||i(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=a(n,c))&&p.value:n[c],!s(v?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&l(d,"sham",!0),o(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},2104:(e,t,n)=>{var r=n(4374),a=Function.prototype,l=a.apply,o=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(l):function(){return o.apply(l,arguments)})},9974:(e,t,n)=>{var r=n(1702),a=n(9662),l=n(4374),o=r(r.bind);e.exports=function(e,t){return a(e),void 0===t?e:l?o(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},6530:(e,t,n)=>{var r=n(9781),a=n(2597),l=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=a(l,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(l,"name").configurable);e.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}},1702:(e,t,n)=>{var r=n(4374),a=Function.prototype,l=a.bind,o=a.call,i=r&&l.bind(o,o);e.exports=r?function(e){return e&&i(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),a=n(614),l=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?l(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),a=n(8173),l=n(7497),o=n(5112)("iterator");e.exports=function(e){if(null!=e)return a(e,o)||a(e,"@@iterator")||l[r(e)]}},8554:(e,t,n)=>{var r=n(7854),a=n(6916),l=n(9662),o=n(9670),i=n(6330),u=n(1246),s=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(l(n))return o(a(n,e));throw s(i(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),a=n(7908),l=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return l(a(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),a=n(7293),l=n(317);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(7854),a=n(1702),l=n(7293),o=n(4326),i=r.Object,u=a("".split);e.exports=l((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?u(e,""):i(e)}:i},2788:(e,t,n)=>{var r=n(1702),a=n(614),l=n(5465),o=r(Function.toString);a(l.inspectSource)||(l.inspectSource=function(e){return o(e)}),e.exports=l.inspectSource},9909:(e,t,n)=>{var r,a,l,o=n(8536),i=n(7854),u=n(1702),s=n(111),c=n(8880),f=n(2597),d=n(5465),p=n(6200),h=n(3501),v="Object already initialized",m=i.TypeError,g=i.WeakMap;if(o||d.state){var y=d.state||(d.state=new g),b=u(y.get),w=u(y.has),k=u(y.set);r=function(e,t){if(w(y,e))throw new m(v);return t.facade=e,k(y,e,t),t},a=function(e){return b(y,e)||{}},l=function(e){return w(y,e)}}else{var x=p("state");h[x]=!0,r=function(e,t){if(f(e,x))throw new m(v);return t.facade=e,c(e,x,t),t},a=function(e){return f(e,x)?e[x]:{}},l=function(e){return f(e,x)}}e.exports={set:r,get:a,has:l,enforce:function(e){return l(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=a(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),a=n(7497),l=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[l]===e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),a=n(7293),l=n(614),o=n(648),i=n(5005),u=n(2788),s=function(){},c=[],f=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(s),v=function(e){if(!l(e))return!1;try{return f(s,c,e),!0}catch(e){return!1}},m=function(e){if(!l(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||a((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?m:v},4705:(e,t,n)=>{var r=n(7293),a=n(614),l=/#|\.prototype\./,o=function(e,t){var n=u[i(e)];return n==c||n!=s&&(a(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(l,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},111:(e,t,n)=>{var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},2190:(e,t,n)=>{var r=n(7854),a=n(5005),l=n(614),o=n(7976),i=n(3307),u=r.Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return l(t)&&o(t.prototype,u(e))}},408:(e,t,n)=>{var r=n(7854),a=n(9974),l=n(6916),o=n(9670),i=n(6330),u=n(7659),s=n(6244),c=n(7976),f=n(8554),d=n(1246),p=n(9212),h=r.TypeError,v=function(e,t){this.stopped=e,this.result=t},m=v.prototype;e.exports=function(e,t,n){var r,g,y,b,w,k,x,S=n&&n.that,E=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),P=a(t,S),j=function(e){return r&&p(r,"normal",e),new v(!0,e)},T=function(e){return E?(o(e),_?P(e[0],e[1],j):P(e[0],e[1])):_?P(e,j):P(e)};if(C)r=e;else{if(!(g=d(e)))throw h(i(e)+" is not iterable");if(u(g)){for(y=0,b=s(e);b>y;y++)if((w=T(e[y]))&&c(m,w))return w;return new v(!1)}r=f(e,g)}for(k=r.next;!(x=l(k,r)).done;){try{w=T(x.value)}catch(e){p(r,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new v(!1)}},9212:(e,t,n)=>{var r=n(6916),a=n(9670),l=n(8173);e.exports=function(e,t,n){var o,i;a(e);try{if(!(o=l(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){i=!0,o=e}if("throw"===t)throw n;if(i)throw o;return a(o),n}},3383:(e,t,n)=>{"use strict";var r,a,l,o=n(7293),i=n(614),u=n(30),s=n(9518),c=n(1320),f=n(5112),d=n(1913),p=f("iterator"),h=!1;[].keys&&("next"in(l=[].keys())?(a=s(s(l)))!==Object.prototype&&(r=a):h=!0),null==r||o((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),i(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},5948:(e,t,n)=>{var r,a,l,o,i,u,s,c,f=n(7854),d=n(9974),p=n(1236).f,h=n(261).set,v=n(6833),m=n(1528),g=n(1036),y=n(5268),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,k=f.process,x=f.Promise,S=p(f,"queueMicrotask"),E=S&&S.value;E||(r=function(){var e,t;for(y&&(e=k.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():l=void 0,e}}l=void 0,e&&e.enter()},v||y||g||!b||!w?!m&&x&&x.resolve?((s=x.resolve(void 0)).constructor=x,c=d(s.then,s),o=function(){c(r)}):y?o=function(){k.nextTick(r)}:(h=d(h,f),o=function(){h(r)}):(i=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),o=function(){u.data=i=!i})),e.exports=E||function(e){var t={fn:e,next:void 0};l&&(l.next=t),a||(a=t,o()),l=t}},3366:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},133:(e,t,n)=>{var r=n(7392),a=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,t,n)=>{var r=n(7854),a=n(614),l=n(2788),o=r.WeakMap;e.exports=a(o)&&/native code/.test(l(o))},8523:(e,t,n)=>{"use strict";var r=n(9662),a=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new a(e)}},1574:(e,t,n)=>{"use strict";var r=n(9781),a=n(1702),l=n(6916),o=n(7293),i=n(1956),u=n(5181),s=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=a([].concat);e.exports=!d||o((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||i(d({},t)).join("")!=a}))?function(e,t){for(var n=c(e),a=arguments.length,o=1,d=u.f,p=s.f;a>o;)for(var v,m=f(arguments[o++]),g=d?h(i(m),d(m)):i(m),y=g.length,b=0;y>b;)v=g[b++],r&&!l(p,m,v)||(n[v]=m[v]);return n}:d},30:(e,t,n)=>{var r,a=n(9670),l=n(6048),o=n(748),i=n(3501),u=n(490),s=n(317),c=n(6200)("IE_PROTO"),f=function(){},d=function(e){return" + + + + +
+ + diff --git a/dist/manifest.58fa9ebf631cfb88d49f.js b/dist/manifest.58fa9ebf631cfb88d49f.js new file mode 100644 index 00000000..f9e12ab7 --- /dev/null +++ b/dist/manifest.58fa9ebf631cfb88d49f.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,r,t,o={},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,e=[],a.O=(r,t,o,n)=>{if(!t){var i=1/0;for(d=0;d=n)&&Object.keys(a.O).every((e=>a.O[e](t[u])))?t.splice(u--,1):(l=!1,n0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[t,o,n]},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>e+"."+{226:"af73caf68c915178ae0b",594:"f0bf83eb5b0c8320588b",934:"b49239c725cb008b35ae"}[e]+".js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="@rxts/prettier:",a.l=(e,o,n,i)=>{if(r[e])r[e].push(o);else{var l,u;if(void 0!==n)for(var s=document.getElementsByTagName("script"),d=0;d{l.onerror=l.onload=null,clearTimeout(p);var n=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(o))),t)return t(o)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=c.bind(null,l.onerror),l.onload=c.bind(null,l.onload),u&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.p="/",(()=>{var e={700:0};a.f.j=(r,t)=>{var o=a.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(700!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var i=a.p+a.u(r),l=new Error;a.l(i,(t=>{if(a.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}}),"chunk-"+r,r)}else e[r]=0},a.O.j=r=>0===e[r];var r=(r,t)=>{var o,n,[i,l,u]=t,s=0;if(i.some((r=>0!==e[r]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(u)var d=u(a)}for(r&&r(t);s(i=new URL(i+".js",s).href,r[i]||new Promise((r=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=r,document.head.appendChild(e)}else e=i,importScripts(i),r()})).then((()=>{let e=r[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(s,n)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(r[c])return;let l={};const t=e=>i(e,c),o={module:{uri:c},exports:l,require:t};r[c]=Promise.all(s.map((e=>o[e]||t(e)))).then((e=>(n(...e),l)))}}define(["./workbox-1003e6ae"],(function(e){"use strict";e.setCacheNameDetails({prefix:"@rxts/prettier"}),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/226.af73caf68c915178ae0b.js",revision:null},{url:"/594.f0bf83eb5b0c8320588b.js",revision:null},{url:"/934.b49239c725cb008b35ae.js",revision:null},{url:"/app.12775d505eedb14149cb.css",revision:null},{url:"/app.ccce98467b614ce3674a.js",revision:null},{url:"/app.ccce98467b614ce3674a.js.LICENSE.txt",revision:"bd365d35fa812990b679cd9c4f4fc150"},{url:"/manifest.58fa9ebf631cfb88d49f.js",revision:null}],{}),e.registerRoute(/\/api\//,new e.NetworkFirst,"GET")})); diff --git a/dist/workbox-1003e6ae.js b/dist/workbox-1003e6ae.js new file mode 100644 index 00000000..927a4049 --- /dev/null +++ b/dist/workbox-1003e6ae.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.1"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.1"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const a=t.method;if(!o&&this.i.has(a)&&(o=this.i.get(a)),!o)return;let c;try{c=o.handle({url:s,request:t,event:e,params:i})}catch(t){c=Promise.reject(t)}const h=r&&r.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let a;const c=()=>(a||(a=new o,a.addFetchListener(),a.addCacheListener()),a);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return c().registerRoute(o),o}try{self["workbox:strategies:6.5.1"]&&_()}catch(t){}const u={cacheWillUpdate:async({response:t})=>200===t.status||0===t.status?t:null},l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},f=t=>[l.prefix,t,l.suffix].filter((t=>t&&t.length>0)).join("-"),w=t=>{(t=>{for(const e of Object.keys(l))t(e)})((e=>{"string"==typeof t[e]&&(l[e]=t[e])}))},d=t=>t||f(l.precache),p=t=>t||f(l.runtime);function y(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class g{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const m=new Set;function R(t){return"string"==typeof t?new Request(t):t}class v{constructor(t,e){this.h={},Object.assign(this,e),this.event=e.event,this.u=t,this.l=new g,this.p=[],this.g=[...t.plugins],this.m=new Map;for(const t of this.g)this.m.set(t,{});this.event.waitUntil(this.l.promise)}async fetch(t){const{event:e}=this;let n=R(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.u.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=R(t);let s;const{cacheName:n,matchOptions:i}=this.u,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=R(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const a=await this.R(e);if(!a)return!1;const{cacheName:c,matchOptions:h}=this.u,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=y(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===y(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?a.clone():a)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of m)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:a.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.h[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=R(await t({mode:e,request:n,event:this.event,params:this.params}));this.h[s]=n}return this.h[s]}hasCallback(t){for(const e of this.u.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.u.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.p.push(t),t}async doneWaiting(){let t;for(;t=this.p.shift();)await t}destroy(){this.l.resolve(null)}async R(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class q{constructor(t={}){this.cacheName=p(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new v(this,{event:e,request:s,params:n}),r=this.v(i,s,e);return[r,this.q(r,i,s,e)]}async v(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.U(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async q(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}function U(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.1"]&&_()}catch(t){}function b(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class L{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class E{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.L.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.L=t}}let C,O;async function x(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,a=function(){if(void 0===C){const t=new Response("");if("body"in t)try{new Response(t.body),C=!0}catch(t){C=!1}C=!1}return C}()?i.body:await i.blob();return new Response(a,o)}class N extends q{constructor(t={}){t.cacheName=d(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(N.copyRedirectedCacheableResponsesPlugin)}async U(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:r||s})),s&&o&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==N.copyRedirectedCacheableResponsesPlugin&&(n===N.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(N.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}N.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},N.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await x(t):t};class P{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.P=new Map,this.T=new Map,this.W=new Map,this.u=new N({cacheName:d(t),plugins:[...e,new E({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.u}precache(t){this.addToCacheList(t),this.k||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.k=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=b(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.P.has(i)&&this.P.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.P.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.W.has(t)&&this.W.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.W.set(t,n.integrity)}if(this.P.set(i,t),this.T.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return U(t,(async()=>{const e=new L;this.strategy.plugins.push(e);for(const[e,s]of this.P){const n=this.W.get(s),i=this.T.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return U(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.P.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.P}getCachedURLs(){return[...this.P.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.P.get(e.href)}getIntegrityForCacheKey(t){return this.W.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}const T=()=>(O||(O=new P),O);class W extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NetworkFirst=class extends q{constructor(t={}){super(t),this.plugins.some((t=>"cacheWillUpdate"in t))||this.plugins.unshift(u),this.j=t.networkTimeoutSeconds||0}async U(t,e){const n=[],i=[];let r;if(this.j){const{id:s,promise:o}=this.K({request:t,logs:n,handler:e});r=s,i.push(o)}const o=this.M({timeoutId:r,request:t,logs:n,handler:e});i.push(o);const a=await e.waitUntil((async()=>await e.waitUntil(Promise.race(i))||await o)());if(!a)throw new s("no-response",{url:t.url});return a}K({request:t,logs:e,handler:s}){let n;return{promise:new Promise((e=>{n=setTimeout((async()=>{e(await s.cacheMatch(t))}),1e3*this.j)})),id:n}}async M({timeoutId:t,request:e,logs:s,handler:n}){let i,r;try{r=await n.fetchAndCachePut(e)}catch(t){t instanceof Error&&(i=t)}return t&&clearTimeout(t),!i&&r||(r=await n.cacheMatch(e)),r}},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.precacheAndRoute=function(t,e){!function(t){T().precache(t)}(t),function(t){const e=T();h(new W(e,t))}(e)},t.registerRoute=h,t.setCacheNameDetails=function(t){w(t)}})); diff --git a/packages/pkg/CHANGELOG.md b/packages/pkg/CHANGELOG.md index f00aec1a..b4100020 100644 --- a/packages/pkg/CHANGELOG.md +++ b/packages/pkg/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 0.12.0 + +### Minor Changes + +- [#154](https://github.com/rx-ts/prettier/pull/154) [`fd19f3a`](https://github.com/rx-ts/prettier/commit/fd19f3a069f73279f3e98f1b1edac47588548c8c) Thanks [@JounQin](https://github.com/JounQin)! - feat: drop umd format support + ## 0.11.2 ### Patch Changes diff --git a/packages/pkg/package.json b/packages/pkg/package.json index 418f9304..02adc6de 100644 --- a/packages/pkg/package.json +++ b/packages/pkg/package.json @@ -1,6 +1,6 @@ { "name": "prettier-plugin-pkg", - "version": "0.11.2", + "version": "0.12.0", "type": "module", "description": "An opinionated package.json formatter plugin for Prettier", "repository": "git@github.com/rx-ts/prettier.git", diff --git a/packages/sh/CHANGELOG.md b/packages/sh/CHANGELOG.md index b79ff28f..4b1e0c21 100644 --- a/packages/sh/CHANGELOG.md +++ b/packages/sh/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 0.9.0 + +### Minor Changes + +- [#154](https://github.com/rx-ts/prettier/pull/154) [`fd19f3a`](https://github.com/rx-ts/prettier/commit/fd19f3a069f73279f3e98f1b1edac47588548c8c) Thanks [@JounQin](https://github.com/JounQin)! - feat: use wasm for plugin sh + +- [#154](https://github.com/rx-ts/prettier/pull/154) [`fd19f3a`](https://github.com/rx-ts/prettier/commit/fd19f3a069f73279f3e98f1b1edac47588548c8c) Thanks [@JounQin](https://github.com/JounQin)! - feat: drop umd format support + ## 0.8.2 ### Patch Changes diff --git a/packages/sh/package.json b/packages/sh/package.json index cb90b063..8650da69 100644 --- a/packages/sh/package.json +++ b/packages/sh/package.json @@ -1,6 +1,6 @@ { "name": "prettier-plugin-sh", - "version": "0.8.2", + "version": "0.9.0", "type": "module", "description": "An opinionated `shellscript、Dockerfile、properties、gitignore、dotenv、hosts、jvmoptions...` formatter plugin for Prettier", "repository": "git@github.com/rx-ts/prettier.git", diff --git a/packages/sql/CHANGELOG.md b/packages/sql/CHANGELOG.md index 53946371..819484cc 100644 --- a/packages/sql/CHANGELOG.md +++ b/packages/sql/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 0.5.0 + +### Minor Changes + +- [#154](https://github.com/rx-ts/prettier/pull/154) [`fd19f3a`](https://github.com/rx-ts/prettier/commit/fd19f3a069f73279f3e98f1b1edac47588548c8c) Thanks [@JounQin](https://github.com/JounQin)! - feat: drop umd format support + ## 0.4.2 ### Patch Changes diff --git a/packages/sql/package.json b/packages/sql/package.json index 79024d30..a1a09694 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -1,6 +1,6 @@ { "name": "prettier-plugin-sql", - "version": "0.4.2", + "version": "0.5.0", "type": "module", "description": "An opinionated sql formatter plugin for Prettier", "repository": "git@github.com/rx-ts/prettier.git",