Account · Devnet
Track
HkQTiAj5xtfCBavMzEidzE3s1k9JEWUEaQw12wUJRSmKⓘBytes stored and the encoding. Inline tracks keep the bytes on-chain.Size595 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/HkQTiAj5xtfCBavMzEidzE3s1k9JEWUEaQw12wUJRSmKHTTP
Details
- Tape
- BJikK...v7WnY
- Owner
- F8Y1U...cZ6C5
- Content key
- G7KAQ...SKqHp
- State
- Ready
- Type
- User
- Object
- app.js
- Content-type
- text/javascript
- Encoding
- Inline
- Spool group
- 3
- Value hash
- C5roMkmJhL7stupwzv5ECV4s6ptemnWTx4VUfwyEK5xx
Content
00000000 28 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 |(function () {. | 00000010 20 64 6f 63 75 6d 65 6e 74 2e 61 64 64 45 76 65 | document.addEve| 00000020 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6c 69 63 |ntListener("clic| 00000030 6b 22 2c 20 66 75 6e 63 74 69 6f 6e 20 28 65 76 |k", function (ev| 00000040 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 74 |ent) {. var t| 00000050 61 72 67 65 74 20 3d 20 65 76 65 6e 74 2e 74 61 |arget = event.ta| 00000060 72 67 65 74 3b 0a 20 20 20 20 76 61 72 20 6c 69 |rget;. var li| 00000070 6e 6b 20 3d 20 74 61 72 67 65 74 20 26 26 20 74 |nk = target && t| 00000080 61 72 67 65 74 2e 63 6c 6f 73 65 73 74 0a 20 20 |arget.closest. | 00000090 20 20 20 20 3f 20 74 61 72 67 65 74 2e 63 6c 6f | ? target.clo| 000000a0 73 65 73 74 28 27 61 5b 68 72 65 66 5e 3d 22 23 |sest('a[href^="#| 000000b0 22 5d 27 29 0a 20 20 20 20 20 20 3a 20 6e 75 6c |"]'). : nul| 000000c0 6c 3b 0a 0a 20 20 20 20 69 66 20 28 21 6c 69 6e |l;.. if (!lin| 000000d0 6b 29 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 |k) return;.. | 000000e0 76 61 72 20 68 72 65 66 20 3d 20 6c 69 6e 6b 2e |var href = link.| 000000f0 67 65 74 41 74 74 72 69 62 75 74 65 28 22 68 72 |getAttribute("hr| 00000100 65 66 22 29 3b 0a 20 20 20 20 69 66 20 28 21 68 |ef");. if (!h| 00000110 72 65 66 20 7c 7c 20 68 72 65 66 20 3d 3d 3d 20 |ref || href === | 00000120 22 23 22 29 20 72 65 74 75 72 6e 3b 0a 0a 20 20 |"#") return;.. | 00000130 20 20 76 61 72 20 74 61 72 67 65 74 49 64 20 3d | var targetId =| 00000140 20 68 72 65 66 2e 73 6c 69 63 65 28 31 29 3b 0a | href.slice(1);.| 00000150 20 20 20 20 76 61 72 20 64 65 73 74 69 6e 61 74 | var destinat| 00000160 69 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 |ion = document.g| 00000170 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 74 61 |etElementById(ta| 00000180 72 67 65 74 49 64 29 3b 0a 20 20 20 20 69 66 20 |rgetId);. if | 00000190 28 21 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 72 |(!destination) r| 000001a0 65 74 75 72 6e 3b 0a 0a 20 20 20 20 65 76 65 6e |eturn;.. even| 000001b0 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 |t.preventDefault| 000001c0 28 29 3b 0a 20 20 20 20 64 65 73 74 69 6e 61 74 |();. destinat| 000001d0 69 6f 6e 2e 73 63 72 6f 6c 6c 49 6e 74 6f 56 69 |ion.scrollIntoVi| 000001e0 65 77 28 7b 20 62 65 68 61 76 69 6f 72 3a 20 22 |ew({ behavior: "| 000001f0 73 6d 6f 6f 74 68 22 2c 20 62 6c 6f 63 6b 3a 20 |smooth", block: | 00000200 22 73 74 61 72 74 22 20 7d 29 3b 0a 20 20 20 20 |"start" });. | 00000210 77 69 6e 64 6f 77 2e 68 69 73 74 6f 72 79 2e 72 |window.history.r| 00000220 65 70 6c 61 63 65 53 74 61 74 65 28 6e 75 6c 6c |eplaceState(null| 00000230 2c 20 22 22 2c 20 22 23 22 20 2b 20 74 61 72 67 |, "", "#" + targ| 00000240 65 74 49 64 29 3b 0a 20 20 7d 29 3b 0a 7d 29 28 |etId);. });.})(| 00000250 29 3b 0a |);.|