svelte-parse
Version:
An increidbly relaxed svelte-parser
2,322 lines (2,321 loc) • 72.5 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteScript",
"tagName": "script",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n import { smaligned } from '../../lib/elements/util';\n\n export let page = '';\n export let attached = '';\n export let block = '';\n export let color = '';\n export let disabled = '';\n export let dividing = '';\n export let floated = '';\n export let icon = false;\n export let inverted = false;\n export let size = '';\n export let sub = false;\n export let subheader = false;\n export let alignment = '';\n\n $: aligned = smaligned(alignment)\n",
"position": {
"start": {
"line": 1,
"column": 9,
"offset": 8
},
"end": {
"line": 19,
"column": 1,
"offset": 486
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 19,
"column": 10,
"offset": 495
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 19,
"column": 10,
"offset": 495
},
"end": {
"line": 21,
"column": 1,
"offset": 497
}
}
},
{
"type": "svelteBranchingBlock",
"name": "if",
"branches": [
{
"type": "svelteBranch",
"name": "if",
"expression": {
"type": "svelteExpression",
"value": "page === 'h1'",
"position": {
"start": {
"line": 21,
"column": 6,
"offset": 502
},
"end": {
"line": 21,
"column": 19,
"offset": 515
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 21,
"column": 20,
"offset": 516
},
"end": {
"line": 22,
"column": 5,
"offset": 521
}
}
},
{
"type": "svelteElement",
"tagName": "h1",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 22,
"column": 16,
"offset": 532
},
"end": {
"line": 22,
"column": 22,
"offset": 538
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 22,
"column": 17,
"offset": 533
},
"end": {
"line": 22,
"column": 21,
"offset": 537
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 22,
"column": 22,
"offset": 538
},
"end": {
"line": 22,
"column": 23,
"offset": 539
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 22,
"column": 23,
"offset": 539
},
"end": {
"line": 22,
"column": 30,
"offset": 546
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 22,
"column": 24,
"offset": 540
},
"end": {
"line": 22,
"column": 29,
"offset": 545
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 22,
"column": 30,
"offset": 546
},
"end": {
"line": 22,
"column": 31,
"offset": 547
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 22,
"column": 31,
"offset": 547
},
"end": {
"line": 22,
"column": 40,
"offset": 556
}
},
"expression": {
"type": "svelteExpression",
"value": "aligned",
"position": {
"start": {
"line": 22,
"column": 32,
"offset": 548
},
"end": {
"line": 22,
"column": 39,
"offset": 555
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 22,
"column": 40,
"offset": 556
},
"end": {
"line": 22,
"column": 41,
"offset": 557
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 22,
"column": 41,
"offset": 557
},
"end": {
"line": 22,
"column": 51,
"offset": 567
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 22,
"column": 42,
"offset": 558
},
"end": {
"line": 22,
"column": 50,
"offset": 566
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 22,
"column": 51,
"offset": 567
},
"end": {}
}
},
{
"type": "text",
"value": "header",
"position": {
"start": {
"line": 22,
"column": 52,
"offset": 568
},
"end": {
"line": 22,
"column": 59,
"offset": 575
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 22,
"column": 9,
"offset": 525
},
"end": {
"line": 22,
"column": 59,
"offset": 575
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 22,
"column": 60,
"offset": 576
},
"end": {
"line": 22,
"column": 74,
"offset": 590
}
},
"specifier": "dividing"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 22,
"column": 75,
"offset": 591
},
"end": {
"line": 22,
"column": 85,
"offset": 601
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 22,
"column": 86,
"offset": 602
},
"end": {
"line": 22,
"column": 99,
"offset": 615
}
},
"specifier": "aligned"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 23,
"column": 5,
"offset": 621
},
"end": {
"line": 23,
"column": 16,
"offset": 632
}
},
"specifier": "block"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 23,
"column": 17,
"offset": 633
},
"end": {
"line": 23,
"column": 31,
"offset": 647
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 23,
"column": 32,
"offset": 648
},
"end": {
"line": 23,
"column": 46,
"offset": 662
}
},
"specifier": "disabled"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 23,
"column": 47,
"offset": 663
},
"end": {
"line": 23,
"column": 56,
"offset": 672
}
},
"specifier": "sub"
},
{
"type": "svelteDirective",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 23,
"column": 66,
"offset": 682
},
"end": {
"line": 23,
"column": 72,
"offset": 688
}
},
"expression": {
"type": "svelteExpression",
"value": "!sub",
"position": {
"start": {
"line": 23,
"column": 67,
"offset": 683
},
"end": {
"line": 23,
"column": 71,
"offset": 687
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 23,
"column": 57,
"offset": 673
},
"end": {
"line": 23,
"column": 72,
"offset": 688
}
},
"specifier": "ui"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 23,
"column": 73,
"offset": 689
},
"end": {
"line": 24,
"column": 9,
"offset": 698
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 24,
"column": 9,
"offset": 698
},
"end": {
"line": 24,
"column": 22,
"offset": 711
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 24,
"column": 22,
"offset": 711
},
"end": {
"line": 25,
"column": 5,
"offset": 716
}
}
}
],
"position": {
"start": {
"line": 22,
"column": 5,
"offset": 521
},
"end": {
"line": 25,
"column": 10,
"offset": 721
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 25,
"column": 10,
"offset": 721
},
"end": {
"line": 26,
"column": 1,
"offset": 722
}
}
}
],
"position": {
"start": {
"line": 21,
"column": 1,
"offset": 497
},
"end": {
"line": 26,
"column": 1,
"offset": 722
}
}
},
{
"type": "svelteBranch",
"name": "else if",
"expression": {
"type": "svelteExpression",
"value": "page === 'h2'",
"position": {
"start": {
"line": 26,
"column": 11,
"offset": 732
},
"end": {
"line": 26,
"column": 24,
"offset": 745
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 26,
"column": 25,
"offset": 746
},
"end": {
"line": 27,
"column": 5,
"offset": 751
}
}
},
{
"type": "svelteElement",
"tagName": "h2",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 27,
"column": 16,
"offset": 762
},
"end": {
"line": 27,
"column": 22,
"offset": 768
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 27,
"column": 17,
"offset": 763
},
"end": {
"line": 27,
"column": 21,
"offset": 767
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 27,
"column": 22,
"offset": 768
},
"end": {
"line": 27,
"column": 23,
"offset": 769
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 27,
"column": 23,
"offset": 769
},
"end": {
"line": 27,
"column": 30,
"offset": 776
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 27,
"column": 24,
"offset": 770
},
"end": {
"line": 27,
"column": 29,
"offset": 775
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 27,
"column": 30,
"offset": 776
},
"end": {
"line": 27,
"column": 31,
"offset": 777
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 27,
"column": 31,
"offset": 777
},
"end": {
"line": 27,
"column": 40,
"offset": 786
}
},
"expression": {
"type": "svelteExpression",
"value": "aligned",
"position": {
"start": {
"line": 27,
"column": 32,
"offset": 778
},
"end": {
"line": 27,
"column": 39,
"offset": 785
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 27,
"column": 40,
"offset": 786
},
"end": {
"line": 27,
"column": 41,
"offset": 787
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 27,
"column": 41,
"offset": 787
},
"end": {
"line": 27,
"column": 51,
"offset": 797
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 27,
"column": 42,
"offset": 788
},
"end": {
"line": 27,
"column": 50,
"offset": 796
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 27,
"column": 51,
"offset": 797
},
"end": {}
}
},
{
"type": "text",
"value": "header",
"position": {
"start": {
"line": 27,
"column": 52,
"offset": 798
},
"end": {
"line": 27,
"column": 59,
"offset": 805
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 27,
"column": 9,
"offset": 755
},
"end": {
"line": 27,
"column": 59,
"offset": 805
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 27,
"column": 60,
"offset": 806
},
"end": {
"line": 27,
"column": 74,
"offset": 820
}
},
"specifier": "dividing"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 27,
"column": 75,
"offset": 821
},
"end": {
"line": 27,
"column": 85,
"offset": 831
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 27,
"column": 86,
"offset": 832
},
"end": {
"line": 27,
"column": 99,
"offset": 845
}
},
"specifier": "aligned"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 5,
"offset": 851
},
"end": {
"line": 28,
"column": 16,
"offset": 862
}
},
"specifier": "block"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 17,
"offset": 863
},
"end": {
"line": 28,
"column": 31,
"offset": 877
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 32,
"offset": 878
},
"end": {
"line": 28,
"column": 46,
"offset": 892
}
},
"specifier": "disabled"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 47,
"offset": 893
},
"end": {
"line": 28,
"column": 56,
"offset": 902
}
},
"specifier": "sub"
},
{
"type": "svelteDirective",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 28,
"column": 66,
"offset": 912
},
"end": {
"line": 28,
"column": 72,
"offset": 918
}
},
"expression": {
"type": "svelteExpression",
"value": "!sub",
"position": {
"start": {
"line": 28,
"column": 67,
"offset": 913
},
"end": {
"line": 28,
"column": 71,
"offset": 917
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 57,
"offset": 903
},
"end": {
"line": 28,
"column": 72,
"offset": 918
}
},
"specifier": "ui"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 28,
"column": 73,
"offset": 919
},
"end": {
"line": 29,
"column": 9,
"offset": 928
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 29,
"column": 9,
"offset": 928
},
"end": {
"line": 29,
"column": 22,
"offset": 941
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 29,
"column": 22,
"offset": 941
},
"end": {
"line": 30,
"column": 5,
"offset": 946
}
}
}
],
"position": {
"start": {
"line": 27,
"column": 5,
"offset": 751
},
"end": {
"line": 30,
"column": 10,
"offset": 951
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 30,
"column": 10,
"offset": 951
},
"end": {
"line": 31,
"column": 1,
"offset": 952
}
}
}
],
"position": {
"start": {
"line": 26,
"column": 1,
"offset": 722
},
"end": {
"line": 31,
"column": 1,
"offset": 952
}
}
},
{
"type": "svelteBranch",
"name": "else if",
"expression": {
"type": "svelteExpression",
"value": "page === 'h3'",
"position": {
"start": {
"line": 31,
"column": 11,
"offset": 962
},
"end": {
"line": 31,
"column": 24,
"offset": 975
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 31,
"column": 25,
"offset": 976
},
"end": {
"line": 32,
"column": 5,
"offset": 981
}
}
},
{
"type": "svelteElement",
"tagName": "h3",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 32,
"column": 16,
"offset": 992
},
"end": {
"line": 32,
"column": 22,
"offset": 998
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 32,
"column": 17,
"offset": 993
},
"end": {
"line": 32,
"column": 21,
"offset": 997
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 32,
"column": 22,
"offset": 998
},
"end": {
"line": 32,
"column": 23,
"offset": 999
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 32,
"column": 23,
"offset": 999
},
"end": {
"line": 32,
"column": 30,
"offset": 1006
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 32,
"column": 24,
"offset": 1000
},
"end": {
"line": 32,
"column": 29,
"offset": 1005
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 32,
"column": 30,
"offset": 1006
},
"end": {
"line": 32,
"column": 31,
"offset": 1007
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 32,
"column": 31,
"offset": 1007
},
"end": {
"line": 32,
"column": 40,
"offset": 1016
}
},
"expression": {
"type": "svelteExpression",
"value": "aligned",
"position": {
"start": {
"line": 32,
"column": 32,
"offset": 1008
},
"end": {
"line": 32,
"column": 39,
"offset": 1015
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 32,
"column": 40,
"offset": 1016
},
"end": {
"line": 32,
"column": 41,
"offset": 1017
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 32,
"column": 41,
"offset": 1017
},
"end": {
"line": 32,
"column": 51,
"offset": 1027
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 32,
"column": 42,
"offset": 1018
},
"end": {
"line": 32,
"column": 50,
"offset": 1026
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 32,
"column": 51,
"offset": 1027
},
"end": {}
}
},
{
"type": "text",
"value": "header",
"position": {
"start": {
"line": 32,
"column": 52,
"offset": 1028
},
"end": {
"line": 32,
"column": 59,
"offset": 1035
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 32,
"column": 9,
"offset": 985
},
"end": {
"line": 32,
"column": 59,
"offset": 1035
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 32,
"column": 60,
"offset": 1036
},
"end": {
"line": 32,
"column": 74,
"offset": 1050
}
},
"specifier": "dividing"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 32,
"column": 75,
"offset": 1051
},
"end": {
"line": 32,
"column": 85,
"offset": 1061
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 32,
"column": 86,
"offset": 1062
},
"end": {
"line": 32,
"column": 99,
"offset": 1075
}
},
"specifier": "aligned"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 33,
"column": 5,
"offset": 1081
},
"end": {
"line": 33,
"column": 16,
"offset": 1092
}
},
"specifier": "block"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 33,
"column": 17,
"offset": 1093
},
"end": {
"line": 33,
"column": 31,
"offset": 1107
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 33,
"column": 32,
"offset": 1108
},
"end": {
"line": 33,
"column": 46,
"offset": 1122
}
},
"specifier": "disabled"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 33,
"column": 47,
"offset": 1123
},
"end": {
"line": 33,
"column": 56,
"offset": 1132
}
},
"specifier": "sub"
},
{
"type": "svelteDirective",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 33,
"column": 66,
"offset": 1142
},
"end": {
"line": 33,
"column": 72,
"offset": 1148
}
},
"expression": {
"type": "svelteExpression",
"value": "!sub",
"position": {
"start": {
"line": 33,
"column": 67,
"offset": 1143
},
"end": {
"line": 33,
"column": 71,
"offset": 1147
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 33,
"column": 57,
"offset": 1133
},
"end": {
"line": 33,
"column": 72,
"offset": 1148
}
},
"specifier": "ui"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 33,
"column": 73,
"offset": 1149
},
"end": {
"line": 34,
"column": 9,
"offset": 1158
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 34,
"column": 9,
"offset": 1158
},
"end": {
"line": 34,
"column": 22,
"offset": 1171
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 34,
"column": 22,
"offset": 1171
},
"end": {
"line": 35,
"column": 5,
"offset": 1176
}
}
}
],
"position": {
"start": {
"line": 32,
"column": 5,
"offset": 981
},
"end": {
"line": 35,
"column": 10,
"offset": 1181
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 35,
"column": 10,
"offset": 1181
},
"end": {
"line": 36,
"column": 1,
"offset": 1182
}
}
}
],
"position": {
"start": {
"line": 31,
"column": 1,
"offset": 952
},
"end": {
"line": 36,
"column": 1,
"offset": 1182
}
}
},
{
"type": "svelteBranch",
"name": "else if",
"expression": {
"type": "svelteExpression",
"value": "page === 'h4'",
"position": {
"start": {
"line": 36,
"column": 11,
"offset": 1192
},
"end": {
"line": 36,
"column": 24,
"offset": 1205
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 36,
"column": 25,
"offset": 1206
},
"end": {
"line": 37,
"column": 5,
"offset": 1211
}
}
},
{
"type": "svelteElement",
"tagName": "h4",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 37,
"column": 16,
"offset": 1222
},
"end": {
"line": 37,
"column": 22,
"offset": 1228
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 37,
"column": 17,
"offset": 1223
},
"end": {
"line": 37,
"column": 21,
"offset": 1227
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 37,
"column": 22,
"offset": 1228
},
"end": {
"line": 37,
"column": 23,
"offset": 1229
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 37,
"column": 23,
"offset": 1229
},
"end": {
"line": 37,
"column": 30,
"offset": 1236
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 37,
"column": 24,
"offset": 1230
},
"end": {
"line": 37,
"column": 29,
"offset": 1235
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 37,
"column": 30,
"offset": 1236
},
"end": {
"line": 37,
"column": 31,
"offset": 1237
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 37,
"column": 31,
"offset": 1237
},
"end": {
"line": 37,
"column": 40,
"offset": 1246
}
},
"expression": {
"type": "svelteExpression",
"value": "aligned",
"position": {
"start": {
"line": 37,
"column": 32,
"offset": 1238
},
"end": {
"line": 37,
"column": 39,
"offset": 1245
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 37,
"column": 40,
"offset": 1246
},
"end": {
"line": 37,
"column": 41,
"offset": 1247
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 37,
"column": 41,
"offset": 1247
},
"end": {
"line": 37,
"column": 51,
"offset": 1257
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 37,
"column": 42,
"offset": 1248
},
"end": {
"line": 37,
"column": 50,
"offset": 1256
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 37,
"column": 51,
"offset": 1257
},
"end": {}
}
},
{
"type": "text",
"value": "header",
"position": {
"start": {
"line": 37,
"column": 52,
"offset": 1258
},
"end": {
"line": 37,
"column": 59,
"offset": 1265
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 37,
"column": 9,
"offset": 1215
},
"end": {
"line": 37,
"column": 59,
"offset": 1265
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 37,
"column": 60,
"offset": 1266
},
"end": {
"line": 37,
"column": 74,
"offset": 1280
}
},
"specifier": "dividing"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 37,
"column": 75,
"offset": 1281
},
"end": {
"line": 37,
"column": 85,
"offset": 1291
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 37,
"column": 86,
"offset": 1292
},
"end": {
"line": 37,
"column": 99,
"offset": 1305
}
},
"specifier": "aligned"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 38,
"column": 5,
"offset": 1311
},
"end": {
"line": 38,
"column": 16,
"offset": 1322
}
},
"specifier": "block"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 38,
"column": 17,
"offset": 1323
},
"end": {
"line": 38,
"column": 31,
"offset": 1337
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 38,
"column": 32,
"offset": 1338
},
"end": {
"line": 38,
"column": 46,
"offset": 1352
}
},
"specifier": "disabled"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 38,
"column": 47,
"offset": 1353
},
"end": {
"line": 38,
"column": 56,
"offset": 1362
}
},
"specifier": "sub"
},
{
"type": "svelteDirective",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 38,
"column": 66,
"offset": 1372
},
"end": {
"line": 38,
"column": 72,
"offset": 1378
}
},
"expression": {
"type": "svelteExpression",
"value": "!sub",
"position": {
"start": {
"line": 38,
"column": 67,
"offset": 1373
},
"end": {
"line": 38,
"column": 71,
"offset": 1377
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 38,
"column": 57,
"offset": 1363
},
"end": {
"line": 38,
"column": 72,
"offset": 1378
}
},
"specifier": "ui"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 38,
"column": 73,
"offset": 1379
},
"end": {
"line": 39,
"column": 9,
"offset": 1388
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 39,
"column": 9,
"offset": 1388
},
"end": {
"line": 39,
"column": 22,
"offset": 1401
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 39,
"column": 22,
"offset": 1401
},
"end": {
"line": 40,
"column": 5,
"offset": 1406
}
}
}
],
"position": {
"start": {
"line": 37,
"column": 5,
"offset": 1211
},
"end": {
"line": 40,
"column": 10,
"offset": 1411
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 40,
"column": 10,
"offset": 1411
},
"end": {
"line": 41,
"column": 1,
"offset": 1412
}
}
}
],
"position": {
"start": {
"line": 36,
"column": 1,
"offset": 1182
},
"end": {
"line": 41,
"column": 1,
"offset": 1412
}
}
},
{
"type": "svelteBranch",
"name": "else if",
"expression": {
"type": "svelteExpression",
"value": "page === 'h5'",
"position": {
"start": {
"line": 41,
"column": 11,
"offset": 1422
},
"end": {
"line": 41,
"column": 24,
"offset": 1435
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 41,
"column": 25,
"offset": 1436
},
"end": {
"line": 42,
"column": 5,
"offset": 1441
}
}
},
{
"type": "svelteElement",
"tagName": "h5",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 42,
"column": 16,
"offset": 1452
},
"end": {
"line": 42,
"column": 22,
"offset": 1458
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {