PageSourceSearch

https://seascape.network/scripts/loading.js

js seascape.network collected 2026-10-06 07:39:15 UTC 14,191 bytes, 239 lines download raw bytes

1/**
2 * loading 占位
3 * 解决首次加载时白屏的问题
4 */
5(function () {
6  const theme = JSON.parse(localStorage.getItem('seascape:app-theme') || '"light"');
7  const _root = document.querySelector('#root');
8  if (_root && _root.innerHTML === '') {
9    _root.innerHTML = `
10      <style>
11        html,
12        body,
13        #root {
14          height: 100%;
15          margin: 0;
16          padding: 0;
17        }
18        #root {
19          background-repeat: no-repeat;
20          background-size: 100% auto;
21        }
22
23        body {
24          background: linear-gradient(#ffffff, #f5f5f5 28%);
25          // color: #fff;
26          font-size: 16px;
27          font-family: Arial, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
28        }
29
30        .loading-title {
31          font-size: 1.1rem;
32        }
33
34        .loading-sub-title {
35          margin-top: 20px;
36          font-size: 1rem;
37          color: #888;
38        }
39
40        .page-loading-warp {
41          display: flex;
42          align-items: center;
43          justify-content: center;
44          padding: 26px;
45        }
46        .ant-spin {
47          position: absolute;
48          display: none;
49          -webkit-box-sizing: border-box;
50          box-sizing: border-box;
51          margin: 0;
52          padding: 0;
53          color: rgba(0, 0, 0, 0.65);
54          color: #1890ff;
55          font-size: 14px;
56          font-variant: tabular-nums;
57          line-height: 1.5;
58          text-align: center;
59          list-style: none;
60          opacity: 0;
61          -webkit-transition: -webkit-transform 0.3s
62            cubic-bezier(0.78, 0.14, 0.15, 0.86);
63          transition: -webkit-transform 0.3s
64            cubic-bezier(0.78, 0.14, 0.15, 0.86);
65          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
66          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
67            -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
68          -webkit-font-feature-settings: "tnum";
69          font-feature-settings: "tnum";
70        }
71
72        .ant-spin-spinning {
73          position: static;
74          display: inline-block;
75          opacity: 1;
76        }
77
78        .ant-spin-dot {
79          position: relative;
80          display: inline-block;
81          width: 20px;
82          height: 20px;
83          font-size: 20px;
84        }
85
86        .ant-spin-dot-item {
87          position: absolute;
88          display: block;
89          width: 9px;
90          height: 9px;
91          background-color: rgba(208, 162, 63, 0.8);
92          border-radius: 100%;
93          -webkit-transform: scale(0.75);
94          -ms-transform: scale(0.75);
95          transform: scale(0.75);
96          -webkit-transform-origin: 50% 50%;
97          -ms-transform-origin: 50% 50%;
98          transform-origin: 50% 50%;
99          opacity: 0.3;
100          -webkit-animation: antspinmove 1s infinite linear alternate;
101          animation: antSpinMove 1s infinite linear alternate;
102        }
103
104        .ant-spin-dot-item:nth-child(1) {
105          top: 0;
106          left: 0;
107        }
108
109        .ant-spin-dot-item:nth-child(2) {
110          top: 0;
111          right: 0;
112          -webkit-animation-delay: 0.4s;
113          animation-delay: 0.4s;
114        }
115
116        .ant-spin-dot-item:nth-child(3) {
117          right: 0;
118          bottom: 0;
119          -webkit-animation-delay: 0.8s;
120          animation-delay: 0.8s;
121        }
122
123        .ant-spin-dot-item:nth-child(4) {
124          bottom: 0;
125          left: 0;
126          -webkit-animation-delay: 1.2s;
127          animation-delay: 1.2s;
128        }
129
130        .ant-spin-dot-spin {
131          -webkit-transform: rotate(45deg);
132          -ms-transform: rotate(45deg);
133          transform: rotate(45deg);
134          -webkit-animation: antrotate 1.2s infinite linear;
135          animation: antRotate 1.2s infinite linear;
136        }
137
138        .ant-spin-lg .ant-spin-dot {
139          width: 32px;
140          height: 32px;
141          font-size: 32px;
142        }
143
144        .ant-spin-lg .ant-spin-dot i {
145          width: 14px;
146          height: 14px;
147        }
148
149        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
150          .ant-spin-blur {
151            background: #fff;
152            opacity: 0.5;
153          }
154        }
155
156        @-webkit-keyframes antSpinMove {
157          to {
158            opacity: 1;
159          }
160        }
161
162        @keyframes antSpinMove {
163          to {
164            opacity: 1;
165          }
166        }
167
168        @-webkit-keyframes antRotate {
169          to {
170            -webkit-transform: rotate(405deg);
171            transform: rotate(405deg);
172          }
173        }
174
175        @keyframes antRotate {
176          to {
177            -webkit-transform: rotate(405deg);
178            transform: rotate(405deg);
179          }
180        }
181
182        @keyframes Screen_blink__bJjN3 {
183            0% {
184                opacity: 1
185            }
186
187            50% {
188                opacity: .5
189            }
190
191            to {
192                opacity: 1
193            }
194        }
195      </style>
196
197      <div style="
198        display: flex;
199        flex-direction: column;
200        align-items: center;
201        justify-content: center;
202        height: 100%;
203        min-height: 362px;
204      ">
205        <div class="page-loading-warp" style="
206    flex-direction: column;
207    opacity: 1;
208    -webkit-animation: Screen_blink__bJjN3 1.8s ease-in-out infinite;
209    animation: Screen_blink__bJjN3 1.8s ease-in-out infinite;
210">
211          <div class="Screen_icon__s6fvD"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="50" height="50" viewB
211ox="0 0 331.02203369140625 331"><g><path d="M158.69,0L171.85001,0C202.83,1.53,233.49001,11.24,259.01999,28.99C287.78,48.630001,310.13,77.559998,321.63,110.46C331,136.8,333.32999,165.53,328.75,193.09C323.14999,226.98,306.57001,258.95999,282.04001,283.01999C258.45999,306.54999,227.63,322.75,194.78999,328.44C188.05,329.67001,181.23,330.45001,174.41,331L157.34,331C125.99,329.20001,95.089996,318.78,69.559998,300.39001C41.509998,280.45999,19.889999,251.60001,8.8699999,218.98C3.3699999,203.03,0.52999997,186.22,0,169.37L0,159.64999C0.81999999,143.71001,3.53,127.81,8.6899996,112.68C19.639999,79.809998,41.400002,50.73,69.629997,30.68C95.510002,12.01,126.91,1.6900001,158.69,0ZM157.48,82.660004C150.27,84.68,144.02,89.949997,140.94,96.790001C136.41,106.58,138.56,119.07,146.50999,126.47C153.86,134,165.94,135.62,175.39999,131.42C188.28,125.73,194.07001,108.76,187.78,96.260002C182.67999,85.209999,169.13,79.089996,157.48,82.660004ZM60.509998,134.50999C38.610001,139.84,19.1,153.66,6.0300002,171.92C5.3299999,173.14,4.0100002,174.28,4.3099999,175.84C5.3800001,194.88,10.01,213.67999,17.82,231.08C32.259998,263.89999,58.060001,291.53,89.75,308.28C118.67,323.82999,152.42999,329.98999,184.99001,325.95999C213.75999,322.72,241.41,311.07999,264.32001,293.45999C253.3,299.04001,241.44,303.22,229.09,304.47C204.16,307.60001,178.22,300.14999,158.5,284.64999C156.05,282.67999,153.41,280.78,151.84,277.98999C144.95,266.20999,141.23,252.60001,141.22,238.95C141.24001,223.72,146,208.67999,154.35001,195.97C148.21001,197.35001,142.03999,198.77,136.21001,201.19C115.7,209.22,98.480003,224.94,88.239998,244.41C77.260002,228.10001,72.650002,207.67,75.699997,188.24001C79.800003,167.22,91.489998,147.74001,108.27,134.39999C92.650002,130.74001,76.080002,130.39999,60.509998,134.50999ZM205.33,145.50999C199.96001,147.27,196.25,153.17,197.45,158.78999C198.35001,165.06,204.71001,169.89,211.02,168.75C218.46001,168.06,223.98,159.09,220.66,152.22C218.46001,146.3,211.16,143.32001,205.33,145.50999Z" fill="#0081FA" fill-opacity="1" style="mix-blend-mode:passthrough"></path></g></svg></div>
212          <div class="Screen_text__rsLs1" style="
213    display: flex;
214    align-items: center;
215    margin-top: calc((26 / 14.4) * 1rem);
216    font-size: 20px;
217    font-weight: 800;
218    line-height: calc((11 / 14.4) * 1rem);
219"><svg class="Screen_arrow__WLX93" viewBox="0 0 11 8" xmlns="http://www.w3.org/2000/svg" style="
220    display: block;
221    width: calc((11 / 14.4) * 1rem);
222    height: calc((8 / 14.4) * 1rem);
223"><path d="M7.5 0.716553L11 4.21655L7.5 7.71655L0 4.21655L7.5 0.716553Z" fill="#0081FA"></path></svg><svg class="Screen_title__1hItT" width="52" height="9" viewBox="0 0 52 9" fill="none" xmlns="http://www.w3.org/2000/svg" style="
224    width: calc((52 / 14.4) * 1rem);
225    height: calc((9 / 14.4) * 1rem);
226    margin: 0 calc((12 / 14.4) * 1rem);
227"><path d="M0.963867 8.21655C1.11053 8.05655 1.21387 7.87322 1.27387 7.66655C1.34053 7.45322 1.3772 7.26989 1.38387 7.11655V1.31655C1.3772 1.16322 1.34053 0.983219 1.27387 0.776553C1.21387 0.563219 1.11053 0.376553 0.963867 0.216553H3.38387C3.2372 0.376553 3.13053 0.563219 3.06387 0.776553C3.00387 0.989886 2.97387 1.16989 2.97387 1.31655V6.70655L5.57387 6.71655C5.7872 6.71655 5.97387 6.69655 6.13387 6.65655C6.29387 6.60989 6.4572 6.50322 6.62387 6.33655L6.32387 8.21655H0.963867ZM11.6052 8.33655C10.8452 8.33655 10.1485 8.15322 9.5152 7.78655C8.88853 7.41322 8.39186 6.91322 8.0252 6.28655C7.65853 5.65322 7.4752 4.95989 7.4752 4.20655C7.4752 3.45989 7.65853 2.77322 8.0252 2.14655C8.39186 1.51322 8.88853 1.01322 9.5152 0.646552C10.1485 0.273219 10.8452 0.0865525 11.6052 0.0865525C12.3452 0.0865525 13.0285 0.273219 13.6552 0.646552C14.2885 1.01989 14.7885 1.52322 15.1552 2.15655C15.5285 2.78322 15.7152 3.46655 15.7152 4.20655C15.7152 4.95322 15.5285 5.64322 15.1552 6.27655C14.7885 6.90989 14.2885 7.41322 13.6552 7.78655C13.0285 8.15322 12.3452 8.33655 11.6052 8.33655ZM11.6052 6.82655C12.0852 6.82655 12.5152 6.70989 12.8952 6.47655C13.2819 6.24322 13.5819 5.92655 13.7952 5.52655C14.0152 5.12655 14.1252 4.68655 14.1252 4.20655C14.1252 3.72655 14.0152 3.28989 13.7952 2.89655C13.5819 2.49655 13.2819 2.17989 12.8952 1.94655C12.5152 1.71322 12.0852 1.59655 11.6052 1.59655C11.1185 1.59655 10.6819 1.71322 10.2952 1.94655C9.90853 2.17322 9.6052 2.48655 9.3852 2.88655C9.17186 3.28655 9.0652 3.72655 9.0652 4.20655C9.0652 4.68655 9.17186 5.12655 9.3852 5.52655C9.6052 5.92655 9.90853 6.24322 10.2952 6.47655C10.6819 6.70989 11.1185 6.82655 11.6052 6.82655ZM15.9731 8.21655C16.2464 7.95655 16.4564 7.63989 16.6031 7.26655L18.5831 1.05655C18.6098 0.943219 18.6231 0.826552 18.6231 0.706552C18.6231 0.526552 18.5864 0.363219 18.5131 0.216553H21.0731C20.9998 0.336552 20.9
227631 0.499885 20.9631 0.706552C20.9631 0.846552 20.9798 0.979886 21.0131 1.10655L23.0131 7.31655C23.1598 7.66322 23.3631 7.96322 23.6231 8.21655H21.2631C21.3431 8.10322 21.3831 7.93655 21.3831 7.71655C21.3831 7.56989 21.3664 7.44655 21.3331 7.34655L21.0631 6.48655L18.5331 6.47655L18.2531 7.36655C18.2331 7.47322 18.2231 7.58322 18.2231 7.69655C18.2231 7.80989 18.2331 7.91322 18.2531 8.00655C18.2798 8.09989 18.3098 8.16989 18.3431 8.21655H15.9731ZM19.7831 2.01655L18.8331 5.02655H20.7631L19.7831 2.01655ZM24.6846 8.21655C24.8579 8.04322 24.9879 7.70322 25.0746 7.19655V1.23655C24.9879 0.729886 24.8579 0.389886 24.6846 0.216553H27.6246C28.3712 0.216553 29.0379 0.386553 29.6246 0.726553C30.2179 1.05989 30.6779 1.52655 31.0046 2.12655C31.3379 2.71989 31.5046 3.38655 31.5046 4.12655V4.30655C31.5046 5.04655 31.3379 5.71655 31.0046 6.31655C30.6779 6.90989 30.2179 7.37655 29.6246 7.71655C29.0379 8.04989 28.3712 8.21655 27.6246 8.21655H24.6846ZM27.5146 6.70655C28.2812 6.70655 28.8712 6.49655 29.2846 6.07655C29.6979 5.65655 29.9046 5.05989 29.9046 4.28655V4.14655C29.9046 3.37989 29.6979 2.78655 29.2846 2.36655C28.8712 1.93989 28.2812 1.72655 27.5146 1.72655H26.6646V6.70655H27.5146ZM32.7121 8.21655C32.8588 8.05655 32.9621 7.86989 33.0221 7.65655C33.0888 7.44322 33.1221 7.26322 33.1221 7.11655V1.31655C33.1221 1.16989 33.0888 0.989886 33.0221 0.776553C32.9621 0.563219 32.8588 0.376553 32.7121 0.216553H35.1321C34.9855 0.376553 34.8788 0.563219 34.8121 0.776553C34.7521 0.989886 34.7221 1.16989 34.7221 1.31655V7.11655C34.7221 7.26322 34.7521 7.44322 34.8121 7.65655C34.8788 7.86989 34.9855 8.05655 35.1321 8.21655H32.7121ZM36.5096 8.21655C36.6496 8.04322 36.7529 7.86989 36.8196 7.69655C36.8862 7.51655 36.9229 7.32322 36.9296 7.11655V1.28655C36.8562 0.779886 36.7162 0.423219 36.5096 0.216553H38.7596C38.6996 0.309886 38.6696 0.406553 38.6696 0.506552C38.6696 0.619886 38.7129 0.759886 38.7996 0.926552L41.2596 4.82655V1.31655C41.2462 0.916552 41.1062 0.549886 40.8396 0.216553H43.2596C42.9862 0.556553 42.8496 0.923219 42.8496 1.31655V7.12655C42.8496 7.33322 42.8829 7.52322 42.9496 7.69655C43.0162 7.86322 43.1196 8.03655 43.2596 8.21655H40.9796C41.0329 8.16989 41.0762 8.10655 41.1096 8.02655C41.1496 7.93989 41.1696 7.84655 41.1696 7.74655C41.1696 7.63322 41.1396 7.51655 41.0796 7.39655L38.5196 3.36655V7.11655C38.5196 7.32322 38.5529 7.51322 38.6196 7.68655C38.6862 7.85989 38.7896 8.03655 38.9296 8.21655H36.5096ZM48.5 8.31655C47.72 8.31655 47.0133 8.13322 46.38 7.76655C45.7533 7.39989 45.26 6.90322 44.9 6.27655C44.54 5.64989 44.36 4.95655 44.36 4.19655C44.36 3.44322 44.5433 2.75322 44.91 2.12655C45.2833 1.49989 45.7866 1.00655 46.42 0.646552C47.0533 0.279886 47.7433 0.0965524 48.49 0.0965524C48.8966 0.0965524 49.2633 0.136552 49.59 0.216553C49.9166 0.296552 50.2333 0.436552 50.54 0.636553V2.72655C50.3533 2.50655 50.18 2.32322 50.02 2.17655C49.8666 2.02989 49.6566 1.89655 49.39 1.77655C49.1233 1.65655 48.81 1.59655 48.45 1.59655C47.9833 1.59655 47.56 1.71655 47.18 1.95655C46.8 2.18989 46.5 2.50655 46.28 2.90655C46.06 3.29989 45.95 3.72989 45.95 4.19655C45.95 4.67655 46.06 5.11655 46.28 5.51655C46.5066 5.91655 46.8166 6.23322 47.21 6.46655C47.6033 6.69322 48.0366 6.80655 48.51 6.80655C48.8233 6.80655 49.1366 6.74322 49.45 6.61655V5.18655C49.4433 5.06655 49.3966 4.94989 49.31 4.83655C49.2233 4.72322 49.12 4.62989 49 4.55655C48.88 4.47655 48.78 4.42989 48.7 4.41655L51.04 3.73655V7.54655C50.7466 7.75322 50.37 7.93322 49.91 8.08655C49.45 8.23989 48.98 8.31655 48.5 8.31655Z" fill="#0081FA"></path></svg><svg class="Screen_arrow__WLX93" viewBox="0 0 11 8" xmlns="http://www.w3.org/2000/svg" style="
228    display: block;
229    width: calc((11 / 14.4) * 1rem);
230    height: calc((8 / 14.4) * 1rem);
231    transform: rotate(180deg);
232"><path d="M7.5 0.716553L11 4.21655L7.5 7.71655L0 4.21655L7.5 0.716553Z" fill="#0081FA"></path></svg></div>
233        </div>
234
235
236      </div>
237    `;
238  }
239})();

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.