@saasquatch/mint-components 2.5.3 → 2.5.5-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.
- package/dist/cjs/{ShadowViewAddon-d19ce36f.js → ShadowViewAddon-84dd103e.js} +14 -31
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +31 -12
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +13 -31
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -0
- package/dist/collection/components/sqm-widget-verification/getVerificationStep.js +10 -0
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +20 -11
- package/dist/esm/{ShadowViewAddon-1f236b1b.js → ShadowViewAddon-be5cdc78.js} +14 -31
- package/dist/esm/sqm-big-stat_47.entry.js +31 -12
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/ShadowViewAddon-be5cdc78.js +1 -0
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-08db34e6.system.js +1 -0
- package/dist/mint-components/{p-8b0f86db.system.entry.js → p-3acfe5be.system.entry.js} +1 -1
- package/dist/mint-components/p-456720e4.js +499 -0
- package/dist/mint-components/{p-bc2b357f.system.entry.js → p-8205800c.system.entry.js} +1 -1
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/{p-68c2b7ed.entry.js → p-d9d3661c.entry.js} +23 -14
- package/dist/mint-components/{p-29fd9159.entry.js → p-f355b2be.entry.js} +1 -1
- package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +14 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-1f236b1b.js +0 -1
- package/dist/mint-components/p-0792fa3b.js +0 -499
- package/dist/mint-components/p-d3cbf1e0.system.js +0 -1
|
@@ -259,37 +259,19 @@ function PortalChangePasswordView(props) {
|
|
|
259
259
|
index.h("style", { type: "text/css" }, styleString))));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
function PoweredByImg({ color = "#
|
|
263
|
-
return (index.h("svg", { width: width, height: height, viewBox: "0 0
|
|
264
|
-
index.h("path", { d: "
|
|
265
|
-
index.h("path", {
|
|
266
|
-
index.h("path", { d: "
|
|
267
|
-
index.h("path", {
|
|
268
|
-
index.h("path", {
|
|
269
|
-
index.h("path", {
|
|
270
|
-
index.h("path", {
|
|
271
|
-
index.h("path", {
|
|
272
|
-
index.h("path", {
|
|
273
|
-
index.h("path", {
|
|
274
|
-
index.h("path", {
|
|
275
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
276
|
-
index.h("path", { d: "M135.882 89.2798H115.582V187.58H135.882V89.2798Z", fill: color }),
|
|
277
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z", fill: color }),
|
|
278
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z", fill: color }),
|
|
279
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z", fill: color }),
|
|
280
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z", fill: color }),
|
|
281
|
-
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
282
|
-
index.h("path", { d: "M34.6815 112.78C40.6815 112.78 46.5815 114.18 51.8815 116.68C57.2815 119.18 62.0815 122.78 65.9815 127.28C67.9815 122.68 69.0815 117.78 69.0815 112.88C69.0815 108.38 68.1815 103.88 66.4815 99.8799C64.6815 95.6799 62.1815 91.9799 58.9815 88.8799C55.7815 85.7799 51.9815 83.2799 47.7815 81.4799C43.5815 79.7799 39.0815 78.8799 34.5815 78.8799C30.0815 78.8799 25.5815 79.6799 21.3815 81.4799C17.1815 83.1799 13.3815 85.7799 10.1815 88.8799C6.98154 91.9799 4.48154 95.7799 2.68154 99.8799C0.881541 104.08 0.081543 108.38 0.081543 112.88C0.181543 117.88 1.18154 122.78 3.18154 127.28C7.08154 122.68 11.8815 119.18 17.1815 116.68C22.7815 113.98 28.7815 112.68 34.6815 112.78Z", fill: color }),
|
|
283
|
-
index.h("path", { d: "M69.1817 153.48C69.1817 146.68 67.1817 140.18 63.2817 134.48C59.4817 128.88 54.0817 124.48 47.7817 121.88C41.4817 119.28 34.4817 118.68 27.7817 119.88C21.0817 121.28 14.8817 124.48 10.0817 129.28C5.28166 134.08 1.88166 140.08 0.681661 146.78C-0.718339 153.48 0.0816607 160.18 2.68166 166.48C5.28166 172.78 9.68166 178.08 15.4817 181.78C21.0817 185.58 27.7817 187.48 34.6817 187.48C43.7817 187.38 52.5817 183.88 59.0817 177.38C65.6817 170.98 69.1817 162.58 69.1817 153.48Z", fill: color }),
|
|
284
|
-
index.h("path", { d: "M69.1817 34.9799C69.1817 28.1799 67.1817 21.6799 63.2817 15.9799C59.4817 10.3799 54.1817 5.9799 47.7817 3.3799C41.4817 0.779901 34.4817 0.1799 27.7817 1.3799C21.0817 2.7799 14.8817 5.97986 10.0817 10.7799C5.28166 15.5799 1.88166 21.5799 0.681661 28.2799C-0.718339 34.9799 0.0816607 41.6799 2.68166 47.9799C5.28166 54.2799 9.68166 59.5799 15.4817 63.2799C21.0817 67.0799 27.7817 68.9799 34.6817 68.9799C43.8817 68.9799 52.6817 65.3799 59.1817 58.9799C65.5817 52.6799 69.1817 43.8799 69.1817 34.9799Z", fill: color }),
|
|
285
|
-
index.h("path", { d: "M962.664 203.95C953.044 203.95 945.244 201.285 939.264 195.955C933.284 190.495 930.294 183.41 930.294 174.7C930.294 165.08 933.739 157.605 940.629 152.275C947.649 146.945 957.464 144.28 970.074 144.28H993.864V138.43C993.864 129.72 991.589 123.09 987.039 118.54C982.619 113.86 976.184 111.52 967.734 111.52C962.014 111.52 956.749 112.885 951.939 115.615C947.129 118.345 943.229 122.18 940.239 127.12L933.999 120.295C937.639 114.575 942.384 110.22 948.234 107.23C954.214 104.11 960.974 102.55 968.514 102.55C979.694 102.55 988.404 105.605 994.644 111.715C1001.01 117.695 1004.2 126.015 1004.2 136.675V184.255C1004.2 188.805 1004.98 194.72 1006.54 202H997.569C996.399 199.14 995.554 194.07 995.034 186.79H994.644C990.874 192.25 986.259 196.475 980.799 199.465C975.339 202.455 969.294 203.95 962.664 203.95ZM962.664 195.175C968.124 195.175 973.259 194.07 978.069 191.86C982.879 189.52 986.714 186.465 989.574 182.695C992.434 178.795 993.864 174.7 993.864 170.41V152.665H969.489C960.389 152.665 953.239 154.615 948.039 158.515C942.969 162.415 940.434 167.81 940.434 174.7C940.434 180.68 942.514 185.62 946.674 189.52C950.834 193.29 956.164 195.175 962.664 195.175Z", fill: color }),
|
|
286
|
-
index.h("path", { d: "M1067.55 203.95C1055.07 203.95 1045.25 199.27 1038.1 189.91C1030.95 180.55 1027.38 167.745 1027.38 151.495C1027.38 136.415 1031.02 124.52 1038.3 115.81C1045.71 106.97 1055.72 102.55 1068.33 102.55C1074.7 102.55 1080.55 104.045 1085.88 107.035C1091.21 110.025 1095.5 114.25 1098.75 119.71H1099.14V57.3101H1109.67V178.21C1109.67 189.13 1109.86 197.06 1110.25 202H1100.89C1100.63 197.84 1100.5 192.12 1100.5 184.84H1100.11C1097.12 190.69 1092.7 195.37 1086.85 198.88C1081 202.26 1074.57 203.95 1067.55 203.95ZM1068.13 195.175C1077.23 195.175 1084.64 192.185 1090.36 186.205C1096.21 180.225 1099.14 172.49 1099.14 163V146.815C1099.14 135.895 1096.41 127.25 1090.95 120.88C1085.49 114.38 1078.08 111.13 1068.72 111.13C1059.1 111.13 1051.49 114.77 1045.9 122.05C1040.44 129.2 1037.71 139.145 1037.71 151.885C1037.71 165.275 1040.44 175.87 1045.9 183.67C1051.36 191.34 1058.77 195.175 1068.13 195.175Z", fill: color }),
|
|
287
|
-
index.h("path", { d: "M1208.57 104.5L1172.3 202H1161.96L1125.5 104.5H1136.61L1167.03 189.715L1197.45 104.5H1208.57Z", fill: color }),
|
|
288
|
-
index.h("path", { d: "M1261.51 203.95C1252.54 203.95 1244.61 201.87 1237.72 197.71C1230.96 193.55 1225.7 187.635 1221.93 179.965C1218.29 172.295 1216.47 163.39 1216.47 153.25C1216.47 143.11 1218.29 134.205 1221.93 126.535C1225.7 118.865 1230.96 112.95 1237.72 108.79C1244.61 104.63 1252.54 102.55 1261.51 102.55C1270.48 102.55 1278.35 104.63 1285.11 108.79C1292 112.95 1297.33 118.865 1301.1 126.535C1304.87 134.205 1306.75 143.11 1306.75 153.25C1306.75 163.39 1304.87 172.295 1301.1 179.965C1297.33 187.635 1292 193.55 1285.11 197.71C1278.35 201.87 1270.48 203.95 1261.51 203.95ZM1261.51 195.37C1268.4 195.37 1274.45 193.615 1279.65 190.105C1284.98 186.595 1289.07 181.655 1291.93 175.285C1294.79 168.915 1296.22 161.57 1296.22 153.25C1296.22 144.93 1294.79 137.585 1291.93 131.215C1289.07 124.845 1284.98 119.905 1279.65 116.395C1274.45 112.885 1268.4 111.13 1261.51 111.13C1254.75 111.13 1248.71 112.885 1243.38 116.395C1238.18 119.905 1234.15 124.845 1231.29 131.215C1228.43 137.585 1227 144.93 1227 153.25C1227 161.57 1228.43 168.915 1231.29 175.285C1234.15 181.655 1238.18 186.595 1243.38 190.105C1248.71 193.615 1254.75 195.37 1261.51 195.37Z", fill: color }),
|
|
289
|
-
index.h("path", { d: "M1366.03 203.95C1352.25 203.95 1341.52 199.53 1333.85 190.69C1326.31 181.72 1322.54 169.24 1322.54 153.25C1322.54 137.39 1326.38 124.975 1334.05 116.005C1341.72 107.035 1352.38 102.55 1366.03 102.55C1373.57 102.55 1380.26 104.11 1386.11 107.23C1391.96 110.22 1396.77 114.575 1400.54 120.295L1394.3 126.34C1391.31 121.66 1387.28 118.02 1382.21 115.42C1377.27 112.69 1371.88 111.325 1366.03 111.325C1355.76 111.325 1347.63 115.03 1341.65 122.44C1335.8 129.85 1332.88 140.12 1332.88 153.25C1332.88 166.38 1335.8 176.65 1341.65 184.06C1347.63 191.47 1355.76 195.175 1366.03 195.175C1371.88 195.175 1377.27 193.875 1382.21 191.275C1387.28 188.545 1391.31 184.84 1394.3 180.16L1400.54 186.205C1396.77 191.925 1391.96 196.345 1386.11 199.465C1380.26 202.455 1373.57 203.95 1366.03 203.95Z", fill: color }),
|
|
290
|
-
index.h("path", { d: "M1446.55 203.95C1436.93 203.95 1429.13 201.285 1423.15 195.955C1417.17 190.495 1414.18 183.41 1414.18 174.7C1414.18 165.08 1417.62 157.605 1424.51 152.275C1431.53 146.945 1441.35 144.28 1453.96 144.28H1477.75V138.43C1477.75 129.72 1475.47 123.09 1470.92 118.54C1466.5 113.86 1460.07 111.52 1451.62 111.52C1445.9 111.52 1440.63 112.885 1435.82 115.615C1431.01 118.345 1427.11 122.18 1424.12 127.12L1417.88 120.295C1421.52 114.575 1426.27 110.22 1432.12 107.23C1438.1 104.11 1444.86 102.55 1452.4 102.55C1463.58 102.55 1472.29 105.605 1478.53 111.715C1484.9 117.695 1488.08 126.015 1488.08 136.675V184.255C1488.08 188.805 1488.86 194.72 1490.42 202H1481.45C1480.28 199.14 1479.44 194.07 1478.92 186.79H1478.53C1474.76 192.25 1470.14 196.475 1464.68 199.465C1459.22 202.455 1453.18 203.95 1446.55 203.95ZM1446.55 195.175C1452.01 195.175 1457.14 194.07 1461.95 191.86C1466.76 189.52 1470.6 186.465 1473.46 182.695C1476.32 178.795 1477.75 174.7 1477.75 170.41V152.665H1453.37C1444.27 152.665 1437.12 154.615 1431.92 158.515C1426.85 162.415 1424.32 167.81 1424.32 174.7C1424.32 180.68 1426.4 185.62 1430.56 189.52C1434.72 193.29 1440.05 195.175 1446.55 195.175Z", fill: color }),
|
|
291
|
-
index.h("path", { d: "M1547.14 203.95C1539.08 203.95 1532.97 201.48 1528.81 196.54C1524.65 191.47 1522.57 184.19 1522.57 174.7V113.275H1505.02V104.5H1522.57V77.9801L1532.32 74.6651H1533.1V104.5H1560.59V113.275H1533.1V172.555C1533.1 180.355 1534.33 186.01 1536.8 189.52C1539.27 193.03 1543.17 194.785 1548.5 194.785C1553.83 194.785 1558.06 194.005 1561.18 192.445L1562.35 200.83C1558.19 202.91 1553.12 203.95 1547.14 203.95Z", fill: color }),
|
|
292
|
-
index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
262
|
+
function PoweredByImg({ color = "#161414", width = 120, height = 17, }) {
|
|
263
|
+
return (index.h("svg", { width: width, height: height, viewBox: "0 0 1377.29 200", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
264
|
+
index.h("path", { transform: "translate(895.93 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.1 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
265
|
+
index.h("path", { transform: "translate(402.03 53.06)", d: "M94.43 14.31L92.52 12.72C82.51 4.4 69.9 0 56.04 0C24.09 0 0 24.09 0 56.04C0 87.99 24.09 112.08 56.04 112.08C69.9 112.08 82.51 107.68 92.51 99.36L94.42 97.77V108.98H133.37V3.15H94.42V14.31H94.43ZM68.62 81.85C54.39 81.85 42.81 70.27 42.81 56.03C42.81 41.79 54.39 30.21 68.62 30.21C82.85 30.21 94.44 41.79 94.44 56.03C94.44 70.27 82.86 81.85 68.62 81.85Z", fill: color }),
|
|
266
|
+
index.h("path", { transform: "translate(253.15 53.04)", d: "M77.34 0.0100021C63.48 0.0100021 50.87 4.41 40.86 12.73L38.95 14.32V3.16H0V146.95H38.95V97.77L40.86 99.36C50.86 107.68 63.47 112.08 77.34 112.08C109.29 112.08 133.38 87.99 133.38 56.04C133.38 24.09 109.29 0 77.34 0V0.0100021ZM64.76 81.86C50.53 81.86 38.95 70.28 38.95 56.04C38.95 41.8 50.53 30.22 64.76 30.22C78.99 30.22 90.58 41.8 90.58 56.04C90.58 70.28 79 81.86 64.76 81.86Z", fill: color }),
|
|
267
|
+
index.h("path", { transform: "translate(3.17 56.2)", d: "M38.95 0H0V105.78H38.95V0Z", fill: color }),
|
|
268
|
+
index.h("path", { transform: "translate(1045.78 53.06)", d: "M67.9701 0C29.2301 0 0 24.09 0 56.03C0 87.97 29.2301 112.06 67.9701 112.06C106.71 112.06 135.92 87.97 135.92 56.03C135.92 24.09 106.71 0 67.9701 0ZM67.9701 81.84C53.7401 81.84 42.16 70.26 42.16 56.03C42.16 41.8 53.7401 30.2 67.9701 30.2C82.2001 30.2 93.78 41.79 93.78 56.03C93.78 70.27 82.2001 81.84 67.9701 81.84Z", fill: color }),
|
|
269
|
+
index.h("path", { transform: "translate(57.71 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.75 0 69.06 0C57.49 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color }),
|
|
270
|
+
index.h("path", { transform: "translate(700.77 21.66)", d: "M38.95 0H0V109.54C0 126.51 13.81 140.32 30.78 140.32H73.99V113.24H38.95V61.61H73.99V34.47H38.95V0Z", fill: color }),
|
|
271
|
+
index.h("path", { transform: "translate(550.92 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.09 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
272
|
+
index.h("path", { transform: "translate(809.57 83.28)", d: "M25.8199 51.64C40.0799 51.64 51.64 40.08 51.64 25.82C51.64 11.56 40.0799 0 25.8199 0C11.56 0 0 11.56 0 25.82C0 40.08 11.56 51.64 25.8199 51.64Z", fill: color }),
|
|
273
|
+
index.h("path", { transform: "translate(0.0 0.0)", d: "M22.68 45.36C35.2058 45.36 45.36 35.2058 45.36 22.68C45.36 10.1542 35.2058 0 22.68 0C10.1542 0 0 10.1542 0 22.68C0 35.2058 10.1542 45.36 22.68 45.36Z", fill: color }),
|
|
274
|
+
index.h("path", { transform: "translate(1197.28 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.7501 0 69.0601 0C57.4901 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color })));
|
|
293
275
|
}
|
|
294
276
|
|
|
295
277
|
const style$1 = {
|
|
@@ -2920,6 +2902,7 @@ function PortalFooterView(props) {
|
|
|
2920
2902
|
"font-size": "var(--sl-font-size-small)",
|
|
2921
2903
|
display: "flex",
|
|
2922
2904
|
alignItems: "center",
|
|
2905
|
+
columnGap: "var(--sl-spacing-xx-small)",
|
|
2923
2906
|
svg: {
|
|
2924
2907
|
marginTop: "2px",
|
|
2925
2908
|
shapeRendering: "geometricprecision",
|
|
@@ -29,7 +29,7 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-239
|
|
|
29
29
|
const useLeadFormState = require('./useLeadFormState-bf49984b.js');
|
|
30
30
|
const utilities = require('./utilities-fcdb9504.js');
|
|
31
31
|
const ErrorView = require('./ErrorView-17578c10.js');
|
|
32
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
32
|
+
const ShadowViewAddon = require('./ShadowViewAddon-84dd103e.js');
|
|
33
33
|
require('./sqm-portal-container-view-757f921b.js');
|
|
34
34
|
const data = require('./data-04ef5511.js');
|
|
35
35
|
const keys = require('./keys-5a2c9ed2.js');
|
|
@@ -8363,6 +8363,17 @@ function useUserNameDemo(props) {
|
|
|
8363
8363
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
8364
8364
|
}
|
|
8365
8365
|
|
|
8366
|
+
// Partner creation is only forced once a cash reward is owed; otherwise tax-and-cash step 1 lets them opt in
|
|
8367
|
+
function getVerificationStep(viewer) {
|
|
8368
|
+
var _a, _b, _c;
|
|
8369
|
+
if ((_a = viewer === null || viewer === void 0 ? void 0 : viewer.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)
|
|
8370
|
+
return "content";
|
|
8371
|
+
const emailVerified = (viewer === null || viewer === void 0 ? void 0 : viewer.emailVerified) || ((_b = viewer === null || viewer === void 0 ? void 0 : viewer.managedIdentity) === null || _b === void 0 ? void 0 : _b.emailVerified);
|
|
8372
|
+
if (!emailVerified)
|
|
8373
|
+
return "verify";
|
|
8374
|
+
return ((_c = viewer === null || viewer === void 0 ? void 0 : viewer.cashRewards) === null || _c === void 0 ? void 0 : _c.totalCount) > 0 ? "partner" : "content";
|
|
8375
|
+
}
|
|
8376
|
+
|
|
8366
8377
|
const USER_LOOKUP = index_module.dist.gql `
|
|
8367
8378
|
query checkUserVerification {
|
|
8368
8379
|
viewer {
|
|
@@ -8378,6 +8389,15 @@ const USER_LOOKUP = index_module.dist.gql `
|
|
|
8378
8389
|
impactConnection {
|
|
8379
8390
|
connected
|
|
8380
8391
|
}
|
|
8392
|
+
cashRewards: rewards(
|
|
8393
|
+
limit: 1
|
|
8394
|
+
filter: {
|
|
8395
|
+
rewardedCash_eq: true
|
|
8396
|
+
statuses_nin: [{ status: CANCELLED }, { status: EXPIRED }]
|
|
8397
|
+
}
|
|
8398
|
+
) {
|
|
8399
|
+
totalCount
|
|
8400
|
+
}
|
|
8381
8401
|
}
|
|
8382
8402
|
}
|
|
8383
8403
|
}
|
|
@@ -8402,24 +8422,19 @@ function useWidgetVerification() {
|
|
|
8402
8422
|
initialValue: false,
|
|
8403
8423
|
});
|
|
8404
8424
|
const [fetch] = index_module.Xe(USER_LOOKUP);
|
|
8425
|
+
const [viewer, setViewer] = domContextHooks_module.useState(undefined);
|
|
8405
8426
|
domContextHooks_module.useEffect(() => {
|
|
8406
8427
|
const checkUser = async () => {
|
|
8407
|
-
var _a, _b, _c, _d, _e;
|
|
8408
8428
|
try {
|
|
8409
8429
|
const res = await fetch({});
|
|
8410
8430
|
if (!res || res instanceof Error)
|
|
8411
8431
|
throw new Error();
|
|
8412
|
-
|
|
8413
|
-
const
|
|
8414
|
-
|
|
8415
|
-
if (isConnected) {
|
|
8416
|
-
// Partner already created, show widget content
|
|
8432
|
+
setViewer(res.viewer);
|
|
8433
|
+
const step = getVerificationStep(res.viewer);
|
|
8434
|
+
if (step === "content")
|
|
8417
8435
|
setContext(true);
|
|
8418
|
-
|
|
8419
|
-
else if (emailVerified) {
|
|
8420
|
-
// Email verified but no partner yet, show partner modal
|
|
8436
|
+
else if (step === "partner")
|
|
8421
8437
|
setShowPartnerModal(true);
|
|
8422
|
-
}
|
|
8423
8438
|
}
|
|
8424
8439
|
catch (e) {
|
|
8425
8440
|
console.error("Could not fetch user information:", e);
|
|
@@ -8431,7 +8446,11 @@ function useWidgetVerification() {
|
|
|
8431
8446
|
checkUser();
|
|
8432
8447
|
}, []);
|
|
8433
8448
|
const onVerification = () => {
|
|
8434
|
-
|
|
8449
|
+
const step = getVerificationStep({ ...viewer, emailVerified: true });
|
|
8450
|
+
if (step === "partner")
|
|
8451
|
+
setShowPartnerModal(true);
|
|
8452
|
+
else
|
|
8453
|
+
setContext(true);
|
|
8435
8454
|
};
|
|
8436
8455
|
const onPartnerModalComplete = () => {
|
|
8437
8456
|
setShowPartnerModal(false);
|
|
@@ -35,7 +35,7 @@ require('./utilities-fcdb9504.js');
|
|
|
35
35
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-b2c546bd.js');
|
|
36
36
|
require('./ErrorView-17578c10.js');
|
|
37
37
|
const sqmQrCodeView = require('./sqm-qr-code-view-0d43424e.js');
|
|
38
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
38
|
+
const ShadowViewAddon = require('./ShadowViewAddon-84dd103e.js');
|
|
39
39
|
const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
|
|
40
40
|
const sqmUserInfoFormView = require('./sqm-user-info-form-view-6f5f8eb8.js');
|
|
41
41
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-88de1b78.js');
|
|
@@ -1,33 +1,15 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
export function PoweredByImg({ color = "#
|
|
3
|
-
return (h("svg", { width: width, height: height, viewBox: "0 0
|
|
4
|
-
h("path", { d: "
|
|
5
|
-
h("path", {
|
|
6
|
-
h("path", { d: "
|
|
7
|
-
h("path", {
|
|
8
|
-
h("path", {
|
|
9
|
-
h("path", {
|
|
10
|
-
h("path", {
|
|
11
|
-
h("path", {
|
|
12
|
-
h("path", {
|
|
13
|
-
h("path", {
|
|
14
|
-
h("path", {
|
|
15
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
16
|
-
h("path", { d: "M135.882 89.2798H115.582V187.58H135.882V89.2798Z", fill: color }),
|
|
17
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z", fill: color }),
|
|
18
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z", fill: color }),
|
|
19
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z", fill: color }),
|
|
20
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z", fill: color }),
|
|
21
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
22
|
-
h("path", { d: "M34.6815 112.78C40.6815 112.78 46.5815 114.18 51.8815 116.68C57.2815 119.18 62.0815 122.78 65.9815 127.28C67.9815 122.68 69.0815 117.78 69.0815 112.88C69.0815 108.38 68.1815 103.88 66.4815 99.8799C64.6815 95.6799 62.1815 91.9799 58.9815 88.8799C55.7815 85.7799 51.9815 83.2799 47.7815 81.4799C43.5815 79.7799 39.0815 78.8799 34.5815 78.8799C30.0815 78.8799 25.5815 79.6799 21.3815 81.4799C17.1815 83.1799 13.3815 85.7799 10.1815 88.8799C6.98154 91.9799 4.48154 95.7799 2.68154 99.8799C0.881541 104.08 0.081543 108.38 0.081543 112.88C0.181543 117.88 1.18154 122.78 3.18154 127.28C7.08154 122.68 11.8815 119.18 17.1815 116.68C22.7815 113.98 28.7815 112.68 34.6815 112.78Z", fill: color }),
|
|
23
|
-
h("path", { d: "M69.1817 153.48C69.1817 146.68 67.1817 140.18 63.2817 134.48C59.4817 128.88 54.0817 124.48 47.7817 121.88C41.4817 119.28 34.4817 118.68 27.7817 119.88C21.0817 121.28 14.8817 124.48 10.0817 129.28C5.28166 134.08 1.88166 140.08 0.681661 146.78C-0.718339 153.48 0.0816607 160.18 2.68166 166.48C5.28166 172.78 9.68166 178.08 15.4817 181.78C21.0817 185.58 27.7817 187.48 34.6817 187.48C43.7817 187.38 52.5817 183.88 59.0817 177.38C65.6817 170.98 69.1817 162.58 69.1817 153.48Z", fill: color }),
|
|
24
|
-
h("path", { d: "M69.1817 34.9799C69.1817 28.1799 67.1817 21.6799 63.2817 15.9799C59.4817 10.3799 54.1817 5.9799 47.7817 3.3799C41.4817 0.779901 34.4817 0.1799 27.7817 1.3799C21.0817 2.7799 14.8817 5.97986 10.0817 10.7799C5.28166 15.5799 1.88166 21.5799 0.681661 28.2799C-0.718339 34.9799 0.0816607 41.6799 2.68166 47.9799C5.28166 54.2799 9.68166 59.5799 15.4817 63.2799C21.0817 67.0799 27.7817 68.9799 34.6817 68.9799C43.8817 68.9799 52.6817 65.3799 59.1817 58.9799C65.5817 52.6799 69.1817 43.8799 69.1817 34.9799Z", fill: color }),
|
|
25
|
-
h("path", { d: "M962.664 203.95C953.044 203.95 945.244 201.285 939.264 195.955C933.284 190.495 930.294 183.41 930.294 174.7C930.294 165.08 933.739 157.605 940.629 152.275C947.649 146.945 957.464 144.28 970.074 144.28H993.864V138.43C993.864 129.72 991.589 123.09 987.039 118.54C982.619 113.86 976.184 111.52 967.734 111.52C962.014 111.52 956.749 112.885 951.939 115.615C947.129 118.345 943.229 122.18 940.239 127.12L933.999 120.295C937.639 114.575 942.384 110.22 948.234 107.23C954.214 104.11 960.974 102.55 968.514 102.55C979.694 102.55 988.404 105.605 994.644 111.715C1001.01 117.695 1004.2 126.015 1004.2 136.675V184.255C1004.2 188.805 1004.98 194.72 1006.54 202H997.569C996.399 199.14 995.554 194.07 995.034 186.79H994.644C990.874 192.25 986.259 196.475 980.799 199.465C975.339 202.455 969.294 203.95 962.664 203.95ZM962.664 195.175C968.124 195.175 973.259 194.07 978.069 191.86C982.879 189.52 986.714 186.465 989.574 182.695C992.434 178.795 993.864 174.7 993.864 170.41V152.665H969.489C960.389 152.665 953.239 154.615 948.039 158.515C942.969 162.415 940.434 167.81 940.434 174.7C940.434 180.68 942.514 185.62 946.674 189.52C950.834 193.29 956.164 195.175 962.664 195.175Z", fill: color }),
|
|
26
|
-
h("path", { d: "M1067.55 203.95C1055.07 203.95 1045.25 199.27 1038.1 189.91C1030.95 180.55 1027.38 167.745 1027.38 151.495C1027.38 136.415 1031.02 124.52 1038.3 115.81C1045.71 106.97 1055.72 102.55 1068.33 102.55C1074.7 102.55 1080.55 104.045 1085.88 107.035C1091.21 110.025 1095.5 114.25 1098.75 119.71H1099.14V57.3101H1109.67V178.21C1109.67 189.13 1109.86 197.06 1110.25 202H1100.89C1100.63 197.84 1100.5 192.12 1100.5 184.84H1100.11C1097.12 190.69 1092.7 195.37 1086.85 198.88C1081 202.26 1074.57 203.95 1067.55 203.95ZM1068.13 195.175C1077.23 195.175 1084.64 192.185 1090.36 186.205C1096.21 180.225 1099.14 172.49 1099.14 163V146.815C1099.14 135.895 1096.41 127.25 1090.95 120.88C1085.49 114.38 1078.08 111.13 1068.72 111.13C1059.1 111.13 1051.49 114.77 1045.9 122.05C1040.44 129.2 1037.71 139.145 1037.71 151.885C1037.71 165.275 1040.44 175.87 1045.9 183.67C1051.36 191.34 1058.77 195.175 1068.13 195.175Z", fill: color }),
|
|
27
|
-
h("path", { d: "M1208.57 104.5L1172.3 202H1161.96L1125.5 104.5H1136.61L1167.03 189.715L1197.45 104.5H1208.57Z", fill: color }),
|
|
28
|
-
h("path", { d: "M1261.51 203.95C1252.54 203.95 1244.61 201.87 1237.72 197.71C1230.96 193.55 1225.7 187.635 1221.93 179.965C1218.29 172.295 1216.47 163.39 1216.47 153.25C1216.47 143.11 1218.29 134.205 1221.93 126.535C1225.7 118.865 1230.96 112.95 1237.72 108.79C1244.61 104.63 1252.54 102.55 1261.51 102.55C1270.48 102.55 1278.35 104.63 1285.11 108.79C1292 112.95 1297.33 118.865 1301.1 126.535C1304.87 134.205 1306.75 143.11 1306.75 153.25C1306.75 163.39 1304.87 172.295 1301.1 179.965C1297.33 187.635 1292 193.55 1285.11 197.71C1278.35 201.87 1270.48 203.95 1261.51 203.95ZM1261.51 195.37C1268.4 195.37 1274.45 193.615 1279.65 190.105C1284.98 186.595 1289.07 181.655 1291.93 175.285C1294.79 168.915 1296.22 161.57 1296.22 153.25C1296.22 144.93 1294.79 137.585 1291.93 131.215C1289.07 124.845 1284.98 119.905 1279.65 116.395C1274.45 112.885 1268.4 111.13 1261.51 111.13C1254.75 111.13 1248.71 112.885 1243.38 116.395C1238.18 119.905 1234.15 124.845 1231.29 131.215C1228.43 137.585 1227 144.93 1227 153.25C1227 161.57 1228.43 168.915 1231.29 175.285C1234.15 181.655 1238.18 186.595 1243.38 190.105C1248.71 193.615 1254.75 195.37 1261.51 195.37Z", fill: color }),
|
|
29
|
-
h("path", { d: "M1366.03 203.95C1352.25 203.95 1341.52 199.53 1333.85 190.69C1326.31 181.72 1322.54 169.24 1322.54 153.25C1322.54 137.39 1326.38 124.975 1334.05 116.005C1341.72 107.035 1352.38 102.55 1366.03 102.55C1373.57 102.55 1380.26 104.11 1386.11 107.23C1391.96 110.22 1396.77 114.575 1400.54 120.295L1394.3 126.34C1391.31 121.66 1387.28 118.02 1382.21 115.42C1377.27 112.69 1371.88 111.325 1366.03 111.325C1355.76 111.325 1347.63 115.03 1341.65 122.44C1335.8 129.85 1332.88 140.12 1332.88 153.25C1332.88 166.38 1335.8 176.65 1341.65 184.06C1347.63 191.47 1355.76 195.175 1366.03 195.175C1371.88 195.175 1377.27 193.875 1382.21 191.275C1387.28 188.545 1391.31 184.84 1394.3 180.16L1400.54 186.205C1396.77 191.925 1391.96 196.345 1386.11 199.465C1380.26 202.455 1373.57 203.95 1366.03 203.95Z", fill: color }),
|
|
30
|
-
h("path", { d: "M1446.55 203.95C1436.93 203.95 1429.13 201.285 1423.15 195.955C1417.17 190.495 1414.18 183.41 1414.18 174.7C1414.18 165.08 1417.62 157.605 1424.51 152.275C1431.53 146.945 1441.35 144.28 1453.96 144.28H1477.75V138.43C1477.75 129.72 1475.47 123.09 1470.92 118.54C1466.5 113.86 1460.07 111.52 1451.62 111.52C1445.9 111.52 1440.63 112.885 1435.82 115.615C1431.01 118.345 1427.11 122.18 1424.12 127.12L1417.88 120.295C1421.52 114.575 1426.27 110.22 1432.12 107.23C1438.1 104.11 1444.86 102.55 1452.4 102.55C1463.58 102.55 1472.29 105.605 1478.53 111.715C1484.9 117.695 1488.08 126.015 1488.08 136.675V184.255C1488.08 188.805 1488.86 194.72 1490.42 202H1481.45C1480.28 199.14 1479.44 194.07 1478.92 186.79H1478.53C1474.76 192.25 1470.14 196.475 1464.68 199.465C1459.22 202.455 1453.18 203.95 1446.55 203.95ZM1446.55 195.175C1452.01 195.175 1457.14 194.07 1461.95 191.86C1466.76 189.52 1470.6 186.465 1473.46 182.695C1476.32 178.795 1477.75 174.7 1477.75 170.41V152.665H1453.37C1444.27 152.665 1437.12 154.615 1431.92 158.515C1426.85 162.415 1424.32 167.81 1424.32 174.7C1424.32 180.68 1426.4 185.62 1430.56 189.52C1434.72 193.29 1440.05 195.175 1446.55 195.175Z", fill: color }),
|
|
31
|
-
h("path", { d: "M1547.14 203.95C1539.08 203.95 1532.97 201.48 1528.81 196.54C1524.65 191.47 1522.57 184.19 1522.57 174.7V113.275H1505.02V104.5H1522.57V77.9801L1532.32 74.6651H1533.1V104.5H1560.59V113.275H1533.1V172.555C1533.1 180.355 1534.33 186.01 1536.8 189.52C1539.27 193.03 1543.17 194.785 1548.5 194.785C1553.83 194.785 1558.06 194.005 1561.18 192.445L1562.35 200.83C1558.19 202.91 1553.12 203.95 1547.14 203.95Z", fill: color }),
|
|
32
|
-
h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2
|
+
export function PoweredByImg({ color = "#161414", width = 120, height = 17, }) {
|
|
3
|
+
return (h("svg", { width: width, height: height, viewBox: "0 0 1377.29 200", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
+
h("path", { transform: "translate(895.93 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.1 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
5
|
+
h("path", { transform: "translate(402.03 53.06)", d: "M94.43 14.31L92.52 12.72C82.51 4.4 69.9 0 56.04 0C24.09 0 0 24.09 0 56.04C0 87.99 24.09 112.08 56.04 112.08C69.9 112.08 82.51 107.68 92.51 99.36L94.42 97.77V108.98H133.37V3.15H94.42V14.31H94.43ZM68.62 81.85C54.39 81.85 42.81 70.27 42.81 56.03C42.81 41.79 54.39 30.21 68.62 30.21C82.85 30.21 94.44 41.79 94.44 56.03C94.44 70.27 82.86 81.85 68.62 81.85Z", fill: color }),
|
|
6
|
+
h("path", { transform: "translate(253.15 53.04)", d: "M77.34 0.0100021C63.48 0.0100021 50.87 4.41 40.86 12.73L38.95 14.32V3.16H0V146.95H38.95V97.77L40.86 99.36C50.86 107.68 63.47 112.08 77.34 112.08C109.29 112.08 133.38 87.99 133.38 56.04C133.38 24.09 109.29 0 77.34 0V0.0100021ZM64.76 81.86C50.53 81.86 38.95 70.28 38.95 56.04C38.95 41.8 50.53 30.22 64.76 30.22C78.99 30.22 90.58 41.8 90.58 56.04C90.58 70.28 79 81.86 64.76 81.86Z", fill: color }),
|
|
7
|
+
h("path", { transform: "translate(3.17 56.2)", d: "M38.95 0H0V105.78H38.95V0Z", fill: color }),
|
|
8
|
+
h("path", { transform: "translate(1045.78 53.06)", d: "M67.9701 0C29.2301 0 0 24.09 0 56.03C0 87.97 29.2301 112.06 67.9701 112.06C106.71 112.06 135.92 87.97 135.92 56.03C135.92 24.09 106.71 0 67.9701 0ZM67.9701 81.84C53.7401 81.84 42.16 70.26 42.16 56.03C42.16 41.8 53.7401 30.2 67.9701 30.2C82.2001 30.2 93.78 41.79 93.78 56.03C93.78 70.27 82.2001 81.84 67.9701 81.84Z", fill: color }),
|
|
9
|
+
h("path", { transform: "translate(57.71 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.75 0 69.06 0C57.49 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color }),
|
|
10
|
+
h("path", { transform: "translate(700.77 21.66)", d: "M38.95 0H0V109.54C0 126.51 13.81 140.32 30.78 140.32H73.99V113.24H38.95V61.61H73.99V34.47H38.95V0Z", fill: color }),
|
|
11
|
+
h("path", { transform: "translate(550.92 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.09 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
12
|
+
h("path", { transform: "translate(809.57 83.28)", d: "M25.8199 51.64C40.0799 51.64 51.64 40.08 51.64 25.82C51.64 11.56 40.0799 0 25.8199 0C11.56 0 0 11.56 0 25.82C0 40.08 11.56 51.64 25.8199 51.64Z", fill: color }),
|
|
13
|
+
h("path", { transform: "translate(0.0 0.0)", d: "M22.68 45.36C35.2058 45.36 45.36 35.2058 45.36 22.68C45.36 10.1542 35.2058 0 22.68 0C10.1542 0 0 10.1542 0 22.68C0 35.2058 10.1542 45.36 22.68 45.36Z", fill: color }),
|
|
14
|
+
h("path", { transform: "translate(1197.28 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.7501 0 69.0601 0C57.4901 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color })));
|
|
33
15
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Partner creation is only forced once a cash reward is owed; otherwise tax-and-cash step 1 lets them opt in
|
|
2
|
+
export function getVerificationStep(viewer) {
|
|
3
|
+
var _a, _b, _c;
|
|
4
|
+
if ((_a = viewer === null || viewer === void 0 ? void 0 : viewer.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)
|
|
5
|
+
return "content";
|
|
6
|
+
const emailVerified = (viewer === null || viewer === void 0 ? void 0 : viewer.emailVerified) || ((_b = viewer === null || viewer === void 0 ? void 0 : viewer.managedIdentity) === null || _b === void 0 ? void 0 : _b.emailVerified);
|
|
7
|
+
if (!emailVerified)
|
|
8
|
+
return "verify";
|
|
9
|
+
return ((_c = viewer === null || viewer === void 0 ? void 0 : viewer.cashRewards) === null || _c === void 0 ? void 0 : _c.totalCount) > 0 ? "partner" : "content";
|
|
10
|
+
}
|
|
@@ -2,6 +2,7 @@ import { useLazyQuery, useParentState, useSetParent, } from "@saasquatch/compone
|
|
|
2
2
|
import { useState } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
4
|
import { gql } from "graphql-request";
|
|
5
|
+
import { getVerificationStep } from "./getVerificationStep";
|
|
5
6
|
import { PARTNER_CREATED_NAMESPACE, SHOW_CODE_NAMESPACE, SHOW_PARTNER_MODAL_NAMESPACE, VERIFICATION_EMAIL_NAMESPACE, VERIFICATION_PARENT_NAMESPACE, } from "./keys";
|
|
6
7
|
const USER_LOOKUP = gql `
|
|
7
8
|
query checkUserVerification {
|
|
@@ -18,6 +19,15 @@ const USER_LOOKUP = gql `
|
|
|
18
19
|
impactConnection {
|
|
19
20
|
connected
|
|
20
21
|
}
|
|
22
|
+
cashRewards: rewards(
|
|
23
|
+
limit: 1
|
|
24
|
+
filter: {
|
|
25
|
+
rewardedCash_eq: true
|
|
26
|
+
statuses_nin: [{ status: CANCELLED }, { status: EXPIRED }]
|
|
27
|
+
}
|
|
28
|
+
) {
|
|
29
|
+
totalCount
|
|
30
|
+
}
|
|
21
31
|
}
|
|
22
32
|
}
|
|
23
33
|
}
|
|
@@ -42,24 +52,19 @@ export function useWidgetVerification() {
|
|
|
42
52
|
initialValue: false,
|
|
43
53
|
});
|
|
44
54
|
const [fetch] = useLazyQuery(USER_LOOKUP);
|
|
55
|
+
const [viewer, setViewer] = useState(undefined);
|
|
45
56
|
useEffect(() => {
|
|
46
57
|
const checkUser = async () => {
|
|
47
|
-
var _a, _b, _c, _d, _e;
|
|
48
58
|
try {
|
|
49
59
|
const res = await fetch({});
|
|
50
60
|
if (!res || res instanceof Error)
|
|
51
61
|
throw new Error();
|
|
52
|
-
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
if (isConnected) {
|
|
56
|
-
// Partner already created, show widget content
|
|
62
|
+
setViewer(res.viewer);
|
|
63
|
+
const step = getVerificationStep(res.viewer);
|
|
64
|
+
if (step === "content")
|
|
57
65
|
setContext(true);
|
|
58
|
-
|
|
59
|
-
else if (emailVerified) {
|
|
60
|
-
// Email verified but no partner yet, show partner modal
|
|
66
|
+
else if (step === "partner")
|
|
61
67
|
setShowPartnerModal(true);
|
|
62
|
-
}
|
|
63
68
|
}
|
|
64
69
|
catch (e) {
|
|
65
70
|
console.error("Could not fetch user information:", e);
|
|
@@ -71,7 +76,11 @@ export function useWidgetVerification() {
|
|
|
71
76
|
checkUser();
|
|
72
77
|
}, []);
|
|
73
78
|
const onVerification = () => {
|
|
74
|
-
|
|
79
|
+
const step = getVerificationStep({ ...viewer, emailVerified: true });
|
|
80
|
+
if (step === "partner")
|
|
81
|
+
setShowPartnerModal(true);
|
|
82
|
+
else
|
|
83
|
+
setContext(true);
|
|
75
84
|
};
|
|
76
85
|
const onPartnerModalComplete = () => {
|
|
77
86
|
setShowPartnerModal(false);
|
|
@@ -257,37 +257,19 @@ function PortalChangePasswordView(props) {
|
|
|
257
257
|
h("style", { type: "text/css" }, styleString))));
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
function PoweredByImg({ color = "#
|
|
261
|
-
return (h("svg", { width: width, height: height, viewBox: "0 0
|
|
262
|
-
h("path", { d: "
|
|
263
|
-
h("path", {
|
|
264
|
-
h("path", { d: "
|
|
265
|
-
h("path", {
|
|
266
|
-
h("path", {
|
|
267
|
-
h("path", {
|
|
268
|
-
h("path", {
|
|
269
|
-
h("path", {
|
|
270
|
-
h("path", {
|
|
271
|
-
h("path", {
|
|
272
|
-
h("path", {
|
|
273
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
274
|
-
h("path", { d: "M135.882 89.2798H115.582V187.58H135.882V89.2798Z", fill: color }),
|
|
275
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z", fill: color }),
|
|
276
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z", fill: color }),
|
|
277
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z", fill: color }),
|
|
278
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z", fill: color }),
|
|
279
|
-
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
|
|
280
|
-
h("path", { d: "M34.6815 112.78C40.6815 112.78 46.5815 114.18 51.8815 116.68C57.2815 119.18 62.0815 122.78 65.9815 127.28C67.9815 122.68 69.0815 117.78 69.0815 112.88C69.0815 108.38 68.1815 103.88 66.4815 99.8799C64.6815 95.6799 62.1815 91.9799 58.9815 88.8799C55.7815 85.7799 51.9815 83.2799 47.7815 81.4799C43.5815 79.7799 39.0815 78.8799 34.5815 78.8799C30.0815 78.8799 25.5815 79.6799 21.3815 81.4799C17.1815 83.1799 13.3815 85.7799 10.1815 88.8799C6.98154 91.9799 4.48154 95.7799 2.68154 99.8799C0.881541 104.08 0.081543 108.38 0.081543 112.88C0.181543 117.88 1.18154 122.78 3.18154 127.28C7.08154 122.68 11.8815 119.18 17.1815 116.68C22.7815 113.98 28.7815 112.68 34.6815 112.78Z", fill: color }),
|
|
281
|
-
h("path", { d: "M69.1817 153.48C69.1817 146.68 67.1817 140.18 63.2817 134.48C59.4817 128.88 54.0817 124.48 47.7817 121.88C41.4817 119.28 34.4817 118.68 27.7817 119.88C21.0817 121.28 14.8817 124.48 10.0817 129.28C5.28166 134.08 1.88166 140.08 0.681661 146.78C-0.718339 153.48 0.0816607 160.18 2.68166 166.48C5.28166 172.78 9.68166 178.08 15.4817 181.78C21.0817 185.58 27.7817 187.48 34.6817 187.48C43.7817 187.38 52.5817 183.88 59.0817 177.38C65.6817 170.98 69.1817 162.58 69.1817 153.48Z", fill: color }),
|
|
282
|
-
h("path", { d: "M69.1817 34.9799C69.1817 28.1799 67.1817 21.6799 63.2817 15.9799C59.4817 10.3799 54.1817 5.9799 47.7817 3.3799C41.4817 0.779901 34.4817 0.1799 27.7817 1.3799C21.0817 2.7799 14.8817 5.97986 10.0817 10.7799C5.28166 15.5799 1.88166 21.5799 0.681661 28.2799C-0.718339 34.9799 0.0816607 41.6799 2.68166 47.9799C5.28166 54.2799 9.68166 59.5799 15.4817 63.2799C21.0817 67.0799 27.7817 68.9799 34.6817 68.9799C43.8817 68.9799 52.6817 65.3799 59.1817 58.9799C65.5817 52.6799 69.1817 43.8799 69.1817 34.9799Z", fill: color }),
|
|
283
|
-
h("path", { d: "M962.664 203.95C953.044 203.95 945.244 201.285 939.264 195.955C933.284 190.495 930.294 183.41 930.294 174.7C930.294 165.08 933.739 157.605 940.629 152.275C947.649 146.945 957.464 144.28 970.074 144.28H993.864V138.43C993.864 129.72 991.589 123.09 987.039 118.54C982.619 113.86 976.184 111.52 967.734 111.52C962.014 111.52 956.749 112.885 951.939 115.615C947.129 118.345 943.229 122.18 940.239 127.12L933.999 120.295C937.639 114.575 942.384 110.22 948.234 107.23C954.214 104.11 960.974 102.55 968.514 102.55C979.694 102.55 988.404 105.605 994.644 111.715C1001.01 117.695 1004.2 126.015 1004.2 136.675V184.255C1004.2 188.805 1004.98 194.72 1006.54 202H997.569C996.399 199.14 995.554 194.07 995.034 186.79H994.644C990.874 192.25 986.259 196.475 980.799 199.465C975.339 202.455 969.294 203.95 962.664 203.95ZM962.664 195.175C968.124 195.175 973.259 194.07 978.069 191.86C982.879 189.52 986.714 186.465 989.574 182.695C992.434 178.795 993.864 174.7 993.864 170.41V152.665H969.489C960.389 152.665 953.239 154.615 948.039 158.515C942.969 162.415 940.434 167.81 940.434 174.7C940.434 180.68 942.514 185.62 946.674 189.52C950.834 193.29 956.164 195.175 962.664 195.175Z", fill: color }),
|
|
284
|
-
h("path", { d: "M1067.55 203.95C1055.07 203.95 1045.25 199.27 1038.1 189.91C1030.95 180.55 1027.38 167.745 1027.38 151.495C1027.38 136.415 1031.02 124.52 1038.3 115.81C1045.71 106.97 1055.72 102.55 1068.33 102.55C1074.7 102.55 1080.55 104.045 1085.88 107.035C1091.21 110.025 1095.5 114.25 1098.75 119.71H1099.14V57.3101H1109.67V178.21C1109.67 189.13 1109.86 197.06 1110.25 202H1100.89C1100.63 197.84 1100.5 192.12 1100.5 184.84H1100.11C1097.12 190.69 1092.7 195.37 1086.85 198.88C1081 202.26 1074.57 203.95 1067.55 203.95ZM1068.13 195.175C1077.23 195.175 1084.64 192.185 1090.36 186.205C1096.21 180.225 1099.14 172.49 1099.14 163V146.815C1099.14 135.895 1096.41 127.25 1090.95 120.88C1085.49 114.38 1078.08 111.13 1068.72 111.13C1059.1 111.13 1051.49 114.77 1045.9 122.05C1040.44 129.2 1037.71 139.145 1037.71 151.885C1037.71 165.275 1040.44 175.87 1045.9 183.67C1051.36 191.34 1058.77 195.175 1068.13 195.175Z", fill: color }),
|
|
285
|
-
h("path", { d: "M1208.57 104.5L1172.3 202H1161.96L1125.5 104.5H1136.61L1167.03 189.715L1197.45 104.5H1208.57Z", fill: color }),
|
|
286
|
-
h("path", { d: "M1261.51 203.95C1252.54 203.95 1244.61 201.87 1237.72 197.71C1230.96 193.55 1225.7 187.635 1221.93 179.965C1218.29 172.295 1216.47 163.39 1216.47 153.25C1216.47 143.11 1218.29 134.205 1221.93 126.535C1225.7 118.865 1230.96 112.95 1237.72 108.79C1244.61 104.63 1252.54 102.55 1261.51 102.55C1270.48 102.55 1278.35 104.63 1285.11 108.79C1292 112.95 1297.33 118.865 1301.1 126.535C1304.87 134.205 1306.75 143.11 1306.75 153.25C1306.75 163.39 1304.87 172.295 1301.1 179.965C1297.33 187.635 1292 193.55 1285.11 197.71C1278.35 201.87 1270.48 203.95 1261.51 203.95ZM1261.51 195.37C1268.4 195.37 1274.45 193.615 1279.65 190.105C1284.98 186.595 1289.07 181.655 1291.93 175.285C1294.79 168.915 1296.22 161.57 1296.22 153.25C1296.22 144.93 1294.79 137.585 1291.93 131.215C1289.07 124.845 1284.98 119.905 1279.65 116.395C1274.45 112.885 1268.4 111.13 1261.51 111.13C1254.75 111.13 1248.71 112.885 1243.38 116.395C1238.18 119.905 1234.15 124.845 1231.29 131.215C1228.43 137.585 1227 144.93 1227 153.25C1227 161.57 1228.43 168.915 1231.29 175.285C1234.15 181.655 1238.18 186.595 1243.38 190.105C1248.71 193.615 1254.75 195.37 1261.51 195.37Z", fill: color }),
|
|
287
|
-
h("path", { d: "M1366.03 203.95C1352.25 203.95 1341.52 199.53 1333.85 190.69C1326.31 181.72 1322.54 169.24 1322.54 153.25C1322.54 137.39 1326.38 124.975 1334.05 116.005C1341.72 107.035 1352.38 102.55 1366.03 102.55C1373.57 102.55 1380.26 104.11 1386.11 107.23C1391.96 110.22 1396.77 114.575 1400.54 120.295L1394.3 126.34C1391.31 121.66 1387.28 118.02 1382.21 115.42C1377.27 112.69 1371.88 111.325 1366.03 111.325C1355.76 111.325 1347.63 115.03 1341.65 122.44C1335.8 129.85 1332.88 140.12 1332.88 153.25C1332.88 166.38 1335.8 176.65 1341.65 184.06C1347.63 191.47 1355.76 195.175 1366.03 195.175C1371.88 195.175 1377.27 193.875 1382.21 191.275C1387.28 188.545 1391.31 184.84 1394.3 180.16L1400.54 186.205C1396.77 191.925 1391.96 196.345 1386.11 199.465C1380.26 202.455 1373.57 203.95 1366.03 203.95Z", fill: color }),
|
|
288
|
-
h("path", { d: "M1446.55 203.95C1436.93 203.95 1429.13 201.285 1423.15 195.955C1417.17 190.495 1414.18 183.41 1414.18 174.7C1414.18 165.08 1417.62 157.605 1424.51 152.275C1431.53 146.945 1441.35 144.28 1453.96 144.28H1477.75V138.43C1477.75 129.72 1475.47 123.09 1470.92 118.54C1466.5 113.86 1460.07 111.52 1451.62 111.52C1445.9 111.52 1440.63 112.885 1435.82 115.615C1431.01 118.345 1427.11 122.18 1424.12 127.12L1417.88 120.295C1421.52 114.575 1426.27 110.22 1432.12 107.23C1438.1 104.11 1444.86 102.55 1452.4 102.55C1463.58 102.55 1472.29 105.605 1478.53 111.715C1484.9 117.695 1488.08 126.015 1488.08 136.675V184.255C1488.08 188.805 1488.86 194.72 1490.42 202H1481.45C1480.28 199.14 1479.44 194.07 1478.92 186.79H1478.53C1474.76 192.25 1470.14 196.475 1464.68 199.465C1459.22 202.455 1453.18 203.95 1446.55 203.95ZM1446.55 195.175C1452.01 195.175 1457.14 194.07 1461.95 191.86C1466.76 189.52 1470.6 186.465 1473.46 182.695C1476.32 178.795 1477.75 174.7 1477.75 170.41V152.665H1453.37C1444.27 152.665 1437.12 154.615 1431.92 158.515C1426.85 162.415 1424.32 167.81 1424.32 174.7C1424.32 180.68 1426.4 185.62 1430.56 189.52C1434.72 193.29 1440.05 195.175 1446.55 195.175Z", fill: color }),
|
|
289
|
-
h("path", { d: "M1547.14 203.95C1539.08 203.95 1532.97 201.48 1528.81 196.54C1524.65 191.47 1522.57 184.19 1522.57 174.7V113.275H1505.02V104.5H1522.57V77.9801L1532.32 74.6651H1533.1V104.5H1560.59V113.275H1533.1V172.555C1533.1 180.355 1534.33 186.01 1536.8 189.52C1539.27 193.03 1543.17 194.785 1548.5 194.785C1553.83 194.785 1558.06 194.005 1561.18 192.445L1562.35 200.83C1558.19 202.91 1553.12 203.95 1547.14 203.95Z", fill: color }),
|
|
290
|
-
h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
260
|
+
function PoweredByImg({ color = "#161414", width = 120, height = 17, }) {
|
|
261
|
+
return (h("svg", { width: width, height: height, viewBox: "0 0 1377.29 200", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
262
|
+
h("path", { transform: "translate(895.93 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.1 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
263
|
+
h("path", { transform: "translate(402.03 53.06)", d: "M94.43 14.31L92.52 12.72C82.51 4.4 69.9 0 56.04 0C24.09 0 0 24.09 0 56.04C0 87.99 24.09 112.08 56.04 112.08C69.9 112.08 82.51 107.68 92.51 99.36L94.42 97.77V108.98H133.37V3.15H94.42V14.31H94.43ZM68.62 81.85C54.39 81.85 42.81 70.27 42.81 56.03C42.81 41.79 54.39 30.21 68.62 30.21C82.85 30.21 94.44 41.79 94.44 56.03C94.44 70.27 82.86 81.85 68.62 81.85Z", fill: color }),
|
|
264
|
+
h("path", { transform: "translate(253.15 53.04)", d: "M77.34 0.0100021C63.48 0.0100021 50.87 4.41 40.86 12.73L38.95 14.32V3.16H0V146.95H38.95V97.77L40.86 99.36C50.86 107.68 63.47 112.08 77.34 112.08C109.29 112.08 133.38 87.99 133.38 56.04C133.38 24.09 109.29 0 77.34 0V0.0100021ZM64.76 81.86C50.53 81.86 38.95 70.28 38.95 56.04C38.95 41.8 50.53 30.22 64.76 30.22C78.99 30.22 90.58 41.8 90.58 56.04C90.58 70.28 79 81.86 64.76 81.86Z", fill: color }),
|
|
265
|
+
h("path", { transform: "translate(3.17 56.2)", d: "M38.95 0H0V105.78H38.95V0Z", fill: color }),
|
|
266
|
+
h("path", { transform: "translate(1045.78 53.06)", d: "M67.9701 0C29.2301 0 0 24.09 0 56.03C0 87.97 29.2301 112.06 67.9701 112.06C106.71 112.06 135.92 87.97 135.92 56.03C135.92 24.09 106.71 0 67.9701 0ZM67.9701 81.84C53.7401 81.84 42.16 70.26 42.16 56.03C42.16 41.8 53.7401 30.2 67.9701 30.2C82.2001 30.2 93.78 41.79 93.78 56.03C93.78 70.27 82.2001 81.84 67.9701 81.84Z", fill: color }),
|
|
267
|
+
h("path", { transform: "translate(57.71 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.75 0 69.06 0C57.49 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color }),
|
|
268
|
+
h("path", { transform: "translate(700.77 21.66)", d: "M38.95 0H0V109.54C0 126.51 13.81 140.32 30.78 140.32H73.99V113.24H38.95V61.61H73.99V34.47H38.95V0Z", fill: color }),
|
|
269
|
+
h("path", { transform: "translate(550.92 52.92)", d: "M67.62 30.22C78.09 30.22 87.45 36.47 91.47 46.15L91.93 47.27H134.45L133.91 45.04C127.65 18.94 99.77 0 67.61 0C30.33 0 0 25.14 0 56.04C0 86.94 30.33 112.08 67.61 112.08C99.77 112.08 127.65 93.14 133.91 67.04L134.45 64.81H91.93L91.47 65.93C87.46 75.61 78.09 81.86 67.62 81.86C53.39 81.86 41.8 70.28 41.8 56.04C41.8 41.8 53.38 30.22 67.62 30.22Z", fill: color }),
|
|
270
|
+
h("path", { transform: "translate(809.57 83.28)", d: "M25.8199 51.64C40.0799 51.64 51.64 40.08 51.64 25.82C51.64 11.56 40.0799 0 25.8199 0C11.56 0 0 11.56 0 25.82C0 40.08 11.56 51.64 25.8199 51.64Z", fill: color }),
|
|
271
|
+
h("path", { transform: "translate(0.0 0.0)", d: "M22.68 45.36C35.2058 45.36 45.36 35.2058 45.36 22.68C45.36 10.1542 35.2058 0 22.68 0C10.1542 0 0 10.1542 0 22.68C0 35.2058 10.1542 45.36 22.68 45.36Z", fill: color }),
|
|
272
|
+
h("path", { transform: "translate(1197.28 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.7501 0 69.0601 0C57.4901 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color })));
|
|
291
273
|
}
|
|
292
274
|
|
|
293
275
|
const style$1 = {
|
|
@@ -2918,6 +2900,7 @@ function PortalFooterView(props) {
|
|
|
2918
2900
|
"font-size": "var(--sl-font-size-small)",
|
|
2919
2901
|
display: "flex",
|
|
2920
2902
|
alignItems: "center",
|
|
2903
|
+
columnGap: "var(--sl-spacing-xx-small)",
|
|
2921
2904
|
svg: {
|
|
2922
2905
|
marginTop: "2px",
|
|
2923
2906
|
shapeRendering: "geometricprecision",
|