contentoh-components-library 21.6.14 → 21.6.16
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/.nvmrc +1 -0
- package/dist/assets/images/verticalSideMenuMainPage/content-hub.svg +6 -0
- package/dist/assets/images/verticalSideMenuMainPage/content-oh.svg +7 -0
- package/dist/assets/images/verticalSideMenuMainPage/contentoh-animado.gif +0 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +29 -12
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +21 -2
- package/dist/components/pages/RetailerProductEdition/index.js +134 -40
- package/dist/components/pages/RetailerProductEdition/utils.js +4 -0
- package/package.json +1 -1
- package/src/assets/images/verticalSideMenuMainPage/content-hub.svg +6 -0
- package/src/assets/images/verticalSideMenuMainPage/content-oh.svg +7 -0
- package/src/assets/images/verticalSideMenuMainPage/contentoh-animado.gif +0 -0
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +34 -9
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +61 -1
- package/src/components/pages/RetailerProductEdition/index.js +80 -8
- package/src/components/pages/RetailerProductEdition/utils.js +15 -0
- package/dist/ai/prompts/attribute.prompt.js +0 -28
- package/dist/ai/prompts/description.prompt.js +0 -33
- package/dist/ai/schemas/attribute.schema.js +0 -35
- package/dist/ai/schemas/description.schema.js +0 -27
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
16
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2725" height="359" viewBox="0 0 2725 359">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M 1673.75 332.49 C1659.41,318.33 1649.00,307.28 1649.00,306.22 C1649.00,302.68 1651.06,302.00 1661.76,302.00 L 1672.11 302.00 L 1671.41 278.71 C1670.58,251.07 1670.58,251.05 1678.29,250.90 C1682.67,250.82 1685.40,250.87 1685.94,249.80 C1686.79,248.12 1682.16,243.66 1669.93,231.50 L 1651.84 213.50 L 1634.35 231.50 L 1616.87 249.50 L 1624.47 250.00 C1629.72,250.35 1632.37,250.96 1633.02,252.00 C1633.54,252.82 1633.98,259.68 1633.98,267.23 C1634.00,280.43 1633.91,281.00 1631.75,282.23 C1629.97,283.23 1618.26,283.39 1576.00,282.97 C1523.30,282.45 1522.40,282.41 1515.50,280.11 C1501.62,275.47 1492.73,270.10 1482.64,260.23 C1460.42,238.50 1453.26,206.36 1464.04,176.74 C1472.58,153.29 1491.78,135.43 1516.00,128.41 L 1523.50 126.23 L 1524.19 115.92 C1525.45,97.19 1530.04,82.11 1538.77,68.04 C1552.10,46.57 1571.62,31.79 1596.50,24.34 C1604.73,21.88 1606.96,21.64 1622.50,21.63 C1636.91,21.62 1640.69,21.94 1647.33,23.79 C1656.66,26.37 1664.99,29.96 1674.47,35.46 C1684.03,41.00 1701.09,58.11 1706.96,68.04 L 1711.41 75.58 L 1719.46 73.16 C1726.02,71.19 1729.81,70.73 1740.00,70.68 C1755.17,70.59 1762.83,72.27 1775.50,78.47 C1792.27,86.68 1803.58,98.19 1812.12,115.75 C1817.11,125.99 1817.11,126.00 1820.81,126.01 C1833.13,126.06 1851.62,133.99 1864.79,144.86 C1875.04,153.32 1885.71,170.56 1889.63,185.00 C1892.35,195.01 1892.12,215.10 1889.17,225.44 C1881.48,252.39 1861.80,272.25 1834.50,280.63 L 1825.50 283.39 L 1776.25 283.77 L 1727.00 284.15 L 1727.00 302.00 L 1736.92 302.00 C1748.71,302.00 1750.00,302.38 1750.00,305.86 C1750.00,307.99 1745.22,313.29 1725.74,332.76 C1712.40,346.09 1700.81,356.98 1699.99,356.96 C1699.17,356.94 1687.36,345.93 1673.75,332.49 ZM 1734.78 311.10 C1734.93,310.69 1731.86,310.38 1727.95,310.42 C1718.16,310.53 1718.00,310.24 1718.00,292.92 C1718.00,281.34 1718.27,278.90 1719.75,277.13 C1721.48,275.07 1722.15,275.04 1774.50,274.74 C1826.98,274.45 1827.56,274.42 1834.00,272.13 C1853.83,265.07 1867.18,253.44 1876.03,235.50 C1881.45,224.53 1883.11,217.46 1883.19,205.00 C1883.37,178.85 1870.10,156.01 1847.00,142.72 C1839.94,138.66 1827.69,134.99 1818.92,134.31 C1812.37,133.81 1810.64,133.32 1809.45,131.63 C1808.65,130.49 1808.00,128.84 1808.00,127.97 C1808.00,127.11 1806.24,122.82 1804.09,118.45 C1791.92,93.73 1768.36,79.00 1741.00,79.00 C1730.82,79.00 1717.75,81.62 1713.26,84.57 C1709.04,87.33 1707.02,86.09 1702.88,78.17 C1697.67,68.19 1693.37,62.56 1684.67,54.29 C1648.78,20.20 1593.47,21.13 1558.48,56.42 C1546.66,68.34 1537.97,84.49 1534.49,101.03 C1533.65,105.02 1533.00,113.30 1533.00,119.94 C1533.00,128.19 1532.62,132.06 1531.75,132.76 C1531.06,133.32 1528.47,134.10 1526.00,134.51 C1507.25,137.57 1487.13,151.46 1477.18,168.24 C1470.30,179.82 1466.27,197.06 1467.53,209.50 C1470.57,239.52 1489.22,262.43 1518.50,272.12 C1525.38,274.39 1526.38,274.44 1575.25,274.78 L 1625.00 275.12 L 1625.00 259.00 L 1615.43 259.00 C1605.05,259.00 1602.00,258.06 1602.00,254.86 C1602.00,253.52 1610.29,244.24 1625.65,228.40 C1644.01,209.45 1649.85,204.00 1651.78,204.00 C1655.06,204.00 1703.00,251.25 1703.00,254.49 C1703.00,258.34 1701.14,259.00 1690.26,259.00 L 1679.92 259.00 L 1680.61 282.29 C1681.12,299.47 1680.99,306.15 1680.11,307.79 C1679.05,309.77 1678.15,310.00 1671.46,310.00 C1667.36,310.00 1664.00,310.26 1664.00,310.57 C1664.00,310.89 1672.17,319.11 1682.15,328.84 L 1700.29 346.54 L 1717.40 329.20 C1726.80,319.66 1734.62,311.52 1734.78,311.10 ZM 339.00 296.95 C292.47,291.21 252.14,254.06 241.99,207.60 C236.89,184.23 240.03,155.54 250.01,134.24 C275.90,78.99 337.95,53.44 393.88,75.01 C429.59,88.78 457.15,122.17 464.62,160.69 C466.87,172.29 466.87,194.63 464.61,205.14 C454.81,250.72 420.96,285.46 376.98,295.06 C366.50,297.34 349.19,298.21 339.00,296.95 ZM 376.02 274.11 C402.55,266.98 425.82,247.32 437.05,222.54 C447.58,199.32 448.15,169.91 438.53,146.25 C433.64,134.24 427.89,125.89 417.00,115.00 C397.06,95.05 376.16,86.94 348.25,88.30 C334.35,88.98 327.75,90.62 315.13,96.57 C287.48,109.60 268.10,134.60 262.46,164.52 C260.00,177.53 260.87,197.31 264.41,209.30 C268.80,224.12 275.78,236.41 286.01,247.35 C300.00,262.31 317.12,271.73 337.34,275.59 C347.19,277.47 366.24,276.74 376.02,274.11 ZM 943.06 296.95 C921.05,294.20 899.55,283.93 882.76,268.16 C868.11,254.41 855.53,233.16 850.39,213.50 C846.81,199.79 845.94,176.02 848.47,160.90 C858.43,101.32 906.08,61.96 960.92,67.99 C1014.17,73.85 1047.59,113.73 1051.55,176.14 C1052.18,186.11 1052.09,186.91 1050.11,188.89 L 1048.00 191.00 L 867.77 191.00 L 868.48 196.67 C870.22,210.58 875.93,226.02 883.66,237.68 C896.52,257.10 918.73,271.96 940.88,275.98 C949.48,277.54 968.08,277.34 977.01,275.59 C990.44,272.97 1003.57,267.41 1014.03,259.92 C1022.88,253.57 1026.13,251.07 1028.51,251.73 C1030.10,252.16 1031.31,254.02 1033.56,257.08 C1038.88,264.34 1038.31,266.03 1027.86,273.95 C1013.84,284.57 996.61,292.29 979.84,295.47 C969.53,297.43 952.40,298.11 943.06,296.95 ZM 122.00 296.38 C73.01,290.13 34.96,263.01 14.50,219.75 C0.43,190.01 -1.84,151.28 8.60,119.27 C14.93,99.89 25.27,82.83 39.77,67.85 C59.01,47.97 83.61,34.57 110.05,29.55 C135.95,24.64 164.40,27.54 188.27,37.54 C202.15,43.36 221.25,55.44 222.53,59.21 C223.71,62.70 215.21,74.00 211.40,74.00 C210.11,74.00 206.00,71.94 202.27,69.43 C181.60,55.47 160.30,48.86 136.00,48.86 C106.20,48.86 81.13,58.71 59.87,78.76 C30.61,106.36 18.09,149.10 27.45,189.43 C37.46,232.61 74.34,267.00 118.18,274.02 C130.38,275.98 153.35,274.81 164.61,271.66 C176.60,268.31 188.85,262.56 199.96,255.08 C204.93,251.74 210.08,249.00 211.41,249.00 C214.71,249.00 223.16,259.41 222.77,262.99 C222.39,266.48 209.64,275.48 194.50,282.95 C175.14,292.49 161.53,295.87 140.00,296.44 C132.02,296.65 123.93,296.62 122.00,296.38 ZM 1095.57 291.43 C1094.16,290.02 1094.00,278.72 1094.00,182.00 C1094.00,85.28 1094.16,73.98 1095.57,72.57 C1097.63,70.51 1108.80,70.41 1111.56,72.42 C1113.33,73.71 1113.54,75.50 1114.00,92.42 L 1114.50 111.01 L 1119.25 104.59 C1124.13,97.99 1133.10,89.62 1141.00,84.30 C1166.58,67.07 1198.70,62.54 1227.50,72.11 C1239.97,76.26 1249.09,81.92 1258.58,91.41 C1272.85,105.68 1280.36,122.32 1282.97,145.50 C1283.55,150.70 1283.99,182.82 1283.99,221.53 C1284.00,280.58 1283.81,288.82 1282.44,290.78 C1281.08,292.73 1279.99,293.00 1273.63,293.00 C1270.27,293.00 1267.91,293.63 1266.26,292.83 C1261.85,290.69 1262.41,278.31 1261.94,216.33 C1261.32,134.53 1261.63,138.38 1254.49,123.50 C1247.19,108.30 1233.88,96.66 1217.79,91.41 C1205.91,87.53 1186.97,86.85 1175.00,89.88 C1147.92,96.73 1126.20,116.34 1117.84,141.50 L 1115.52 148.50 L 1115.22 218.96 C1114.95,282.18 1114.76,289.61 1113.31,291.21 C1111.11,293.64 1097.94,293.80 1095.57,291.43 ZM 510.57 291.43 C509.16,290.02 509.00,278.72 509.00,182.00 C509.00,85.28 509.16,73.98 510.57,72.57 C511.67,71.47 514.06,71.00 518.57,71.00 C528.90,71.00 528.99,71.19 529.05,93.25 C529.10,110.72 529.18,111.40 530.80,109.04 C546.94,85.70 576.90,68.96 605.50,67.31 C624.19,66.24 643.97,70.68 658.50,79.22 C672.05,87.18 685.19,102.67 691.44,118.04 C698.39,135.15 698.98,143.27 698.99,221.53 C699.00,280.58 698.81,288.82 697.44,290.78 C696.08,292.73 694.99,293.00 688.63,293.00 C685.27,293.00 682.91,293.63 681.26,292.83 C676.85,290.69 677.41,278.31 676.94,216.33 C676.32,134.53 676.63,138.38 669.49,123.50 C662.19,108.30 648.88,96.66 632.79,91.41 C620.91,87.53 601.97,86.85 590.00,89.88 C562.92,96.73 541.20,116.34 532.84,141.50 L 530.52 148.50 L 530.22 218.96 C529.95,282.18 529.76,289.61 528.31,291.21 C526.11,293.64 512.94,293.80 510.57,291.43 ZM 1029.59 165.25 C1026.02,129.95 1005.32,101.14 976.61,91.50 C928.69,75.42 880.89,105.56 870.06,158.68 C868.93,164.25 868.00,169.53 868.00,170.41 C868.00,171.85 875.58,172.00 949.14,172.00 L 1030.28 172.00 ZM 1345.66 291.17 C1344.14,289.50 1344.00,281.05 1344.00,190.17 L 1344.00 91.00 L 1329.70 91.00 C1319.91,91.00 1315.02,90.62 1314.20,89.80 C1313.47,89.07 1313.00,85.54 1313.00,80.84 C1313.00,74.18 1313.28,72.92 1314.93,72.04 C1316.00,71.47 1322.97,71.00 1330.43,71.00 L 1344.00 71.00 L 1344.00 50.07 C1344.00,32.38 1344.24,28.90 1345.57,27.57 C1346.44,26.71 1347.45,26.00 1347.82,25.99 C1348.19,25.99 1351.32,25.53 1354.77,24.97 C1358.76,24.32 1361.19,23.78 1362.68,24.72 C1365.17,26.31 1365.00,32.07 1365.00,48.54 L 1365.00 71.00 L 1390.57 71.00 C1406.28,71.00 1416.88,71.40 1418.07,72.04 C1419.72,72.92 1420.00,74.18 1420.00,80.84 C1420.00,85.54 1419.53,89.07 1418.80,89.80 C1417.93,90.67 1410.42,91.00 1391.30,91.00 L 1365.00 91.00 L 1365.00 190.43 C1365.00,279.48 1364.84,290.02 1363.43,291.43 C1361.03,293.83 1347.89,293.64 1345.66,291.17 ZM 760.65 291.17 C759.14,289.50 759.00,281.05 759.00,190.17 L 759.00 91.00 L 744.70 91.00 C734.91,91.00 730.02,90.62 729.20,89.80 C728.49,89.09 728.00,85.66 728.00,81.37 C728.00,71.03 728.05,71.00 745.07,71.00 L 759.00 71.00 L 759.00 50.07 C759.00,32.38 759.24,28.90 760.57,27.57 C761.44,26.71 762.45,26.00 762.82,25.99 C763.19,25.99 766.32,25.53 769.77,24.97 C773.76,24.32 776.19,23.78 777.68,24.72 C780.17,26.31 780.00,32.07 780.00,48.54 L 780.00 71.00 L 805.57 71.00 C821.28,71.00 831.88,71.40 833.07,72.04 C834.72,72.92 835.00,74.18 835.00,80.84 C835.00,85.54 834.53,89.07 833.80,89.80 C832.93,90.67 825.42,91.00 806.30,91.00 L 780.00 91.00 L 780.00 190.43 C780.00,279.48 779.84,290.02 778.43,291.43 C776.03,293.83 762.89,293.64 760.65,291.17 ZM 1631.20 128.87 C1619.86,123.26 1616.92,108.85 1625.19,99.44 C1629.43,94.61 1633.25,92.84 1639.55,92.79 C1647.17,92.72 1652.97,96.29 1656.40,103.18 C1657.83,106.05 1659.00,109.54 1658.99,110.95 C1658.96,125.60 1644.04,135.23 1631.20,128.87 ZM 1682.44 120.90 C1681.22,118.94 1687.35,111.79 1692.93,108.65 C1697.57,106.05 1699.63,105.54 1706.93,105.23 C1713.97,104.93 1716.12,105.21 1719.00,106.79 C1723.90,109.48 1725.77,113.00 1724.18,116.51 C1723.12,118.83 1722.49,119.14 1719.72,118.71 C1717.95,118.44 1714.70,117.51 1712.50,116.65 C1704.76,113.63 1694.22,115.07 1686.85,120.17 C1683.75,122.31 1683.35,122.37 1682.44,120.90 Z" fill="rgba(108,64,146,1)"/>
|
|
4
|
+
<path d="M 2312.74 300.42 C2276.29,293.83 2253.57,271.42 2243.90,232.50 C2242.98,228.81 2242.56,207.60 2242.28,151.41 C2241.93,80.75 2242.03,75.22 2243.61,73.91 C2245.86,72.04 2260.35,71.95 2262.20,73.80 C2263.23,74.83 2263.61,90.40 2264.03,149.80 C2264.56,223.98 2264.58,224.55 2266.85,231.97 C2275.24,259.43 2294.23,276.00 2321.98,280.06 C2331.55,281.46 2344.66,280.83 2353.50,278.54 C2362.14,276.31 2378.48,267.94 2385.72,262.03 C2396.55,253.20 2404.97,241.29 2410.28,227.28 C2412.44,221.57 2412.48,220.58 2412.99,148.30 C2413.39,90.92 2413.78,74.82 2414.77,73.83 C2415.59,73.01 2418.95,72.54 2424.10,72.53 C2430.94,72.50 2432.37,72.79 2433.58,74.44 C2434.79,76.09 2435.00,92.77 2435.00,185.19 C2435.00,292.67 2434.98,294.02 2433.00,296.00 C2430.46,298.54 2420.62,298.82 2417.22,296.44 C2415.17,295.00 2414.99,294.05 2414.87,283.69 C2414.80,277.54 2414.46,269.14 2414.12,265.03 L 2413.50 257.56 L 2411.58 260.53 C2399.55,279.09 2372.19,296.17 2347.61,300.45 C2336.87,302.33 2323.22,302.31 2312.74,300.42 ZM 2594.50 300.53 C2566.86,295.42 2543.18,278.46 2527.63,252.64 L 2524.29 247.10 L 2523.65 255.30 C2523.30,259.81 2523.00,270.48 2522.99,279.00 C2522.98,287.52 2522.55,295.17 2522.03,295.98 C2520.66,298.15 2507.19,298.67 2504.50,296.66 C2502.52,295.18 2502.50,293.85 2502.26,151.33 C2502.06,36.72 2502.27,6.99 2503.28,5.00 C2504.46,2.68 2505.14,2.48 2512.87,2.21 C2518.15,2.02 2521.71,2.34 2522.60,3.08 C2523.77,4.05 2524.01,13.97 2524.06,63.87 C2524.10,110.42 2524.38,123.08 2525.31,121.60 C2542.88,93.50 2561.00,78.95 2587.43,71.71 C2594.45,69.79 2597.91,69.51 2614.00,69.55 C2631.24,69.60 2633.11,69.79 2641.40,72.34 C2682.15,84.87 2710.13,116.23 2719.61,160.00 C2721.91,170.64 2722.20,197.92 2720.13,208.50 C2715.43,232.43 2705.37,252.28 2689.59,268.78 C2672.53,286.61 2652.61,297.36 2630.00,300.95 C2621.28,302.34 2603.12,302.12 2594.50,300.53 ZM 2633.00 278.97 C2669.29,270.35 2696.40,236.87 2699.92,196.35 C2701.77,175.04 2698.41,156.35 2689.51,138.50 C2679.93,119.31 2667.75,107.00 2649.50,98.06 C2636.15,91.53 2628.39,89.71 2613.50,89.61 C2599.01,89.52 2589.02,91.56 2577.38,96.97 C2556.82,106.53 2542.53,120.94 2532.58,142.15 C2526.74,154.60 2524.05,165.76 2523.31,180.56 C2521.21,222.98 2543.05,259.78 2579.28,274.84 C2589.64,279.15 2598.81,280.83 2612.50,280.91 C2621.28,280.97 2626.78,280.44 2633.00,278.97 ZM 1962.44 296.58 C1960.54,295.19 1960.50,292.56 1960.26,166.33 C1960.07,63.89 1960.28,36.99 1961.29,35.00 C1962.47,32.66 1963.12,32.48 1971.17,32.21 C1978.02,31.98 1980.11,32.25 1981.39,33.53 C1982.83,34.98 1983.00,41.21 1983.00,93.57 L 1983.00 152.00 L 2068.50 152.00 L 2154.00 152.00 L 2154.00 94.22 C2154.00,43.55 2154.19,36.17 2155.56,34.22 C2156.95,32.23 2157.97,32.00 2165.49,32.00 C2171.76,32.00 2174.25,32.39 2175.43,33.57 C2176.84,34.98 2177.00,48.24 2177.00,164.57 C2177.00,314.36 2178.39,298.00 2165.69,298.00 C2153.34,298.00 2154.54,304.73 2154.23,234.08 L 2153.95 173.00 L 2068.48 173.00 L 1983.00 173.00 L 1983.00 233.50 C1983.00,304.20 1984.09,298.00 1971.69,298.00 C1966.96,298.00 1963.70,297.50 1962.44,296.58 ZM 1657.00 184.45 C1653.43,183.68 1646.31,180.99 1641.20,178.46 C1633.92,174.86 1630.29,172.26 1624.54,166.50 C1616.08,158.05 1614.90,155.66 1617.75,152.80 C1619.70,150.86 1619.77,150.86 1628.11,153.80 C1643.06,159.07 1651.12,160.45 1667.00,160.44 C1683.76,160.43 1692.19,158.96 1710.75,152.82 C1723.74,148.52 1726.00,148.59 1726.00,153.28 C1726.00,158.79 1712.18,173.93 1702.28,179.27 C1690.70,185.52 1672.00,187.66 1657.00,184.45 Z" fill="rgba(205,46,138,1)"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2508" height="418" viewBox="0 0 2508 418">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M 1543.50 416.88 C1538.13,415.64 1529.00,410.97 1529.00,409.46 C1529.00,408.79 1529.61,407.74 1530.35,407.13 C1531.37,406.27 1533.18,406.75 1537.94,409.13 C1549.22,414.77 1562.90,413.89 1569.40,407.11 C1572.67,403.69 1575.00,396.47 1575.00,389.71 L 1575.00 384.75 L 1570.44 388.95 C1564.58,394.35 1559.96,396.24 1552.50,396.29 C1536.59,396.39 1524.99,384.20 1526.23,368.70 C1526.81,361.51 1528.62,357.45 1533.36,352.70 C1538.04,348.02 1543.48,345.68 1550.79,345.19 C1558.70,344.65 1564.76,346.81 1570.69,352.28 L 1575.00 356.25 L 1575.00 351.13 C1575.00,346.32 1575.16,346.00 1577.50,346.00 L 1580.00 346.00 L 1580.00 371.82 C1580.00,401.81 1579.49,404.45 1572.52,410.87 C1565.68,417.18 1554.67,419.45 1543.50,416.88 ZM 1964.00 416.63 C1958.67,415.08 1951.42,411.48 1950.45,409.92 C1950.07,409.31 1950.46,408.11 1951.31,407.26 C1952.70,405.87 1953.20,405.92 1956.41,407.81 C1961.17,410.63 1969.44,413.00 1974.43,412.99 C1987.97,412.98 1995.93,404.87 1995.98,391.04 L 1996.00 384.58 L 1991.75 388.74 C1986.25,394.13 1981.05,396.24 1973.27,396.25 C1961.39,396.25 1951.57,389.09 1948.35,378.08 C1940.79,352.27 1972.78,333.82 1992.25,352.76 L 1996.00 356.41 L 1996.00 351.20 C1996.00,346.30 1996.14,346.00 1998.54,346.00 L 2001.09 346.00 L 2000.79 373.83 L 2000.50 401.66 L 1997.50 406.48 C1993.06,413.59 1986.05,417.26 1976.11,417.64 C1971.85,417.81 1966.52,417.36 1964.00,416.63 ZM 1899.91 400.45 C1880.51,394.47 1874.90,365.83 1890.45,352.18 C1896.13,347.19 1899.90,345.70 1908.00,345.23 C1914.98,344.83 1915.94,345.03 1921.91,348.15 C1939.17,357.17 1942.42,379.71 1928.47,393.66 C1920.71,401.42 1910.75,403.79 1899.91,400.45 ZM 2223.00 400.84 C2210.06,397.31 2201.11,382.01 2203.89,368.18 C2207.72,349.11 2226.75,339.54 2243.85,348.09 C2253.56,352.93 2258.94,361.70 2258.98,372.71 C2259.05,392.42 2241.74,405.95 2223.00,400.84 ZM 1334.56 400.57 C1325.67,397.27 1321.64,391.62 1322.26,383.32 C1322.80,376.13 1326.27,371.80 1333.74,368.97 C1338.72,367.09 1340.85,366.87 1349.50,367.32 C1355.00,367.61 1360.58,368.18 1361.91,368.58 C1364.28,369.30 1364.31,369.24 1363.65,364.41 C1362.82,358.26 1360.60,355.14 1354.94,352.17 C1351.18,350.20 1349.50,349.93 1344.00,350.37 C1340.43,350.66 1335.58,351.67 1333.24,352.61 C1328.59,354.47 1328.35,354.42 1327.85,351.55 C1327.28,348.39 1335.62,345.66 1346.00,345.61 C1356.31,345.57 1361.54,347.84 1365.75,354.19 L 1368.50 358.35 L 1369.14 401.00 L 1366.57 401.00 C1364.24,401.00 1364.00,400.63 1364.00,397.00 C1364.00,394.80 1363.76,393.00 1363.46,393.00 C1363.16,393.00 1361.70,394.12 1360.22,395.50 C1354.07,401.20 1342.43,403.50 1334.56,400.57 ZM 1712.48 400.61 C1706.39,398.70 1703.31,396.27 1701.05,391.60 C1698.65,386.64 1698.47,383.20 1700.39,378.61 C1703.94,370.12 1712.84,366.40 1727.44,367.31 C1732.42,367.62 1737.51,368.18 1738.75,368.55 C1740.82,369.18 1741.00,368.92 1741.00,365.26 C1741.00,360.90 1738.17,355.92 1733.90,352.76 C1729.87,349.77 1720.85,349.40 1713.00,351.90 C1707.02,353.80 1706.40,353.84 1705.28,352.34 C1703.62,350.11 1704.24,349.45 1709.75,347.55 C1724.79,342.36 1738.60,345.78 1743.75,355.97 C1745.86,360.15 1746.00,361.66 1746.00,380.78 L 1746.00 401.14 L 1743.75 400.82 C1741.94,400.56 1741.44,399.76 1741.19,396.75 L 1740.88 393.00 L 1737.08 396.06 C1730.36,401.46 1720.82,403.22 1712.48,400.61 ZM 1811.00 400.88 C1806.40,399.50 1801.37,395.61 1799.50,392.00 C1798.67,390.40 1798.00,386.89 1798.00,384.20 C1798.00,378.02 1800.92,373.43 1807.04,370.00 C1811.01,367.78 1812.66,367.50 1822.00,367.50 C1827.78,367.50 1833.96,367.83 1835.75,368.23 L 1839.00 368.95 L 1839.00 364.73 C1838.99,359.51 1836.19,354.69 1831.79,352.32 C1827.24,349.88 1816.05,349.90 1809.64,352.38 C1805.58,353.94 1804.63,354.02 1803.90,352.88 C1802.24,350.25 1803.03,349.30 1808.25,347.57 C1821.33,343.25 1832.96,344.89 1839.35,351.97 C1841.33,354.16 1843.30,357.20 1843.72,358.72 C1844.15,360.25 1844.50,370.27 1844.50,381.00 L 1844.50 400.50 L 1842.00 400.50 C1839.78,400.50 1839.50,400.08 1839.50,396.75 C1839.50,392.43 1839.04,392.19 1836.41,395.11 C1831.52,400.51 1819.11,403.33 1811.00,400.88 ZM 2241.59 394.34 C2253.74,388.07 2257.32,370.11 2248.67,358.81 C2243.82,352.45 2237.97,349.76 2230.00,350.21 C2218.07,350.89 2210.26,358.87 2209.25,371.42 C2208.10,385.80 2218.88,397.46 2232.59,396.66 C2235.39,396.50 2239.44,395.45 2241.59,394.34 ZM 1918.62 394.60 C1926.72,390.83 1931.00,383.61 1931.00,373.72 C1931.00,366.19 1929.02,360.98 1924.43,356.38 C1919.38,351.33 1914.60,349.64 1906.89,350.20 C1888.37,351.54 1880.28,375.27 1893.44,389.67 C1900.23,397.09 1909.40,398.89 1918.62,394.60 ZM 2120.52 399.25 C2120.15,398.29 2114.65,383.10 2108.32,365.50 C2101.99,347.90 2096.19,331.81 2095.45,329.75 L 2094.09 326.00 L 2097.29 326.01 L 2100.50 326.01 L 2111.91 358.54 C2118.19,376.43 2123.66,390.72 2124.07,390.29 C2124.49,389.85 2129.50,375.10 2135.23,357.50 C2144.33,329.52 2145.90,325.46 2147.77,325.19 C2149.75,324.90 2150.75,327.44 2160.69,357.94 C2166.62,376.12 2171.70,391.00 2171.98,391.00 C2172.27,390.99 2177.64,376.37 2183.92,358.50 L 2195.34 326.00 L 2198.24 326.00 C2200.60,326.00 2201.03,326.34 2200.55,327.85 C2200.22,328.87 2194.20,345.63 2187.15,365.10 C2178.24,389.72 2174.67,400.81 2171.55,400.68 C2168.89,400.57 2166.57,392.29 2161.55,377.28 C2157.17,364.20 2152.26,349.75 2150.62,345.17 L 2147.65 336.83 L 2145.89 341.67 C2144.92,344.33 2139.99,358.76 2134.94,373.75 C2126.52,398.71 2125.56,401.00 2123.48,401.00 C2122.23,401.00 2120.90,400.21 2120.52,399.25 ZM 1237.71 400.38 C1237.32,399.99 1237.00,383.09 1237.00,362.83 L 1237.00 326.00 L 1239.94 326.00 C1242.64,326.00 1244.01,327.68 1257.26,347.19 C1265.17,358.84 1272.06,368.51 1272.57,368.66 C1273.08,368.82 1280.02,359.28 1288.00,347.47 C1300.99,328.23 1302.78,326.00 1305.25,326.00 L 1308.00 326.00 L 1308.00 401.13 L 1305.25 400.82 L 1302.50 400.50 L 1302.00 368.76 L 1301.50 337.03 L 1287.10 357.96 C1272.92,378.56 1272.67,378.85 1271.03,376.69 C1270.11,375.49 1263.54,366.00 1256.43,355.61 L 1243.50 336.72 L 1243.00 368.61 C1242.51,399.76 1242.45,400.51 1240.46,400.79 C1239.34,400.95 1238.10,400.77 1237.71,400.38 ZM 1987.16 387.45 C1993.28,383.15 1995.96,377.97 1995.98,370.39 C1996.00,365.46 1995.50,363.55 1993.43,360.49 C1988.15,352.71 1981.50,349.51 1972.03,350.19 C1950.97,351.71 1945.70,379.15 1964.50,389.39 C1966.69,390.59 1969.56,390.95 1975.17,390.76 C1981.86,390.53 1983.39,390.11 1987.16,387.45 ZM 1562.50 389.12 C1584.05,379.24 1576.09,350.00 1551.85,350.00 C1546.17,350.00 1539.49,353.40 1535.64,358.24 C1532.45,362.25 1531.13,369.57 1532.39,376.29 C1533.17,380.42 1538.72,387.12 1543.20,389.33 C1547.71,391.55 1557.43,391.45 1562.50,389.12 ZM 1651.93 400.63 C1641.65,397.86 1633.11,390.45 1628.14,380.00 C1625.83,375.12 1625.53,373.27 1625.52,363.50 C1625.50,353.64 1625.78,351.91 1628.18,346.78 C1635.63,330.89 1652.10,322.07 1668.89,324.99 C1675.89,326.21 1685.44,330.71 1688.93,334.42 C1691.01,336.64 1691.01,336.68 1689.08,338.43 C1687.20,340.13 1686.99,340.08 1683.31,337.14 C1676.84,331.96 1670.82,329.87 1662.30,329.83 C1655.62,329.81 1653.91,330.21 1648.14,333.15 C1636.79,338.94 1630.76,349.42 1630.79,363.34 C1630.84,385.10 1648.70,400.32 1669.20,396.06 C1674.14,395.04 1678.31,392.85 1685.81,387.37 C1687.94,385.81 1688.24,385.81 1689.74,387.31 C1691.24,388.81 1691.23,389.09 1689.54,390.96 C1681.64,399.68 1664.64,404.06 1651.93,400.63 ZM 2313.00 323.00 L 2318.00 323.00 L 2318.00 351.50 C2318.00,367.17 2318.25,380.00 2318.56,380.00 C2318.87,380.00 2326.57,372.35 2335.67,363.00 C2349.55,348.75 2352.70,346.00 2355.11,346.00 C2356.70,346.00 2358.00,346.35 2358.00,346.77 C2358.00,347.19 2353.05,352.47 2347.00,358.50 C2340.95,364.53 2336.00,369.87 2336.00,370.36 C2336.00,370.86 2341.18,377.66 2347.50,385.48 C2353.82,393.30 2359.00,399.99 2359.00,400.35 C2359.00,400.71 2357.73,401.00 2356.17,401.00 C2353.75,401.00 2351.78,399.07 2342.42,387.54 L 2331.50 374.09 L 2318.00 387.45 L 2318.00 394.22 C2318.00,400.79 2317.92,401.00 2315.50,401.00 L 2313.00 401.00 L 2313.00 323.00 ZM 1385.00 323.00 L 1390.00 323.00 L 1390.00 351.50 C1390.00,367.17 1390.36,380.00 1390.80,380.00 C1391.25,380.00 1398.93,372.35 1407.88,363.00 C1423.13,347.07 1424.39,346.00 1427.81,346.00 L 1431.47 346.00 L 1419.73 357.77 C1413.28,364.24 1408.00,369.87 1408.00,370.28 C1408.00,370.69 1413.18,377.41 1419.50,385.21 C1425.82,393.02 1431.00,399.76 1431.00,400.20 C1431.00,400.64 1429.76,401.00 1428.25,400.99 C1425.93,400.98 1423.80,398.87 1414.55,387.39 L 1403.61 373.80 L 1396.80 380.78 L 1390.00 387.76 L 1390.00 394.38 C1390.00,400.77 1389.91,401.00 1387.50,401.00 L 1385.00 401.00 L 1385.00 323.00 ZM 1466.71 400.38 C1466.32,399.99 1466.00,387.59 1466.00,372.83 L 1466.00 346.00 L 1469.00 346.00 C1471.90,346.00 1472.00,346.16 1472.00,350.58 L 1472.00 355.15 L 1474.52 352.15 C1483.24,341.79 1501.61,342.71 1509.50,353.91 L 1512.50 358.17 L 1513.14 401.00 L 1508.00 401.00 L 1508.00 382.21 C1508.00,364.71 1507.85,363.12 1505.75,358.97 C1504.51,356.52 1501.93,353.46 1500.00,352.17 C1497.02,350.17 1495.52,349.88 1489.89,350.19 C1484.54,350.48 1482.59,351.08 1479.64,353.33 C1473.09,358.32 1472.56,360.28 1472.00,381.50 C1471.52,399.68 1471.41,400.51 1469.46,400.79 C1468.34,400.95 1467.10,400.77 1466.71,400.38 ZM 1826.32 395.93 C1834.28,393.72 1839.98,385.96 1839.99,377.33 C1840.00,374.34 1839.73,374.11 1834.95,373.08 C1826.78,371.33 1815.15,371.75 1810.26,373.97 C1802.47,377.51 1800.80,386.56 1806.87,392.37 C1811.43,396.74 1818.64,398.06 1826.32,395.93 ZM 1727.50 395.90 C1732.49,394.53 1737.54,390.79 1739.50,387.00 C1741.66,382.82 1741.50,374.42 1739.25,373.48 C1735.92,372.09 1717.44,371.70 1713.68,372.94 C1702.84,376.52 1701.99,390.37 1712.32,395.06 C1717.08,397.22 1721.72,397.48 1727.50,395.90 ZM 1354.74 394.13 C1360.54,391.18 1363.31,386.84 1363.81,379.96 C1364.31,373.00 1364.20,372.94 1350.39,372.25 C1338.63,371.67 1334.23,372.75 1330.53,377.14 C1327.52,380.72 1327.09,387.26 1329.63,390.89 C1333.91,396.99 1346.06,398.56 1354.74,394.13 ZM 2029.36 401.01 C2025.18,400.13 2015.56,395.71 2014.66,394.26 C2014.39,393.83 2014.75,392.69 2015.46,391.72 C2016.66,390.08 2017.09,390.15 2022.27,392.88 C2032.63,398.33 2042.35,397.93 2047.47,391.86 C2053.31,384.91 2049.27,379.81 2034.06,374.92 C2020.66,370.62 2017.00,367.49 2017.00,360.38 C2017.01,354.03 2019.60,349.86 2025.22,347.14 C2030.76,344.45 2036.88,344.41 2045.27,347.00 C2052.77,349.32 2054.41,350.71 2052.59,353.21 C2051.43,354.80 2050.94,354.75 2045.42,352.48 C2035.30,348.32 2025.54,349.87 2022.98,356.05 C2020.30,362.53 2023.87,366.25 2036.45,370.07 C2051.26,374.57 2055.46,378.35 2054.78,386.59 C2054.28,392.68 2051.44,397.09 2046.52,399.42 C2042.16,401.49 2034.83,402.17 2029.36,401.01 ZM 1775.21 401.05 C1773.40,400.60 1770.99,399.40 1769.86,398.37 C1765.39,394.32 1765.00,392.15 1765.00,371.05 L 1765.00 351.00 L 1761.00 351.00 C1757.40,351.00 1757.00,350.75 1757.00,348.50 C1757.00,346.25 1757.40,346.00 1761.00,346.00 L 1765.00 346.00 L 1765.00 337.50 C1765.00,329.10 1765.03,329.00 1767.50,329.00 C1769.97,329.00 1770.00,329.10 1770.00,337.50 L 1770.00 346.00 L 1779.50 346.00 C1788.97,346.00 1789.00,346.01 1789.00,348.50 C1789.00,350.99 1788.97,351.00 1779.50,351.00 L 1770.00 351.00 L 1770.00 369.53 C1770.00,391.77 1770.66,394.29 1776.97,395.99 C1779.24,396.60 1781.98,396.86 1783.05,396.55 C1784.12,396.25 1785.90,395.74 1787.00,395.43 C1788.62,394.97 1789.00,395.34 1789.00,397.37 C1789.00,398.88 1788.31,400.07 1787.25,400.38 C1783.32,401.53 1778.31,401.81 1775.21,401.05 ZM 2273.00 346.00 L 2275.46 346.00 C2277.80,346.00 2277.93,346.31 2278.21,353.01 L 2278.50 360.02 L 2282.00 355.31 C2285.75,350.26 2292.16,346.33 2298.30,345.34 C2301.91,344.75 2302.00,344.82 2302.00,347.87 C2302.00,350.26 2301.56,351.00 2300.13,351.00 C2296.44,351.00 2289.45,354.14 2286.13,357.29 C2279.84,363.26 2278.62,367.56 2278.18,385.25 L 2277.79 401.00 L 2273.00 401.00 L 2273.00 346.00 ZM 1862.00 323.00 L 1867.00 323.00 L 1867.00 401.00 L 1862.00 401.00 L 1862.00 323.00 ZM 1443.71 400.38 C1443.32,399.99 1443.00,387.59 1443.00,372.83 L 1443.00 346.00 L 1449.03 346.00 L 1448.77 373.25 C1448.51,399.82 1448.45,400.51 1446.46,400.79 C1445.34,400.95 1444.10,400.77 1443.71,400.38 ZM 1443.00 328.50 C1443.00,325.28 1443.24,325.00 1446.00,325.00 C1448.76,325.00 1449.00,325.28 1449.00,328.50 C1449.00,331.72 1448.76,332.00 1446.00,332.00 C1443.24,332.00 1443.00,331.72 1443.00,328.50 Z" fill="rgba(97,96,97,1)"/>
|
|
4
|
+
<path d="M 494.00 279.43 C492.62,279.19 488.12,278.50 484.00,277.89 C463.34,274.84 441.80,263.06 425.49,245.88 C410.86,230.47 401.39,212.20 397.56,191.99 C395.60,181.67 395.53,160.64 397.42,150.75 C408.55,92.61 462.86,54.09 520.50,63.47 C568.11,71.22 605.77,112.11 609.82,160.47 C612.73,195.21 601.44,225.89 577.17,249.19 C561.10,264.63 542.55,274.40 522.50,277.97 C515.74,279.17 497.81,280.09 494.00,279.43 ZM 521.56 258.10 C555.28,251.14 582.44,222.94 589.05,188.00 C590.78,178.88 590.54,161.02 588.57,151.76 C582.94,125.31 565.35,102.42 541.50,90.52 C528.25,83.91 519.12,81.74 504.00,81.62 C489.31,81.51 480.76,83.28 468.38,89.00 C448.82,98.03 434.72,111.69 425.01,131.00 C418.08,144.77 416.50,152.20 416.50,171.00 C416.50,185.43 416.80,188.50 418.87,195.50 C428.28,227.31 454.08,251.64 485.50,258.34 C495.40,260.46 510.66,260.35 521.56,258.10 ZM 1085.25 278.93 C1044.38,273.62 1009.64,242.27 998.29,200.48 C995.77,191.17 995.59,189.16 995.61,170.50 C995.63,152.18 995.85,149.70 998.21,140.93 C1009.45,99.27 1039.00,69.90 1076.22,63.39 C1088.02,61.32 1106.05,62.01 1117.50,64.97 C1159.09,75.70 1187.18,115.60 1188.26,165.45 C1188.50,176.23 1188.46,176.42 1186.00,177.69 C1184.02,178.70 1165.88,178.97 1099.25,178.99 C1018.51,179.00 1015.00,179.08 1015.00,180.82 C1015.00,184.34 1017.13,194.57 1019.19,201.00 C1037.99,259.50 1107.31,279.39 1157.72,240.76 C1162.49,237.10 1164.72,235.98 1166.33,236.42 C1168.93,237.14 1175.00,245.13 1175.00,247.84 C1175.00,251.66 1160.65,262.41 1146.71,269.03 C1128.02,277.91 1105.41,281.55 1085.25,278.93 ZM 249.10 277.45 C238.24,275.55 222.41,270.23 211.85,264.93 C173.58,245.73 146.61,209.76 138.44,167.00 C136.02,154.34 135.95,129.17 138.31,116.28 C148.98,57.80 192.69,14.58 251.50,4.35 C258.31,3.17 264.87,2.90 278.50,3.27 C294.36,3.69 297.87,4.10 308.00,6.76 C314.33,8.41 323.73,11.59 328.89,13.83 C345.28,20.93 363.00,32.89 363.00,36.87 C363.00,39.54 354.83,50.00 352.24,50.65 C350.54,51.08 348.08,50.02 343.08,46.69 C334.99,41.31 322.07,34.69 313.00,31.28 C290.61,22.85 260.55,22.48 237.43,30.36 C197.95,43.81 168.24,78.62 160.92,120.00 C159.21,129.64 159.21,152.36 160.92,162.00 C166.03,190.89 182.48,217.42 206.50,235.51 C214.99,241.90 232.83,250.51 244.00,253.59 C255.68,256.82 279.39,258.02 291.83,256.01 C308.07,253.39 326.46,245.72 341.22,235.40 C351.63,228.11 352.57,228.21 359.39,237.33 C364.61,244.30 364.27,245.88 356.25,251.78 C341.32,262.77 324.79,270.65 306.27,275.62 C297.64,277.93 294.22,278.28 277.00,278.58 C262.97,278.82 255.14,278.51 249.10,277.45 ZM 1238.20 273.80 C1236.46,272.06 1236.46,68.94 1238.20,67.20 C1239.85,65.55 1253.62,65.59 1254.69,67.25 C1255.14,67.94 1255.72,76.35 1256.00,85.93 L 1256.50 103.37 L 1259.30 99.13 C1268.42,85.32 1287.62,72.06 1308.00,65.50 C1318.42,62.14 1337.44,60.99 1349.77,62.97 C1383.57,68.40 1407.89,92.44 1414.42,126.86 C1415.77,133.98 1416.00,145.40 1416.00,203.91 C1416.00,256.00 1415.71,272.89 1414.80,273.80 C1413.37,275.23 1400.19,275.41 1398.00,274.02 C1396.70,273.20 1396.43,263.83 1395.96,203.29 C1395.36,125.73 1395.67,129.36 1388.30,114.00 C1376.62,89.65 1346.29,76.43 1316.21,82.57 C1306.94,84.47 1292.79,91.00 1284.31,97.31 C1276.37,103.21 1267.79,113.59 1263.48,122.52 C1262.29,124.97 1261.32,126.96 1260.53,129.03 C1257.02,138.21 1257.03,148.75 1257.01,207.18 C1257.00,264.63 1256.82,272.03 1255.43,273.43 C1253.48,275.37 1240.06,275.66 1238.20,273.80 ZM 660.20 273.80 C658.46,272.06 658.46,68.94 660.20,67.20 C661.71,65.69 675.62,65.58 676.55,67.08 C676.91,67.67 677.50,76.05 677.86,85.70 L 678.50 103.26 L 682.40 97.58 C693.41,81.58 718.15,66.82 740.47,62.93 C750.40,61.20 771.60,62.26 780.87,64.94 C808.20,72.85 827.03,92.13 835.12,120.50 C837.38,128.44 837.40,129.06 837.74,200.35 C837.99,253.83 837.78,272.56 836.92,273.60 C835.56,275.23 822.43,275.56 820.00,274.02 C818.70,273.20 818.43,263.82 817.94,203.29 C817.44,140.68 817.20,132.88 815.62,127.50 C810.29,109.33 799.21,95.55 784.00,88.18 C755.63,74.44 721.57,80.92 698.50,104.46 C690.76,112.36 686.08,119.58 682.12,129.76 L 679.50 136.50 L 679.21 203.97 C678.95,264.40 678.75,271.62 677.30,273.22 C676.04,274.61 674.13,275.00 668.54,275.00 C664.32,275.00 660.91,274.51 660.20,273.80 ZM 1168.17 156.50 C1167.62,149.52 1164.22,135.38 1161.40,128.32 C1156.88,117.02 1151.05,108.34 1142.36,99.99 C1128.70,86.86 1113.37,81.00 1092.71,81.00 C1071.67,81.00 1056.40,87.48 1041.00,102.96 C1035.78,108.21 1030.00,115.06 1028.17,118.19 C1021.81,129.02 1017.10,142.97 1015.48,155.76 L 1014.81 161.01 L 1091.65 160.76 L 1168.49 160.50 ZM 905.13 273.65 C904.33,272.69 903.94,245.77 903.76,178.40 L 903.50 84.50 L 890.07 84.22 C882.25,84.06 876.08,83.48 875.32,82.85 C873.62,81.44 873.52,68.88 875.20,67.20 C876.01,66.39 880.69,66.00 889.70,66.00 L 903.00 66.00 L 903.00 46.72 C903.00,24.59 903.30,23.59 910.24,22.52 C912.59,22.16 915.89,21.64 917.60,21.35 C923.66,20.34 924.00,21.62 924.00,45.07 L 924.00 66.00 L 948.80 66.00 C966.76,66.00 973.93,66.33 974.80,67.20 C976.38,68.78 976.38,81.22 974.80,82.80 C973.93,83.67 966.76,84.00 948.80,84.00 L 924.00 84.00 L 924.00 177.93 C924.00,261.98 923.83,272.02 922.43,273.43 C920.37,275.49 906.80,275.67 905.13,273.65 ZM 1483.13 273.65 C1482.33,272.69 1481.94,245.77 1481.76,178.40 L 1481.50 84.50 L 1468.07 84.22 C1460.25,84.06 1454.08,83.48 1453.32,82.85 C1452.47,82.14 1452.00,79.36 1452.00,75.00 C1452.00,70.64 1452.47,67.86 1453.32,67.15 C1454.08,66.52 1460.25,65.94 1468.07,65.78 L 1481.50 65.50 L 1481.77 45.58 C1481.93,33.72 1482.46,25.15 1483.08,24.40 C1483.65,23.72 1486.00,22.87 1488.31,22.51 C1490.61,22.16 1493.89,21.64 1495.60,21.35 C1501.66,20.34 1502.00,21.62 1502.00,45.07 L 1502.00 66.00 L 1526.80 66.00 C1544.76,66.00 1551.93,66.33 1552.80,67.20 C1553.49,67.89 1554.00,71.20 1554.00,75.00 C1554.00,78.80 1553.49,82.11 1552.80,82.80 C1551.93,83.67 1544.76,84.00 1526.80,84.00 L 1502.00 84.00 L 1502.00 177.93 C1502.00,261.98 1501.83,272.02 1500.43,273.43 C1498.37,275.49 1484.80,275.67 1483.13,273.65 ZM 1635.20 155.94 C1624.63,150.66 1619.03,141.51 1619.01,129.50 C1619.00,117.88 1624.72,108.16 1634.54,103.10 C1646.72,96.82 1662.13,99.66 1671.07,109.82 C1678.35,118.08 1680.30,131.32 1675.71,141.30 C1672.28,148.76 1668.77,152.46 1661.80,155.94 C1656.68,158.50 1654.51,159.00 1648.50,159.00 C1642.49,159.00 1640.32,158.50 1635.20,155.94 ZM 1715.46 143.94 C1713.10,140.12 1724.04,127.79 1733.93,123.11 C1746.85,117.00 1764.36,116.84 1773.91,122.75 C1781.96,127.72 1783.88,134.22 1778.74,139.04 C1775.98,141.63 1772.98,141.30 1764.00,137.43 C1758.52,135.08 1756.08,134.63 1748.50,134.59 C1738.24,134.54 1732.45,136.15 1723.51,141.54 C1717.27,145.30 1716.45,145.54 1715.46,143.94 Z" fill="rgba(107,62,148,1)"/>
|
|
5
|
+
<path d="M 1936.50 278.94 C1893.09,273.09 1857.36,240.95 1845.85,197.40 C1843.81,189.66 1843.50,186.22 1843.52,171.00 C1843.53,155.88 1843.85,152.28 1845.88,144.57 C1854.38,112.16 1876.79,85.13 1906.57,71.37 C1928.76,61.12 1957.95,59.28 1981.36,66.67 C2030.80,82.27 2062.48,130.51 2057.09,182.00 C2052.10,229.62 2018.04,267.66 1971.51,277.58 C1962.55,279.49 1945.49,280.15 1936.50,278.94 ZM 1968.83 258.05 C1999.99,251.62 2026.51,225.80 2035.12,193.50 C2038.17,182.07 2038.17,159.92 2035.12,148.50 C2030.58,131.52 2021.25,116.00 2008.54,104.30 C1986.84,84.30 1957.66,76.80 1929.50,83.99 C1885.39,95.25 1856.61,140.00 1864.04,185.79 C1867.70,208.38 1881.33,230.57 1899.51,243.55 C1910.16,251.14 1925.96,257.69 1937.50,259.29 C1945.66,260.41 1960.13,259.84 1968.83,258.05 ZM 2107.20 273.80 C2105.46,272.06 2105.46,2.94 2107.20,1.20 C2108.63,-0.23 2121.81,-0.41 2124.00,0.98 C2125.29,1.79 2125.57,8.97 2126.00,52.14 L 2126.50 102.36 L 2129.14 98.37 C2137.99,84.99 2156.98,71.95 2177.00,65.50 C2187.42,62.14 2206.43,60.99 2218.77,62.97 C2249.74,67.95 2272.72,88.30 2281.47,118.50 C2285.39,132.02 2286.00,144.27 2286.00,209.53 C2286.00,263.14 2285.81,270.82 2284.44,272.78 C2283.08,274.73 2282.00,275.00 2275.69,274.98 C2271.74,274.98 2267.82,274.54 2267.00,274.02 C2265.70,273.20 2265.43,263.84 2264.97,203.29 C2264.49,141.12 2264.24,132.84 2262.70,127.50 C2255.71,103.26 2238.41,87.23 2214.04,82.41 C2181.61,75.99 2146.17,93.82 2131.89,123.73 C2126.16,135.75 2126.04,137.44 2126.02,207.68 C2126.00,264.67 2125.82,272.03 2124.43,273.43 C2122.48,275.37 2109.06,275.66 2107.20,273.80 ZM 2348.90 272.73 C2337.71,265.25 2341.44,248.98 2354.71,247.36 C2359.55,246.77 2364.70,249.35 2367.73,253.90 C2375.60,265.68 2360.68,280.60 2348.90,272.73 ZM 1686.50 239.94 C1662.71,236.73 1641.15,225.70 1625.18,208.55 C1618.68,201.59 1616.12,197.54 1617.40,196.27 C1617.80,195.87 1620.91,196.58 1624.31,197.85 C1636.14,202.26 1649.65,205.97 1661.54,208.10 C1678.27,211.08 1704.55,211.07 1721.50,208.08 C1737.08,205.33 1753.51,200.93 1766.76,195.95 C1773.01,193.60 1777.73,192.33 1778.26,192.86 C1779.58,194.18 1774.85,202.87 1768.97,209.94 C1753.14,228.96 1730.85,239.52 1704.50,240.48 C1698.45,240.71 1690.35,240.46 1686.50,239.94 ZM 2347.57 204.43 C2346.16,203.02 2346.00,192.41 2346.00,102.63 C2346.00,26.01 2346.28,2.12 2347.20,1.20 C2349.08,-0.68 2363.47,-0.38 2365.43,1.57 C2366.84,2.98 2367.00,13.49 2367.00,102.35 C2367.00,190.52 2366.83,201.80 2365.44,203.78 C2364.07,205.73 2363.00,206.00 2356.51,206.00 C2351.15,206.00 2348.72,205.57 2347.57,204.43 Z" fill="rgba(207,44,143,1)"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -17,9 +17,11 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
17
17
|
|
|
18
18
|
var _styles = require("./styles");
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _contentHub = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/content-hub.svg"));
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _contentOh = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/content-oh.svg"));
|
|
23
|
+
|
|
24
|
+
var _contentohAnimado = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/contentoh-animado.gif"));
|
|
23
25
|
|
|
24
26
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
27
|
|
|
@@ -35,20 +37,31 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
|
|
|
35
37
|
|
|
36
38
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactRouterDom.BrowserRouter, {
|
|
37
39
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.ContainerPrincipal, {
|
|
38
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
39
|
-
bar: trueBar
|
|
40
|
-
|
|
40
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
41
|
+
bar: trueBar
|
|
42
|
+
/*
|
|
43
|
+
enter/leave y no over/out: los segundos burbujean, así que pasar el
|
|
44
|
+
cursor a un hijo (la firma del pie, un ícono) disparaba un mouseOut
|
|
45
|
+
en el Container y la barra se colapsaba. Al colapsarse desmontaba la
|
|
46
|
+
firma, el cursor volvía al Container, se expandía otra vez... y de
|
|
47
|
+
ahí el tambaleo. enter/leave sólo miran el borde del Container.
|
|
48
|
+
*/
|
|
49
|
+
,
|
|
50
|
+
onMouseEnter: function onMouseEnter() {
|
|
41
51
|
return setTrueBar(true);
|
|
42
52
|
},
|
|
43
|
-
|
|
53
|
+
onMouseLeave: function onMouseLeave() {
|
|
44
54
|
return setTrueBar(false);
|
|
45
55
|
},
|
|
46
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
56
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
47
57
|
className: "navbar-top",
|
|
48
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
59
|
+
className: "logo-slot",
|
|
60
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
61
|
+
src: trueBar ? _contentHub.default : _contentohAnimado.default,
|
|
62
|
+
alt: "Content Hub",
|
|
63
|
+
className: "logo ".concat(trueBar ? "logo-wordmark" : "logo-isotype")
|
|
64
|
+
})
|
|
52
65
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
53
66
|
className: "option",
|
|
54
67
|
children: menuoption.map(function (item, index) {
|
|
@@ -79,7 +92,11 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
|
|
|
79
92
|
}, index);
|
|
80
93
|
})
|
|
81
94
|
})]
|
|
82
|
-
})
|
|
95
|
+
}), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
96
|
+
src: _contentOh.default,
|
|
97
|
+
alt: "Content-oh!",
|
|
98
|
+
className: "logo-footer"
|
|
99
|
+
})]
|
|
83
100
|
}), containerdash]
|
|
84
101
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.GlobalStyle, {})]
|
|
85
102
|
});
|
|
@@ -17,10 +17,29 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
17
17
|
|
|
18
18
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
/*
|
|
21
|
+
Los logotipos llegan a color y el aside es un degradado morado, así que se
|
|
22
|
+
normalizan a blanco puro por filtro en vez de mantener una copia monocromática
|
|
23
|
+
de cada SVG: grayscale desatura, brightness(0) aplasta cualquier luminancia a
|
|
24
|
+
negro conservando el alfa, e invert(1) lo levanta a blanco. Al pasar por negro
|
|
25
|
+
el resultado es independiente del color original del archivo.
|
|
26
|
+
*/
|
|
27
|
+
var logoToWhite = "grayscale(1) brightness(0) invert(1)";
|
|
28
|
+
/*
|
|
29
|
+
El logotipo original es de trazo fino y a 22px de alto se ve anémico sobre el
|
|
30
|
+
degradado. Una <img> no admite stroke, así que se engrosa ópticamente con
|
|
31
|
+
drop-shadows blancas en las cuatro cardinales: cada una se apila sobre la
|
|
32
|
+
anterior, lo que ensancha el trazo de forma pareja sin desenfocarlo (blur 0).
|
|
33
|
+
Va DESPUÉS de logoToWhite a propósito: antes del invert(1) estas sombras
|
|
34
|
+
blancas se voltearían a negro.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
var logoThicken = "\n drop-shadow(0.15px 0 0 #fff) drop-shadow(-0.15px 0 0 #fff)\n drop-shadow(0 0.15px 0 #fff) drop-shadow(0 -0.15px 0 #fff)\n";
|
|
38
|
+
|
|
39
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n box-sizing: border-box;\n padding: 23px 0 26px 0;\n flex-direction: column;\n justify-content: space-between;\n overflow: none;\n width: ", ";\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n transition: width 0.3s linear;\n margin: 0;\n & + * {\n margin-left: 30px;\n }\n .logo-footer {\n /*\n Ambos logotipos son anchos (6:1 el del pie, 7.6:1 el de arriba), as\xED que\n el ancho es lo que decide si se ven parejos: 26px de alto dan ~156px,\n cerca de los ~167px del logotipo superior a 22px.\n */\n height: 26px;\n align-self: center;\n flex-shrink: 0;\n opacity: 0.9;\n filter: ", ";\n /* Firma anclada al pie: el space-between la baja hasta el padding. */\n margin-top: auto;\n }\n .navbar-top {\n /*\n Caja de alto fijo: el isotipo animado \"respira\" (sus frames crecen de\n 156px a 192px de contenido) y sin este slot cada latido empujar\xEDa el men\xFA\n hacia abajo. Tambi\xE9n absorbe el cambio de alto entre logotipo e isotipo.\n */\n .logo-slot {\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .logo {\n width: auto;\n filter: ", ";\n }\n .logo-wordmark {\n height: 22px;\n filter: ", " ", ";\n }\n /*\n El GIF trae ~20% de lienzo transparente por eje (contenido \xFAtil de 240x192\n dentro de 300x320), as\xED que necesita m\xE1s alto declarado que el SVG que\n sustituye para leerse del mismo tama\xF1o: 40px de caja \u2248 24px de glifo.\n */\n .logo-isotype {\n height: 40px;\n }\n .option {\n .option-div {\n width: 100%;\n white-space: nowrap;\n }\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 50px;\n .active {\n text-decoration: none;\n background: rgba(255, 255, 255, 0.1);\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 32px;\n height: auto;\n width: auto;\n &:last-child {\n margin-bottom: 10px;\n }\n }\n }\n }\n"])), function (_ref) {
|
|
21
40
|
var bar = _ref.bar;
|
|
22
41
|
return bar ? "240px" : "66px";
|
|
23
|
-
});
|
|
42
|
+
}, logoToWhite, logoToWhite, logoToWhite, logoThicken);
|
|
24
43
|
|
|
25
44
|
exports.Container = Container;
|
|
26
45
|
var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 42px;\n display: flex;\n justify-content: ", ";\n align-items: center;\n font-family: sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 21px;\n letter-spacing: -0.015em;\n transition: color 0.3s linear;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n padding: ", ";\n &:hover {\n background: rgba(255, 255, 255, 0.2);\n color: #fafafa;\n text-decoration: none;\n }\n p {\n cursor: pointer;\n margin: 0%;\n pointer-events: none;\n }\n img {\n height: 22px;\n position: absolute;\n left: 22px;\n & + * {\n margin-left: 30px;\n }\n }\n &.sub-option-link {\n display: flex;\n justify-content: flex-start;\n text-decoration: none;\n position: relative;\n font-size: 13px;\n border-left: 1px solid #f0eef2;\n border-radius: 0;\n transition: color 0.3s linear;\n color: ", ";\n height: 25px;\n margin: 0;\n padding-left: 12px;\n &::before {\n border-left: 1px solid #e33aa9;\n width: 10px;\n content: \"\";\n border-radius: 50%;\n height: 10px;\n background-color: white;\n position: absolute;\n top: 13;\n left: -6px;\n }\n &.active {\n background: none !important;\n text-decoration: none;\n transition: color 0.3s linear;\n color: ", ";\n &::before {\n background-color: #e33aa9;\n }\n }\n &:hover {\n background: none;\n }\n }\n"])), function (_ref2) {
|
|
@@ -228,7 +228,7 @@ function _regenerateVideoThumbnails() {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
231
|
-
var _location$state, _location$state2, _state$active_retaile4, _state$active_retaile5, _state$images_values$2, _state$images_values10, _state$images_values11, _state$product8, _state$active_retaile6, _state$active_retaile7, _state$active_retaile8, _state$active_retaile9, _state$product9, _state$product10, _state$product11, _state$datasheets_inp, _state$datasheets_inp2, _state$product12, _state$images_values12, _state$comment;
|
|
231
|
+
var _state$errors, _location$state, _location$state2, _state$active_retaile4, _state$active_retaile5, _state$images_values$2, _state$images_values10, _state$images_values11, _state$product8, _state$active_retaile6, _state$active_percent, _state$active_percent2, _state$active_percent3, _state$active_retaile7, _state$active_retaile8, _state$active_retaile9, _state$product9, _state$product10, _state$product11, _state$datasheets_inp, _state$datasheets_inp2, _state$product12, _state$images_values12, _state$comment;
|
|
232
232
|
|
|
233
233
|
var tabsSections = _ref.tabsSections,
|
|
234
234
|
_ref$productSelected = _ref.productSelected,
|
|
@@ -569,20 +569,30 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
569
569
|
id_article = productNormalized.id_article;
|
|
570
570
|
|
|
571
571
|
if (!id_article) {
|
|
572
|
-
_context2.next =
|
|
572
|
+
_context2.next = 22;
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
-
_context2.
|
|
576
|
+
_context2.prev = 14;
|
|
577
|
+
_context2.next = 17;
|
|
577
578
|
return (0, _utils.getAuditVersion)(id_article, setAuditableVersion, token);
|
|
578
579
|
|
|
579
|
-
case
|
|
580
|
+
case 17:
|
|
581
|
+
_context2.next = 22;
|
|
582
|
+
break;
|
|
583
|
+
|
|
584
|
+
case 19:
|
|
585
|
+
_context2.prev = 19;
|
|
586
|
+
_context2.t0 = _context2["catch"](14);
|
|
587
|
+
console.warn("No se pudo obtener la versión auditable:", _context2.t0.message);
|
|
588
|
+
|
|
589
|
+
case 22:
|
|
580
590
|
if (!(id_article && productNormalized.id_order)) {
|
|
581
|
-
_context2.next =
|
|
591
|
+
_context2.next = 28;
|
|
582
592
|
break;
|
|
583
593
|
}
|
|
584
594
|
|
|
585
|
-
_context2.next =
|
|
595
|
+
_context2.next = 25;
|
|
586
596
|
return _axios.default.get(process.env.REACT_APP_READ_OBSERVATION, {
|
|
587
597
|
params: {
|
|
588
598
|
articleId: id_article,
|
|
@@ -593,26 +603,26 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
593
603
|
}
|
|
594
604
|
});
|
|
595
605
|
|
|
596
|
-
case
|
|
606
|
+
case 25:
|
|
597
607
|
response = _context2.sent;
|
|
598
608
|
parseData = JSON.parse(response.data.body).data[0];
|
|
599
609
|
setObservation(parseData.observations);
|
|
600
610
|
|
|
601
|
-
case
|
|
602
|
-
_context2.next =
|
|
611
|
+
case 28:
|
|
612
|
+
_context2.next = 33;
|
|
603
613
|
break;
|
|
604
614
|
|
|
605
|
-
case
|
|
606
|
-
_context2.prev =
|
|
607
|
-
_context2.
|
|
608
|
-
console.log("Error setting product data: ", _context2.
|
|
615
|
+
case 30:
|
|
616
|
+
_context2.prev = 30;
|
|
617
|
+
_context2.t1 = _context2["catch"](0);
|
|
618
|
+
console.log("Error setting product data: ", _context2.t1);
|
|
609
619
|
|
|
610
|
-
case
|
|
620
|
+
case 33:
|
|
611
621
|
case "end":
|
|
612
622
|
return _context2.stop();
|
|
613
623
|
}
|
|
614
624
|
}
|
|
615
|
-
}, _callee2, null, [[0,
|
|
625
|
+
}, _callee2, null, [[0, 30], [14, 19]]);
|
|
616
626
|
}));
|
|
617
627
|
|
|
618
628
|
return function initializeProduct() {
|
|
@@ -639,13 +649,21 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
639
649
|
|
|
640
650
|
case 2:
|
|
641
651
|
auditServices = _context3.sent;
|
|
652
|
+
|
|
653
|
+
if (Array.isArray(auditServices)) {
|
|
654
|
+
_context3.next = 5;
|
|
655
|
+
break;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
return _context3.abrupt("return");
|
|
659
|
+
|
|
660
|
+
case 5:
|
|
642
661
|
(0, _utils.getInputsData)(auditServices, {
|
|
643
662
|
id: state.active_retailer.id_retailer
|
|
644
663
|
}, setAuditDatasheets, setAuditDescriptions);
|
|
645
664
|
setAuditServices(auditServices);
|
|
646
|
-
setAuditImages(auditServices[2]);
|
|
647
665
|
|
|
648
|
-
case
|
|
666
|
+
case 7:
|
|
649
667
|
case "end":
|
|
650
668
|
return _context3.stop();
|
|
651
669
|
}
|
|
@@ -668,10 +686,8 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
668
686
|
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
669
687
|
var enableLoading,
|
|
670
688
|
versionSelected,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
_JSON$parse$,
|
|
674
|
-
_percentagesRes$,
|
|
689
|
+
_services$,
|
|
690
|
+
_retailerDatasheets$d,
|
|
675
691
|
_state$product4,
|
|
676
692
|
id_article,
|
|
677
693
|
version,
|
|
@@ -689,6 +705,10 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
689
705
|
servicesDataRes,
|
|
690
706
|
commentsResponse,
|
|
691
707
|
percentages,
|
|
708
|
+
_JSON$parse$0$relatio,
|
|
709
|
+
_JSON$parse,
|
|
710
|
+
_JSON$parse$,
|
|
711
|
+
_percentagesRes$,
|
|
692
712
|
commentsMap,
|
|
693
713
|
orderMap,
|
|
694
714
|
orderedValues,
|
|
@@ -711,6 +731,10 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
711
731
|
type: "SET_LOADING",
|
|
712
732
|
payload: true
|
|
713
733
|
});
|
|
734
|
+
dispatch({
|
|
735
|
+
type: "SET_ERRORS",
|
|
736
|
+
payload: []
|
|
737
|
+
});
|
|
714
738
|
_state$product4 = state.product, id_article = _state$product4.id_article, version = _state$product4.version, id_order = _state$product4.id_order;
|
|
715
739
|
_state$active_retaile = state.active_retailer, category = _state$active_retaile.category, id_category = _state$active_retaile.id_category, id_retailer = _state$active_retaile.id_retailer; // Payloads y headers
|
|
716
740
|
|
|
@@ -725,7 +749,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
725
749
|
headers = {
|
|
726
750
|
Authorization: token
|
|
727
751
|
};
|
|
728
|
-
_context4.next =
|
|
752
|
+
_context4.next = 11;
|
|
729
753
|
return Promise.all([(0, _data.getRetailerServices)(id_article, category, id_category, versionSelected !== null && versionSelected !== void 0 ? versionSelected : version, token, id_retailer), (0, _data.getPercentage)({
|
|
730
754
|
data: data,
|
|
731
755
|
headers: headers
|
|
@@ -758,13 +782,22 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
758
782
|
}
|
|
759
783
|
})])]);
|
|
760
784
|
|
|
761
|
-
case
|
|
785
|
+
case 11:
|
|
762
786
|
_yield$Promise$all = _context4.sent;
|
|
763
787
|
_yield$Promise$all2 = (0, _slicedToArray2.default)(_yield$Promise$all, 4);
|
|
764
788
|
services = _yield$Promise$all2[0];
|
|
765
789
|
percentagesRes = _yield$Promise$all2[1];
|
|
766
790
|
servicesDataRes = _yield$Promise$all2[2];
|
|
767
791
|
commentsResponse = _yield$Promise$all2[3];
|
|
792
|
+
|
|
793
|
+
if (!(!Array.isArray(services) || services.length < 3 || !services[2])) {
|
|
794
|
+
_context4.next = 19;
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
throw new Error("No se pudieron cargar los servicios del producto. Inténtalo de nuevo.");
|
|
799
|
+
|
|
800
|
+
case 19:
|
|
768
801
|
dispatch({
|
|
769
802
|
type: "SET_RETAILER_STATUS",
|
|
770
803
|
payload: servicesDataRes.map(function (service) {
|
|
@@ -775,9 +808,18 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
775
808
|
task_user_group_id: service === null || service === void 0 ? void 0 : service.task_user_group_id
|
|
776
809
|
};
|
|
777
810
|
})
|
|
778
|
-
}); // Extraer relaciones del response
|
|
811
|
+
}); // Extraer relaciones del response. getPercentage se traga sus errores y
|
|
812
|
+
// devuelve undefined (p. ej. si CORS bloquea el endpoint), así que el
|
|
813
|
+
// JSON.parse va protegido para no tumbar toda la carga.
|
|
814
|
+
|
|
815
|
+
percentages = [];
|
|
816
|
+
|
|
817
|
+
try {
|
|
818
|
+
percentages = (_JSON$parse$0$relatio = (_JSON$parse = JSON.parse(percentagesRes === null || percentagesRes === void 0 ? void 0 : (_percentagesRes$ = percentagesRes[0]) === null || _percentagesRes$ === void 0 ? void 0 : _percentagesRes$.body)) === null || _JSON$parse === void 0 ? void 0 : (_JSON$parse$ = _JSON$parse[0]) === null || _JSON$parse$ === void 0 ? void 0 : _JSON$parse$.relations) !== null && _JSON$parse$0$relatio !== void 0 ? _JSON$parse$0$relatio : [];
|
|
819
|
+
} catch (e) {
|
|
820
|
+
console.warn("No se pudieron parsear los porcentajes:", e.message);
|
|
821
|
+
} // Procesar comentarios
|
|
779
822
|
|
|
780
|
-
percentages = (_JSON$parse$0$relatio = (_JSON$parse = JSON.parse(percentagesRes === null || percentagesRes === void 0 ? void 0 : (_percentagesRes$ = percentagesRes[0]) === null || _percentagesRes$ === void 0 ? void 0 : _percentagesRes$.body)) === null || _JSON$parse === void 0 ? void 0 : (_JSON$parse$ = _JSON$parse[0]) === null || _JSON$parse$ === void 0 ? void 0 : _JSON$parse$.relations) !== null && _JSON$parse$0$relatio !== void 0 ? _JSON$parse$0$relatio : []; // Procesar comentarios
|
|
781
823
|
|
|
782
824
|
commentsMap = {};
|
|
783
825
|
commentsResponse.forEach(function (commentRes) {
|
|
@@ -807,10 +849,12 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
807
849
|
var orderB = (_orderMap$b$image_id = orderMap[b.image_id]) !== null && _orderMap$b$image_id !== void 0 ? _orderMap$b$image_id : Number.MAX_SAFE_INTEGER;
|
|
808
850
|
return orderA - orderB;
|
|
809
851
|
}); // Procesamiento de inputs del retailer activo (evita cascada con state.services)
|
|
852
|
+
// El retailer activo puede no traer datasheets; usamos data vacía como fallback
|
|
853
|
+
// para no reventar en Object.values(undefined).
|
|
810
854
|
|
|
811
|
-
retailerDatasheets = services[0][id_retailer];
|
|
855
|
+
retailerDatasheets = (_services$ = services[0]) === null || _services$ === void 0 ? void 0 : _services$[id_retailer];
|
|
812
856
|
datasheetsActiveRetailer = (0, _objectSpread5.default)((0, _objectSpread5.default)({}, retailerDatasheets), {}, {
|
|
813
|
-
data: Object.values(retailerDatasheets.data)
|
|
857
|
+
data: Object.values((_retailerDatasheets$d = retailerDatasheets === null || retailerDatasheets === void 0 ? void 0 : retailerDatasheets.data) !== null && _retailerDatasheets$d !== void 0 ? _retailerDatasheets$d : {})
|
|
814
858
|
});
|
|
815
859
|
descriptionsActiveRetailer = services[1].filter(function (item) {
|
|
816
860
|
return item.id === id_retailer;
|
|
@@ -823,15 +867,15 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
823
867
|
});
|
|
824
868
|
}); // Regenerar thumbnails de videos guardados para que se muestren.
|
|
825
869
|
|
|
826
|
-
_context4.next =
|
|
870
|
+
_context4.next = 34;
|
|
827
871
|
return regenerateVideoThumbnails(orderedValues);
|
|
828
872
|
|
|
829
|
-
case
|
|
873
|
+
case 34:
|
|
830
874
|
orderedValuesWithThumbs = _context4.sent;
|
|
831
|
-
_context4.next =
|
|
875
|
+
_context4.next = 37;
|
|
832
876
|
return regenerateVideoThumbnails(filteredValues);
|
|
833
877
|
|
|
834
|
-
case
|
|
878
|
+
case 37:
|
|
835
879
|
filteredValuesWithThumbs = _context4.sent;
|
|
836
880
|
// Dispatch consolidado
|
|
837
881
|
dispatch({
|
|
@@ -884,11 +928,11 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
884
928
|
loadAuditableData();
|
|
885
929
|
}
|
|
886
930
|
|
|
887
|
-
_context4.next =
|
|
931
|
+
_context4.next = 53;
|
|
888
932
|
break;
|
|
889
933
|
|
|
890
|
-
case
|
|
891
|
-
_context4.prev =
|
|
934
|
+
case 49:
|
|
935
|
+
_context4.prev = 49;
|
|
892
936
|
_context4.t0 = _context4["catch"](2);
|
|
893
937
|
console.log("Error loading data: ", _context4.t0);
|
|
894
938
|
dispatch({
|
|
@@ -896,20 +940,20 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
896
940
|
payload: [_context4.t0.message]
|
|
897
941
|
});
|
|
898
942
|
|
|
899
|
-
case
|
|
900
|
-
_context4.prev =
|
|
943
|
+
case 53:
|
|
944
|
+
_context4.prev = 53;
|
|
901
945
|
dispatch({
|
|
902
946
|
type: "SET_LOADING",
|
|
903
947
|
payload: false
|
|
904
948
|
});
|
|
905
|
-
return _context4.finish(
|
|
949
|
+
return _context4.finish(53);
|
|
906
950
|
|
|
907
|
-
case
|
|
951
|
+
case 56:
|
|
908
952
|
case "end":
|
|
909
953
|
return _context4.stop();
|
|
910
954
|
}
|
|
911
955
|
}
|
|
912
|
-
}, _callee4, null, [[2,
|
|
956
|
+
}, _callee4, null, [[2, 49, 53, 56]]);
|
|
913
957
|
}));
|
|
914
958
|
|
|
915
959
|
return function loadData() {
|
|
@@ -1965,6 +2009,56 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1965
2009
|
stateProduct: state.product
|
|
1966
2010
|
});
|
|
1967
2011
|
}, [state.product]);
|
|
2012
|
+
|
|
2013
|
+
var handleRetryLoad = function handleRetryLoad() {
|
|
2014
|
+
dispatch({
|
|
2015
|
+
type: "SET_ERRORS",
|
|
2016
|
+
payload: []
|
|
2017
|
+
});
|
|
2018
|
+
|
|
2019
|
+
if (state.active_retailer) {
|
|
2020
|
+
loadData();
|
|
2021
|
+
} else {
|
|
2022
|
+
initializeProduct();
|
|
2023
|
+
}
|
|
2024
|
+
}; // Si la carga falló y no tenemos servicios, mostramos un estado de error con
|
|
2025
|
+
// opción de reintentar en vez de quedarnos colgados en el skeleton.
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
if (!state.loading && ((_state$errors = state.errors) === null || _state$errors === void 0 ? void 0 : _state$errors.length) > 0 && !state.services) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
2029
|
+
headerTop: 0,
|
|
2030
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
|
|
2031
|
+
display: "flex",
|
|
2032
|
+
flexDirection: "column",
|
|
2033
|
+
alignItems: "center",
|
|
2034
|
+
justifyContent: "center",
|
|
2035
|
+
gap: 2,
|
|
2036
|
+
sx: {
|
|
2037
|
+
minHeight: "60vh",
|
|
2038
|
+
textAlign: "center",
|
|
2039
|
+
padding: "40px"
|
|
2040
|
+
},
|
|
2041
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
2042
|
+
src: _errorModal.default,
|
|
2043
|
+
alt: "error",
|
|
2044
|
+
width: 64,
|
|
2045
|
+
height: 64
|
|
2046
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
2047
|
+
text: "No pudimos cargar el producto",
|
|
2048
|
+
headerType: "input-name-header"
|
|
2049
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
2050
|
+
style: {
|
|
2051
|
+
color: "#666",
|
|
2052
|
+
maxWidth: 420
|
|
2053
|
+
},
|
|
2054
|
+
children: state.errors[0] || "Ocurrió un error al cargar la información del producto."
|
|
2055
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
2056
|
+
buttonType: "general-button-default",
|
|
2057
|
+
label: "Reintentar",
|
|
2058
|
+
onClick: handleRetryLoad
|
|
2059
|
+
})]
|
|
2060
|
+
})
|
|
2061
|
+
});
|
|
1968
2062
|
if (state.loading || !state.services || !state.product) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
1969
2063
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ProductEditionSkeleton, {})
|
|
1970
2064
|
});
|
|
@@ -2148,7 +2242,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2148
2242
|
, {
|
|
2149
2243
|
headerData: state.product,
|
|
2150
2244
|
productObservation: observation,
|
|
2151
|
-
percent: state.active_percentage.percentagesGeneral.required,
|
|
2245
|
+
percent: (_state$active_percent = (_state$active_percent2 = state.active_percentage) === null || _state$active_percent2 === void 0 ? void 0 : (_state$active_percent3 = _state$active_percent2.percentagesGeneral) === null || _state$active_percent3 === void 0 ? void 0 : _state$active_percent3.required) !== null && _state$active_percent !== void 0 ? _state$active_percent : 0,
|
|
2152
2246
|
activeRetailer: {
|
|
2153
2247
|
id: (_state$active_retaile7 = state.active_retailer) === null || _state$active_retaile7 === void 0 ? void 0 : _state$active_retaile7.id_retailer,
|
|
2154
2248
|
name: (_state$active_retaile8 = state.active_retailer) === null || _state$active_retaile8 === void 0 ? void 0 : _state$active_retaile8.retailer,
|
|
@@ -209,6 +209,10 @@ exports.translateConcept = translateConcept;
|
|
|
209
209
|
|
|
210
210
|
var getStatusArrayByRole = function getStatusArrayByRole(idRole) {
|
|
211
211
|
switch (idRole) {
|
|
212
|
+
// Admin: puede validar/rechazar en cualquier estado operable (unión de todos los roles).
|
|
213
|
+
case 1:
|
|
214
|
+
return ["PA", "AS", "CA", "RC", "RA", "RP", "RCA", "AC", "AA", "AP", "ACA"];
|
|
215
|
+
|
|
212
216
|
case 7:
|
|
213
217
|
case 8:
|
|
214
218
|
return ["PA", "AS", "CA", "RC", "RA", "RP", "RCA"];
|
package/package.json
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2725" height="359" viewBox="0 0 2725 359">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M 1673.75 332.49 C1659.41,318.33 1649.00,307.28 1649.00,306.22 C1649.00,302.68 1651.06,302.00 1661.76,302.00 L 1672.11 302.00 L 1671.41 278.71 C1670.58,251.07 1670.58,251.05 1678.29,250.90 C1682.67,250.82 1685.40,250.87 1685.94,249.80 C1686.79,248.12 1682.16,243.66 1669.93,231.50 L 1651.84 213.50 L 1634.35 231.50 L 1616.87 249.50 L 1624.47 250.00 C1629.72,250.35 1632.37,250.96 1633.02,252.00 C1633.54,252.82 1633.98,259.68 1633.98,267.23 C1634.00,280.43 1633.91,281.00 1631.75,282.23 C1629.97,283.23 1618.26,283.39 1576.00,282.97 C1523.30,282.45 1522.40,282.41 1515.50,280.11 C1501.62,275.47 1492.73,270.10 1482.64,260.23 C1460.42,238.50 1453.26,206.36 1464.04,176.74 C1472.58,153.29 1491.78,135.43 1516.00,128.41 L 1523.50 126.23 L 1524.19 115.92 C1525.45,97.19 1530.04,82.11 1538.77,68.04 C1552.10,46.57 1571.62,31.79 1596.50,24.34 C1604.73,21.88 1606.96,21.64 1622.50,21.63 C1636.91,21.62 1640.69,21.94 1647.33,23.79 C1656.66,26.37 1664.99,29.96 1674.47,35.46 C1684.03,41.00 1701.09,58.11 1706.96,68.04 L 1711.41 75.58 L 1719.46 73.16 C1726.02,71.19 1729.81,70.73 1740.00,70.68 C1755.17,70.59 1762.83,72.27 1775.50,78.47 C1792.27,86.68 1803.58,98.19 1812.12,115.75 C1817.11,125.99 1817.11,126.00 1820.81,126.01 C1833.13,126.06 1851.62,133.99 1864.79,144.86 C1875.04,153.32 1885.71,170.56 1889.63,185.00 C1892.35,195.01 1892.12,215.10 1889.17,225.44 C1881.48,252.39 1861.80,272.25 1834.50,280.63 L 1825.50 283.39 L 1776.25 283.77 L 1727.00 284.15 L 1727.00 302.00 L 1736.92 302.00 C1748.71,302.00 1750.00,302.38 1750.00,305.86 C1750.00,307.99 1745.22,313.29 1725.74,332.76 C1712.40,346.09 1700.81,356.98 1699.99,356.96 C1699.17,356.94 1687.36,345.93 1673.75,332.49 ZM 1734.78 311.10 C1734.93,310.69 1731.86,310.38 1727.95,310.42 C1718.16,310.53 1718.00,310.24 1718.00,292.92 C1718.00,281.34 1718.27,278.90 1719.75,277.13 C1721.48,275.07 1722.15,275.04 1774.50,274.74 C1826.98,274.45 1827.56,274.42 1834.00,272.13 C1853.83,265.07 1867.18,253.44 1876.03,235.50 C1881.45,224.53 1883.11,217.46 1883.19,205.00 C1883.37,178.85 1870.10,156.01 1847.00,142.72 C1839.94,138.66 1827.69,134.99 1818.92,134.31 C1812.37,133.81 1810.64,133.32 1809.45,131.63 C1808.65,130.49 1808.00,128.84 1808.00,127.97 C1808.00,127.11 1806.24,122.82 1804.09,118.45 C1791.92,93.73 1768.36,79.00 1741.00,79.00 C1730.82,79.00 1717.75,81.62 1713.26,84.57 C1709.04,87.33 1707.02,86.09 1702.88,78.17 C1697.67,68.19 1693.37,62.56 1684.67,54.29 C1648.78,20.20 1593.47,21.13 1558.48,56.42 C1546.66,68.34 1537.97,84.49 1534.49,101.03 C1533.65,105.02 1533.00,113.30 1533.00,119.94 C1533.00,128.19 1532.62,132.06 1531.75,132.76 C1531.06,133.32 1528.47,134.10 1526.00,134.51 C1507.25,137.57 1487.13,151.46 1477.18,168.24 C1470.30,179.82 1466.27,197.06 1467.53,209.50 C1470.57,239.52 1489.22,262.43 1518.50,272.12 C1525.38,274.39 1526.38,274.44 1575.25,274.78 L 1625.00 275.12 L 1625.00 259.00 L 1615.43 259.00 C1605.05,259.00 1602.00,258.06 1602.00,254.86 C1602.00,253.52 1610.29,244.24 1625.65,228.40 C1644.01,209.45 1649.85,204.00 1651.78,204.00 C1655.06,204.00 1703.00,251.25 1703.00,254.49 C1703.00,258.34 1701.14,259.00 1690.26,259.00 L 1679.92 259.00 L 1680.61 282.29 C1681.12,299.47 1680.99,306.15 1680.11,307.79 C1679.05,309.77 1678.15,310.00 1671.46,310.00 C1667.36,310.00 1664.00,310.26 1664.00,310.57 C1664.00,310.89 1672.17,319.11 1682.15,328.84 L 1700.29 346.54 L 1717.40 329.20 C1726.80,319.66 1734.62,311.52 1734.78,311.10 ZM 339.00 296.95 C292.47,291.21 252.14,254.06 241.99,207.60 C236.89,184.23 240.03,155.54 250.01,134.24 C275.90,78.99 337.95,53.44 393.88,75.01 C429.59,88.78 457.15,122.17 464.62,160.69 C466.87,172.29 466.87,194.63 464.61,205.14 C454.81,250.72 420.96,285.46 376.98,295.06 C366.50,297.34 349.19,298.21 339.00,296.95 ZM 376.02 274.11 C402.55,266.98 425.82,247.32 437.05,222.54 C447.58,199.32 448.15,169.91 438.53,146.25 C433.64,134.24 427.89,125.89 417.00,115.00 C397.06,95.05 376.16,86.94 348.25,88.30 C334.35,88.98 327.75,90.62 315.13,96.57 C287.48,109.60 268.10,134.60 262.46,164.52 C260.00,177.53 260.87,197.31 264.41,209.30 C268.80,224.12 275.78,236.41 286.01,247.35 C300.00,262.31 317.12,271.73 337.34,275.59 C347.19,277.47 366.24,276.74 376.02,274.11 ZM 943.06 296.95 C921.05,294.20 899.55,283.93 882.76,268.16 C868.11,254.41 855.53,233.16 850.39,213.50 C846.81,199.79 845.94,176.02 848.47,160.90 C858.43,101.32 906.08,61.96 960.92,67.99 C1014.17,73.85 1047.59,113.73 1051.55,176.14 C1052.18,186.11 1052.09,186.91 1050.11,188.89 L 1048.00 191.00 L 867.77 191.00 L 868.48 196.67 C870.22,210.58 875.93,226.02 883.66,237.68 C896.52,257.10 918.73,271.96 940.88,275.98 C949.48,277.54 968.08,277.34 977.01,275.59 C990.44,272.97 1003.57,267.41 1014.03,259.92 C1022.88,253.57 1026.13,251.07 1028.51,251.73 C1030.10,252.16 1031.31,254.02 1033.56,257.08 C1038.88,264.34 1038.31,266.03 1027.86,273.95 C1013.84,284.57 996.61,292.29 979.84,295.47 C969.53,297.43 952.40,298.11 943.06,296.95 ZM 122.00 296.38 C73.01,290.13 34.96,263.01 14.50,219.75 C0.43,190.01 -1.84,151.28 8.60,119.27 C14.93,99.89 25.27,82.83 39.77,67.85 C59.01,47.97 83.61,34.57 110.05,29.55 C135.95,24.64 164.40,27.54 188.27,37.54 C202.15,43.36 221.25,55.44 222.53,59.21 C223.71,62.70 215.21,74.00 211.40,74.00 C210.11,74.00 206.00,71.94 202.27,69.43 C181.60,55.47 160.30,48.86 136.00,48.86 C106.20,48.86 81.13,58.71 59.87,78.76 C30.61,106.36 18.09,149.10 27.45,189.43 C37.46,232.61 74.34,267.00 118.18,274.02 C130.38,275.98 153.35,274.81 164.61,271.66 C176.60,268.31 188.85,262.56 199.96,255.08 C204.93,251.74 210.08,249.00 211.41,249.00 C214.71,249.00 223.16,259.41 222.77,262.99 C222.39,266.48 209.64,275.48 194.50,282.95 C175.14,292.49 161.53,295.87 140.00,296.44 C132.02,296.65 123.93,296.62 122.00,296.38 ZM 1095.57 291.43 C1094.16,290.02 1094.00,278.72 1094.00,182.00 C1094.00,85.28 1094.16,73.98 1095.57,72.57 C1097.63,70.51 1108.80,70.41 1111.56,72.42 C1113.33,73.71 1113.54,75.50 1114.00,92.42 L 1114.50 111.01 L 1119.25 104.59 C1124.13,97.99 1133.10,89.62 1141.00,84.30 C1166.58,67.07 1198.70,62.54 1227.50,72.11 C1239.97,76.26 1249.09,81.92 1258.58,91.41 C1272.85,105.68 1280.36,122.32 1282.97,145.50 C1283.55,150.70 1283.99,182.82 1283.99,221.53 C1284.00,280.58 1283.81,288.82 1282.44,290.78 C1281.08,292.73 1279.99,293.00 1273.63,293.00 C1270.27,293.00 1267.91,293.63 1266.26,292.83 C1261.85,290.69 1262.41,278.31 1261.94,216.33 C1261.32,134.53 1261.63,138.38 1254.49,123.50 C1247.19,108.30 1233.88,96.66 1217.79,91.41 C1205.91,87.53 1186.97,86.85 1175.00,89.88 C1147.92,96.73 1126.20,116.34 1117.84,141.50 L 1115.52 148.50 L 1115.22 218.96 C1114.95,282.18 1114.76,289.61 1113.31,291.21 C1111.11,293.64 1097.94,293.80 1095.57,291.43 ZM 510.57 291.43 C509.16,290.02 509.00,278.72 509.00,182.00 C509.00,85.28 509.16,73.98 510.57,72.57 C511.67,71.47 514.06,71.00 518.57,71.00 C528.90,71.00 528.99,71.19 529.05,93.25 C529.10,110.72 529.18,111.40 530.80,109.04 C546.94,85.70 576.90,68.96 605.50,67.31 C624.19,66.24 643.97,70.68 658.50,79.22 C672.05,87.18 685.19,102.67 691.44,118.04 C698.39,135.15 698.98,143.27 698.99,221.53 C699.00,280.58 698.81,288.82 697.44,290.78 C696.08,292.73 694.99,293.00 688.63,293.00 C685.27,293.00 682.91,293.63 681.26,292.83 C676.85,290.69 677.41,278.31 676.94,216.33 C676.32,134.53 676.63,138.38 669.49,123.50 C662.19,108.30 648.88,96.66 632.79,91.41 C620.91,87.53 601.97,86.85 590.00,89.88 C562.92,96.73 541.20,116.34 532.84,141.50 L 530.52 148.50 L 530.22 218.96 C529.95,282.18 529.76,289.61 528.31,291.21 C526.11,293.64 512.94,293.80 510.57,291.43 ZM 1029.59 165.25 C1026.02,129.95 1005.32,101.14 976.61,91.50 C928.69,75.42 880.89,105.56 870.06,158.68 C868.93,164.25 868.00,169.53 868.00,170.41 C868.00,171.85 875.58,172.00 949.14,172.00 L 1030.28 172.00 ZM 1345.66 291.17 C1344.14,289.50 1344.00,281.05 1344.00,190.17 L 1344.00 91.00 L 1329.70 91.00 C1319.91,91.00 1315.02,90.62 1314.20,89.80 C1313.47,89.07 1313.00,85.54 1313.00,80.84 C1313.00,74.18 1313.28,72.92 1314.93,72.04 C1316.00,71.47 1322.97,71.00 1330.43,71.00 L 1344.00 71.00 L 1344.00 50.07 C1344.00,32.38 1344.24,28.90 1345.57,27.57 C1346.44,26.71 1347.45,26.00 1347.82,25.99 C1348.19,25.99 1351.32,25.53 1354.77,24.97 C1358.76,24.32 1361.19,23.78 1362.68,24.72 C1365.17,26.31 1365.00,32.07 1365.00,48.54 L 1365.00 71.00 L 1390.57 71.00 C1406.28,71.00 1416.88,71.40 1418.07,72.04 C1419.72,72.92 1420.00,74.18 1420.00,80.84 C1420.00,85.54 1419.53,89.07 1418.80,89.80 C1417.93,90.67 1410.42,91.00 1391.30,91.00 L 1365.00 91.00 L 1365.00 190.43 C1365.00,279.48 1364.84,290.02 1363.43,291.43 C1361.03,293.83 1347.89,293.64 1345.66,291.17 ZM 760.65 291.17 C759.14,289.50 759.00,281.05 759.00,190.17 L 759.00 91.00 L 744.70 91.00 C734.91,91.00 730.02,90.62 729.20,89.80 C728.49,89.09 728.00,85.66 728.00,81.37 C728.00,71.03 728.05,71.00 745.07,71.00 L 759.00 71.00 L 759.00 50.07 C759.00,32.38 759.24,28.90 760.57,27.57 C761.44,26.71 762.45,26.00 762.82,25.99 C763.19,25.99 766.32,25.53 769.77,24.97 C773.76,24.32 776.19,23.78 777.68,24.72 C780.17,26.31 780.00,32.07 780.00,48.54 L 780.00 71.00 L 805.57 71.00 C821.28,71.00 831.88,71.40 833.07,72.04 C834.72,72.92 835.00,74.18 835.00,80.84 C835.00,85.54 834.53,89.07 833.80,89.80 C832.93,90.67 825.42,91.00 806.30,91.00 L 780.00 91.00 L 780.00 190.43 C780.00,279.48 779.84,290.02 778.43,291.43 C776.03,293.83 762.89,293.64 760.65,291.17 ZM 1631.20 128.87 C1619.86,123.26 1616.92,108.85 1625.19,99.44 C1629.43,94.61 1633.25,92.84 1639.55,92.79 C1647.17,92.72 1652.97,96.29 1656.40,103.18 C1657.83,106.05 1659.00,109.54 1658.99,110.95 C1658.96,125.60 1644.04,135.23 1631.20,128.87 ZM 1682.44 120.90 C1681.22,118.94 1687.35,111.79 1692.93,108.65 C1697.57,106.05 1699.63,105.54 1706.93,105.23 C1713.97,104.93 1716.12,105.21 1719.00,106.79 C1723.90,109.48 1725.77,113.00 1724.18,116.51 C1723.12,118.83 1722.49,119.14 1719.72,118.71 C1717.95,118.44 1714.70,117.51 1712.50,116.65 C1704.76,113.63 1694.22,115.07 1686.85,120.17 C1683.75,122.31 1683.35,122.37 1682.44,120.90 Z" fill="rgba(108,64,146,1)"/>
|
|
4
|
+
<path d="M 2312.74 300.42 C2276.29,293.83 2253.57,271.42 2243.90,232.50 C2242.98,228.81 2242.56,207.60 2242.28,151.41 C2241.93,80.75 2242.03,75.22 2243.61,73.91 C2245.86,72.04 2260.35,71.95 2262.20,73.80 C2263.23,74.83 2263.61,90.40 2264.03,149.80 C2264.56,223.98 2264.58,224.55 2266.85,231.97 C2275.24,259.43 2294.23,276.00 2321.98,280.06 C2331.55,281.46 2344.66,280.83 2353.50,278.54 C2362.14,276.31 2378.48,267.94 2385.72,262.03 C2396.55,253.20 2404.97,241.29 2410.28,227.28 C2412.44,221.57 2412.48,220.58 2412.99,148.30 C2413.39,90.92 2413.78,74.82 2414.77,73.83 C2415.59,73.01 2418.95,72.54 2424.10,72.53 C2430.94,72.50 2432.37,72.79 2433.58,74.44 C2434.79,76.09 2435.00,92.77 2435.00,185.19 C2435.00,292.67 2434.98,294.02 2433.00,296.00 C2430.46,298.54 2420.62,298.82 2417.22,296.44 C2415.17,295.00 2414.99,294.05 2414.87,283.69 C2414.80,277.54 2414.46,269.14 2414.12,265.03 L 2413.50 257.56 L 2411.58 260.53 C2399.55,279.09 2372.19,296.17 2347.61,300.45 C2336.87,302.33 2323.22,302.31 2312.74,300.42 ZM 2594.50 300.53 C2566.86,295.42 2543.18,278.46 2527.63,252.64 L 2524.29 247.10 L 2523.65 255.30 C2523.30,259.81 2523.00,270.48 2522.99,279.00 C2522.98,287.52 2522.55,295.17 2522.03,295.98 C2520.66,298.15 2507.19,298.67 2504.50,296.66 C2502.52,295.18 2502.50,293.85 2502.26,151.33 C2502.06,36.72 2502.27,6.99 2503.28,5.00 C2504.46,2.68 2505.14,2.48 2512.87,2.21 C2518.15,2.02 2521.71,2.34 2522.60,3.08 C2523.77,4.05 2524.01,13.97 2524.06,63.87 C2524.10,110.42 2524.38,123.08 2525.31,121.60 C2542.88,93.50 2561.00,78.95 2587.43,71.71 C2594.45,69.79 2597.91,69.51 2614.00,69.55 C2631.24,69.60 2633.11,69.79 2641.40,72.34 C2682.15,84.87 2710.13,116.23 2719.61,160.00 C2721.91,170.64 2722.20,197.92 2720.13,208.50 C2715.43,232.43 2705.37,252.28 2689.59,268.78 C2672.53,286.61 2652.61,297.36 2630.00,300.95 C2621.28,302.34 2603.12,302.12 2594.50,300.53 ZM 2633.00 278.97 C2669.29,270.35 2696.40,236.87 2699.92,196.35 C2701.77,175.04 2698.41,156.35 2689.51,138.50 C2679.93,119.31 2667.75,107.00 2649.50,98.06 C2636.15,91.53 2628.39,89.71 2613.50,89.61 C2599.01,89.52 2589.02,91.56 2577.38,96.97 C2556.82,106.53 2542.53,120.94 2532.58,142.15 C2526.74,154.60 2524.05,165.76 2523.31,180.56 C2521.21,222.98 2543.05,259.78 2579.28,274.84 C2589.64,279.15 2598.81,280.83 2612.50,280.91 C2621.28,280.97 2626.78,280.44 2633.00,278.97 ZM 1962.44 296.58 C1960.54,295.19 1960.50,292.56 1960.26,166.33 C1960.07,63.89 1960.28,36.99 1961.29,35.00 C1962.47,32.66 1963.12,32.48 1971.17,32.21 C1978.02,31.98 1980.11,32.25 1981.39,33.53 C1982.83,34.98 1983.00,41.21 1983.00,93.57 L 1983.00 152.00 L 2068.50 152.00 L 2154.00 152.00 L 2154.00 94.22 C2154.00,43.55 2154.19,36.17 2155.56,34.22 C2156.95,32.23 2157.97,32.00 2165.49,32.00 C2171.76,32.00 2174.25,32.39 2175.43,33.57 C2176.84,34.98 2177.00,48.24 2177.00,164.57 C2177.00,314.36 2178.39,298.00 2165.69,298.00 C2153.34,298.00 2154.54,304.73 2154.23,234.08 L 2153.95 173.00 L 2068.48 173.00 L 1983.00 173.00 L 1983.00 233.50 C1983.00,304.20 1984.09,298.00 1971.69,298.00 C1966.96,298.00 1963.70,297.50 1962.44,296.58 ZM 1657.00 184.45 C1653.43,183.68 1646.31,180.99 1641.20,178.46 C1633.92,174.86 1630.29,172.26 1624.54,166.50 C1616.08,158.05 1614.90,155.66 1617.75,152.80 C1619.70,150.86 1619.77,150.86 1628.11,153.80 C1643.06,159.07 1651.12,160.45 1667.00,160.44 C1683.76,160.43 1692.19,158.96 1710.75,152.82 C1723.74,148.52 1726.00,148.59 1726.00,153.28 C1726.00,158.79 1712.18,173.93 1702.28,179.27 C1690.70,185.52 1672.00,187.66 1657.00,184.45 Z" fill="rgba(205,46,138,1)"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2508" height="418" viewBox="0 0 2508 418">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M 1543.50 416.88 C1538.13,415.64 1529.00,410.97 1529.00,409.46 C1529.00,408.79 1529.61,407.74 1530.35,407.13 C1531.37,406.27 1533.18,406.75 1537.94,409.13 C1549.22,414.77 1562.90,413.89 1569.40,407.11 C1572.67,403.69 1575.00,396.47 1575.00,389.71 L 1575.00 384.75 L 1570.44 388.95 C1564.58,394.35 1559.96,396.24 1552.50,396.29 C1536.59,396.39 1524.99,384.20 1526.23,368.70 C1526.81,361.51 1528.62,357.45 1533.36,352.70 C1538.04,348.02 1543.48,345.68 1550.79,345.19 C1558.70,344.65 1564.76,346.81 1570.69,352.28 L 1575.00 356.25 L 1575.00 351.13 C1575.00,346.32 1575.16,346.00 1577.50,346.00 L 1580.00 346.00 L 1580.00 371.82 C1580.00,401.81 1579.49,404.45 1572.52,410.87 C1565.68,417.18 1554.67,419.45 1543.50,416.88 ZM 1964.00 416.63 C1958.67,415.08 1951.42,411.48 1950.45,409.92 C1950.07,409.31 1950.46,408.11 1951.31,407.26 C1952.70,405.87 1953.20,405.92 1956.41,407.81 C1961.17,410.63 1969.44,413.00 1974.43,412.99 C1987.97,412.98 1995.93,404.87 1995.98,391.04 L 1996.00 384.58 L 1991.75 388.74 C1986.25,394.13 1981.05,396.24 1973.27,396.25 C1961.39,396.25 1951.57,389.09 1948.35,378.08 C1940.79,352.27 1972.78,333.82 1992.25,352.76 L 1996.00 356.41 L 1996.00 351.20 C1996.00,346.30 1996.14,346.00 1998.54,346.00 L 2001.09 346.00 L 2000.79 373.83 L 2000.50 401.66 L 1997.50 406.48 C1993.06,413.59 1986.05,417.26 1976.11,417.64 C1971.85,417.81 1966.52,417.36 1964.00,416.63 ZM 1899.91 400.45 C1880.51,394.47 1874.90,365.83 1890.45,352.18 C1896.13,347.19 1899.90,345.70 1908.00,345.23 C1914.98,344.83 1915.94,345.03 1921.91,348.15 C1939.17,357.17 1942.42,379.71 1928.47,393.66 C1920.71,401.42 1910.75,403.79 1899.91,400.45 ZM 2223.00 400.84 C2210.06,397.31 2201.11,382.01 2203.89,368.18 C2207.72,349.11 2226.75,339.54 2243.85,348.09 C2253.56,352.93 2258.94,361.70 2258.98,372.71 C2259.05,392.42 2241.74,405.95 2223.00,400.84 ZM 1334.56 400.57 C1325.67,397.27 1321.64,391.62 1322.26,383.32 C1322.80,376.13 1326.27,371.80 1333.74,368.97 C1338.72,367.09 1340.85,366.87 1349.50,367.32 C1355.00,367.61 1360.58,368.18 1361.91,368.58 C1364.28,369.30 1364.31,369.24 1363.65,364.41 C1362.82,358.26 1360.60,355.14 1354.94,352.17 C1351.18,350.20 1349.50,349.93 1344.00,350.37 C1340.43,350.66 1335.58,351.67 1333.24,352.61 C1328.59,354.47 1328.35,354.42 1327.85,351.55 C1327.28,348.39 1335.62,345.66 1346.00,345.61 C1356.31,345.57 1361.54,347.84 1365.75,354.19 L 1368.50 358.35 L 1369.14 401.00 L 1366.57 401.00 C1364.24,401.00 1364.00,400.63 1364.00,397.00 C1364.00,394.80 1363.76,393.00 1363.46,393.00 C1363.16,393.00 1361.70,394.12 1360.22,395.50 C1354.07,401.20 1342.43,403.50 1334.56,400.57 ZM 1712.48 400.61 C1706.39,398.70 1703.31,396.27 1701.05,391.60 C1698.65,386.64 1698.47,383.20 1700.39,378.61 C1703.94,370.12 1712.84,366.40 1727.44,367.31 C1732.42,367.62 1737.51,368.18 1738.75,368.55 C1740.82,369.18 1741.00,368.92 1741.00,365.26 C1741.00,360.90 1738.17,355.92 1733.90,352.76 C1729.87,349.77 1720.85,349.40 1713.00,351.90 C1707.02,353.80 1706.40,353.84 1705.28,352.34 C1703.62,350.11 1704.24,349.45 1709.75,347.55 C1724.79,342.36 1738.60,345.78 1743.75,355.97 C1745.86,360.15 1746.00,361.66 1746.00,380.78 L 1746.00 401.14 L 1743.75 400.82 C1741.94,400.56 1741.44,399.76 1741.19,396.75 L 1740.88 393.00 L 1737.08 396.06 C1730.36,401.46 1720.82,403.22 1712.48,400.61 ZM 1811.00 400.88 C1806.40,399.50 1801.37,395.61 1799.50,392.00 C1798.67,390.40 1798.00,386.89 1798.00,384.20 C1798.00,378.02 1800.92,373.43 1807.04,370.00 C1811.01,367.78 1812.66,367.50 1822.00,367.50 C1827.78,367.50 1833.96,367.83 1835.75,368.23 L 1839.00 368.95 L 1839.00 364.73 C1838.99,359.51 1836.19,354.69 1831.79,352.32 C1827.24,349.88 1816.05,349.90 1809.64,352.38 C1805.58,353.94 1804.63,354.02 1803.90,352.88 C1802.24,350.25 1803.03,349.30 1808.25,347.57 C1821.33,343.25 1832.96,344.89 1839.35,351.97 C1841.33,354.16 1843.30,357.20 1843.72,358.72 C1844.15,360.25 1844.50,370.27 1844.50,381.00 L 1844.50 400.50 L 1842.00 400.50 C1839.78,400.50 1839.50,400.08 1839.50,396.75 C1839.50,392.43 1839.04,392.19 1836.41,395.11 C1831.52,400.51 1819.11,403.33 1811.00,400.88 ZM 2241.59 394.34 C2253.74,388.07 2257.32,370.11 2248.67,358.81 C2243.82,352.45 2237.97,349.76 2230.00,350.21 C2218.07,350.89 2210.26,358.87 2209.25,371.42 C2208.10,385.80 2218.88,397.46 2232.59,396.66 C2235.39,396.50 2239.44,395.45 2241.59,394.34 ZM 1918.62 394.60 C1926.72,390.83 1931.00,383.61 1931.00,373.72 C1931.00,366.19 1929.02,360.98 1924.43,356.38 C1919.38,351.33 1914.60,349.64 1906.89,350.20 C1888.37,351.54 1880.28,375.27 1893.44,389.67 C1900.23,397.09 1909.40,398.89 1918.62,394.60 ZM 2120.52 399.25 C2120.15,398.29 2114.65,383.10 2108.32,365.50 C2101.99,347.90 2096.19,331.81 2095.45,329.75 L 2094.09 326.00 L 2097.29 326.01 L 2100.50 326.01 L 2111.91 358.54 C2118.19,376.43 2123.66,390.72 2124.07,390.29 C2124.49,389.85 2129.50,375.10 2135.23,357.50 C2144.33,329.52 2145.90,325.46 2147.77,325.19 C2149.75,324.90 2150.75,327.44 2160.69,357.94 C2166.62,376.12 2171.70,391.00 2171.98,391.00 C2172.27,390.99 2177.64,376.37 2183.92,358.50 L 2195.34 326.00 L 2198.24 326.00 C2200.60,326.00 2201.03,326.34 2200.55,327.85 C2200.22,328.87 2194.20,345.63 2187.15,365.10 C2178.24,389.72 2174.67,400.81 2171.55,400.68 C2168.89,400.57 2166.57,392.29 2161.55,377.28 C2157.17,364.20 2152.26,349.75 2150.62,345.17 L 2147.65 336.83 L 2145.89 341.67 C2144.92,344.33 2139.99,358.76 2134.94,373.75 C2126.52,398.71 2125.56,401.00 2123.48,401.00 C2122.23,401.00 2120.90,400.21 2120.52,399.25 ZM 1237.71 400.38 C1237.32,399.99 1237.00,383.09 1237.00,362.83 L 1237.00 326.00 L 1239.94 326.00 C1242.64,326.00 1244.01,327.68 1257.26,347.19 C1265.17,358.84 1272.06,368.51 1272.57,368.66 C1273.08,368.82 1280.02,359.28 1288.00,347.47 C1300.99,328.23 1302.78,326.00 1305.25,326.00 L 1308.00 326.00 L 1308.00 401.13 L 1305.25 400.82 L 1302.50 400.50 L 1302.00 368.76 L 1301.50 337.03 L 1287.10 357.96 C1272.92,378.56 1272.67,378.85 1271.03,376.69 C1270.11,375.49 1263.54,366.00 1256.43,355.61 L 1243.50 336.72 L 1243.00 368.61 C1242.51,399.76 1242.45,400.51 1240.46,400.79 C1239.34,400.95 1238.10,400.77 1237.71,400.38 ZM 1987.16 387.45 C1993.28,383.15 1995.96,377.97 1995.98,370.39 C1996.00,365.46 1995.50,363.55 1993.43,360.49 C1988.15,352.71 1981.50,349.51 1972.03,350.19 C1950.97,351.71 1945.70,379.15 1964.50,389.39 C1966.69,390.59 1969.56,390.95 1975.17,390.76 C1981.86,390.53 1983.39,390.11 1987.16,387.45 ZM 1562.50 389.12 C1584.05,379.24 1576.09,350.00 1551.85,350.00 C1546.17,350.00 1539.49,353.40 1535.64,358.24 C1532.45,362.25 1531.13,369.57 1532.39,376.29 C1533.17,380.42 1538.72,387.12 1543.20,389.33 C1547.71,391.55 1557.43,391.45 1562.50,389.12 ZM 1651.93 400.63 C1641.65,397.86 1633.11,390.45 1628.14,380.00 C1625.83,375.12 1625.53,373.27 1625.52,363.50 C1625.50,353.64 1625.78,351.91 1628.18,346.78 C1635.63,330.89 1652.10,322.07 1668.89,324.99 C1675.89,326.21 1685.44,330.71 1688.93,334.42 C1691.01,336.64 1691.01,336.68 1689.08,338.43 C1687.20,340.13 1686.99,340.08 1683.31,337.14 C1676.84,331.96 1670.82,329.87 1662.30,329.83 C1655.62,329.81 1653.91,330.21 1648.14,333.15 C1636.79,338.94 1630.76,349.42 1630.79,363.34 C1630.84,385.10 1648.70,400.32 1669.20,396.06 C1674.14,395.04 1678.31,392.85 1685.81,387.37 C1687.94,385.81 1688.24,385.81 1689.74,387.31 C1691.24,388.81 1691.23,389.09 1689.54,390.96 C1681.64,399.68 1664.64,404.06 1651.93,400.63 ZM 2313.00 323.00 L 2318.00 323.00 L 2318.00 351.50 C2318.00,367.17 2318.25,380.00 2318.56,380.00 C2318.87,380.00 2326.57,372.35 2335.67,363.00 C2349.55,348.75 2352.70,346.00 2355.11,346.00 C2356.70,346.00 2358.00,346.35 2358.00,346.77 C2358.00,347.19 2353.05,352.47 2347.00,358.50 C2340.95,364.53 2336.00,369.87 2336.00,370.36 C2336.00,370.86 2341.18,377.66 2347.50,385.48 C2353.82,393.30 2359.00,399.99 2359.00,400.35 C2359.00,400.71 2357.73,401.00 2356.17,401.00 C2353.75,401.00 2351.78,399.07 2342.42,387.54 L 2331.50 374.09 L 2318.00 387.45 L 2318.00 394.22 C2318.00,400.79 2317.92,401.00 2315.50,401.00 L 2313.00 401.00 L 2313.00 323.00 ZM 1385.00 323.00 L 1390.00 323.00 L 1390.00 351.50 C1390.00,367.17 1390.36,380.00 1390.80,380.00 C1391.25,380.00 1398.93,372.35 1407.88,363.00 C1423.13,347.07 1424.39,346.00 1427.81,346.00 L 1431.47 346.00 L 1419.73 357.77 C1413.28,364.24 1408.00,369.87 1408.00,370.28 C1408.00,370.69 1413.18,377.41 1419.50,385.21 C1425.82,393.02 1431.00,399.76 1431.00,400.20 C1431.00,400.64 1429.76,401.00 1428.25,400.99 C1425.93,400.98 1423.80,398.87 1414.55,387.39 L 1403.61 373.80 L 1396.80 380.78 L 1390.00 387.76 L 1390.00 394.38 C1390.00,400.77 1389.91,401.00 1387.50,401.00 L 1385.00 401.00 L 1385.00 323.00 ZM 1466.71 400.38 C1466.32,399.99 1466.00,387.59 1466.00,372.83 L 1466.00 346.00 L 1469.00 346.00 C1471.90,346.00 1472.00,346.16 1472.00,350.58 L 1472.00 355.15 L 1474.52 352.15 C1483.24,341.79 1501.61,342.71 1509.50,353.91 L 1512.50 358.17 L 1513.14 401.00 L 1508.00 401.00 L 1508.00 382.21 C1508.00,364.71 1507.85,363.12 1505.75,358.97 C1504.51,356.52 1501.93,353.46 1500.00,352.17 C1497.02,350.17 1495.52,349.88 1489.89,350.19 C1484.54,350.48 1482.59,351.08 1479.64,353.33 C1473.09,358.32 1472.56,360.28 1472.00,381.50 C1471.52,399.68 1471.41,400.51 1469.46,400.79 C1468.34,400.95 1467.10,400.77 1466.71,400.38 ZM 1826.32 395.93 C1834.28,393.72 1839.98,385.96 1839.99,377.33 C1840.00,374.34 1839.73,374.11 1834.95,373.08 C1826.78,371.33 1815.15,371.75 1810.26,373.97 C1802.47,377.51 1800.80,386.56 1806.87,392.37 C1811.43,396.74 1818.64,398.06 1826.32,395.93 ZM 1727.50 395.90 C1732.49,394.53 1737.54,390.79 1739.50,387.00 C1741.66,382.82 1741.50,374.42 1739.25,373.48 C1735.92,372.09 1717.44,371.70 1713.68,372.94 C1702.84,376.52 1701.99,390.37 1712.32,395.06 C1717.08,397.22 1721.72,397.48 1727.50,395.90 ZM 1354.74 394.13 C1360.54,391.18 1363.31,386.84 1363.81,379.96 C1364.31,373.00 1364.20,372.94 1350.39,372.25 C1338.63,371.67 1334.23,372.75 1330.53,377.14 C1327.52,380.72 1327.09,387.26 1329.63,390.89 C1333.91,396.99 1346.06,398.56 1354.74,394.13 ZM 2029.36 401.01 C2025.18,400.13 2015.56,395.71 2014.66,394.26 C2014.39,393.83 2014.75,392.69 2015.46,391.72 C2016.66,390.08 2017.09,390.15 2022.27,392.88 C2032.63,398.33 2042.35,397.93 2047.47,391.86 C2053.31,384.91 2049.27,379.81 2034.06,374.92 C2020.66,370.62 2017.00,367.49 2017.00,360.38 C2017.01,354.03 2019.60,349.86 2025.22,347.14 C2030.76,344.45 2036.88,344.41 2045.27,347.00 C2052.77,349.32 2054.41,350.71 2052.59,353.21 C2051.43,354.80 2050.94,354.75 2045.42,352.48 C2035.30,348.32 2025.54,349.87 2022.98,356.05 C2020.30,362.53 2023.87,366.25 2036.45,370.07 C2051.26,374.57 2055.46,378.35 2054.78,386.59 C2054.28,392.68 2051.44,397.09 2046.52,399.42 C2042.16,401.49 2034.83,402.17 2029.36,401.01 ZM 1775.21 401.05 C1773.40,400.60 1770.99,399.40 1769.86,398.37 C1765.39,394.32 1765.00,392.15 1765.00,371.05 L 1765.00 351.00 L 1761.00 351.00 C1757.40,351.00 1757.00,350.75 1757.00,348.50 C1757.00,346.25 1757.40,346.00 1761.00,346.00 L 1765.00 346.00 L 1765.00 337.50 C1765.00,329.10 1765.03,329.00 1767.50,329.00 C1769.97,329.00 1770.00,329.10 1770.00,337.50 L 1770.00 346.00 L 1779.50 346.00 C1788.97,346.00 1789.00,346.01 1789.00,348.50 C1789.00,350.99 1788.97,351.00 1779.50,351.00 L 1770.00 351.00 L 1770.00 369.53 C1770.00,391.77 1770.66,394.29 1776.97,395.99 C1779.24,396.60 1781.98,396.86 1783.05,396.55 C1784.12,396.25 1785.90,395.74 1787.00,395.43 C1788.62,394.97 1789.00,395.34 1789.00,397.37 C1789.00,398.88 1788.31,400.07 1787.25,400.38 C1783.32,401.53 1778.31,401.81 1775.21,401.05 ZM 2273.00 346.00 L 2275.46 346.00 C2277.80,346.00 2277.93,346.31 2278.21,353.01 L 2278.50 360.02 L 2282.00 355.31 C2285.75,350.26 2292.16,346.33 2298.30,345.34 C2301.91,344.75 2302.00,344.82 2302.00,347.87 C2302.00,350.26 2301.56,351.00 2300.13,351.00 C2296.44,351.00 2289.45,354.14 2286.13,357.29 C2279.84,363.26 2278.62,367.56 2278.18,385.25 L 2277.79 401.00 L 2273.00 401.00 L 2273.00 346.00 ZM 1862.00 323.00 L 1867.00 323.00 L 1867.00 401.00 L 1862.00 401.00 L 1862.00 323.00 ZM 1443.71 400.38 C1443.32,399.99 1443.00,387.59 1443.00,372.83 L 1443.00 346.00 L 1449.03 346.00 L 1448.77 373.25 C1448.51,399.82 1448.45,400.51 1446.46,400.79 C1445.34,400.95 1444.10,400.77 1443.71,400.38 ZM 1443.00 328.50 C1443.00,325.28 1443.24,325.00 1446.00,325.00 C1448.76,325.00 1449.00,325.28 1449.00,328.50 C1449.00,331.72 1448.76,332.00 1446.00,332.00 C1443.24,332.00 1443.00,331.72 1443.00,328.50 Z" fill="rgba(97,96,97,1)"/>
|
|
4
|
+
<path d="M 494.00 279.43 C492.62,279.19 488.12,278.50 484.00,277.89 C463.34,274.84 441.80,263.06 425.49,245.88 C410.86,230.47 401.39,212.20 397.56,191.99 C395.60,181.67 395.53,160.64 397.42,150.75 C408.55,92.61 462.86,54.09 520.50,63.47 C568.11,71.22 605.77,112.11 609.82,160.47 C612.73,195.21 601.44,225.89 577.17,249.19 C561.10,264.63 542.55,274.40 522.50,277.97 C515.74,279.17 497.81,280.09 494.00,279.43 ZM 521.56 258.10 C555.28,251.14 582.44,222.94 589.05,188.00 C590.78,178.88 590.54,161.02 588.57,151.76 C582.94,125.31 565.35,102.42 541.50,90.52 C528.25,83.91 519.12,81.74 504.00,81.62 C489.31,81.51 480.76,83.28 468.38,89.00 C448.82,98.03 434.72,111.69 425.01,131.00 C418.08,144.77 416.50,152.20 416.50,171.00 C416.50,185.43 416.80,188.50 418.87,195.50 C428.28,227.31 454.08,251.64 485.50,258.34 C495.40,260.46 510.66,260.35 521.56,258.10 ZM 1085.25 278.93 C1044.38,273.62 1009.64,242.27 998.29,200.48 C995.77,191.17 995.59,189.16 995.61,170.50 C995.63,152.18 995.85,149.70 998.21,140.93 C1009.45,99.27 1039.00,69.90 1076.22,63.39 C1088.02,61.32 1106.05,62.01 1117.50,64.97 C1159.09,75.70 1187.18,115.60 1188.26,165.45 C1188.50,176.23 1188.46,176.42 1186.00,177.69 C1184.02,178.70 1165.88,178.97 1099.25,178.99 C1018.51,179.00 1015.00,179.08 1015.00,180.82 C1015.00,184.34 1017.13,194.57 1019.19,201.00 C1037.99,259.50 1107.31,279.39 1157.72,240.76 C1162.49,237.10 1164.72,235.98 1166.33,236.42 C1168.93,237.14 1175.00,245.13 1175.00,247.84 C1175.00,251.66 1160.65,262.41 1146.71,269.03 C1128.02,277.91 1105.41,281.55 1085.25,278.93 ZM 249.10 277.45 C238.24,275.55 222.41,270.23 211.85,264.93 C173.58,245.73 146.61,209.76 138.44,167.00 C136.02,154.34 135.95,129.17 138.31,116.28 C148.98,57.80 192.69,14.58 251.50,4.35 C258.31,3.17 264.87,2.90 278.50,3.27 C294.36,3.69 297.87,4.10 308.00,6.76 C314.33,8.41 323.73,11.59 328.89,13.83 C345.28,20.93 363.00,32.89 363.00,36.87 C363.00,39.54 354.83,50.00 352.24,50.65 C350.54,51.08 348.08,50.02 343.08,46.69 C334.99,41.31 322.07,34.69 313.00,31.28 C290.61,22.85 260.55,22.48 237.43,30.36 C197.95,43.81 168.24,78.62 160.92,120.00 C159.21,129.64 159.21,152.36 160.92,162.00 C166.03,190.89 182.48,217.42 206.50,235.51 C214.99,241.90 232.83,250.51 244.00,253.59 C255.68,256.82 279.39,258.02 291.83,256.01 C308.07,253.39 326.46,245.72 341.22,235.40 C351.63,228.11 352.57,228.21 359.39,237.33 C364.61,244.30 364.27,245.88 356.25,251.78 C341.32,262.77 324.79,270.65 306.27,275.62 C297.64,277.93 294.22,278.28 277.00,278.58 C262.97,278.82 255.14,278.51 249.10,277.45 ZM 1238.20 273.80 C1236.46,272.06 1236.46,68.94 1238.20,67.20 C1239.85,65.55 1253.62,65.59 1254.69,67.25 C1255.14,67.94 1255.72,76.35 1256.00,85.93 L 1256.50 103.37 L 1259.30 99.13 C1268.42,85.32 1287.62,72.06 1308.00,65.50 C1318.42,62.14 1337.44,60.99 1349.77,62.97 C1383.57,68.40 1407.89,92.44 1414.42,126.86 C1415.77,133.98 1416.00,145.40 1416.00,203.91 C1416.00,256.00 1415.71,272.89 1414.80,273.80 C1413.37,275.23 1400.19,275.41 1398.00,274.02 C1396.70,273.20 1396.43,263.83 1395.96,203.29 C1395.36,125.73 1395.67,129.36 1388.30,114.00 C1376.62,89.65 1346.29,76.43 1316.21,82.57 C1306.94,84.47 1292.79,91.00 1284.31,97.31 C1276.37,103.21 1267.79,113.59 1263.48,122.52 C1262.29,124.97 1261.32,126.96 1260.53,129.03 C1257.02,138.21 1257.03,148.75 1257.01,207.18 C1257.00,264.63 1256.82,272.03 1255.43,273.43 C1253.48,275.37 1240.06,275.66 1238.20,273.80 ZM 660.20 273.80 C658.46,272.06 658.46,68.94 660.20,67.20 C661.71,65.69 675.62,65.58 676.55,67.08 C676.91,67.67 677.50,76.05 677.86,85.70 L 678.50 103.26 L 682.40 97.58 C693.41,81.58 718.15,66.82 740.47,62.93 C750.40,61.20 771.60,62.26 780.87,64.94 C808.20,72.85 827.03,92.13 835.12,120.50 C837.38,128.44 837.40,129.06 837.74,200.35 C837.99,253.83 837.78,272.56 836.92,273.60 C835.56,275.23 822.43,275.56 820.00,274.02 C818.70,273.20 818.43,263.82 817.94,203.29 C817.44,140.68 817.20,132.88 815.62,127.50 C810.29,109.33 799.21,95.55 784.00,88.18 C755.63,74.44 721.57,80.92 698.50,104.46 C690.76,112.36 686.08,119.58 682.12,129.76 L 679.50 136.50 L 679.21 203.97 C678.95,264.40 678.75,271.62 677.30,273.22 C676.04,274.61 674.13,275.00 668.54,275.00 C664.32,275.00 660.91,274.51 660.20,273.80 ZM 1168.17 156.50 C1167.62,149.52 1164.22,135.38 1161.40,128.32 C1156.88,117.02 1151.05,108.34 1142.36,99.99 C1128.70,86.86 1113.37,81.00 1092.71,81.00 C1071.67,81.00 1056.40,87.48 1041.00,102.96 C1035.78,108.21 1030.00,115.06 1028.17,118.19 C1021.81,129.02 1017.10,142.97 1015.48,155.76 L 1014.81 161.01 L 1091.65 160.76 L 1168.49 160.50 ZM 905.13 273.65 C904.33,272.69 903.94,245.77 903.76,178.40 L 903.50 84.50 L 890.07 84.22 C882.25,84.06 876.08,83.48 875.32,82.85 C873.62,81.44 873.52,68.88 875.20,67.20 C876.01,66.39 880.69,66.00 889.70,66.00 L 903.00 66.00 L 903.00 46.72 C903.00,24.59 903.30,23.59 910.24,22.52 C912.59,22.16 915.89,21.64 917.60,21.35 C923.66,20.34 924.00,21.62 924.00,45.07 L 924.00 66.00 L 948.80 66.00 C966.76,66.00 973.93,66.33 974.80,67.20 C976.38,68.78 976.38,81.22 974.80,82.80 C973.93,83.67 966.76,84.00 948.80,84.00 L 924.00 84.00 L 924.00 177.93 C924.00,261.98 923.83,272.02 922.43,273.43 C920.37,275.49 906.80,275.67 905.13,273.65 ZM 1483.13 273.65 C1482.33,272.69 1481.94,245.77 1481.76,178.40 L 1481.50 84.50 L 1468.07 84.22 C1460.25,84.06 1454.08,83.48 1453.32,82.85 C1452.47,82.14 1452.00,79.36 1452.00,75.00 C1452.00,70.64 1452.47,67.86 1453.32,67.15 C1454.08,66.52 1460.25,65.94 1468.07,65.78 L 1481.50 65.50 L 1481.77 45.58 C1481.93,33.72 1482.46,25.15 1483.08,24.40 C1483.65,23.72 1486.00,22.87 1488.31,22.51 C1490.61,22.16 1493.89,21.64 1495.60,21.35 C1501.66,20.34 1502.00,21.62 1502.00,45.07 L 1502.00 66.00 L 1526.80 66.00 C1544.76,66.00 1551.93,66.33 1552.80,67.20 C1553.49,67.89 1554.00,71.20 1554.00,75.00 C1554.00,78.80 1553.49,82.11 1552.80,82.80 C1551.93,83.67 1544.76,84.00 1526.80,84.00 L 1502.00 84.00 L 1502.00 177.93 C1502.00,261.98 1501.83,272.02 1500.43,273.43 C1498.37,275.49 1484.80,275.67 1483.13,273.65 ZM 1635.20 155.94 C1624.63,150.66 1619.03,141.51 1619.01,129.50 C1619.00,117.88 1624.72,108.16 1634.54,103.10 C1646.72,96.82 1662.13,99.66 1671.07,109.82 C1678.35,118.08 1680.30,131.32 1675.71,141.30 C1672.28,148.76 1668.77,152.46 1661.80,155.94 C1656.68,158.50 1654.51,159.00 1648.50,159.00 C1642.49,159.00 1640.32,158.50 1635.20,155.94 ZM 1715.46 143.94 C1713.10,140.12 1724.04,127.79 1733.93,123.11 C1746.85,117.00 1764.36,116.84 1773.91,122.75 C1781.96,127.72 1783.88,134.22 1778.74,139.04 C1775.98,141.63 1772.98,141.30 1764.00,137.43 C1758.52,135.08 1756.08,134.63 1748.50,134.59 C1738.24,134.54 1732.45,136.15 1723.51,141.54 C1717.27,145.30 1716.45,145.54 1715.46,143.94 Z" fill="rgba(107,62,148,1)"/>
|
|
5
|
+
<path d="M 1936.50 278.94 C1893.09,273.09 1857.36,240.95 1845.85,197.40 C1843.81,189.66 1843.50,186.22 1843.52,171.00 C1843.53,155.88 1843.85,152.28 1845.88,144.57 C1854.38,112.16 1876.79,85.13 1906.57,71.37 C1928.76,61.12 1957.95,59.28 1981.36,66.67 C2030.80,82.27 2062.48,130.51 2057.09,182.00 C2052.10,229.62 2018.04,267.66 1971.51,277.58 C1962.55,279.49 1945.49,280.15 1936.50,278.94 ZM 1968.83 258.05 C1999.99,251.62 2026.51,225.80 2035.12,193.50 C2038.17,182.07 2038.17,159.92 2035.12,148.50 C2030.58,131.52 2021.25,116.00 2008.54,104.30 C1986.84,84.30 1957.66,76.80 1929.50,83.99 C1885.39,95.25 1856.61,140.00 1864.04,185.79 C1867.70,208.38 1881.33,230.57 1899.51,243.55 C1910.16,251.14 1925.96,257.69 1937.50,259.29 C1945.66,260.41 1960.13,259.84 1968.83,258.05 ZM 2107.20 273.80 C2105.46,272.06 2105.46,2.94 2107.20,1.20 C2108.63,-0.23 2121.81,-0.41 2124.00,0.98 C2125.29,1.79 2125.57,8.97 2126.00,52.14 L 2126.50 102.36 L 2129.14 98.37 C2137.99,84.99 2156.98,71.95 2177.00,65.50 C2187.42,62.14 2206.43,60.99 2218.77,62.97 C2249.74,67.95 2272.72,88.30 2281.47,118.50 C2285.39,132.02 2286.00,144.27 2286.00,209.53 C2286.00,263.14 2285.81,270.82 2284.44,272.78 C2283.08,274.73 2282.00,275.00 2275.69,274.98 C2271.74,274.98 2267.82,274.54 2267.00,274.02 C2265.70,273.20 2265.43,263.84 2264.97,203.29 C2264.49,141.12 2264.24,132.84 2262.70,127.50 C2255.71,103.26 2238.41,87.23 2214.04,82.41 C2181.61,75.99 2146.17,93.82 2131.89,123.73 C2126.16,135.75 2126.04,137.44 2126.02,207.68 C2126.00,264.67 2125.82,272.03 2124.43,273.43 C2122.48,275.37 2109.06,275.66 2107.20,273.80 ZM 2348.90 272.73 C2337.71,265.25 2341.44,248.98 2354.71,247.36 C2359.55,246.77 2364.70,249.35 2367.73,253.90 C2375.60,265.68 2360.68,280.60 2348.90,272.73 ZM 1686.50 239.94 C1662.71,236.73 1641.15,225.70 1625.18,208.55 C1618.68,201.59 1616.12,197.54 1617.40,196.27 C1617.80,195.87 1620.91,196.58 1624.31,197.85 C1636.14,202.26 1649.65,205.97 1661.54,208.10 C1678.27,211.08 1704.55,211.07 1721.50,208.08 C1737.08,205.33 1753.51,200.93 1766.76,195.95 C1773.01,193.60 1777.73,192.33 1778.26,192.86 C1779.58,194.18 1774.85,202.87 1768.97,209.94 C1753.14,228.96 1730.85,239.52 1704.50,240.48 C1698.45,240.71 1690.35,240.46 1686.50,239.94 ZM 2347.57 204.43 C2346.16,203.02 2346.00,192.41 2346.00,102.63 C2346.00,26.01 2346.28,2.12 2347.20,1.20 C2349.08,-0.68 2363.47,-0.38 2365.43,1.57 C2366.84,2.98 2367.00,13.49 2367.00,102.35 C2367.00,190.52 2366.83,201.80 2365.44,203.78 C2364.07,205.73 2363.00,206.00 2356.51,206.00 C2351.15,206.00 2348.72,205.57 2347.57,204.43 Z" fill="rgba(207,44,143,1)"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
Binary file
|
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
ContainerPrincipal,
|
|
7
7
|
GlobalStyle,
|
|
8
8
|
} from "./styles";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import contentHub from "../../../assets/images/verticalSideMenuMainPage/content-hub.svg";
|
|
10
|
+
import contentOh from "../../../assets/images/verticalSideMenuMainPage/content-oh.svg";
|
|
11
|
+
import contentohAnimado from "../../../assets/images/verticalSideMenuMainPage/contentoh-animado.gif";
|
|
11
12
|
|
|
12
13
|
export const VerticalSideMenuMainPage = ({
|
|
13
14
|
menuoption = [],
|
|
@@ -19,15 +20,30 @@ export const VerticalSideMenuMainPage = ({
|
|
|
19
20
|
<ContainerPrincipal>
|
|
20
21
|
<Container
|
|
21
22
|
bar={trueBar}
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
/*
|
|
24
|
+
enter/leave y no over/out: los segundos burbujean, así que pasar el
|
|
25
|
+
cursor a un hijo (la firma del pie, un ícono) disparaba un mouseOut
|
|
26
|
+
en el Container y la barra se colapsaba. Al colapsarse desmontaba la
|
|
27
|
+
firma, el cursor volvía al Container, se expandía otra vez... y de
|
|
28
|
+
ahí el tambaleo. enter/leave sólo miran el borde del Container.
|
|
29
|
+
*/
|
|
30
|
+
onMouseEnter={() => setTrueBar(true)}
|
|
31
|
+
onMouseLeave={() => setTrueBar(false)}
|
|
24
32
|
>
|
|
25
33
|
<div className="navbar-top">
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
{/*
|
|
35
|
+
Colapsada la barra mide 66px, donde el logotipo completo (167px de
|
|
36
|
+
ancho a 22px de alto) no cabe: ahí va el isotipo animado. Cada uno
|
|
37
|
+
lleva su clase porque necesitan alto distinto para verse del mismo
|
|
38
|
+
tamaño (ver .logo-wordmark / .logo-isotype en styles).
|
|
39
|
+
*/}
|
|
40
|
+
<div className="logo-slot">
|
|
41
|
+
<img
|
|
42
|
+
src={trueBar ? contentHub : contentohAnimado}
|
|
43
|
+
alt="Content Hub"
|
|
44
|
+
className={`logo ${trueBar ? "logo-wordmark" : "logo-isotype"}`}
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
31
47
|
<div className="option">
|
|
32
48
|
{menuoption.map((item, index) => (
|
|
33
49
|
<div key={index} className="option-div">
|
|
@@ -50,6 +66,15 @@ export const VerticalSideMenuMainPage = ({
|
|
|
50
66
|
))}
|
|
51
67
|
</div>
|
|
52
68
|
</div>
|
|
69
|
+
|
|
70
|
+
{/*
|
|
71
|
+
Firma de Content-oh! al pie del aside. El `justify-content:
|
|
72
|
+
space-between` del Container la ancla abajo sin posicionamiento
|
|
73
|
+
extra. Solo se pinta con la barra expandida: colapsada no cabe.
|
|
74
|
+
*/}
|
|
75
|
+
{trueBar && (
|
|
76
|
+
<img src={contentOh} alt="Content-oh!" className="logo-footer" />
|
|
77
|
+
)}
|
|
53
78
|
</Container>
|
|
54
79
|
{containerdash}
|
|
55
80
|
</ContainerPrincipal>
|
|
@@ -2,10 +2,32 @@ import styled from "styled-components";
|
|
|
2
2
|
import { NavLink } from "react-router-dom";
|
|
3
3
|
import { createGlobalStyle } from "styled-components";
|
|
4
4
|
|
|
5
|
+
/*
|
|
6
|
+
Los logotipos llegan a color y el aside es un degradado morado, así que se
|
|
7
|
+
normalizan a blanco puro por filtro en vez de mantener una copia monocromática
|
|
8
|
+
de cada SVG: grayscale desatura, brightness(0) aplasta cualquier luminancia a
|
|
9
|
+
negro conservando el alfa, e invert(1) lo levanta a blanco. Al pasar por negro
|
|
10
|
+
el resultado es independiente del color original del archivo.
|
|
11
|
+
*/
|
|
12
|
+
const logoToWhite = "grayscale(1) brightness(0) invert(1)";
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
El logotipo original es de trazo fino y a 22px de alto se ve anémico sobre el
|
|
16
|
+
degradado. Una <img> no admite stroke, así que se engrosa ópticamente con
|
|
17
|
+
drop-shadows blancas en las cuatro cardinales: cada una se apila sobre la
|
|
18
|
+
anterior, lo que ensancha el trazo de forma pareja sin desenfocarlo (blur 0).
|
|
19
|
+
Va DESPUÉS de logoToWhite a propósito: antes del invert(1) estas sombras
|
|
20
|
+
blancas se voltearían a negro.
|
|
21
|
+
*/
|
|
22
|
+
const logoThicken = `
|
|
23
|
+
drop-shadow(0.15px 0 0 #fff) drop-shadow(-0.15px 0 0 #fff)
|
|
24
|
+
drop-shadow(0 0.15px 0 #fff) drop-shadow(0 -0.15px 0 #fff)
|
|
25
|
+
`;
|
|
26
|
+
|
|
5
27
|
export const Container = styled.div`
|
|
6
28
|
height: 100%;
|
|
7
29
|
box-sizing: border-box;
|
|
8
|
-
padding: 23px 0
|
|
30
|
+
padding: 23px 0 26px 0;
|
|
9
31
|
flex-direction: column;
|
|
10
32
|
justify-content: space-between;
|
|
11
33
|
overflow: none;
|
|
@@ -19,9 +41,47 @@ export const Container = styled.div`
|
|
|
19
41
|
& + * {
|
|
20
42
|
margin-left: 30px;
|
|
21
43
|
}
|
|
44
|
+
.logo-footer {
|
|
45
|
+
/*
|
|
46
|
+
Ambos logotipos son anchos (6:1 el del pie, 7.6:1 el de arriba), así que
|
|
47
|
+
el ancho es lo que decide si se ven parejos: 26px de alto dan ~156px,
|
|
48
|
+
cerca de los ~167px del logotipo superior a 22px.
|
|
49
|
+
*/
|
|
50
|
+
height: 26px;
|
|
51
|
+
align-self: center;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
opacity: 0.9;
|
|
54
|
+
filter: ${logoToWhite};
|
|
55
|
+
/* Firma anclada al pie: el space-between la baja hasta el padding. */
|
|
56
|
+
margin-top: auto;
|
|
57
|
+
}
|
|
22
58
|
.navbar-top {
|
|
59
|
+
/*
|
|
60
|
+
Caja de alto fijo: el isotipo animado "respira" (sus frames crecen de
|
|
61
|
+
156px a 192px de contenido) y sin este slot cada latido empujaría el menú
|
|
62
|
+
hacia abajo. También absorbe el cambio de alto entre logotipo e isotipo.
|
|
63
|
+
*/
|
|
64
|
+
.logo-slot {
|
|
65
|
+
height: 40px;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
}
|
|
23
70
|
.logo {
|
|
71
|
+
width: auto;
|
|
72
|
+
filter: ${logoToWhite};
|
|
73
|
+
}
|
|
74
|
+
.logo-wordmark {
|
|
24
75
|
height: 22px;
|
|
76
|
+
filter: ${logoToWhite} ${logoThicken};
|
|
77
|
+
}
|
|
78
|
+
/*
|
|
79
|
+
El GIF trae ~20% de lienzo transparente por eje (contenido útil de 240x192
|
|
80
|
+
dentro de 300x320), así que necesita más alto declarado que el SVG que
|
|
81
|
+
sustituye para leerse del mismo tamaño: 40px de caja ≈ 24px de glifo.
|
|
82
|
+
*/
|
|
83
|
+
.logo-isotype {
|
|
84
|
+
height: 40px;
|
|
25
85
|
}
|
|
26
86
|
.option {
|
|
27
87
|
.option-div {
|
|
@@ -358,7 +358,16 @@ const RetailerProductEditionView = ({
|
|
|
358
358
|
|
|
359
359
|
const { id_article } = productNormalized;
|
|
360
360
|
if (id_article) {
|
|
361
|
-
|
|
361
|
+
// Aislado: si version-manager falla (p. ej. CORS) no debe impedir
|
|
362
|
+
// que se cargue la observación de abajo.
|
|
363
|
+
try {
|
|
364
|
+
await getAuditVersion(id_article, setAuditableVersion, token);
|
|
365
|
+
} catch (auditError) {
|
|
366
|
+
console.warn(
|
|
367
|
+
"No se pudo obtener la versión auditable:",
|
|
368
|
+
auditError.message,
|
|
369
|
+
);
|
|
370
|
+
}
|
|
362
371
|
}
|
|
363
372
|
|
|
364
373
|
if (id_article && productNormalized.id_order) {
|
|
@@ -395,6 +404,8 @@ const RetailerProductEditionView = ({
|
|
|
395
404
|
auditableVersion.version,
|
|
396
405
|
token,
|
|
397
406
|
);
|
|
407
|
+
// getRetailerServices puede devolver undefined si falla; no seguimos.
|
|
408
|
+
if (!Array.isArray(auditServices)) return;
|
|
398
409
|
getInputsData(
|
|
399
410
|
auditServices,
|
|
400
411
|
{ id: state.active_retailer.id_retailer },
|
|
@@ -402,7 +413,6 @@ const RetailerProductEditionView = ({
|
|
|
402
413
|
setAuditDescriptions,
|
|
403
414
|
);
|
|
404
415
|
setAuditServices(auditServices);
|
|
405
|
-
setAuditImages(auditServices[2]);
|
|
406
416
|
};
|
|
407
417
|
|
|
408
418
|
useEffect(() => {
|
|
@@ -414,6 +424,7 @@ const RetailerProductEditionView = ({
|
|
|
414
424
|
const loadData = async (enableLoading = true, versionSelected = null) => {
|
|
415
425
|
try {
|
|
416
426
|
if (enableLoading) dispatch({ type: "SET_LOADING", payload: true });
|
|
427
|
+
dispatch({ type: "SET_ERRORS", payload: [] });
|
|
417
428
|
|
|
418
429
|
const { id_article, version, id_order } = state.product;
|
|
419
430
|
const { category, id_category, id_retailer } = state.active_retailer;
|
|
@@ -480,6 +491,16 @@ const RetailerProductEditionView = ({
|
|
|
480
491
|
]),
|
|
481
492
|
]);
|
|
482
493
|
|
|
494
|
+
// getRetailerServices se traga sus errores y devuelve undefined cuando
|
|
495
|
+
// alguna de sus llamadas falla. Si eso pasa, validamos aquí para lanzar
|
|
496
|
+
// un error controlado en vez de reventar más abajo en services[2]/services[0]
|
|
497
|
+
// y dejar la pantalla colgada en el skeleton para siempre.
|
|
498
|
+
if (!Array.isArray(services) || services.length < 3 || !services[2]) {
|
|
499
|
+
throw new Error(
|
|
500
|
+
"No se pudieron cargar los servicios del producto. Inténtalo de nuevo.",
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
|
|
483
504
|
dispatch({
|
|
484
505
|
type: "SET_RETAILER_STATUS",
|
|
485
506
|
payload: servicesDataRes.map((service) => ({
|
|
@@ -490,9 +511,16 @@ const RetailerProductEditionView = ({
|
|
|
490
511
|
})),
|
|
491
512
|
});
|
|
492
513
|
|
|
493
|
-
// Extraer relaciones del response
|
|
494
|
-
|
|
495
|
-
|
|
514
|
+
// Extraer relaciones del response. getPercentage se traga sus errores y
|
|
515
|
+
// devuelve undefined (p. ej. si CORS bloquea el endpoint), así que el
|
|
516
|
+
// JSON.parse va protegido para no tumbar toda la carga.
|
|
517
|
+
let percentages = [];
|
|
518
|
+
try {
|
|
519
|
+
percentages =
|
|
520
|
+
JSON.parse(percentagesRes?.[0]?.body)?.[0]?.relations ?? [];
|
|
521
|
+
} catch (e) {
|
|
522
|
+
console.warn("No se pudieron parsear los porcentajes:", e.message);
|
|
523
|
+
}
|
|
496
524
|
|
|
497
525
|
// Procesar comentarios
|
|
498
526
|
let commentsMap = {};
|
|
@@ -522,10 +550,12 @@ const RetailerProductEditionView = ({
|
|
|
522
550
|
});
|
|
523
551
|
|
|
524
552
|
// Procesamiento de inputs del retailer activo (evita cascada con state.services)
|
|
525
|
-
|
|
553
|
+
// El retailer activo puede no traer datasheets; usamos data vacía como fallback
|
|
554
|
+
// para no reventar en Object.values(undefined).
|
|
555
|
+
const retailerDatasheets = services[0]?.[id_retailer];
|
|
526
556
|
const datasheetsActiveRetailer = {
|
|
527
557
|
...retailerDatasheets,
|
|
528
|
-
data: Object.values(retailerDatasheets
|
|
558
|
+
data: Object.values(retailerDatasheets?.data ?? {}),
|
|
529
559
|
};
|
|
530
560
|
|
|
531
561
|
const descriptionsActiveRetailer = services[1].filter(
|
|
@@ -1449,6 +1479,46 @@ const RetailerProductEditionView = ({
|
|
|
1449
1479
|
console.log({ stateProduct: state.product });
|
|
1450
1480
|
}, [state.product]);
|
|
1451
1481
|
|
|
1482
|
+
const handleRetryLoad = () => {
|
|
1483
|
+
dispatch({ type: "SET_ERRORS", payload: [] });
|
|
1484
|
+
if (state.active_retailer) {
|
|
1485
|
+
loadData();
|
|
1486
|
+
} else {
|
|
1487
|
+
initializeProduct();
|
|
1488
|
+
}
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
// Si la carga falló y no tenemos servicios, mostramos un estado de error con
|
|
1492
|
+
// opción de reintentar en vez de quedarnos colgados en el skeleton.
|
|
1493
|
+
if (!state.loading && state.errors?.length > 0 && !state.services)
|
|
1494
|
+
return (
|
|
1495
|
+
<Container headerTop={0}>
|
|
1496
|
+
<Box
|
|
1497
|
+
display="flex"
|
|
1498
|
+
flexDirection="column"
|
|
1499
|
+
alignItems="center"
|
|
1500
|
+
justifyContent="center"
|
|
1501
|
+
gap={2}
|
|
1502
|
+
sx={{ minHeight: "60vh", textAlign: "center", padding: "40px" }}
|
|
1503
|
+
>
|
|
1504
|
+
<img src={errorIcon} alt="error" width={64} height={64} />
|
|
1505
|
+
<ScreenHeader
|
|
1506
|
+
text={"No pudimos cargar el producto"}
|
|
1507
|
+
headerType={"input-name-header"}
|
|
1508
|
+
/>
|
|
1509
|
+
<p style={{ color: "#666", maxWidth: 420 }}>
|
|
1510
|
+
{state.errors[0] ||
|
|
1511
|
+
"Ocurrió un error al cargar la información del producto."}
|
|
1512
|
+
</p>
|
|
1513
|
+
<Button
|
|
1514
|
+
buttonType={"general-button-default"}
|
|
1515
|
+
label={"Reintentar"}
|
|
1516
|
+
onClick={handleRetryLoad}
|
|
1517
|
+
/>
|
|
1518
|
+
</Box>
|
|
1519
|
+
</Container>
|
|
1520
|
+
);
|
|
1521
|
+
|
|
1452
1522
|
if (state.loading || !state.services || !state.product)
|
|
1453
1523
|
return (
|
|
1454
1524
|
<>
|
|
@@ -1672,7 +1742,9 @@ const RetailerProductEditionView = ({
|
|
|
1672
1742
|
// states
|
|
1673
1743
|
headerData={state.product}
|
|
1674
1744
|
productObservation={observation}
|
|
1675
|
-
percent={
|
|
1745
|
+
percent={
|
|
1746
|
+
state.active_percentage?.percentagesGeneral?.required ?? 0
|
|
1747
|
+
}
|
|
1676
1748
|
activeRetailer={{
|
|
1677
1749
|
id: state.active_retailer?.id_retailer,
|
|
1678
1750
|
name: state.active_retailer?.retailer,
|
|
@@ -154,6 +154,21 @@ export const translateConcept = (concept) => CONCEPT_TO_TAB[concept];
|
|
|
154
154
|
|
|
155
155
|
export const getStatusArrayByRole = (idRole) => {
|
|
156
156
|
switch (idRole) {
|
|
157
|
+
// Admin: puede validar/rechazar en cualquier estado operable (unión de todos los roles).
|
|
158
|
+
case 1:
|
|
159
|
+
return [
|
|
160
|
+
"PA",
|
|
161
|
+
"AS",
|
|
162
|
+
"CA",
|
|
163
|
+
"RC",
|
|
164
|
+
"RA",
|
|
165
|
+
"RP",
|
|
166
|
+
"RCA",
|
|
167
|
+
"AC",
|
|
168
|
+
"AA",
|
|
169
|
+
"AP",
|
|
170
|
+
"ACA",
|
|
171
|
+
];
|
|
157
172
|
case 7:
|
|
158
173
|
case 8:
|
|
159
174
|
return ["PA", "AS", "CA", "RC", "RA", "RP", "RCA"];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.generateAttributePrompt = void 0;
|
|
7
|
-
|
|
8
|
-
var generateAttributePrompt = function generateAttributePrompt(_ref) {
|
|
9
|
-
var _ref$upc = _ref.upc,
|
|
10
|
-
upc = _ref$upc === void 0 ? 0 : _ref$upc,
|
|
11
|
-
_ref$inputName = _ref.inputName,
|
|
12
|
-
inputName = _ref$inputName === void 0 ? "" : _ref$inputName,
|
|
13
|
-
_ref$description = _ref.description,
|
|
14
|
-
description = _ref$description === void 0 ? "" : _ref$description,
|
|
15
|
-
_ref$currentValue = _ref.currentValue,
|
|
16
|
-
currentValue = _ref$currentValue === void 0 ? "" : _ref$currentValue,
|
|
17
|
-
_ref$name = _ref.name,
|
|
18
|
-
name = _ref$name === void 0 ? "" : _ref$name,
|
|
19
|
-
_ref$category = _ref.category,
|
|
20
|
-
category = _ref$category === void 0 ? "" : _ref$category,
|
|
21
|
-
_ref$retailer = _ref.retailer,
|
|
22
|
-
retailer = _ref$retailer === void 0 ? "" : _ref$retailer,
|
|
23
|
-
_ref$maxChar = _ref.maxChar,
|
|
24
|
-
maxChar = _ref$maxChar === void 0 ? 100 : _ref$maxChar;
|
|
25
|
-
return "\n Eres un especialista en la generaci\xF3n, optimizaci\xF3n, mejora y captura de atributos de la ficha t\xE9cnica de productos para cat\xE1logos en l\xEDnea.\n Tu tarea es crear atributos claros, concisos y relevantes que resalten las caracter\xEDsticas y beneficios del producto, utilizando un lenguaje preciso y adaptado al p\xFAblico objetivo.\n\n Datos del producto:\n - UPC: ".concat(upc, "\n - Nombre del producto: ").concat(name, "\n - Categor\xEDa: ").concat(category, "\n - Nombre del atributo: ").concat(inputName, "\n - Requerimiento del atributo: ").concat(description, "\n - Valor actual del atributo: ").concat(currentValue, "\n - Cadena comercial dirigida: ").concat(retailer, "\n\n Instrucciones:\n 1. Analiza el nombre del producto y la categor\xEDa para entender su contexto.\n 2. Analiza la descripci\xF3n del atributo actual del producto.\n 3. Identifica la informaci\xF3n clave del atributo que sean relevantes y \xFAtiles para los clientes potenciales.\n 4. Genera una lista de atributos que:\n - Cumplan con la descripcion del atributo proporcionada, no inventes datos o cambies el contexto de lo que pide la descripci\xF3n del atributo.\n - Sean claros y f\xE1ciles de entender.\n - Destaquen las caracter\xEDsticas y beneficios clave del producto.\n - Utilicen un lenguaje preciso y adaptado al p\xFAblico objetivo.\n - Mantengan un tono profesional y coherente con la marca.\n - Aumenten la probabilidad de compra del producto.\n - No excedan los ").concat(maxChar, " caracteres en total.\n - Si existe ejemplo en la descripci\xF3n del atributo, sigue el mismo formato para generar los atributos.\n 5. No incluyas emojis ni signos especiales (*/+\xB4!\xA1?\xBF)\n 6. No repitas el encabezado: ").concat(inputName, "\n 7. No incluyas call to action, ejemplo: \"!Compra ya!\" \"!Da click!\" \"!Apurate!\"\n\n Aseg\xFArate de que los atributos generados cumplan con todas las instrucciones proporcionadas.\n\n No lo olvides, el objetivo principal es mejorar la captura de atributos para la ficha t\xE9cnica del producto para atraer, convencer y dar la informaci\xF3n completa a los clientes potenciales que puedan realizar una compra.\n ");
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
exports.generateAttributePrompt = generateAttributePrompt;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.generateDescriptionPrompt = void 0;
|
|
7
|
-
|
|
8
|
-
// Cadena y Proveedor
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* La cadena ${cadena} tiene estas reglas ${reglas} para el tipo de descripcion que es: ${descripcion}
|
|
12
|
-
*/
|
|
13
|
-
var generateDescriptionPrompt = function generateDescriptionPrompt(_ref) {
|
|
14
|
-
var _ref$upc = _ref.upc,
|
|
15
|
-
upc = _ref$upc === void 0 ? 0 : _ref$upc,
|
|
16
|
-
_ref$inputName = _ref.inputName,
|
|
17
|
-
inputName = _ref$inputName === void 0 ? "" : _ref$inputName,
|
|
18
|
-
_ref$description = _ref.description,
|
|
19
|
-
description = _ref$description === void 0 ? "" : _ref$description,
|
|
20
|
-
_ref$currentValue = _ref.currentValue,
|
|
21
|
-
currentValue = _ref$currentValue === void 0 ? "" : _ref$currentValue,
|
|
22
|
-
_ref$name = _ref.name,
|
|
23
|
-
name = _ref$name === void 0 ? "" : _ref$name,
|
|
24
|
-
_ref$category = _ref.category,
|
|
25
|
-
category = _ref$category === void 0 ? "" : _ref$category,
|
|
26
|
-
_ref$retailer = _ref.retailer,
|
|
27
|
-
retailer = _ref$retailer === void 0 ? "" : _ref$retailer,
|
|
28
|
-
_ref$maxChar = _ref.maxChar,
|
|
29
|
-
maxChar = _ref$maxChar === void 0 ? 100 : _ref$maxChar;
|
|
30
|
-
return "\n Eres un especialista en la generaci\xF3n, optimizaci\xF3n y mejora de descripciones de productos para cat\xE1logos en l\xEDnea.\n Tu tarea es crear descripciones claras, concisas y atractivas que resalten las caracter\xEDsticas y beneficios del producto, utilizando un lenguaje persuasivo y adaptado al p\xFAblico objetivo.\n\n Datos del producto:\n - UPC: ".concat(upc, "\n - Nombre del producto: ").concat(name, "\n - Categor\xEDa: ").concat(category, "\n - Encabezado de la descripci\xF3n: ").concat(inputName, "\n - Requerimiento de la descripcion: ").concat(description, "\n - Descripcion actual del producto: ").concat(currentValue, "\n - Cadena comercial dirigida: ").concat(retailer, "\n\n Instrucciones:\n 1. Analiza la descripci\xF3n actual del producto en caso de tenerla.\n 2. Identifica \xE1reas de mejora, como claridad, concisi\xF3n, atractivo y relevancia.\n 3. Genera una descripci\xF3n que:\n - Sea clara y f\xE1cil de entender.\n - Destaque las caracter\xEDsticas y beneficios clave del producto.\n - Utilice un lenguaje persuasivo y adaptado al p\xFAblico objetivo.\n - Mantenga un tono profesional y coherente con la marca.\n - No exceda los ").concat(maxChar, " caracteres.\n - Aumente la probabilidad de compra del producto, utilizando persuasi\xF3n en la necesidad de compra del producto.\n 4. No incluyas emojis ni signos especiales (*/+\xB4!\xA1?\xBF)\n 5. No repitas el encabezado: ").concat(inputName, "\n 6. No incluyas call to action, ejemplo: \"!Compra ya!\" \"!Da click!\" \"!Apurate!\"\n\n\n Aseg\xFArate de que la descripci\xF3n generada cumpla con todas las instrucciones proporcionadas.\n\n No lo olvides, el objetivo principal es mejorar la descripci\xF3n del producto para atraer y convencer a los clientes potenciales de realizar una compra. Eres un experto en marketing y redacci\xF3n persuasiva.\n\n Nota: No estas hablando con los clientes, estas descripciones ir\xE1n en la tienda de E-commerce de la cadena comercial. No realices saludos, despedidas, sugerencias\n ");
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
exports.generateDescriptionPrompt = generateDescriptionPrompt;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var schema = {
|
|
8
|
-
type: "object",
|
|
9
|
-
properties: {
|
|
10
|
-
results: {
|
|
11
|
-
type: "array",
|
|
12
|
-
items: {
|
|
13
|
-
type: "object",
|
|
14
|
-
properties: {
|
|
15
|
-
label: {
|
|
16
|
-
type: "string"
|
|
17
|
-
},
|
|
18
|
-
value: {
|
|
19
|
-
type: "string"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
maxItems: 3
|
|
24
|
-
},
|
|
25
|
-
compliance_warnings: {
|
|
26
|
-
type: "array",
|
|
27
|
-
items: {
|
|
28
|
-
type: "string"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
required: ["results"]
|
|
33
|
-
};
|
|
34
|
-
var _default = schema;
|
|
35
|
-
exports.default = _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var schema = {
|
|
8
|
-
type: "object",
|
|
9
|
-
properties: {
|
|
10
|
-
results: {
|
|
11
|
-
type: "array",
|
|
12
|
-
items: {
|
|
13
|
-
type: "object",
|
|
14
|
-
properties: {
|
|
15
|
-
value: {
|
|
16
|
-
type: "string"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
minItems: 1,
|
|
21
|
-
maxItems: 3
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
required: ["results"]
|
|
25
|
-
};
|
|
26
|
-
var _default = schema;
|
|
27
|
-
exports.default = _default;
|