@abelxiaoxing/cadence 2.1.9 → 2.1.10
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/package.json +18 -16
- package/src/service-host.mjs +158 -360
- package/web/dist/assets/cadence.css +1 -1
- package/web/dist/assets/cadence.js +2 -2
- package/web/dist/manifest.json +6 -6
package/src/service-host.mjs
CHANGED
|
@@ -10875,12 +10875,29 @@ function loginNextPath(url) {
|
|
|
10875
10875
|
import { createHash as createHash9 } from "node:crypto";
|
|
10876
10876
|
var styles = `
|
|
10877
10877
|
:root {
|
|
10878
|
-
color-scheme: dark;
|
|
10878
|
+
color-scheme: light dark;
|
|
10879
10879
|
font-family:
|
|
10880
|
-
Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
10881
|
-
color: #edf4f1;
|
|
10882
|
-
background: #0a100f;
|
|
10880
|
+
Inter, Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
10883
10881
|
font-synthesis: none;
|
|
10882
|
+
--page: light-dark(#f5f7ff, #020617);
|
|
10883
|
+
--text: light-dark(#0f172a, #e6edf7);
|
|
10884
|
+
--muted: light-dark(#536176, #94a3b8);
|
|
10885
|
+
--glass: light-dark(rgba(255, 255, 255, 0.62), rgba(15, 23, 42, 0.62));
|
|
10886
|
+
--glass-line: light-dark(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
|
|
10887
|
+
--field: light-dark(rgba(255, 255, 255, 0.5), rgba(2, 6, 23, 0.48));
|
|
10888
|
+
--field-line: light-dark(rgba(100, 116, 139, 0.28), rgba(255, 255, 255, 0.12));
|
|
10889
|
+
--primary-a: light-dark(#0e7490, #22d3ee);
|
|
10890
|
+
--primary-b: light-dark(#1d4ed8, #60a5fa);
|
|
10891
|
+
--on-primary: light-dark(#ffffff, #082f49);
|
|
10892
|
+
--focus: light-dark(#2563eb, #22d3ee);
|
|
10893
|
+
--glow: light-dark(rgba(37, 99, 235, 0.22), rgba(34, 211, 238, 0.2));
|
|
10894
|
+
--shadow: light-dark(rgba(30, 64, 175, 0.14), rgba(0, 0, 0, 0.42));
|
|
10895
|
+
--mesh-a: light-dark(rgba(147, 197, 253, 0.64), rgba(34, 211, 238, 0.1));
|
|
10896
|
+
--mesh-b: light-dark(rgba(196, 181, 253, 0.58), rgba(37, 99, 235, 0.16));
|
|
10897
|
+
--mesh-c: light-dark(rgba(165, 243, 252, 0.52), rgba(99, 102, 241, 0.1));
|
|
10898
|
+
--grid: light-dark(rgba(37, 99, 235, 0.04), rgba(56, 189, 248, 0.055));
|
|
10899
|
+
--error: light-dark(#b91c1c, #fda4af);
|
|
10900
|
+
--error-bg: light-dark(rgba(254, 226, 226, 0.7), rgba(159, 18, 57, 0.12));
|
|
10884
10901
|
}
|
|
10885
10902
|
* {
|
|
10886
10903
|
box-sizing: border-box;
|
|
@@ -10891,267 +10908,150 @@ body {
|
|
|
10891
10908
|
min-height: 100svh;
|
|
10892
10909
|
display: grid;
|
|
10893
10910
|
place-items: center;
|
|
10894
|
-
padding:
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
radial-gradient(ellipse at 90% 95%, #253b492e, transparent 50%), #0a100f;
|
|
10911
|
+
padding: 28px 20px;
|
|
10912
|
+
color: var(--text);
|
|
10913
|
+
background: var(--page);
|
|
10898
10914
|
}
|
|
10899
|
-
body::before
|
|
10915
|
+
body::before,
|
|
10916
|
+
body::after {
|
|
10900
10917
|
content: "";
|
|
10901
10918
|
position: fixed;
|
|
10902
10919
|
inset: 0;
|
|
10920
|
+
z-index: 0;
|
|
10903
10921
|
pointer-events: none;
|
|
10904
|
-
background-image:
|
|
10905
|
-
linear-gradient(#9bc6b605 1px, transparent 1px),
|
|
10906
|
-
linear-gradient(90deg, #9bc6b605 1px, transparent 1px);
|
|
10907
|
-
background-size: 64px 64px;
|
|
10908
10922
|
}
|
|
10909
|
-
|
|
10910
|
-
position: relative;
|
|
10911
|
-
display: grid;
|
|
10912
|
-
grid-template-columns: 1.1fr 1fr;
|
|
10913
|
-
width: min(1080px, 100%);
|
|
10914
|
-
min-height: 650px;
|
|
10915
|
-
border: 1px solid #b2d6c51c;
|
|
10916
|
-
border-radius: 28px;
|
|
10917
|
-
overflow: hidden;
|
|
10918
|
-
background: #101916;
|
|
10919
|
-
box-shadow: 0 40px 100px #0005;
|
|
10920
|
-
}
|
|
10921
|
-
.story {
|
|
10922
|
-
position: relative;
|
|
10923
|
-
isolation: isolate;
|
|
10924
|
-
overflow: hidden;
|
|
10925
|
-
padding: 42px 48px;
|
|
10926
|
-
display: flex;
|
|
10927
|
-
flex-direction: column;
|
|
10923
|
+
body::before {
|
|
10928
10924
|
background:
|
|
10929
|
-
radial-gradient(
|
|
10930
|
-
|
|
10925
|
+
radial-gradient(circle at 12% 10%, var(--mesh-a), transparent 42%),
|
|
10926
|
+
radial-gradient(circle at 90% 16%, var(--mesh-b), transparent 44%),
|
|
10927
|
+
radial-gradient(circle at 52% 100%, var(--mesh-c), transparent 48%);
|
|
10931
10928
|
}
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
letter-spacing: -0.7px;
|
|
10939
|
-
}
|
|
10940
|
-
.brand svg {
|
|
10941
|
-
width: 34px;
|
|
10942
|
-
height: 34px;
|
|
10943
|
-
color: #b8f3ce;
|
|
10929
|
+
body::after {
|
|
10930
|
+
background-image:
|
|
10931
|
+
linear-gradient(var(--grid) 1px, transparent 1px),
|
|
10932
|
+
linear-gradient(90deg, var(--grid) 1px, transparent 1px);
|
|
10933
|
+
background-size: 48px 48px;
|
|
10934
|
+
mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
|
|
10944
10935
|
}
|
|
10945
|
-
|
|
10936
|
+
main {
|
|
10946
10937
|
position: relative;
|
|
10947
10938
|
z-index: 1;
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
text-transform: uppercase;
|
|
10955
|
-
color: #a4bdb1;
|
|
10956
|
-
margin: 0 0 19px;
|
|
10957
|
-
}
|
|
10958
|
-
.headline {
|
|
10959
|
-
font-size: clamp(42px, 4.4vw, 58px);
|
|
10960
|
-
font-weight: 450;
|
|
10961
|
-
line-height: 1.08;
|
|
10962
|
-
letter-spacing: -2.7px;
|
|
10963
|
-
margin: 0;
|
|
10964
|
-
}
|
|
10965
|
-
.headline em {
|
|
10966
|
-
font-style: normal;
|
|
10967
|
-
color: #bbf4cf;
|
|
10968
|
-
}
|
|
10969
|
-
.lede {
|
|
10970
|
-
max-width: 310px;
|
|
10971
|
-
margin: 24px 0 0;
|
|
10972
|
-
color: #a8beb2;
|
|
10973
|
-
font-size: 14px;
|
|
10974
|
-
line-height: 1.75;
|
|
10975
|
-
}
|
|
10976
|
-
.orbit {
|
|
10977
|
-
position: absolute;
|
|
10978
|
-
z-index: -1;
|
|
10979
|
-
width: 430px;
|
|
10980
|
-
height: 430px;
|
|
10981
|
-
right: -180px;
|
|
10982
|
-
bottom: -175px;
|
|
10983
|
-
border: 1px solid #b8f3ce30;
|
|
10984
|
-
border-radius: 50%;
|
|
10939
|
+
width: min(400px, 100%);
|
|
10940
|
+
padding: 40px;
|
|
10941
|
+
overflow: hidden;
|
|
10942
|
+
border: 1px solid var(--glass-line);
|
|
10943
|
+
border-radius: 28px;
|
|
10944
|
+
background: var(--glass);
|
|
10985
10945
|
box-shadow:
|
|
10986
|
-
0
|
|
10987
|
-
|
|
10946
|
+
0 28px 80px var(--shadow),
|
|
10947
|
+
0 0 48px var(--glow),
|
|
10948
|
+
inset 0 1px 0 var(--glass-line);
|
|
10949
|
+
backdrop-filter: blur(24px) saturate(140%);
|
|
10950
|
+
-webkit-backdrop-filter: blur(24px) saturate(140%);
|
|
10951
|
+
text-align: center;
|
|
10952
|
+
animation: arrive 0.45s ease-out both;
|
|
10988
10953
|
}
|
|
10989
|
-
|
|
10990
|
-
.orbit::after {
|
|
10954
|
+
main::before {
|
|
10991
10955
|
content: "";
|
|
10992
10956
|
position: absolute;
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
.orbit::after {
|
|
10998
|
-
inset: -48px;
|
|
10999
|
-
border-style: dashed;
|
|
11000
|
-
border-color: #b8f3ce17;
|
|
10957
|
+
inset: 0 18% auto;
|
|
10958
|
+
height: 1px;
|
|
10959
|
+
background: linear-gradient(90deg, transparent, var(--primary-a), transparent);
|
|
10960
|
+
opacity: 0.75;
|
|
11001
10961
|
}
|
|
11002
|
-
.
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
animation: orbit 36s linear infinite;
|
|
11007
|
-
}
|
|
11008
|
-
.satellite::before {
|
|
11009
|
-
content: "";
|
|
11010
|
-
position: absolute;
|
|
11011
|
-
top: 60px;
|
|
11012
|
-
left: 60px;
|
|
11013
|
-
width: 8px;
|
|
11014
|
-
height: 8px;
|
|
11015
|
-
border-radius: 50%;
|
|
11016
|
-
background: #c2f6d3;
|
|
11017
|
-
box-shadow: 0 0 24px #b6ffcd88;
|
|
11018
|
-
}
|
|
11019
|
-
.rhythm {
|
|
11020
|
-
display: flex;
|
|
11021
|
-
align-items: center;
|
|
11022
|
-
gap: 14px;
|
|
11023
|
-
margin-top: auto;
|
|
11024
|
-
padding-top: 72px;
|
|
11025
|
-
font-size: 11px;
|
|
11026
|
-
color: #b0c4b8;
|
|
11027
|
-
letter-spacing: 0.3px;
|
|
11028
|
-
}
|
|
11029
|
-
.rhythm span {
|
|
11030
|
-
color: #638273;
|
|
11031
|
-
}
|
|
11032
|
-
.entry {
|
|
11033
|
-
display: flex;
|
|
11034
|
-
flex-direction: column;
|
|
11035
|
-
justify-content: center;
|
|
11036
|
-
padding: 64px 56px;
|
|
11037
|
-
background: linear-gradient(150deg, #16201b66, transparent 65%);
|
|
10962
|
+
.brand {
|
|
10963
|
+
display: grid;
|
|
10964
|
+
justify-items: center;
|
|
10965
|
+
gap: 16px;
|
|
11038
10966
|
}
|
|
11039
|
-
.
|
|
11040
|
-
display:
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
border: 1px solid
|
|
11045
|
-
border-radius:
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
.access svg {
|
|
11054
|
-
width: 12px;
|
|
11055
|
-
height: 12px;
|
|
11056
|
-
color: #b8edc7;
|
|
10967
|
+
.brand-mark {
|
|
10968
|
+
display: grid;
|
|
10969
|
+
place-items: center;
|
|
10970
|
+
width: 52px;
|
|
10971
|
+
height: 52px;
|
|
10972
|
+
border: 1px solid var(--glass-line);
|
|
10973
|
+
border-radius: 16px;
|
|
10974
|
+
color: var(--on-primary);
|
|
10975
|
+
background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
|
|
10976
|
+
box-shadow: 0 10px 32px var(--glow);
|
|
10977
|
+
}
|
|
10978
|
+
.brand-mark svg {
|
|
10979
|
+
width: 30px;
|
|
10980
|
+
height: 30px;
|
|
11057
10981
|
}
|
|
11058
10982
|
h1 {
|
|
11059
|
-
|
|
10983
|
+
margin: 0;
|
|
10984
|
+
font-size: 24px;
|
|
10985
|
+
font-weight: 600;
|
|
11060
10986
|
line-height: 1.2;
|
|
11061
|
-
|
|
11062
|
-
letter-spacing: -1.2px;
|
|
11063
|
-
margin: 0 0 12px;
|
|
10987
|
+
letter-spacing: -0.7px;
|
|
11064
10988
|
}
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
color: #a5b5ab;
|
|
11068
|
-
line-height: 1.65;
|
|
11069
|
-
margin: 0 0 32px;
|
|
11070
|
-
}
|
|
11071
|
-
label {
|
|
11072
|
-
display: block;
|
|
11073
|
-
font-size: 12px;
|
|
11074
|
-
font-weight: 500;
|
|
11075
|
-
color: #d1e0d6;
|
|
11076
|
-
margin-bottom: 10px;
|
|
10989
|
+
form {
|
|
10990
|
+
margin-top: 34px;
|
|
11077
10991
|
}
|
|
11078
10992
|
.field {
|
|
11079
10993
|
position: relative;
|
|
10994
|
+
margin-bottom: 14px;
|
|
11080
10995
|
}
|
|
11081
|
-
.field svg {
|
|
10996
|
+
.field > svg {
|
|
11082
10997
|
position: absolute;
|
|
10998
|
+
top: 17px;
|
|
11083
10999
|
left: 16px;
|
|
11084
|
-
top: 18px;
|
|
11085
11000
|
width: 18px;
|
|
11086
11001
|
height: 18px;
|
|
11087
|
-
color:
|
|
11002
|
+
color: var(--muted);
|
|
11088
11003
|
pointer-events: none;
|
|
11089
11004
|
}
|
|
11090
11005
|
input[type="password"] {
|
|
11091
11006
|
display: block;
|
|
11092
11007
|
width: 100%;
|
|
11093
|
-
height:
|
|
11094
|
-
border: 1px solid #c2e7cf26;
|
|
11095
|
-
border-radius: 10px;
|
|
11096
|
-
background: #0b130f;
|
|
11097
|
-
color: #edf4f1;
|
|
11008
|
+
height: 52px;
|
|
11098
11009
|
padding: 0 16px 0 46px;
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
|
|
11010
|
+
border: 1px solid var(--field-line);
|
|
11011
|
+
border-radius: 14px;
|
|
11012
|
+
outline: none;
|
|
11013
|
+
background: var(--field);
|
|
11014
|
+
color: var(--text);
|
|
11015
|
+
font: 15px ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
11016
|
+
letter-spacing: 0.5px;
|
|
11105
11017
|
transition:
|
|
11106
11018
|
border-color 0.2s,
|
|
11107
|
-
box-shadow 0.2s
|
|
11019
|
+
box-shadow 0.2s,
|
|
11020
|
+
background 0.2s;
|
|
11108
11021
|
}
|
|
11109
11022
|
input::placeholder {
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
system-ui,
|
|
11113
|
-
sans-serif;
|
|
11023
|
+
color: var(--muted);
|
|
11024
|
+
font-family: Inter, Geist, ui-sans-serif, system-ui, sans-serif;
|
|
11114
11025
|
letter-spacing: 0;
|
|
11115
|
-
color: #7f9588;
|
|
11116
11026
|
}
|
|
11117
11027
|
input:hover {
|
|
11118
|
-
border-color:
|
|
11028
|
+
border-color: var(--focus);
|
|
11119
11029
|
}
|
|
11120
11030
|
input:focus-visible {
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
border-color: #b8f3ce;
|
|
11031
|
+
border-color: var(--focus);
|
|
11032
|
+
box-shadow: 0 0 0 4px var(--glow);
|
|
11124
11033
|
}
|
|
11125
11034
|
input[aria-invalid="true"] {
|
|
11126
|
-
border-color:
|
|
11127
|
-
}
|
|
11128
|
-
.hint {
|
|
11129
|
-
margin: 10px 0 24px;
|
|
11130
|
-
font-size: 12px;
|
|
11131
|
-
line-height: 1.6;
|
|
11132
|
-
color: #92a99a;
|
|
11035
|
+
border-color: var(--error);
|
|
11133
11036
|
}
|
|
11134
11037
|
button {
|
|
11135
11038
|
width: 100%;
|
|
11136
|
-
min-height:
|
|
11039
|
+
min-height: 50px;
|
|
11137
11040
|
display: flex;
|
|
11138
11041
|
align-items: center;
|
|
11139
11042
|
justify-content: center;
|
|
11140
|
-
gap:
|
|
11141
|
-
border: 1px solid
|
|
11142
|
-
border-radius:
|
|
11143
|
-
background:
|
|
11144
|
-
color:
|
|
11145
|
-
font:
|
|
11146
|
-
600 13px ui-sans-serif,
|
|
11147
|
-
system-ui,
|
|
11148
|
-
sans-serif;
|
|
11043
|
+
gap: 10px;
|
|
11044
|
+
border: 1px solid var(--glass-line);
|
|
11045
|
+
border-radius: 14px;
|
|
11046
|
+
background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
|
|
11047
|
+
color: var(--on-primary);
|
|
11048
|
+
font: 600 14px Inter, Geist, ui-sans-serif, system-ui, sans-serif;
|
|
11149
11049
|
cursor: pointer;
|
|
11150
|
-
box-shadow: 0
|
|
11050
|
+
box-shadow: 0 10px 28px var(--glow);
|
|
11151
11051
|
transition:
|
|
11152
|
-
background 0.2s,
|
|
11153
11052
|
transform 0.2s,
|
|
11154
|
-
box-shadow 0.2s
|
|
11053
|
+
box-shadow 0.2s,
|
|
11054
|
+
filter 0.2s;
|
|
11155
11055
|
}
|
|
11156
11056
|
button svg {
|
|
11157
11057
|
width: 17px;
|
|
@@ -11159,9 +11059,9 @@ button svg {
|
|
|
11159
11059
|
transition: transform 0.2s;
|
|
11160
11060
|
}
|
|
11161
11061
|
button:hover {
|
|
11162
|
-
|
|
11163
|
-
box-shadow: 0 4px 28px #9cffbb1c;
|
|
11062
|
+
filter: brightness(1.06);
|
|
11164
11063
|
transform: translateY(-1px);
|
|
11064
|
+
box-shadow: 0 14px 34px var(--glow);
|
|
11165
11065
|
}
|
|
11166
11066
|
button:hover svg {
|
|
11167
11067
|
transform: translateX(3px);
|
|
@@ -11170,130 +11070,44 @@ button:active {
|
|
|
11170
11070
|
transform: translateY(0);
|
|
11171
11071
|
}
|
|
11172
11072
|
button:focus-visible {
|
|
11173
|
-
outline: 2px solid
|
|
11073
|
+
outline: 2px solid var(--focus);
|
|
11174
11074
|
outline-offset: 4px;
|
|
11175
11075
|
}
|
|
11176
|
-
.remember {
|
|
11177
|
-
margin: 22px auto 0;
|
|
11178
|
-
max-width: 270px;
|
|
11179
|
-
text-align: center;
|
|
11180
|
-
color: #91a799;
|
|
11181
|
-
font-size: 11px;
|
|
11182
|
-
line-height: 1.8;
|
|
11183
|
-
}
|
|
11184
11076
|
.notice {
|
|
11077
|
+
margin: 0 0 16px;
|
|
11078
|
+
padding: 10px 12px;
|
|
11079
|
+
border: 1px solid var(--error);
|
|
11080
|
+
border-radius: 12px;
|
|
11081
|
+
background: var(--error-bg);
|
|
11082
|
+
color: var(--error);
|
|
11185
11083
|
font-size: 12px;
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
border: 1px solid #dca47c40;
|
|
11189
|
-
border-radius: 10px;
|
|
11190
|
-
padding: 12px 14px;
|
|
11191
|
-
margin: 0 0 20px;
|
|
11192
|
-
line-height: 1.65;
|
|
11193
|
-
}
|
|
11194
|
-
footer {
|
|
11195
|
-
position: relative;
|
|
11196
|
-
grid-column: 1 / -1;
|
|
11197
|
-
display: flex;
|
|
11198
|
-
justify-content: space-between;
|
|
11199
|
-
gap: 16px;
|
|
11200
|
-
width: min(1080px, 100%);
|
|
11201
|
-
padding: 20px 8px 0;
|
|
11202
|
-
color: #829b8b;
|
|
11203
|
-
font-size: 10px;
|
|
11204
|
-
letter-spacing: 0.3px;
|
|
11084
|
+
line-height: 1.5;
|
|
11085
|
+
text-align: left;
|
|
11205
11086
|
}
|
|
11206
|
-
.
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11087
|
+
.sr-only {
|
|
11088
|
+
position: absolute;
|
|
11089
|
+
width: 1px;
|
|
11090
|
+
height: 1px;
|
|
11091
|
+
padding: 0;
|
|
11092
|
+
margin: -1px;
|
|
11093
|
+
overflow: hidden;
|
|
11094
|
+
clip-path: inset(50%);
|
|
11095
|
+
white-space: nowrap;
|
|
11096
|
+
border: 0;
|
|
11215
11097
|
}
|
|
11216
|
-
@
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
.intro {
|
|
11221
|
-
margin-top: 100px;
|
|
11098
|
+
@keyframes arrive {
|
|
11099
|
+
from {
|
|
11100
|
+
opacity: 0;
|
|
11101
|
+
transform: translateY(8px);
|
|
11222
11102
|
}
|
|
11223
11103
|
}
|
|
11224
|
-
@media (max-width:
|
|
11104
|
+
@media (max-width: 420px) {
|
|
11225
11105
|
body {
|
|
11226
|
-
padding:
|
|
11106
|
+
padding: 18px 14px;
|
|
11227
11107
|
}
|
|
11228
11108
|
main {
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
min-height: 0;
|
|
11232
|
-
border-radius: 22px;
|
|
11233
|
-
}
|
|
11234
|
-
.story {
|
|
11235
|
-
padding: 28px 30px 30px;
|
|
11236
|
-
}
|
|
11237
|
-
.intro {
|
|
11238
|
-
margin-top: 34px;
|
|
11239
|
-
}
|
|
11240
|
-
.headline {
|
|
11241
|
-
font-size: 40px;
|
|
11242
|
-
letter-spacing: -1.8px;
|
|
11243
|
-
}
|
|
11244
|
-
.headline br {
|
|
11245
|
-
display: none;
|
|
11246
|
-
}
|
|
11247
|
-
.lede {
|
|
11248
|
-
font-size: 13px;
|
|
11249
|
-
margin-top: 14px;
|
|
11250
|
-
max-width: 340px;
|
|
11251
|
-
}
|
|
11252
|
-
.rhythm {
|
|
11253
|
-
display: none;
|
|
11254
|
-
}
|
|
11255
|
-
.orbit {
|
|
11256
|
-
width: 320px;
|
|
11257
|
-
height: 320px;
|
|
11258
|
-
right: -180px;
|
|
11259
|
-
bottom: -215px;
|
|
11260
|
-
}
|
|
11261
|
-
.entry {
|
|
11262
|
-
padding: 32px 30px 36px;
|
|
11263
|
-
}
|
|
11264
|
-
.access {
|
|
11265
|
-
margin-bottom: 22px;
|
|
11266
|
-
}
|
|
11267
|
-
h1 {
|
|
11268
|
-
font-size: 28px;
|
|
11269
|
-
}
|
|
11270
|
-
.description {
|
|
11271
|
-
margin-bottom: 26px;
|
|
11272
|
-
}
|
|
11273
|
-
footer {
|
|
11274
|
-
max-width: 480px;
|
|
11275
|
-
padding-top: 16px;
|
|
11276
|
-
font-size: 9px;
|
|
11277
|
-
}
|
|
11278
|
-
.eyebrow {
|
|
11279
|
-
margin-bottom: 12px;
|
|
11280
|
-
}
|
|
11281
|
-
}
|
|
11282
|
-
@media (max-width: 360px) {
|
|
11283
|
-
body {
|
|
11284
|
-
padding: 14px 10px;
|
|
11285
|
-
}
|
|
11286
|
-
.story,
|
|
11287
|
-
.entry {
|
|
11288
|
-
padding-left: 22px;
|
|
11289
|
-
padding-right: 22px;
|
|
11290
|
-
}
|
|
11291
|
-
.headline {
|
|
11292
|
-
font-size: 36px;
|
|
11293
|
-
}
|
|
11294
|
-
footer {
|
|
11295
|
-
flex-wrap: wrap;
|
|
11296
|
-
gap: 6px;
|
|
11109
|
+
padding: 32px 24px;
|
|
11110
|
+
border-radius: 24px;
|
|
11297
11111
|
}
|
|
11298
11112
|
}
|
|
11299
11113
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -11305,19 +11119,18 @@ footer {
|
|
|
11305
11119
|
}
|
|
11306
11120
|
}
|
|
11307
11121
|
@media (forced-colors: active) {
|
|
11122
|
+
body::before,
|
|
11123
|
+
body::after,
|
|
11124
|
+
main::before {
|
|
11125
|
+
display: none;
|
|
11126
|
+
}
|
|
11308
11127
|
main,
|
|
11309
11128
|
input[type="password"],
|
|
11310
11129
|
button,
|
|
11311
|
-
.
|
|
11130
|
+
.brand-mark,
|
|
11312
11131
|
.notice {
|
|
11313
11132
|
border: 1px solid CanvasText;
|
|
11314
11133
|
}
|
|
11315
|
-
.orbit {
|
|
11316
|
-
display: none;
|
|
11317
|
-
}
|
|
11318
|
-
.headline em {
|
|
11319
|
-
color: CanvasText;
|
|
11320
|
-
}
|
|
11321
11134
|
}
|
|
11322
11135
|
`;
|
|
11323
11136
|
var AUTH_PAGE_CSP = `default-src 'none'; style-src 'sha256-${createHash9("sha256").update(styles).digest("base64")}'; base-uri 'none'; frame-ancestors 'none'; form-action 'self'`;
|
|
@@ -11330,43 +11143,28 @@ function renderAuthPage(options) {
|
|
|
11330
11143
|
<head>
|
|
11331
11144
|
<meta charset="utf-8">
|
|
11332
11145
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
11333
|
-
<meta name="color-scheme" content="dark">
|
|
11334
|
-
<title>
|
|
11146
|
+
<meta name="color-scheme" content="light dark">
|
|
11147
|
+
<title>Cadence</title>
|
|
11335
11148
|
<style>${styles}</style>
|
|
11336
11149
|
</head>
|
|
11337
11150
|
<body>
|
|
11338
|
-
<
|
|
11339
|
-
<
|
|
11340
|
-
<
|
|
11341
|
-
<
|
|
11342
|
-
<div class="intro">
|
|
11343
|
-
<p class="eyebrow">A little focus. A lot of possibility.</p>
|
|
11344
|
-
<p class="headline">Find your flow.<br> Build <em>what’s next.</em></p>
|
|
11345
|
-
<p class="lede">A space for your ideas to become plans, and your plans to become something real.</p>
|
|
11151
|
+
<main aria-labelledby="welcome">
|
|
11152
|
+
<div class="brand">
|
|
11153
|
+
<span class="brand-mark" aria-hidden="true"><svg viewBox="0 0 36 36" fill="none"><path d="M25 11a9 9 0 1 0 0 14M12 18h12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg></span>
|
|
11154
|
+
<h1 id="welcome">Cadence</h1>
|
|
11346
11155
|
</div>
|
|
11347
|
-
<
|
|
11348
|
-
<div class="rhythm" aria-hidden="true">Think <span>↗</span> Create <span>↗</span> Keep going</div>
|
|
11349
|
-
</section>
|
|
11350
|
-
<section class="entry" aria-labelledby="welcome">
|
|
11351
|
-
<div class="access"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><rect x="4" y="9" width="12" height="8" rx="2" stroke="currentColor" stroke-width="1.5"/><path d="M7 9V6a3 3 0 0 1 6 0v3" stroke="currentColor" stroke-width="1.5"/></svg>Private workspace</div>
|
|
11352
|
-
<h1 id="welcome">Welcome to Cadence.</h1>
|
|
11353
|
-
<p class="description">Your next idea starts here.<br>Enter your access key to step inside.</p>
|
|
11354
|
-
${options.authError ? '<p id="auth-notice" class="notice" role="alert">Access key was not accepted. Check the current key and try again.</p>' : ""}
|
|
11156
|
+
${options.authError ? '<p id="auth-notice" class="notice" role="alert">Invalid access token.</p>' : ""}
|
|
11355
11157
|
<form method="post" action="/auth">
|
|
11356
11158
|
<input type="hidden" name="next" value="${escapeAttr(options.nextPath)}">
|
|
11357
|
-
<label for="key">Access
|
|
11159
|
+
<label class="sr-only" for="key">Access token</label>
|
|
11358
11160
|
<div class="field">
|
|
11359
11161
|
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><circle cx="8" cy="9" r="4" stroke="currentColor" stroke-width="1.6"/><path d="m11 12 8 8m-3-3 2-2m-5-1 2-2" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></svg>
|
|
11360
|
-
<input id="key" name="password" type="password" placeholder="
|
|
11162
|
+
<input id="key" name="password" type="password" placeholder="Access token" autocomplete="current-password" required autofocus aria-describedby="key-hint${options.authError ? " auth-notice" : ""}"${options.authError ? ' aria-invalid="true"' : ""}>
|
|
11361
11163
|
</div>
|
|
11362
|
-
<p id="key-hint" class="
|
|
11363
|
-
<button type="submit">
|
|
11164
|
+
<p id="key-hint" class="sr-only">Use the token provided by your Cadence server.</p>
|
|
11165
|
+
<button type="submit">Enter<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4 12h15m-6-6 6 6-6 6" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
|
|
11364
11166
|
</form>
|
|
11365
|
-
<p class="remember">Stay signed in on this browser for up to a year.<br>Your access key stays out of the address bar.</p>
|
|
11366
|
-
</section>
|
|
11367
11167
|
</main>
|
|
11368
|
-
<footer><span>Cadence · A workspace for what’s next.</span><span>Your space. Your pace.</span></footer>
|
|
11369
|
-
</div>
|
|
11370
11168
|
</body>
|
|
11371
11169
|
</html>
|
|
11372
11170
|
`;
|
|
@@ -35117,8 +34915,8 @@ function workflowResultDetail(value, secrets) {
|
|
|
35117
34915
|
var runtimeSummary = (runtime) => `${describeWorkerRuntime(runtime)}
|
|
35118
34916
|
${RUN_ENVIRONMENT_POLICY}`;
|
|
35119
34917
|
var OWNER_RUNTIME = Object.freeze({
|
|
35120
|
-
version: "2.1.
|
|
35121
|
-
build: "
|
|
34918
|
+
version: "2.1.10",
|
|
34919
|
+
build: "9d5c50c9e4c178870b59c8c2efd9c0fbaabd00b8eb9c1ca57f5594890e208065",
|
|
35122
34920
|
entry: fileURLToPath7(import.meta.url),
|
|
35123
34921
|
pid: process.pid,
|
|
35124
34922
|
node: process.versions.node,
|