@baravak/risloo-profile-cli 4.78.0 → 4.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ <g>
2
+ <rect
3
+ x="0.5"
4
+ y="{{cardY}}"
5
+ width="54"
6
+ height="{{cardHeight}}"
7
+ rx="3.5"
8
+ fill="#F8FAFC"
9
+ stroke="#E2E8F0"
10
+ />
11
+
12
+ <text
13
+ x="21.5"
14
+ y="{{axisY}}"
15
+ transform="rotate(-90 21.5 {{axisY}})"
16
+ font-size="15"
17
+ font-weight="600"
18
+ fill="#475569"
19
+ text-anchor="middle"
20
+ >{{summary.title}}</text>
21
+ <text
22
+ x="42.5"
23
+ y="{{axisY}}"
24
+ transform="rotate(-90 42.5 {{axisY}})"
25
+ font-size="12"
26
+ font-weight="400"
27
+ fill="#64748B"
28
+ text-anchor="middle"
29
+ direction="ltr"
30
+ unicode-bidi="bidi-override"
31
+ xml:space="preserve"
32
+ >{{#if summary.zero}}<tspan font-size="14" font-weight="500">0</tspan>{{else}}{{#if summary.isPositive}}<tspan font-size="14" font-weight="500">{{summary.rawDisplay.positive.resultText}}</tspan><tspan> / </tspan><tspan>{{summary.rawDisplay.positive.boundText}}</tspan>{{else}}<tspan font-size="14" font-weight="500">{{summary.rawDisplay.negative.resultText}}</tspan><tspan> / </tspan><tspan>{{summary.rawDisplay.negative.boundText}}</tspan>{{/if}}{{/if}}</text>
33
+
34
+ <rect x="7.5" y="{{pillY}}" width="40" height="24" rx="6" fill="#F1F5F9"/>
35
+ <text
36
+ x="27.5"
37
+ y="{{math pillY '+' 12}}"
38
+ dy=".34em"
39
+ font-size="14"
40
+ font-weight="600"
41
+ fill="#64748B"
42
+ text-anchor="middle"
43
+ direction="ltr"
44
+ unicode-bidi="bidi-override"
45
+ >{{summary.scoreText}}</text>
46
+ </g>
@@ -1,14 +1,5 @@
1
1
  {{#> layout}}
2
- {{> NEO_main
2
+ {{> NEO_sheet
3
3
  padding=spec.profile.padding.[0]
4
- frameX=32
5
- barX=111
6
- rawX=627.5
7
- rawCenter=645
8
- rawMax=192
9
- levelX=707
10
- showLevels=true
11
- tAxis=false
12
- alertX=0
13
4
  }}
14
5
  {{/layout}}
@@ -1,15 +1,14 @@
1
1
  {{#> layout}}
2
- {{> NEO_long_facets
2
+ {{> NEO_main
3
3
  padding=spec.profile.padding.[1]
4
- cardY=43
5
- trackW=300
6
- rawX=671.5
7
- rawCenter=689
8
- levelX=756
9
- domainChipX=68
10
- domainChipW=44
11
- gridTop=23.5
12
- gridBottom=658.5
4
+ frameX=32
5
+ barX=111
6
+ rawX=627.5
7
+ rawCenter=645
8
+ rawMax=192
9
+ levelX=707
10
+ showLevels=true
13
11
  tAxis=false
12
+ alertX=0
14
13
  }}
15
14
  {{/layout}}
@@ -9,7 +9,7 @@
9
9
  domainChipX=68
10
10
  domainChipW=44
11
11
  gridTop=23.5
12
- gridBottom=454.5
12
+ gridBottom=658.5
13
13
  tAxis=false
14
14
  }}
15
15
  {{/layout}}
@@ -0,0 +1,15 @@
1
+ {{#> layout}}
2
+ {{> NEO_long_facets
3
+ padding=spec.profile.padding.[3]
4
+ cardY=43
5
+ trackW=300
6
+ rawX=671.5
7
+ rawCenter=689
8
+ levelX=756
9
+ domainChipX=68
10
+ domainChipW=44
11
+ gridTop=23.5
12
+ gridBottom=454.5
13
+ tAxis=false
14
+ }}
15
+ {{/layout}}
@@ -1,13 +1,5 @@
1
1
  {{#> layout}}
2
- {{> NEO_main
2
+ {{> NEO_sheet
3
3
  padding=spec.profile.padding.[0]
4
- frameX=62
5
- barX=123
6
- rawX=639.5
7
- rawCenter=657
8
- rawMax=192
9
- showLevels=false
10
- tAxis=true
11
- alertX=0
12
4
  }}
13
5
  {{/layout}}
@@ -1,14 +1,13 @@
1
1
  {{#> layout}}
2
- {{> NEO_long_facets
2
+ {{> NEO_main
3
3
  padding=spec.profile.padding.[1]
4
- cardY=49
5
- trackW=380
6
- rawX=759.5
7
- rawCenter=777
8
- domainChipX=70
9
- domainChipW=40
10
- gridTop=29.5
11
- gridBottom=664.5
4
+ frameX=62
5
+ barX=123
6
+ rawX=639.5
7
+ rawCenter=657
8
+ rawMax=192
9
+ showLevels=false
12
10
  tAxis=true
11
+ alertX=0
13
12
  }}
14
13
  {{/layout}}
@@ -8,7 +8,7 @@
8
8
  domainChipX=70
9
9
  domainChipW=40
10
10
  gridTop=29.5
11
- gridBottom=460.5
11
+ gridBottom=664.5
12
12
  tAxis=true
13
13
  }}
14
14
  {{/layout}}
@@ -0,0 +1,14 @@
1
+ {{#> layout}}
2
+ {{> NEO_long_facets
3
+ padding=spec.profile.padding.[3]
4
+ cardY=49
5
+ trackW=380
6
+ rawX=759.5
7
+ rawCenter=777
8
+ domainChipX=70
9
+ domainChipW=40
10
+ gridTop=29.5
11
+ gridBottom=460.5
12
+ tAxis=true
13
+ }}
14
+ {{/layout}}
@@ -0,0 +1,88 @@
1
+ {{#> layout}}
2
+ <defs>
3
+ <linearGradient id="sii93-p1-left-track" x1="0" y1="0" x2="1" y2="0">
4
+ <stop stop-color="#FFF1F2"/>
5
+ <stop offset="1" stop-color="#E2E8F0" stop-opacity="0.25"/>
6
+ </linearGradient>
7
+ <linearGradient id="sii93-p1-right-track" x1="0" y1="0" x2="1" y2="0">
8
+ <stop stop-color="#E2E8F0" stop-opacity="0.25"/>
9
+ <stop offset="1" stop-color="#F0FDF4"/>
10
+ </linearGradient>
11
+ <linearGradient id="sii93-p1-left-active" x1="0" y1="0" x2="1" y2="0">
12
+ <stop stop-color="#BE123C"/>
13
+ <stop offset="1" stop-color="#FECDD3"/>
14
+ </linearGradient>
15
+ <linearGradient id="sii93-p1-right-active" x1="0" y1="0" x2="1" y2="0">
16
+ <stop stop-color="#BBF7D0"/>
17
+ <stop offset="1" stop-color="#15803D"/>
18
+ </linearGradient>
19
+
20
+ <filter id="sii93-p1-left-split" x="326.5" y="17" width="7" height="350" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
21
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
22
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
23
+ <feOffset dx="-1"/>
24
+ <feGaussianBlur stdDeviation="1.5"/>
25
+ <feComposite in2="hardAlpha" operator="out"/>
26
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
27
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
28
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
29
+ </filter>
30
+ <filter id="sii93-p1-right-split" x="479.5" y="17" width="7" height="350" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
31
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
32
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
33
+ <feOffset dx="1"/>
34
+ <feGaussianBlur stdDeviation="1.5"/>
35
+ <feComposite in2="hardAlpha" operator="out"/>
36
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
37
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
38
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
39
+ </filter>
40
+ </defs>
41
+
42
+ <g transform="translate({{spec.profile.padding.[0].x}}, {{spec.profile.padding.[0].y}})">
43
+ <g stroke="#E2E8F0" stroke-linecap="round" stroke-dasharray="6 6">
44
+ <line x1="81" y1="20.5" x2="81" y2="363.5"/>
45
+ <line x1="206" y1="20.5" x2="206" y2="363.5"/>
46
+ <line x1="607" y1="20.5" x2="607" y2="363.5"/>
47
+ <line x1="732" y1="20.5" x2="732" y2="363.5"/>
48
+ </g>
49
+
50
+ {{> SII93_bipolar_rows
51
+ items=items
52
+ rowsY=40
53
+ rowPitch=56
54
+ leftTrackX=80.5
55
+ leftZeroX=330.5
56
+ titleX=331.5
57
+ titleWidth=150
58
+ rightTrackX=482.5
59
+ rightZeroX=482.5
60
+ leftRawX=72.5
61
+ rightRawX=740.5
62
+ titleFontSize=14
63
+ titleFontWeight=600
64
+ leftTrackFill="url(#sii93-p1-left-track)"
65
+ rightTrackFill="url(#sii93-p1-right-track)"
66
+ leftActiveFill="url(#sii93-p1-left-active)"
67
+ rightActiveFill="url(#sii93-p1-right-active)"
68
+ leftActiveColor="#BE123C"
69
+ rightActiveColor="#15803D"
70
+ }}
71
+
72
+ <g opacity="0.5" filter="url(#sii93-p1-left-split)">
73
+ <line x1="331" y1="20.5" x2="331" y2="363.5" stroke="white" stroke-linecap="round"/>
74
+ </g>
75
+ <g opacity="0.5" filter="url(#sii93-p1-right-split)">
76
+ <line x1="482" y1="20.5" x2="482" y2="363.5" stroke="white" stroke-linecap="round"/>
77
+ </g>
78
+
79
+ <g font-size="12" font-weight="400" fill="#94A3B8" text-anchor="middle" direction="ltr" unicode-bidi="bidi-override">
80
+ <text x="81" y="8">- 2</text>
81
+ <text x="206" y="8">- 1</text>
82
+ <text x="331" y="8">0</text>
83
+ <text x="482" y="8">0</text>
84
+ <text x="607" y="8">1</text>
85
+ <text x="732" y="8">2</text>
86
+ </g>
87
+ </g>
88
+ {{/layout}}
@@ -0,0 +1,64 @@
1
+ {{#> layout}}
2
+ <defs>
3
+ <linearGradient id="sii93-p2-left-track" x1="0" y1="0" x2="1" y2="0">
4
+ <stop stop-color="#FFF1F2"/>
5
+ <stop offset="1" stop-color="#E2E8F0" stop-opacity="0.25"/>
6
+ </linearGradient>
7
+ <linearGradient id="sii93-p2-right-track" x1="0" y1="0" x2="1" y2="0">
8
+ <stop stop-color="#E2E8F0" stop-opacity="0.25"/>
9
+ <stop offset="1" stop-color="#F0FDF4"/>
10
+ </linearGradient>
11
+ <linearGradient id="sii93-p2-left-active" x1="0" y1="0" x2="1" y2="0">
12
+ <stop stop-color="#BE123C"/>
13
+ <stop offset="1" stop-color="#FECDD3"/>
14
+ </linearGradient>
15
+ <linearGradient id="sii93-p2-right-active" x1="0" y1="0" x2="1" y2="0">
16
+ <stop stop-color="#BBF7D0"/>
17
+ <stop offset="1" stop-color="#15803D"/>
18
+ </linearGradient>
19
+ <filter id="sii93-p2-left-split" x="379" y="17" width="7" height="650" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
20
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
21
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
22
+ <feOffset dx="-1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/>
23
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
24
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
25
+ </filter>
26
+ <filter id="sii93-p2-right-split" x="572" y="17" width="7" height="650" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
29
+ <feOffset dx="1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/>
30
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
31
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
32
+ </filter>
33
+ </defs>
34
+
35
+ <g transform="translate({{spec.profile.padding.[1].x}}, {{spec.profile.padding.[1].y}})">
36
+ <g stroke="#E2E8F0" stroke-linecap="round" stroke-dasharray="6 6">
37
+ <line x1="133.5" y1="20.5" x2="133.5" y2="663.5"/>
38
+ <line x1="258.5" y1="20.5" x2="258.5" y2="663.5"/>
39
+ <line x1="699.5" y1="20.5" x2="699.5" y2="663.5"/>
40
+ <line x1="824.5" y1="20.5" x2="824.5" y2="663.5"/>
41
+ </g>
42
+
43
+ {{#with (lookup groups 0)}}
44
+ {{> SII93_bipolar_rows items=items rowsY=40 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p2-left-track)" rightTrackFill="url(#sii93-p2-right-track)" leftActiveFill="url(#sii93-p2-left-active)" rightActiveFill="url(#sii93-p2-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
45
+ {{> SII93_summary_card summary=summary cardY=40.5 cardHeight=203 axisY=124 pillY=159}}
46
+ {{/with}}
47
+ {{#with (lookup groups 1)}}
48
+ {{> SII93_bipolar_rows items=items rowsY=312 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p2-left-track)" rightTrackFill="url(#sii93-p2-right-track)" leftActiveFill="url(#sii93-p2-left-active)" rightActiveFill="url(#sii93-p2-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
49
+ {{> SII93_summary_card summary=summary cardY=312.5 cardHeight=131 axisY=360 pillY=401.5}}
50
+ {{/with}}
51
+ {{#with (lookup groups 2)}}
52
+ {{> SII93_bipolar_rows items=items rowsY=512 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p2-left-track)" rightTrackFill="url(#sii93-p2-right-track)" leftActiveFill="url(#sii93-p2-left-active)" rightActiveFill="url(#sii93-p2-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
53
+ {{> SII93_summary_card summary=summary cardY=512.5 cardHeight=131 axisY=560 pillY=598.5}}
54
+ {{/with}}
55
+
56
+ <g opacity="0.5" filter="url(#sii93-p2-left-split)"><line x1="383.5" y1="20.5" x2="383.5" y2="663.5" stroke="white" stroke-linecap="round"/></g>
57
+ <g opacity="0.5" filter="url(#sii93-p2-right-split)"><line x1="574.5" y1="20.5" x2="574.5" y2="663.5" stroke="white" stroke-linecap="round"/></g>
58
+
59
+ <g font-size="12" font-weight="400" fill="#94A3B8" text-anchor="middle" direction="ltr" unicode-bidi="bidi-override">
60
+ <text x="133.5" y="8">- 2</text><text x="258.5" y="8">- 1</text><text x="383.5" y="8">0</text>
61
+ <text x="574.5" y="8">0</text><text x="699.5" y="8">1</text><text x="824.5" y="8">2</text>
62
+ </g>
63
+ </g>
64
+ {{/layout}}
@@ -0,0 +1,45 @@
1
+ {{#> layout}}
2
+ <defs>
3
+ <linearGradient id="sii93-p3-left-track" x1="0" y1="0" x2="1" y2="0"><stop stop-color="#FFF1F2"/><stop offset="1" stop-color="#E2E8F0" stop-opacity="0.25"/></linearGradient>
4
+ <linearGradient id="sii93-p3-right-track" x1="0" y1="0" x2="1" y2="0"><stop stop-color="#E2E8F0" stop-opacity="0.25"/><stop offset="1" stop-color="#F0FDF4"/></linearGradient>
5
+ <linearGradient id="sii93-p3-left-active" x1="0" y1="0" x2="1" y2="0"><stop stop-color="#BE123C"/><stop offset="1" stop-color="#FECDD3"/></linearGradient>
6
+ <linearGradient id="sii93-p3-right-active" x1="0" y1="0" x2="1" y2="0"><stop stop-color="#BBF7D0"/><stop offset="1" stop-color="#15803D"/></linearGradient>
7
+ <filter id="sii93-p3-left-split" x="379" y="17" width="7" height="650" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
8
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
9
+ <feOffset dx="-1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
10
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
11
+ </filter>
12
+ <filter id="sii93-p3-right-split" x="572" y="17" width="7" height="650" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
13
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
14
+ <feOffset dx="1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
15
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
16
+ </filter>
17
+ </defs>
18
+
19
+ <g transform="translate({{spec.profile.padding.[2].x}}, {{spec.profile.padding.[2].y}})">
20
+ <g stroke="#E2E8F0" stroke-linecap="round" stroke-dasharray="6 6">
21
+ <line x1="133.5" y1="20.5" x2="133.5" y2="663.5"/><line x1="258.5" y1="20.5" x2="258.5" y2="663.5"/>
22
+ <line x1="699.5" y1="20.5" x2="699.5" y2="663.5"/><line x1="824.5" y1="20.5" x2="824.5" y2="663.5"/>
23
+ </g>
24
+
25
+ {{#with (lookup groups 0)}}
26
+ {{> SII93_bipolar_rows items=items rowsY=40 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p3-left-track)" rightTrackFill="url(#sii93-p3-right-track)" leftActiveFill="url(#sii93-p3-left-active)" rightActiveFill="url(#sii93-p3-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
27
+ {{> SII93_summary_card summary=summary cardY=40.5 cardHeight=203 axisY=124 pillY=162.5}}
28
+ {{/with}}
29
+ {{#with (lookup groups 1)}}
30
+ {{> SII93_bipolar_rows items=items rowsY=276 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p3-left-track)" rightTrackFill="url(#sii93-p3-right-track)" leftActiveFill="url(#sii93-p3-left-active)" rightActiveFill="url(#sii93-p3-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
31
+ {{> SII93_summary_card summary=summary cardY=276.5 cardHeight=203 axisY=360 pillY=406.5}}
32
+ {{/with}}
33
+ {{#with (lookup groups 2)}}
34
+ {{> SII93_bipolar_rows items=items rowsY=512 rowPitch=36 leftTrackX=133 leftZeroX=383 titleX=384 titleWidth=190 rightTrackX=575 rightZeroX=575 leftRawX=125 rightRawX=833 titleFontSize=13 titleFontWeight=400 leftTrackFill="url(#sii93-p3-left-track)" rightTrackFill="url(#sii93-p3-right-track)" leftActiveFill="url(#sii93-p3-left-active)" rightActiveFill="url(#sii93-p3-right-active)" leftActiveColor="#BE123C" rightActiveColor="#15803D"}}
35
+ {{> SII93_summary_card summary=summary cardY=512.5 cardHeight=131 axisY=560 pillY=598}}
36
+ {{/with}}
37
+
38
+ <g opacity="0.5" filter="url(#sii93-p3-left-split)"><line x1="383.5" y1="20.5" x2="383.5" y2="663.5" stroke="white" stroke-linecap="round"/></g>
39
+ <g opacity="0.5" filter="url(#sii93-p3-right-split)"><line x1="574.5" y1="20.5" x2="574.5" y2="663.5" stroke="white" stroke-linecap="round"/></g>
40
+ <g font-size="12" font-weight="400" fill="#94A3B8" text-anchor="middle" direction="ltr" unicode-bidi="bidi-override">
41
+ <text x="133.5" y="8">- 2</text><text x="258.5" y="8">- 1</text><text x="383.5" y="8">0</text>
42
+ <text x="574.5" y="8">0</text><text x="699.5" y="8">1</text><text x="824.5" y="8">2</text>
43
+ </g>
44
+ </g>
45
+ {{/layout}}
@@ -0,0 +1,74 @@
1
+ {{#> layout}}
2
+ <defs>
3
+ <linearGradient id="sii93-p4-left-track" x1="0" y1="0" x2="1" y2="0">
4
+ <stop stop-color="#FAF5FF"/>
5
+ <stop offset="1" stop-color="#E2E8F0" stop-opacity="0.25"/>
6
+ </linearGradient>
7
+ <linearGradient id="sii93-p4-right-track" x1="0" y1="0" x2="1" y2="0">
8
+ <stop stop-color="#E2E8F0" stop-opacity="0.25"/>
9
+ <stop offset="1" stop-color="#EEF2FF"/>
10
+ </linearGradient>
11
+ <linearGradient id="sii93-p4-left-active" x1="0" y1="0" x2="1" y2="0">
12
+ <stop stop-color="#7E22CE"/>
13
+ <stop offset="1" stop-color="#E9D5FF"/>
14
+ </linearGradient>
15
+ <linearGradient id="sii93-p4-right-active" x1="0" y1="0" x2="1" y2="0">
16
+ <stop stop-color="#C7D2FE"/>
17
+ <stop offset="1" stop-color="#4338CA"/>
18
+ </linearGradient>
19
+ <filter id="sii93-p4-left-split" x="323" y="17" width="7" height="654" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
20
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
21
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
22
+ <feOffset dx="-1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/>
23
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
24
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
25
+ </filter>
26
+ <filter id="sii93-p4-right-split" x="476" y="17" width="7" height="654" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
29
+ <feOffset dx="1"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/>
30
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
31
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
32
+ </filter>
33
+ </defs>
34
+
35
+ <g transform="translate({{spec.profile.padding.[3].x}}, {{spec.profile.padding.[3].y}})">
36
+ <g stroke="#E2E8F0" stroke-linecap="round" stroke-dasharray="6 6">
37
+ <line x1="77.5" y1="20.5" x2="77.5" y2="667.5"/><line x1="202.5" y1="20.5" x2="202.5" y2="667.5"/>
38
+ <line x1="603.5" y1="20.5" x2="603.5" y2="667.5"/><line x1="728.5" y1="20.5" x2="728.5" y2="667.5"/>
39
+ </g>
40
+
41
+ {{> SII93_bipolar_rows
42
+ items=items
43
+ rowsY=40
44
+ rowPitch=128
45
+ leftTrackX=77
46
+ leftZeroX=327
47
+ titleX=328
48
+ titleWidth=150
49
+ rightTrackX=479
50
+ rightZeroX=479
51
+ leftRawX=69
52
+ rightRawX=737
53
+ titleFontSize=14
54
+ titleFontWeight=600
55
+ showDescriptions=true
56
+ leftDescriptionX=202
57
+ rightDescriptionX=604
58
+ leftTrackFill="url(#sii93-p4-left-track)"
59
+ rightTrackFill="url(#sii93-p4-right-track)"
60
+ leftActiveFill="url(#sii93-p4-left-active)"
61
+ rightActiveFill="url(#sii93-p4-right-active)"
62
+ leftActiveColor="#7E22CE"
63
+ rightActiveColor="#4338CA"
64
+ }}
65
+
66
+ <g opacity="0.5" filter="url(#sii93-p4-left-split)"><line x1="327.5" y1="20.5" x2="327.5" y2="667.5" stroke="white" stroke-linecap="round"/></g>
67
+ <g opacity="0.5" filter="url(#sii93-p4-right-split)"><line x1="478.5" y1="20.5" x2="478.5" y2="667.5" stroke="white" stroke-linecap="round"/></g>
68
+
69
+ <g font-size="12" font-weight="400" fill="#94A3B8" text-anchor="middle" direction="ltr" unicode-bidi="bidi-override">
70
+ <text x="77.5" y="8">- 2</text><text x="202.5" y="8">- 1</text><text x="327.5" y="8">0</text>
71
+ <text x="478.5" y="8">0</text><text x="603.5" y="8">1</text><text x="728.5" y="8">2</text>
72
+ </g>
73
+ </g>
74
+ {{/layout}}
@@ -1,7 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(*)"
5
- ]
6
- }
7
- }
@@ -1,91 +0,0 @@
1
- const fs = require("fs/promises");
2
- const FormData = require("form-data");
3
- const path = require("path");
4
- const sharp = require("sharp");
5
- const Handlebars = require("handlebars");
6
- const readline = require("readline");
7
- const https = require("https");
8
- require("dotenv").config();
9
-
10
- // New version image hbs directory
11
- const templateDir = path.join(__dirname, "new-version.hbs");
12
-
13
- // Version to be Released
14
- // Remember you should run this script using 'npm ...' command to have npm environment variables
15
- const version = process.env.npm_package_version;
16
-
17
- // Telegram Bot Info (Bot Token Should Be Manually Provided Using dotenv)
18
- const token = process.env.TELEGRAM_BOT_TOKEN;
19
- const chatId = "-651191778";
20
-
21
- const rl = readline.createInterface({
22
- input: process.stdin,
23
- output: process.stdout,
24
- });
25
-
26
- const releaseNotes = [];
27
-
28
- rl.setPrompt("Release Notes:\n");
29
-
30
- rl.prompt();
31
-
32
- rl.on("line", function (ln) {
33
- releaseNotes.push(ln);
34
- });
35
-
36
- // Press Ctrl+C to Just Exit
37
- rl.on("SIGINT", () => process.exit(0));
38
-
39
- // Press Ctrl+D to Emit 'close' Event and Send Release Notes
40
- rl.on("close", sendReleaseNotes);
41
-
42
- // Returns Buffer of New Version Image
43
- async function createReleaseImage() {
44
- return fs
45
- .readFile(templateDir)
46
- .then((templateBuffer) => {
47
- const template = Handlebars.compile(templateBuffer.toString(), "utf-8");
48
- let ctx = {
49
- version,
50
- };
51
- const xml = template(ctx);
52
-
53
- const buf = Buffer.from(xml, "utf8");
54
- return sharp(buf).resize({ width: 350 }).jpeg({ quality: 100 }).toBuffer();
55
- })
56
- .catch((err) => {
57
- throw err;
58
- });
59
- }
60
-
61
- async function sendReleaseNotes() {
62
- // Text to be Sent
63
- const caption = `Version *${version}* Released!\n\n_Release Notes:_\n${releaseNotes.join("\n")}`;
64
- const photoBuf = await createReleaseImage();
65
-
66
- let form = new FormData();
67
-
68
- form.append("chat_id", chatId);
69
- form.append("photo", photoBuf, { filename: "image.jpeg" });
70
- form.append("caption", caption);
71
- form.append("parse_mode", "Markdown");
72
-
73
- // HTTP Request Options (URL & Headers & Method)
74
- const options = {
75
- hostname: "api.telegram.org",
76
- path: `/bot${token}/sendPhoto`,
77
- protocol: "https:",
78
- };
79
-
80
- form.submit(options, (err, res) => {
81
- console.log(`statusCode: ${res.statusCode}`);
82
-
83
- res.on("data", (d) => {
84
- process.stdout.write(d);
85
- });
86
-
87
- if (err) console.log(err);
88
-
89
- res.emit("end");
90
- });
91
- }
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 400" font-family="Dana">
3
- <rect x="0" y="0" width="500" height="400" fill="#EA6B13"/>
4
- <g transform="translate(250, 200)">
5
- <text x="0" y="-75" fill="white" fill-opacity="0.25" font-size="36" font-weight="800" text-anchor="middle">RISLOO EXTRACTOR CLI</text>
6
- <g transform="translate(0, 65)">
7
- <text x="0" y="0" fill="black" fill-opacity="0.25" font-size="88" font-weight="900" text-anchor="middle">v {{version}}</text>
8
- <text x="0" y="0" fill="white" font-size="96" font-weight="900" text-anchor="middle">v {{version}}</text>
9
- </g>
10
- </g>
11
- </svg>