Account · Devnet
Track
14HHWCEy4BsmrNtBekDoUf6tdfXbgJo1L7KvaxnBPxWZⓘBytes stored and the encoding. Inline tracks keep the bytes on-chain.Size530 BInline
ⓘThe epoch the track became readable.Active epoch271ⓘThe epoch the tape allocation expires unless extended.Expiry epoch526in 5 dayshttps://gw.tape.network/track/14HHWCEy4BsmrNtBekDoUf6tdfXbgJo1L7KvaxnBPxWZHTTP
Details
- Tape
- EWEeQ...AR1GP
- Owner
- 8PLs5...89DzC
- Content key
- G7KAQ...SKqHp
- State
- Ready
- Type
- User
- Object
- app.js
- Content-type
- text/javascript
- Encoding
- Inline
- Spool group
- 0
- Value hash
- 8TEejRAukUFaciDR1m3PjRB4yrNkifY7rVKRgh3e5p4j
Content
00000000 63 6f 6e 73 74 20 73 74 61 72 74 42 75 74 74 6f |const startButto| 00000010 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 71 75 65 |n = document.que| 00000020 72 79 53 65 6c 65 63 74 6f 72 28 22 5b 64 61 74 |rySelector("[dat| 00000030 61 2d 73 63 72 6f 6c 6c 2d 74 61 72 67 65 74 5d |a-scroll-target]| 00000040 22 29 3b 0a 0a 73 74 61 72 74 42 75 74 74 6f 6e |");..startButton| 00000050 3f 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e |?.addEventListen| 00000060 65 72 28 22 63 6c 69 63 6b 22 2c 20 28 29 20 3d |er("click", () =| 00000070 3e 20 7b 0a 20 20 63 6f 6e 73 74 20 74 61 72 67 |> {. const targ| 00000080 65 74 49 64 20 3d 20 73 74 61 72 74 42 75 74 74 |etId = startButt| 00000090 6f 6e 2e 64 61 74 61 73 65 74 2e 73 63 72 6f 6c |on.dataset.scrol| 000000a0 6c 54 61 72 67 65 74 3b 0a 20 20 63 6f 6e 73 74 |lTarget;. const| 000000b0 20 74 61 72 67 65 74 20 3d 20 74 61 72 67 65 74 | target = target| 000000c0 49 64 20 3f 20 64 6f 63 75 6d 65 6e 74 2e 67 65 |Id ? document.ge| 000000d0 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 74 61 72 |tElementById(tar| 000000e0 67 65 74 49 64 29 20 3a 20 6e 75 6c 6c 3b 0a 0a |getId) : null;..| 000000f0 20 20 69 66 20 28 21 74 61 72 67 65 74 29 20 7b | if (!target) {| 00000100 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d |. return;. }| 00000110 0a 0a 20 20 63 6f 6e 73 74 20 70 72 65 66 65 72 |.. const prefer| 00000120 73 52 65 64 75 63 65 64 4d 6f 74 69 6f 6e 20 3d |sReducedMotion =| 00000130 20 77 69 6e 64 6f 77 2e 6d 61 74 63 68 4d 65 64 | window.matchMed| 00000140 69 61 28 0a 20 20 20 20 22 28 70 72 65 66 65 72 |ia(. "(prefer| 00000150 73 2d 72 65 64 75 63 65 64 2d 6d 6f 74 69 6f 6e |s-reduced-motion| 00000160 3a 20 72 65 64 75 63 65 29 22 0a 20 20 29 2e 6d |: reduce)". ).m| 00000170 61 74 63 68 65 73 3b 0a 0a 20 20 74 61 72 67 65 |atches;.. targe| 00000180 74 2e 73 63 72 6f 6c 6c 49 6e 74 6f 56 69 65 77 |t.scrollIntoView| 00000190 28 7b 0a 20 20 20 20 62 65 68 61 76 69 6f 72 3a |({. behavior:| 000001a0 20 70 72 65 66 65 72 73 52 65 64 75 63 65 64 4d | prefersReducedM| 000001b0 6f 74 69 6f 6e 20 3f 20 22 61 75 74 6f 22 20 3a |otion ? "auto" :| 000001c0 20 22 73 6d 6f 6f 74 68 22 2c 0a 20 20 20 20 62 | "smooth",. b| 000001d0 6c 6f 63 6b 3a 20 22 73 74 61 72 74 22 0a 20 20 |lock: "start". | 000001e0 7d 29 3b 0a 0a 20 20 74 61 72 67 65 74 2e 66 6f |});.. target.fo| 000001f0 63 75 73 28 7b 20 70 72 65 76 65 6e 74 53 63 72 |cus({ preventScr| 00000200 6f 6c 6c 3a 20 74 72 75 65 20 7d 29 3b 0a 7d 29 |oll: true });.})| 00000210 3b 0a |;.|