Create new
Bindings
Transitions
Animations
Easing
Component composition
Context API
Special elements
Module context
Debugging
Miscellaneous
App.svelte
runes
Runes are available from Svelte 5 onwards, and this playground is using Svelte 3.32.1.
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
⌄
⌄
⌄
⌄
<script>
import { onMount } from 'svelte';
import { tweened } from 'svelte/motion';
import { linear, bounceOut, circOut, cubicOut, elasticOut, expoOut, quadOut, quartOut, quintOut, sineOut } from 'svelte/easing';
let movements = { 'Sweeping': linear, 'Grandfather': bounceOut, 'Modern': elasticOut };
let movement = 'Sweeping';
// define and set the initial tweening function
let sweep = tweened(parseInt((Date.now() / 1000) % 60), {
duration: 1000,
easing: movements[movement]
});
let time = new Date();
// for a smooth transition between 59 and 0 seconds
let start = Date.now() / 1000 - (Date.now() / 1000) % 60
// these automatically update when `time`
// changes, because of the `$:` prefix
$: hours = time.getHours();
$: minutes = time.getMinutes();
$: seconds = time.getSeconds();
/*
Apparently, we cannot change the ease on a tweening function using a reactive variable.
We need to redefine the entire tweening function.
This function updates the easing function based on input selection.
See more here at this Discord thread:
https://discord.com/channels/457912077277855764/457912077277855766/687411610008158289
*/
function changeSweep() {
sweep = tweened($sweep, {
duration: 1000,
easing: movements[movement]
});
Error compiling component
WebAssembly.instantiateStreaming(): value type opcode @+13
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
/* App.svelte generated by Svelte v3.32.1 */
import {
SvelteComponent,
append,
attr,
destroy_each,
detach,
element,
empty,
init,
insert,
listen,
noop,
run_all,
safe_not_equal,
set_style,
space,
subscribe,
svg_element,
text
} from "svelte/internal";
import { onMount } from "svelte";
import { tweened } from "svelte/motion";
import {
linear,
bounceOut,
circOut,
cubicOut,
elasticOut,
expoOut,
quadOut,
quartOut,
quintOut,
sineOut
result = svelte.compile(source, {
generate: ,
});9
1
›
svg.svelte-1h9snos{width:100%;height:65%}.clock-text.svelte-1h9snos{font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;font-size:0.7em}.clock-face.svelte-1h9snos{stroke:#333;fill:white}.fulcrum.svelte-1h9snos{fill:rgb(180,0,0)}.minor.svelte-1h9snos{stroke:#999;stroke-width:0.5}.major.svelte-1h9snos{stroke:#333;stroke-width:1}.hour.svelte-1h9snos{stroke:#333;stroke-linecap:round;stroke-width:1.5}.minute.svelte-1h9snos{stroke:#333;stroke-linecap:round;stroke-width:1}.second.svelte-1h9snos{stroke-width:0.5}.second.svelte-1h9snos,.second-counterweight.svelte-1h9snos{stroke:rgb(180,0,0)}.second-counterweight.svelte-1h9snos{stroke-width:2.5}
{
html: Fragment {...}
- start: 1485
- end: 4290
- type: "Fragment"
children: [...] (3)
Text {...}
- start: 1483
- end: 1485
- type: "Text"
- raw: "\n\n"
- data: "\n\n"
} Text {...}
- start: 2146
- end: 2148
- type: "Text"
- raw: "\n\n"
- data: "\n\n"
} Element {...}
- start: 2148
- end: 4290
- type: "Element"
- name: "body"
- attributes: []
children: [...] (11)
Text {...}
- start: 2154
- end: 2156
- type: "Text"
- raw: "\n\t"
- data: "\n\t"
} Element {...}
- start: 2156
- end: 2181
- type: "Element"
- name: "h1"
- attributes: []
children: [...] (1)
Text {...}
- start: 2160
- end: 2176
- type: "Text"
- raw: "Analog SVG Clock"
- data: "Analog SVG Clock"
}
]
} Text {...}
- start: 2181
- end: 2183
- type: "Text"
- raw: "\n\t"
- data: "\n\t"
} Element {...}
- start: 2183
- end: 2218
- type: "Element"
- name: "p"
- attributes: []
children: [...] (1)
Text {...}
- start: 2186
- end: 2214
- type: "Text"
- raw: "Exercises in Easing Fuctions"
- data: "Exercises in Easing Fuctions"
}
]
} Text {...}
- start: 2218
- end: 2220
- type: "Text"
- raw: "\n\t"
- data: "\n\t"
} Element {...}
- start: 2220
- end: 3970
- type: "Element"
- name: "svg"
attributes: [...] (1)
Attribute {...}
- start: 2225
- end: 2250
- type: "Attribute"
- name: "viewBox"
value: [...] (1)
Text {...}
- start: 2234
- end: 2249
- type: "Text"
- raw: "-50 -50 100 100"
- data: "-50 -50 100 100"
}
]
}
]children: [...] (27)
Text {...}
- start: 2251
- end: 2255
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Element {...}
- start: 2255
- end: 2290
- type: "Element"
- name: "circle"
attributes: [...] (2)
Attribute {...}
- start: 2263
- end: 2281
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 2270
- end: 2280
- type: "Text"
- raw: "clock-face"
- data: "clock-face svelte-1h9snos"
}
]
} Attribute {...}
- start: 2282
- end: 2288
- type: "Attribute"
- name: "r"
value: [...] (1)
Text {...}
- start: 2285
- end: 2287
- type: "Text"
- raw: "48"
- data: "48"
}
]
}
]- children: []
} Text {...}
- start: 2290
- end: 2294
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 2294
- end: 2307
- type: "Comment"
- data: " logo "
} Text {...}
- start: 2307
- end: 2310
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} Element {...}
- start: 2310
- end: 2400
- type: "Element"
- name: "image"
attributes: [...] (5)
Attribute {...}
- start: 2317
- end: 2352
- type: "Attribute"
- name: "href"
value: [...] (1)
Text {...}
- start: 2323
- end: 2351
- type: "Text"
- raw: "./svelte-logo-horizontal.svg"
- data: "./svelte-logo-horizontal.svg"
}
]
} Attribute {...}
- start: 2353
- end: 2363
- type: "Attribute"
- name: "width"
value: [...] (1)
Text {...}
- start: 2360
- end: 2362
- type: "Text"
- raw: "30"
- data: "30"
}
]
} Attribute {...}
- start: 2364
- end: 2375
- type: "Attribute"
- name: "height"
value: [...] (1)
Text {...}
- start: 2372
- end: 2374
- type: "Text"
- raw: "30"
- data: "30"
}
]
} Attribute {...}
- start: 2376
- end: 2383
- type: "Attribute"
- name: "x"
value: [...] (1)
Text {...}
- start: 2379
- end: 2382
- type: "Text"
- raw: "-14"
- data: "-14"
}
]
} Attribute {...}
- start: 2384
- end: 2391
- type: "Attribute"
- name: "y"
value: [...] (1)
Text {...}
- start: 2387
- end: 2390
- type: "Text"
- raw: "-30"
- data: "-30"
}
]
}
]- children: []
} Text {...}
- start: 2400
- end: 2404
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 2404
- end: 2420
- type: "Comment"
- data: " markers "
} Text {...}
- start: 2420
- end: 2423
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} EachBlock {...}
- start: 2423
- end: 3463
- type: "EachBlock"
expression: ArrayExpression {...}
- type: "ArrayExpression"
- start: 2430
- end: 2476
loc: {...}
start: {...}
- line: 116
- column: 9
}end: {...}
- line: 116
- column: 55
}
}elements: [...] (12)
Literal {...}
- type: "Literal"
- start: 2431
- end: 2432
loc: {...}
start: {...}
- line: 116
- column: 10
}end: {...}
- line: 116
- column: 11
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 2434
- end: 2435
loc: {...}
start: {...}
- line: 116
- column: 13
}end: {...}
- line: 116
- column: 14
}
}- value: 5
- raw: "5"
} Literal {...}
- type: "Literal"
- start: 2437
- end: 2439
loc: {...}
start: {...}
- line: 116
- column: 16
}end: {...}
- line: 116
- column: 18
}
}- value: 10
- raw: "10"
} Literal {...}
- type: "Literal"
- start: 2441
- end: 2443
loc: {...}
start: {...}
- line: 116
- column: 20
}end: {...}
- line: 116
- column: 22
}
}- value: 15
- raw: "15"
} Literal {...}
- type: "Literal"
- start: 2445
- end: 2447
loc: {...}
start: {...}
- line: 116
- column: 24
}end: {...}
- line: 116
- column: 26
}
}- value: 20
- raw: "20"
} Literal {...}
- type: "Literal"
- start: 2449
- end: 2451
loc: {...}
start: {...}
- line: 116
- column: 28
}end: {...}
- line: 116
- column: 30
}
}- value: 25
- raw: "25"
} Literal {...}
- type: "Literal"
- start: 2453
- end: 2455
loc: {...}
start: {...}
- line: 116
- column: 32
}end: {...}
- line: 116
- column: 34
}
}- value: 30
- raw: "30"
} Literal {...}
- type: "Literal"
- start: 2457
- end: 2459
loc: {...}
start: {...}
- line: 116
- column: 36
}end: {...}
- line: 116
- column: 38
}
}- value: 35
- raw: "35"
} Literal {...}
- type: "Literal"
- start: 2461
- end: 2463
loc: {...}
start: {...}
- line: 116
- column: 40
}end: {...}
- line: 116
- column: 42
}
}- value: 40
- raw: "40"
} Literal {...}
- type: "Literal"
- start: 2465
- end: 2467
loc: {...}
start: {...}
- line: 116
- column: 44
}end: {...}
- line: 116
- column: 46
}
}- value: 45
- raw: "45"
} Literal {...}
- type: "Literal"
- start: 2469
- end: 2471
loc: {...}
start: {...}
- line: 116
- column: 48
}end: {...}
- line: 116
- column: 50
}
}- value: 50
- raw: "50"
} Literal {...}
- type: "Literal"
- start: 2473
- end: 2475
loc: {...}
start: {...}
- line: 116
- column: 52
}end: {...}
- line: 116
- column: 54
}
}- value: 55
- raw: "55"
}
]
}children: [...] (5)
Element {...}
- start: 2490
- end: 2587
- type: "Element"
- name: "line"
attributes: [...] (4)
Attribute {...}
- start: 2501
- end: 2514
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 2508
- end: 2513
- type: "Text"
- raw: "major"
- data: "major svelte-1h9snos"
}
]
} Attribute {...}
- start: 2520
- end: 2527
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 2524
- end: 2526
- type: "Text"
- raw: "36"
- data: "36"
}
]
} Attribute {...}
- start: 2533
- end: 2540
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 2537
- end: 2539
- type: "Text"
- raw: "45"
- data: "45"
}
]
} Attribute {...}
- start: 2546
- end: 2579
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 2557
- end: 2565
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 2564
- end: 2577
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2565
- end: 2576
loc: {...}
start: {...}
- line: 121
- column: 24
}end: {...}
- line: 121
- column: 35
}
}left: Literal {...}
- type: "Literal"
- start: 2565
- end: 2567
loc: {...}
start: {...}
- line: 121
- column: 24
}end: {...}
- line: 121
- column: 26
}
}- value: 30
- raw: "30"
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 121
- column: 29
}end: {...}
- line: 121
- column: 35
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
}
} Text {...}
- start: 2577
- end: 2578
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]- children: []
} Text {...}
- start: 2587
- end: 2591
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} IfBlock {...}
- start: 2591
- end: 3299
- type: "IfBlock"
expression: Identifier {...}
- type: "Identifier"
- start: 2596
- end: 2602
loc: {...}
start: {...}
- line: 124
- column: 7
}end: {...}
- line: 124
- column: 13
}
}- name: "minute"
}children: [...] (1)
Element {...}
- start: 2606
- end: 3060
- type: "Element"
- name: "g"
attributes: [...] (1)
Attribute {...}
- start: 2609
- end: 2677
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 2620
- end: 2628
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 2627
- end: 2675
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2629
- end: 2673
loc: {...}
start: {...}
- line: 125
- column: 25
}end: {...}
- line: 125
- column: 69
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2629
- end: 2649
loc: {...}
start: {...}
- line: 125
- column: 25
}end: {...}
- line: 125
- column: 45
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2630
- end: 2644
loc: {...}
start: {...}
- line: 125
- column: 26
}end: {...}
- line: 125
- column: 40
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2630
- end: 2640
loc: {...}
start: {...}
- line: 125
- column: 26
}end: {...}
- line: 125
- column: 36
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 125
- column: 26
}end: {...}
- line: 125
- column: 32
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2639
- end: 2640
loc: {...}
start: {...}
- line: 125
- column: 35
}end: {...}
- line: 125
- column: 36
}
}- value: 5
- raw: "5"
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 2643
- end: 2644
loc: {...}
start: {...}
- line: 125
- column: 39
}end: {...}
- line: 125
- column: 40
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: Literal {...}
- type: "Literal"
- start: 2648
- end: 2649
loc: {...}
start: {...}
- line: 125
- column: 44
}end: {...}
- line: 125
- column: 45
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2653
- end: 2672
loc: {...}
start: {...}
- line: 125
- column: 49
}end: {...}
- line: 125
- column: 68
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 125
- column: 49
}end: {...}
- line: 125
- column: 55
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2663
- end: 2671
loc: {...}
start: {...}
- line: 125
- column: 59
}end: {...}
- line: 125
- column: 67
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 125
- column: 59
}end: {...}
- line: 125
- column: 65
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2670
- end: 2671
loc: {...}
start: {...}
- line: 125
- column: 66
}end: {...}
- line: 125
- column: 67
}
}- value: 5
- raw: "5"
}
}
}
}
} Text {...}
- start: 2675
- end: 2676
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]children: [...] (3)
Text {...}
- start: 2678
- end: 2682
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} Element {...}
- start: 2682
- end: 3053
- type: "Element"
- name: "text"
attributes: [...] (4)
Attribute {...}
- start: 2695
- end: 2713
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 2702
- end: 2712
- type: "Text"
- raw: "clock-text"
- data: "clock-text svelte-1h9snos"
}
]
} Attribute {...}
- start: 2720
- end: 2885
- type: "Attribute"
- name: "transform"
value: [...] (5)
Text {...}
- start: 2731
- end: 2739
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 2738
- end: 2793
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2740
- end: 2791
loc: {...}
start: {...}
- line: 128
- column: 26
}end: {...}
- line: 128
- column: 77
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2741
- end: 2785
loc: {...}
start: {...}
- line: 128
- column: 27
}end: {...}
- line: 128
- column: 71
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2741
- end: 2761
loc: {...}
start: {...}
- line: 128
- column: 27
}end: {...}
- line: 128
- column: 47
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2742
- end: 2756
loc: {...}
start: {...}
- line: 128
- column: 28
}end: {...}
- line: 128
- column: 42
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2742
- end: 2752
loc: {...}
start: {...}
- line: 128
- column: 28
}end: {...}
- line: 128
- column: 38
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 28
}end: {...}
- line: 128
- column: 34
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2751
- end: 2752
loc: {...}
start: {...}
- line: 128
- column: 37
}end: {...}
- line: 128
- column: 38
}
}- value: 5
- raw: "5"
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 2755
- end: 2756
loc: {...}
start: {...}
- line: 128
- column: 41
}end: {...}
- line: 128
- column: 42
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: Literal {...}
- type: "Literal"
- start: 2760
- end: 2761
loc: {...}
start: {...}
- line: 128
- column: 46
}end: {...}
- line: 128
- column: 47
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2765
- end: 2784
loc: {...}
start: {...}
- line: 128
- column: 51
}end: {...}
- line: 128
- column: 70
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 51
}end: {...}
- line: 128
- column: 57
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2775
- end: 2783
loc: {...}
start: {...}
- line: 128
- column: 61
}end: {...}
- line: 128
- column: 69
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 61
}end: {...}
- line: 128
- column: 67
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2782
- end: 2783
loc: {...}
start: {...}
- line: 128
- column: 68
}end: {...}
- line: 128
- column: 69
}
}- value: 5
- raw: "5"
}
}
}
}- operator: "*"
right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 2789
- end: 2791
loc: {...}
start: {...}
- line: 128
- column: 75
}end: {...}
- line: 128
- column: 77
}
}- operator: "-"
- prefix: true
argument: Literal {...}
- type: "Literal"
- start: 2790
- end: 2791
loc: {...}
start: {...}
- line: 128
- column: 76
}end: {...}
- line: 128
- column: 77
}
}- value: 1
- raw: "1"
}
}
}
} Text {...}
- start: 2793
- end: 2797
- type: "Text"
- raw: ",0,"
- data: ",0,"
} MustacheTag {...}
- start: 2796
- end: 2883
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2798
- end: 2881
loc: {...}
start: {...}
- line: 128
- column: 84
}end: {...}
- line: 128
- column: 167
}
}left: Literal {...}
- type: "Literal"
- start: 2798
- end: 2800
loc: {...}
start: {...}
- line: 128
- column: 84
}end: {...}
- line: 128
- column: 86
}
}- value: 31
- raw: "31"
}- operator: "+"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2804
- end: 2880
loc: {...}
start: {...}
- line: 128
- column: 90
}end: {...}
- line: 128
- column: 166
}
}left: Literal {...}
- type: "Literal"
- start: 2804
- end: 2805
loc: {...}
start: {...}
- line: 128
- column: 90
}end: {...}
- line: 128
- column: 91
}
}- value: 1
- raw: "1"
}- operator: "-"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2808
- end: 2880
loc: {...}
start: {...}
- line: 128
- column: 94
}end: {...}
- line: 128
- column: 166
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2809
- end: 2869
loc: {...}
start: {...}
- line: 128
- column: 95
}end: {...}
- line: 128
- column: 155
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2809
- end: 2863
loc: {...}
start: {...}
- line: 128
- column: 95
}end: {...}
- line: 128
- column: 149
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 2809
- end: 2853
loc: {...}
start: {...}
- line: 128
- column: 95
}end: {...}
- line: 128
- column: 139
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 2809
- end: 2817
loc: {...}
start: {...}
- line: 128
- column: 95
}end: {...}
- line: 128
- column: 103
}
}object: Identifier {...}
- type: "Identifier"
- start: 2809
- end: 2813
loc: {...}
start: {...}
- line: 128
- column: 95
}end: {...}
- line: 128
- column: 99
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2814
- end: 2817
loc: {...}
start: {...}
- line: 128
- column: 100
}end: {...}
- line: 128
- column: 103
}
}- name: "abs"
}- computed: false
- optional: false
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 2818
- end: 2852
loc: {...}
start: {...}
- line: 128
- column: 104
}end: {...}
- line: 128
- column: 138
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2818
- end: 2832
loc: {...}
start: {...}
- line: 128
- column: 104
}end: {...}
- line: 128
- column: 118
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2819
- end: 2829
loc: {...}
start: {...}
- line: 128
- column: 105
}end: {...}
- line: 128
- column: 115
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2819
- end: 2827
loc: {...}
start: {...}
- line: 128
- column: 105
}end: {...}
- line: 128
- column: 113
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 105
}end: {...}
- line: 128
- column: 111
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2826
- end: 2827
loc: {...}
start: {...}
- line: 128
- column: 112
}end: {...}
- line: 128
- column: 113
}
}- value: 5
- raw: "5"
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 2828
- end: 2829
loc: {...}
start: {...}
- line: 128
- column: 114
}end: {...}
- line: 128
- column: 115
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: Literal {...}
- type: "Literal"
- start: 2831
- end: 2832
loc: {...}
start: {...}
- line: 128
- column: 117
}end: {...}
- line: 128
- column: 118
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2834
- end: 2851
loc: {...}
start: {...}
- line: 128
- column: 120
}end: {...}
- line: 128
- column: 137
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 120
}end: {...}
- line: 128
- column: 126
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2842
- end: 2850
loc: {...}
start: {...}
- line: 128
- column: 128
}end: {...}
- line: 128
- column: 136
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 128
- column: 128
}end: {...}
- line: 128
- column: 134
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2849
- end: 2850
loc: {...}
start: {...}
- line: 128
- column: 135
}end: {...}
- line: 128
- column: 136
}
}- value: 5
- raw: "5"
}
}
}
}
]- optional: false
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2856
- end: 2863
loc: {...}
start: {...}
- line: 128
- column: 142
}end: {...}
- line: 128
- column: 149
}
}object: Identifier {...}
- type: "Identifier"
- start: 2856
- end: 2860
loc: {...}
start: {...}
- line: 128
- column: 142
}end: {...}
- line: 128
- column: 146
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2861
- end: 2863
loc: {...}
start: {...}
- line: 128
- column: 147
}end: {...}
- line: 128
- column: 149
}
}- name: "PI"
}- computed: false
- optional: false
}
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2866
- end: 2869
loc: {...}
start: {...}
- line: 128
- column: 152
}end: {...}
- line: 128
- column: 155
}
}- value: 180
- raw: "180"
}
}- operator: "/"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2873
- end: 2880
loc: {...}
start: {...}
- line: 128
- column: 159
}end: {...}
- line: 128
- column: 166
}
}object: Identifier {...}
- type: "Identifier"
- start: 2873
- end: 2877
loc: {...}
start: {...}
- line: 128
- column: 159
}end: {...}
- line: 128
- column: 163
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2878
- end: 2880
loc: {...}
start: {...}
- line: 128
- column: 164
}end: {...}
- line: 128
- column: 166
}
}- name: "PI"
}- computed: false
- optional: false
}
}
}
}
} Text {...}
- start: 2883
- end: 2884
- type: "Text"
- raw: ")"
- data: ")"
}
]
} Attribute {...}
- start: 2893
- end: 2913
- type: "Attribute"
- name: "text-anchor"
value: [...] (1)
Text {...}
- start: 2906
- end: 2912
- type: "Text"
- raw: "middle"
- data: "middle"
}
]
} Attribute {...}
- start: 2921
- end: 3022
- type: "Attribute"
- name: "y"
value: [...] (1)
MustacheTag {...}
- start: 2924
- end: 3021
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2925
- end: 3020
loc: {...}
start: {...}
- line: 130
- column: 10
}end: {...}
- line: 130
- column: 105
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2925
- end: 3016
loc: {...}
start: {...}
- line: 130
- column: 10
}end: {...}
- line: 130
- column: 101
}
}left: Literal {...}
- type: "Literal"
- start: 2925
- end: 2927
loc: {...}
start: {...}
- line: 130
- column: 10
}end: {...}
- line: 130
- column: 12
}
}- value: 36
- raw: "36"
}- operator: "+"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2930
- end: 3016
loc: {...}
start: {...}
- line: 130
- column: 15
}end: {...}
- line: 130
- column: 101
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2931
- end: 3005
loc: {...}
start: {...}
- line: 130
- column: 16
}end: {...}
- line: 130
- column: 90
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2931
- end: 2999
loc: {...}
start: {...}
- line: 130
- column: 16
}end: {...}
- line: 130
- column: 84
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 2931
- end: 2989
loc: {...}
start: {...}
- line: 130
- column: 16
}end: {...}
- line: 130
- column: 74
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 2931
- end: 2939
loc: {...}
start: {...}
- line: 130
- column: 16
}end: {...}
- line: 130
- column: 24
}
}object: Identifier {...}
- type: "Identifier"
- start: 2931
- end: 2935
loc: {...}
start: {...}
- line: 130
- column: 16
}end: {...}
- line: 130
- column: 20
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2936
- end: 2939
loc: {...}
start: {...}
- line: 130
- column: 21
}end: {...}
- line: 130
- column: 24
}
}- name: "abs"
}- computed: false
- optional: false
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 2940
- end: 2988
loc: {...}
start: {...}
- line: 130
- column: 25
}end: {...}
- line: 130
- column: 73
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2940
- end: 2960
loc: {...}
start: {...}
- line: 130
- column: 25
}end: {...}
- line: 130
- column: 45
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2941
- end: 2955
loc: {...}
start: {...}
- line: 130
- column: 26
}end: {...}
- line: 130
- column: 40
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2941
- end: 2951
loc: {...}
start: {...}
- line: 130
- column: 26
}end: {...}
- line: 130
- column: 36
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 130
- column: 26
}end: {...}
- line: 130
- column: 32
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2950
- end: 2951
loc: {...}
start: {...}
- line: 130
- column: 35
}end: {...}
- line: 130
- column: 36
}
}- value: 5
- raw: "5"
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 2954
- end: 2955
loc: {...}
start: {...}
- line: 130
- column: 39
}end: {...}
- line: 130
- column: 40
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: Literal {...}
- type: "Literal"
- start: 2959
- end: 2960
loc: {...}
start: {...}
- line: 130
- column: 44
}end: {...}
- line: 130
- column: 45
}
}- value: 6
- raw: "6"
}
}- operator: "*"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2965
- end: 2987
loc: {...}
start: {...}
- line: 130
- column: 50
}end: {...}
- line: 130
- column: 72
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 130
- column: 50
}end: {...}
- line: 130
- column: 56
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2976
- end: 2986
loc: {...}
start: {...}
- line: 130
- column: 61
}end: {...}
- line: 130
- column: 71
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 130
- column: 61
}end: {...}
- line: 130
- column: 67
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2985
- end: 2986
loc: {...}
start: {...}
- line: 130
- column: 70
}end: {...}
- line: 130
- column: 71
}
}- value: 5
- raw: "5"
}
}
}
}
]- optional: false
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2992
- end: 2999
loc: {...}
start: {...}
- line: 130
- column: 77
}end: {...}
- line: 130
- column: 84
}
}object: Identifier {...}
- type: "Identifier"
- start: 2992
- end: 2996
loc: {...}
start: {...}
- line: 130
- column: 77
}end: {...}
- line: 130
- column: 81
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2997
- end: 2999
loc: {...}
start: {...}
- line: 130
- column: 82
}end: {...}
- line: 130
- column: 84
}
}- name: "PI"
}- computed: false
- optional: false
}
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 3002
- end: 3005
loc: {...}
start: {...}
- line: 130
- column: 87
}end: {...}
- line: 130
- column: 90
}
}- value: 180
- raw: "180"
}
}- operator: "/"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 3009
- end: 3016
loc: {...}
start: {...}
- line: 130
- column: 94
}end: {...}
- line: 130
- column: 101
}
}object: Identifier {...}
- type: "Identifier"
- start: 3009
- end: 3013
loc: {...}
start: {...}
- line: 130
- column: 94
}end: {...}
- line: 130
- column: 98
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 3014
- end: 3016
loc: {...}
start: {...}
- line: 130
- column: 99
}end: {...}
- line: 130
- column: 101
}
}- name: "PI"
}- computed: false
- optional: false
}
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 3019
- end: 3020
loc: {...}
start: {...}
- line: 130
- column: 104
}end: {...}
- line: 130
- column: 105
}
}- value: 1
- raw: "1"
}
}
}
]
}
]children: [...] (2)
MustacheTag {...}
- start: 3030
- end: 3042
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3031
- end: 3041
loc: {...}
start: {...}
- line: 131
- column: 8
}end: {...}
- line: 131
- column: 18
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 131
- column: 8
}end: {...}
- line: 131
- column: 14
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 3040
- end: 3041
loc: {...}
start: {...}
- line: 131
- column: 17
}end: {...}
- line: 131
- column: 18
}
}- value: 5
- raw: "5"
}
}
} Text {...}
- start: 3042
- end: 3046
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
}
]
} Text {...}
- start: 3053
- end: 3056
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
}
]
}
]else: ElseBlock {...}
- start: 3070
- end: 3294
- type: "ElseBlock"
children: [...] (1)
Element {...}
- start: 3073
- end: 3291
- type: "Element"
- name: "g"
attributes: [...] (1)
Attribute {...}
- start: 3076
- end: 3100
- type: "Attribute"
- name: "transform"
value: [...] (1)
Text {...}
- start: 3087
- end: 3099
- type: "Text"
- raw: "rotate(-180)"
- data: "rotate(-180)"
}
]
}
]children: [...] (3)
Text {...}
- start: 3101
- end: 3105
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} Element {...}
- start: 3105
- end: 3284
- type: "Element"
- name: "text"
attributes: [...] (4)
Attribute {...}
- start: 3118
- end: 3136
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3125
- end: 3135
- type: "Text"
- raw: "clock-text"
- data: "clock-text svelte-1h9snos"
}
]
} Attribute {...}
- start: 3143
- end: 3171
- type: "Attribute"
- name: "transform"
value: [...] (1)
Text {...}
- start: 3154
- end: 3170
- type: "Text"
- raw: "rotate(180,0,31)"
- data: "rotate(180,0,31)"
}
]
} Attribute {...}
- start: 3179
- end: 3199
- type: "Attribute"
- name: "text-anchor"
value: [...] (1)
Text {...}
- start: 3192
- end: 3198
- type: "Text"
- raw: "middle"
- data: "middle"
}
]
} Attribute {...}
- start: 3207
- end: 3263
- type: "Attribute"
- name: "y"
value: [...] (1)
MustacheTag {...}
- start: 3210
- end: 3262
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3211
- end: 3261
loc: {...}
start: {...}
- line: 140
- column: 10
}end: {...}
- line: 140
- column: 60
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3211
- end: 3257
loc: {...}
start: {...}
- line: 140
- column: 10
}end: {...}
- line: 140
- column: 56
}
}left: Literal {...}
- type: "Literal"
- start: 3211
- end: 3213
loc: {...}
start: {...}
- line: 140
- column: 10
}end: {...}
- line: 140
- column: 12
}
}- value: 36
- raw: "36"
}- operator: "+"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3216
- end: 3257
loc: {...}
start: {...}
- line: 140
- column: 15
}end: {...}
- line: 140
- column: 56
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3217
- end: 3246
loc: {...}
start: {...}
- line: 140
- column: 16
}end: {...}
- line: 140
- column: 45
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3217
- end: 3240
loc: {...}
start: {...}
- line: 140
- column: 16
}end: {...}
- line: 140
- column: 39
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 3217
- end: 3230
loc: {...}
start: {...}
- line: 140
- column: 16
}end: {...}
- line: 140
- column: 29
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3217
- end: 3225
loc: {...}
start: {...}
- line: 140
- column: 16
}end: {...}
- line: 140
- column: 24
}
}object: Identifier {...}
- type: "Identifier"
- start: 3217
- end: 3221
loc: {...}
start: {...}
- line: 140
- column: 16
}end: {...}
- line: 140
- column: 20
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 3222
- end: 3225
loc: {...}
start: {...}
- line: 140
- column: 21
}end: {...}
- line: 140
- column: 24
}
}- name: "abs"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 3226
- end: 3229
loc: {...}
start: {...}
- line: 140
- column: 25
}end: {...}
- line: 140
- column: 28
}
}- value: 180
- raw: "180"
}
]- optional: false
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 3233
- end: 3240
loc: {...}
start: {...}
- line: 140
- column: 32
}end: {...}
- line: 140
- column: 39
}
}object: Identifier {...}
- type: "Identifier"
- start: 3233
- end: 3237
loc: {...}
start: {...}
- line: 140
- column: 32
}end: {...}
- line: 140
- column: 36
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 3238
- end: 3240
loc: {...}
start: {...}
- line: 140
- column: 37
}end: {...}
- line: 140
- column: 39
}
}- name: "PI"
}- computed: false
- optional: false
}
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 3243
- end: 3246
loc: {...}
start: {...}
- line: 140
- column: 42
}end: {...}
- line: 140
- column: 45
}
}- value: 180
- raw: "180"
}
}- operator: "/"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 3250
- end: 3257
loc: {...}
start: {...}
- line: 140
- column: 49
}end: {...}
- line: 140
- column: 56
}
}object: Identifier {...}
- type: "Identifier"
- start: 3250
- end: 3254
loc: {...}
start: {...}
- line: 140
- column: 49
}end: {...}
- line: 140
- column: 53
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 3255
- end: 3257
loc: {...}
start: {...}
- line: 140
- column: 54
}end: {...}
- line: 140
- column: 56
}
}- name: "PI"
}- computed: false
- optional: false
}
}
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 3260
- end: 3261
loc: {...}
start: {...}
- line: 140
- column: 59
}end: {...}
- line: 140
- column: 60
}
}- value: 1
- raw: "1"
}
}
}
]
}
]children: [...] (1)
Text {...}
- start: 3271
- end: 3277
- type: "Text"
- raw: "12\n\t\t\t"
- data: "12\n\t\t\t"
}
]
} Text {...}
- start: 3284
- end: 3287
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
}
]
}
]
}
} Text {...}
- start: 3299
- end: 3303
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} EachBlock {...}
- start: 3303
- end: 3453
- type: "EachBlock"
expression: ArrayExpression {...}
- type: "ArrayExpression"
- start: 3310
- end: 3322
loc: {...}
start: {...}
- line: 146
- column: 9
}end: {...}
- line: 146
- column: 21
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 3311
- end: 3312
loc: {...}
start: {...}
- line: 146
- column: 10
}end: {...}
- line: 146
- column: 11
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 3314
- end: 3315
loc: {...}
start: {...}
- line: 146
- column: 13
}end: {...}
- line: 146
- column: 14
}
}- value: 2
- raw: "2"
} Literal {...}
- type: "Literal"
- start: 3317
- end: 3318
loc: {...}
start: {...}
- line: 146
- column: 16
}end: {...}
- line: 146
- column: 17
}
}- value: 3
- raw: "3"
} Literal {...}
- type: "Literal"
- start: 3320
- end: 3321
loc: {...}
start: {...}
- line: 146
- column: 19
}end: {...}
- line: 146
- column: 20
}
}- value: 4
- raw: "4"
}
]
}children: [...] (1)
Element {...}
- start: 3336
- end: 3443
- type: "Element"
- name: "line"
attributes: [...] (4)
Attribute {...}
- start: 3347
- end: 3360
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3354
- end: 3359
- type: "Text"
- raw: "minor"
- data: "minor svelte-1h9snos"
}
]
} Attribute {...}
- start: 3366
- end: 3373
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 3370
- end: 3372
- type: "Text"
- raw: "42"
- data: "42"
}
]
} Attribute {...}
- start: 3379
- end: 3386
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 3383
- end: 3385
- type: "Text"
- raw: "45"
- data: "45"
}
]
} Attribute {...}
- start: 3392
- end: 3435
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 3403
- end: 3411
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 3410
- end: 3433
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3411
- end: 3432
loc: {...}
start: {...}
- line: 151
- column: 24
}end: {...}
- line: 151
- column: 45
}
}left: Literal {...}
- type: "Literal"
- start: 3411
- end: 3412
loc: {...}
start: {...}
- line: 151
- column: 24
}end: {...}
- line: 151
- column: 25
}
}- value: 6
- raw: "6"
}- operator: "*"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3416
- end: 3431
loc: {...}
start: {...}
- line: 151
- column: 29
}end: {...}
- line: 151
- column: 44
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 151
- column: 29
}end: {...}
- line: 151
- column: 35
}
}
}property: Literal {...}
- type: "Literal"
- value: 16
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minute"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "+"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 151
- column: 38
}end: {...}
- line: 151
- column: 44
}
}
}property: Literal {...}
- type: "Literal"
- value: 19
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "offset"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
}
}
} Text {...}
- start: 3433
- end: 3434
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]- children: []
}
]context: Identifier {...}
- type: "Identifier"
- name: "offset"
- start: 3326
- end: 3332
}
}
]context: Identifier {...}
- type: "Identifier"
- name: "minute"
- start: 2480
- end: 2486
}
} Text {...}
- start: 3463
- end: 3467
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 3467
- end: 3485
- type: "Comment"
- data: " hour hand "
} Text {...}
- start: 3485
- end: 3488
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} Element {...}
- start: 3488
- end: 3597
- type: "Element"
- name: "line"
attributes: [...] (4)
Attribute {...}
- start: 3499
- end: 3511
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3506
- end: 3510
- type: "Text"
- raw: "hour"
- data: "hour svelte-1h9snos"
}
]
} Attribute {...}
- start: 3517
- end: 3523
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 3521
- end: 3522
- type: "Text"
- raw: "6"
- data: "6"
}
]
} Attribute {...}
- start: 3529
- end: 3537
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 3533
- end: 3536
- type: "Text"
- raw: "-28"
- data: "-28"
}
]
} Attribute {...}
- start: 3543
- end: 3589
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 3554
- end: 3562
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 3561
- end: 3587
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3562
- end: 3586
loc: {...}
start: {...}
- line: 161
- column: 24
}end: {...}
- line: 161
- column: 48
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3562
- end: 3572
loc: {...}
start: {...}
- line: 161
- column: 24
}end: {...}
- line: 161
- column: 34
}
}left: Literal {...}
- type: "Literal"
- start: 3562
- end: 3564
loc: {...}
start: {...}
- line: 161
- column: 24
}end: {...}
- line: 161
- column: 26
}
}- value: 30
- raw: "30"
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 161
- column: 29
}end: {...}
- line: 161
- column: 34
}
}
}property: Literal {...}
- type: "Literal"
- value: 2
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "hours"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
}- operator: "+"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3575
- end: 3586
loc: {...}
start: {...}
- line: 161
- column: 37
}end: {...}
- line: 161
- column: 48
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 161
- column: 37
}end: {...}
- line: 161
- column: 44
}
}
}property: Literal {...}
- type: "Literal"
- value: 3
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minutes"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 3585
- end: 3586
loc: {...}
start: {...}
- line: 161
- column: 47
}end: {...}
- line: 161
- column: 48
}
}- value: 2
- raw: "2"
}
}
}
} Text {...}
- start: 3587
- end: 3588
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]- children: []
} Text {...}
- start: 3597
- end: 3601
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 3601
- end: 3621
- type: "Comment"
- data: " minute hand "
} Text {...}
- start: 3621
- end: 3624
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} Element {...}
- start: 3624
- end: 3737
- type: "Element"
- name: "line"
attributes: [...] (4)
Attribute {...}
- start: 3635
- end: 3649
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3642
- end: 3648
- type: "Text"
- raw: "minute"
- data: "minute svelte-1h9snos"
}
]
} Attribute {...}
- start: 3655
- end: 3661
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 3659
- end: 3660
- type: "Text"
- raw: "6"
- data: "6"
}
]
} Attribute {...}
- start: 3667
- end: 3675
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 3671
- end: 3674
- type: "Text"
- raw: "-42"
- data: "-42"
}
]
} Attribute {...}
- start: 3681
- end: 3729
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 3692
- end: 3700
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 3699
- end: 3727
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3700
- end: 3726
loc: {...}
start: {...}
- line: 169
- column: 24
}end: {...}
- line: 169
- column: 50
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3700
- end: 3711
loc: {...}
start: {...}
- line: 169
- column: 24
}end: {...}
- line: 169
- column: 35
}
}left: Literal {...}
- type: "Literal"
- start: 3700
- end: 3701
loc: {...}
start: {...}
- line: 169
- column: 24
}end: {...}
- line: 169
- column: 25
}
}- value: 6
- raw: "6"
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 169
- column: 28
}end: {...}
- line: 169
- column: 35
}
}
}property: Literal {...}
- type: "Literal"
- value: 3
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "minutes"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
}- operator: "+"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3714
- end: 3726
loc: {...}
start: {...}
- line: 169
- column: 38
}end: {...}
- line: 169
- column: 50
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 169
- column: 38
}end: {...}
- line: 169
- column: 45
}
}
}property: Literal {...}
- type: "Literal"
- value: 4
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "seconds"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 3724
- end: 3726
loc: {...}
start: {...}
- line: 169
- column: 48
}end: {...}
- line: 169
- column: 50
}
}- value: 10
- raw: "10"
}
}
}
} Text {...}
- start: 3727
- end: 3728
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]- children: []
} Text {...}
- start: 3737
- end: 3741
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 3741
- end: 3761
- type: "Comment"
- data: " second hand "
} Text {...}
- start: 3761
- end: 3764
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} Element {...}
- start: 3764
- end: 3905
- type: "Element"
- name: "g"
attributes: [...] (1)
Attribute {...}
- start: 3767
- end: 3799
- type: "Attribute"
- name: "transform"
value: [...] (3)
Text {...}
- start: 3778
- end: 3786
- type: "Text"
- raw: "rotate("
- data: "rotate("
} MustacheTag {...}
- start: 3785
- end: 3797
- type: "MustacheTag"
expression: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3786
- end: 3796
loc: {...}
start: {...}
- line: 173
- column: 24
}end: {...}
- line: 173
- column: 34
}
}left: Literal {...}
- type: "Literal"
- start: 3786
- end: 3787
loc: {...}
start: {...}
- line: 173
- column: 24
}end: {...}
- line: 173
- column: 25
}
}- value: 6
- raw: "6"
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 173
- column: 28
}end: {...}
- line: 173
- column: 34
}
}
}property: Literal {...}
- type: "Literal"
- value: 5
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "$sweep"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
}
} Text {...}
- start: 3797
- end: 3798
- type: "Text"
- raw: ")"
- data: ")"
}
]
}
]children: [...] (5)
Text {...}
- start: 3800
- end: 3804
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} Element {...}
- start: 3804
- end: 3843
- type: "Element"
- name: "line"
attributes: [...] (3)
Attribute {...}
- start: 3810
- end: 3824
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3817
- end: 3823
- type: "Text"
- raw: "second"
- data: "second svelte-1h9snos"
}
]
} Attribute {...}
- start: 3825
- end: 3832
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 3829
- end: 3831
- type: "Text"
- raw: "10"
- data: "10"
}
]
} Attribute {...}
- start: 3833
- end: 3841
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 3837
- end: 3840
- type: "Text"
- raw: "-36"
- data: "-36"
}
]
}
]- children: []
} Text {...}
- start: 3843
- end: 3847
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} Element {...}
- start: 3847
- end: 3898
- type: "Element"
- name: "line"
attributes: [...] (3)
Attribute {...}
- start: 3853
- end: 3881
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3860
- end: 3880
- type: "Text"
- raw: "second-counterweight"
- data: "second-counterweight svelte-1h9snos"
}
]
} Attribute {...}
- start: 3882
- end: 3889
- type: "Attribute"
- name: "y1"
value: [...] (1)
Text {...}
- start: 3886
- end: 3888
- type: "Text"
- raw: "18"
- data: "18"
}
]
} Attribute {...}
- start: 3890
- end: 3896
- type: "Attribute"
- name: "y2"
value: [...] (1)
Text {...}
- start: 3894
- end: 3895
- type: "Text"
- raw: "4"
- data: "4"
}
]
}
]- children: []
} Text {...}
- start: 3898
- end: 3901
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
}
]
} Text {...}
- start: 3905
- end: 3909
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} Comment {...}
- start: 3909
- end: 3923
- type: "Comment"
- data: " pivot "
} Text {...}
- start: 3923
- end: 3926
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
} Element {...}
- start: 3926
- end: 3961
- type: "Element"
- name: "circle"
attributes: [...] (2)
Attribute {...}
- start: 3934
- end: 3949
- type: "Attribute"
- name: "class"
value: [...] (1)
Text {...}
- start: 3941
- end: 3948
- type: "Text"
- raw: "fulcrum"
- data: "fulcrum svelte-1h9snos"
}
]
} Attribute {...}
- start: 3950
- end: 3958
- type: "Attribute"
- name: "r"
value: [...] (1)
Text {...}
- start: 3953
- end: 3957
- type: "Text"
- raw: "1.25"
- data: "1.25"
}
]
}
]- children: []
} Text {...}
- start: 3961
- end: 3964
- type: "Text"
- raw: "\n\n\t"
- data: "\n\n\t"
}
]
} Text {...}
- start: 3970
- end: 3972
- type: "Text"
- raw: "\n\t"
- data: "\n\t"
} Element {...}
- start: 3972
- end: 4002
- type: "Element"
- name: "h3"
- attributes: []
children: [...] (1)
Text {...}
- start: 3976
- end: 3997
- type: "Text"
- raw: "Select hand movement:"
- data: "Select hand movement:"
}
]
} Text {...}
- start: 4002
- end: 4004
- type: "Text"
- raw: "\n\t"
- data: "\n\t"
} Element {...}
- start: 4004
- end: 4280
- type: "Element"
- name: "div"
attributes: [...] (1)
Attribute {...}
- start: 4009
- end: 4030
- type: "Attribute"
- name: "style"
value: [...] (1)
Text {...}
- start: 4016
- end: 4029
- type: "Text"
- raw: "display:flex;"
- data: "display:flex;"
}
]
}
]children: [...] (3)
Text {...}
- start: 4031
- end: 4035
- type: "Text"
- raw: "\n\n\t\t"
- data: "\n\n\t\t"
} EachBlock {...}
- start: 4035
- end: 4271
- type: "EachBlock"
expression: CallExpression {...}
- type: "CallExpression"
- start: 4042
- end: 4064
loc: {...}
start: {...}
- line: 185
- column: 9
}end: {...}
- line: 185
- column: 31
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 4042
- end: 4053
loc: {...}
start: {...}
- line: 185
- column: 9
}end: {...}
- line: 185
- column: 20
}
}object: Identifier {...}
- type: "Identifier"
- start: 4042
- end: 4048
loc: {...}
start: {...}
- line: 185
- column: 9
}end: {...}
- line: 185
- column: 15
}
}- name: "Object"
}property: Identifier {...}
- type: "Identifier"
- start: 4049
- end: 4053
loc: {...}
start: {...}
- line: 185
- column: 16
}end: {...}
- line: 185
- column: 20
}
}- name: "keys"
}- computed: false
- optional: false
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 185
- column: 21
}end: {...}
- line: 185
- column: 30
}
}
}property: Literal {...}
- type: "Literal"
- value: 6
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "movements"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}
]- optional: false
}children: [...] (1)
Element {...}
- start: 4076
- end: 4261
- type: "Element"
- name: "label"
attributes: [...] (1)
Attribute {...}
- start: 4083
- end: 4103
- type: "Attribute"
- name: "style"
value: [...] (1)
Text {...}
- start: 4090
- end: 4102
- type: "Text"
- raw: "margin:auto;"
- data: "margin:auto;"
}
]
}
]children: [...] (5)
Text {...}
- start: 4104
- end: 4108
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} Element {...}
- start: 4108
- end: 4226
- type: "Element"
- name: "input"
attributes: [...] (4)
EventHandler {...}
- start: 4115
- end: 4179
- type: "EventHandler"
- name: "change"
- modifiers: []
expression: ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 4126
- end: 4177
loc: {...}
start: {...}
- line: 187
- column: 21
}end: {...}
- line: 187
- column: 72
}
}- id: null
- expression: false
- generator: false
- async: false
params: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 4127
- end: 4128
loc: {...}
start: {...}
- line: 187
- column: 22
}end: {...}
- line: 187
- column: 23
}
}- name: "e"
}
]body: BlockStatement {...}
- type: "BlockStatement"
- start: 4132
- end: 4177
loc: {...}
start: {...}
- line: 187
- column: 27
}end: {...}
- line: 187
- column: 72
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4134
- end: 4162
loc: {...}
start: {...}
- line: 187
- column: 29
}end: {...}
- line: 187
- column: 57
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 0
- end: 69
callee: Identifier {...}
- type: "Identifier"
- start: 0
- end: 12
- name: "$$invalidate"
}arguments: [...] (2)
Literal {...}
- type: "Literal"
- value: 0
} AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 4134
- end: 4161
loc: {...}
start: {...}
- line: 187
- column: 29
}end: {...}
- line: 187
- column: 56
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 4134
- end: 4142
loc: {...}
start: {...}
- line: 187
- column: 29
}end: {...}
- line: 187
- column: 37
}
}- name: "movement"
}right: MemberExpression {...}
- type: "MemberExpression"
- start: 4145
- end: 4161
loc: {...}
start: {...}
- line: 187
- column: 40
}end: {...}
- line: 187
- column: 56
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 4145
- end: 4153
loc: {...}
start: {...}
- line: 187
- column: 40
}end: {...}
- line: 187
- column: 48
}
}object: Identifier {...}
- type: "Identifier"
- start: 4145
- end: 4146
loc: {...}
start: {...}
- line: 187
- column: 40
}end: {...}
- line: 187
- column: 41
}
}- name: "e"
}property: Identifier {...}
- type: "Identifier"
- start: 4147
- end: 4153
loc: {...}
start: {...}
- line: 187
- column: 42
}end: {...}
- line: 187
- column: 48
}
}- name: "target"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 4154
- end: 4161
loc: {...}
start: {...}
- line: 187
- column: 49
}end: {...}
- line: 187
- column: 56
}
}- name: "__value"
}- computed: false
- optional: false
}
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4163
- end: 4176
loc: {...}
start: {...}
- line: 187
- column: 58
}end: {...}
- line: 187
- column: 71
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4163
- end: 4176
loc: {...}
start: {...}
- line: 187
- column: 58
}end: {...}
- line: 187
- column: 71
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4163
- end: 4174
loc: {...}
start: {...}
- line: 187
- column: 58
}end: {...}
- line: 187
- column: 69
}
}- name: "changeSweep"
}- arguments: []
- optional: false
}
}
]
}
}
} Attribute {...}
- start: 4180
- end: 4190
- type: "Attribute"
- name: "type"
value: [...] (1)
Text {...}
- start: 4185
- end: 4190
- type: "Text"
- raw: "radio"
- data: "radio"
}
]
} Attribute {...}
- start: 4191
- end: 4203
- type: "Attribute"
- name: "value"
value: [...] (1)
MustacheTag {...}
- start: 4197
- end: 4203
- type: "MustacheTag"
expression: Identifier {...}
- type: "Identifier"
- start: 4198
- end: 4202
loc: {...}
start: {...}
- line: 187
- column: 93
}end: {...}
- line: 187
- column: 97
}
}- name: "tick"
}
}
]
} Binding {...}
- start: 4204
- end: 4225
- type: "Binding"
- name: "group"
- modifiers: []
expression: Identifier {...}
- type: "Identifier"
- start: 4216
- end: 4224
loc: {...}
start: {...}
- line: 187
- column: 111
}end: {...}
- line: 187
- column: 119
}
}- name: "movement"
}
}
]- children: []
} Text {...}
- start: 4226
- end: 4230
- type: "Text"
- raw: "\n\t\t\t"
- data: "\n\t\t\t"
} MustacheTag {...}
- start: 4230
- end: 4250
- type: "MustacheTag"
expression: CallExpression {...}
- type: "CallExpression"
- start: 4231
- end: 4249
loc: {...}
start: {...}
- line: 188
- column: 4
}end: {...}
- line: 188
- column: 22
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 4231
- end: 4247
loc: {...}
start: {...}
- line: 188
- column: 4
}end: {...}
- line: 188
- column: 20
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 22
- end: 64
object: Identifier {...}
- type: "Identifier"
- start: 22
- end: 45
- name: "#ctx"
loc: {...}
start: {...}
- line: 188
- column: 4
}end: {...}
- line: 188
- column: 8
}
}
}property: Literal {...}
- type: "Literal"
- value: 13
}- computed: true
- optional: false
leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: "tick"
- start: 0
- end: 21
- has_trailing_newline: false
}
]
}property: Identifier {...}
- type: "Identifier"
- start: 4236
- end: 4247
loc: {...}
start: {...}
- line: 188
- column: 9
}end: {...}
- line: 188
- column: 20
}
}- name: "toUpperCase"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
} Text {...}
- start: 4250
- end: 4253
- type: "Text"
- raw: "\n\t\t"
- data: "\n\t\t"
}
]
}
]context: Identifier {...}
- type: "Identifier"
- name: "tick"
- start: 4068
- end: 4072
}
} Text {...}
- start: 4271
- end: 4274
- type: "Text"
- raw: "\n\n\t"
- data: "\n\n\t"
}
]
} Text {...}
- start: 4280
- end: 4283
- type: "Text"
- raw: "\t\t\n"
- data: "\t\t\n"
}
]
}
]
}css: Style {...}
- type: "Style"
- start: 1485
- end: 2146
- attributes: []
children: [...] (11)
Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
TypeSelector {...}
- type: "TypeSelector"
- name: "svg"
- start: 1494
- end: 1497
}
]- start: 1494
- end: 1497
}
]- start: 1494
- end: 1497
}block: Block {...}
- type: "Block"
children: [...] (2)
Declaration {...}
- type: "Declaration"
- important: false
- property: "width"
value: Value {...}
- type: "Value"
children: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "100"
- start: 1509
- end: 1513
}
]- start: 1508
- end: 1513
}- start: 1502
- end: 1513
} Declaration {...}
- type: "Declaration"
- important: false
- property: "height"
value: Value {...}
- type: "Value"
children: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "65"
- start: 1525
- end: 1528
}
]- start: 1524
- end: 1528
}- start: 1517
- end: 1528
}
]- start: 1498
- end: 1532
}- start: 1494
- end: 1532
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "clock-text"
- start: 1534
- end: 1545
}
]- start: 1534
- end: 1545
}
]- start: 1534
- end: 1545
}block: Block {...}
- type: "Block"
children: [...] (2)
Declaration {...}
- type: "Declaration"
- important: false
- property: "font-family"
value: Value {...}
- type: "Value"
children: [...] (9)
String {...}
- type: "String"
- value: "'Gill Sans'"
- start: 1563
- end: 1574
} Operator {...}
- type: "Operator"
- value: ","
- start: 1574
- end: 1575
} String {...}
- type: "String"
- value: "'Gill Sans MT'"
- start: 1576
- end: 1590
} Operator {...}
- type: "Operator"
- value: ","
- start: 1590
- end: 1591
} Identifier {...}
- type: "Identifier"
- name: "Calibri"
- start: 1592
- end: 1599
} Operator {...}
- type: "Operator"
- value: ","
- start: 1599
- end: 1600
} String {...}
- type: "String"
- value: "'Trebuchet MS'"
- start: 1601
- end: 1615
} Operator {...}
- type: "Operator"
- value: ","
- start: 1615
- end: 1616
} Identifier {...}
- type: "Identifier"
- name: "sans-serif"
- start: 1617
- end: 1627
}
]- start: 1562
- end: 1627
}- start: 1550
- end: 1627
} Declaration {...}
- type: "Declaration"
- important: false
- property: "font-size"
value: Value {...}
- type: "Value"
children: [...] (1)
Dimension {...}
- type: "Dimension"
- value: "0.7"
- unit: "em"
- start: 1642
- end: 1647
}
]- start: 1641
- end: 1647
}- start: 1631
- end: 1647
}
]- start: 1546
- end: 1651
}- start: 1534
- end: 1651
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "clock-face"
- start: 1654
- end: 1665
}
]- start: 1654
- end: 1665
}
]- start: 1654
- end: 1665
}block: Block {...}
- type: "Block"
children: [...] (2)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
HexColor {...}
- type: "HexColor"
- value: "333"
- start: 1678
- end: 1682
}
]- start: 1677
- end: 1682
}- start: 1670
- end: 1682
} Declaration {...}
- type: "Declaration"
- important: false
- property: "fill"
value: Value {...}
- type: "Value"
children: [...] (1)
Identifier {...}
- type: "Identifier"
- name: "white"
- start: 1692
- end: 1697
}
]- start: 1691
- end: 1697
}- start: 1686
- end: 1697
}
]- start: 1666
- end: 1701
}- start: 1654
- end: 1701
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "fulcrum"
- start: 1704
- end: 1712
}
]- start: 1704
- end: 1712
}
]- start: 1704
- end: 1712
}block: Block {...}
- type: "Block"
children: [...] (1)
Declaration {...}
- type: "Declaration"
- important: false
- property: "fill"
value: Value {...}
- type: "Value"
children: [...] (1)
Function {...}
- type: "Function"
- name: "rgb"
children: [...] (5)
Number {...}
- type: "Number"
- value: "180"
- start: 1727
- end: 1730
} Operator {...}
- type: "Operator"
- value: ","
- start: 1730
- end: 1731
} Number {...}
- type: "Number"
- value: "0"
- start: 1731
- end: 1732
} Operator {...}
- type: "Operator"
- value: ","
- start: 1732
- end: 1733
} Number {...}
- type: "Number"
- value: "0"
- start: 1733
- end: 1734
}
]- start: 1723
- end: 1735
}
]- start: 1722
- end: 1735
}- start: 1717
- end: 1735
}
]- start: 1713
- end: 1739
}- start: 1704
- end: 1739
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "minor"
- start: 1742
- end: 1748
}
]- start: 1742
- end: 1748
}
]- start: 1742
- end: 1748
}block: Block {...}
- type: "Block"
children: [...] (2)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
HexColor {...}
- type: "HexColor"
- value: "999"
- start: 1761
- end: 1765
}
]- start: 1760
- end: 1765
}- start: 1753
- end: 1765
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "0.5"
- start: 1783
- end: 1786
}
]- start: 1782
- end: 1786
}- start: 1769
- end: 1786
}
]- start: 1749
- end: 1790
}- start: 1742
- end: 1790
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "major"
- start: 1793
- end: 1799
}
]- start: 1793
- end: 1799
}
]- start: 1793
- end: 1799
}block: Block {...}
- type: "Block"
children: [...] (2)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
HexColor {...}
- type: "HexColor"
- value: "333"
- start: 1812
- end: 1816
}
]- start: 1811
- end: 1816
}- start: 1804
- end: 1816
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "1"
- start: 1834
- end: 1835
}
]- start: 1833
- end: 1835
}- start: 1820
- end: 1835
}
]- start: 1800
- end: 1839
}- start: 1793
- end: 1839
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "hour"
- start: 1842
- end: 1847
}
]- start: 1842
- end: 1847
}
]- start: 1842
- end: 1847
}block: Block {...}
- type: "Block"
children: [...] (3)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
HexColor {...}
- type: "HexColor"
- value: "333"
- start: 1860
- end: 1864
}
]- start: 1859
- end: 1864
}- start: 1852
- end: 1864
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-linecap"
value: Value {...}
- type: "Value"
children: [...] (1)
Identifier {...}
- type: "Identifier"
- name: "round"
- start: 1884
- end: 1889
}
]- start: 1883
- end: 1889
}- start: 1868
- end: 1889
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "1.5"
- start: 1907
- end: 1910
}
]- start: 1906
- end: 1910
}- start: 1893
- end: 1910
}
]- start: 1848
- end: 1914
}- start: 1842
- end: 1914
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "minute"
- start: 1917
- end: 1924
}
]- start: 1917
- end: 1924
}
]- start: 1917
- end: 1924
}block: Block {...}
- type: "Block"
children: [...] (3)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
HexColor {...}
- type: "HexColor"
- value: "333"
- start: 1937
- end: 1941
}
]- start: 1936
- end: 1941
}- start: 1929
- end: 1941
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-linecap"
value: Value {...}
- type: "Value"
children: [...] (1)
Identifier {...}
- type: "Identifier"
- name: "round"
- start: 1961
- end: 1966
}
]- start: 1960
- end: 1966
}- start: 1945
- end: 1966
} Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "1"
- start: 1984
- end: 1985
}
]- start: 1983
- end: 1985
}- start: 1970
- end: 1985
}
]- start: 1925
- end: 1989
}- start: 1917
- end: 1989
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "second"
- start: 1992
- end: 1999
}
]- start: 1992
- end: 1999
}
]- start: 1992
- end: 1999
}block: Block {...}
- type: "Block"
children: [...] (1)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "0.5"
- start: 2018
- end: 2021
}
]- start: 2017
- end: 2021
}- start: 2004
- end: 2021
}
]- start: 2000
- end: 2025
}- start: 1992
- end: 2025
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (2)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "second"
- start: 2028
- end: 2035
}
]- start: 2028
- end: 2035
} Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "second-counterweight"
- start: 2037
- end: 2058
}
]- start: 2037
- end: 2058
}
]- start: 2028
- end: 2058
}block: Block {...}
- type: "Block"
children: [...] (1)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke"
value: Value {...}
- type: "Value"
children: [...] (1)
Function {...}
- type: "Function"
- name: "rgb"
children: [...] (5)
Number {...}
- type: "Number"
- value: "180"
- start: 2075
- end: 2078
} Operator {...}
- type: "Operator"
- value: ","
- start: 2078
- end: 2079
} Number {...}
- type: "Number"
- value: "0"
- start: 2079
- end: 2080
} Operator {...}
- type: "Operator"
- value: ","
- start: 2080
- end: 2081
} Number {...}
- type: "Number"
- value: "0"
- start: 2081
- end: 2082
}
]- start: 2071
- end: 2083
}
]- start: 2070
- end: 2083
}- start: 2063
- end: 2083
}
]- start: 2059
- end: 2087
}- start: 2028
- end: 2087
} Rule {...}
- type: "Rule"
selector: SelectorList {...}
- type: "SelectorList"
children: [...] (1)
Selector {...}
- type: "Selector"
children: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "second-counterweight"
- start: 2090
- end: 2111
}
]- start: 2090
- end: 2111
}
]- start: 2090
- end: 2111
}block: Block {...}
- type: "Block"
children: [...] (1)
Declaration {...}
- type: "Declaration"
- important: false
- property: "stroke-width"
value: Value {...}
- type: "Value"
children: [...] (1)
Number {...}
- type: "Number"
- value: "2.5"
- start: 2130
- end: 2133
}
]- start: 2129
- end: 2133
}- start: 2116
- end: 2133
}
]- start: 2112
- end: 2137
}- start: 2090
- end: 2137
}
]content: {...}
- start: 1492
- end: 2138
- styles: "\n\tsvg {\n\t\twidth: 100%;\n\t\theight: 65%;\n\t}\n\t.clock-text {\n\t\tfont-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;\n\t\tfont-size: 0.7em;\n\t}\n\n\t.clock-face {\n\t\tstroke: #333;\n\t\tfill: white;\n\t}\n\n\t.fulcrum {\n\t\tfill: rgb(180,0,0);\n\t}\n\n\t.minor {\n\t\tstroke: #999;\n\t\tstroke-width: 0.5;\n\t}\n\n\t.major {\n\t\tstroke: #333;\n\t\tstroke-width: 1;\n\t}\n\n\t.hour {\n\t\tstroke: #333;\n\t\tstroke-linecap: round;\n\t\tstroke-width: 1.5;\n\t}\n\n\t.minute {\n\t\tstroke: #333;\n\t\tstroke-linecap: round;\n\t\tstroke-width: 1;\n\t}\n\n\t.second {\n\t\tstroke-width: 0.5;\n\t}\n\n\t.second, .second-counterweight {\n\t\tstroke: rgb(180,0,0);\n\t}\n\n\t.second-counterweight {\n\t\tstroke-width: 2.5;\n\t}\n"
}
}instance: Script {...}
- type: "Script"
- start: 0
- end: 1483
- context: "default"
content: Program {...}
- type: "Program"
- start: 8
- end: 1474
loc: {...}
start: {...}
- line: 1
- column: 0
}end: {...}
- line: 49
- column: 0
}
}body: [...] (13)
ImportDeclaration {...}
- type: "ImportDeclaration"
- start: 10
- end: 43
loc: {...}
start: {...}
- line: 2
- column: 1
}end: {...}
- line: 2
- column: 34
}
}specifiers: [...] (1)
ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 19
- end: 26
loc: {...}
start: {...}
- line: 2
- column: 10
}end: {...}
- line: 2
- column: 17
}
}imported: Identifier {...}
- type: "Identifier"
- start: 19
- end: 26
loc: {...}
start: {...}
- line: 2
- column: 10
}end: {...}
- line: 2
- column: 17
}
}- name: "onMount"
}local: Identifier {...}
- type: "Identifier"
- start: 19
- end: 26
loc: {...}
start: {...}
- line: 2
- column: 10
}end: {...}
- line: 2
- column: 17
}
}- name: "onMount"
}
}
]source: Literal {...}
- type: "Literal"
- start: 34
- end: 42
loc: {...}
start: {...}
- line: 2
- column: 25
}end: {...}
- line: 2
- column: 33
}
}- value: "svelte"
- raw: "'svelte'"
}
} ImportDeclaration {...}
- type: "ImportDeclaration"
- start: 45
- end: 85
loc: {...}
start: {...}
- line: 3
- column: 1
}end: {...}
- line: 3
- column: 41
}
}specifiers: [...] (1)
ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 54
- end: 61
loc: {...}
start: {...}
- line: 3
- column: 10
}end: {...}
- line: 3
- column: 17
}
}imported: Identifier {...}
- type: "Identifier"
- start: 54
- end: 61
loc: {...}
start: {...}
- line: 3
- column: 10
}end: {...}
- line: 3
- column: 17
}
}- name: "tweened"
}local: Identifier {...}
- type: "Identifier"
- start: 54
- end: 61
loc: {...}
start: {...}
- line: 3
- column: 10
}end: {...}
- line: 3
- column: 17
}
}- name: "tweened"
}
}
]source: Literal {...}
- type: "Literal"
- start: 69
- end: 84
loc: {...}
start: {...}
- line: 3
- column: 25
}end: {...}
- line: 3
- column: 40
}
}- value: "svelte/motion"
- raw: "'svelte/motion'"
}
} ImportDeclaration {...}
- type: "ImportDeclaration"
- start: 87
- end: 215
loc: {...}
start: {...}
- line: 4
- column: 1
}end: {...}
- line: 4
- column: 129
}
}specifiers: [...] (10)
ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 96
- end: 102
loc: {...}
start: {...}
- line: 4
- column: 10
}end: {...}
- line: 4
- column: 16
}
}imported: Identifier {...}
- type: "Identifier"
- start: 96
- end: 102
loc: {...}
start: {...}
- line: 4
- column: 10
}end: {...}
- line: 4
- column: 16
}
}- name: "linear"
}local: Identifier {...}
- type: "Identifier"
- start: 96
- end: 102
loc: {...}
start: {...}
- line: 4
- column: 10
}end: {...}
- line: 4
- column: 16
}
}- name: "linear"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 104
- end: 113
loc: {...}
start: {...}
- line: 4
- column: 18
}end: {...}
- line: 4
- column: 27
}
}imported: Identifier {...}
- type: "Identifier"
- start: 104
- end: 113
loc: {...}
start: {...}
- line: 4
- column: 18
}end: {...}
- line: 4
- column: 27
}
}- name: "bounceOut"
}local: Identifier {...}
- type: "Identifier"
- start: 104
- end: 113
loc: {...}
start: {...}
- line: 4
- column: 18
}end: {...}
- line: 4
- column: 27
}
}- name: "bounceOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 115
- end: 122
loc: {...}
start: {...}
- line: 4
- column: 29
}end: {...}
- line: 4
- column: 36
}
}imported: Identifier {...}
- type: "Identifier"
- start: 115
- end: 122
loc: {...}
start: {...}
- line: 4
- column: 29
}end: {...}
- line: 4
- column: 36
}
}- name: "circOut"
}local: Identifier {...}
- type: "Identifier"
- start: 115
- end: 122
loc: {...}
start: {...}
- line: 4
- column: 29
}end: {...}
- line: 4
- column: 36
}
}- name: "circOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 124
- end: 132
loc: {...}
start: {...}
- line: 4
- column: 38
}end: {...}
- line: 4
- column: 46
}
}imported: Identifier {...}
- type: "Identifier"
- start: 124
- end: 132
loc: {...}
start: {...}
- line: 4
- column: 38
}end: {...}
- line: 4
- column: 46
}
}- name: "cubicOut"
}local: Identifier {...}
- type: "Identifier"
- start: 124
- end: 132
loc: {...}
start: {...}
- line: 4
- column: 38
}end: {...}
- line: 4
- column: 46
}
}- name: "cubicOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 134
- end: 144
loc: {...}
start: {...}
- line: 4
- column: 48
}end: {...}
- line: 4
- column: 58
}
}imported: Identifier {...}
- type: "Identifier"
- start: 134
- end: 144
loc: {...}
start: {...}
- line: 4
- column: 48
}end: {...}
- line: 4
- column: 58
}
}- name: "elasticOut"
}local: Identifier {...}
- type: "Identifier"
- start: 134
- end: 144
loc: {...}
start: {...}
- line: 4
- column: 48
}end: {...}
- line: 4
- column: 58
}
}- name: "elasticOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 146
- end: 153
loc: {...}
start: {...}
- line: 4
- column: 60
}end: {...}
- line: 4
- column: 67
}
}imported: Identifier {...}
- type: "Identifier"
- start: 146
- end: 153
loc: {...}
start: {...}
- line: 4
- column: 60
}end: {...}
- line: 4
- column: 67
}
}- name: "expoOut"
}local: Identifier {...}
- type: "Identifier"
- start: 146
- end: 153
loc: {...}
start: {...}
- line: 4
- column: 60
}end: {...}
- line: 4
- column: 67
}
}- name: "expoOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 155
- end: 162
loc: {...}
start: {...}
- line: 4
- column: 69
}end: {...}
- line: 4
- column: 76
}
}imported: Identifier {...}
- type: "Identifier"
- start: 155
- end: 162
loc: {...}
start: {...}
- line: 4
- column: 69
}end: {...}
- line: 4
- column: 76
}
}- name: "quadOut"
}local: Identifier {...}
- type: "Identifier"
- start: 155
- end: 162
loc: {...}
start: {...}
- line: 4
- column: 69
}end: {...}
- line: 4
- column: 76
}
}- name: "quadOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 164
- end: 172
loc: {...}
start: {...}
- line: 4
- column: 78
}end: {...}
- line: 4
- column: 86
}
}imported: Identifier {...}
- type: "Identifier"
- start: 164
- end: 172
loc: {...}
start: {...}
- line: 4
- column: 78
}end: {...}
- line: 4
- column: 86
}
}- name: "quartOut"
}local: Identifier {...}
- type: "Identifier"
- start: 164
- end: 172
loc: {...}
start: {...}
- line: 4
- column: 78
}end: {...}
- line: 4
- column: 86
}
}- name: "quartOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 174
- end: 182
loc: {...}
start: {...}
- line: 4
- column: 88
}end: {...}
- line: 4
- column: 96
}
}imported: Identifier {...}
- type: "Identifier"
- start: 174
- end: 182
loc: {...}
start: {...}
- line: 4
- column: 88
}end: {...}
- line: 4
- column: 96
}
}- name: "quintOut"
}local: Identifier {...}
- type: "Identifier"
- start: 174
- end: 182
loc: {...}
start: {...}
- line: 4
- column: 88
}end: {...}
- line: 4
- column: 96
}
}- name: "quintOut"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 184
- end: 191
loc: {...}
start: {...}
- line: 4
- column: 98
}end: {...}
- line: 4
- column: 105
}
}imported: Identifier {...}
- type: "Identifier"
- start: 184
- end: 191
loc: {...}
start: {...}
- line: 4
- column: 98
}end: {...}
- line: 4
- column: 105
}
}- name: "sineOut"
}local: Identifier {...}
- type: "Identifier"
- start: 184
- end: 191
loc: {...}
start: {...}
- line: 4
- column: 98
}end: {...}
- line: 4
- column: 105
}
}- name: "sineOut"
}
}
]source: Literal {...}
- type: "Literal"
- start: 199
- end: 214
loc: {...}
start: {...}
- line: 4
- column: 113
}end: {...}
- line: 4
- column: 128
}
}- value: "svelte/easing"
- raw: "'svelte/easing'"
}
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 218
- end: 305
loc: {...}
start: {...}
- line: 6
- column: 1
}end: {...}
- line: 6
- column: 88
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 222
- end: 304
loc: {...}
start: {...}
- line: 6
- column: 5
}end: {...}
- line: 6
- column: 87
}
}id: Identifier {...}
- type: "Identifier"
- start: 222
- end: 231
loc: {...}
start: {...}
- line: 6
- column: 5
}end: {...}
- line: 6
- column: 14
}
}- name: "movements"
}init: ObjectExpression {...}
- type: "ObjectExpression"
- start: 234
- end: 304
loc: {...}
start: {...}
- line: 6
- column: 17
}end: {...}
- line: 6
- column: 87
}
}properties: [...] (3)
Property {...}
- type: "Property"
- start: 236
- end: 254
loc: {...}
start: {...}
- line: 6
- column: 19
}end: {...}
- line: 6
- column: 37
}
}- method: false
- shorthand: false
- computed: false
key: Literal {...}
- type: "Literal"
- start: 236
- end: 246
loc: {...}
start: {...}
- line: 6
- column: 19
}end: {...}
- line: 6
- column: 29
}
}- value: "Sweeping"
- raw: "'Sweeping'"
}value: Identifier {...}
- type: "Identifier"
- start: 248
- end: 254
loc: {...}
start: {...}
- line: 6
- column: 31
}end: {...}
- line: 6
- column: 37
}
}- name: "linear"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 256
- end: 280
loc: {...}
start: {...}
- line: 6
- column: 39
}end: {...}
- line: 6
- column: 63
}
}- method: false
- shorthand: false
- computed: false
key: Literal {...}
- type: "Literal"
- start: 256
- end: 269
loc: {...}
start: {...}
- line: 6
- column: 39
}end: {...}
- line: 6
- column: 52
}
}- value: "Grandfather"
- raw: "'Grandfather'"
}value: Identifier {...}
- type: "Identifier"
- start: 271
- end: 280
loc: {...}
start: {...}
- line: 6
- column: 54
}end: {...}
- line: 6
- column: 63
}
}- name: "bounceOut"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 282
- end: 302
loc: {...}
start: {...}
- line: 6
- column: 65
}end: {...}
- line: 6
- column: 85
}
}- method: false
- shorthand: false
- computed: false
key: Literal {...}
- type: "Literal"
- start: 282
- end: 290
loc: {...}
start: {...}
- line: 6
- column: 65
}end: {...}
- line: 6
- column: 73
}
}- value: "Modern"
- raw: "'Modern'"
}value: Identifier {...}
- type: "Identifier"
- start: 292
- end: 302
loc: {...}
start: {...}
- line: 6
- column: 75
}end: {...}
- line: 6
- column: 85
}
}- name: "elasticOut"
}- kind: "init"
}
]
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 307
- end: 333
loc: {...}
start: {...}
- line: 7
- column: 1
}end: {...}
- line: 7
- column: 27
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 311
- end: 332
loc: {...}
start: {...}
- line: 7
- column: 5
}end: {...}
- line: 7
- column: 26
}
}id: Identifier {...}
- type: "Identifier"
- start: 311
- end: 319
loc: {...}
start: {...}
- line: 7
- column: 5
}end: {...}
- line: 7
- column: 13
}
}- name: "movement"
}init: Literal {...}
- type: "Literal"
- start: 322
- end: 332
loc: {...}
start: {...}
- line: 7
- column: 16
}end: {...}
- line: 7
- column: 26
}
}- value: "Sweeping"
- raw: "'Sweeping'"
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 384
- end: 494
loc: {...}
start: {...}
- line: 9
- column: 1
}end: {...}
- line: 12
- column: 4
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 388
- end: 493
loc: {...}
start: {...}
- line: 9
- column: 5
}end: {...}
- line: 12
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 388
- end: 393
loc: {...}
start: {...}
- line: 9
- column: 5
}end: {...}
- line: 9
- column: 10
}
}- name: "sweep"
}init: CallExpression {...}
- type: "CallExpression"
- start: 396
- end: 493
loc: {...}
start: {...}
- line: 9
- column: 13
}end: {...}
- line: 12
- column: 3
}
}callee: Identifier {...}
- type: "Identifier"
- start: 396
- end: 403
loc: {...}
start: {...}
- line: 9
- column: 13
}end: {...}
- line: 9
- column: 20
}
}- name: "tweened"
}arguments: [...] (2)
CallExpression {...}
- type: "CallExpression"
- start: 404
- end: 438
loc: {...}
start: {...}
- line: 9
- column: 21
}end: {...}
- line: 9
- column: 55
}
}callee: Identifier {...}
- type: "Identifier"
- start: 404
- end: 412
loc: {...}
start: {...}
- line: 9
- column: 21
}end: {...}
- line: 9
- column: 29
}
}- name: "parseInt"
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 413
- end: 437
loc: {...}
start: {...}
- line: 9
- column: 30
}end: {...}
- line: 9
- column: 54
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 414
- end: 431
loc: {...}
start: {...}
- line: 9
- column: 31
}end: {...}
- line: 9
- column: 48
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 414
- end: 424
loc: {...}
start: {...}
- line: 9
- column: 31
}end: {...}
- line: 9
- column: 41
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 414
- end: 422
loc: {...}
start: {...}
- line: 9
- column: 31
}end: {...}
- line: 9
- column: 39
}
}object: Identifier {...}
- type: "Identifier"
- start: 414
- end: 418
loc: {...}
start: {...}
- line: 9
- column: 31
}end: {...}
- line: 9
- column: 35
}
}- name: "Date"
}property: Identifier {...}
- type: "Identifier"
- start: 419
- end: 422
loc: {...}
start: {...}
- line: 9
- column: 36
}end: {...}
- line: 9
- column: 39
}
}- name: "now"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 427
- end: 431
loc: {...}
start: {...}
- line: 9
- column: 44
}end: {...}
- line: 9
- column: 48
}
}- value: 1000
- raw: "1000"
}
}- operator: "%"
right: Literal {...}
- type: "Literal"
- start: 435
- end: 437
loc: {...}
start: {...}
- line: 9
- column: 52
}end: {...}
- line: 9
- column: 54
}
}- value: 60
- raw: "60"
}
}
]- optional: false
} ObjectExpression {...}
- type: "ObjectExpression"
- start: 440
- end: 492
loc: {...}
start: {...}
- line: 9
- column: 57
}end: {...}
- line: 12
- column: 2
}
}properties: [...] (2)
Property {...}
- type: "Property"
- start: 444
- end: 458
loc: {...}
start: {...}
- line: 10
- column: 2
}end: {...}
- line: 10
- column: 16
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 444
- end: 452
loc: {...}
start: {...}
- line: 10
- column: 2
}end: {...}
- line: 10
- column: 10
}
}- name: "duration"
}value: Literal {...}
- type: "Literal"
- start: 454
- end: 458
loc: {...}
start: {...}
- line: 10
- column: 12
}end: {...}
- line: 10
- column: 16
}
}- value: 1000
- raw: "1000"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 462
- end: 489
loc: {...}
start: {...}
- line: 11
- column: 2
}end: {...}
- line: 11
- column: 29
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 462
- end: 468
loc: {...}
start: {...}
- line: 11
- column: 2
}end: {...}
- line: 11
- column: 8
}
}- name: "easing"
}value: MemberExpression {...}
- type: "MemberExpression"
- start: 470
- end: 489
loc: {...}
start: {...}
- line: 11
- column: 10
}end: {...}
- line: 11
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 470
- end: 479
loc: {...}
start: {...}
- line: 11
- column: 10
}end: {...}
- line: 11
- column: 19
}
}- name: "movements"
}property: Identifier {...}
- type: "Identifier"
- start: 480
- end: 488
loc: {...}
start: {...}
- line: 11
- column: 20
}end: {...}
- line: 11
- column: 28
}
}- name: "movement"
}- computed: true
- optional: false
}- kind: "init"
}
]
}
]- optional: false
}
}
]- kind: "let"
leadingComments: [...] (1)
Line {...}
- type: "Line"
- value: " define and set the initial tweening function"
- start: 335
- end: 382
- has_trailing_newline: true
}
]
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 497
- end: 519
loc: {...}
start: {...}
- line: 14
- column: 1
}end: {...}
- line: 14
- column: 23
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 501
- end: 518
loc: {...}
start: {...}
- line: 14
- column: 5
}end: {...}
- line: 14
- column: 22
}
}id: Identifier {...}
- type: "Identifier"
- start: 501
- end: 505
loc: {...}
start: {...}
- line: 14
- column: 5
}end: {...}
- line: 14
- column: 9
}
}- name: "time"
}init: NewExpression {...}
- type: "NewExpression"
- start: 508
- end: 518
loc: {...}
start: {...}
- line: 14
- column: 12
}end: {...}
- line: 14
- column: 22
}
}callee: Identifier {...}
- type: "Identifier"
- start: 512
- end: 516
loc: {...}
start: {...}
- line: 14
- column: 16
}end: {...}
- line: 14
- column: 20
}
}- name: "Date"
}- arguments: []
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 574
- end: 630
loc: {...}
start: {...}
- line: 16
- column: 1
}end: {...}
- line: 16
- column: 57
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 578
- end: 630
loc: {...}
start: {...}
- line: 16
- column: 5
}end: {...}
- line: 16
- column: 57
}
}id: Identifier {...}
- type: "Identifier"
- start: 578
- end: 583
loc: {...}
start: {...}
- line: 16
- column: 5
}end: {...}
- line: 16
- column: 10
}
}- name: "start"
}init: BinaryExpression {...}
- type: "BinaryExpression"
- start: 586
- end: 630
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 57
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 586
- end: 603
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 30
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 586
- end: 596
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 23
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 586
- end: 594
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 21
}
}object: Identifier {...}
- type: "Identifier"
- start: 586
- end: 590
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 17
}
}- name: "Date"
}property: Identifier {...}
- type: "Identifier"
- start: 591
- end: 594
loc: {...}
start: {...}
- line: 16
- column: 18
}end: {...}
- line: 16
- column: 21
}
}- name: "now"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 599
- end: 603
loc: {...}
start: {...}
- line: 16
- column: 26
}end: {...}
- line: 16
- column: 30
}
}- value: 1000
- raw: "1000"
}
}- operator: "-"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 606
- end: 630
loc: {...}
start: {...}
- line: 16
- column: 33
}end: {...}
- line: 16
- column: 57
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 607
- end: 624
loc: {...}
start: {...}
- line: 16
- column: 34
}end: {...}
- line: 16
- column: 51
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 607
- end: 617
loc: {...}
start: {...}
- line: 16
- column: 34
}end: {...}
- line: 16
- column: 44
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 607
- end: 615
loc: {...}
start: {...}
- line: 16
- column: 34
}end: {...}
- line: 16
- column: 42
}
}object: Identifier {...}
- type: "Identifier"
- start: 607
- end: 611
loc: {...}
start: {...}
- line: 16
- column: 34
}end: {...}
- line: 16
- column: 38
}
}- name: "Date"
}property: Identifier {...}
- type: "Identifier"
- start: 612
- end: 615
loc: {...}
start: {...}
- line: 16
- column: 39
}end: {...}
- line: 16
- column: 42
}
}- name: "now"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 620
- end: 624
loc: {...}
start: {...}
- line: 16
- column: 47
}end: {...}
- line: 16
- column: 51
}
}- value: 1000
- raw: "1000"
}
}- operator: "%"
right: Literal {...}
- type: "Literal"
- start: 628
- end: 630
loc: {...}
start: {...}
- line: 16
- column: 55
}end: {...}
- line: 16
- column: 57
}
}- value: 60
- raw: "60"
}
}
}
}
]- kind: "let"
leadingComments: [...] (1)
Line {...}
- type: "Line"
- value: " for a smooth transition between 59 and 0 seconds"
- start: 521
- end: 572
- has_trailing_newline: true
}
]
} LabeledStatement {...}
- type: "LabeledStatement"
- start: 716
- end: 743
loc: {...}
start: {...}
- line: 20
- column: 1
}end: {...}
- line: 20
- column: 28
}
}body: ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 719
- end: 743
loc: {...}
start: {...}
- line: 20
- column: 4
}end: {...}
- line: 20
- column: 28
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 719
- end: 742
loc: {...}
start: {...}
- line: 20
- column: 4
}end: {...}
- line: 20
- column: 27
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 719
- end: 724
loc: {...}
start: {...}
- line: 20
- column: 4
}end: {...}
- line: 20
- column: 9
}
}- name: "hours"
}right: CallExpression {...}
- type: "CallExpression"
- start: 727
- end: 742
loc: {...}
start: {...}
- line: 20
- column: 12
}end: {...}
- line: 20
- column: 27
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 727
- end: 740
loc: {...}
start: {...}
- line: 20
- column: 12
}end: {...}
- line: 20
- column: 25
}
}object: Identifier {...}
- type: "Identifier"
- start: 727
- end: 731
loc: {...}
start: {...}
- line: 20
- column: 12
}end: {...}
- line: 20
- column: 16
}
}- name: "time"
}property: Identifier {...}
- type: "Identifier"
- start: 732
- end: 740
loc: {...}
start: {...}
- line: 20
- column: 17
}end: {...}
- line: 20
- column: 25
}
}- name: "getHours"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
}
}label: Identifier {...}
- type: "Identifier"
- start: 716
- end: 717
loc: {...}
start: {...}
- line: 20
- column: 1
}end: {...}
- line: 20
- column: 2
}
}- name: "$"
}leadingComments: [...] (2)
Line {...}
- type: "Line"
- value: " these automatically update when `time`"
- start: 633
- end: 674
- has_trailing_newline: true
} Line {...}
- type: "Line"
- value: " changes, because of the `$:` prefix"
- start: 676
- end: 714
- has_trailing_newline: true
}
]
} LabeledStatement {...}
- type: "LabeledStatement"
- start: 745
- end: 776
loc: {...}
start: {...}
- line: 21
- column: 1
}end: {...}
- line: 21
- column: 32
}
}body: ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 748
- end: 776
loc: {...}
start: {...}
- line: 21
- column: 4
}end: {...}
- line: 21
- column: 32
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 748
- end: 775
loc: {...}
start: {...}
- line: 21
- column: 4
}end: {...}
- line: 21
- column: 31
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 748
- end: 755
loc: {...}
start: {...}
- line: 21
- column: 4
}end: {...}
- line: 21
- column: 11
}
}- name: "minutes"
}right: CallExpression {...}
- type: "CallExpression"
- start: 758
- end: 775
loc: {...}
start: {...}
- line: 21
- column: 14
}end: {...}
- line: 21
- column: 31
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 758
- end: 773
loc: {...}
start: {...}
- line: 21
- column: 14
}end: {...}
- line: 21
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 758
- end: 762
loc: {...}
start: {...}
- line: 21
- column: 14
}end: {...}
- line: 21
- column: 18
}
}- name: "time"
}property: Identifier {...}
- type: "Identifier"
- start: 763
- end: 773
loc: {...}
start: {...}
- line: 21
- column: 19
}end: {...}
- line: 21
- column: 29
}
}- name: "getMinutes"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
}
}label: Identifier {...}
- type: "Identifier"
- start: 745
- end: 746
loc: {...}
start: {...}
- line: 21
- column: 1
}end: {...}
- line: 21
- column: 2
}
}- name: "$"
}
} LabeledStatement {...}
- type: "LabeledStatement"
- start: 778
- end: 809
loc: {...}
start: {...}
- line: 22
- column: 1
}end: {...}
- line: 22
- column: 32
}
}body: ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 781
- end: 809
loc: {...}
start: {...}
- line: 22
- column: 4
}end: {...}
- line: 22
- column: 32
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 781
- end: 808
loc: {...}
start: {...}
- line: 22
- column: 4
}end: {...}
- line: 22
- column: 31
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 781
- end: 788
loc: {...}
start: {...}
- line: 22
- column: 4
}end: {...}
- line: 22
- column: 11
}
}- name: "seconds"
}right: CallExpression {...}
- type: "CallExpression"
- start: 791
- end: 808
loc: {...}
start: {...}
- line: 22
- column: 14
}end: {...}
- line: 22
- column: 31
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 791
- end: 806
loc: {...}
start: {...}
- line: 22
- column: 14
}end: {...}
- line: 22
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 791
- end: 795
loc: {...}
start: {...}
- line: 22
- column: 14
}end: {...}
- line: 22
- column: 18
}
}- name: "time"
}property: Identifier {...}
- type: "Identifier"
- start: 796
- end: 806
loc: {...}
start: {...}
- line: 22
- column: 19
}end: {...}
- line: 22
- column: 29
}
}- name: "getSeconds"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
}
}label: Identifier {...}
- type: "Identifier"
- start: 778
- end: 779
loc: {...}
start: {...}
- line: 22
- column: 1
}end: {...}
- line: 22
- column: 2
}
}- name: "$"
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 1163
- end: 1275
loc: {...}
start: {...}
- line: 31
- column: 1
}end: {...}
- line: 37
- column: 2
}
}id: Identifier {...}
- type: "Identifier"
- start: 1172
- end: 1183
loc: {...}
start: {...}
- line: 31
- column: 10
}end: {...}
- line: 31
- column: 21
}
}- name: "changeSweep"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1186
- end: 1275
loc: {...}
start: {...}
- line: 31
- column: 24
}end: {...}
- line: 37
- column: 2
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1190
- end: 1271
loc: {...}
start: {...}
- line: 32
- column: 2
}end: {...}
- line: 35
- column: 5
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1190
- end: 1270
loc: {...}
start: {...}
- line: 32
- column: 2
}end: {...}
- line: 35
- column: 4
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1190
- end: 1195
loc: {...}
start: {...}
- line: 32
- column: 2
}end: {...}
- line: 32
- column: 7
}
}- name: "sweep"
}right: CallExpression {...}
- type: "CallExpression"
- start: 1198
- end: 1270
loc: {...}
start: {...}
- line: 32
- column: 10
}end: {...}
- line: 35
- column: 4
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1198
- end: 1205
loc: {...}
start: {...}
- line: 32
- column: 10
}end: {...}
- line: 32
- column: 17
}
}- name: "tweened"
}arguments: [...] (2)
Identifier {...}
- type: "Identifier"
- start: 1206
- end: 1212
loc: {...}
start: {...}
- line: 32
- column: 18
}end: {...}
- line: 32
- column: 24
}
}- name: "$sweep"
} ObjectExpression {...}
- type: "ObjectExpression"
- start: 1214
- end: 1269
loc: {...}
start: {...}
- line: 32
- column: 26
}end: {...}
- line: 35
- column: 3
}
}properties: [...] (2)
Property {...}
- type: "Property"
- start: 1219
- end: 1233
loc: {...}
start: {...}
- line: 33
- column: 3
}end: {...}
- line: 33
- column: 17
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 1219
- end: 1227
loc: {...}
start: {...}
- line: 33
- column: 3
}end: {...}
- line: 33
- column: 11
}
}- name: "duration"
}value: Literal {...}
- type: "Literal"
- start: 1229
- end: 1233
loc: {...}
start: {...}
- line: 33
- column: 13
}end: {...}
- line: 33
- column: 17
}
}- value: 1000
- raw: "1000"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 1238
- end: 1265
loc: {...}
start: {...}
- line: 34
- column: 3
}end: {...}
- line: 34
- column: 30
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 1238
- end: 1244
loc: {...}
start: {...}
- line: 34
- column: 3
}end: {...}
- line: 34
- column: 9
}
}- name: "easing"
}value: MemberExpression {...}
- type: "MemberExpression"
- start: 1246
- end: 1265
loc: {...}
start: {...}
- line: 34
- column: 11
}end: {...}
- line: 34
- column: 30
}
}object: Identifier {...}
- type: "Identifier"
- start: 1246
- end: 1255
loc: {...}
start: {...}
- line: 34
- column: 11
}end: {...}
- line: 34
- column: 20
}
}- name: "movements"
}property: Identifier {...}
- type: "Identifier"
- start: 1256
- end: 1264
loc: {...}
start: {...}
- line: 34
- column: 21
}end: {...}
- line: 34
- column: 29
}
}- name: "movement"
}- computed: true
- optional: false
}- kind: "init"
}
]
}
]- optional: false
}
}
}
]
}leadingComments: [...] (1)
Block {...}
- type: "Block"
- value: " \n\tApparently, we cannot change the ease on a tweening function using a reactive variable. \n\tWe need to redefine the entire tweening function.\n\tThis function updates the easing function based on input selection.\n\tSee more here at this Discord thread:\n\thttps://discord.com/channels/457912077277855764/457912077277855766/687411610008158289\n\t"
- start: 812
- end: 1161
- has_trailing_newline: true
}
]
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1278
- end: 1473
loc: {...}
start: {...}
- line: 39
- column: 1
}end: {...}
- line: 48
- column: 4
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 1278
- end: 1472
loc: {...}
start: {...}
- line: 39
- column: 1
}end: {...}
- line: 48
- column: 3
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1278
- end: 1285
loc: {...}
start: {...}
- line: 39
- column: 1
}end: {...}
- line: 39
- column: 8
}
}- name: "onMount"
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1286
- end: 1471
loc: {...}
start: {...}
- line: 39
- column: 9
}end: {...}
- line: 48
- column: 2
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1292
- end: 1471
loc: {...}
start: {...}
- line: 39
- column: 15
}end: {...}
- line: 48
- column: 2
}
}body: [...] (2)
VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1296
- end: 1417
loc: {...}
start: {...}
- line: 40
- column: 2
}end: {...}
- line: 43
- column: 11
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1302
- end: 1416
loc: {...}
start: {...}
- line: 40
- column: 8
}end: {...}
- line: 43
- column: 10
}
}id: Identifier {...}
- type: "Identifier"
- start: 1302
- end: 1310
loc: {...}
start: {...}
- line: 40
- column: 8
}end: {...}
- line: 40
- column: 16
}
}- name: "interval"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1313
- end: 1416
loc: {...}
start: {...}
- line: 40
- column: 19
}end: {...}
- line: 43
- column: 10
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1313
- end: 1324
loc: {...}
start: {...}
- line: 40
- column: 19
}end: {...}
- line: 40
- column: 30
}
}- name: "setInterval"
}arguments: [...] (2)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1325
- end: 1409
loc: {...}
start: {...}
- line: 40
- column: 31
}end: {...}
- line: 43
- column: 3
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1331
- end: 1409
loc: {...}
start: {...}
- line: 40
- column: 37
}end: {...}
- line: 43
- column: 3
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1336
- end: 1354
loc: {...}
start: {...}
- line: 41
- column: 3
}end: {...}
- line: 41
- column: 21
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1336
- end: 1353
loc: {...}
start: {...}
- line: 41
- column: 3
}end: {...}
- line: 41
- column: 20
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1336
- end: 1340
loc: {...}
start: {...}
- line: 41
- column: 3
}end: {...}
- line: 41
- column: 7
}
}- name: "time"
}right: NewExpression {...}
- type: "NewExpression"
- start: 1343
- end: 1353
loc: {...}
start: {...}
- line: 41
- column: 10
}end: {...}
- line: 41
- column: 20
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1347
- end: 1351
loc: {...}
start: {...}
- line: 41
- column: 14
}end: {...}
- line: 41
- column: 18
}
}- name: "Date"
}- arguments: []
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1358
- end: 1405
loc: {...}
start: {...}
- line: 42
- column: 3
}end: {...}
- line: 42
- column: 50
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 1358
- end: 1404
loc: {...}
start: {...}
- line: 42
- column: 3
}end: {...}
- line: 42
- column: 49
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1358
- end: 1367
loc: {...}
start: {...}
- line: 42
- column: 3
}end: {...}
- line: 42
- column: 12
}
}object: Identifier {...}
- type: "Identifier"
- start: 1358
- end: 1363
loc: {...}
start: {...}
- line: 42
- column: 3
}end: {...}
- line: 42
- column: 8
}
}- name: "sweep"
}property: Identifier {...}
- type: "Identifier"
- start: 1364
- end: 1367
loc: {...}
start: {...}
- line: 42
- column: 9
}end: {...}
- line: 42
- column: 12
}
}- name: "set"
}- computed: false
- optional: false
}arguments: [...] (1)
CallExpression {...}
- type: "CallExpression"
- start: 1368
- end: 1403
loc: {...}
start: {...}
- line: 42
- column: 13
}end: {...}
- line: 42
- column: 48
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1368
- end: 1376
loc: {...}
start: {...}
- line: 42
- column: 13
}end: {...}
- line: 42
- column: 21
}
}- name: "parseInt"
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 1377
- end: 1402
loc: {...}
start: {...}
- line: 42
- column: 22
}end: {...}
- line: 42
- column: 47
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 1377
- end: 1394
loc: {...}
start: {...}
- line: 42
- column: 22
}end: {...}
- line: 42
- column: 39
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 1377
- end: 1387
loc: {...}
start: {...}
- line: 42
- column: 22
}end: {...}
- line: 42
- column: 32
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1377
- end: 1385
loc: {...}
start: {...}
- line: 42
- column: 22
}end: {...}
- line: 42
- column: 30
}
}object: Identifier {...}
- type: "Identifier"
- start: 1377
- end: 1381
loc: {...}
start: {...}
- line: 42
- column: 22
}end: {...}
- line: 42
- column: 26
}
}- name: "Date"
}property: Identifier {...}
- type: "Identifier"
- start: 1382
- end: 1385
loc: {...}
start: {...}
- line: 42
- column: 27
}end: {...}
- line: 42
- column: 30
}
}- name: "now"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 1390
- end: 1394
loc: {...}
start: {...}
- line: 42
- column: 35
}end: {...}
- line: 42
- column: 39
}
}- value: 1000
- raw: "1000"
}
}- operator: "-"
right: Identifier {...}
- type: "Identifier"
- start: 1397
- end: 1402
loc: {...}
start: {...}
- line: 42
- column: 42
}end: {...}
- line: 42
- column: 47
}
}- name: "start"
}
}
]- optional: false
}
]- optional: false
}
}
]
}
} Literal {...}
- type: "Literal"
- start: 1411
- end: 1415
loc: {...}
start: {...}
- line: 43
- column: 5
}end: {...}
- line: 43
- column: 9
}
}- value: 1000
- raw: "1000"
}
]- optional: false
}
}
]- kind: "const"
} ReturnStatement {...}
- type: "ReturnStatement"
- start: 1421
- end: 1468
loc: {...}
start: {...}
- line: 45
- column: 2
}end: {...}
- line: 47
- column: 4
}
}argument: ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1428
- end: 1467
loc: {...}
start: {...}
- line: 45
- column: 9
}end: {...}
- line: 47
- column: 3
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1434
- end: 1467
loc: {...}
start: {...}
- line: 45
- column: 15
}end: {...}
- line: 47
- column: 3
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1439
- end: 1463
loc: {...}
start: {...}
- line: 46
- column: 3
}end: {...}
- line: 46
- column: 27
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 1439
- end: 1462
loc: {...}
start: {...}
- line: 46
- column: 3
}end: {...}
- line: 46
- column: 26
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1439
- end: 1452
loc: {...}
start: {...}
- line: 46
- column: 3
}end: {...}
- line: 46
- column: 16
}
}- name: "clearInterval"
}arguments: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 1453
- end: 1461
loc: {...}
start: {...}
- line: 46
- column: 17
}end: {...}
- line: 46
- column: 25
}
}- name: "interval"
}
]- optional: false
}
}
]
}
}
}
]
}
}
]- optional: false
}
}
]- sourceType: "module"
}
}- module: undefined
}
The AST is not public API and may change at any point in time