@cas-smartdesign/relation 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs/doc.css CHANGED
@@ -1 +1 @@
1
- .markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.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{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.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:#0969da;text-decoration:none}.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{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.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{border-style:none;max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid hsla(210,18%,87%,1);height:.25em;padding:0;margin:24px 0;background-color:#d0d7de;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.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-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:#6e7781;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.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 a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px rgba(175,184,193,.2);border-bottom-color:#afb8c133;border-radius:6px;box-shadow:inset 0 -1px #afb8c133}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#656d76}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#656d76;border-left:.25em solid #d0d7de}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:8px!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.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:#d1242f}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.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:#1f2328;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 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d0d7de}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid hsla(210,18%,87%,1)}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.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{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d0d7de}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.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{display:block;overflow:hidden;clear:both}.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{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#afb8c133;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#656d76;border-top:1px solid #d0d7de}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:#57606a}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#24292f}.markdown-body .pl-ent{color:#116329}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#24292f}.markdown-body .pl-mb{font-weight:700;color:#24292f}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#eaeef2;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#57606a}.markdown-body .pl-sg{color:#8c959f}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body g-emoji{display:inline-block;min-width:1ch;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{width:1em;height:1em}.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:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:8px 16px;margin-bottom:16px;color:inherit;border-left:.25em solid #d0d7de}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1f883d}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}
1
+ .markdown-body{color-scheme:light;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.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{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.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:#0969da;text-decoration:none}.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{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid #d1d9e0b3}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.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{border-style:none;max-width:100%;box-sizing:content-box}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 2.5rem}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid #d1d9e0b3;height:.25em;padding:0;margin:1.5rem 0;background-color:#d1d9e0;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;appearance:button}.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-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:#59636e;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto;font-variant:tabular-nums}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:.25rem;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px #d1d9e0b3;border-bottom-color:#d1d9e0b3;border-radius:6px;box-shadow:inset 0 -1px #d1d9e0b3}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:1.5rem;margin-bottom:1rem;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #d1d9e0b3}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#59636e}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#59636e;border-left:.25em solid #d1d9e0}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;appearance:none}.markdown-body .mr-2{margin-right:.5rem!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.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:#d1242f}.markdown-body .anchor{float:left;padding-right:.25rem;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:1rem}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.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:#1f2328;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 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:1rem}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:1rem;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 1rem;margin-bottom:1rem}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d1d9e0}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid #d1d9e0b3}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.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{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d1d9e0}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.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{display:block;overflow:hidden;clear:both}.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{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#818b981f;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:1rem}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:1rem;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px .5rem 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#59636e;border-top:1px solid #d1d9e0}.markdown-body .footnotes ol{padding-left:1rem}.markdown-body .footnotes ol ul{display:inline-block;padding-left:1rem;margin-top:1rem}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;inset:-.5rem -.5rem -.5rem -1.5rem;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body body:has(:modal){padding-right:var(--dialog-scrollgutter)!important}.markdown-body .pl-c{color:#59636e}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#1f2328}.markdown-body .pl-ent{color:#0550ae}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#1f2328}.markdown-body .pl-mb{font-weight:700;color:#1f2328}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#d1d9e0;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#59636e}.markdown-body .pl-sg{color:#818b98}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),.markdown-body button:focus:not(:focus-visible),.markdown-body summary:focus:not(:focus-visible),.markdown-body a:focus:not(:focus-visible){outline:none;box-shadow:none}.markdown-body [tabindex="0"]:focus:not(:focus-visible),.markdown-body details-dialog:focus:not(:focus-visible){outline:none}.markdown-body g-emoji{display:inline-block;min-width:1ch;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{width:1em;height:1em}.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:.25rem}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body ul:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body ol:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:.5rem 1rem;margin-bottom:1rem;color:inherit;border-left:.25em solid #d1d9e0}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}.markdown-body>*:first-child>.heading-element:first-child{margin-top:0!important}.markdown-body .highlight pre:has(+.zeroclipboard-container){min-height:52px}
package/dist/docs/doc.mjs CHANGED
@@ -1,4 +1,4 @@
1
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();const Rr=`<!-- Load element with all dependencies directly -->
1
+ (function(){const d=document.createElement("link").relList;if(d&&d.supports&&d.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))f(n);new MutationObserver(n=>{for(const u of n)if(u.type==="childList")for(const o of u.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&f(o)}).observe(document,{childList:!0,subtree:!0});function b(n){const u={};return n.integrity&&(u.integrity=n.integrity),n.referrerPolicy&&(u.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?u.credentials="include":n.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function f(n){if(n.ep)return;n.ep=!0;const u=b(n);fetch(n.href,u)}})();const In=`<!-- Load element with all dependencies directly -->
2
2
  <script src="./relation-with-externals.js"><\/script>
3
3
 
4
4
  <sd-relation direction="TARGET_TO_SOURCE">
@@ -8,8 +8,8 @@
8
8
  <div slot="source-cardinality">m</div>
9
9
  <div slot="target-cardinality">n</div>
10
10
  </sd-relation>
11
- `,Nr=`<h3 id="read-only">Read-only</h3>
12
- `,Mr={mainContent:Rr,description:Nr},Tr=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),Pr=`<!-- Load element with all dependencies directly -->
11
+ `,jn=`<h3 id="read-only">Read-only</h3>
12
+ `,Ln={mainContent:In,description:jn},zn=Object.freeze(Object.defineProperty({__proto__:null,default:Ln},Symbol.toStringTag,{value:"Module"})),Bn=`<!-- Load element with all dependencies directly -->
13
13
  <script src="./relation-with-externals.js"><\/script>
14
14
 
15
15
  <sd-relation>
@@ -27,8 +27,8 @@
27
27
  <option>1</option>
28
28
  </select>
29
29
  </sd-relation>
30
- `,Ir=`<h3 id="editable">Editable</h3>
31
- `,jr={mainContent:Pr,description:Ir},Lr=Object.freeze(Object.defineProperty({__proto__:null,default:jr},Symbol.toStringTag,{value:"Module"})),yn=class $e extends HTMLElement{memoizedTemplate(){const e=this.is();if($e.TEMPLATE_CACHE[e])return $e.TEMPLATE_CACHE[e];const t=this.template();return window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,this.is()),$e.TEMPLATE_CACHE[e]=t,t}connectedCallback(){const e=this.memoizedTemplate();window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(document.importNode(e.content,!0)),requestAnimationFrame(()=>this.dispatchEvent(new CustomEvent("ready"))))}whenReady(e){this.shadowRoot?e():this.addEventListener("ready",()=>e())}};yn.TEMPLATE_CACHE={};let $r=yn;const zr=`<style>
30
+ `,Dn=`<h3 id="editable">Editable</h3>
31
+ `,Un={mainContent:Bn,description:Dn},Fn=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),zr=class We extends HTMLElement{memoizedTemplate(){const d=this.is();if(We.TEMPLATE_CACHE[d])return We.TEMPLATE_CACHE[d];const b=this.template();return window.ShadyCSS&&window.ShadyCSS.prepareTemplate(b,this.is()),We.TEMPLATE_CACHE[d]=b,b}connectedCallback(){const d=this.memoizedTemplate();window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(document.importNode(d.content,!0)),requestAnimationFrame(()=>this.dispatchEvent(new CustomEvent("ready"))))}whenReady(d){this.shadowRoot?d():this.addEventListener("ready",()=>d())}};zr.TEMPLATE_CACHE={};let $n=zr;const qn=`<style>
32
32
  :host {
33
33
  display: flex;
34
34
  flex-direction: row;
@@ -144,35 +144,38 @@
144
144
  <div id="target-wrapper">
145
145
  <slot name="target"></slot>
146
146
  </div>
147
- `,Ze=class Ze extends $r{is(){return Ze.ID}template(){const e=document.createElement("template");return e.innerHTML=zr,e}get direction(){return this.getAttribute("direction")}set direction(e){this.setAttribute("direction",e)}};Ze.ID="sd-relation";let fe=Ze;customElements.get(fe.ID)||customElements.define(fe.ID,fe);function wn(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Br(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var At={exports:{}},_=String,xn=function(){return{isColorSupported:!1,reset:_,bold:_,dim:_,italic:_,underline:_,inverse:_,hidden:_,strikethrough:_,black:_,red:_,green:_,yellow:_,blue:_,magenta:_,cyan:_,white:_,gray:_,bgBlack:_,bgRed:_,bgGreen:_,bgYellow:_,bgBlue:_,bgMagenta:_,bgCyan:_,bgWhite:_}};At.exports=xn();At.exports.createColors=xn;var Dr=At.exports;const Ur={},Fr=Object.freeze(Object.defineProperty({__proto__:null,default:Ur},Symbol.toStringTag,{value:"Module"})),$=Br(Fr);let Zt=Dr,Kt=$,ft=class vn extends Error{constructor(e,t,n,i,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),typeof t<"u"&&typeof n<"u"&&(typeof t=="number"?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,vn)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Zt.isColorSupported),Kt&&e&&(t=Kt(t));let n=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),s=String(o).length,l,a;if(e){let{bold:c,gray:h,red:y}=Zt.createColors(!0);l=m=>c(y(m)),a=m=>h(m)}else l=a=c=>c;return n.slice(i,o).map((c,h)=>{let y=i+1+h,m=" "+(" "+y).slice(-s)+" | ";if(y===this.line){let A=a(m.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(m)+c+`
148
- `+A+l("^")}return" "+a(m)+c}).join(`
149
- `)}toString(){let e=this.showSourceCode();return e&&(e=`
147
+ `,Ze=class Ze extends $n{is(){return Ze.ID}template(){const d=document.createElement("template");return d.innerHTML=qn,d}get direction(){return this.getAttribute("direction")}set direction(d){this.setAttribute("direction",d)}};Ze.ID="sd-relation";let Te=Ze;customElements.get(Te.ID)||customElements.define(Te.ID,Te);function Br(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function Hn(a){if(Object.prototype.hasOwnProperty.call(a,"__esModule"))return a;var d=a.default;if(typeof d=="function"){var b=function f(){var n=!1;try{n=this instanceof f}catch{}return n?Reflect.construct(d,arguments,this.constructor):d.apply(this,arguments)};b.prototype=d.prototype}else b={};return Object.defineProperty(b,"__esModule",{value:!0}),Object.keys(a).forEach(function(f){var n=Object.getOwnPropertyDescriptor(a,f);Object.defineProperty(b,f,n.get?n:{enumerable:!0,get:function(){return a[f]}})}),b}var $e={exports:{}},ar;function Wn(){if(ar)return $e.exports;ar=1;var a=String,d=function(){return{isColorSupported:!1,reset:a,bold:a,dim:a,italic:a,underline:a,inverse:a,hidden:a,strikethrough:a,black:a,red:a,green:a,yellow:a,blue:a,magenta:a,cyan:a,white:a,gray:a,bgBlack:a,bgRed:a,bgGreen:a,bgYellow:a,bgBlue:a,bgMagenta:a,bgCyan:a,bgWhite:a,blackBright:a,redBright:a,greenBright:a,yellowBright:a,blueBright:a,magentaBright:a,cyanBright:a,whiteBright:a,bgBlackBright:a,bgRedBright:a,bgGreenBright:a,bgYellowBright:a,bgBlueBright:a,bgMagentaBright:a,bgCyanBright:a,bgWhiteBright:a}};return $e.exports=d(),$e.exports.createColors=d,$e.exports}const Gn={},Zn=Object.freeze(Object.defineProperty({__proto__:null,default:Gn},Symbol.toStringTag,{value:"Module"})),le=Hn(Zn);var ut,lr;function Bt(){if(lr)return ut;lr=1;let a=Wn(),d=le;class b extends Error{constructor(n,u,o,g,v,l){super(n),this.name="CssSyntaxError",this.reason=n,v&&(this.file=v),g&&(this.source=g),l&&(this.plugin=l),typeof u<"u"&&typeof o<"u"&&(typeof u=="number"?(this.line=u,this.column=o):(this.line=u.line,this.column=u.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,b)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(n){if(!this.source)return"";let u=this.source;n==null&&(n=a.isColorSupported);let o=r=>r,g=r=>r,v=r=>r;if(n){let{bold:r,gray:c,red:h}=a.createColors(!0);g=p=>r(h(p)),o=p=>c(p),d&&(v=p=>d(p))}let l=u.split(/\r?\n/),e=Math.max(this.line-3,0),i=Math.min(this.line+2,l.length),t=String(i).length;return l.slice(e,i).map((r,c)=>{let h=e+1+c,p=" "+(" "+h).slice(-t)+" | ";if(h===this.line){if(r.length>160){let S=20,w=Math.max(0,this.column-S),y=Math.max(this.column+S,this.endColumn+S),m=r.slice(w,y),O=o(p.replace(/\d/g," "))+r.slice(0,Math.min(this.column-1,S-1)).replace(/[^\t]/g," ");return g(">")+o(p)+v(m)+`
148
+ `+O+g("^")}let E=o(p.replace(/\d/g," "))+r.slice(0,this.column-1).replace(/[^\t]/g," ");return g(">")+o(p)+v(r)+`
149
+ `+E+g("^")}return" "+o(p)+v(r)}).join(`
150
+ `)}toString(){let n=this.showSourceCode();return n&&(n=`
150
151
 
151
- `+e+`
152
- `),this.name+": "+this.message+e}};var kt=ft;ft.default=ft;var xe={};xe.isClean=Symbol("isClean");xe.my=Symbol("my");const Jt={after:`
152
+ `+n+`
153
+ `),this.name+": "+this.message+n}}return ut=b,b.default=b,ut}var ht,cr;function Dr(){if(cr)return ht;cr=1;const a={after:`
153
154
  `,beforeClose:`
154
155
  `,beforeComment:`
155
156
  `,beforeDecl:`
156
157
  `,beforeOpen:" ",beforeRule:`
157
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Hr(r){return r[0].toUpperCase()+r.slice(1)}let dt=class{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let o=(e.raws.between||"")+(t?";":"");this.builder(n+i+o,e)}}beforeAfter(e,t){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):t==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,o=0;for(;i&&i.type!=="root";)o+=1,i=i.parent;if(n.includes(`
158
- `)){let s=this.raw(e,null,"indent");if(s.length)for(let l=0;l<o;l++)n+=s}return n}block(e,t){let n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let o=e.nodes[i],s=this.raw(o,"before");s&&this.builder(s),this.stringify(o,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),t&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,t,n){let i;if(n||(n=t),t&&(i=e.raws[t],typeof i<"u"))return i;let o=e.parent;if(n==="before"&&(!o||o.type==="root"&&o.first===e||o&&o.type==="document"))return"";if(!o)return Jt[n];let s=e.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[n]<"u")return s.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let l="raw"+Hr(n);this[l]?i=this[l](s,e):s.walk(a=>{if(i=a.raws[t],typeof i<"u")return!1})}return typeof i>"u"&&(i=Jt[n]),s.rawCache[n]=i,i}rawBeforeClose(e){let t;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return t=n.raws.after,t.includes(`
159
- `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
160
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
161
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk(n=>{if(n.type!=="decl"&&(t=n.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return t=n.raws.before,t.includes(`
162
- `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return t=n.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(t=n.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let o=n.raws.before.split(`
163
- `);return t=o[o.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(t=n.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let n=e[t],i=e.raws[t];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var En=dt;dt.default=dt;let Wr=En;function pt(r,e){new Wr(e).stringify(r)}var Ke=pt;pt.default=pt;let{isClean:Ce,my:Gr}=xe,Zr=kt,Kr=En,Jr=Ke;function gt(r,e){let t=new r.constructor;for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n)||n==="proxyCache")continue;let i=r[n],o=typeof i;n==="parent"&&o==="object"?e&&(t[n]=e):n==="source"?t[n]=i:Array.isArray(i)?t[n]=i.map(s=>gt(s,t)):(o==="object"&&i!==null&&(i=gt(i)),t[n]=i)}return t}let mt=class{constructor(e={}){this.raws={},this[Ce]=!1,this[Gr]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let n of e[t])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=gt(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new Zr(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,n){return e[t]===n||(e[t]=n,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Ce]){this[Ce]=!1;let e=this;for(;e=e.parent;)e[Ce]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){t=this.toString();let i=t.indexOf(e.word);i!==-1&&(n=this.positionInside(i,t))}return n}positionInside(e,t){let n=t||this.toString(),i=this.source.start.column,o=this.source.start.line;for(let s=0;s<e;s++)n[s]===`
164
- `?(i=1,o+=1):i+=1;return{column:i,line:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.toString(),o=i.indexOf(e.word);o!==-1&&(t=this.positionInside(o,i),n=this.positionInside(o+e.word.length,i))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return new Kr().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let n={},i=t==null;t=t||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let l=this[s];if(Array.isArray(l))n[s]=l.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,t):a);else if(typeof l=="object"&&l.toJSON)n[s]=l.toJSON(null,t);else if(s==="source"){let a=t.get(l.input);a==null&&(a=o,t.set(l.input,o),o++),n[s]={end:l.end,inputId:a,start:l.start}}else n[s]=l}return i&&(n.inputs=[...t.keys()].map(s=>s.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Jr){e.stringify&&(e=e.stringify);let t="";return e(this,n=>{t+=n}),t}warn(e,t,n){let i={node:this};for(let o in n)i[o]=n[o];return e.warn(t,i)}get proxyOf(){return this}};var Je=mt;mt.default=mt;let Vr=Je,bt=class extends Vr{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var Ve=bt;bt.default=bt;let qr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Xr=(r,e=21)=>(t=e)=>{let n="",i=t;for(;i--;)n+=r[Math.random()*r.length|0];return n},Qr=(r=21)=>{let e="",t=r;for(;t--;)e+=qr[Math.random()*64|0];return e};var Yr={nanoid:Qr,customAlphabet:Xr};let{SourceMapConsumer:Vt,SourceMapGenerator:qt}=$,{existsSync:ei,readFileSync:ti}=$,{dirname:lt,join:ni}=$;function ri(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}let yt=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,i=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=lt(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Vt(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(i.test(e)||o.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||n.test(e))return ri(e.substr(RegExp.lastMatch.length));let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=lt(e),ei(e))return this.mapFile=e,ti(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let n=t(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(t instanceof Vt)return qt.fromSourceMap(t).toString();if(t instanceof qt)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=ni(lt(e),n)),this.loadFile(n)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Sn=yt;yt.default=yt;let{SourceMapConsumer:ii,SourceMapGenerator:si}=$,{fileURLToPath:Xt,pathToFileURL:Ae}=$,{isAbsolute:wt,resolve:xt}=$,{nanoid:oi}=Yr,at=$,Qt=kt,li=Sn,ct=Symbol("fromOffsetCache"),ai=!!(ii&&si),Yt=!!(xt&&wt),De=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Yt||/^\w+:\/\//.test(t.from)||wt(t.from)?this.file=t.from:this.file=xt(t.from)),Yt&&ai){let n=new li(this.css,t);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+oi(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,i={}){let o,s,l;if(t&&typeof t=="object"){let c=t,h=n;if(typeof c.offset=="number"){let y=this.fromOffset(c.offset);t=y.line,n=y.col}else t=c.line,n=c.column;if(typeof h.offset=="number"){let y=this.fromOffset(h.offset);s=y.line,l=y.col}else s=h.line,l=h.column}else if(!n){let c=this.fromOffset(t);t=c.line,n=c.col}let a=this.origin(t,n,s,l);return a?o=new Qt(e,a.endLine===void 0?a.line:{column:a.column,line:a.line},a.endLine===void 0?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,i.plugin):o=new Qt(e,s===void 0?t:{column:n,line:t},s===void 0?n:{column:l,line:s},this.css,this.file,i.plugin),o.input={column:n,endColumn:l,endLine:s,line:t,source:this.css},this.file&&(Ae&&(o.input.url=Ae(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,n;if(this[ct])n=this[ct];else{let o=this.css.split(`
165
- `);n=new Array(o.length);let s=0;for(let l=0,a=o.length;l<a;l++)n[l]=s,s+=o[l].length+1;this[ct]=n}t=n[n.length-1];let i=0;if(e>=t)i=n.length-1;else{let o=n.length-2,s;for(;i<o;)if(s=i+(o-i>>1),e<n[s])o=s-1;else if(e>=n[s+1])i=s+1;else{i=s;break}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:xt(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;let l;typeof n=="number"&&(l=o.originalPositionFor({column:i,line:n}));let a;wt(s.source)?a=Ae(s.source):a=new URL(s.source,this.map.consumer().sourceRoot||Ae(this.map.mapFile));let c={column:s.column,endColumn:l&&l.column,endLine:l&&l.line,line:s.line,url:a.toString()};if(a.protocol==="file:")if(Xt)c.file=Xt(a);else throw new Error("file: protocol is not available in this PostCSS build");let h=o.sourceContentFor(s.source);return h&&(c.source=h),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var qe=De;De.default=De;at&&at.registerInput&&at.registerInput(De);let{SourceMapConsumer:On,SourceMapGenerator:ze}=$,{dirname:Be,relative:_n,resolve:Cn,sep:An}=$,{pathToFileURL:en}=$,ci=qe,ui=!!(On&&ze),hi=!!(Be&&Cn&&_n&&An),fi=class{constructor(e,t,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
158
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function d(f){return f[0].toUpperCase()+f.slice(1)}class b{constructor(n){this.builder=n}atrule(n,u){let o="@"+n.name,g=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName<"u"?o+=n.raws.afterName:g&&(o+=" "),n.nodes)this.block(n,o+g);else{let v=(n.raws.between||"")+(u?";":"");this.builder(o+g+v,n)}}beforeAfter(n,u){let o;n.type==="decl"?o=this.raw(n,null,"beforeDecl"):n.type==="comment"?o=this.raw(n,null,"beforeComment"):u==="before"?o=this.raw(n,null,"beforeRule"):o=this.raw(n,null,"beforeClose");let g=n.parent,v=0;for(;g&&g.type!=="root";)v+=1,g=g.parent;if(o.includes(`
159
+ `)){let l=this.raw(n,null,"indent");if(l.length)for(let e=0;e<v;e++)o+=l}return o}block(n,u){let o=this.raw(n,"between","beforeOpen");this.builder(u+o+"{",n,"start");let g;n.nodes&&n.nodes.length?(this.body(n),g=this.raw(n,"after")):g=this.raw(n,"after","emptyBody"),g&&this.builder(g),this.builder("}",n,"end")}body(n){let u=n.nodes.length-1;for(;u>0&&n.nodes[u].type==="comment";)u-=1;let o=this.raw(n,"semicolon");for(let g=0;g<n.nodes.length;g++){let v=n.nodes[g],l=this.raw(v,"before");l&&this.builder(l),this.stringify(v,u!==g||o)}}comment(n){let u=this.raw(n,"left","commentLeft"),o=this.raw(n,"right","commentRight");this.builder("/*"+u+n.text+o+"*/",n)}decl(n,u){let o=this.raw(n,"between","colon"),g=n.prop+o+this.rawValue(n,"value");n.important&&(g+=n.raws.important||" !important"),u&&(g+=";"),this.builder(g,n)}document(n){this.body(n)}raw(n,u,o){let g;if(o||(o=u),u&&(g=n.raws[u],typeof g<"u"))return g;let v=n.parent;if(o==="before"&&(!v||v.type==="root"&&v.first===n||v&&v.type==="document"))return"";if(!v)return a[o];let l=n.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[o]<"u")return l.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(n,o);{let e="raw"+d(o);this[e]?g=this[e](l,n):l.walk(i=>{if(g=i.raws[u],typeof g<"u")return!1})}return typeof g>"u"&&(g=a[o]),l.rawCache[o]=g,g}rawBeforeClose(n){let u;return n.walk(o=>{if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return u=o.raws.after,u.includes(`
160
+ `)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawBeforeComment(n,u){let o;return n.walkComments(g=>{if(typeof g.raws.before<"u")return o=g.raws.before,o.includes(`
161
+ `)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(u,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeDecl(n,u){let o;return n.walkDecls(g=>{if(typeof g.raws.before<"u")return o=g.raws.before,o.includes(`
162
+ `)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(u,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeOpen(n){let u;return n.walk(o=>{if(o.type!=="decl"&&(u=o.raws.between,typeof u<"u"))return!1}),u}rawBeforeRule(n){let u;return n.walk(o=>{if(o.nodes&&(o.parent!==n||n.first!==o)&&typeof o.raws.before<"u")return u=o.raws.before,u.includes(`
163
+ `)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawColon(n){let u;return n.walkDecls(o=>{if(typeof o.raws.between<"u")return u=o.raws.between.replace(/[^\s:]/g,""),!1}),u}rawEmptyBody(n){let u;return n.walk(o=>{if(o.nodes&&o.nodes.length===0&&(u=o.raws.after,typeof u<"u"))return!1}),u}rawIndent(n){if(n.raws.indent)return n.raws.indent;let u;return n.walk(o=>{let g=o.parent;if(g&&g!==n&&g.parent&&g.parent===n&&typeof o.raws.before<"u"){let v=o.raws.before.split(`
164
+ `);return u=v[v.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(n){let u;return n.walk(o=>{if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(u=o.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(n,u){let o=n[u],g=n.raws[u];return g&&g.value===o?g.raw:o}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after)}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")}stringify(n,u){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,u)}}return ht=b,b.default=b,ht}var ft,ur;function Je(){if(ur)return ft;ur=1;let a=Dr();function d(b,f){new a(f).stringify(b)}return ft=d,d.default=d,ft}var qe={},hr;function Dt(){return hr||(hr=1,qe.isClean=Symbol("isClean"),qe.my=Symbol("my")),qe}var dt,fr;function Ke(){if(fr)return dt;fr=1;let a=Bt(),d=Dr(),b=Je(),{isClean:f,my:n}=Dt();function u(v,l){let e=new v.constructor;for(let i in v){if(!Object.prototype.hasOwnProperty.call(v,i)||i==="proxyCache")continue;let t=v[i],r=typeof t;i==="parent"&&r==="object"?l&&(e[i]=l):i==="source"?e[i]=t:Array.isArray(t)?e[i]=t.map(c=>u(c,e)):(r==="object"&&t!==null&&(t=u(t)),e[i]=t)}return e}function o(v,l){if(l&&typeof l.offset<"u")return l.offset;let e=1,i=1,t=0;for(let r=0;r<v.length;r++){if(i===l.line&&e===l.column){t=r;break}v[r]===`
165
+ `?(e=1,i+=1):e+=1}return t}class g{get proxyOf(){return this}constructor(l={}){this.raws={},this[f]=!1,this[n]=!0;for(let e in l)if(e==="nodes"){this.nodes=[];for(let i of l[e])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[e]=l[e]}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let e=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)}return l}after(l){return this.parent.insertAfter(this,l),this}assign(l={}){for(let e in l)this[e]=l[e];return this}before(l){return this.parent.insertBefore(this,l),this}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}clone(l={}){let e=u(this);for(let i in l)e[i]=l[i];return e}cloneAfter(l={}){let e=this.clone(l);return this.parent.insertAfter(this,e),e}cloneBefore(l={}){let e=this.clone(l);return this.parent.insertBefore(this,e),e}error(l,e={}){if(this.source){let{end:i,start:t}=this.rangeBy(e);return this.source.input.error(l,{column:t.column,line:t.line},{column:i.column,line:i.line},e)}return new a(l)}getProxyProcessor(){return{get(l,e){return e==="proxyOf"?l:e==="root"?()=>l.root().toProxy():l[e]},set(l,e,i){return l[e]===i||(l[e]=i,(e==="prop"||e==="value"||e==="name"||e==="params"||e==="important"||e==="text")&&l.markDirty()),!0}}}markClean(){this[f]=!0}markDirty(){if(this[f]){this[f]=!1;let l=this;for(;l=l.parent;)l[f]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l={}){let e=this.source.start;if(l.index)e=this.positionInside(l.index);else if(l.word){let i="document"in this.source.input?this.source.input.document:this.source.input.css,r=i.slice(o(i,this.source.start),o(i,this.source.end)).indexOf(l.word);r!==-1&&(e=this.positionInside(r))}return e}positionInside(l){let e=this.source.start.column,i=this.source.start.line,t="document"in this.source.input?this.source.input.document:this.source.input.css,r=o(t,this.source.start),c=r+l;for(let h=r;h<c;h++)t[h]===`
166
+ `?(e=1,i+=1):e+=1;return{column:e,line:i,offset:c}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l={}){let e="document"in this.source.input?this.source.input.document:this.source.input.css,i={column:this.source.start.column,line:this.source.start.line,offset:o(e,this.source.start)},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:o(e,this.source.end)+1}:{column:i.column+1,line:i.line,offset:i.offset+1};if(l.word){let c=e.slice(o(e,this.source.start),o(e,this.source.end)).indexOf(l.word);c!==-1&&(i=this.positionInside(c),t=this.positionInside(c+l.word.length))}else l.start?i={column:l.start.column,line:l.start.line,offset:o(e,l.start)}:l.index&&(i=this.positionInside(l.index)),l.end?t={column:l.end.column,line:l.end.line,offset:o(e,l.end)}:typeof l.endIndex=="number"?t=this.positionInside(l.endIndex):l.index&&(t=this.positionInside(l.index+1));return(t.line<i.line||t.line===i.line&&t.column<=i.column)&&(t={column:i.column+1,line:i.line,offset:i.offset+1}),{end:t,start:i}}raw(l,e){return new d().raw(this,l,e)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...l){if(this.parent){let e=this,i=!1;for(let t of l)t===this?i=!0:i?(this.parent.insertAfter(e,t),e=t):this.parent.insertBefore(e,t);i||this.remove()}return this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}toJSON(l,e){let i={},t=e==null;e=e||new Map;let r=0;for(let c in this){if(!Object.prototype.hasOwnProperty.call(this,c)||c==="parent"||c==="proxyCache")continue;let h=this[c];if(Array.isArray(h))i[c]=h.map(p=>typeof p=="object"&&p.toJSON?p.toJSON(null,e):p);else if(typeof h=="object"&&h.toJSON)i[c]=h.toJSON(null,e);else if(c==="source"){if(h==null)continue;let p=e.get(h.input);p==null&&(p=r,e.set(h.input,r),r++),i[c]={end:h.end,inputId:p,start:h.start}}else i[c]=h}return t&&(i.inputs=[...e.keys()].map(c=>c.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=b){l.stringify&&(l=l.stringify);let e="";return l(this,i=>{e+=i}),e}warn(l,e,i={}){let t={node:this};for(let r in i)t[r]=i[r];return l.warn(e,t)}}return dt=g,g.default=g,dt}var pt,dr;function Ve(){if(dr)return pt;dr=1;let a=Ke();class d extends a{constructor(f){super(f),this.type="comment"}}return pt=d,d.default=d,pt}var gt,pr;function Xe(){if(pr)return gt;pr=1;let a=Ke();class d extends a{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(f){f&&typeof f.value<"u"&&typeof f.value!="string"&&(f={...f,value:String(f.value)}),super(f),this.type="decl"}}return gt=d,d.default=d,gt}var mt,gr;function ve(){if(gr)return mt;gr=1;let a=Ve(),d=Xe(),b=Ke(),{isClean:f,my:n}=Dt(),u,o,g,v;function l(t){return t.map(r=>(r.nodes&&(r.nodes=l(r.nodes)),delete r.source,r))}function e(t){if(t[f]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}class i extends b{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...r){for(let c of r){let h=this.normalize(c,this.last);for(let p of h)this.proxyOf.nodes.push(p)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let c of this.nodes)c.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let c=this.getIterator(),h,p;for(;this.indexes[c]<this.proxyOf.nodes.length&&(h=this.indexes[c],p=r(this.proxyOf.nodes[h],h),p!==!1);)this.indexes[c]+=1;return delete this.indexes[c],p}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,c){return c==="proxyOf"?r:r[c]?c==="each"||typeof c=="string"&&c.startsWith("walk")?(...h)=>r[c](...h.map(p=>typeof p=="function"?(E,S)=>p(E.toProxy(),S):p)):c==="every"||c==="some"?h=>r[c]((p,...E)=>h(p.toProxy(),...E)):c==="root"?()=>r.root().toProxy():c==="nodes"?r.nodes.map(h=>h.toProxy()):c==="first"||c==="last"?r[c].toProxy():r[c]:r[c]},set(r,c,h){return r[c]===h||(r[c]=h,(c==="name"||c==="params"||c==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,c){let h=this.index(r),p=this.normalize(c,this.proxyOf.nodes[h]).reverse();h=this.index(r);for(let S of p)this.proxyOf.nodes.splice(h+1,0,S);let E;for(let S in this.indexes)E=this.indexes[S],h<E&&(this.indexes[S]=E+p.length);return this.markDirty(),this}insertBefore(r,c){let h=this.index(r),p=h===0?"prepend":!1,E=this.normalize(c,this.proxyOf.nodes[h],p).reverse();h=this.index(r);for(let w of E)this.proxyOf.nodes.splice(h,0,w);let S;for(let w in this.indexes)S=this.indexes[w],h<=S&&(this.indexes[w]=S+E.length);return this.markDirty(),this}normalize(r,c){if(typeof r=="string")r=l(o(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let p of r)p.parent&&p.parent.removeChild(p,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let p of r)p.parent&&p.parent.removeChild(p,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new d(r)]}else if(r.selector||r.selectors)r=[new v(r)];else if(r.name)r=[new u(r)];else if(r.text)r=[new a(r)];else throw new Error("Unknown node type in node creation");return r.map(p=>(p[n]||i.rebuild(p),p=p.proxyOf,p.parent&&p.parent.removeChild(p),p[f]&&e(p),p.raws||(p.raws={}),typeof p.raws.before>"u"&&c&&typeof c.raws.before<"u"&&(p.raws.before=c.raws.before.replace(/\S/g,"")),p.parent=this.proxyOf,p))}prepend(...r){r=r.reverse();for(let c of r){let h=this.normalize(c,this.first,"prepend").reverse();for(let p of h)this.proxyOf.nodes.unshift(p);for(let p in this.indexes)this.indexes[p]=this.indexes[p]+h.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let c;for(let h in this.indexes)c=this.indexes[h],c>=r&&(this.indexes[h]=c-1);return this.markDirty(),this}replaceValues(r,c,h){return h||(h=c,c={}),this.walkDecls(p=>{c.props&&!c.props.includes(p.prop)||c.fast&&!p.value.includes(c.fast)||(p.value=p.value.replace(r,h))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((c,h)=>{let p;try{p=r(c,h)}catch(E){throw c.addToError(E)}return p!==!1&&c.walk&&(p=c.walk(r)),p})}walkAtRules(r,c){return c?r instanceof RegExp?this.walk((h,p)=>{if(h.type==="atrule"&&r.test(h.name))return c(h,p)}):this.walk((h,p)=>{if(h.type==="atrule"&&h.name===r)return c(h,p)}):(c=r,this.walk((h,p)=>{if(h.type==="atrule")return c(h,p)}))}walkComments(r){return this.walk((c,h)=>{if(c.type==="comment")return r(c,h)})}walkDecls(r,c){return c?r instanceof RegExp?this.walk((h,p)=>{if(h.type==="decl"&&r.test(h.prop))return c(h,p)}):this.walk((h,p)=>{if(h.type==="decl"&&h.prop===r)return c(h,p)}):(c=r,this.walk((h,p)=>{if(h.type==="decl")return c(h,p)}))}walkRules(r,c){return c?r instanceof RegExp?this.walk((h,p)=>{if(h.type==="rule"&&r.test(h.selector))return c(h,p)}):this.walk((h,p)=>{if(h.type==="rule"&&h.selector===r)return c(h,p)}):(c=r,this.walk((h,p)=>{if(h.type==="rule")return c(h,p)}))}}return i.registerParse=t=>{o=t},i.registerRule=t=>{v=t},i.registerAtRule=t=>{u=t},i.registerRoot=t=>{g=t},mt=i,i.default=i,i.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,u.prototype):t.type==="rule"?Object.setPrototypeOf(t,v.prototype):t.type==="decl"?Object.setPrototypeOf(t,d.prototype):t.type==="comment"?Object.setPrototypeOf(t,a.prototype):t.type==="root"&&Object.setPrototypeOf(t,g.prototype),t[n]=!0,t.nodes&&t.nodes.forEach(r=>{i.rebuild(r)})},mt}var bt,mr;function Ut(){if(mr)return bt;mr=1;let a=ve();class d extends a{constructor(f){super(f),this.type="atrule"}append(...f){return this.proxyOf.nodes||(this.nodes=[]),super.append(...f)}prepend(...f){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...f)}}return bt=d,d.default=d,a.registerAtRule(d),bt}var yt,br;function Ft(){if(br)return yt;br=1;let a=ve(),d,b;class f extends a{constructor(u){super({type:"document",...u}),this.nodes||(this.nodes=[])}toResult(u={}){return new d(new b,this,u).stringify()}}return f.registerLazyResult=n=>{d=n},f.registerProcessor=n=>{b=n},yt=f,f.default=f,yt}var wt,yr;function Jn(){if(yr)return wt;yr=1;let a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return wt={nanoid:(f=21)=>{let n="",u=f|0;for(;u--;)n+=a[Math.random()*64|0];return n},customAlphabet:(f,n=21)=>(u=n)=>{let o="",g=u|0;for(;g--;)o+=f[Math.random()*f.length|0];return o}},wt}var xt,wr;function Ur(){if(wr)return xt;wr=1;let{existsSync:a,readFileSync:d}=le,{dirname:b,join:f}=le,{SourceMapConsumer:n,SourceMapGenerator:u}=le;function o(v){return Buffer?Buffer.from(v,"base64").toString():window.atob(v)}class g{constructor(l,e){if(e.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let i=e.map?e.map.prev:void 0,t=this.loadMap(e.from,i);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=b(this.mapFile)),t&&(this.text=t)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(l){let e=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,t=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/,c=l.match(t)||l.match(r);if(c)return decodeURIComponent(l.substr(c[0].length));let h=l.match(e)||l.match(i);if(h)return o(l.substr(h[0].length));let p=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+p)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let e=l.match(/\/\*\s*# sourceMappingURL=/g);if(!e)return;let i=l.lastIndexOf(e.pop()),t=l.indexOf("*/",i);i>-1&&t>-1&&(this.annotation=this.getAnnotationURL(l.substring(i,t)))}loadFile(l){if(this.root=b(l),a(l))return this.mapFile=l,d(l,"utf-8").toString().trim()}loadMap(l,e){if(e===!1)return!1;if(e){if(typeof e=="string")return e;if(typeof e=="function"){let i=e(l);if(i){let t=this.loadFile(i);if(!t)throw new Error("Unable to load previous source map: "+i.toString());return t}}else{if(e instanceof n)return u.fromSourceMap(e).toString();if(e instanceof u)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return l&&(i=f(b(l),i)),this.loadFile(i)}}}startWith(l,e){return l?l.substr(0,e.length)===e:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return xt=g,g.default=g,xt}var vt,xr;function Qe(){if(xr)return vt;xr=1;let{nanoid:a}=Jn(),{isAbsolute:d,resolve:b}=le,{SourceMapConsumer:f,SourceMapGenerator:n}=le,{fileURLToPath:u,pathToFileURL:o}=le,g=Bt(),v=Ur(),l=le,e=Symbol("lineToIndexCache"),i=!!(f&&n),t=!!(b&&d);function r(h){if(h[e])return h[e];let p=h.css.split(`
167
+ `),E=new Array(p.length),S=0;for(let w=0,y=p.length;w<y;w++)E[w]=S,S+=p[w].length+1;return h[e]=E,E}class c{get from(){return this.file||this.id}constructor(p,E={}){if(p===null||typeof p>"u"||typeof p=="object"&&!p.toString)throw new Error(`PostCSS received ${p} instead of CSS string`);if(this.css=p.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,E.document&&(this.document=E.document.toString()),E.from&&(!t||/^\w+:\/\//.test(E.from)||d(E.from)?this.file=E.from:this.file=b(E.from)),t&&i){let S=new v(this.css,E);if(S.text){this.map=S;let w=S.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+a(6)+">"),this.map&&(this.map.file=this.from)}error(p,E,S,w={}){let y,m,O,A,j;if(E&&typeof E=="object"){let P=E,K=S;if(typeof P.offset=="number"){A=P.offset;let q=this.fromOffset(A);E=q.line,S=q.col}else E=P.line,S=P.column,A=this.fromLineAndColumn(E,S);if(typeof K.offset=="number"){O=K.offset;let q=this.fromOffset(O);m=q.line,y=q.col}else m=K.line,y=K.column,O=this.fromLineAndColumn(K.line,K.column)}else if(S)A=this.fromLineAndColumn(E,S);else{A=E;let P=this.fromOffset(A);E=P.line,S=P.col}let U=this.origin(E,S,m,y);return U?j=new g(p,U.endLine===void 0?U.line:{column:U.column,line:U.line},U.endLine===void 0?U.column:{column:U.endColumn,line:U.endLine},U.source,U.file,w.plugin):j=new g(p,m===void 0?E:{column:S,line:E},m===void 0?S:{column:y,line:m},this.css,this.file,w.plugin),j.input={column:S,endColumn:y,endLine:m,endOffset:O,line:E,offset:A,source:this.css},this.file&&(o&&(j.input.url=o(this.file).toString()),j.input.file=this.file),j}fromLineAndColumn(p,E){return r(this)[p-1]+E-1}fromOffset(p){let E=r(this),S=E[E.length-1],w=0;if(p>=S)w=E.length-1;else{let y=E.length-2,m;for(;w<y;)if(m=w+(y-w>>1),p<E[m])y=m-1;else if(p>=E[m+1])w=m+1;else{w=m;break}}return{col:p-E[w]+1,line:w+1}}mapResolve(p){return/^\w+:\/\//.test(p)?p:b(this.map.consumer().sourceRoot||this.map.root||".",p)}origin(p,E,S,w){if(!this.map)return!1;let y=this.map.consumer(),m=y.originalPositionFor({column:E,line:p});if(!m.source)return!1;let O;typeof S=="number"&&(O=y.originalPositionFor({column:w,line:S}));let A;d(m.source)?A=o(m.source):A=new URL(m.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let j={column:m.column,endColumn:O&&O.column,endLine:O&&O.line,line:m.line,url:A.toString()};if(A.protocol==="file:")if(u)j.file=u(A);else throw new Error("file: protocol is not available in this PostCSS build");let U=y.sourceContentFor(m.source);return U&&(j.source=U),j}toJSON(){let p={};for(let E of["hasBOM","css","file","id"])this[E]!=null&&(p[E]=this[E]);return this.map&&(p.map={...this.map},p.map.consumerCache&&(p.map.consumerCache=void 0)),p}}return vt=c,c.default=c,l&&l.registerInput&&l.registerInput(c),vt}var Et,vr;function Ie(){if(vr)return Et;vr=1;let a=ve(),d,b;class f extends a{constructor(u){super(u),this.type="root",this.nodes||(this.nodes=[])}normalize(u,o,g){let v=super.normalize(u);if(o){if(g==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let l of v)l.raws.before=o.raws.before}return v}removeChild(u,o){let g=this.index(u);return!o&&g===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[g].raws.before),super.removeChild(u)}toResult(u={}){return new d(new b,this,u).stringify()}}return f.registerLazyResult=n=>{d=n},f.registerProcessor=n=>{b=n},Et=f,f.default=f,a.registerRoot(f),Et}var St,Er;function Fr(){if(Er)return St;Er=1;let a={comma(d){return a.split(d,[","],!0)},space(d){let b=[" ",`
168
+ `," "];return a.split(d,b)},split(d,b,f){let n=[],u="",o=!1,g=0,v=!1,l="",e=!1;for(let i of d)e?e=!1:i==="\\"?e=!0:v?i===l&&(v=!1):i==='"'||i==="'"?(v=!0,l=i):i==="("?g+=1:i===")"?g>0&&(g-=1):g===0&&b.includes(i)&&(o=!0),o?(u!==""&&n.push(u.trim()),u="",o=!1):u+=i;return(f||u!=="")&&n.push(u.trim()),n}};return St=a,a.default=a,St}var Ot,Sr;function $t(){if(Sr)return Ot;Sr=1;let a=ve(),d=Fr();class b extends a{get selectors(){return d.comma(this.selector)}set selectors(n){let u=this.selector?this.selector.match(/,\s*/):null,o=u?u[0]:","+this.raw("between","beforeOpen");this.selector=n.join(o)}constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[])}}return Ot=b,b.default=b,a.registerRule(b),Ot}var kt,Or;function Kn(){if(Or)return kt;Or=1;let a=Ut(),d=Ve(),b=Xe(),f=Qe(),n=Ur(),u=Ie(),o=$t();function g(v,l){if(Array.isArray(v))return v.map(t=>g(t));let{inputs:e,...i}=v;if(e){l=[];for(let t of e){let r={...t,__proto__:f.prototype};r.map&&(r.map={...r.map,__proto__:n.prototype}),l.push(r)}}if(i.nodes&&(i.nodes=v.nodes.map(t=>g(t,l))),i.source){let{inputId:t,...r}=i.source;i.source=r,t!=null&&(i.source.input=l[t])}if(i.type==="root")return new u(i);if(i.type==="decl")return new b(i);if(i.type==="rule")return new o(i);if(i.type==="comment")return new d(i);if(i.type==="atrule")return new a(i);throw new Error("Unknown node type: "+v.type)}return kt=g,g.default=g,kt}var _t,kr;function $r(){if(kr)return _t;kr=1;let{dirname:a,relative:d,resolve:b,sep:f}=le,{SourceMapConsumer:n,SourceMapGenerator:u}=le,{pathToFileURL:o}=le,g=Qe(),v=!!(n&&u),l=!!(a&&b&&d&&f);class e{constructor(t,r,c,h){this.stringify=t,this.mapOpts=c.map||{},this.root=r,this.opts=c,this.css=h,this.originalCSS=h,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let r=`
166
169
  `;this.css.includes(`\r
167
- `)&&(t=`\r
168
- `),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),n=e.root||Be(e.file),i;this.mapOpts.sourcesContent===!1?(i=new On(e.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=e.consumer(),this.map.applySourceMap(i,t,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),hi&&ui&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ze.fromSourceMap(e)}else this.map=new ze({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new ze({file:this.outputFile()});let e=1,t=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},o,s;this.stringify(this.root,(l,a,c)=>{if(this.css+=l,a&&c!=="end"&&(i.generated.line=e,i.generated.column=t-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),o=l.match(/\n/g),o?(e+=o.length,s=l.lastIndexOf(`
169
- `),t=l.length-s):t+=l.length,a&&c!=="start"){let h=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==h.last||h.raws.semicolon)&&(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?Be(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=Be(Cn(n,this.mapOpts.annotation)));let i=_n(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new ci(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(en){let n=en(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;An==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};var kn=fi;let di=Je,vt=class extends di{constructor(e){super(e),this.type="comment"}};var Xe=vt;vt.default=vt;let{isClean:Rn,my:Nn}=xe,Mn=Ve,Tn=Xe,pi=Je,Pn,Rt,Nt,In;function jn(r){return r.map(e=>(e.nodes&&(e.nodes=jn(e.nodes)),delete e.source,e))}function Ln(r){if(r[Rn]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)Ln(e)}let Z=class $n extends pi{append(...e){for(let t of e){let n=this.normalize(t,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),n,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...n)=>e[t](...n.map(i=>typeof i=="function"?(o,s)=>i(o.toProxy(),s):i)):t==="every"||t==="some"?n=>e[t]((i,...o)=>n(i.toProxy(),...o)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(n=>n.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,n){return e[t]===n||(e[t]=n,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let s of i)this.proxyOf.nodes.splice(n+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],n<o&&(this.indexes[s]=o+i.length);return this.markDirty(),this}insertBefore(e,t){let n=this.index(e),i=n===0?"prepend":!1,o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let l of o)this.proxyOf.nodes.splice(n,0,l);let s;for(let l in this.indexes)s=this.indexes[l],n<=s&&(this.indexes[l]=s+o.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=jn(Pn(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Mn(e)]}else if(e.selector)e=[new Rt(e)];else if(e.name)e=[new Nt(e)];else if(e.text)e=[new Tn(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[Nn]||$n.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Rn]&&Ln(i),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let n=this.normalize(t,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,n)=>{let i;try{i=e(t,n)}catch(o){throw t.addToError(o)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return t(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return t(n,i)}):(t=e,this.walk((n,i)=>{if(n.type==="atrule")return t(n,i)}))}walkComments(e){return this.walk((t,n)=>{if(t.type==="comment")return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return t(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return t(n,i)}):(t=e,this.walk((n,i)=>{if(n.type==="decl")return t(n,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return t(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return t(n,i)}):(t=e,this.walk((n,i)=>{if(n.type==="rule")return t(n,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Z.registerParse=r=>{Pn=r};Z.registerRule=r=>{Rt=r};Z.registerAtRule=r=>{Nt=r};Z.registerRoot=r=>{In=r};var ee=Z;Z.default=Z;Z.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,Nt.prototype):r.type==="rule"?Object.setPrototypeOf(r,Rt.prototype):r.type==="decl"?Object.setPrototypeOf(r,Mn.prototype):r.type==="comment"?Object.setPrototypeOf(r,Tn.prototype):r.type==="root"&&Object.setPrototypeOf(r,In.prototype),r[Nn]=!0,r.nodes&&r.nodes.forEach(e=>{Z.rebuild(e)})};let gi=ee,zn,Bn,pe=class extends gi{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new zn(new Bn,this,e).stringify()}};pe.registerLazyResult=r=>{zn=r};pe.registerProcessor=r=>{Bn=r};var Mt=pe;pe.default=pe;let Et=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in t)this[n]=t[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Dn=Et;Et.default=Et;let mi=Dn,St=class{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new mi(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};var Tt=St;St.default=St;const ut=39,tn=34,ke=92,nn=47,Re=10,ce=32,Ne=12,Me=9,Te=13,bi=91,yi=93,wi=40,xi=41,vi=123,Ei=125,Si=59,Oi=42,_i=58,Ci=64,Pe=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ie=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ai=/.[\r\n"'(/\\]/,rn=/[\da-f]/i;var ki=function(e,t={}){let n=e.css.valueOf(),i=t.ignoreErrors,o,s,l,a,c,h,y,m,A,R,j=n.length,g=0,F=[],H=[];function V(){return g}function L(z){throw e.error("Unclosed "+z,g)}function W(){return H.length===0&&g>=j}function ae(z){if(H.length)return H.pop();if(g>=j)return;let T=z?z.ignoreUnclosed:!1;switch(o=n.charCodeAt(g),o){case Re:case ce:case Me:case Te:case Ne:{s=g;do s+=1,o=n.charCodeAt(s);while(o===ce||o===Re||o===Me||o===Te||o===Ne);R=["space",n.slice(g,s)],g=s-1;break}case bi:case yi:case vi:case Ei:case _i:case Si:case xi:{let q=String.fromCharCode(o);R=[q,q,g];break}case wi:{if(m=F.length?F.pop()[1]:"",A=n.charCodeAt(g+1),m==="url"&&A!==ut&&A!==tn&&A!==ce&&A!==Re&&A!==Me&&A!==Ne&&A!==Te){s=g;do{if(h=!1,s=n.indexOf(")",s+1),s===-1)if(i||T){s=g;break}else L("bracket");for(y=s;n.charCodeAt(y-1)===ke;)y-=1,h=!h}while(h);R=["brackets",n.slice(g,s+1),g,s],g=s}else s=n.indexOf(")",g+1),a=n.slice(g,s+1),s===-1||Ai.test(a)?R=["(","(",g]:(R=["brackets",a,g,s],g=s);break}case ut:case tn:{l=o===ut?"'":'"',s=g;do{if(h=!1,s=n.indexOf(l,s+1),s===-1)if(i||T){s=g+1;break}else L("string");for(y=s;n.charCodeAt(y-1)===ke;)y-=1,h=!h}while(h);R=["string",n.slice(g,s+1),g,s],g=s;break}case Ci:{Pe.lastIndex=g+1,Pe.test(n),Pe.lastIndex===0?s=n.length-1:s=Pe.lastIndex-2,R=["at-word",n.slice(g,s+1),g,s],g=s;break}case ke:{for(s=g,c=!0;n.charCodeAt(s+1)===ke;)s+=1,c=!c;if(o=n.charCodeAt(s+1),c&&o!==nn&&o!==ce&&o!==Re&&o!==Me&&o!==Te&&o!==Ne&&(s+=1,rn.test(n.charAt(s)))){for(;rn.test(n.charAt(s+1));)s+=1;n.charCodeAt(s+1)===ce&&(s+=1)}R=["word",n.slice(g,s+1),g,s],g=s;break}default:{o===nn&&n.charCodeAt(g+1)===Oi?(s=n.indexOf("*/",g+2)+1,s===0&&(i||T?s=n.length:L("comment")),R=["comment",n.slice(g,s+1),g,s],g=s):(Ie.lastIndex=g+1,Ie.test(n),Ie.lastIndex===0?s=n.length-1:s=Ie.lastIndex-2,R=["word",n.slice(g,s+1),g,s],F.push(R),g=s);break}}return g++,R}function ne(z){H.push(z)}return{back:ne,endOfFile:W,nextToken:ae,position:V}};let Un=ee,Ue=class extends Un{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var Pt=Ue;Ue.default=Ue;Un.registerAtRule(Ue);let Fn=ee,Hn,Wn,ie=class extends Fn{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let i=super.normalize(e);if(t){if(n==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of i)o.raws.before=t.raws.before}return i}removeChild(e,t){let n=this.index(e);return!t&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new Hn(new Wn,this,e).stringify()}};ie.registerLazyResult=r=>{Hn=r};ie.registerProcessor=r=>{Wn=r};var ve=ie;ie.default=ie;Fn.registerRoot(ie);let ge={comma(r){return ge.split(r,[","],!0)},space(r){let e=[" ",`
170
- `," "];return ge.split(r,e)},split(r,e,t){let n=[],i="",o=!1,s=0,l=!1,a="",c=!1;for(let h of r)c?c=!1:h==="\\"?c=!0:l?h===a&&(l=!1):h==='"'||h==="'"?(l=!0,a=h):h==="("?s+=1:h===")"?s>0&&(s-=1):s===0&&e.includes(h)&&(o=!0),o?(i!==""&&n.push(i.trim()),i="",o=!1):i+=h;return(t||i!=="")&&n.push(i.trim()),n}};var Gn=ge;ge.default=ge;let Zn=ee,Ri=Gn,Fe=class extends Zn{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Ri.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};var It=Fe;Fe.default=Fe;Zn.registerRule(Fe);let Ni=Ve,Mi=ki,Ti=Xe,Pi=Pt,Ii=ve,sn=It;const on={empty:!0,space:!0};function ji(r){for(let e=r.length-1;e>=0;e--){let t=r[e],n=t[3]||t[2];if(n)return n}}let Li=class{constructor(e){this.input=e,this.root=new Ii,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Pi;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let n,i,o,s=!1,l=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?c.push(n==="("?")":"]"):n==="{"&&c.length>0?c.push("}"):n===c[c.length-1]&&c.pop(),c.length===0)if(n===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){l=!0;break}else if(n==="}"){if(a.length>0){for(o=a.length-1,i=a[o];i&&i[0]==="space";)i=a[--o];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),s&&(e=a[a.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),l&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,i;for(let o=t-1;o>=0&&(i=e[o],!(i[0]!=="space"&&(n+=1,n===2)));o--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0,n,i,o;for(let[s,l]of e.entries()){if(n=l,i=n[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!o)this.doubleColon(n);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=n}return!1}comment(e){let t=new Ti;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=i[2],t.raws.left=i[1],t.raws.right=i[3]}}createTokenizer(){this.tokenizer=Mi(this.input)}decl(e,t){let n=new Ni;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||ji(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){n.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let s=[],l;for(;e.length&&(l=e[0][0],!(l!=="space"&&l!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(o=e[c],o[1].toLowerCase()==="!important"){n.important=!0;let h=this.stringFrom(e,c);h=this.spacesFromEnd(e)+h,h!==" !important"&&(n.raws.important=h);break}else if(o[1].toLowerCase()==="important"){let h=e.slice(0),y="";for(let m=c;m>0;m--){let A=h[m][0];if(y.trim().indexOf("!")===0&&A!=="space")break;y=h.pop()[1]+y}y.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=y,e=h)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(n.raws.between+=s.map(c=>c[1]).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new sn;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,n=null,i=!1,o=null,s=[],l=e[1].startsWith("--"),a=[],c=e;for(;c;){if(n=c[0],a.push(c),n==="("||n==="[")o||(o=c),s.push(n==="("?")":"]");else if(l&&i&&n==="{")o||(o=c),s.push("}");else if(s.length===0)if(n===";")if(i){this.decl(a,l);return}else break;else if(n==="{"){this.rule(a);return}else if(n==="}"){this.tokenizer.back(a.pop()),t=!0;break}else n===":"&&(i=!0);else n===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(o),t&&i){if(!l)for(;a.length&&(c=a[a.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,l)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let o,s,l=n.length,a="",c=!0,h,y;for(let m=0;m<l;m+=1)o=n[m],s=o[0],s==="space"&&m===l-1&&!i?c=!1:s==="comment"?(y=n[m-1]?n[m-1][0]:"empty",h=n[m+1]?n[m+1][0]:"empty",!on[y]&&!on[h]?a.slice(-1)===","?c=!1:a+=o[1]:c=!1):a+=o[1];if(!c){let m=n.reduce((A,R)=>A+R[1],"");e.raws[t]={raw:m,value:a}}e[t]=a}rule(e){e.pop();let t=new sn;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],t==="space");)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++)n+=e[i][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};var $i=Li;let zi=ee,Bi=$i,Di=qe;function He(r,e){let t=new Di(r,e),n=new Bi(t);try{n.parse()}catch(i){throw i}return n.root}var jt=He;He.default=He;zi.registerParse(He);let{isClean:U,my:Ui}=xe,Fi=kn,Hi=Ke,Wi=ee,Gi=Mt,ln=Tt,Zi=jt,Ki=ve;const Ji={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Vi={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},qi={Once:!0,postcssPlugin:!0,prepare:!0},se=0;function ue(r){return typeof r=="object"&&typeof r.then=="function"}function Kn(r){let e=!1,t=Ji[r.type];return r.type==="decl"?e=r.prop.toLowerCase():r.type==="atrule"&&(e=r.name.toLowerCase()),e&&r.append?[t,t+"-"+e,se,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:r.append?[t,se,t+"Exit"]:[t,t+"Exit"]}function an(r){let e;return r.type==="document"?e=["Document",se,"DocumentExit"]:r.type==="root"?e=["Root",se,"RootExit"]:e=Kn(r),{eventIndex:0,events:e,iterator:0,node:r,visitorIndex:0,visitors:[]}}function Ot(r){return r[U]=!1,r.nodes&&r.nodes.forEach(e=>Ot(e)),r}let _t={},oe=class Jn{constructor(e,t,n){this.stringified=!1,this.processed=!1;let i;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))i=Ot(t);else if(t instanceof Jn||t instanceof ln)i=Ot(t.root),t.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let o=Zi;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{i=o(t,n)}catch(s){this.processed=!0,this.error=s}i&&!i[Ui]&&Wi.rebuild(i)}this.result=new ln(e,i,n),this.helpers={..._t,postcss:_t,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(t,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([t,i])};for(let t of this.plugins)if(typeof t=="object")for(let n in t){if(!Vi[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!qi[n])if(typeof t[n]=="object")for(let i in t[n])i==="*"?e(t,n,t[n][i]):e(t,n+"-"+i.toLowerCase(),t[n][i]);else typeof t[n]=="function"&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(ue(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[U];){e[U]=!0;let t=[an(e)];for(;t.length>0;){let n=this.visitTick(t);if(ue(n))try{await n}catch(i){let o=t[t.length-1].node;throw this.handleError(i,o)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let i=e.nodes.map(o=>n(o,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return ue(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Hi;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new Fi(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(ue(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[U];)e[U]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){this.result.lastPlugin=n;let o;try{o=i(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(ue(o))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[s,l]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return l(n.toProxy(),this.helpers)}catch(a){throw this.handleError(a,n)}}if(t.iterator!==0){let s=t.iterator,l;for(;l=n.nodes[n.indexes[s]];)if(n.indexes[s]+=1,!l[U]){l[U]=!0,e.push(an(l));return}t.iterator=0,delete n.indexes[s]}let o=t.events;for(;t.eventIndex<o.length;){let s=o[t.eventIndex];if(t.eventIndex+=1,s===se){n.nodes&&n.nodes.length&&(n[U]=!0,t.iterator=n.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[U]=!0;let t=Kn(e);for(let n of t)if(n===se)e.nodes&&e.each(i=>{i[U]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};oe.registerPostcss=r=>{_t=r};var Vn=oe;oe.default=oe;Ki.registerLazyResult(oe);Gi.registerLazyResult(oe);let Xi=kn,Qi=Ke,Yi=jt;const es=Tt;let Ct=class{constructor(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let i,o=Qi;this.result=new es(this._processor,i,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let l=new Xi(o,i,this._opts,t);if(l.isMap()){let[a,c]=l.generate();a&&(this.result.css=a),c&&(this.result.map=c)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=Yi;try{e=t(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var ts=Ct;Ct.default=Ct;let ns=ts,rs=Vn,is=Mt,ss=ve,me=class{constructor(e=[]){this.version="8.4.32",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)t.push(n);else if(typeof n=="function")t.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length===0&&typeof t.parser>"u"&&typeof t.stringifier>"u"&&typeof t.syntax>"u"?new ns(this,e,t):new rs(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var os=me;me.default=me;ss.registerProcessor(me);is.registerProcessor(me);let ls=Ve,as=Sn,cs=Xe,us=Pt,hs=qe,fs=ve,ds=It;function be(r,e){if(Array.isArray(r))return r.map(i=>be(i));let{inputs:t,...n}=r;if(t){e=[];for(let i of t){let o={...i,__proto__:hs.prototype};o.map&&(o.map={...o.map,__proto__:as.prototype}),e.push(o)}}if(n.nodes&&(n.nodes=r.nodes.map(i=>be(i,e))),n.source){let{inputId:i,...o}=n.source;n.source=o,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new fs(n);if(n.type==="decl")return new ls(n);if(n.type==="rule")return new ds(n);if(n.type==="comment")return new cs(n);if(n.type==="atrule")return new us(n);throw new Error("Unknown node type: "+r.type)}var ps=be;be.default=be;var cn={};let gs=kt,qn=Ve,ms=Vn,bs=ee,Lt=os,ys=Ke,ws=ps,Xn=Mt,xs=Dn,Qn=Xe,Yn=Pt,vs=Tt,Es=qe,Ss=jt,Os=Gn,er=It,tr=ve,_s=Je;function E(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Lt(r)}E.plugin=function(e,t){let n=!1;function i(...s){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
171
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),cn.LANG&&cn.LANG.startsWith("cn")&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
172
- https://www.w3ctech.com/topic/2226`));let l=t(...s);return l.postcssPlugin=e,l.postcssVersion=new Lt().version,l}let o;return Object.defineProperty(i,"postcss",{get(){return o||(o=i()),o}}),i.process=function(s,l,a){return E([i(a)]).process(s,l)},i};E.stringify=ys;E.parse=Ss;E.fromJSON=ws;E.list=Os;E.comment=r=>new Qn(r);E.atRule=r=>new Yn(r);E.decl=r=>new qn(r);E.rule=r=>new er(r);E.root=r=>new tr(r);E.document=r=>new Xn(r);E.CssSyntaxError=gs;E.Declaration=qn;E.Container=bs;E.Processor=Lt;E.Document=Xn;E.Comment=Qn;E.Warning=xs;E.AtRule=Yn;E.Result=vs;E.Input=Es;E.Rule=er;E.Root=tr;E.Node=_s;ms.registerPostcss(E);var Cs=E;E.default=E;const C=wn(Cs);C.stringify;C.fromJSON;C.plugin;C.parse;C.list;C.document;C.comment;C.atRule;C.rule;C.decl;C.root;C.CssSyntaxError;C.Declaration;C.Container;C.Processor;C.Document;C.Comment;C.Warning;C.AtRule;C.Result;C.Input;C.Rule;C.Root;C.Node;var As=function(e){const t=e.prefix,n=/\s+$/.test(t)?t:`${t} `,i=e.ignoreFiles?[].concat(e.ignoreFiles):[],o=e.includeFiles?[].concat(e.includeFiles):[];return function(s){i.length&&s.source.input.file&&un(s.source.input.file,i)||o.length&&s.source.input.file&&!un(s.source.input.file,o)||s.walkRules(l=>{const a=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes"];l.parent&&a.includes(l.parent.name)||(l.selectors=l.selectors.map(c=>e.exclude&&ks(c,e.exclude)?c:e.transform?e.transform(t,c,n+c,s.source.input.file,l):n+c))})}};function un(r,e){return e.some(t=>t instanceof RegExp?t.test(r):r.includes(t))}function ks(r,e){return e.some(t=>t instanceof RegExp?t.test(r):r===t)}const Rs=wn(As),Ns="code{white-space:pre}.example{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;gap:16px}.example>*{flex:1 1 500px}.example .tab-control{overflow:hidden}.example div[role=tab]{cursor:pointer;padding:8px 16px;display:inline-block;font-size:16px;border-bottom:2px solid transparent;background-clip:padding-box;-webkit-user-select:none;user-select:none}.example div[role=tab]:hover{background-color:#1467ba14}.example div[role=tab][selected]{background-color:#1467ba21;border-bottom:2px solid #1467ba}.tab-content{margin:16px 0}.tab-content>pre{padding-top:0}.tab-content.code{max-height:500px;overflow:auto}.tab-content.code pre{margin:0}",Ms="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}";function Ts(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function nr(r){return r instanceof Map?r.clear=r.delete=r.set=function(){throw new Error("map is read-only")}:r instanceof Set&&(r.add=r.clear=r.delete=function(){throw new Error("set is read-only")}),Object.freeze(r),Object.getOwnPropertyNames(r).forEach(e=>{const t=r[e],n=typeof t;(n==="object"||n==="function")&&!Object.isFrozen(t)&&nr(t)}),r}class hn{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function rr(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function J(r,...e){const t=Object.create(null);for(const n in r)t[n]=r[n];return e.forEach(function(n){for(const i in n)t[i]=n[i]}),t}const Ps="</span>",fn=r=>!!r.scope,Is=(r,{prefix:e})=>{if(r.startsWith("language:"))return r.replace("language:","language-");if(r.includes(".")){const t=r.split(".");return[`${e}${t.shift()}`,...t.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${e}${r}`};class js{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=rr(e)}openNode(e){if(!fn(e))return;const t=Is(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){fn(e)&&(this.buffer+=Ps)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const dn=(r={})=>{const e={children:[]};return Object.assign(e,r),e};class $t{constructor(){this.rootNode=dn(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=dn({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(n=>this._walk(e,n)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{$t._collapse(t)}))}}class Ls extends $t{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new js(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ye(r){return r?typeof r=="string"?r:r.source:null}function ir(r){return te("(?=",r,")")}function $s(r){return te("(?:",r,")*")}function zs(r){return te("(?:",r,")?")}function te(...r){return r.map(e=>ye(e)).join("")}function Bs(r){const e=r[r.length-1];return typeof e=="object"&&e.constructor===Object?(r.splice(r.length-1,1),e):{}}function zt(...r){return"("+(Bs(r).capture?"":"?:")+r.map(e=>ye(e)).join("|")+")"}function sr(r){return new RegExp(r.toString()+"|").exec("").length-1}function Ds(r,e){const t=r&&r.exec(e);return t&&t.index===0}const Us=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Bt(r,{joinWith:e}){let t=0;return r.map(n=>{t+=1;const i=t;let o=ye(n),s="";for(;o.length>0;){const l=Us.exec(o);if(!l){s+=o;break}s+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),l[0][0]==="\\"&&l[1]?s+="\\"+String(Number(l[1])+i):(s+=l[0],l[0]==="("&&t++)}return s}).map(n=>`(${n})`).join(e)}const Fs=/\b\B/,or="[a-zA-Z]\\w*",Dt="[a-zA-Z_]\\w*",lr="\\b\\d+(\\.\\d+)?",ar="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",cr="\\b(0b[01]+)",Hs="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Ws=(r={})=>{const e=/^#![ ]*\//;return r.binary&&(r.begin=te(e,/.*\b/,r.binary,/\b.*/)),J({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,n)=>{t.index!==0&&n.ignoreMatch()}},r)},we={begin:"\\\\[\\s\\S]",relevance:0},Gs={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[we]},Zs={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[we]},Ks={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Qe=function(r,e,t={}){const n=J({scope:"comment",begin:r,end:e,contains:[]},t);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=zt("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:te(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},Js=Qe("//","$"),Vs=Qe("/\\*","\\*/"),qs=Qe("#","$"),Xs={scope:"number",begin:lr,relevance:0},Qs={scope:"number",begin:ar,relevance:0},Ys={scope:"number",begin:cr,relevance:0},eo={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[we,{begin:/\[/,end:/\]/,relevance:0,contains:[we]}]},to={scope:"title",begin:or,relevance:0},no={scope:"title",begin:Dt,relevance:0},ro={begin:"\\.\\s*"+Dt,relevance:0},io=function(r){return Object.assign(r,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var je=Object.freeze({__proto__:null,APOS_STRING_MODE:Gs,BACKSLASH_ESCAPE:we,BINARY_NUMBER_MODE:Ys,BINARY_NUMBER_RE:cr,COMMENT:Qe,C_BLOCK_COMMENT_MODE:Vs,C_LINE_COMMENT_MODE:Js,C_NUMBER_MODE:Qs,C_NUMBER_RE:ar,END_SAME_AS_BEGIN:io,HASH_COMMENT_MODE:qs,IDENT_RE:or,MATCH_NOTHING_RE:Fs,METHOD_GUARD:ro,NUMBER_MODE:Xs,NUMBER_RE:lr,PHRASAL_WORDS_MODE:Ks,QUOTE_STRING_MODE:Zs,REGEXP_MODE:eo,RE_STARTERS_RE:Hs,SHEBANG:Ws,TITLE_MODE:to,UNDERSCORE_IDENT_RE:Dt,UNDERSCORE_TITLE_MODE:no});function so(r,e){r.input[r.index-1]==="."&&e.ignoreMatch()}function oo(r,e){r.className!==void 0&&(r.scope=r.className,delete r.className)}function lo(r,e){e&&r.beginKeywords&&(r.begin="\\b("+r.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",r.__beforeBegin=so,r.keywords=r.keywords||r.beginKeywords,delete r.beginKeywords,r.relevance===void 0&&(r.relevance=0))}function ao(r,e){Array.isArray(r.illegal)&&(r.illegal=zt(...r.illegal))}function co(r,e){if(r.match){if(r.begin||r.end)throw new Error("begin & end are not supported with match");r.begin=r.match,delete r.match}}function uo(r,e){r.relevance===void 0&&(r.relevance=1)}const ho=(r,e)=>{if(!r.beforeMatch)return;if(r.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},r);Object.keys(r).forEach(n=>{delete r[n]}),r.keywords=t.keywords,r.begin=te(t.beforeMatch,ir(t.begin)),r.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},r.relevance=0,delete t.beforeMatch},fo=["of","and","for","in","not","or","if","then","parent","list","value"],po="keyword";function ur(r,e,t=po){const n=Object.create(null);return typeof r=="string"?i(t,r.split(" ")):Array.isArray(r)?i(t,r):Object.keys(r).forEach(function(o){Object.assign(n,ur(r[o],e,o))}),n;function i(o,s){e&&(s=s.map(l=>l.toLowerCase())),s.forEach(function(l){const a=l.split("|");n[a[0]]=[o,go(a[0],a[1])]})}}function go(r,e){return e?Number(e):mo(r)?0:1}function mo(r){return fo.includes(r.toLowerCase())}const pn={},Y=r=>{console.error(r)},gn=(r,...e)=>{console.log(`WARN: ${r}`,...e)},re=(r,e)=>{pn[`${r}/${e}`]||(console.log(`Deprecated as of ${r}. ${e}`),pn[`${r}/${e}`]=!0)},We=new Error;function hr(r,e,{key:t}){let n=0;const i=r[t],o={},s={};for(let l=1;l<=e.length;l++)s[l+n]=i[l],o[l+n]=!0,n+=sr(e[l-1]);r[t]=s,r[t]._emit=o,r[t]._multi=!0}function bo(r){if(Array.isArray(r.begin)){if(r.skip||r.excludeBegin||r.returnBegin)throw Y("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),We;if(typeof r.beginScope!="object"||r.beginScope===null)throw Y("beginScope must be object"),We;hr(r,r.begin,{key:"beginScope"}),r.begin=Bt(r.begin,{joinWith:""})}}function yo(r){if(Array.isArray(r.end)){if(r.skip||r.excludeEnd||r.returnEnd)throw Y("skip, excludeEnd, returnEnd not compatible with endScope: {}"),We;if(typeof r.endScope!="object"||r.endScope===null)throw Y("endScope must be object"),We;hr(r,r.end,{key:"endScope"}),r.end=Bt(r.end,{joinWith:""})}}function wo(r){r.scope&&typeof r.scope=="object"&&r.scope!==null&&(r.beginScope=r.scope,delete r.scope)}function xo(r){wo(r),typeof r.beginScope=="string"&&(r.beginScope={_wrap:r.beginScope}),typeof r.endScope=="string"&&(r.endScope={_wrap:r.endScope}),bo(r),yo(r)}function vo(r){function e(s,l){return new RegExp(ye(s),"m"+(r.case_insensitive?"i":"")+(r.unicodeRegex?"u":"")+(l?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,l]),this.matchAt+=sr(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(a=>a[1]);this.matcherRe=e(Bt(l,{joinWith:"|"}),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(l);if(!a)return null;const c=a.findIndex((y,m)=>m>0&&y!==void 0),h=this.matchIndexes[c];return a.splice(0,c),Object.assign(a,h)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const a=new t;return this.rules.slice(l).forEach(([c,h])=>a.addRule(c,h)),a.compile(),this.multiRegexes[l]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,a){this.rules.push([l,a]),a.type==="begin"&&this.count++}exec(l){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let c=a.exec(l);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const h=this.getMatcher(0);h.lastIndex=this.lastIndex+1,c=h.exec(l)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const l=new n;return s.contains.forEach(a=>l.addRule(a.begin,{rule:a,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function o(s,l){const a=s;if(s.isCompiled)return a;[oo,co,xo,ho].forEach(h=>h(s,l)),r.compilerExtensions.forEach(h=>h(s,l)),s.__beforeBegin=null,[lo,ao,uo].forEach(h=>h(s,l)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=ur(s.keywords,r.case_insensitive)),a.keywordPatternRe=e(c,!0),l&&(s.begin||(s.begin=/\B|\b/),a.beginRe=e(a.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(a.endRe=e(a.end)),a.terminatorEnd=ye(a.end)||"",s.endsWithParent&&l.terminatorEnd&&(a.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(a.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(h){return Eo(h==="self"?s:h)})),s.contains.forEach(function(h){o(h,a)}),s.starts&&o(s.starts,l),a.matcher=i(a),a}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return r.classNameAliases=J(r.classNameAliases||{}),o(r)}function fr(r){return r?r.endsWithParent||fr(r.starts):!1}function Eo(r){return r.variants&&!r.cachedVariants&&(r.cachedVariants=r.variants.map(function(e){return J(r,{variants:null},e)})),r.cachedVariants?r.cachedVariants:fr(r)?J(r,{starts:r.starts?J(r.starts):null}):Object.isFrozen(r)?J(r):r}var So="11.9.0";class Oo extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ht=rr,mn=J,bn=Symbol("nomatch"),_o=7,dr=function(r){const e=Object.create(null),t=Object.create(null),n=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ls};function a(u){return l.noHighlightRe.test(u)}function c(u){let d=u.className+" ";d+=u.parentNode?u.parentNode.className:"";const w=l.languageDetectRe.exec(d);if(w){const v=T(w[1]);return v||(gn(o.replace("{}",w[1])),gn("Falling back to no-highlight mode for this block.",u)),v?w[1]:"no-highlight"}return d.split(/\s+/).find(v=>a(v)||T(v))}function h(u,d,w){let v="",k="";typeof d=="object"?(v=u,w=d.ignoreIllegals,k=d.language):(re("10.7.0","highlight(lang, code, ...args) has been deprecated."),re("10.7.0",`Please use highlight(code, options) instead.
173
- https://github.com/highlightjs/highlight.js/issues/2277`),k=u,v=d),w===void 0&&(w=!0);const P={code:v,language:k};X("before:highlight",P);const K=P.result?P.result:y(P.language,P.code,w);return K.code=P.code,X("after:highlight",K),K}function y(u,d,w,v){const k=Object.create(null);function P(f,p){return f.keywords[p]}function K(){if(!b.keywords){N.addText(O);return}let f=0;b.keywordPatternRe.lastIndex=0;let p=b.keywordPatternRe.exec(O),x="";for(;p;){x+=O.substring(f,p.index);const S=D.case_insensitive?p[0].toLowerCase():p[0],M=P(b,S);if(M){const[G,Ar]=M;if(N.addText(x),x="",k[S]=(k[S]||0)+1,k[S]<=_o&&(_e+=Ar),G.startsWith("_"))x+=p[0];else{const kr=D.classNameAliases[G]||G;B(p[0],kr)}}else x+=p[0];f=b.keywordPatternRe.lastIndex,p=b.keywordPatternRe.exec(O)}x+=O.substring(f),N.addText(x)}function Se(){if(O==="")return;let f=null;if(typeof b.subLanguage=="string"){if(!e[b.subLanguage]){N.addText(O);return}f=y(b.subLanguage,O,!0,Gt[b.subLanguage]),Gt[b.subLanguage]=f._top}else f=A(O,b.subLanguage.length?b.subLanguage:null);b.relevance>0&&(_e+=f.relevance),N.__addSublanguage(f._emitter,f.language)}function I(){b.subLanguage!=null?Se():K(),O=""}function B(f,p){f!==""&&(N.startScope(p),N.addText(f),N.endScope())}function Ut(f,p){let x=1;const S=p.length-1;for(;x<=S;){if(!f._emit[x]){x++;continue}const M=D.classNameAliases[f[x]]||f[x],G=p[x];M?B(G,M):(O=G,K(),O=""),x++}}function Ft(f,p){return f.scope&&typeof f.scope=="string"&&N.openNode(D.classNameAliases[f.scope]||f.scope),f.beginScope&&(f.beginScope._wrap?(B(O,D.classNameAliases[f.beginScope._wrap]||f.beginScope._wrap),O=""):f.beginScope._multi&&(Ut(f.beginScope,p),O="")),b=Object.create(f,{parent:{value:b}}),b}function Ht(f,p,x){let S=Ds(f.endRe,x);if(S){if(f["on:end"]){const M=new hn(f);f["on:end"](p,M),M.isMatchIgnored&&(S=!1)}if(S){for(;f.endsParent&&f.parent;)f=f.parent;return f}}if(f.endsWithParent)return Ht(f.parent,p,x)}function Er(f){return b.matcher.regexIndex===0?(O+=f[0],1):(ot=!0,0)}function Sr(f){const p=f[0],x=f.rule,S=new hn(x),M=[x.__beforeBegin,x["on:begin"]];for(const G of M)if(G&&(G(f,S),S.isMatchIgnored))return Er(p);return x.skip?O+=p:(x.excludeBegin&&(O+=p),I(),!x.returnBegin&&!x.excludeBegin&&(O=p)),Ft(x,f),x.returnBegin?0:p.length}function Or(f){const p=f[0],x=d.substring(f.index),S=Ht(b,f,x);if(!S)return bn;const M=b;b.endScope&&b.endScope._wrap?(I(),B(p,b.endScope._wrap)):b.endScope&&b.endScope._multi?(I(),Ut(b.endScope,f)):M.skip?O+=p:(M.returnEnd||M.excludeEnd||(O+=p),I(),M.excludeEnd&&(O=p));do b.scope&&N.closeNode(),!b.skip&&!b.subLanguage&&(_e+=b.relevance),b=b.parent;while(b!==S.parent);return S.starts&&Ft(S.starts,f),M.returnEnd?0:p.length}function _r(){const f=[];for(let p=b;p!==D;p=p.parent)p.scope&&f.unshift(p.scope);f.forEach(p=>N.openNode(p))}let Oe={};function Wt(f,p){const x=p&&p[0];if(O+=f,x==null)return I(),0;if(Oe.type==="begin"&&p.type==="end"&&Oe.index===p.index&&x===""){if(O+=d.slice(p.index,p.index+1),!i){const S=new Error(`0 width match regex (${u})`);throw S.languageName=u,S.badRule=Oe.rule,S}return 1}if(Oe=p,p.type==="begin")return Sr(p);if(p.type==="illegal"&&!w){const S=new Error('Illegal lexeme "'+x+'" for mode "'+(b.scope||"<unnamed>")+'"');throw S.mode=b,S}else if(p.type==="end"){const S=Or(p);if(S!==bn)return S}if(p.type==="illegal"&&x==="")return 1;if(st>1e5&&st>p.index*3)throw new Error("potential infinite loop, way more iterations than matches");return O+=x,x.length}const D=T(u);if(!D)throw Y(o.replace("{}",u)),new Error('Unknown language: "'+u+'"');const Cr=vo(D);let it="",b=v||Cr;const Gt={},N=new l.__emitter(l);_r();let O="",_e=0,Q=0,st=0,ot=!1;try{if(D.__emitTokens)D.__emitTokens(d,N);else{for(b.matcher.considerAll();;){st++,ot?ot=!1:b.matcher.considerAll(),b.matcher.lastIndex=Q;const f=b.matcher.exec(d);if(!f)break;const p=d.substring(Q,f.index),x=Wt(p,f);Q=f.index+x}Wt(d.substring(Q))}return N.finalize(),it=N.toHTML(),{language:u,value:it,relevance:_e,illegal:!1,_emitter:N,_top:b}}catch(f){if(f.message&&f.message.includes("Illegal"))return{language:u,value:ht(d),illegal:!0,relevance:0,_illegalBy:{message:f.message,index:Q,context:d.slice(Q-100,Q+100),mode:f.mode,resultSoFar:it},_emitter:N};if(i)return{language:u,value:ht(d),illegal:!1,relevance:0,errorRaised:f,_emitter:N,_top:b};throw f}}function m(u){const d={value:ht(u),illegal:!1,relevance:0,_top:s,_emitter:new l.__emitter(l)};return d._emitter.addText(u),d}function A(u,d){d=d||l.languages||Object.keys(e);const w=m(u),v=d.filter(T).filter(Ee).map(I=>y(I,u,!1));v.unshift(w);const k=v.sort((I,B)=>{if(I.relevance!==B.relevance)return B.relevance-I.relevance;if(I.language&&B.language){if(T(I.language).supersetOf===B.language)return 1;if(T(B.language).supersetOf===I.language)return-1}return 0}),[P,K]=k,Se=P;return Se.secondBest=K,Se}function R(u,d,w){const v=d&&t[d]||w;u.classList.add("hljs"),u.classList.add(`language-${v}`)}function j(u){let d=null;const w=c(u);if(a(w))return;if(X("before:highlightElement",{el:u,language:w}),u.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",u);return}if(u.children.length>0&&(l.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(u)),l.throwUnescapedHTML))throw new Oo("One of your code blocks includes unescaped HTML.",u.innerHTML);d=u;const v=d.textContent,k=w?h(v,{language:w,ignoreIllegals:!0}):A(v);u.innerHTML=k.value,u.dataset.highlighted="yes",R(u,w,k.language),u.result={language:k.language,re:k.relevance,relevance:k.relevance},k.secondBest&&(u.secondBest={language:k.secondBest.language,relevance:k.secondBest.relevance}),X("after:highlightElement",{el:u,result:k,text:v})}function g(u){l=mn(l,u)}const F=()=>{L(),re("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function H(){L(),re("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let V=!1;function L(){if(document.readyState==="loading"){V=!0;return}document.querySelectorAll(l.cssSelector).forEach(j)}function W(){V&&L()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",W,!1);function ae(u,d){let w=null;try{w=d(r)}catch(v){if(Y("Language definition for '{}' could not be registered.".replace("{}",u)),i)Y(v);else throw v;w=s}w.name||(w.name=u),e[u]=w,w.rawDefinition=d.bind(null,r),w.aliases&&q(w.aliases,{languageName:u})}function ne(u){delete e[u];for(const d of Object.keys(t))t[d]===u&&delete t[d]}function z(){return Object.keys(e)}function T(u){return u=(u||"").toLowerCase(),e[u]||e[t[u]]}function q(u,{languageName:d}){typeof u=="string"&&(u=[u]),u.forEach(w=>{t[w.toLowerCase()]=d})}function Ee(u){const d=T(u);return d&&!d.disableAutodetect}function et(u){u["before:highlightBlock"]&&!u["before:highlightElement"]&&(u["before:highlightElement"]=d=>{u["before:highlightBlock"](Object.assign({block:d.el},d))}),u["after:highlightBlock"]&&!u["after:highlightElement"]&&(u["after:highlightElement"]=d=>{u["after:highlightBlock"](Object.assign({block:d.el},d))})}function tt(u){et(u),n.push(u)}function nt(u){const d=n.indexOf(u);d!==-1&&n.splice(d,1)}function X(u,d){const w=u;n.forEach(function(v){v[w]&&v[w](d)})}function rt(u){return re("10.7.0","highlightBlock will be removed entirely in v12.0"),re("10.7.0","Please use highlightElement now."),j(u)}Object.assign(r,{highlight:h,highlightAuto:A,highlightAll:L,highlightElement:j,highlightBlock:rt,configure:g,initHighlighting:F,initHighlightingOnLoad:H,registerLanguage:ae,unregisterLanguage:ne,listLanguages:z,getLanguage:T,registerAliases:q,autoDetection:Ee,inherit:mn,addPlugin:tt,removePlugin:nt}),r.debugMode=function(){i=!1},r.safeMode=function(){i=!0},r.versionString=So,r.regex={concat:te,lookahead:ir,either:zt,optional:zs,anyNumberOfTimes:$s};for(const u in je)typeof je[u]=="object"&&nr(je[u]);return Object.assign(r,je),r},le=dr({});le.newInstance=()=>dr({});var Co=le;le.HighlightJS=le;le.default=le;const Ye=Ts(Co),Ge="[A-Za-z$_][0-9A-Za-z$_]*",pr=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],gr=["true","false","null","undefined","NaN","Infinity"],mr=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],br=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],yr=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],wr=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],xr=[].concat(yr,mr,br);function Ao(r){const e=r.regex,t=(u,{after:d})=>{const w="</"+u[0].slice(1);return u.input.indexOf(w,d)!==-1},n=Ge,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(u,d)=>{const w=u[0].length+u.index,v=u.input[w];if(v==="<"||v===","){d.ignoreMatch();return}v===">"&&(t(u,{after:w})||d.ignoreMatch());let k;const P=u.input.substring(w);if(k=P.match(/^\s*=/)){d.ignoreMatch();return}if((k=P.match(/^\s+extends\s+/))&&k.index===0){d.ignoreMatch();return}}},l={$pattern:Ge,keyword:pr,literal:gr,built_in:xr,"variable.language":wr},a="[0-9](_?[0-9])*",c=`\\.(${a})`,h="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${h})((${c})|\\.)?|(${c}))[eE][+-]?(${a})\\b`},{begin:`\\b(${h})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},A={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},R={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,m],subLanguage:"css"}},j={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,m],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,m]},F={className:"comment",variants:[r.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),r.C_BLOCK_COMMENT_MODE,r.C_LINE_COMMENT_MODE]},H=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,A,R,j,g,{match:/\$\d+/},y];m.contains=H.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(H)});const V=[].concat(F,m.contains),L=V.concat([{begin:/\(/,end:/\)/,keywords:l,contains:["self"].concat(V)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:L},ae={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ne={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...mr,...br]}},z={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Ee(u){return e.concat("(?!",u.join("|"),")")}const et={match:e.concat(/\b/,Ee([...yr,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},tt={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},nt={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},X="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+r.UNDERSCORE_IDENT_RE+")\\s*=>",rt={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(X)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:ne},illegal:/#(?![$_A-z])/,contains:[r.SHEBANG({label:"shebang",binary:"node",relevance:5}),z,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,A,R,j,g,F,{match:/\$\d+/},y,ne,{className:"attr",begin:n+e.lookahead(":"),relevance:0},rt,{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,r.REGEXP_MODE,{className:"function",begin:X,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+r.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,r.inherit(r.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},tt,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},et,q,ae,nt,{match:/\$[(.]/}]}}function ko(r){const e=Ao(r),t=Ge,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],a={$pattern:Ge,keyword:pr.concat(l),literal:gr,built_in:xr.concat(n),"variable.language":wr},c={className:"meta",begin:"@"+t},h=(m,A,R)=>{const j=m.contains.findIndex(g=>g.label===A);if(j===-1)throw new Error("can not find mode to replace");m.contains.splice(j,1,R)};Object.assign(e.keywords,a),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,i,o]),h(e,"shebang",r.SHEBANG()),h(e,"use_strict",s);const y=e.contains.find(m=>m.label==="func.def");return y.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}function Ro(r){const e=r.regex,t=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=r.inherit(o,{begin:/\(/,end:/\)/}),l=r.inherit(r.APOS_STRING_MODE,{className:"string"}),a=r.inherit(r.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,a,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,s,a,l]}]}]},r.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(t,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const No=r=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:r.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:r.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Mo=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],To=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Po=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Io=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],jo=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Lo(r){const e=r.regex,t=No(r),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",l=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[t.BLOCK_COMMENT,n,t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Po.join("|")+")"},{begin:":(:)?("+Io.join("|")+")"}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+jo.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},t.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:To.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,t.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Mo.join("|")+")\\b"}]}}const vr=document.createElement("style");vr.innerText=[Ns,Ms].join(`
174
- `);document.head.appendChild(vr);Ye.registerLanguage("typescript",ko);Ye.registerLanguage("html",Ro);Ye.registerLanguage("css",Lo);function $o(...r){const e=document.createElement("div"),t=document.createElement("div");t.classList.add("tab-control");const n=document.createElement("div");return r.forEach(i=>{e.appendChild(i),i.addEventListener("click",()=>{r.forEach(o=>o.removeAttribute("selected")),i.setAttribute("selected",""),n.innerHTML="",n.appendChild(i.content),n.className=i.className,n.classList.add("tab-content")})}),t.appendChild(e),t.appendChild(n),n.classList.add("tab-content"),r[0].setAttribute("selected",""),n.appendChild(r[0].content),t}function he(r,e){const t=document.createElement("div");return t.role="tab",t.tabIndex=0,t.innerText=r,t.content=e,e.tagName=="PRE"&&t.classList.add("code"),t}function de(r,e){const t=document.createElement(r);return typeof e=="string"?t.innerHTML=e:e.forEach(n=>{t.appendChild(n)}),t}async function zo(r,e,t){var n,i,o;const s=e.mainContent,l=de("div",s);l.id=`example-preview-${t}`;const a=typeof e.css=="string"||(n=e.css)==null?void 0:n.label,c=typeof e.css=="string"?e.css:(i=e.css)==null?void 0:i.content,h=$o(he("Preview",l),he("HTML",Le("html",s)),...c?[he(a??"CSS",Le("css",c))]:[],...e.initializer&&e.initializer.content?[he(e.initializer.label??"TS",Le("typescript",e.initializer.content))]:[],...(e.additionalSources||[]).map(m=>he(m.label,Le(m.language,m.content))));e.description&&r.appendChild(de("div",e.description));const y=de("div",[h]);y.classList.add("example"),r.appendChild(y),c&&Bo(`#${l.id}`,c),(o=e.initializer)!=null&&o.initialize&&await e.initializer.initialize(l)}function Le(r,e){let t=e.split(/\r?\n/).map(n=>{const i=n.indexOf("///");if(i>-1){const o=n.substring(i+3).trimStart();return o?n.replace(/^(\s*)([^\s].*)$/,`$1${o}`):void 0}return n}).filter(n=>typeof n<"u").join(`
175
- `).trim();return r&&r!="raw"&&(t=Ye.highlight(t,{language:r}).value),de("pre",[de("code",t)])}function Bo(r,e){const t=document.createElement("style");t.innerHTML=C().use(Rs({prefix:r})).process(e).css,document.head.appendChild(t)}async function Do(r,e=document.body){const t=Fo(e);let n=0;Object.keys(r).forEach(async i=>{const o=document.createElement("div");o.className="example-container",t.appendChild(o);const s=r[i].default;zo(o,s,n++)})}function Uo(r){const e=document.createElement("div");e.id="examples-container";const t=r.querySelector("#examples");return t?t.after(e):r.appendChild(e),e}function Fo(r){return r.children?Uo(r):r}const Ho=`<h1 id="@cas-smartdesign/relation">@cas-smartdesign/relation</h1>
170
+ `)&&(r=`\r
171
+ `),this.css+=r+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let r=this.toUrl(this.path(t.file)),c=t.root||a(t.file),h;this.mapOpts.sourcesContent===!1?(h=new n(t.text),h.sourcesContent&&(h.sourcesContent=null)):h=t.consumer(),this.map.applySourceMap(h,r,this.toUrl(this.path(c)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let r=this.root.nodes.length-1;r>=0;r--)t=this.root.nodes[r],t.type==="comment"&&t.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&v&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,r=>{t+=r}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=u.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,r=1,c="<no source>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},p,E;this.stringify(this.root,(S,w,y)=>{if(this.css+=S,w&&y!=="end"&&(h.generated.line=t,h.generated.column=r-1,w.source&&w.source.start?(h.source=this.sourcePath(w),h.original.line=w.source.start.line,h.original.column=w.source.start.column-1,this.map.addMapping(h)):(h.source=c,h.original.line=1,h.original.column=0,this.map.addMapping(h))),E=S.match(/\n/g),E?(t+=E.length,p=S.lastIndexOf(`
172
+ `),r=S.length-p):r+=S.length,w&&y!=="start"){let m=w.parent||{raws:{}};(!(w.type==="decl"||w.type==="atrule"&&!w.nodes)||w!==m.last||m.raws.semicolon)&&(w.source&&w.source.end?(h.source=this.sourcePath(w),h.original.line=w.source.end.line,h.original.column=w.source.end.column-1,h.generated.line=t,h.generated.column=r-2,this.map.addMapping(h)):(h.source=c,h.original.line=1,h.original.column=0,h.generated.line=t,h.generated.column=r-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let r=this.memoizedPaths.get(t);if(r)return r;let c=this.opts.to?a(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(c=a(b(c,this.mapOpts.annotation)));let h=d(c,t);return this.memoizedPaths.set(t,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let r=t.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let t=new g(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(r=>{if(r.source){let c=r.source.input.from;if(c&&!t[c]){t[c]=!0;let h=this.usesFileUrls?this.toFileUrl(c):this.toUrl(this.path(c));this.map.setSourceContent(h,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let r=this.memoizedFileURLs.get(t);if(r)return r;if(o){let c=o(t).toString();return this.memoizedFileURLs.set(t,c),c}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let r=this.memoizedURLs.get(t);if(r)return r;f==="\\"&&(t=t.replace(/\\/g,"/"));let c=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,c),c}}return _t=e,_t}var Rt,_r;function Vn(){if(_r)return Rt;_r=1;const a=39,d=34,b=92,f=47,n=10,u=32,o=12,g=9,v=13,l=91,e=93,i=40,t=41,r=123,c=125,h=59,p=42,E=58,S=64,w=/[\t\n\f\r "#'()/;[\\\]{}]/g,y=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,m=/.[\r\n"'(/\\]/,O=/[\da-f]/i;return Rt=function(j,U={}){let P=j.css.valueOf(),K=U.ignoreErrors,q,be,ae,N,Ee,W,Q,ie,se,de,ye=P.length,z=0,Re=[],Se=[];function et(){return z}function Ae(pe){throw j.error("Unclosed "+pe,z)}function tt(){return Se.length===0&&z>=ye}function Oe(pe){if(Se.length)return Se.pop();if(z>=ye)return;let Ce=pe?pe.ignoreUnclosed:!1;switch(q=P.charCodeAt(z),q){case n:case u:case g:case v:case o:{N=z;do N+=1,q=P.charCodeAt(N);while(q===u||q===n||q===g||q===v||q===o);W=["space",P.slice(z,N)],z=N-1;break}case l:case e:case r:case c:case E:case h:case t:{let je=String.fromCharCode(q);W=[je,je,z];break}case i:{if(de=Re.length?Re.pop()[1]:"",se=P.charCodeAt(z+1),de==="url"&&se!==a&&se!==d&&se!==u&&se!==n&&se!==g&&se!==o&&se!==v){N=z;do{if(Q=!1,N=P.indexOf(")",N+1),N===-1)if(K||Ce){N=z;break}else Ae("bracket");for(ie=N;P.charCodeAt(ie-1)===b;)ie-=1,Q=!Q}while(Q);W=["brackets",P.slice(z,N+1),z,N],z=N}else N=P.indexOf(")",z+1),be=P.slice(z,N+1),N===-1||m.test(be)?W=["(","(",z]:(W=["brackets",be,z,N],z=N);break}case a:case d:{Ee=q===a?"'":'"',N=z;do{if(Q=!1,N=P.indexOf(Ee,N+1),N===-1)if(K||Ce){N=z+1;break}else Ae("string");for(ie=N;P.charCodeAt(ie-1)===b;)ie-=1,Q=!Q}while(Q);W=["string",P.slice(z,N+1),z,N],z=N;break}case S:{w.lastIndex=z+1,w.test(P),w.lastIndex===0?N=P.length-1:N=w.lastIndex-2,W=["at-word",P.slice(z,N+1),z,N],z=N;break}case b:{for(N=z,ae=!0;P.charCodeAt(N+1)===b;)N+=1,ae=!ae;if(q=P.charCodeAt(N+1),ae&&q!==f&&q!==u&&q!==n&&q!==g&&q!==v&&q!==o&&(N+=1,O.test(P.charAt(N)))){for(;O.test(P.charAt(N+1));)N+=1;P.charCodeAt(N+1)===u&&(N+=1)}W=["word",P.slice(z,N+1),z,N],z=N;break}default:{q===f&&P.charCodeAt(z+1)===p?(N=P.indexOf("*/",z+2)+1,N===0&&(K||Ce?N=P.length:Ae("comment")),W=["comment",P.slice(z,N+1),z,N],z=N):(y.lastIndex=z+1,y.test(P),y.lastIndex===0?N=P.length-1:N=y.lastIndex-2,W=["word",P.slice(z,N+1),z,N],Re.push(W),z=N);break}}return z++,W}function rt(pe){Se.push(pe)}return{back:rt,endOfFile:tt,nextToken:Oe,position:et}},Rt}var At,Rr;function Xn(){if(Rr)return At;Rr=1;let a=Ut(),d=Ve(),b=Xe(),f=Ie(),n=$t(),u=Vn();const o={empty:!0,space:!0};function g(l){for(let e=l.length-1;e>=0;e--){let i=l[e],t=i[3]||i[2];if(t)return t}}class v{constructor(e){this.input=e,this.root=new f,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let i=new a;i.name=e[1].slice(1),i.name===""&&this.unnamedAtrule(i,e),this.init(i,e[2]);let t,r,c,h=!1,p=!1,E=[],S=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),t=e[0],t==="("||t==="["?S.push(t==="("?")":"]"):t==="{"&&S.length>0?S.push("}"):t===S[S.length-1]&&S.pop(),S.length===0)if(t===";"){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}else if(t==="{"){p=!0;break}else if(t==="}"){if(E.length>0){for(c=E.length-1,r=E[c];r&&r[0]==="space";)r=E[--c];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}else E.push(e);else E.push(e);if(this.tokenizer.endOfFile()){h=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(E),E.length?(i.raws.afterName=this.spacesAndCommentsFromStart(E),this.raw(i,"params",E),h&&(e=E[E.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),p&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let i=this.colon(e);if(i===!1)return;let t=0,r;for(let c=i-1;c>=0&&(r=e[c],!(r[0]!=="space"&&(t+=1,t===2)));c--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(e){let i=0,t,r,c;for(let[h,p]of e.entries()){if(r=p,c=r[0],c==="("&&(i+=1),c===")"&&(i-=1),i===0&&c===":")if(!t)this.doubleColon(r);else{if(t[0]==="word"&&t[1]==="progid")continue;return h}t=r}return!1}comment(e){let i=new d;this.init(i,e[2]),i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++;let t=e[1].slice(2,-2);if(/^\s*$/.test(t))i.text="",i.raws.left=t,i.raws.right="";else{let r=t.match(/^(\s*)([^]*\S)(\s*)$/);i.text=r[2],i.raws.left=r[1],i.raws.right=r[3]}}createTokenizer(){this.tokenizer=u(this.input)}decl(e,i){let t=new b;this.init(t,e[0][2]);let r=e[e.length-1];for(r[0]===";"&&(this.semicolon=!0,e.pop()),t.source.end=this.getPosition(r[3]||r[2]||g(e)),t.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start=this.getPosition(e[0][2]),t.prop="";e.length;){let S=e[0][0];if(S===":"||S==="space"||S==="comment")break;t.prop+=e.shift()[1]}t.raws.between="";let c;for(;e.length;)if(c=e.shift(),c[0]===":"){t.raws.between+=c[1];break}else c[0]==="word"&&/\w/.test(c[1])&&this.unknownWord([c]),t.raws.between+=c[1];(t.prop[0]==="_"||t.prop[0]==="*")&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1));let h=[],p;for(;e.length&&(p=e[0][0],!(p!=="space"&&p!=="comment"));)h.push(e.shift());this.precheckMissedSemicolon(e);for(let S=e.length-1;S>=0;S--){if(c=e[S],c[1].toLowerCase()==="!important"){t.important=!0;let w=this.stringFrom(e,S);w=this.spacesFromEnd(e)+w,w!==" !important"&&(t.raws.important=w);break}else if(c[1].toLowerCase()==="important"){let w=e.slice(0),y="";for(let m=S;m>0;m--){let O=w[m][0];if(y.trim().startsWith("!")&&O!=="space")break;y=w.pop()[1]+y}y.trim().startsWith("!")&&(t.important=!0,t.raws.important=y,e=w)}if(c[0]!=="space"&&c[0]!=="comment")break}e.some(S=>S[0]!=="space"&&S[0]!=="comment")&&(t.raws.between+=h.map(S=>S[1]).join(""),h=[]),this.raw(t,"value",h.concat(e),i),t.value.includes(":")&&!i&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let i=new n;this.init(i,e[2]),i.selector="",i.raws.between="",this.current=i}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let i=this.current.nodes[this.current.nodes.length-1];i&&i.type==="rule"&&!i.raws.ownSemicolon&&(i.raws.ownSemicolon=this.spaces,this.spaces="",i.source.end=this.getPosition(e[2]),i.source.end.offset+=i.raws.ownSemicolon.length)}}getPosition(e){let i=this.input.fromOffset(e);return{column:i.col,line:i.line,offset:e}}init(e,i){this.current.push(e),e.source={input:this.input,start:this.getPosition(i)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let i=!1,t=null,r=!1,c=null,h=[],p=e[1].startsWith("--"),E=[],S=e;for(;S;){if(t=S[0],E.push(S),t==="("||t==="[")c||(c=S),h.push(t==="("?")":"]");else if(p&&r&&t==="{")c||(c=S),h.push("}");else if(h.length===0)if(t===";")if(r){this.decl(E,p);return}else break;else if(t==="{"){this.rule(E);return}else if(t==="}"){this.tokenizer.back(E.pop()),i=!0;break}else t===":"&&(r=!0);else t===h[h.length-1]&&(h.pop(),h.length===0&&(c=null));S=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(i=!0),h.length>0&&this.unclosedBracket(c),i&&r){if(!p)for(;E.length&&(S=E[E.length-1][0],!(S!=="space"&&S!=="comment"));)this.tokenizer.back(E.pop());this.decl(E,p)}else this.unknownWord(E)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,i,t,r){let c,h,p=t.length,E="",S=!0,w,y;for(let m=0;m<p;m+=1)c=t[m],h=c[0],h==="space"&&m===p-1&&!r?S=!1:h==="comment"?(y=t[m-1]?t[m-1][0]:"empty",w=t[m+1]?t[m+1][0]:"empty",!o[y]&&!o[w]?E.slice(-1)===","?S=!1:E+=c[1]:S=!1):E+=c[1];if(!S){let m=t.reduce((O,A)=>O+A[1],"");e.raws[i]={raw:m,value:E}}e[i]=E}rule(e){e.pop();let i=new n;this.init(i,e[0][2]),i.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(i,"selector",e),this.current=i}spacesAndCommentsFromEnd(e){let i,t="";for(;e.length&&(i=e[e.length-1][0],!(i!=="space"&&i!=="comment"));)t=e.pop()[1]+t;return t}spacesAndCommentsFromStart(e){let i,t="";for(;e.length&&(i=e[0][0],!(i!=="space"&&i!=="comment"));)t+=e.shift()[1];return t}spacesFromEnd(e){let i,t="";for(;e.length&&(i=e[e.length-1][0],i==="space");)t=e.pop()[1]+t;return t}stringFrom(e,i){let t="";for(let r=i;r<e.length;r++)t+=e[r][1];return e.splice(i,e.length-i),t}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,i){throw this.input.error("At-rule without name",{offset:i[2]},{offset:i[2]+i[1].length})}}return At=v,At}var Ct,Ar;function qt(){if(Ar)return Ct;Ar=1;let a=ve(),d=Qe(),b=Xn();function f(n,u){let o=new d(n,u),g=new b(o);try{g.parse()}catch(v){throw v}return g.root}return Ct=f,f.default=f,a.registerParse(f),Ct}var Nt,Cr;function qr(){if(Cr)return Nt;Cr=1;class a{constructor(b,f={}){if(this.type="warning",this.text=b,f.node&&f.node.source){let n=f.node.rangeBy(f);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in f)this[n]=f[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Nt=a,a.default=a,Nt}var Mt,Nr;function Ht(){if(Nr)return Mt;Nr=1;let a=qr();class d{get content(){return this.css}constructor(f,n,u){this.processor=f,this.messages=[],this.root=n,this.opts=u,this.css="",this.map=void 0}toString(){return this.css}warn(f,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let u=new a(f,n);return this.messages.push(u),u}warnings(){return this.messages.filter(f=>f.type==="warning")}}return Mt=d,d.default=d,Mt}var Tt,Mr;function Hr(){if(Mr)return Tt;Mr=1;let a=ve(),d=Ft(),b=$r(),f=qt(),n=Ht(),u=Ie(),o=Je(),{isClean:g,my:v}=Dt();const l={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},i={Once:!0,postcssPlugin:!0,prepare:!0},t=0;function r(w){return typeof w=="object"&&typeof w.then=="function"}function c(w){let y=!1,m=l[w.type];return w.type==="decl"?y=w.prop.toLowerCase():w.type==="atrule"&&(y=w.name.toLowerCase()),y&&w.append?[m,m+"-"+y,t,m+"Exit",m+"Exit-"+y]:y?[m,m+"-"+y,m+"Exit",m+"Exit-"+y]:w.append?[m,t,m+"Exit"]:[m,m+"Exit"]}function h(w){let y;return w.type==="document"?y=["Document",t,"DocumentExit"]:w.type==="root"?y=["Root",t,"RootExit"]:y=c(w),{eventIndex:0,events:y,iterator:0,node:w,visitorIndex:0,visitors:[]}}function p(w){return w[g]=!1,w.nodes&&w.nodes.forEach(y=>p(y)),w}let E={};class S{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(y,m,O){this.stringified=!1,this.processed=!1;let A;if(typeof m=="object"&&m!==null&&(m.type==="root"||m.type==="document"))A=p(m);else if(m instanceof S||m instanceof n)A=p(m.root),m.map&&(typeof O.map>"u"&&(O.map={}),O.map.inline||(O.map.inline=!1),O.map.prev=m.map);else{let j=f;O.syntax&&(j=O.syntax.parse),O.parser&&(j=O.parser),j.parse&&(j=j.parse);try{A=j(m,O)}catch(U){this.processed=!0,this.error=U}A&&!A[v]&&a.rebuild(A)}this.result=new n(y,A,O),this.helpers={...E,postcss:E,result:this.result},this.plugins=this.processor.plugins.map(j=>typeof j=="object"&&j.prepare?{...j,...j.prepare(this.result)}:j)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(y){return this.async().catch(y)}finally(y){return this.async().then(y,y)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(y,m){let O=this.result.lastPlugin;try{m&&m.addToError(y),this.error=y,y.name==="CssSyntaxError"&&!y.plugin?(y.plugin=O.postcssPlugin,y.setMessage()):O.postcssVersion}catch(A){console&&console.error&&console.error(A)}return y}prepareVisitors(){this.listeners={};let y=(m,O,A)=>{this.listeners[O]||(this.listeners[O]=[]),this.listeners[O].push([m,A])};for(let m of this.plugins)if(typeof m=="object")for(let O in m){if(!e[O]&&/^[A-Z]/.test(O))throw new Error(`Unknown event ${O} in ${m.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!i[O])if(typeof m[O]=="object")for(let A in m[O])A==="*"?y(m,O,m[O][A]):y(m,O+"-"+A.toLowerCase(),m[O][A]);else typeof m[O]=="function"&&y(m,O,m[O])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let y=0;y<this.plugins.length;y++){let m=this.plugins[y],O=this.runOnRoot(m);if(r(O))try{await O}catch(A){throw this.handleError(A)}}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[g];){y[g]=!0;let m=[h(y)];for(;m.length>0;){let O=this.visitTick(m);if(r(O))try{await O}catch(A){let j=m[m.length-1].node;throw this.handleError(A,j)}}}if(this.listeners.OnceExit)for(let[m,O]of this.listeners.OnceExit){this.result.lastPlugin=m;try{if(y.type==="document"){let A=y.nodes.map(j=>O(j,this.helpers));await Promise.all(A)}else await O(y,this.helpers)}catch(A){throw this.handleError(A)}}}return this.processed=!0,this.stringify()}runOnRoot(y){this.result.lastPlugin=y;try{if(typeof y=="object"&&y.Once){if(this.result.root.type==="document"){let m=this.result.root.nodes.map(O=>y.Once(O,this.helpers));return r(m[0])?Promise.all(m):m}return y.Once(this.result.root,this.helpers)}else if(typeof y=="function")return y(this.result.root,this.result)}catch(m){throw this.handleError(m)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let y=this.result.opts,m=o;y.syntax&&(m=y.syntax.stringify),y.stringifier&&(m=y.stringifier),m.stringify&&(m=m.stringify);let A=new b(m,this.result.root,this.result.opts).generate();return this.result.css=A[0],this.result.map=A[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let y of this.plugins){let m=this.runOnRoot(y);if(r(m))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[g];)y[g]=!0,this.walkSync(y);if(this.listeners.OnceExit)if(y.type==="document")for(let m of y.nodes)this.visitSync(this.listeners.OnceExit,m);else this.visitSync(this.listeners.OnceExit,y)}return this.result}then(y,m){return this.async().then(y,m)}toString(){return this.css}visitSync(y,m){for(let[O,A]of y){this.result.lastPlugin=O;let j;try{j=A(m,this.helpers)}catch(U){throw this.handleError(U,m.proxyOf)}if(m.type!=="root"&&m.type!=="document"&&!m.parent)return!0;if(r(j))throw this.getAsyncError()}}visitTick(y){let m=y[y.length-1],{node:O,visitors:A}=m;if(O.type!=="root"&&O.type!=="document"&&!O.parent){y.pop();return}if(A.length>0&&m.visitorIndex<A.length){let[U,P]=A[m.visitorIndex];m.visitorIndex+=1,m.visitorIndex===A.length&&(m.visitors=[],m.visitorIndex=0),this.result.lastPlugin=U;try{return P(O.toProxy(),this.helpers)}catch(K){throw this.handleError(K,O)}}if(m.iterator!==0){let U=m.iterator,P;for(;P=O.nodes[O.indexes[U]];)if(O.indexes[U]+=1,!P[g]){P[g]=!0,y.push(h(P));return}m.iterator=0,delete O.indexes[U]}let j=m.events;for(;m.eventIndex<j.length;){let U=j[m.eventIndex];if(m.eventIndex+=1,U===t){O.nodes&&O.nodes.length&&(O[g]=!0,m.iterator=O.getIterator());return}else if(this.listeners[U]){m.visitors=this.listeners[U];return}}y.pop()}walkSync(y){y[g]=!0;let m=c(y);for(let O of m)if(O===t)y.nodes&&y.each(A=>{A[g]||this.walkSync(A)});else{let A=this.listeners[O];if(A&&this.visitSync(A,y.toProxy()))return}}warnings(){return this.sync().warnings()}}return S.registerPostcss=w=>{E=w},Tt=S,S.default=S,u.registerLazyResult(S),d.registerLazyResult(S),Tt}var Pt,Tr;function Qn(){if(Tr)return Pt;Tr=1;let a=$r(),d=qt();const b=Ht();let f=Je();class n{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let o,g=d;try{o=g(this._css,this._opts)}catch(v){this.error=v}if(this.error)throw this.error;return this._root=o,o}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(o,g,v){g=g.toString(),this.stringified=!1,this._processor=o,this._css=g,this._opts=v,this._map=void 0;let l,e=f;this.result=new b(this._processor,l,this._opts),this.result.css=g;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let t=new a(e,l,this._opts,g);if(t.isMap()){let[r,c]=t.generate();r&&(this.result.css=r),c&&(this.result.map=c)}else t.clearAnnotation(),this.result.css=t.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(o){return this.async().catch(o)}finally(o){return this.async().then(o,o)}sync(){if(this.error)throw this.error;return this.result}then(o,g){return this.async().then(o,g)}toString(){return this._css}warnings(){return[]}}return Pt=n,n.default=n,Pt}var It,Pr;function Yn(){if(Pr)return It;Pr=1;let a=Ft(),d=Hr(),b=Qn(),f=Ie();class n{constructor(o=[]){this.version="8.5.6",this.plugins=this.normalize(o)}normalize(o){let g=[];for(let v of o)if(v.postcss===!0?v=v():v.postcss&&(v=v.postcss),typeof v=="object"&&Array.isArray(v.plugins))g=g.concat(v.plugins);else if(typeof v=="object"&&v.postcssPlugin)g.push(v);else if(typeof v=="function")g.push(v);else if(!(typeof v=="object"&&(v.parse||v.stringify)))throw new Error(v+" is not a PostCSS plugin");return g}process(o,g={}){return!this.plugins.length&&!g.parser&&!g.stringifier&&!g.syntax?new b(this,o,g):new d(this,o,g)}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}}return It=n,n.default=n,f.registerProcessor(n),a.registerProcessor(n),It}var jt,Ir;function ei(){if(Ir)return jt;Ir=1;var a={};let d=Ut(),b=Ve(),f=ve(),n=Bt(),u=Xe(),o=Ft(),g=Kn(),v=Qe(),l=Hr(),e=Fr(),i=Ke(),t=qt(),r=Yn(),c=Ht(),h=Ie(),p=$t(),E=Je(),S=qr();function w(...y){return y.length===1&&Array.isArray(y[0])&&(y=y[0]),new r(y)}return w.plugin=function(m,O){let A=!1;function j(...P){console&&console.warn&&!A&&(A=!0,console.warn(m+`: postcss.plugin was deprecated. Migration guide:
173
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),a.LANG&&a.LANG.startsWith("cn")&&console.warn(m+`: 里面 postcss.plugin 被弃用. 迁移指南:
174
+ https://www.w3ctech.com/topic/2226`));let K=O(...P);return K.postcssPlugin=m,K.postcssVersion=new r().version,K}let U;return Object.defineProperty(j,"postcss",{get(){return U||(U=j()),U}}),j.process=function(P,K,q){return w([j(q)]).process(P,K)},j},w.stringify=E,w.parse=t,w.fromJSON=g,w.list=e,w.comment=y=>new b(y),w.atRule=y=>new d(y),w.decl=y=>new u(y),w.rule=y=>new p(y),w.root=y=>new h(y),w.document=y=>new o(y),w.CssSyntaxError=n,w.Declaration=u,w.Container=f,w.Processor=r,w.Document=o,w.Comment=b,w.Warning=S,w.AtRule=d,w.Result=c,w.Input=v,w.Rule=p,w.Root=h,w.Node=i,l.registerPostcss(w),jt=w,w.default=w,jt}var ti=ei();const J=Br(ti);J.stringify;J.fromJSON;J.plugin;J.parse;J.list;J.document;J.comment;J.atRule;J.rule;J.decl;J.root;J.CssSyntaxError;J.Declaration;J.Container;J.Processor;J.Document;J.Comment;J.Warning;J.AtRule;J.Result;J.Input;J.Rule;J.Root;J.Node;var Lt,jr;function ri(){if(jr)return Lt;jr=1;const a=(f={})=>{const n=f.prefix,u=/\s+$/.test(n)?n:`${n} `,o=f.ignoreFiles?[].concat(f.ignoreFiles):[],g=f.includeFiles?[].concat(f.includeFiles):[];return{postcssPlugin:"postcss-prefix-selector",prepare(v){const l=v.root,e=l.source.input.file;if(!(o.length&&e&&d(e,o))&&!(g.length&&e&&!d(e,g)))return{Rule(i,{result:t}){const r=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];i.parent&&r.includes(i.parent.name)||(i.selectors=i.selectors.map(c=>f.exclude&&b(c,f.exclude)?c:f.transform?f.transform(n,c,u+c,l.source.input.file,i):[":root","body","html"].some(h=>c.startsWith(h))?f.skipGlobalSelectors?c:c.replace(/(html\s+body|:root\s+body|html|:root|body)/gm,n):u+c))}}}}};function d(f,n){return n.some(u=>u instanceof RegExp?u.test(f):f.includes(u))}function b(f,n){return n.some(u=>u instanceof RegExp?u.test(f):f===u)}return a.postcss=!0,Lt=a,Lt}var ni=ri();const ii=Br(ni),si="code{white-space:pre}.example{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;gap:16px}.example>*{flex:1 1 500px}.example .tab-control{overflow:hidden}.example div[role=tab]{cursor:pointer;padding:8px 16px;display:inline-block;font-size:16px;border-bottom:2px solid transparent;background-clip:padding-box;-webkit-user-select:none;user-select:none}.example div[role=tab]:hover{background-color:#1467ba14}.example div[role=tab][selected]{background-color:#1467ba21;border-bottom:2px solid #1467ba}.tab-content{margin:16px 0}.tab-content>pre{padding-top:0}.tab-content.code{max-height:500px;overflow:auto}.tab-content.code pre{margin:0}",oi="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}";function ai(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var zt,Lr;function li(){if(Lr)return zt;Lr=1;function a(s){return s instanceof Map?s.clear=s.delete=s.set=function(){throw new Error("map is read-only")}:s instanceof Set&&(s.add=s.clear=s.delete=function(){throw new Error("set is read-only")}),Object.freeze(s),Object.getOwnPropertyNames(s).forEach(x=>{const R=s[x],D=typeof R;(D==="object"||D==="function")&&!Object.isFrozen(R)&&a(R)}),s}class d{constructor(x){x.data===void 0&&(x.data={}),this.data=x.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function b(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function f(s,...x){const R=Object.create(null);for(const D in s)R[D]=s[D];return x.forEach(function(D){for(const V in D)R[V]=D[V]}),R}const n="</span>",u=s=>!!s.scope,o=(s,{prefix:x})=>{if(s.startsWith("language:"))return s.replace("language:","language-");if(s.includes(".")){const R=s.split(".");return[`${x}${R.shift()}`,...R.map((D,V)=>`${D}${"_".repeat(V+1)}`)].join(" ")}return`${x}${s}`};class g{constructor(x,R){this.buffer="",this.classPrefix=R.classPrefix,x.walk(this)}addText(x){this.buffer+=b(x)}openNode(x){if(!u(x))return;const R=o(x.scope,{prefix:this.classPrefix});this.span(R)}closeNode(x){u(x)&&(this.buffer+=n)}value(){return this.buffer}span(x){this.buffer+=`<span class="${x}">`}}const v=(s={})=>{const x={children:[]};return Object.assign(x,s),x};class l{constructor(){this.rootNode=v(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(x){this.top.children.push(x)}openNode(x){const R=v({scope:x});this.add(R),this.stack.push(R)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(x){return this.constructor._walk(x,this.rootNode)}static _walk(x,R){return typeof R=="string"?x.addText(R):R.children&&(x.openNode(R),R.children.forEach(D=>this._walk(x,D)),x.closeNode(R)),x}static _collapse(x){typeof x!="string"&&x.children&&(x.children.every(R=>typeof R=="string")?x.children=[x.children.join("")]:x.children.forEach(R=>{l._collapse(R)}))}}class e extends l{constructor(x){super(),this.options=x}addText(x){x!==""&&this.add(x)}startScope(x){this.openNode(x)}endScope(){this.closeNode()}__addSublanguage(x,R){const D=x.root;R&&(D.scope=`language:${R}`),this.add(D)}toHTML(){return new g(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function i(s){return s?typeof s=="string"?s:s.source:null}function t(s){return h("(?=",s,")")}function r(s){return h("(?:",s,")*")}function c(s){return h("(?:",s,")?")}function h(...s){return s.map(x=>i(x)).join("")}function p(s){const x=s[s.length-1];return typeof x=="object"&&x.constructor===Object?(s.splice(s.length-1,1),x):{}}function E(...s){return"("+(p(s).capture?"":"?:")+s.map(x=>i(x)).join("|")+")"}function S(s){return new RegExp(s.toString()+"|").exec("").length-1}function w(s,x){const R=s&&s.exec(x);return R&&R.index===0}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(s,{joinWith:x}){let R=0;return s.map(D=>{R+=1;const V=R;let X=i(D),M="";for(;X.length>0;){const C=y.exec(X);if(!C){M+=X;break}M+=X.substring(0,C.index),X=X.substring(C.index+C[0].length),C[0][0]==="\\"&&C[1]?M+="\\"+String(Number(C[1])+V):(M+=C[0],C[0]==="("&&R++)}return M}).map(D=>`(${D})`).join(x)}const O=/\b\B/,A="[a-zA-Z]\\w*",j="[a-zA-Z_]\\w*",U="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",K="\\b(0b[01]+)",q="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",be=(s={})=>{const x=/^#![ ]*\//;return s.binary&&(s.begin=h(x,/.*\b/,s.binary,/\b.*/)),f({scope:"meta",begin:x,end:/$/,relevance:0,"on:begin":(R,D)=>{R.index!==0&&D.ignoreMatch()}},s)},ae={begin:"\\\\[\\s\\S]",relevance:0},N={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ae]},Ee={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ae]},W={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Q=function(s,x,R={}){const D=f({scope:"comment",begin:s,end:x,contains:[]},R);D.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const V=E("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return D.contains.push({begin:h(/[ ]+/,"(",V,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),D},ie=Q("//","$"),se=Q("/\\*","\\*/"),de=Q("#","$"),ye={scope:"number",begin:U,relevance:0},z={scope:"number",begin:P,relevance:0},Re={scope:"number",begin:K,relevance:0},Se={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ae,{begin:/\[/,end:/\]/,relevance:0,contains:[ae]}]},et={scope:"title",begin:A,relevance:0},Ae={scope:"title",begin:j,relevance:0},tt={begin:"\\.\\s*"+j,relevance:0};var Oe=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:ae,BINARY_NUMBER_MODE:Re,BINARY_NUMBER_RE:K,COMMENT:Q,C_BLOCK_COMMENT_MODE:se,C_LINE_COMMENT_MODE:ie,C_NUMBER_MODE:z,C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(s){return Object.assign(s,{"on:begin":(x,R)=>{R.data._beginMatch=x[1]},"on:end":(x,R)=>{R.data._beginMatch!==x[1]&&R.ignoreMatch()}})},HASH_COMMENT_MODE:de,IDENT_RE:A,MATCH_NOTHING_RE:O,METHOD_GUARD:tt,NUMBER_MODE:ye,NUMBER_RE:U,PHRASAL_WORDS_MODE:W,QUOTE_STRING_MODE:Ee,REGEXP_MODE:Se,RE_STARTERS_RE:q,SHEBANG:be,TITLE_MODE:et,UNDERSCORE_IDENT_RE:j,UNDERSCORE_TITLE_MODE:Ae});function rt(s,x){s.input[s.index-1]==="."&&x.ignoreMatch()}function pe(s,x){s.className!==void 0&&(s.scope=s.className,delete s.className)}function Ce(s,x){x&&s.beginKeywords&&(s.begin="\\b("+s.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",s.__beforeBegin=rt,s.keywords=s.keywords||s.beginKeywords,delete s.beginKeywords,s.relevance===void 0&&(s.relevance=0))}function je(s,x){Array.isArray(s.illegal)&&(s.illegal=E(...s.illegal))}function Yr(s,x){if(s.match){if(s.begin||s.end)throw new Error("begin & end are not supported with match");s.begin=s.match,delete s.match}}function en(s,x){s.relevance===void 0&&(s.relevance=1)}const tn=(s,x)=>{if(!s.beforeMatch)return;if(s.starts)throw new Error("beforeMatch cannot be used with starts");const R=Object.assign({},s);Object.keys(s).forEach(D=>{delete s[D]}),s.keywords=R.keywords,s.begin=h(R.beforeMatch,t(R.begin)),s.starts={relevance:0,contains:[Object.assign(R,{endsParent:!0})]},s.relevance=0,delete R.beforeMatch},rn=["of","and","for","in","not","or","if","then","parent","list","value"],nn="keyword";function Wt(s,x,R=nn){const D=Object.create(null);return typeof s=="string"?V(R,s.split(" ")):Array.isArray(s)?V(R,s):Object.keys(s).forEach(function(X){Object.assign(D,Wt(s[X],x,X))}),D;function V(X,M){x&&(M=M.map(C=>C.toLowerCase())),M.forEach(function(C){const L=C.split("|");D[L[0]]=[X,sn(L[0],L[1])]})}}function sn(s,x){return x?Number(x):on(s)?0:1}function on(s){return rn.includes(s.toLowerCase())}const Gt={},we=s=>{console.error(s)},Zt=(s,...x)=>{console.log(`WARN: ${s}`,...x)},ke=(s,x)=>{Gt[`${s}/${x}`]||(console.log(`Deprecated as of ${s}. ${x}`),Gt[`${s}/${x}`]=!0)},Le=new Error;function Jt(s,x,{key:R}){let D=0;const V=s[R],X={},M={};for(let C=1;C<=x.length;C++)M[C+D]=V[C],X[C+D]=!0,D+=S(x[C-1]);s[R]=M,s[R]._emit=X,s[R]._multi=!0}function an(s){if(Array.isArray(s.begin)){if(s.skip||s.excludeBegin||s.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Le;if(typeof s.beginScope!="object"||s.beginScope===null)throw we("beginScope must be object"),Le;Jt(s,s.begin,{key:"beginScope"}),s.begin=m(s.begin,{joinWith:""})}}function ln(s){if(Array.isArray(s.end)){if(s.skip||s.excludeEnd||s.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Le;if(typeof s.endScope!="object"||s.endScope===null)throw we("endScope must be object"),Le;Jt(s,s.end,{key:"endScope"}),s.end=m(s.end,{joinWith:""})}}function cn(s){s.scope&&typeof s.scope=="object"&&s.scope!==null&&(s.beginScope=s.scope,delete s.scope)}function un(s){cn(s),typeof s.beginScope=="string"&&(s.beginScope={_wrap:s.beginScope}),typeof s.endScope=="string"&&(s.endScope={_wrap:s.endScope}),an(s),ln(s)}function hn(s){function x(M,C){return new RegExp(i(M),"m"+(s.case_insensitive?"i":"")+(s.unicodeRegex?"u":"")+(C?"g":""))}class R{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(C,L){L.position=this.position++,this.matchIndexes[this.matchAt]=L,this.regexes.push([L,C]),this.matchAt+=S(C)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const C=this.regexes.map(L=>L[1]);this.matcherRe=x(m(C,{joinWith:"|"}),!0),this.lastIndex=0}exec(C){this.matcherRe.lastIndex=this.lastIndex;const L=this.matcherRe.exec(C);if(!L)return null;const te=L.findIndex((Ne,it)=>it>0&&Ne!==void 0),Y=this.matchIndexes[te];return L.splice(0,te),Object.assign(L,Y)}}class D{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(C){if(this.multiRegexes[C])return this.multiRegexes[C];const L=new R;return this.rules.slice(C).forEach(([te,Y])=>L.addRule(te,Y)),L.compile(),this.multiRegexes[C]=L,L}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(C,L){this.rules.push([C,L]),L.type==="begin"&&this.count++}exec(C){const L=this.getMatcher(this.regexIndex);L.lastIndex=this.lastIndex;let te=L.exec(C);if(this.resumingScanAtSamePosition()&&!(te&&te.index===this.lastIndex)){const Y=this.getMatcher(0);Y.lastIndex=this.lastIndex+1,te=Y.exec(C)}return te&&(this.regexIndex+=te.position+1,this.regexIndex===this.count&&this.considerAll()),te}}function V(M){const C=new D;return M.contains.forEach(L=>C.addRule(L.begin,{rule:L,type:"begin"})),M.terminatorEnd&&C.addRule(M.terminatorEnd,{type:"end"}),M.illegal&&C.addRule(M.illegal,{type:"illegal"}),C}function X(M,C){const L=M;if(M.isCompiled)return L;[pe,Yr,un,tn].forEach(Y=>Y(M,C)),s.compilerExtensions.forEach(Y=>Y(M,C)),M.__beforeBegin=null,[Ce,je,en].forEach(Y=>Y(M,C)),M.isCompiled=!0;let te=null;return typeof M.keywords=="object"&&M.keywords.$pattern&&(M.keywords=Object.assign({},M.keywords),te=M.keywords.$pattern,delete M.keywords.$pattern),te=te||/\w+/,M.keywords&&(M.keywords=Wt(M.keywords,s.case_insensitive)),L.keywordPatternRe=x(te,!0),C&&(M.begin||(M.begin=/\B|\b/),L.beginRe=x(L.begin),!M.end&&!M.endsWithParent&&(M.end=/\B|\b/),M.end&&(L.endRe=x(L.end)),L.terminatorEnd=i(L.end)||"",M.endsWithParent&&C.terminatorEnd&&(L.terminatorEnd+=(M.end?"|":"")+C.terminatorEnd)),M.illegal&&(L.illegalRe=x(M.illegal)),M.contains||(M.contains=[]),M.contains=[].concat(...M.contains.map(function(Y){return fn(Y==="self"?M:Y)})),M.contains.forEach(function(Y){X(Y,L)}),M.starts&&X(M.starts,C),L.matcher=V(L),L}if(s.compilerExtensions||(s.compilerExtensions=[]),s.contains&&s.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return s.classNameAliases=f(s.classNameAliases||{}),X(s)}function Kt(s){return s?s.endsWithParent||Kt(s.starts):!1}function fn(s){return s.variants&&!s.cachedVariants&&(s.cachedVariants=s.variants.map(function(x){return f(s,{variants:null},x)})),s.cachedVariants?s.cachedVariants:Kt(s)?f(s,{starts:s.starts?f(s.starts):null}):Object.isFrozen(s)?f(s):s}var dn="11.11.1";class pn extends Error{constructor(x,R){super(x),this.name="HTMLInjectionError",this.html=R}}const nt=b,Vt=f,Xt=Symbol("nomatch"),gn=7,Qt=function(s){const x=Object.create(null),R=Object.create(null),D=[];let V=!0;const X="Could not find the language '{}', did you forget to load/include a language module?",M={disableAutodetect:!0,name:"Plain text",contains:[]};let C={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:e};function L(k){return C.noHighlightRe.test(k)}function te(k){let I=k.className+" ";I+=k.parentNode?k.parentNode.className:"";const $=C.languageDetectRe.exec(I);if($){const G=ge($[1]);return G||(Zt(X.replace("{}",$[1])),Zt("Falling back to no-highlight mode for this block.",k)),G?$[1]:"no-highlight"}return I.split(/\s+/).find(G=>L(G)||ge(G))}function Y(k,I,$){let G="",ee="";typeof I=="object"?(G=k,$=I.ignoreIllegals,ee=I.language):(ke("10.7.0","highlight(lang, code, ...args) has been deprecated."),ke("10.7.0",`Please use highlight(code, options) instead.
175
+ https://github.com/highlightjs/highlight.js/issues/2277`),ee=k,G=I),$===void 0&&($=!0);const ce={code:G,language:ee};Be("before:highlight",ce);const me=ce.result?ce.result:Ne(ce.language,ce.code,$);return me.code=ce.code,Be("after:highlight",me),me}function Ne(k,I,$,G){const ee=Object.create(null);function ce(_,T){return _.keywords[T]}function me(){if(!B.keywords){re.addText(Z);return}let _=0;B.keywordPatternRe.lastIndex=0;let T=B.keywordPatternRe.exec(Z),F="";for(;T;){F+=Z.substring(_,T.index);const H=he.case_insensitive?T[0].toLowerCase():T[0],ne=ce(B,H);if(ne){const[fe,Tn]=ne;if(re.addText(F),F="",ee[H]=(ee[H]||0)+1,ee[H]<=gn&&(Fe+=Tn),fe.startsWith("_"))F+=T[0];else{const Pn=he.classNameAliases[fe]||fe;ue(T[0],Pn)}}else F+=T[0];_=B.keywordPatternRe.lastIndex,T=B.keywordPatternRe.exec(Z)}F+=Z.substring(_),re.addText(F)}function De(){if(Z==="")return;let _=null;if(typeof B.subLanguage=="string"){if(!x[B.subLanguage]){re.addText(Z);return}_=Ne(B.subLanguage,Z,!0,or[B.subLanguage]),or[B.subLanguage]=_._top}else _=st(Z,B.subLanguage.length?B.subLanguage:null);B.relevance>0&&(Fe+=_.relevance),re.__addSublanguage(_._emitter,_.language)}function oe(){B.subLanguage!=null?De():me(),Z=""}function ue(_,T){_!==""&&(re.startScope(T),re.addText(_),re.endScope())}function rr(_,T){let F=1;const H=T.length-1;for(;F<=H;){if(!_._emit[F]){F++;continue}const ne=he.classNameAliases[_[F]]||_[F],fe=T[F];ne?ue(fe,ne):(Z=fe,me(),Z=""),F++}}function nr(_,T){return _.scope&&typeof _.scope=="string"&&re.openNode(he.classNameAliases[_.scope]||_.scope),_.beginScope&&(_.beginScope._wrap?(ue(Z,he.classNameAliases[_.beginScope._wrap]||_.beginScope._wrap),Z=""):_.beginScope._multi&&(rr(_.beginScope,T),Z="")),B=Object.create(_,{parent:{value:B}}),B}function ir(_,T,F){let H=w(_.endRe,F);if(H){if(_["on:end"]){const ne=new d(_);_["on:end"](T,ne),ne.isMatchIgnored&&(H=!1)}if(H){for(;_.endsParent&&_.parent;)_=_.parent;return _}}if(_.endsWithParent)return ir(_.parent,T,F)}function Rn(_){return B.matcher.regexIndex===0?(Z+=_[0],1):(ct=!0,0)}function An(_){const T=_[0],F=_.rule,H=new d(F),ne=[F.__beforeBegin,F["on:begin"]];for(const fe of ne)if(fe&&(fe(_,H),H.isMatchIgnored))return Rn(T);return F.skip?Z+=T:(F.excludeBegin&&(Z+=T),oe(),!F.returnBegin&&!F.excludeBegin&&(Z=T)),nr(F,_),F.returnBegin?0:T.length}function Cn(_){const T=_[0],F=I.substring(_.index),H=ir(B,_,F);if(!H)return Xt;const ne=B;B.endScope&&B.endScope._wrap?(oe(),ue(T,B.endScope._wrap)):B.endScope&&B.endScope._multi?(oe(),rr(B.endScope,_)):ne.skip?Z+=T:(ne.returnEnd||ne.excludeEnd||(Z+=T),oe(),ne.excludeEnd&&(Z=T));do B.scope&&re.closeNode(),!B.skip&&!B.subLanguage&&(Fe+=B.relevance),B=B.parent;while(B!==H.parent);return H.starts&&nr(H.starts,_),ne.returnEnd?0:T.length}function Nn(){const _=[];for(let T=B;T!==he;T=T.parent)T.scope&&_.unshift(T.scope);_.forEach(T=>re.openNode(T))}let Ue={};function sr(_,T){const F=T&&T[0];if(Z+=_,F==null)return oe(),0;if(Ue.type==="begin"&&T.type==="end"&&Ue.index===T.index&&F===""){if(Z+=I.slice(T.index,T.index+1),!V){const H=new Error(`0 width match regex (${k})`);throw H.languageName=k,H.badRule=Ue.rule,H}return 1}if(Ue=T,T.type==="begin")return An(T);if(T.type==="illegal"&&!$){const H=new Error('Illegal lexeme "'+F+'" for mode "'+(B.scope||"<unnamed>")+'"');throw H.mode=B,H}else if(T.type==="end"){const H=Cn(T);if(H!==Xt)return H}if(T.type==="illegal"&&F==="")return Z+=`
176
+ `,1;if(lt>1e5&&lt>T.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=F,F.length}const he=ge(k);if(!he)throw we(X.replace("{}",k)),new Error('Unknown language: "'+k+'"');const Mn=hn(he);let at="",B=G||Mn;const or={},re=new C.__emitter(C);Nn();let Z="",Fe=0,xe=0,lt=0,ct=!1;try{if(he.__emitTokens)he.__emitTokens(I,re);else{for(B.matcher.considerAll();;){lt++,ct?ct=!1:B.matcher.considerAll(),B.matcher.lastIndex=xe;const _=B.matcher.exec(I);if(!_)break;const T=I.substring(xe,_.index),F=sr(T,_);xe=_.index+F}sr(I.substring(xe))}return re.finalize(),at=re.toHTML(),{language:k,value:at,relevance:Fe,illegal:!1,_emitter:re,_top:B}}catch(_){if(_.message&&_.message.includes("Illegal"))return{language:k,value:nt(I),illegal:!0,relevance:0,_illegalBy:{message:_.message,index:xe,context:I.slice(xe-100,xe+100),mode:_.mode,resultSoFar:at},_emitter:re};if(V)return{language:k,value:nt(I),illegal:!1,relevance:0,errorRaised:_,_emitter:re,_top:B};throw _}}function it(k){const I={value:nt(k),illegal:!1,relevance:0,_top:M,_emitter:new C.__emitter(C)};return I._emitter.addText(k),I}function st(k,I){I=I||C.languages||Object.keys(x);const $=it(k),G=I.filter(ge).filter(tr).map(oe=>Ne(oe,k,!1));G.unshift($);const ee=G.sort((oe,ue)=>{if(oe.relevance!==ue.relevance)return ue.relevance-oe.relevance;if(oe.language&&ue.language){if(ge(oe.language).supersetOf===ue.language)return 1;if(ge(ue.language).supersetOf===oe.language)return-1}return 0}),[ce,me]=ee,De=ce;return De.secondBest=me,De}function mn(k,I,$){const G=I&&R[I]||$;k.classList.add("hljs"),k.classList.add(`language-${G}`)}function ot(k){let I=null;const $=te(k);if(L($))return;if(Be("before:highlightElement",{el:k,language:$}),k.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",k);return}if(k.children.length>0&&(C.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(k)),C.throwUnescapedHTML))throw new pn("One of your code blocks includes unescaped HTML.",k.innerHTML);I=k;const G=I.textContent,ee=$?Y(G,{language:$,ignoreIllegals:!0}):st(G);k.innerHTML=ee.value,k.dataset.highlighted="yes",mn(k,$,ee.language),k.result={language:ee.language,re:ee.relevance,relevance:ee.relevance},ee.secondBest&&(k.secondBest={language:ee.secondBest.language,relevance:ee.secondBest.relevance}),Be("after:highlightElement",{el:k,result:ee,text:G})}function bn(k){C=Vt(C,k)}const yn=()=>{ze(),ke("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function wn(){ze(),ke("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Yt=!1;function ze(){function k(){ze()}if(document.readyState==="loading"){Yt||window.addEventListener("DOMContentLoaded",k,!1),Yt=!0;return}document.querySelectorAll(C.cssSelector).forEach(ot)}function xn(k,I){let $=null;try{$=I(s)}catch(G){if(we("Language definition for '{}' could not be registered.".replace("{}",k)),V)we(G);else throw G;$=M}$.name||($.name=k),x[k]=$,$.rawDefinition=I.bind(null,s),$.aliases&&er($.aliases,{languageName:k})}function vn(k){delete x[k];for(const I of Object.keys(R))R[I]===k&&delete R[I]}function En(){return Object.keys(x)}function ge(k){return k=(k||"").toLowerCase(),x[k]||x[R[k]]}function er(k,{languageName:I}){typeof k=="string"&&(k=[k]),k.forEach($=>{R[$.toLowerCase()]=I})}function tr(k){const I=ge(k);return I&&!I.disableAutodetect}function Sn(k){k["before:highlightBlock"]&&!k["before:highlightElement"]&&(k["before:highlightElement"]=I=>{k["before:highlightBlock"](Object.assign({block:I.el},I))}),k["after:highlightBlock"]&&!k["after:highlightElement"]&&(k["after:highlightElement"]=I=>{k["after:highlightBlock"](Object.assign({block:I.el},I))})}function On(k){Sn(k),D.push(k)}function kn(k){const I=D.indexOf(k);I!==-1&&D.splice(I,1)}function Be(k,I){const $=k;D.forEach(function(G){G[$]&&G[$](I)})}function _n(k){return ke("10.7.0","highlightBlock will be removed entirely in v12.0"),ke("10.7.0","Please use highlightElement now."),ot(k)}Object.assign(s,{highlight:Y,highlightAuto:st,highlightAll:ze,highlightElement:ot,highlightBlock:_n,configure:bn,initHighlighting:yn,initHighlightingOnLoad:wn,registerLanguage:xn,unregisterLanguage:vn,listLanguages:En,getLanguage:ge,registerAliases:er,autoDetection:tr,inherit:Vt,addPlugin:On,removePlugin:kn}),s.debugMode=function(){V=!1},s.safeMode=function(){V=!0},s.versionString=dn,s.regex={concat:h,lookahead:t,either:E,optional:c,anyNumberOfTimes:r};for(const k in Oe)typeof Oe[k]=="object"&&a(Oe[k]);return Object.assign(s,Oe),s},_e=Qt({});return _e.newInstance=()=>Qt({}),zt=_e,_e.HighlightJS=_e,_e.default=_e,zt}var ci=li();const Ye=ai(ci),Ge="[A-Za-z$_][0-9A-Za-z$_]*",Wr=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Gr=["true","false","null","undefined","NaN","Infinity"],Zr=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Jr=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Kr=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Vr=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Xr=[].concat(Kr,Zr,Jr);function ui(a){const d=a.regex,b=(W,{after:Q})=>{const ie="</"+W[0].slice(1);return W.input.indexOf(ie,Q)!==-1},f=Ge,n={begin:"<>",end:"</>"},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(W,Q)=>{const ie=W[0].length+W.index,se=W.input[ie];if(se==="<"||se===","){Q.ignoreMatch();return}se===">"&&(b(W,{after:ie})||Q.ignoreMatch());let de;const ye=W.input.substring(ie);if(de=ye.match(/^\s*=/)){Q.ignoreMatch();return}if((de=ye.match(/^\s+extends\s+/))&&de.index===0){Q.ignoreMatch();return}}},g={$pattern:Ge,keyword:Wr,literal:Gr,built_in:Xr,"variable.language":Vr},v="[0-9](_?[0-9])*",l=`\\.(${v})`,e="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",i={className:"number",variants:[{begin:`(\\b(${e})((${l})|\\.)?|(${l}))[eE][+-]?(${v})\\b`},{begin:`\\b(${e})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},t={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},r={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[a.BACKSLASH_ESCAPE,t],subLanguage:"xml"}},c={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[a.BACKSLASH_ESCAPE,t],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[a.BACKSLASH_ESCAPE,t],subLanguage:"graphql"}},p={className:"string",begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE,t]},E={className:"comment",variants:[a.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),a.C_BLOCK_COMMENT_MODE,a.C_LINE_COMMENT_MODE]},S=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,r,c,h,p,{match:/\$\d+/},i];t.contains=S.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(S)});const w=[].concat(E,t.contains),y=w.concat([{begin:/(\s*)\(/,end:/\)/,keywords:g,contains:["self"].concat(w)}]),m={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:y},O={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,d.concat(f,"(",d.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Zr,...Jr]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},U={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[m],illegal:/%/},P={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function K(W){return d.concat("(?!",W.join("|"),")")}const q={match:d.concat(/\b/,K([...Kr,"super","import"].map(W=>`${W}\\s*\\(`)),f,d.lookahead(/\s*\(/)),className:"title.function",relevance:0},be={begin:d.concat(/\./,d.lookahead(d.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ae={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},m]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+a.UNDERSCORE_IDENT_RE+")\\s*=>",Ee={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[m]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[a.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,r,c,h,p,E,{match:/\$\d+/},i,A,{scope:"attr",match:f+d.lookahead(":"),relevance:0},Ee,{begin:"("+a.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,a.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:a.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:n.begin,end:n.end},{match:u},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},U,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+a.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[m,a.inherit(a.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},be,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[m]},q,P,O,ae,{match:/\$[(.]/}]}}function hi(a){const d=a.regex,b=ui(a),f=Ge,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],u={begin:[/namespace/,/\s+/,a.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[b.exports.CLASS_REFERENCE]},g={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},v=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:Ge,keyword:Wr.concat(v),literal:Gr,built_in:Xr.concat(n),"variable.language":Vr},e={className:"meta",begin:"@"+f},i=(h,p,E)=>{const S=h.contains.findIndex(w=>w.label===p);if(S===-1)throw new Error("can not find mode to replace");h.contains.splice(S,1,E)};Object.assign(b.keywords,l),b.exports.PARAMS_CONTAINS.push(e);const t=b.contains.find(h=>h.scope==="attr"),r=Object.assign({},t,{match:d.concat(f,d.lookahead(/\s*\?:/))});b.exports.PARAMS_CONTAINS.push([b.exports.CLASS_REFERENCE,t,r]),b.contains=b.contains.concat([e,u,o,r]),i(b,"shebang",a.SHEBANG()),i(b,"use_strict",g);const c=b.contains.find(h=>h.label==="func.def");return c.relevance=0,Object.assign(b,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),b}function fi(a){const d=a.regex,b=d.concat(/[\p{L}_]/u,d.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),f=/[\p{L}0-9._:-]+/u,n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=a.inherit(u,{begin:/\(/,end:/\)/}),g=a.inherit(a.APOS_STRING_MODE,{className:"string"}),v=a.inherit(a.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:f,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[u,v,g,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[u,o,v,g]}]}]},a.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[v]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:d.concat(/</,d.lookahead(d.concat(b,d.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:b,relevance:0,starts:l}]},{className:"tag",begin:d.concat(/<\//,d.lookahead(d.concat(b,/>/))),contains:[{className:"name",begin:b,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const di=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),pi=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],gi=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],mi=[...pi,...gi],bi=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),yi=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),wi=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),xi=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function vi(a){const d=a.regex,b=di(a),f={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n="and or not only",u=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",g=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[b.BLOCK_COMMENT,f,b.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},b.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+yi.join("|")+")"},{begin:":(:)?("+wi.join("|")+")"}]},b.CSS_VARIABLE,{className:"attribute",begin:"\\b("+xi.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[b.BLOCK_COMMENT,b.HEXCOLOR,b.IMPORTANT,b.CSS_NUMBER_MODE,...g,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...g,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},b.FUNCTION_DISPATCH]},{begin:d.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:bi.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...g,b.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+mi.join("|")+")\\b"}]}}const Qr=document.createElement("style");Qr.innerText=[si,oi].join(`
177
+ `);document.head.appendChild(Qr);Ye.registerLanguage("typescript",hi);Ye.registerLanguage("html",fi);Ye.registerLanguage("css",vi);function Ei(...a){const d=document.createElement("div"),b=document.createElement("div");b.classList.add("tab-control");const f=document.createElement("div");return a.forEach(n=>{d.appendChild(n),n.addEventListener("click",()=>{a.forEach(u=>u.removeAttribute("selected")),n.setAttribute("selected",""),f.innerHTML="",f.appendChild(n.content),f.className=n.className,f.classList.add("tab-content")})}),b.appendChild(d),b.appendChild(f),f.classList.add("tab-content"),a[0].setAttribute("selected",""),f.appendChild(a[0].content),b}function Me(a,d){const b=document.createElement("div");return b.role="tab",b.tabIndex=0,b.innerText=a,b.content=d,d.tagName=="PRE"&&b.classList.add("code"),b}function Pe(a,d){const b=document.createElement(a);return typeof d=="string"?b.innerHTML=d:d.forEach(f=>{b.appendChild(f)}),b}async function Si(a,d,b){const f=d.mainContent,n=Pe("div",f);n.id=`example-preview-${b}`;const u=typeof d.css=="string"?void 0:d.css?.label,o=typeof d.css=="string"?d.css:d.css?.content,g=Ei(Me("Preview",n),Me("HTML",He("html",f)),...o?[Me(u??"CSS",He("css",o))]:[],...d.initializer&&d.initializer.content?[Me(d.initializer.label??"TS",He("typescript",d.initializer.content))]:[],...(d.additionalSources||[]).map(l=>Me(l.label,He(l.language,l.content))));d.description&&a.appendChild(Pe("div",d.description));const v=Pe("div",[g]);v.classList.add("example"),a.appendChild(v),o&&Oi(`#${n.id}`,o),d.initializer?.initialize&&await d.initializer.initialize(n)}function He(a,d){let b=d.split(/\r?\n/).map(f=>{const n=f.indexOf("///");if(n>-1){const u=f.substring(n+3).trimStart();return u?f.replace(/^(\s*)([^\s].*)$/,`$1${u}`):void 0}return f}).filter(f=>typeof f<"u").join(`
178
+ `).trim();return a&&a!="raw"&&(b=Ye.highlight(b,{language:a}).value),Pe("pre",[Pe("code",b)])}function Oi(a,d){const b=document.createElement("style");b.innerHTML=J().use(ii({prefix:a})).process(d).css,document.head.appendChild(b)}async function ki(a,d=document.body){const b=Ri(d);let f=0;Object.keys(a).sort().forEach(async n=>{const u=document.createElement("div");u.className="example-container",b.appendChild(u);const o=a[n].default;Si(u,o,f++)})}function _i(a){const d=document.createElement("div");d.id="examples-container";const b=a.querySelector("#examples");return b?b.after(d):a.appendChild(d),d}function Ri(a){return a.children?_i(a):a}const Ai=`<h1 id="@cas-smartdesign/relation">@cas-smartdesign/relation</h1>
176
179
  <p>A custom element that is able to visualize a relation between two objects, considering the cardinality and a description</p>
177
180
  <h2 id="attributes">Attributes</h2>
178
181
  <ul>
@@ -218,5 +221,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),k=u,v=d),w===void 0&&(
218
221
  </code></pre>
219
222
  </li>
220
223
  </ul>
221
- <h2 id="examples">Examples</h2>
222
- `;document.querySelector("#markdown-container").innerHTML=Ho;Do(Object.assign({"./examples/1_read_only/index.ts":Tr,"./examples/2_editable/index.ts":Lr}));
224
+ `,Ci=document.querySelector("#markdown-container");Ci.innerHTML=Ai;ki(Object.assign({"./examples/1_read_only/index.ts":zn,"./examples/2_editable/index.ts":Fn}),document.querySelector(".markdown-body"));
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../element-base/element-base.ts", "../template.html?raw", "../relation.ts"],
3
+ "sources": ["../../element-base/element-base.ts", "../template.html", "../relation.ts"],
4
4
  "sourcesContent": ["export type IReadyEvent = void;\n\nexport interface CustomEventMap extends HTMLElementEventMap {\n ready: CustomEvent<IReadyEvent>;\n}\n\nexport interface ElementBase {\n addEventListener<K extends keyof CustomEventMap>(\n event: K,\n listener: ((this: this, ev: CustomEventMap[K]) => unknown) | null,\n options?: AddEventListenerOptions | boolean,\n ): void;\n addEventListener(\n type: string,\n callback: EventListenerOrEventListenerObject | null,\n options?: AddEventListenerOptions | boolean,\n ): void;\n removeEventListener<K extends keyof CustomEventMap>(\n type: K,\n listener: (this: this, ev: CustomEventMap[K]) => unknown,\n options?: boolean | EventListenerOptions,\n ): void;\n removeEventListener(\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): void;\n dispatchEvent<EventType extends CustomEventMap[keyof CustomEventMap]>(event: EventType): boolean;\n}\n\nexport abstract class ElementBase extends HTMLElement {\n public abstract is(): string;\n\n protected abstract template(): HTMLTemplateElement;\n private static readonly TEMPLATE_CACHE: {\n [name: string]: HTMLTemplateElement;\n } = {};\n private memoizedTemplate(): HTMLTemplateElement {\n const is = this.is();\n if (ElementBase.TEMPLATE_CACHE[is]) {\n return ElementBase.TEMPLATE_CACHE[is];\n }\n const template = this.template();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((window as any).ShadyCSS) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (window as any).ShadyCSS.prepareTemplate(template, this.is());\n }\n ElementBase.TEMPLATE_CACHE[is] = template;\n return template;\n }\n\n public connectedCallback() {\n const template = this.memoizedTemplate();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((window as any).ShadyCSS) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (window as any).ShadyCSS.styleElement(this);\n }\n if (!this.shadowRoot) {\n this.attachShadow({ mode: \"open\" });\n this.shadowRoot.appendChild(document.importNode(template.content, true));\n requestAnimationFrame(() => this.dispatchEvent(new CustomEvent<IReadyEvent>(\"ready\")));\n }\n }\n\n public whenReady(actor: () => void) {\n if (this.shadowRoot) {\n actor();\n } else {\n this.addEventListener(\"ready\", () => actor());\n }\n }\n}\n", "export default \"<style>\\n\\t:host {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tpadding: 24px 12px;\\n\\t\\tcontain: layout style;\\n\\t\\tfont-family: var(--sd-relation-font-family, \\\"Segoe UI\\\", \\\"Lucida Sans\\\", Arial, sans-serif);\\n\\t\\tfont-style: normal;\\n\\t\\tfont-size: 16px;\\n\\t\\tfont-weight: normal;\\n\\t\\twhite-space: nowrap;\\n\\t\\ttext-overflow: ellipsis;\\n\\t\\toverflow-x: hidden;\\n\\t}\\n\\n\\t:host([hidden]) {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper {\\n\\t\\tborder: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tpadding: 16px;\\n\\t\\tmin-width: var(--sd-relation-outer-min-width, 128px);\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper,\\n\\t#description {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tjustify-content: center;\\n\\t}\\n\\n\\t#relation {\\n\\t\\tposition: relative;\\n\\t\\tmin-width: var(--sd-relation-inner-min-width, 240px);\\n\\t}\\n\\n\\t#description {\\n\\t\\tborder-bottom: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tposition: absolute;\\n\\t\\twidth: 100%;\\n\\t\\tbottom: 50%;\\n\\t\\tpadding-left: 16px;\\n\\t\\tpadding-right: 16px;\\n\\t\\tbox-sizing: border-box;\\n\\t}\\n\\n\\t#description ::slotted(*) {\\n\\t\\tpadding-bottom: 4px;\\n\\t}\\n\\n\\t.arrow {\\n\\t\\tborder: solid var(--sd-relation-border-color, #000000);\\n\\t\\tborder-width: 0 1px 1px 0;\\n\\t\\tpadding: 3px !important;\\n\\t\\tposition: absolute;\\n\\t\\tbottom: -4px;\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t:host([direction=\\\"TARGET_TO_SOURCE\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(135deg);\\n\\t\\tleft: 1px;\\n\\t}\\n\\n\\t:host([direction=\\\"SOURCE_TO_TARGET\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(-45deg);\\n\\t\\tright: 1px;\\n\\t}\\n\\n\\t#source-cardinality,\\n\\t#target-cardinality {\\n\\t\\tdisplay: inline;\\n\\t\\tmax-width: 50%;\\n\\t\\ttop: 50%;\\n\\t\\tposition: absolute;\\n\\t}\\n\\n\\t#source-cardinality {\\n\\t\\tleft: 8px;\\n\\t}\\n\\n\\t#target-cardinality {\\n\\t\\tright: 8px;\\n\\t\\ttext-align: right;\\n\\t}\\n\\n\\t#source-wrapper ::slotted(*),\\n\\t#target-wrapper ::slotted(*),\\n\\t#description ::slotted(*) {\\n\\t\\ttext-align: center;\\n\\t}\\n</style>\\n\\n<div id=\\\"source-wrapper\\\">\\n\\t<slot name=\\\"source\\\"></slot>\\n</div>\\n<div id=\\\"relation\\\">\\n\\t<div id=\\\"description\\\">\\n\\t\\t<div class=\\\"arrow\\\"></div>\\n\\t\\t<slot name=\\\"description\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"source-cardinality\\\">\\n\\t\\t<slot name=\\\"source-cardinality\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"target-cardinality\\\">\\n\\t\\t<slot name=\\\"target-cardinality\\\"></slot>\\n\\t</div>\\n</div>\\n<div id=\\\"target-wrapper\\\">\\n\\t<slot name=\\\"target\\\"></slot>\\n</div>\\n\"", "import { ElementBase } from \"@cas-smartdesign/element-base\";\nimport { default as htmlTemplate } from \"./template.html?raw\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [RelationElement.ID]: RelationElement;\n }\n}\n\nexport class RelationElement extends ElementBase {\n public static readonly ID = \"sd-relation\";\n\n is(): string {\n return RelationElement.ID;\n }\n\n protected template(): HTMLTemplateElement {\n const template = document.createElement(\"template\");\n template.innerHTML = htmlTemplate;\n return template;\n }\n\n public get direction(): Direction {\n return this.getAttribute(\"direction\") as Direction;\n }\n\n public set direction(direction: Direction) {\n this.setAttribute(\"direction\", direction);\n }\n}\n\nexport enum Direction {\n BIDIRECTIONAL = \"BIDIRECTIONAL\",\n SOURCE_TO_TARGET = \"SOURCE_TO_TARGET\",\n TARGET_TO_SOURCE = \"TARGET_TO_SOURCE\",\n}\n\nif (!customElements.get(RelationElement.ID)) {\n customElements.define(RelationElement.ID, RelationElement);\n}\n"],
5
- "mappings": "8gBA8BO,IAAeA,EAAf,MAAeA,UAAoB,WAAY,CAO1C,kBAAwC,CACtC,IAAAC,EAAK,KAAK,GAAA,EACZ,GAAAD,EAAY,eAAeC,CAAE,EACtB,OAAAD,EAAY,eAAeC,CAAE,EAElC,IAAAC,EAAW,KAAK,SAAA,EAEtB,OAAK,OAAe,UAEf,OAAe,SAAS,gBAAgBA,EAAU,KAAK,GAAA,CAAI,EAEpDF,EAAA,eAAeC,CAAE,EAAIC,EAC1BA,CACX,CAEO,mBAAoB,CACjB,IAAAA,EAAW,KAAK,iBAAA,EAEjB,OAAe,UAEf,OAAe,SAAS,aAAa,IAAI,EAEzC,KAAK,aACN,KAAK,aAAa,CAAE,KAAM,MAAQ,CAAA,EAClC,KAAK,WAAW,YAAY,SAAS,WAAWA,EAAS,QAAS,EAAI,CAAC,EACvE,sBAAsB,IAAM,KAAK,cAAc,IAAI,YAAyB,OAAO,CAAC,CAAC,EAE7F,CAEO,UAAUC,EAAmB,CAC5B,KAAK,WACCA,EAAAA,EAEN,KAAK,iBAAiB,QAAS,IAAMA,EAAO,CAAA,CAEpD,CACJ,EAvCIH,EAAwB,eAEpB,CAAA,EAND,IAAeI,EAAfJ,EC9BP,IAAeK,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECSFC,EAAN,MAAMA,UAAwBC,CAAY,CAG7C,IAAa,CACT,OAAOD,EAAgB,EAC3B,CAEU,UAAgC,CAChC,IAAAE,EAAW,SAAS,cAAc,UAAU,EAClD,OAAAA,EAAS,UAAYH,EACdG,CACX,CAEA,IAAW,WAAuB,CACvB,OAAA,KAAK,aAAa,WAAW,CACxC,CAEA,IAAW,UAAUC,EAAsB,CAClC,KAAA,aAAa,YAAaA,CAAS,CAC5C,CACJ,EAnBIH,EAAuB,GAAK,cADzB,IAAMI,EAANJ,EAsBKK,GAAAA,IACRA,EAAA,cAAgB,gBAChBA,EAAA,iBAAmB,mBACnBA,EAAA,iBAAmB,mBAHXA,IAAAA,GAAA,CAAA,CAAA,EAMP,eAAe,IAAID,EAAgB,EAAE,GACvB,eAAA,OAAOA,EAAgB,GAAIA,CAAe",
5
+ "mappings": "8gBA8BO,IAAeA,EAAf,MAAeA,UAAoB,WAAY,CAO1C,kBAAwC,CAC5C,IAAMC,EAAK,KAAK,GAAA,EAChB,GAAID,EAAY,eAAeC,CAAE,EAC7B,OAAOD,EAAY,eAAeC,CAAE,EAExC,IAAMC,EAAW,KAAK,SAAA,EAEtB,OAAK,OAAe,UAEf,OAAe,SAAS,gBAAgBA,EAAU,KAAK,GAAA,CAAI,EAEhEF,EAAY,eAAeC,CAAE,EAAIC,EAC1BA,CACX,CAEO,mBAAoB,CACvB,IAAMA,EAAW,KAAK,iBAAA,EAEjB,OAAe,UAEf,OAAe,SAAS,aAAa,IAAI,EAEzC,KAAK,aACN,KAAK,aAAa,CAAE,KAAM,MAAA,CAAQ,EAClC,KAAK,WAAW,YAAY,SAAS,WAAWA,EAAS,QAAS,EAAI,CAAC,EACvE,sBAAsB,IAAM,KAAK,cAAc,IAAI,YAAyB,OAAO,CAAC,CAAC,EAE7F,CAEO,UAAUC,EAAmB,CAC5B,KAAK,WACLA,EAAA,EAEA,KAAK,iBAAiB,QAAS,IAAMA,EAAA,CAAO,CAEpD,CACJ,EAvCIH,EAAwB,eAEpB,CAAA,EAND,IAAeI,EAAfJ,EC9BP,IAAAK,EAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECSFC,EAAN,MAAMA,UAAwBC,CAAY,CAG7C,IAAa,CACT,OAAOD,EAAgB,EAC3B,CAEU,UAAgC,CACtC,IAAME,EAAW,SAAS,cAAc,UAAU,EAClD,OAAAA,EAAS,UAAYH,EACdG,CACX,CAEA,IAAW,WAAuB,CAC9B,OAAO,KAAK,aAAa,WAAW,CACxC,CAEA,IAAW,UAAUC,EAAsB,CACvC,KAAK,aAAa,YAAaA,CAAS,CAC5C,CACJ,EAnBIH,EAAuB,GAAK,cADzB,IAAMI,EAANJ,EAsBKK,GAAAA,IACRA,EAAA,cAAgB,gBAChBA,EAAA,iBAAmB,mBACnBA,EAAA,iBAAmB,mBAHXA,IAAAA,GAAA,CAAA,CAAA,EAMP,eAAe,IAAID,EAAgB,EAAE,GACtC,eAAe,OAAOA,EAAgB,GAAIA,CAAe",
6
6
  "names": ["_ElementBase", "is", "template", "actor", "ElementBase", "htmlTemplate", "_RelationElement", "ElementBase", "template", "direction", "RelationElement", "Direction"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"relation.mjs","sources":["../template.html?raw","../relation.ts"],"sourcesContent":["export default \"<style>\\n\\t:host {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tpadding: 24px 12px;\\n\\t\\tcontain: layout style;\\n\\t\\tfont-family: var(--sd-relation-font-family, \\\"Segoe UI\\\", \\\"Lucida Sans\\\", Arial, sans-serif);\\n\\t\\tfont-style: normal;\\n\\t\\tfont-size: 16px;\\n\\t\\tfont-weight: normal;\\n\\t\\twhite-space: nowrap;\\n\\t\\ttext-overflow: ellipsis;\\n\\t\\toverflow-x: hidden;\\n\\t}\\n\\n\\t:host([hidden]) {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper {\\n\\t\\tborder: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tpadding: 16px;\\n\\t\\tmin-width: var(--sd-relation-outer-min-width, 128px);\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper,\\n\\t#description {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tjustify-content: center;\\n\\t}\\n\\n\\t#relation {\\n\\t\\tposition: relative;\\n\\t\\tmin-width: var(--sd-relation-inner-min-width, 240px);\\n\\t}\\n\\n\\t#description {\\n\\t\\tborder-bottom: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tposition: absolute;\\n\\t\\twidth: 100%;\\n\\t\\tbottom: 50%;\\n\\t\\tpadding-left: 16px;\\n\\t\\tpadding-right: 16px;\\n\\t\\tbox-sizing: border-box;\\n\\t}\\n\\n\\t#description ::slotted(*) {\\n\\t\\tpadding-bottom: 4px;\\n\\t}\\n\\n\\t.arrow {\\n\\t\\tborder: solid var(--sd-relation-border-color, #000000);\\n\\t\\tborder-width: 0 1px 1px 0;\\n\\t\\tpadding: 3px !important;\\n\\t\\tposition: absolute;\\n\\t\\tbottom: -4px;\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t:host([direction=\\\"TARGET_TO_SOURCE\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(135deg);\\n\\t\\tleft: 1px;\\n\\t}\\n\\n\\t:host([direction=\\\"SOURCE_TO_TARGET\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(-45deg);\\n\\t\\tright: 1px;\\n\\t}\\n\\n\\t#source-cardinality,\\n\\t#target-cardinality {\\n\\t\\tdisplay: inline;\\n\\t\\tmax-width: 50%;\\n\\t\\ttop: 50%;\\n\\t\\tposition: absolute;\\n\\t}\\n\\n\\t#source-cardinality {\\n\\t\\tleft: 8px;\\n\\t}\\n\\n\\t#target-cardinality {\\n\\t\\tright: 8px;\\n\\t\\ttext-align: right;\\n\\t}\\n\\n\\t#source-wrapper ::slotted(*),\\n\\t#target-wrapper ::slotted(*),\\n\\t#description ::slotted(*) {\\n\\t\\ttext-align: center;\\n\\t}\\n</style>\\n\\n<div id=\\\"source-wrapper\\\">\\n\\t<slot name=\\\"source\\\"></slot>\\n</div>\\n<div id=\\\"relation\\\">\\n\\t<div id=\\\"description\\\">\\n\\t\\t<div class=\\\"arrow\\\"></div>\\n\\t\\t<slot name=\\\"description\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"source-cardinality\\\">\\n\\t\\t<slot name=\\\"source-cardinality\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"target-cardinality\\\">\\n\\t\\t<slot name=\\\"target-cardinality\\\"></slot>\\n\\t</div>\\n</div>\\n<div id=\\\"target-wrapper\\\">\\n\\t<slot name=\\\"target\\\"></slot>\\n</div>\\n\"","import { ElementBase } from \"@cas-smartdesign/element-base\";\nimport { default as htmlTemplate } from \"./template.html?raw\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [RelationElement.ID]: RelationElement;\n }\n}\n\nexport class RelationElement extends ElementBase {\n public static readonly ID = \"sd-relation\";\n\n is(): string {\n return RelationElement.ID;\n }\n\n protected template(): HTMLTemplateElement {\n const template = document.createElement(\"template\");\n template.innerHTML = htmlTemplate;\n return template;\n }\n\n public get direction(): Direction {\n return this.getAttribute(\"direction\") as Direction;\n }\n\n public set direction(direction: Direction) {\n this.setAttribute(\"direction\", direction);\n }\n}\n\nexport enum Direction {\n BIDIRECTIONAL = \"BIDIRECTIONAL\",\n SOURCE_TO_TARGET = \"SOURCE_TO_TARGET\",\n TARGET_TO_SOURCE = \"TARGET_TO_SOURCE\",\n}\n\nif (!customElements.get(RelationElement.ID)) {\n customElements.define(RelationElement.ID, RelationElement);\n}\n"],"names":["htmlTemplate","_RelationElement","ElementBase","template","direction","RelationElement","Direction"],"mappings":";AAAA,MAAeA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCSFC,IAAN,MAAMA,UAAwBC,EAAY;AAAA,EAG7C,KAAa;AACT,WAAOD,EAAgB;AAAA,EAC3B;AAAA,EAEU,WAAgC;AAChC,UAAAE,IAAW,SAAS,cAAc,UAAU;AAClD,WAAAA,EAAS,YAAYH,GACdG;AAAA,EACX;AAAA,EAEA,IAAW,YAAuB;AACvB,WAAA,KAAK,aAAa,WAAW;AAAA,EACxC;AAAA,EAEA,IAAW,UAAUC,GAAsB;AAClC,SAAA,aAAa,aAAaA,CAAS;AAAA,EAC5C;AACJ;AAnBIH,EAAuB,KAAK;AADzB,IAAMI,IAANJ;AAsBK,IAAAK,sBAAAA,OACRA,EAAA,gBAAgB,iBAChBA,EAAA,mBAAmB,oBACnBA,EAAA,mBAAmB,oBAHXA,IAAAA,KAAA,CAAA,CAAA;AAMP,eAAe,IAAID,EAAgB,EAAE,KACvB,eAAA,OAAOA,EAAgB,IAAIA,CAAe;"}
1
+ {"version":3,"file":"relation.mjs","sources":["../template.html?raw","../relation.ts"],"sourcesContent":["export default \"<style>\\n\\t:host {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tpadding: 24px 12px;\\n\\t\\tcontain: layout style;\\n\\t\\tfont-family: var(--sd-relation-font-family, \\\"Segoe UI\\\", \\\"Lucida Sans\\\", Arial, sans-serif);\\n\\t\\tfont-style: normal;\\n\\t\\tfont-size: 16px;\\n\\t\\tfont-weight: normal;\\n\\t\\twhite-space: nowrap;\\n\\t\\ttext-overflow: ellipsis;\\n\\t\\toverflow-x: hidden;\\n\\t}\\n\\n\\t:host([hidden]) {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper {\\n\\t\\tborder: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tpadding: 16px;\\n\\t\\tmin-width: var(--sd-relation-outer-min-width, 128px);\\n\\t}\\n\\n\\t#source-wrapper,\\n\\t#target-wrapper,\\n\\t#description {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tjustify-content: center;\\n\\t}\\n\\n\\t#relation {\\n\\t\\tposition: relative;\\n\\t\\tmin-width: var(--sd-relation-inner-min-width, 240px);\\n\\t}\\n\\n\\t#description {\\n\\t\\tborder-bottom: 1px solid var(--sd-relation-border-color, #000000);\\n\\t\\tposition: absolute;\\n\\t\\twidth: 100%;\\n\\t\\tbottom: 50%;\\n\\t\\tpadding-left: 16px;\\n\\t\\tpadding-right: 16px;\\n\\t\\tbox-sizing: border-box;\\n\\t}\\n\\n\\t#description ::slotted(*) {\\n\\t\\tpadding-bottom: 4px;\\n\\t}\\n\\n\\t.arrow {\\n\\t\\tborder: solid var(--sd-relation-border-color, #000000);\\n\\t\\tborder-width: 0 1px 1px 0;\\n\\t\\tpadding: 3px !important;\\n\\t\\tposition: absolute;\\n\\t\\tbottom: -4px;\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t:host([direction=\\\"TARGET_TO_SOURCE\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(135deg);\\n\\t\\tleft: 1px;\\n\\t}\\n\\n\\t:host([direction=\\\"SOURCE_TO_TARGET\\\"]) .arrow {\\n\\t\\tdisplay: inline-block;\\n\\t\\ttransform: rotate(-45deg);\\n\\t\\tright: 1px;\\n\\t}\\n\\n\\t#source-cardinality,\\n\\t#target-cardinality {\\n\\t\\tdisplay: inline;\\n\\t\\tmax-width: 50%;\\n\\t\\ttop: 50%;\\n\\t\\tposition: absolute;\\n\\t}\\n\\n\\t#source-cardinality {\\n\\t\\tleft: 8px;\\n\\t}\\n\\n\\t#target-cardinality {\\n\\t\\tright: 8px;\\n\\t\\ttext-align: right;\\n\\t}\\n\\n\\t#source-wrapper ::slotted(*),\\n\\t#target-wrapper ::slotted(*),\\n\\t#description ::slotted(*) {\\n\\t\\ttext-align: center;\\n\\t}\\n</style>\\n\\n<div id=\\\"source-wrapper\\\">\\n\\t<slot name=\\\"source\\\"></slot>\\n</div>\\n<div id=\\\"relation\\\">\\n\\t<div id=\\\"description\\\">\\n\\t\\t<div class=\\\"arrow\\\"></div>\\n\\t\\t<slot name=\\\"description\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"source-cardinality\\\">\\n\\t\\t<slot name=\\\"source-cardinality\\\"></slot>\\n\\t</div>\\n\\t<div id=\\\"target-cardinality\\\">\\n\\t\\t<slot name=\\\"target-cardinality\\\"></slot>\\n\\t</div>\\n</div>\\n<div id=\\\"target-wrapper\\\">\\n\\t<slot name=\\\"target\\\"></slot>\\n</div>\\n\"","import { ElementBase } from \"@cas-smartdesign/element-base\";\nimport { default as htmlTemplate } from \"./template.html?raw\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [RelationElement.ID]: RelationElement;\n }\n}\n\nexport class RelationElement extends ElementBase {\n public static readonly ID = \"sd-relation\";\n\n is(): string {\n return RelationElement.ID;\n }\n\n protected template(): HTMLTemplateElement {\n const template = document.createElement(\"template\");\n template.innerHTML = htmlTemplate;\n return template;\n }\n\n public get direction(): Direction {\n return this.getAttribute(\"direction\") as Direction;\n }\n\n public set direction(direction: Direction) {\n this.setAttribute(\"direction\", direction);\n }\n}\n\nexport enum Direction {\n BIDIRECTIONAL = \"BIDIRECTIONAL\",\n SOURCE_TO_TARGET = \"SOURCE_TO_TARGET\",\n TARGET_TO_SOURCE = \"TARGET_TO_SOURCE\",\n}\n\nif (!customElements.get(RelationElement.ID)) {\n customElements.define(RelationElement.ID, RelationElement);\n}\n"],"names":["htmlTemplate","_RelationElement","ElementBase","template","direction","RelationElement","Direction"],"mappings":";AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCSFC,IAAN,MAAMA,UAAwBC,EAAY;AAAA,EAG7C,KAAa;AACT,WAAOD,EAAgB;AAAA,EAC3B;AAAA,EAEU,WAAgC;AACtC,UAAME,IAAW,SAAS,cAAc,UAAU;AAClD,WAAAA,EAAS,YAAYH,GACdG;AAAA,EACX;AAAA,EAEA,IAAW,YAAuB;AAC9B,WAAO,KAAK,aAAa,WAAW;AAAA,EACxC;AAAA,EAEA,IAAW,UAAUC,GAAsB;AACvC,SAAK,aAAa,aAAaA,CAAS;AAAA,EAC5C;AACJ;AAnBIH,EAAuB,KAAK;AADzB,IAAMI,IAANJ;AAsBA,IAAKK,sBAAAA,OACRA,EAAA,gBAAgB,iBAChBA,EAAA,mBAAmB,oBACnBA,EAAA,mBAAmB,oBAHXA,IAAAA,KAAA,CAAA,CAAA;AAMP,eAAe,IAAID,EAAgB,EAAE,KACtC,eAAe,OAAOA,EAAgB,IAAIA,CAAe;"}
@@ -1,15 +1,20 @@
1
1
  {
2
- "@cypress/vite-dev-server@5.0.7": {
2
+ "@cypress/vite-dev-server@7.0.0": {
3
3
  "licenses": "MIT",
4
4
  "repository": "https://github.com/cypress-io/cypress",
5
5
  "licenseUrl": "https://github.com/cypress-io/cypress/tree/develop/npm/vite-dev-server#readme"
6
6
  },
7
- "@rollup/plugin-node-resolve@15.2.3": {
7
+ "@eslint/js@9.34.0": {
8
+ "licenses": "MIT",
9
+ "repository": "https://github.com/eslint/eslint",
10
+ "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
11
+ },
12
+ "@rollup/plugin-node-resolve@16.0.1": {
8
13
  "licenses": "MIT",
9
14
  "repository": "https://github.com/rollup/plugins",
10
15
  "licenseUrl": "https://github.com/rollup/plugins/raw/HEAD/LICENSE"
11
16
  },
12
- "@types/node@20.10.6": {
17
+ "@types/node@24.3.0": {
13
18
  "licenses": "MIT",
14
19
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
15
20
  "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
@@ -19,47 +24,42 @@
19
24
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
25
  "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
21
26
  },
22
- "@typescript-eslint/eslint-plugin@6.17.0": {
27
+ "@typescript-eslint/eslint-plugin@8.41.0": {
23
28
  "licenses": "MIT",
24
29
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
25
30
  "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
26
31
  },
27
- "@typescript-eslint/parser@6.17.0": {
28
- "licenses": "BSD-2-Clause",
32
+ "@typescript-eslint/parser@8.41.0": {
33
+ "licenses": "MIT",
29
34
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
30
35
  "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
31
36
  },
32
- "@vitest/coverage-v8@1.1.1": {
37
+ "@vitest/coverage-v8@3.2.4": {
33
38
  "licenses": "MIT",
34
39
  "repository": "https://github.com/vitest-dev/vitest",
35
40
  "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
36
41
  },
37
- "@vitest/ui@1.1.1": {
42
+ "@vitest/ui@3.2.4": {
38
43
  "licenses": "MIT",
39
44
  "repository": "https://github.com/vitest-dev/vitest",
40
45
  "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
41
46
  },
42
- "axe-core@4.8.3": {
47
+ "axe-core@4.10.3": {
43
48
  "licenses": "MPL-2.0",
44
49
  "repository": "https://github.com/dequelabs/axe-core",
45
50
  "licenseUrl": "https://github.com/dequelabs/axe-core/raw/HEAD/LICENSE"
46
51
  },
47
- "cypress-axe@1.5.0": {
52
+ "cypress-axe@1.7.0": {
48
53
  "licenses": "MIT",
49
54
  "repository": "https://github.com/component-driven/cypress-axe",
50
55
  "licenseUrl": "https://github.com/component-driven/cypress-axe/raw/HEAD/License.md"
51
56
  },
52
- "cypress-real-events@1.13.0": {
53
- "licenses": "MIT",
54
- "repository": "https://github.com/dmtrKovalenko/cypress-real-events",
55
- "licenseUrl": "https://github.com/dmtrKovalenko/cypress-real-events"
56
- },
57
- "cypress@13.6.2": {
57
+ "cypress@15.0.0": {
58
58
  "licenses": "MIT",
59
59
  "repository": "https://github.com/cypress-io/cypress",
60
60
  "licenseUrl": "https://cypress.io"
61
61
  },
62
- "esbuild@0.19.11": {
62
+ "esbuild@0.25.9": {
63
63
  "licenses": "MIT",
64
64
  "repository": "https://github.com/evanw/esbuild",
65
65
  "licenseUrl": "https://github.com/evanw/esbuild/raw/HEAD/LICENSE.md"
@@ -69,52 +69,52 @@
69
69
  "repository": "https://github.com/google/eslint-config-google",
70
70
  "licenseUrl": "https://github.com/google/eslint-config-google/raw/HEAD/LICENSE"
71
71
  },
72
- "eslint-config-prettier@9.1.0": {
72
+ "eslint-config-prettier@10.1.8": {
73
73
  "licenses": "MIT",
74
74
  "repository": "https://github.com/prettier/eslint-config-prettier",
75
75
  "licenseUrl": "https://github.com/prettier/eslint-config-prettier/raw/HEAD/LICENSE"
76
76
  },
77
- "eslint@8.56.0": {
77
+ "eslint@9.34.0": {
78
78
  "licenses": "MIT",
79
79
  "repository": "https://github.com/eslint/eslint",
80
80
  "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
81
81
  },
82
- "github-markdown-css@5.5.0": {
82
+ "github-markdown-css@5.8.1": {
83
83
  "licenses": "MIT",
84
84
  "repository": "https://github.com/sindresorhus/github-markdown-css",
85
85
  "licenseUrl": "https://github.com/sindresorhus/github-markdown-css/raw/HEAD/license"
86
86
  },
87
- "highlight.js@11.9.0": {
87
+ "highlight.js@11.11.1": {
88
88
  "licenses": "BSD-3-Clause",
89
89
  "repository": "https://github.com/highlightjs/highlight.js",
90
90
  "licenseUrl": "https://github.com/highlightjs/highlight.js/raw/HEAD/LICENSE"
91
91
  },
92
- "junit-report-builder@3.1.0": {
92
+ "junit-report-builder@5.1.1": {
93
93
  "licenses": "MIT",
94
94
  "repository": "https://github.com/davidparsson/junit-report-builder",
95
95
  "licenseUrl": "https://github.com/davidparsson/junit-report-builder/raw/HEAD/LICENSE"
96
96
  },
97
- "lint-staged@15.2.0": {
97
+ "lint-staged@16.1.5": {
98
98
  "licenses": "MIT",
99
- "repository": "https://github.com/okonet/lint-staged",
100
- "licenseUrl": "https://github.com/okonet/lint-staged/raw/HEAD/LICENSE"
99
+ "repository": "https://github.com/lint-staged/lint-staged",
100
+ "licenseUrl": "https://github.com/lint-staged/lint-staged/raw/HEAD/LICENSE"
101
101
  },
102
- "marked@11.1.1": {
102
+ "marked@16.2.1": {
103
103
  "licenses": "MIT",
104
104
  "repository": "https://github.com/markedjs/marked",
105
105
  "licenseUrl": "https://github.com/markedjs/marked/raw/HEAD/LICENSE.md"
106
106
  },
107
- "postcss-prefix-selector@1.16.0": {
107
+ "postcss-prefix-selector@2.1.1": {
108
108
  "licenses": "MIT",
109
109
  "repository": "https://github.com/RadValentin/postcss-prefix-selector",
110
110
  "licenseUrl": "https://github.com/RadValentin/postcss-prefix-selector/raw/HEAD/LICENSE"
111
111
  },
112
- "postcss@8.4.32": {
112
+ "postcss@8.5.6": {
113
113
  "licenses": "MIT",
114
114
  "repository": "https://github.com/postcss/postcss",
115
115
  "licenseUrl": "https://github.com/postcss/postcss/raw/HEAD/LICENSE"
116
116
  },
117
- "prettier@3.1.1": {
117
+ "prettier@3.6.2": {
118
118
  "licenses": "MIT",
119
119
  "repository": "https://github.com/prettier/prettier",
120
120
  "licenseUrl": "https://github.com/prettier/prettier/raw/HEAD/LICENSE"
@@ -124,62 +124,67 @@
124
124
  "repository": "https://github.com/sindresorhus/resolve-pkg",
125
125
  "licenseUrl": "https://github.com/sindresorhus/resolve-pkg/raw/HEAD/license"
126
126
  },
127
- "sass@1.69.6": {
127
+ "sass@1.91.0": {
128
128
  "licenses": "MIT",
129
129
  "repository": "https://github.com/sass/dart-sass",
130
130
  "licenseUrl": "https://github.com/sass/dart-sass/raw/HEAD/LICENSE"
131
131
  },
132
- "stylelint-config-recommended-scss@14.0.0": {
132
+ "stylelint-config-recommended-scss@16.0.0": {
133
133
  "licenses": "MIT",
134
134
  "repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
135
135
  "licenseUrl": "https://github.com/stylelint-scss/stylelint-config-recommended-scss/raw/HEAD/LICENSE"
136
136
  },
137
- "stylelint-config-standard@36.0.0": {
137
+ "stylelint-config-standard@39.0.0": {
138
138
  "licenses": "MIT",
139
139
  "repository": "https://github.com/stylelint/stylelint-config-standard",
140
140
  "licenseUrl": "https://github.com/stylelint/stylelint-config-standard/raw/HEAD/LICENSE"
141
141
  },
142
- "stylelint-scss@6.0.0": {
142
+ "stylelint-scss@6.12.1": {
143
143
  "licenses": "MIT",
144
144
  "repository": "https://github.com/stylelint-scss/stylelint-scss",
145
145
  "licenseUrl": "https://github.com/stylelint-scss/stylelint-scss/raw/HEAD/LICENSE"
146
146
  },
147
- "stylelint@16.1.0": {
147
+ "stylelint@16.23.1": {
148
148
  "licenses": "MIT",
149
149
  "repository": "https://github.com/stylelint/stylelint",
150
150
  "licenseUrl": "https://github.com/stylelint/stylelint/raw/HEAD/LICENSE"
151
151
  },
152
- "tsup@8.0.1": {
152
+ "tsup@8.5.0": {
153
153
  "licenses": "MIT",
154
154
  "repository": "https://github.com/egoist/tsup",
155
155
  "licenseUrl": "https://github.com/egoist/tsup/raw/HEAD/LICENSE"
156
156
  },
157
- "turbo@1.11.2": {
158
- "licenses": "MPL-2.0",
159
- "repository": "https://github.com/vercel/turbo",
160
- "licenseUrl": "https://github.com/vercel/turbo/raw/HEAD/LICENSE"
157
+ "turbo@2.5.6": {
158
+ "licenses": "MIT",
159
+ "repository": "https://github.com/vercel/turborepo",
160
+ "licenseUrl": "https://github.com/vercel/turborepo/raw/HEAD/LICENSE"
161
+ },
162
+ "typescript-eslint@8.41.0": {
163
+ "licenses": "MIT",
164
+ "repository": "https://github.com/typescript-eslint/typescript-eslint",
165
+ "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
161
166
  },
162
- "typescript@5.3.3": {
167
+ "typescript@5.9.2": {
163
168
  "licenses": "Apache-2.0",
164
- "repository": "https://github.com/Microsoft/TypeScript",
165
- "licenseUrl": "https://github.com/Microsoft/TypeScript/raw/HEAD/LICENSE.txt"
169
+ "repository": "https://github.com/microsoft/TypeScript",
170
+ "licenseUrl": "https://github.com/microsoft/TypeScript/raw/HEAD/LICENSE.txt"
166
171
  },
167
- "vite-tsconfig-paths@4.2.3": {
172
+ "vite-tsconfig-paths@5.1.4": {
168
173
  "licenses": "MIT",
169
174
  "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
170
175
  "licenseUrl": "https://github.com/aleclarson/vite-tsconfig-paths/raw/HEAD/LICENSE"
171
176
  },
172
- "vite@5.0.10": {
177
+ "vite@7.1.3": {
173
178
  "licenses": "MIT",
174
179
  "repository": "https://github.com/vitejs/vite",
175
180
  "licenseUrl": "https://github.com/vitejs/vite/raw/HEAD/LICENSE.md"
176
181
  },
177
- "vitest@1.1.1": {
182
+ "vitest@3.2.4": {
178
183
  "licenses": "MIT",
179
184
  "repository": "https://github.com/vitest-dev/vitest",
180
185
  "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE.md"
181
186
  },
182
- "yargs@17.7.2": {
187
+ "yargs@18.0.0": {
183
188
  "licenses": "MIT",
184
189
  "repository": "https://github.com/yargs/yargs",
185
190
  "licenseUrl": "https://github.com/yargs/yargs/raw/HEAD/LICENSE"
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/relation",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "A element that is able to visualize a relation between two objects, considering the cardinality and a description",
5
5
  "main": "dist/relation-with-externals.js",
6
6
  "module": "dist/relation.mjs",
7
7
  "types": "dist/relation.d.ts",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "dependencies": {
10
- "@cas-smartdesign/element-base": "^5.0.1"
10
+ "@cas-smartdesign/element-base": "^5.1.0"
11
11
  },
12
12
  "files": [
13
13
  "dist",
@@ -18,8 +18,8 @@
18
18
  "access": "public"
19
19
  },
20
20
  "devDependencies": {
21
- "@cas-smartdesign/license-generator": "^1.6.1",
22
- "@cas-smartdesign/element-preview": "^0.2.1"
21
+ "@cas-smartdesign/element-preview": "^0.3.0",
22
+ "@cas-smartdesign/license-generator": "^1.7.0"
23
23
  },
24
24
  "scripts": {
25
25
  "version": "pnpm version",
package/readme.md CHANGED
@@ -31,5 +31,3 @@ A custom element that is able to visualize a relation between two objects, consi
31
31
  | |---------------| |
32
32
  ---------- ----------
33
33
  128px 240px 128px
34
-
35
- ## Examples