tailwind.com 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +145 -14
- package/js/browser.mjs +187 -0
- package/js/engine.mjs +285 -0
- package/js/node.mjs +91 -6
- package/js/page.js +375 -0
- package/js/wasi.mjs +435 -0
- package/package.json +12 -4
- package/runtime/compat.js +51 -0
- package/runtime/plugins/aspect-ratio.js +6 -0
- package/runtime/plugins/forms.js +4 -0
- package/runtime/plugins/typography.js +6 -0
- package/runtime/release.json +1 -1
- package/runtime/tailwind-browser.wasm +0 -0
- package/runtime/tailwind.wasm +0 -0
- package/runtime/typescript.js +139 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Generated by tests/upstream/tools/build-plugin-bundles.mjs. Do not edit.
|
|
2
|
+
// @tailwindcss/typography 0.5.20 with its dependencies (cssesc 3.0.0, postcss-selector-parser 6.0.10, util-deprecate 1.0.2).
|
|
3
|
+
// The licenses are in NOTICE and licenses/ of tailwind.com.
|
|
4
|
+
var _=(e,i)=>()=>(i||e((i={exports:{}}).exports,i),i.exports);var xt=_((ia,Lt)=>{var u=require("tailwindcss/colors"),T=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),M=e=>`${T(e/16)}rem`,n=(e,i)=>`${T(e/i)}em`,H=(e,i)=>{let o=e.replace("#","");o=o.length===3?o.replace(/./g,"$&$&"):o;let t=parseInt(o.substring(0,2),16),r=parseInt(o.substring(2,4),16),s=parseInt(o.substring(4,6),16);return Number.isNaN(t)||Number.isNaN(r)||Number.isNaN(s)?`color-mix(in oklab, ${e} ${i}, transparent)`:`rgb(${t} ${r} ${s} / ${i})`},Re={sm:{css:[{fontSize:M(14),lineHeight:T(24/14),p:{marginTop:n(16,14),marginBottom:n(16,14)},'[class~="lead"]':{fontSize:n(18,14),lineHeight:T(28/18),marginTop:n(16,18),marginBottom:n(16,18)},blockquote:{marginTop:n(24,18),marginBottom:n(24,18),paddingInlineStart:n(20,18)},h1:{fontSize:n(30,14),marginTop:"0",marginBottom:n(24,30),lineHeight:T(36/30)},h2:{fontSize:n(20,14),marginTop:n(32,20),marginBottom:n(16,20),lineHeight:T(28/20)},h3:{fontSize:n(18,14),marginTop:n(28,18),marginBottom:n(8,18),lineHeight:T(28/18)},h4:{marginTop:n(20,14),marginBottom:n(8,14),lineHeight:T(20/14)},img:{marginTop:n(24,14),marginBottom:n(24,14)},picture:{marginTop:n(24,14),marginBottom:n(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:n(24,14),marginBottom:n(24,14)},kbd:{fontSize:n(12,14),borderRadius:M(5),paddingTop:n(2,14),paddingInlineEnd:n(5,14),paddingBottom:n(2,14),paddingInlineStart:n(5,14)},code:{fontSize:n(12,14)},"h2 code":{fontSize:n(18,20)},"h3 code":{fontSize:n(16,18)},pre:{fontSize:n(12,14),lineHeight:T(20/12),marginTop:n(20,12),marginBottom:n(20,12),borderRadius:M(4),paddingTop:n(8,12),paddingInlineEnd:n(12,12),paddingBottom:n(8,12),paddingInlineStart:n(12,12)},ol:{marginTop:n(16,14),marginBottom:n(16,14),paddingInlineStart:n(22,14)},ul:{marginTop:n(16,14),marginBottom:n(16,14),paddingInlineStart:n(22,14)},li:{marginTop:n(4,14),marginBottom:n(4,14)},"ol > li":{paddingInlineStart:n(6,14)},"ul > li":{paddingInlineStart:n(6,14)},"> ul > li p":{marginTop:n(8,14),marginBottom:n(8,14)},"> ul > li > p:first-child":{marginTop:n(16,14)},"> ul > li > p:last-child":{marginBottom:n(16,14)},"> ol > li > p:first-child":{marginTop:n(16,14)},"> ol > li > p:last-child":{marginBottom:n(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:n(8,14),marginBottom:n(8,14)},dl:{marginTop:n(16,14),marginBottom:n(16,14)},dt:{marginTop:n(16,14)},dd:{marginTop:n(4,14),paddingInlineStart:n(22,14)},hr:{marginTop:n(40,14),marginBottom:n(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:n(12,14),lineHeight:T(18/12)},"thead th":{paddingInlineEnd:n(12,12),paddingBottom:n(8,12),paddingInlineStart:n(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:n(8,12),paddingInlineEnd:n(12,12),paddingBottom:n(8,12),paddingInlineStart:n(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:n(24,14),marginBottom:n(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:n(12,14),lineHeight:T(16/12),marginTop:n(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:M(16),lineHeight:T(28/16),p:{marginTop:n(20,16),marginBottom:n(20,16)},'[class~="lead"]':{fontSize:n(20,16),lineHeight:T(32/20),marginTop:n(24,20),marginBottom:n(24,20)},blockquote:{marginTop:n(32,20),marginBottom:n(32,20),paddingInlineStart:n(20,20)},h1:{fontSize:n(36,16),marginTop:"0",marginBottom:n(32,36),lineHeight:T(40/36)},h2:{fontSize:n(24,16),marginTop:n(48,24),marginBottom:n(24,24),lineHeight:T(32/24)},h3:{fontSize:n(20,16),marginTop:n(32,20),marginBottom:n(12,20),lineHeight:T(32/20)},h4:{marginTop:n(24,16),marginBottom:n(8,16),lineHeight:T(24/16)},img:{marginTop:n(32,16),marginBottom:n(32,16)},picture:{marginTop:n(32,16),marginBottom:n(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:n(32,16),marginBottom:n(32,16)},kbd:{fontSize:n(14,16),borderRadius:M(5),paddingTop:n(3,16),paddingInlineEnd:n(6,16),paddingBottom:n(3,16),paddingInlineStart:n(6,16)},code:{fontSize:n(14,16)},"h2 code":{fontSize:n(21,24)},"h3 code":{fontSize:n(18,20)},pre:{fontSize:n(14,16),lineHeight:T(24/14),marginTop:n(24,14),marginBottom:n(24,14),borderRadius:M(6),paddingTop:n(12,14),paddingInlineEnd:n(16,14),paddingBottom:n(12,14),paddingInlineStart:n(16,14)},ol:{marginTop:n(20,16),marginBottom:n(20,16),paddingInlineStart:n(26,16)},ul:{marginTop:n(20,16),marginBottom:n(20,16),paddingInlineStart:n(26,16)},li:{marginTop:n(8,16),marginBottom:n(8,16)},"ol > li":{paddingInlineStart:n(6,16)},"ul > li":{paddingInlineStart:n(6,16)},"> ul > li p":{marginTop:n(12,16),marginBottom:n(12,16)},"> ul > li > p:first-child":{marginTop:n(20,16)},"> ul > li > p:last-child":{marginBottom:n(20,16)},"> ol > li > p:first-child":{marginTop:n(20,16)},"> ol > li > p:last-child":{marginBottom:n(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:n(12,16),marginBottom:n(12,16)},dl:{marginTop:n(20,16),marginBottom:n(20,16)},dt:{marginTop:n(20,16)},dd:{marginTop:n(8,16),paddingInlineStart:n(26,16)},hr:{marginTop:n(48,16),marginBottom:n(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:n(14,16),lineHeight:T(24/14)},"thead th":{paddingInlineEnd:n(8,14),paddingBottom:n(8,14),paddingInlineStart:n(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:n(8,14),paddingInlineEnd:n(8,14),paddingBottom:n(8,14),paddingInlineStart:n(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:n(32,16),marginBottom:n(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:n(14,16),lineHeight:T(20/14),marginTop:n(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:M(18),lineHeight:T(32/18),p:{marginTop:n(24,18),marginBottom:n(24,18)},'[class~="lead"]':{fontSize:n(22,18),lineHeight:T(32/22),marginTop:n(24,22),marginBottom:n(24,22)},blockquote:{marginTop:n(40,24),marginBottom:n(40,24),paddingInlineStart:n(24,24)},h1:{fontSize:n(48,18),marginTop:"0",marginBottom:n(40,48),lineHeight:T(48/48)},h2:{fontSize:n(30,18),marginTop:n(56,30),marginBottom:n(32,30),lineHeight:T(40/30)},h3:{fontSize:n(24,18),marginTop:n(40,24),marginBottom:n(16,24),lineHeight:T(36/24)},h4:{marginTop:n(32,18),marginBottom:n(8,18),lineHeight:T(28/18)},img:{marginTop:n(32,18),marginBottom:n(32,18)},picture:{marginTop:n(32,18),marginBottom:n(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:n(32,18),marginBottom:n(32,18)},kbd:{fontSize:n(16,18),borderRadius:M(5),paddingTop:n(4,18),paddingInlineEnd:n(8,18),paddingBottom:n(4,18),paddingInlineStart:n(8,18)},code:{fontSize:n(16,18)},"h2 code":{fontSize:n(26,30)},"h3 code":{fontSize:n(21,24)},pre:{fontSize:n(16,18),lineHeight:T(28/16),marginTop:n(32,16),marginBottom:n(32,16),borderRadius:M(6),paddingTop:n(16,16),paddingInlineEnd:n(24,16),paddingBottom:n(16,16),paddingInlineStart:n(24,16)},ol:{marginTop:n(24,18),marginBottom:n(24,18),paddingInlineStart:n(28,18)},ul:{marginTop:n(24,18),marginBottom:n(24,18),paddingInlineStart:n(28,18)},li:{marginTop:n(12,18),marginBottom:n(12,18)},"ol > li":{paddingInlineStart:n(8,18)},"ul > li":{paddingInlineStart:n(8,18)},"> ul > li p":{marginTop:n(16,18),marginBottom:n(16,18)},"> ul > li > p:first-child":{marginTop:n(24,18)},"> ul > li > p:last-child":{marginBottom:n(24,18)},"> ol > li > p:first-child":{marginTop:n(24,18)},"> ol > li > p:last-child":{marginBottom:n(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:n(16,18),marginBottom:n(16,18)},dl:{marginTop:n(24,18),marginBottom:n(24,18)},dt:{marginTop:n(24,18)},dd:{marginTop:n(12,18),paddingInlineStart:n(28,18)},hr:{marginTop:n(56,18),marginBottom:n(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:n(16,18),lineHeight:T(24/16)},"thead th":{paddingInlineEnd:n(12,16),paddingBottom:n(12,16),paddingInlineStart:n(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:n(12,16),paddingInlineEnd:n(12,16),paddingBottom:n(12,16),paddingInlineStart:n(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:n(32,18),marginBottom:n(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:n(16,18),lineHeight:T(24/16),marginTop:n(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:M(20),lineHeight:T(36/20),p:{marginTop:n(24,20),marginBottom:n(24,20)},'[class~="lead"]':{fontSize:n(24,20),lineHeight:T(36/24),marginTop:n(24,24),marginBottom:n(24,24)},blockquote:{marginTop:n(48,30),marginBottom:n(48,30),paddingInlineStart:n(32,30)},h1:{fontSize:n(56,20),marginTop:"0",marginBottom:n(48,56),lineHeight:T(56/56)},h2:{fontSize:n(36,20),marginTop:n(56,36),marginBottom:n(32,36),lineHeight:T(40/36)},h3:{fontSize:n(30,20),marginTop:n(48,30),marginBottom:n(20,30),lineHeight:T(40/30)},h4:{marginTop:n(36,20),marginBottom:n(12,20),lineHeight:T(32/20)},img:{marginTop:n(40,20),marginBottom:n(40,20)},picture:{marginTop:n(40,20),marginBottom:n(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:n(40,20),marginBottom:n(40,20)},kbd:{fontSize:n(18,20),borderRadius:M(5),paddingTop:n(5,20),paddingInlineEnd:n(8,20),paddingBottom:n(5,20),paddingInlineStart:n(8,20)},code:{fontSize:n(18,20)},"h2 code":{fontSize:n(31,36)},"h3 code":{fontSize:n(27,30)},pre:{fontSize:n(18,20),lineHeight:T(32/18),marginTop:n(36,18),marginBottom:n(36,18),borderRadius:M(8),paddingTop:n(20,18),paddingInlineEnd:n(24,18),paddingBottom:n(20,18),paddingInlineStart:n(24,18)},ol:{marginTop:n(24,20),marginBottom:n(24,20),paddingInlineStart:n(32,20)},ul:{marginTop:n(24,20),marginBottom:n(24,20),paddingInlineStart:n(32,20)},li:{marginTop:n(12,20),marginBottom:n(12,20)},"ol > li":{paddingInlineStart:n(8,20)},"ul > li":{paddingInlineStart:n(8,20)},"> ul > li p":{marginTop:n(16,20),marginBottom:n(16,20)},"> ul > li > p:first-child":{marginTop:n(24,20)},"> ul > li > p:last-child":{marginBottom:n(24,20)},"> ol > li > p:first-child":{marginTop:n(24,20)},"> ol > li > p:last-child":{marginBottom:n(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:n(16,20),marginBottom:n(16,20)},dl:{marginTop:n(24,20),marginBottom:n(24,20)},dt:{marginTop:n(24,20)},dd:{marginTop:n(12,20),paddingInlineStart:n(32,20)},hr:{marginTop:n(56,20),marginBottom:n(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:n(18,20),lineHeight:T(28/18)},"thead th":{paddingInlineEnd:n(12,18),paddingBottom:n(16,18),paddingInlineStart:n(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:n(16,18),paddingInlineEnd:n(12,18),paddingBottom:n(16,18),paddingInlineStart:n(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:n(40,20),marginBottom:n(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:n(18,20),lineHeight:T(28/18),marginTop:n(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:M(24),lineHeight:T(40/24),p:{marginTop:n(32,24),marginBottom:n(32,24)},'[class~="lead"]':{fontSize:n(30,24),lineHeight:T(44/30),marginTop:n(32,30),marginBottom:n(32,30)},blockquote:{marginTop:n(64,36),marginBottom:n(64,36),paddingInlineStart:n(40,36)},h1:{fontSize:n(64,24),marginTop:"0",marginBottom:n(56,64),lineHeight:T(64/64)},h2:{fontSize:n(48,24),marginTop:n(72,48),marginBottom:n(40,48),lineHeight:T(52/48)},h3:{fontSize:n(36,24),marginTop:n(56,36),marginBottom:n(24,36),lineHeight:T(44/36)},h4:{marginTop:n(40,24),marginBottom:n(16,24),lineHeight:T(36/24)},img:{marginTop:n(48,24),marginBottom:n(48,24)},picture:{marginTop:n(48,24),marginBottom:n(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:n(48,24),marginBottom:n(48,24)},kbd:{fontSize:n(20,24),borderRadius:M(6),paddingTop:n(6,24),paddingInlineEnd:n(8,24),paddingBottom:n(6,24),paddingInlineStart:n(8,24)},code:{fontSize:n(20,24)},"h2 code":{fontSize:n(42,48)},"h3 code":{fontSize:n(32,36)},pre:{fontSize:n(20,24),lineHeight:T(36/20),marginTop:n(40,20),marginBottom:n(40,20),borderRadius:M(8),paddingTop:n(24,20),paddingInlineEnd:n(32,20),paddingBottom:n(24,20),paddingInlineStart:n(32,20)},ol:{marginTop:n(32,24),marginBottom:n(32,24),paddingInlineStart:n(38,24)},ul:{marginTop:n(32,24),marginBottom:n(32,24),paddingInlineStart:n(38,24)},li:{marginTop:n(12,24),marginBottom:n(12,24)},"ol > li":{paddingInlineStart:n(10,24)},"ul > li":{paddingInlineStart:n(10,24)},"> ul > li p":{marginTop:n(20,24),marginBottom:n(20,24)},"> ul > li > p:first-child":{marginTop:n(32,24)},"> ul > li > p:last-child":{marginBottom:n(32,24)},"> ol > li > p:first-child":{marginTop:n(32,24)},"> ol > li > p:last-child":{marginBottom:n(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:n(16,24),marginBottom:n(16,24)},dl:{marginTop:n(32,24),marginBottom:n(32,24)},dt:{marginTop:n(32,24)},dd:{marginTop:n(12,24),paddingInlineStart:n(38,24)},hr:{marginTop:n(72,24),marginBottom:n(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:n(20,24),lineHeight:T(28/20)},"thead th":{paddingInlineEnd:n(12,20),paddingBottom:n(16,20),paddingInlineStart:n(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:n(16,20),paddingInlineEnd:n(12,20),paddingBottom:n(16,20),paddingInlineStart:n(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:n(48,24),marginBottom:n(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:n(20,24),lineHeight:T(32/20),marginTop:n(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":u.slate[700],"--tw-prose-headings":u.slate[900],"--tw-prose-lead":u.slate[600],"--tw-prose-links":u.slate[900],"--tw-prose-bold":u.slate[900],"--tw-prose-counters":u.slate[500],"--tw-prose-bullets":u.slate[300],"--tw-prose-hr":u.slate[200],"--tw-prose-quotes":u.slate[900],"--tw-prose-quote-borders":u.slate[200],"--tw-prose-captions":u.slate[500],"--tw-prose-kbd":u.slate[900],"--tw-prose-kbd-shadows":H(u.slate[900],"10%"),"--tw-prose-code":u.slate[900],"--tw-prose-pre-code":u.slate[200],"--tw-prose-pre-bg":u.slate[800],"--tw-prose-th-borders":u.slate[300],"--tw-prose-td-borders":u.slate[200],"--tw-prose-invert-body":u.slate[300],"--tw-prose-invert-headings":u.white,"--tw-prose-invert-lead":u.slate[400],"--tw-prose-invert-links":u.white,"--tw-prose-invert-bold":u.white,"--tw-prose-invert-counters":u.slate[400],"--tw-prose-invert-bullets":u.slate[600],"--tw-prose-invert-hr":u.slate[700],"--tw-prose-invert-quotes":u.slate[100],"--tw-prose-invert-quote-borders":u.slate[700],"--tw-prose-invert-captions":u.slate[400],"--tw-prose-invert-kbd":u.white,"--tw-prose-invert-kbd-shadows":H(u.white,"10%"),"--tw-prose-invert-code":u.white,"--tw-prose-invert-pre-code":u.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":u.slate[600],"--tw-prose-invert-td-borders":u.slate[700]}},gray:{css:{"--tw-prose-body":u.gray[700],"--tw-prose-headings":u.gray[900],"--tw-prose-lead":u.gray[600],"--tw-prose-links":u.gray[900],"--tw-prose-bold":u.gray[900],"--tw-prose-counters":u.gray[500],"--tw-prose-bullets":u.gray[300],"--tw-prose-hr":u.gray[200],"--tw-prose-quotes":u.gray[900],"--tw-prose-quote-borders":u.gray[200],"--tw-prose-captions":u.gray[500],"--tw-prose-kbd":u.gray[900],"--tw-prose-kbd-shadows":H(u.gray[900],"10%"),"--tw-prose-code":u.gray[900],"--tw-prose-pre-code":u.gray[200],"--tw-prose-pre-bg":u.gray[800],"--tw-prose-th-borders":u.gray[300],"--tw-prose-td-borders":u.gray[200],"--tw-prose-invert-body":u.gray[300],"--tw-prose-invert-headings":u.white,"--tw-prose-invert-lead":u.gray[400],"--tw-prose-invert-links":u.white,"--tw-prose-invert-bold":u.white,"--tw-prose-invert-counters":u.gray[400],"--tw-prose-invert-bullets":u.gray[600],"--tw-prose-invert-hr":u.gray[700],"--tw-prose-invert-quotes":u.gray[100],"--tw-prose-invert-quote-borders":u.gray[700],"--tw-prose-invert-captions":u.gray[400],"--tw-prose-invert-kbd":u.white,"--tw-prose-invert-kbd-shadows":H(u.white,"10%"),"--tw-prose-invert-code":u.white,"--tw-prose-invert-pre-code":u.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":u.gray[600],"--tw-prose-invert-td-borders":u.gray[700]}},zinc:{css:{"--tw-prose-body":u.zinc[700],"--tw-prose-headings":u.zinc[900],"--tw-prose-lead":u.zinc[600],"--tw-prose-links":u.zinc[900],"--tw-prose-bold":u.zinc[900],"--tw-prose-counters":u.zinc[500],"--tw-prose-bullets":u.zinc[300],"--tw-prose-hr":u.zinc[200],"--tw-prose-quotes":u.zinc[900],"--tw-prose-quote-borders":u.zinc[200],"--tw-prose-captions":u.zinc[500],"--tw-prose-kbd":u.zinc[900],"--tw-prose-kbd-shadows":H(u.zinc[900],"10%"),"--tw-prose-code":u.zinc[900],"--tw-prose-pre-code":u.zinc[200],"--tw-prose-pre-bg":u.zinc[800],"--tw-prose-th-borders":u.zinc[300],"--tw-prose-td-borders":u.zinc[200],"--tw-prose-invert-body":u.zinc[300],"--tw-prose-invert-headings":u.white,"--tw-prose-invert-lead":u.zinc[400],"--tw-prose-invert-links":u.white,"--tw-prose-invert-bold":u.white,"--tw-prose-invert-counters":u.zinc[400],"--tw-prose-invert-bullets":u.zinc[600],"--tw-prose-invert-hr":u.zinc[700],"--tw-prose-invert-quotes":u.zinc[100],"--tw-prose-invert-quote-borders":u.zinc[700],"--tw-prose-invert-captions":u.zinc[400],"--tw-prose-invert-kbd":u.white,"--tw-prose-invert-kbd-shadows":H(u.white,"10%"),"--tw-prose-invert-code":u.white,"--tw-prose-invert-pre-code":u.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":u.zinc[600],"--tw-prose-invert-td-borders":u.zinc[700]}},neutral:{css:{"--tw-prose-body":u.neutral[700],"--tw-prose-headings":u.neutral[900],"--tw-prose-lead":u.neutral[600],"--tw-prose-links":u.neutral[900],"--tw-prose-bold":u.neutral[900],"--tw-prose-counters":u.neutral[500],"--tw-prose-bullets":u.neutral[300],"--tw-prose-hr":u.neutral[200],"--tw-prose-quotes":u.neutral[900],"--tw-prose-quote-borders":u.neutral[200],"--tw-prose-captions":u.neutral[500],"--tw-prose-kbd":u.neutral[900],"--tw-prose-kbd-shadows":H(u.neutral[900],"10%"),"--tw-prose-code":u.neutral[900],"--tw-prose-pre-code":u.neutral[200],"--tw-prose-pre-bg":u.neutral[800],"--tw-prose-th-borders":u.neutral[300],"--tw-prose-td-borders":u.neutral[200],"--tw-prose-invert-body":u.neutral[300],"--tw-prose-invert-headings":u.white,"--tw-prose-invert-lead":u.neutral[400],"--tw-prose-invert-links":u.white,"--tw-prose-invert-bold":u.white,"--tw-prose-invert-counters":u.neutral[400],"--tw-prose-invert-bullets":u.neutral[600],"--tw-prose-invert-hr":u.neutral[700],"--tw-prose-invert-quotes":u.neutral[100],"--tw-prose-invert-quote-borders":u.neutral[700],"--tw-prose-invert-captions":u.neutral[400],"--tw-prose-invert-kbd":u.white,"--tw-prose-invert-kbd-shadows":H(u.white,"10%"),"--tw-prose-invert-code":u.white,"--tw-prose-invert-pre-code":u.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":u.neutral[600],"--tw-prose-invert-td-borders":u.neutral[700]}},stone:{css:{"--tw-prose-body":u.stone[700],"--tw-prose-headings":u.stone[900],"--tw-prose-lead":u.stone[600],"--tw-prose-links":u.stone[900],"--tw-prose-bold":u.stone[900],"--tw-prose-counters":u.stone[500],"--tw-prose-bullets":u.stone[300],"--tw-prose-hr":u.stone[200],"--tw-prose-quotes":u.stone[900],"--tw-prose-quote-borders":u.stone[200],"--tw-prose-captions":u.stone[500],"--tw-prose-kbd":u.stone[900],"--tw-prose-kbd-shadows":H(u.stone[900],"10%"),"--tw-prose-code":u.stone[900],"--tw-prose-pre-code":u.stone[200],"--tw-prose-pre-bg":u.stone[800],"--tw-prose-th-borders":u.stone[300],"--tw-prose-td-borders":u.stone[200],"--tw-prose-invert-body":u.stone[300],"--tw-prose-invert-headings":u.white,"--tw-prose-invert-lead":u.stone[400],"--tw-prose-invert-links":u.white,"--tw-prose-invert-bold":u.white,"--tw-prose-invert-counters":u.stone[400],"--tw-prose-invert-bullets":u.stone[600],"--tw-prose-invert-hr":u.stone[700],"--tw-prose-invert-quotes":u.stone[100],"--tw-prose-invert-quote-borders":u.stone[700],"--tw-prose-invert-captions":u.stone[400],"--tw-prose-invert-kbd":u.white,"--tw-prose-invert-kbd-shadows":H(u.white,"10%"),"--tw-prose-invert-code":u.white,"--tw-prose-invert-pre-code":u.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":u.stone[600],"--tw-prose-invert-td-borders":u.stone[700]}},red:{css:{"--tw-prose-links":u.red[600],"--tw-prose-invert-links":u.red[500]}},orange:{css:{"--tw-prose-links":u.orange[600],"--tw-prose-invert-links":u.orange[500]}},amber:{css:{"--tw-prose-links":u.amber[600],"--tw-prose-invert-links":u.amber[500]}},yellow:{css:{"--tw-prose-links":u.yellow[600],"--tw-prose-invert-links":u.yellow[500]}},lime:{css:{"--tw-prose-links":u.lime[600],"--tw-prose-invert-links":u.lime[500]}},green:{css:{"--tw-prose-links":u.green[600],"--tw-prose-invert-links":u.green[500]}},emerald:{css:{"--tw-prose-links":u.emerald[600],"--tw-prose-invert-links":u.emerald[500]}},teal:{css:{"--tw-prose-links":u.teal[600],"--tw-prose-invert-links":u.teal[500]}},cyan:{css:{"--tw-prose-links":u.cyan[600],"--tw-prose-invert-links":u.cyan[500]}},sky:{css:{"--tw-prose-links":u.sky[600],"--tw-prose-invert-links":u.sky[500]}},blue:{css:{"--tw-prose-links":u.blue[600],"--tw-prose-invert-links":u.blue[500]}},indigo:{css:{"--tw-prose-links":u.indigo[600],"--tw-prose-invert-links":u.indigo[500]}},violet:{css:{"--tw-prose-links":u.violet[600],"--tw-prose-invert-links":u.violet[500]}},purple:{css:{"--tw-prose-links":u.purple[600],"--tw-prose-invert-links":u.purple[500]}},fuchsia:{css:{"--tw-prose-links":u.fuchsia[600],"--tw-prose-invert-links":u.fuchsia[500]}},pink:{css:{"--tw-prose-links":u.pink[600],"--tw-prose-invert-links":u.pink[500]}},rose:{css:{"--tw-prose-links":u.rose[600],"--tw-prose-invert-links":u.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};Lt.exports={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1px"},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:n(32,16),marginBottom:n(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},Re.gray.css,...Re.base.css]},...Re}});var Ne=_((ke,Ft)=>{"use strict";ke.__esModule=!0;ke.default=ti;function Zr(e){for(var i=e.toLowerCase(),o="",t=!1,r=0;r<6&&i[r]!==void 0;r++){var s=i.charCodeAt(r),a=s>=97&&s<=102||s>=48&&s<=57;if(t=s===32,!a)break;o+=i[r]}if(o.length!==0){var l=parseInt(o,16),f=l>=55296&&l<=57343;return f||l===0||l>1114111?["\uFFFD",o.length+(t?1:0)]:[String.fromCodePoint(l),o.length+(t?1:0)]}}var ei=/\\/;function ti(e){var i=ei.test(e);if(!i)return e;for(var o="",t=0;t<e.length;t++){if(e[t]==="\\"){var r=Zr(e.slice(t+1,t+7));if(r!==void 0){o+=r[0],t+=r[1];continue}if(e[t+1]==="\\"){o+="\\",t++;continue}e.length===t+1&&(o+=e[t]);continue}o+=e[t]}return o}Ft.exports=ke.default});var Rt=_((Ee,Mt)=>{"use strict";Ee.__esModule=!0;Ee.default=ri;function ri(e){for(var i=arguments.length,o=new Array(i>1?i-1:0),t=1;t<i;t++)o[t-1]=arguments[t];for(;o.length>0;){var r=o.shift();if(!e[r])return;e=e[r]}return e}Mt.exports=Ee.default});var zt=_((Oe,Nt)=>{"use strict";Oe.__esModule=!0;Oe.default=ii;function ii(e){for(var i=arguments.length,o=new Array(i>1?i-1:0),t=1;t<i;t++)o[t-1]=arguments[t];for(;o.length>0;){var r=o.shift();e[r]||(e[r]={}),e=e[r]}}Nt.exports=Oe.default});var Wt=_((Ie,Ct)=>{"use strict";Ie.__esModule=!0;Ie.default=ni;function ni(e){for(var i="",o=e.indexOf("/*"),t=0;o>=0;){i=i+e.slice(t,o);var r=e.indexOf("*/",o+2);if(r<0)return i;t=r+2,o=e.indexOf("/*",t)}return i=i+e.slice(t),i}Ct.exports=Ie.default});var te=_(Q=>{"use strict";Q.__esModule=!0;Q.stripComments=Q.ensureObject=Q.getProp=Q.unesc=void 0;var oi=Pe(Ne());Q.unesc=oi.default;var si=Pe(Rt());Q.getProp=si.default;var ai=Pe(zt());Q.ensureObject=ai.default;var ui=Pe(Wt());Q.stripComments=ui.default;function Pe(e){return e&&e.__esModule?e:{default:e}}});var Y=_((re,Qt)=>{"use strict";re.__esModule=!0;re.default=void 0;var Ut=te();function Ht(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function li(e,i,o){return i&&Ht(e.prototype,i),o&&Ht(e,o),e}var ci=function e(i,o){if(typeof i!="object"||i===null)return i;var t=new i.constructor;for(var r in i)if(i.hasOwnProperty(r)){var s=i[r],a=typeof s;r==="parent"&&a==="object"?o&&(t[r]=o):s instanceof Array?t[r]=s.map(function(l){return e(l,t)}):t[r]=e(s,t)}return t},pi=(function(){function e(o){o===void 0&&(o={}),Object.assign(this,o),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var i=e.prototype;return i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){if(this.parent){for(var t in arguments)this.parent.insertBefore(this,arguments[t]);this.remove()}return this},i.next=function(){return this.parent.at(this.parent.index(this)+1)},i.prev=function(){return this.parent.at(this.parent.index(this)-1)},i.clone=function(t){t===void 0&&(t={});var r=ci(this);for(var s in t)r[s]=t[s];return r},i.appendToPropertyAndEscape=function(t,r,s){this.raws||(this.raws={});var a=this[t],l=this.raws[t];this[t]=a+r,l||s!==r?this.raws[t]=(l||a)+s:delete this.raws[t]},i.setPropertyAndEscape=function(t,r,s){this.raws||(this.raws={}),this[t]=r,this.raws[t]=s},i.setPropertyWithoutEscape=function(t,r){this[t]=r,this.raws&&delete this.raws[t]},i.isAtPosition=function(t,r){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>t||this.source.end.line<t||this.source.start.line===t&&this.source.start.column>r||this.source.end.line===t&&this.source.end.column<r)},i.stringifyProperty=function(t){return this.raws&&this.raws[t]||this[t]},i.valueToString=function(){return String(this.stringifyProperty("value"))},i.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},li(e,[{key:"rawSpaceBefore",get:function(){var t=this.raws&&this.raws.spaces&&this.raws.spaces.before;return t===void 0&&(t=this.spaces&&this.spaces.before),t||""},set:function(t){(0,Ut.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=t}},{key:"rawSpaceAfter",get:function(){var t=this.raws&&this.raws.spaces&&this.raws.spaces.after;return t===void 0&&(t=this.spaces.after),t||""},set:function(t){(0,Ut.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=t}}]),e})();re.default=pi;Qt.exports=re.default});var L=_(O=>{"use strict";O.__esModule=!0;O.UNIVERSAL=O.ATTRIBUTE=O.CLASS=O.COMBINATOR=O.COMMENT=O.ID=O.NESTING=O.PSEUDO=O.ROOT=O.SELECTOR=O.STRING=O.TAG=void 0;var fi="tag";O.TAG=fi;var di="string";O.STRING=di;var hi="selector";O.SELECTOR=hi;var gi="root";O.ROOT=gi;var vi="pseudo";O.PSEUDO=vi;var mi="nesting";O.NESTING=mi;var wi="id";O.ID=wi;var Ti="comment";O.COMMENT=Ti;var Si="combinator";O.COMBINATOR=Si;var _i="class";O.CLASS=_i;var yi="attribute";O.ATTRIBUTE=yi;var bi="universal";O.UNIVERSAL=bi});var qe=_((ie,Vt)=>{"use strict";ie.__esModule=!0;ie.default=void 0;var ki=Oi(Y()),$=Ei(L());function Gt(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Gt=function(){return e},e}function Ei(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var i=Gt();if(i&&i.has(e))return i.get(e);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=t?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(o,r,s):o[r]=e[r]}return o.default=e,i&&i.set(e,o),o}function Oi(e){return e&&e.__esModule?e:{default:e}}function Ii(e,i){var o;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(o=Pi(e))||i&&e&&typeof e.length=="number"){o&&(e=o);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return o=e[Symbol.iterator](),o.next.bind(o)}function Pi(e,i){if(e){if(typeof e=="string")return Yt(e,i);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Yt(e,i)}}function Yt(e,i){(i==null||i>e.length)&&(i=e.length);for(var o=0,t=new Array(i);o<i;o++)t[o]=e[o];return t}function $t(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function qi(e,i,o){return i&&$t(e.prototype,i),o&&$t(e,o),e}function Bi(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,ze(e,i)}function ze(e,i){return ze=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},ze(e,i)}var Di=(function(e){Bi(i,e);function i(t){var r;return r=e.call(this,t)||this,r.nodes||(r.nodes=[]),r}var o=i.prototype;return o.append=function(r){return r.parent=this,this.nodes.push(r),this},o.prepend=function(r){return r.parent=this,this.nodes.unshift(r),this},o.at=function(r){return this.nodes[r]},o.index=function(r){return typeof r=="number"?r:this.nodes.indexOf(r)},o.removeChild=function(r){r=this.index(r),this.at(r).parent=void 0,this.nodes.splice(r,1);var s;for(var a in this.indexes)s=this.indexes[a],s>=r&&(this.indexes[a]=s-1);return this},o.removeAll=function(){for(var r=Ii(this.nodes),s;!(s=r()).done;){var a=s.value;a.parent=void 0}return this.nodes=[],this},o.empty=function(){return this.removeAll()},o.insertAfter=function(r,s){s.parent=this;var a=this.index(r);this.nodes.splice(a+1,0,s),s.parent=this;var l;for(var f in this.indexes)l=this.indexes[f],a<=l&&(this.indexes[f]=l+1);return this},o.insertBefore=function(r,s){s.parent=this;var a=this.index(r);this.nodes.splice(a,0,s),s.parent=this;var l;for(var f in this.indexes)l=this.indexes[f],l<=a&&(this.indexes[f]=l+1);return this},o._findChildAtPosition=function(r,s){var a=void 0;return this.each(function(l){if(l.atPosition){var f=l.atPosition(r,s);if(f)return a=f,!1}else if(l.isAtPosition(r,s))return a=l,!1}),a},o.atPosition=function(r,s){if(this.isAtPosition(r,s))return this._findChildAtPosition(r,s)||this},o._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},o.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var a,l;this.indexes[s]<this.length&&(a=this.indexes[s],l=r(this.at(a),a),l!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],l===!1)return!1}},o.walk=function(r){return this.each(function(s,a){var l=r(s,a);if(l!==!1&&s.length&&(l=s.walk(r)),l===!1)return!1})},o.walkAttributes=function(r){var s=this;return this.walk(function(a){if(a.type===$.ATTRIBUTE)return r.call(s,a)})},o.walkClasses=function(r){var s=this;return this.walk(function(a){if(a.type===$.CLASS)return r.call(s,a)})},o.walkCombinators=function(r){var s=this;return this.walk(function(a){if(a.type===$.COMBINATOR)return r.call(s,a)})},o.walkComments=function(r){var s=this;return this.walk(function(a){if(a.type===$.COMMENT)return r.call(s,a)})},o.walkIds=function(r){var s=this;return this.walk(function(a){if(a.type===$.ID)return r.call(s,a)})},o.walkNesting=function(r){var s=this;return this.walk(function(a){if(a.type===$.NESTING)return r.call(s,a)})},o.walkPseudos=function(r){var s=this;return this.walk(function(a){if(a.type===$.PSEUDO)return r.call(s,a)})},o.walkTags=function(r){var s=this;return this.walk(function(a){if(a.type===$.TAG)return r.call(s,a)})},o.walkUniversals=function(r){var s=this;return this.walk(function(a){if(a.type===$.UNIVERSAL)return r.call(s,a)})},o.split=function(r){var s=this,a=[];return this.reduce(function(l,f,p){var h=r.call(s,f);return a.push(f),h?(l.push(a),a=[]):p===s.length-1&&l.push(a),l},[])},o.map=function(r){return this.nodes.map(r)},o.reduce=function(r,s){return this.nodes.reduce(r,s)},o.every=function(r){return this.nodes.every(r)},o.some=function(r){return this.nodes.some(r)},o.filter=function(r){return this.nodes.filter(r)},o.sort=function(r){return this.nodes.sort(r)},o.toString=function(){return this.map(String).join("")},qi(i,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),i})(ki.default);ie.default=Di;Vt.exports=ie.default});var We=_((ne,Kt)=>{"use strict";ne.__esModule=!0;ne.default=void 0;var Ai=xi(qe()),Li=L();function xi(e){return e&&e.__esModule?e:{default:e}}function jt(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Fi(e,i,o){return i&&jt(e.prototype,i),o&&jt(e,o),e}function Mi(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Ce(e,i)}function Ce(e,i){return Ce=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Ce(e,i)}var Ri=(function(e){Mi(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type=Li.ROOT,r}var o=i.prototype;return o.toString=function(){var r=this.reduce(function(s,a){return s.push(String(a)),s},[]).join(",");return this.trailingComma?r+",":r},o.error=function(r,s){return this._error?this._error(r,s):new Error(r)},Fi(i,[{key:"errorGenerator",set:function(r){this._error=r}}]),i})(Ai.default);ne.default=Ri;Kt.exports=ne.default});var He=_((oe,Xt)=>{"use strict";oe.__esModule=!0;oe.default=void 0;var Ni=Ci(qe()),zi=L();function Ci(e){return e&&e.__esModule?e:{default:e}}function Wi(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Ue(e,i)}function Ue(e,i){return Ue=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Ue(e,i)}var Ui=(function(e){Wi(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=zi.SELECTOR,t}return i})(Ni.default);oe.default=Ui;Xt.exports=oe.default});var Be=_((sa,Jt)=>{"use strict";var Hi={},Qi=Hi.hasOwnProperty,Yi=function(i,o){if(!i)return o;var t={};for(var r in o)t[r]=Qi.call(i,r)?i[r]:o[r];return t},$i=/[ -,\.\/:-@\[-\^`\{-~]/,Gi=/[ -,\.\/:-@\[\]\^`\{-~]/,Vi=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Qe=function e(i,o){o=Yi(o,e.options),o.quotes!="single"&&o.quotes!="double"&&(o.quotes="single");for(var t=o.quotes=="double"?'"':"'",r=o.isIdentifier,s=i.charAt(0),a="",l=0,f=i.length;l<f;){var p=i.charAt(l++),h=p.charCodeAt(),m=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&l<f){var y=i.charCodeAt(l++);(y&64512)==56320?h=((h&1023)<<10)+(y&1023)+65536:l--}m="\\"+h.toString(16).toUpperCase()+" "}else o.escapeEverything?$i.test(p)?m="\\"+p:m="\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(p)?m="\\"+h.toString(16).toUpperCase()+" ":p=="\\"||!r&&(p=='"'&&t==p||p=="'"&&t==p)||r&&Gi.test(p)?m="\\"+p:m=p;a+=m}return r&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(s)&&(a="\\3"+s+" "+a.slice(1))),a=a.replace(Vi,function(w,k,x){return k&&k.length%2?w:(k||"")+x}),!r&&o.wrap?t+a+t:a};Qe.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Qe.version="3.0.0";Jt.exports=Qe});var $e=_((se,tr)=>{"use strict";se.__esModule=!0;se.default=void 0;var ji=er(Be()),Ki=te(),Xi=er(Y()),Ji=L();function er(e){return e&&e.__esModule?e:{default:e}}function Zt(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Zi(e,i,o){return i&&Zt(e.prototype,i),o&&Zt(e,o),e}function en(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Ye(e,i)}function Ye(e,i){return Ye=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Ye(e,i)}var tn=(function(e){en(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type=Ji.CLASS,r._constructed=!0,r}var o=i.prototype;return o.valueToString=function(){return"."+e.prototype.valueToString.call(this)},Zi(i,[{key:"value",get:function(){return this._value},set:function(r){if(this._constructed){var s=(0,ji.default)(r,{isIdentifier:!0});s!==r?((0,Ki.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=r}}]),i})(Xi.default);se.default=tn;tr.exports=se.default});var Ve=_((ae,rr)=>{"use strict";ae.__esModule=!0;ae.default=void 0;var rn=on(Y()),nn=L();function on(e){return e&&e.__esModule?e:{default:e}}function sn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Ge(e,i)}function Ge(e,i){return Ge=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Ge(e,i)}var an=(function(e){sn(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=nn.COMMENT,t}return i})(rn.default);ae.default=an;rr.exports=ae.default});var Ke=_((ue,ir)=>{"use strict";ue.__esModule=!0;ue.default=void 0;var un=cn(Y()),ln=L();function cn(e){return e&&e.__esModule?e:{default:e}}function pn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,je(e,i)}function je(e,i){return je=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},je(e,i)}var fn=(function(e){pn(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type=ln.ID,r}var o=i.prototype;return o.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},i})(un.default);ue.default=fn;ir.exports=ue.default});var De=_((le,sr)=>{"use strict";le.__esModule=!0;le.default=void 0;var dn=or(Be()),hn=te(),gn=or(Y());function or(e){return e&&e.__esModule?e:{default:e}}function nr(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function vn(e,i,o){return i&&nr(e.prototype,i),o&&nr(e,o),e}function mn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Xe(e,i)}function Xe(e,i){return Xe=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Xe(e,i)}var wn=(function(e){mn(i,e);function i(){return e.apply(this,arguments)||this}var o=i.prototype;return o.qualifiedName=function(r){return this.namespace?this.namespaceString+"|"+r:r},o.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},vn(i,[{key:"namespace",get:function(){return this._namespace},set:function(r){if(r===!0||r==="*"||r==="&"){this._namespace=r,this.raws&&delete this.raws.namespace;return}var s=(0,dn.default)(r,{isIdentifier:!0});this._namespace=r,s!==r?((0,hn.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(r){this.namespace=r}},{key:"namespaceString",get:function(){if(this.namespace){var r=this.stringifyProperty("namespace");return r===!0?"":r}else return""}}]),i})(gn.default);le.default=wn;sr.exports=le.default});var Ze=_((ce,ar)=>{"use strict";ce.__esModule=!0;ce.default=void 0;var Tn=_n(De()),Sn=L();function _n(e){return e&&e.__esModule?e:{default:e}}function yn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,Je(e,i)}function Je(e,i){return Je=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},Je(e,i)}var bn=(function(e){yn(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=Sn.TAG,t}return i})(Tn.default);ce.default=bn;ar.exports=ce.default});var tt=_((pe,ur)=>{"use strict";pe.__esModule=!0;pe.default=void 0;var kn=On(Y()),En=L();function On(e){return e&&e.__esModule?e:{default:e}}function In(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,et(e,i)}function et(e,i){return et=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},et(e,i)}var Pn=(function(e){In(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=En.STRING,t}return i})(kn.default);pe.default=Pn;ur.exports=pe.default});var it=_((fe,lr)=>{"use strict";fe.__esModule=!0;fe.default=void 0;var qn=Dn(qe()),Bn=L();function Dn(e){return e&&e.__esModule?e:{default:e}}function An(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,rt(e,i)}function rt(e,i){return rt=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},rt(e,i)}var Ln=(function(e){An(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type=Bn.PSEUDO,r}var o=i.prototype;return o.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),r,this.rawSpaceAfter].join("")},i})(qn.default);fe.default=Ln;lr.exports=fe.default});var pr=_((aa,cr)=>{cr.exports=require("util").deprecate});var lt=_(ge=>{"use strict";ge.__esModule=!0;ge.unescapeValue=ut;ge.default=void 0;var de=at(Be()),xn=at(Ne()),Fn=at(De()),Mn=L(),nt;function at(e){return e&&e.__esModule?e:{default:e}}function fr(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Rn(e,i,o){return i&&fr(e.prototype,i),o&&fr(e,o),e}function Nn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,st(e,i)}function st(e,i){return st=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},st(e,i)}var he=pr(),zn=/^('|")([^]*)\1$/,Cn=he(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),Wn=he(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),Un=he(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function ut(e){var i=!1,o=null,t=e,r=t.match(zn);return r&&(o=r[1],t=r[2]),t=(0,xn.default)(t),t!==e&&(i=!0),{deprecatedUsage:i,unescaped:t,quoteMark:o}}function Hn(e){if(e.quoteMark!==void 0||e.value===void 0)return e;Un();var i=ut(e.value),o=i.quoteMark,t=i.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=t,e.quoteMark=o,e}var Ae=(function(e){Nn(i,e);function i(t){var r;return t===void 0&&(t={}),r=e.call(this,Hn(t))||this,r.type=Mn.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:he(function(){return r.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:he(function(){return r.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}var o=i.prototype;return o.getQuotedValue=function(r){r===void 0&&(r={});var s=this._determineQuoteMark(r),a=ot[s],l=(0,de.default)(this._value,a);return l},o._determineQuoteMark=function(r){return r.smart?this.smartQuoteMark(r):this.preferredQuoteMark(r)},o.setValue=function(r,s){s===void 0&&(s={}),this._value=r,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},o.smartQuoteMark=function(r){var s=this.value,a=s.replace(/[^']/g,"").length,l=s.replace(/[^"]/g,"").length;if(a+l===0){var f=(0,de.default)(s,{isIdentifier:!0});if(f===s)return i.NO_QUOTE;var p=this.preferredQuoteMark(r);if(p===i.NO_QUOTE){var h=this.quoteMark||r.quoteMark||i.DOUBLE_QUOTE,m=ot[h],y=(0,de.default)(s,m);if(y.length<f.length)return h}return p}else return l===a?this.preferredQuoteMark(r):l<a?i.DOUBLE_QUOTE:i.SINGLE_QUOTE},o.preferredQuoteMark=function(r){var s=r.preferCurrentQuoteMark?this.quoteMark:r.quoteMark;return s===void 0&&(s=r.preferCurrentQuoteMark?r.quoteMark:this.quoteMark),s===void 0&&(s=i.DOUBLE_QUOTE),s},o._syncRawValue=function(){var r=(0,de.default)(this._value,ot[this.quoteMark]);r===this._value?this.raws&&delete this.raws.value:this.raws.value=r},o._handleEscapes=function(r,s){if(this._constructed){var a=(0,de.default)(s,{isIdentifier:!0});a!==s?this.raws[r]=a:delete this.raws[r]}},o._spacesFor=function(r){var s={before:"",after:""},a=this.spaces[r]||{},l=this.raws.spaces&&this.raws.spaces[r]||{};return Object.assign(s,a,l)},o._stringFor=function(r,s,a){s===void 0&&(s=r),a===void 0&&(a=dr);var l=this._spacesFor(s);return a(this.stringifyProperty(r),l)},o.offsetOf=function(r){var s=1,a=this._spacesFor("attribute");if(s+=a.before.length,r==="namespace"||r==="ns")return this.namespace?s:-1;if(r==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),r==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=a.after.length;var l=this._spacesFor("operator");s+=l.before.length;var f=this.stringifyProperty("operator");if(r==="operator")return f?s:-1;s+=f.length,s+=l.after.length;var p=this._spacesFor("value");s+=p.before.length;var h=this.stringifyProperty("value");if(r==="value")return h?s:-1;s+=h.length,s+=p.after.length;var m=this._spacesFor("insensitive");return s+=m.before.length,r==="insensitive"&&this.insensitive?s:-1},o.toString=function(){var r=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(a,l){return a.length>0&&!r.quoted&&l.before.length===0&&!(r.spaces.value&&r.spaces.value.after)&&(l.before=" "),dr(a,l)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},Rn(i,[{key:"quoted",get:function(){var r=this.quoteMark;return r==="'"||r==='"'},set:function(r){Wn()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(r){if(!this._constructed){this._quoteMark=r;return}this._quoteMark!==r&&(this._quoteMark=r,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(r){if(this._constructed){var s=ut(r),a=s.deprecatedUsage,l=s.unescaped,f=s.quoteMark;if(a&&Cn(),l===this._value&&f===this._quoteMark)return;this._value=l,this._quoteMark=f,this._syncRawValue()}else this._value=r}},{key:"attribute",get:function(){return this._attribute},set:function(r){this._handleEscapes("attribute",r),this._attribute=r}}]),i})(Fn.default);ge.default=Ae;Ae.NO_QUOTE=null;Ae.SINGLE_QUOTE="'";Ae.DOUBLE_QUOTE='"';var ot=(nt={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},nt[null]={isIdentifier:!0},nt);function dr(e,i){return""+i.before+e+i.after}});var pt=_((ve,hr)=>{"use strict";ve.__esModule=!0;ve.default=void 0;var Qn=$n(De()),Yn=L();function $n(e){return e&&e.__esModule?e:{default:e}}function Gn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,ct(e,i)}function ct(e,i){return ct=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},ct(e,i)}var Vn=(function(e){Gn(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=Yn.UNIVERSAL,t.value="*",t}return i})(Qn.default);ve.default=Vn;hr.exports=ve.default});var dt=_((me,gr)=>{"use strict";me.__esModule=!0;me.default=void 0;var jn=Xn(Y()),Kn=L();function Xn(e){return e&&e.__esModule?e:{default:e}}function Jn(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,ft(e,i)}function ft(e,i){return ft=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},ft(e,i)}var Zn=(function(e){Jn(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=Kn.COMBINATOR,t}return i})(jn.default);me.default=Zn;gr.exports=me.default});var gt=_((we,vr)=>{"use strict";we.__esModule=!0;we.default=void 0;var eo=ro(Y()),to=L();function ro(e){return e&&e.__esModule?e:{default:e}}function io(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,ht(e,i)}function ht(e,i){return ht=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},ht(e,i)}var no=(function(e){io(i,e);function i(o){var t;return t=e.call(this,o)||this,t.type=to.NESTING,t.value="&",t}return i})(eo.default);we.default=no;vr.exports=we.default});var wr=_((Le,mr)=>{"use strict";Le.__esModule=!0;Le.default=oo;function oo(e){return e.sort(function(i,o){return i-o})}mr.exports=Le.default});var vt=_(v=>{"use strict";v.__esModule=!0;v.combinator=v.word=v.comment=v.str=v.tab=v.newline=v.feed=v.cr=v.backslash=v.bang=v.slash=v.doubleQuote=v.singleQuote=v.space=v.greaterThan=v.pipe=v.equals=v.plus=v.caret=v.tilde=v.dollar=v.closeSquare=v.openSquare=v.closeParenthesis=v.openParenthesis=v.semicolon=v.colon=v.comma=v.at=v.asterisk=v.ampersand=void 0;var so=38;v.ampersand=so;var ao=42;v.asterisk=ao;var uo=64;v.at=uo;var lo=44;v.comma=lo;var co=58;v.colon=co;var po=59;v.semicolon=po;var fo=40;v.openParenthesis=fo;var ho=41;v.closeParenthesis=ho;var go=91;v.openSquare=go;var vo=93;v.closeSquare=vo;var mo=36;v.dollar=mo;var wo=126;v.tilde=wo;var To=94;v.caret=To;var So=43;v.plus=So;var _o=61;v.equals=_o;var yo=124;v.pipe=yo;var bo=62;v.greaterThan=bo;var ko=32;v.space=ko;var Tr=39;v.singleQuote=Tr;var Eo=34;v.doubleQuote=Eo;var Oo=47;v.slash=Oo;var Io=33;v.bang=Io;var Po=92;v.backslash=Po;var qo=13;v.cr=qo;var Bo=12;v.feed=Bo;var Do=10;v.newline=Do;var Ao=9;v.tab=Ao;var Lo=Tr;v.str=Lo;var xo=-1;v.comment=xo;var Fo=-2;v.word=Fo;var Mo=-3;v.combinator=Mo});var yr=_(Te=>{"use strict";Te.__esModule=!0;Te.default=Ho;Te.FIELDS=void 0;var d=Ro(vt()),J,E;function _r(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return _r=function(){return e},e}function Ro(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var i=_r();if(i&&i.has(e))return i.get(e);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=t?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(o,r,s):o[r]=e[r]}return o.default=e,i&&i.set(e,o),o}var No=(J={},J[d.tab]=!0,J[d.newline]=!0,J[d.cr]=!0,J[d.feed]=!0,J),zo=(E={},E[d.space]=!0,E[d.tab]=!0,E[d.newline]=!0,E[d.cr]=!0,E[d.feed]=!0,E[d.ampersand]=!0,E[d.asterisk]=!0,E[d.bang]=!0,E[d.comma]=!0,E[d.colon]=!0,E[d.semicolon]=!0,E[d.openParenthesis]=!0,E[d.closeParenthesis]=!0,E[d.openSquare]=!0,E[d.closeSquare]=!0,E[d.singleQuote]=!0,E[d.doubleQuote]=!0,E[d.plus]=!0,E[d.pipe]=!0,E[d.tilde]=!0,E[d.greaterThan]=!0,E[d.equals]=!0,E[d.dollar]=!0,E[d.caret]=!0,E[d.slash]=!0,E),mt={},Sr="0123456789abcdefABCDEF";for(xe=0;xe<Sr.length;xe++)mt[Sr.charCodeAt(xe)]=!0;var xe;function Co(e,i){var o=i,t;do{if(t=e.charCodeAt(o),zo[t])return o-1;t===d.backslash?o=Wo(e,o)+1:o++}while(o<e.length);return o-1}function Wo(e,i){var o=i,t=e.charCodeAt(o+1);if(!No[t])if(mt[t]){var r=0;do o++,r++,t=e.charCodeAt(o+1);while(mt[t]&&r<6);r<6&&t===d.space&&o++}else o++;return o}var Uo={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Te.FIELDS=Uo;function Ho(e){var i=[],o=e.css.valueOf(),t=o,r=t.length,s=-1,a=1,l=0,f=0,p,h,m,y,w,k,x,R,S,B,D,F,A;function G(X,V){if(e.safe)o+=V,S=o.length-1;else throw e.error("Unclosed "+X,a,l-s,l)}for(;l<r;){switch(p=o.charCodeAt(l),p===d.newline&&(s=l,a+=1),p){case d.space:case d.tab:case d.newline:case d.cr:case d.feed:S=l;do S+=1,p=o.charCodeAt(S),p===d.newline&&(s=S,a+=1);while(p===d.space||p===d.newline||p===d.tab||p===d.cr||p===d.feed);A=d.space,y=a,m=S-s-1,f=S;break;case d.plus:case d.greaterThan:case d.tilde:case d.pipe:S=l;do S+=1,p=o.charCodeAt(S);while(p===d.plus||p===d.greaterThan||p===d.tilde||p===d.pipe);A=d.combinator,y=a,m=l-s,f=S;break;case d.asterisk:case d.ampersand:case d.bang:case d.comma:case d.equals:case d.dollar:case d.caret:case d.openSquare:case d.closeSquare:case d.colon:case d.semicolon:case d.openParenthesis:case d.closeParenthesis:S=l,A=p,y=a,m=l-s,f=S+1;break;case d.singleQuote:case d.doubleQuote:F=p===d.singleQuote?"'":'"',S=l;do for(w=!1,S=o.indexOf(F,S+1),S===-1&&G("quote",F),k=S;o.charCodeAt(k-1)===d.backslash;)k-=1,w=!w;while(w);A=d.str,y=a,m=l-s,f=S+1;break;default:p===d.slash&&o.charCodeAt(l+1)===d.asterisk?(S=o.indexOf("*/",l+2)+1,S===0&&G("comment","*/"),h=o.slice(l,S+1),R=h.split(`
|
|
6
|
+
`),x=R.length-1,x>0?(B=a+x,D=S-R[x].length):(B=a,D=s),A=d.comment,a=B,y=B,m=S-D):p===d.slash?(S=l,A=p,y=a,m=l-s,f=S+1):(S=Co(o,l),A=d.word,y=a,m=S-s),f=S+1;break}i.push([A,a,l-s,y,m,l,f]),D&&(s=D,D=null),l=f}return i}});var Br=_((Se,qr)=>{"use strict";Se.__esModule=!0;Se.default=void 0;var Qo=z(We()),wt=z(He()),Yo=z($e()),br=z(Ve()),$o=z(Ke()),Go=z(Ze()),Tt=z(tt()),Vo=z(it()),kr=Fe(lt()),jo=z(pt()),St=z(dt()),Ko=z(gt()),Xo=z(wr()),c=Fe(yr()),g=Fe(vt()),Jo=Fe(L()),P=te(),j,_t;function Pr(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Pr=function(){return e},e}function Fe(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var i=Pr();if(i&&i.has(e))return i.get(e);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=t?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(o,r,s):o[r]=e[r]}return o.default=e,i&&i.set(e,o),o}function z(e){return e&&e.__esModule?e:{default:e}}function Er(e,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Zo(e,i,o){return i&&Er(e.prototype,i),o&&Er(e,o),e}var kt=(j={},j[g.space]=!0,j[g.cr]=!0,j[g.feed]=!0,j[g.newline]=!0,j[g.tab]=!0,j),es=Object.assign({},kt,(_t={},_t[g.comment]=!0,_t));function Or(e){return{line:e[c.FIELDS.START_LINE],column:e[c.FIELDS.START_COL]}}function Ir(e){return{line:e[c.FIELDS.END_LINE],column:e[c.FIELDS.END_COL]}}function K(e,i,o,t){return{start:{line:e,column:i},end:{line:o,column:t}}}function Z(e){return K(e[c.FIELDS.START_LINE],e[c.FIELDS.START_COL],e[c.FIELDS.END_LINE],e[c.FIELDS.END_COL])}function yt(e,i){if(e)return K(e[c.FIELDS.START_LINE],e[c.FIELDS.START_COL],i[c.FIELDS.END_LINE],i[c.FIELDS.END_COL])}function ee(e,i){var o=e[i];if(typeof o=="string")return o.indexOf("\\")!==-1&&((0,P.ensureObject)(e,"raws"),e[i]=(0,P.unesc)(o),e.raws[i]===void 0&&(e.raws[i]=o)),e}function bt(e,i){for(var o=-1,t=[];(o=e.indexOf(i,o+1))!==-1;)t.push(o);return t}function ts(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(i,o){return o===e.indexOf(i)})}var rs=(function(){function e(o,t){t===void 0&&(t={}),this.rule=o,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,c.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=yt(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Qo.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new wt.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var i=e.prototype;return i._errorGenerator=function(){var t=this;return function(r,s){return typeof t.rule=="string"?new Error(r):t.rule.error(r,s)}},i.attribute=function(){var t=[],r=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[c.FIELDS.TYPE]!==g.closeSquare;)t.push(this.currToken),this.position++;if(this.currToken[c.FIELDS.TYPE]!==g.closeSquare)return this.expected("closing square bracket",this.currToken[c.FIELDS.START_POS]);var s=t.length,a={source:K(r[1],r[2],this.currToken[3],this.currToken[4]),sourceIndex:r[c.FIELDS.START_POS]};if(s===1&&!~[g.word].indexOf(t[0][c.FIELDS.TYPE]))return this.expected("attribute",t[0][c.FIELDS.START_POS]);for(var l=0,f="",p="",h=null,m=!1;l<s;){var y=t[l],w=this.content(y),k=t[l+1];switch(y[c.FIELDS.TYPE]){case g.space:if(m=!0,this.options.lossy)break;if(h){(0,P.ensureObject)(a,"spaces",h);var x=a.spaces[h].after||"";a.spaces[h].after=x+w;var R=(0,P.getProp)(a,"raws","spaces",h,"after")||null;R&&(a.raws.spaces[h].after=R+w)}else f=f+w,p=p+w;break;case g.asterisk:if(k[c.FIELDS.TYPE]===g.equals)a.operator=w,h="operator";else if((!a.namespace||h==="namespace"&&!m)&&k){f&&((0,P.ensureObject)(a,"spaces","attribute"),a.spaces.attribute.before=f,f=""),p&&((0,P.ensureObject)(a,"raws","spaces","attribute"),a.raws.spaces.attribute.before=f,p=""),a.namespace=(a.namespace||"")+w;var S=(0,P.getProp)(a,"raws","namespace")||null;S&&(a.raws.namespace+=w),h="namespace"}m=!1;break;case g.dollar:if(h==="value"){var B=(0,P.getProp)(a,"raws","value");a.value+="$",B&&(a.raws.value=B+"$");break}case g.caret:k[c.FIELDS.TYPE]===g.equals&&(a.operator=w,h="operator"),m=!1;break;case g.combinator:if(w==="~"&&k[c.FIELDS.TYPE]===g.equals&&(a.operator=w,h="operator"),w!=="|"){m=!1;break}k[c.FIELDS.TYPE]===g.equals?(a.operator=w,h="operator"):!a.namespace&&!a.attribute&&(a.namespace=!0),m=!1;break;case g.word:if(k&&this.content(k)==="|"&&t[l+2]&&t[l+2][c.FIELDS.TYPE]!==g.equals&&!a.operator&&!a.namespace)a.namespace=w,h="namespace";else if(!a.attribute||h==="attribute"&&!m){f&&((0,P.ensureObject)(a,"spaces","attribute"),a.spaces.attribute.before=f,f=""),p&&((0,P.ensureObject)(a,"raws","spaces","attribute"),a.raws.spaces.attribute.before=p,p=""),a.attribute=(a.attribute||"")+w;var D=(0,P.getProp)(a,"raws","attribute")||null;D&&(a.raws.attribute+=w),h="attribute"}else if(!a.value&&a.value!==""||h==="value"&&!m){var F=(0,P.unesc)(w),A=(0,P.getProp)(a,"raws","value")||"",G=a.value||"";a.value=G+F,a.quoteMark=null,(F!==w||A)&&((0,P.ensureObject)(a,"raws"),a.raws.value=(A||G)+w),h="value"}else{var X=w==="i"||w==="I";(a.value||a.value==="")&&(a.quoteMark||m)?(a.insensitive=X,(!X||w==="I")&&((0,P.ensureObject)(a,"raws"),a.raws.insensitiveFlag=w),h="insensitive",f&&((0,P.ensureObject)(a,"spaces","insensitive"),a.spaces.insensitive.before=f,f=""),p&&((0,P.ensureObject)(a,"raws","spaces","insensitive"),a.raws.spaces.insensitive.before=p,p="")):(a.value||a.value==="")&&(h="value",a.value+=w,a.raws.value&&(a.raws.value+=w))}m=!1;break;case g.str:if(!a.attribute||!a.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:y[c.FIELDS.START_POS]});var V=(0,kr.unescapeValue)(w),Gr=V.unescaped,Vr=V.quoteMark;a.value=Gr,a.quoteMark=Vr,h="value",(0,P.ensureObject)(a,"raws"),a.raws.value=w,m=!1;break;case g.equals:if(!a.attribute)return this.expected("attribute",y[c.FIELDS.START_POS],w);if(a.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:y[c.FIELDS.START_POS]});a.operator=a.operator?a.operator+w:w,h="operator",m=!1;break;case g.comment:if(h)if(m||k&&k[c.FIELDS.TYPE]===g.space||h==="insensitive"){var jr=(0,P.getProp)(a,"spaces",h,"after")||"",Kr=(0,P.getProp)(a,"raws","spaces",h,"after")||jr;(0,P.ensureObject)(a,"raws","spaces",h),a.raws.spaces[h].after=Kr+w}else{var Xr=a[h]||"",Jr=(0,P.getProp)(a,"raws",h)||Xr;(0,P.ensureObject)(a,"raws"),a.raws[h]=Jr+w}else p=p+w;break;default:return this.error('Unexpected "'+w+'" found.',{index:y[c.FIELDS.START_POS]})}l++}ee(a,"attribute"),ee(a,"namespace"),this.newNode(new kr.default(a)),this.position++},i.parseWhitespaceEquivalentTokens=function(t){t<0&&(t=this.tokens.length);var r=this.position,s=[],a="",l=void 0;do if(kt[this.currToken[c.FIELDS.TYPE]])this.options.lossy||(a+=this.content());else if(this.currToken[c.FIELDS.TYPE]===g.comment){var f={};a&&(f.before=a,a=""),l=new br.default({value:this.content(),source:Z(this.currToken),sourceIndex:this.currToken[c.FIELDS.START_POS],spaces:f}),s.push(l)}while(++this.position<t);if(a){if(l)l.spaces.after=a;else if(!this.options.lossy){var p=this.tokens[r],h=this.tokens[this.position-1];s.push(new Tt.default({value:"",source:K(p[c.FIELDS.START_LINE],p[c.FIELDS.START_COL],h[c.FIELDS.END_LINE],h[c.FIELDS.END_COL]),sourceIndex:p[c.FIELDS.START_POS],spaces:{before:a,after:""}}))}}return s},i.convertWhitespaceNodesToSpace=function(t,r){var s=this;r===void 0&&(r=!1);var a="",l="";t.forEach(function(p){var h=s.lossySpace(p.spaces.before,r),m=s.lossySpace(p.rawSpaceBefore,r);a+=h+s.lossySpace(p.spaces.after,r&&h.length===0),l+=h+p.value+s.lossySpace(p.rawSpaceAfter,r&&m.length===0)}),l===a&&(l=void 0);var f={space:a,rawSpace:l};return f},i.isNamedCombinator=function(t){return t===void 0&&(t=this.position),this.tokens[t+0]&&this.tokens[t+0][c.FIELDS.TYPE]===g.slash&&this.tokens[t+1]&&this.tokens[t+1][c.FIELDS.TYPE]===g.word&&this.tokens[t+2]&&this.tokens[t+2][c.FIELDS.TYPE]===g.slash},i.namedCombinator=function(){if(this.isNamedCombinator()){var t=this.content(this.tokens[this.position+1]),r=(0,P.unesc)(t).toLowerCase(),s={};r!==t&&(s.value="/"+t+"/");var a=new St.default({value:"/"+r+"/",source:K(this.currToken[c.FIELDS.START_LINE],this.currToken[c.FIELDS.START_COL],this.tokens[this.position+2][c.FIELDS.END_LINE],this.tokens[this.position+2][c.FIELDS.END_COL]),sourceIndex:this.currToken[c.FIELDS.START_POS],raws:s});return this.position=this.position+3,a}else this.unexpected()},i.combinator=function(){var t=this;if(this.content()==="|")return this.namespace();var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][c.FIELDS.TYPE]===g.comma){var s=this.parseWhitespaceEquivalentTokens(r);if(s.length>0){var a=this.current.last;if(a){var l=this.convertWhitespaceNodesToSpace(s),f=l.space,p=l.rawSpace;p!==void 0&&(a.rawSpaceAfter+=p),a.spaces.after+=f}else s.forEach(function(A){return t.newNode(A)})}return}var h=this.currToken,m=void 0;r>this.position&&(m=this.parseWhitespaceEquivalentTokens(r));var y;if(this.isNamedCombinator()?y=this.namedCombinator():this.currToken[c.FIELDS.TYPE]===g.combinator?(y=new St.default({value:this.content(),source:Z(this.currToken),sourceIndex:this.currToken[c.FIELDS.START_POS]}),this.position++):kt[this.currToken[c.FIELDS.TYPE]]||m||this.unexpected(),y){if(m){var w=this.convertWhitespaceNodesToSpace(m),k=w.space,x=w.rawSpace;y.spaces.before=k,y.rawSpaceBefore=x}}else{var R=this.convertWhitespaceNodesToSpace(m,!0),S=R.space,B=R.rawSpace;B||(B=S);var D={},F={spaces:{}};S.endsWith(" ")&&B.endsWith(" ")?(D.before=S.slice(0,S.length-1),F.spaces.before=B.slice(0,B.length-1)):S.startsWith(" ")&&B.startsWith(" ")?(D.after=S.slice(1),F.spaces.after=B.slice(1)):F.value=B,y=new St.default({value:" ",source:yt(h,this.tokens[this.position-1]),sourceIndex:h[c.FIELDS.START_POS],spaces:D,raws:F})}return this.currToken&&this.currToken[c.FIELDS.TYPE]===g.space&&(y.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(y)},i.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var t=new wt.default({source:{start:Or(this.tokens[this.position+1])}});this.current.parent.append(t),this.current=t,this.position++},i.comment=function(){var t=this.currToken;this.newNode(new br.default({value:this.content(),source:Z(t),sourceIndex:t[c.FIELDS.START_POS]})),this.position++},i.error=function(t,r){throw this.root.error(t,r)},i.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[c.FIELDS.START_POS]})},i.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[c.FIELDS.START_POS])},i.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[c.FIELDS.START_POS])},i.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[c.FIELDS.START_POS])},i.namespace=function(){var t=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[c.FIELDS.TYPE]===g.word)return this.position++,this.word(t);if(this.nextToken[c.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal(t)},i.nesting=function(){if(this.nextToken){var t=this.content(this.nextToken);if(t==="|"){this.position++;return}}var r=this.currToken;this.newNode(new Ko.default({value:this.content(),source:Z(r),sourceIndex:r[c.FIELDS.START_POS]})),this.position++},i.parentheses=function(){var t=this.current.last,r=1;if(this.position++,t&&t.type===Jo.PSEUDO){var s=new wt.default({source:{start:Or(this.tokens[this.position-1])}}),a=this.current;for(t.append(s),this.current=s;this.position<this.tokens.length&&r;)this.currToken[c.FIELDS.TYPE]===g.openParenthesis&&r++,this.currToken[c.FIELDS.TYPE]===g.closeParenthesis&&r--,r?this.parse():(this.current.source.end=Ir(this.currToken),this.current.parent.source.end=Ir(this.currToken),this.position++);this.current=a}else{for(var l=this.currToken,f="(",p;this.position<this.tokens.length&&r;)this.currToken[c.FIELDS.TYPE]===g.openParenthesis&&r++,this.currToken[c.FIELDS.TYPE]===g.closeParenthesis&&r--,p=this.currToken,f+=this.parseParenthesisToken(this.currToken),this.position++;t?t.appendToPropertyAndEscape("value",f,f):this.newNode(new Tt.default({value:f,source:K(l[c.FIELDS.START_LINE],l[c.FIELDS.START_COL],p[c.FIELDS.END_LINE],p[c.FIELDS.END_COL]),sourceIndex:l[c.FIELDS.START_POS]}))}if(r)return this.expected("closing parenthesis",this.currToken[c.FIELDS.START_POS])},i.pseudo=function(){for(var t=this,r="",s=this.currToken;this.currToken&&this.currToken[c.FIELDS.TYPE]===g.colon;)r+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[c.FIELDS.TYPE]===g.word)this.splitWord(!1,function(a,l){r+=a,t.newNode(new Vo.default({value:r,source:yt(s,t.currToken),sourceIndex:s[c.FIELDS.START_POS]})),l>1&&t.nextToken&&t.nextToken[c.FIELDS.TYPE]===g.openParenthesis&&t.error("Misplaced parenthesis.",{index:t.nextToken[c.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[c.FIELDS.START_POS])},i.space=function(){var t=this.content();this.position===0||this.prevToken[c.FIELDS.TYPE]===g.comma||this.prevToken[c.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every(function(r){return r.type==="comment"})?(this.spaces=this.optionalSpace(t),this.position++):this.position===this.tokens.length-1||this.nextToken[c.FIELDS.TYPE]===g.comma||this.nextToken[c.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(t),this.position++):this.combinator()},i.string=function(){var t=this.currToken;this.newNode(new Tt.default({value:this.content(),source:Z(t),sourceIndex:t[c.FIELDS.START_POS]})),this.position++},i.universal=function(t){var r=this.nextToken;if(r&&this.content(r)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new jo.default({value:this.content(),source:Z(s),sourceIndex:s[c.FIELDS.START_POS]}),t),this.position++},i.splitWord=function(t,r){for(var s=this,a=this.nextToken,l=this.content();a&&~[g.dollar,g.caret,g.equals,g.word].indexOf(a[c.FIELDS.TYPE]);){this.position++;var f=this.content();if(l+=f,f.lastIndexOf("\\")===f.length-1){var p=this.nextToken;p&&p[c.FIELDS.TYPE]===g.space&&(l+=this.requiredSpace(this.content(p)),this.position++)}a=this.nextToken}var h=bt(l,".").filter(function(k){var x=l[k-1]==="\\",R=/^\d+\.\d+%$/.test(l);return!x&&!R}),m=bt(l,"#").filter(function(k){return l[k-1]!=="\\"}),y=bt(l,"#{");y.length&&(m=m.filter(function(k){return!~y.indexOf(k)}));var w=(0,Xo.default)(ts([0].concat(h,m)));w.forEach(function(k,x){var R=w[x+1]||l.length,S=l.slice(k,R);if(x===0&&r)return r.call(s,S,w.length);var B,D=s.currToken,F=D[c.FIELDS.START_POS]+w[x],A=K(D[1],D[2]+k,D[3],D[2]+(R-1));if(~h.indexOf(k)){var G={value:S.slice(1),source:A,sourceIndex:F};B=new Yo.default(ee(G,"value"))}else if(~m.indexOf(k)){var X={value:S.slice(1),source:A,sourceIndex:F};B=new $o.default(ee(X,"value"))}else{var V={value:S,source:A,sourceIndex:F};ee(V,"value"),B=new Go.default(V)}s.newNode(B,t),t=null}),this.position++},i.word=function(t){var r=this.nextToken;return r&&this.content(r)==="|"?(this.position++,this.namespace()):this.splitWord(t)},i.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},i.parse=function(t){switch(this.currToken[c.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:t&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},i.expected=function(t,r,s){if(Array.isArray(t)){var a=t.pop();t=t.join(", ")+" or "+a}var l=/^[aeiou]/.test(t[0])?"an":"a";return s?this.error("Expected "+l+" "+t+', found "'+s+'" instead.',{index:r}):this.error("Expected "+l+" "+t+".",{index:r})},i.requiredSpace=function(t){return this.options.lossy?" ":t},i.optionalSpace=function(t){return this.options.lossy?"":t},i.lossySpace=function(t,r){return this.options.lossy?r?" ":"":t},i.parseParenthesisToken=function(t){var r=this.content(t);return t[c.FIELDS.TYPE]===g.space?this.requiredSpace(r):r},i.newNode=function(t,r){return r&&(/^ +$/.test(r)&&(this.options.lossy||(this.spaces=(this.spaces||"")+r),r=!0),t.namespace=r,ee(t,"namespace")),this.spaces&&(t.spaces.before=this.spaces,this.spaces=""),this.current.append(t)},i.content=function(t){return t===void 0&&(t=this.currToken),this.css.slice(t[c.FIELDS.START_POS],t[c.FIELDS.END_POS])},i.locateNextMeaningfulToken=function(t){t===void 0&&(t=this.position+1);for(var r=t;r<this.tokens.length;)if(es[this.tokens[r][c.FIELDS.TYPE]]){r++;continue}else return r;return-1},Zo(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e})();Se.default=rs;qr.exports=Se.default});var Ar=_((_e,Dr)=>{"use strict";_e.__esModule=!0;_e.default=void 0;var is=ns(Br());function ns(e){return e&&e.__esModule?e:{default:e}}var os=(function(){function e(o,t){this.func=o||function(){},this.funcRes=null,this.options=t}var i=e.prototype;return i._shouldUpdateSelector=function(t,r){r===void 0&&(r={});var s=Object.assign({},this.options,r);return s.updateSelector===!1?!1:typeof t!="string"},i._isLossy=function(t){t===void 0&&(t={});var r=Object.assign({},this.options,t);return r.lossless===!1},i._root=function(t,r){r===void 0&&(r={});var s=new is.default(t,this._parseOptions(r));return s.root},i._parseOptions=function(t){return{lossy:this._isLossy(t)}},i._run=function(t,r){var s=this;return r===void 0&&(r={}),new Promise(function(a,l){try{var f=s._root(t,r);Promise.resolve(s.func(f)).then(function(p){var h=void 0;return s._shouldUpdateSelector(t,r)&&(h=f.toString(),t.selector=h),{transform:p,root:f,string:h}}).then(a,l)}catch(p){l(p);return}})},i._runSync=function(t,r){r===void 0&&(r={});var s=this._root(t,r),a=this.func(s);if(a&&typeof a.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var l=void 0;return r.updateSelector&&typeof t!="string"&&(l=s.toString(),t.selector=l),{transform:a,root:s,string:l}},i.ast=function(t,r){return this._run(t,r).then(function(s){return s.root})},i.astSync=function(t,r){return this._runSync(t,r).root},i.transform=function(t,r){return this._run(t,r).then(function(s){return s.transform})},i.transformSync=function(t,r){return this._runSync(t,r).transform},i.process=function(t,r){return this._run(t,r).then(function(s){return s.string||s.root.toString()})},i.processSync=function(t,r){var s=this._runSync(t,r);return s.string||s.root.toString()},e})();_e.default=os;Dr.exports=_e.default});var Lr=_(I=>{"use strict";I.__esModule=!0;I.universal=I.tag=I.string=I.selector=I.root=I.pseudo=I.nesting=I.id=I.comment=I.combinator=I.className=I.attribute=void 0;var ss=C(lt()),as=C($e()),us=C(dt()),ls=C(Ve()),cs=C(Ke()),ps=C(gt()),fs=C(it()),ds=C(We()),hs=C(He()),gs=C(tt()),vs=C(Ze()),ms=C(pt());function C(e){return e&&e.__esModule?e:{default:e}}var ws=function(i){return new ss.default(i)};I.attribute=ws;var Ts=function(i){return new as.default(i)};I.className=Ts;var Ss=function(i){return new us.default(i)};I.combinator=Ss;var _s=function(i){return new ls.default(i)};I.comment=_s;var ys=function(i){return new cs.default(i)};I.id=ys;var bs=function(i){return new ps.default(i)};I.nesting=bs;var ks=function(i){return new fs.default(i)};I.pseudo=ks;var Es=function(i){return new ds.default(i)};I.root=Es;var Os=function(i){return new hs.default(i)};I.selector=Os;var Is=function(i){return new gs.default(i)};I.string=Is;var Ps=function(i){return new vs.default(i)};I.tag=Ps;var qs=function(i){return new ms.default(i)};I.universal=qs});var Rr=_(b=>{"use strict";b.__esModule=!0;b.isNode=Et;b.isPseudoElement=Mr;b.isPseudoClass=Cs;b.isContainer=Ws;b.isNamespace=Us;b.isUniversal=b.isTag=b.isString=b.isSelector=b.isRoot=b.isPseudo=b.isNesting=b.isIdentifier=b.isComment=b.isCombinator=b.isClassName=b.isAttribute=void 0;var q=L(),N,Bs=(N={},N[q.ATTRIBUTE]=!0,N[q.CLASS]=!0,N[q.COMBINATOR]=!0,N[q.COMMENT]=!0,N[q.ID]=!0,N[q.NESTING]=!0,N[q.PSEUDO]=!0,N[q.ROOT]=!0,N[q.SELECTOR]=!0,N[q.STRING]=!0,N[q.TAG]=!0,N[q.UNIVERSAL]=!0,N);function Et(e){return typeof e=="object"&&Bs[e.type]}function W(e,i){return Et(i)&&i.type===e}var xr=W.bind(null,q.ATTRIBUTE);b.isAttribute=xr;var Ds=W.bind(null,q.CLASS);b.isClassName=Ds;var As=W.bind(null,q.COMBINATOR);b.isCombinator=As;var Ls=W.bind(null,q.COMMENT);b.isComment=Ls;var xs=W.bind(null,q.ID);b.isIdentifier=xs;var Fs=W.bind(null,q.NESTING);b.isNesting=Fs;var Ot=W.bind(null,q.PSEUDO);b.isPseudo=Ot;var Ms=W.bind(null,q.ROOT);b.isRoot=Ms;var Rs=W.bind(null,q.SELECTOR);b.isSelector=Rs;var Ns=W.bind(null,q.STRING);b.isString=Ns;var Fr=W.bind(null,q.TAG);b.isTag=Fr;var zs=W.bind(null,q.UNIVERSAL);b.isUniversal=zs;function Mr(e){return Ot(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function Cs(e){return Ot(e)&&!Mr(e)}function Ws(e){return!!(Et(e)&&e.walk)}function Us(e){return xr(e)||Fr(e)}});var Nr=_(U=>{"use strict";U.__esModule=!0;var It=L();Object.keys(It).forEach(function(e){e==="default"||e==="__esModule"||e in U&&U[e]===It[e]||(U[e]=It[e])});var Pt=Lr();Object.keys(Pt).forEach(function(e){e==="default"||e==="__esModule"||e in U&&U[e]===Pt[e]||(U[e]=Pt[e])});var qt=Rr();Object.keys(qt).forEach(function(e){e==="default"||e==="__esModule"||e in U&&U[e]===qt[e]||(U[e]=qt[e])})});var Wr=_((ye,Cr)=>{"use strict";ye.__esModule=!0;ye.default=void 0;var Hs=$s(Ar()),Qs=Ys(Nr());function zr(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return zr=function(){return e},e}function Ys(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var i=zr();if(i&&i.has(e))return i.get(e);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=t?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(o,r,s):o[r]=e[r]}return o.default=e,i&&i.set(e,o),o}function $s(e){return e&&e.__esModule?e:{default:e}}var Bt=function(i){return new Hs.default(i)};Object.assign(Bt,Qs);delete Bt.__esModule;var Gs=Bt;ye.default=Gs;Cr.exports=ye.default});var Qr=_((ha,Hr)=>{var Ur=Wr(),Vs=Ur();function Dt(e){return typeof e=="object"&&e!==null}function be(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let i=e;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(e)===i}function Me(e,...i){if(!i.length)return e;let o=i.shift();if(Dt(e)&&Dt(o))for(let t in o)Array.isArray(o[t])?(e[t]||(e[t]=[]),o[t].forEach((r,s)=>{be(r)&&be(e[t][s])?e[t][s]=Me(e[t][s],r):e[t][s]=r})):be(o[t])?(e[t]||(e[t]={}),Me(e[t],o[t])):e[t]=o[t];return Me(e,...i)}function js(e){return Array.isArray(e)?e:[e]}Hr.exports={isObject:Dt,isPlainObject:be,merge:Me,castArray:js,isUsableColor(e,i){return be(i)&&e!=="gray"&&i[600]},commonTrailingPseudos(e){let i=Vs.astSync(e),o=[];for(let[r,s]of i.nodes.entries())for(let[a,l]of[...s.nodes].reverse().entries()){if(l.type!=="pseudo"||!l.value.startsWith("::"))break;o[a]=o[a]||[],o[a][r]=l}let t=Ur.selector();for(let r of o){if(!r)continue;if(new Set(r.map(a=>a.value)).size>1)break;r.forEach(a=>a.remove()),t.prepend(r[0])}return t.nodes.length?[t.toString(),i.toString()]:[null,e]}}});var Ks=require("tailwindcss/plugin"),Xs=xt(),{commonTrailingPseudos:Js,isObject:Yr,isPlainObject:ga,merge:Zs,castArray:ea}=Qr(),$r={};function At(e,{className:i,modifier:o,prefix:t}){let r=t(`.not-${i}`).slice(1),s=e.startsWith(">")?`${o==="DEFAULT"?`.${i}`:`.${i}-${o}`} `:"",[a,l]=Js(e);return a?`:where(${s}${l}):not(:where([class~="${r}"],[class~="${r}"] *))${a}`:`:where(${s}${e}):not(:where([class~="${r}"],[class~="${r}"] *))`}function ta(e={},{target:i,className:o,modifier:t,prefix:r}){function s(a,l){return i==="legacy"?[a,l]:Array.isArray(l)?[a,l]:Yr(l)?Object.values(l).some(Yr)?[At(a,{className:o,modifier:t,prefix:r}),l,Object.fromEntries(Object.entries(l).map(([p,h])=>s(p,h)))]:[At(a,{className:o,modifier:t,prefix:r}),l]:[a,l]}return Object.fromEntries(Object.entries(Zs({},...Object.keys(e).filter(a=>$r[a]).map(a=>$r[a](e[a])),...ea(e.css||{}))).map(([a,l])=>s(a,l)))}module.exports=Ks.withOptions(({className:e="prose",target:i="modern"}={})=>function({addVariant:o,addComponents:t,theme:r,prefix:s}){let a=r("typography"),l={className:e,prefix:s};for(let[f,...p]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["dl"],["dt"],["dd"],["table"],["thead"],["tr"],["th"],["td"],["img"],["picture"],["video"],["hr"],["lead",'[class~="lead"]']]){p=p.length===0?[f]:p;let h=i==="legacy"?p.map(m=>`& ${m}`):p.join(", ");o(`${e}-${f}`,i==="legacy"?h:`& :is(${At(h,l)})`)}t(Object.keys(a).map(f=>({[f==="DEFAULT"?`.${e}`:`.${e}-${f}`]:ta(a[f],{target:i,className:e,modifier:f,prefix:s})})))},()=>({theme:{typography:Xs}}));
|
package/runtime/release.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "0.
|
|
1
|
+
{"version": "0.6.0", "tag": "v0.6.0", "tailwindcss": "4.3.5", "sha256": "ed423140f138ca1a46e38bd38b4e4f8c3dfad0927f0d3de225a5d389a284b5b3"}
|
|
Binary file
|
package/runtime/tailwind.wasm
CHANGED
|
Binary file
|