PageSourceSearch

https://suttacentral.net/6770.js

js suttacentral.net collected 2026-09-24 08:52:43 UTC 2,616 bytes, 78 lines download raw bytes

1"use strict";(self.webpackChunksuttacentral=self.webpackChunksuttacentral||[]).push([[6770],{665:function(t,e,a){a.d(e,{A:function(){return r}});var s=a(6337),o=a(9911);class r extends((0,o.J)(s.WF)){static styles=s.AH`
2    :host {
3      position: absolute;
4      z-index: 100;
5
6      display: none;
7      overflow-y: auto;
8
9      width: 100%;
10      max-height: 65vh;
11
12      color: var(--sc-on-primary-primary-text-color);
13      border-bottom: 1px solid var(--sc-border-color);
14      background-color: var(--sc-secondary-background-color);
15      box-shadow: var(--sc-shadow-elevation-4dp);
16
17      --sc-suttaplex-shadow: var(--sc-shadow-elevation-0dp);
18
19      --sc-suttaplex-padding: 0;
20    }
21
22    section {
23      max-width: 720px;
24      margin: var(--sc-size-lg) auto;
25      padding: 0 3vw;
26    }
27
28    p a,
29    li a,
30    dl a,
31    table a {
32      transition: var(--sc-link-transition);
33      text-decoration: underline;
34
35      color: inherit;
36
37      text-decoration-color: var(--sc-primary-color-light);
38      text-decoration-thickness: 2px;
39      text-underline-offset: 0.15em;
40    }
41
42    p a:hover,
43    li a:hover,
44    dl a:hover,
45    table a:hover {
46      transition: var(--sc-link-transition);
47      text-decoration: underline;
48
49      color: inherit;
50
51      text-decoration-color: var(--sc-primary-color-light);
52      text-decoration-thickness: 4px;
53      text-underline-offset: 0.15em;
54    }
55
56    p a:active,
57    li a:active,
58    dl a:active,
59    table a:active {
60      text-decoration-color: var(--sc-primary-color);
61    }
62
63    p a:visited,
64    li a:visited,
65    dl a:visited,
66    table a:visited {
67      text-decoration-color: var(--sc-primary-color-dark);
68    }
69  `;show(){this.style.display="block"}hide(){this.style.display="none"}toggle(){this.style.display="block"===this.style.display?"none":"block"}}},6770:function(t,e,a){a.r(e),a.d(e,{SCTopSheetParallels:function(){return r}});var s=a(6337),o=a(665);class r extends o.A{static styles=[super.styles];static properties={suttaplexItem:{type:Object}};constructor(){super(),this.suttaplexItem={}}connectedCallback(){super.connectedCallback(),Promise.all([a.e(9678),a.e(1873)]).then(a.bind(a,9678))}show(){this.style.display="block"}hide(){this.style.display="none"}areParallelsOpen(){return this.suttaplexItem?.parallel_count>0}render(){return s.qy`
70      <section>
71        <sc-suttaplex
72          .item=${this.suttaplexItem}
73          .parallelsOpened=${this.areParallelsOpen()}
74          .clearBorderRadius=${!0}
75          .suttaplexListStyle=${""}
76        ></sc-suttaplex>
77      </section>
78    `}}customElements.define("sc-top-sheet-parallels",r)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.