// @ts-nocheck
"use client";

import React, { useRef, useState, useEffect, useMemo, useId } from "react";
import { useRouter } from "next/navigation";
import { Loader } from "./Loader";
import { CalloutButton } from "./CalloutButton";
import { LanguageTransitionButton } from "./LanguageTransitionButton";
import { DayNightSwitch } from "./DayNightSwitch";
import { useLanguage } from "./LanguageContext";
import * as n from "@/lib/themeTokens";

const t = React;

function jsx(type: any, props: any, key?: any) {
  if (key !== undefined) {
    return React.createElement(type, { ...props, key });
  }
  return React.createElement(type, props);
}

const e = {
  jsx,
  jsxs: jsx,
};

const L = {
  useRouter,
};

const g = {
  useLanguage,
};

const p = {
  Loader,
};

const x = {
  CalloutButton,
};

const M = {
  LanguageTransitionButton,
};

const v = {
  DayNightSwitch,
};

let currentTweenCancel: (() => void) | null = null;
const r = {
  gsap: {
    to: (
      target: { z: number; x: number; y: number },
      vars: { z?: number; x?: number; y?: number; duration?: number; ease?: string; onUpdate?: () => void }
    ) => {
      if (currentTweenCancel) {
        currentTweenCancel();
        currentTweenCancel = null;
      }

      const startZ = target.z;
      const startX = target.x;
      const startY = target.y;
      const endZ = vars.z !== undefined ? vars.z : startZ;
      const endX = vars.x !== undefined ? vars.x : startX;
      const endY = vars.y !== undefined ? vars.y : startY;
      const duration = (vars.duration ?? 0.6) * 1000;
      const startTime = performance.now();
      let animId: number;

      let canceled = false;
      currentTweenCancel = () => {
        canceled = true;
        cancelAnimationFrame(animId);
      };

      function frame(now: number) {
        if (canceled) return;
        const elapsed = now - startTime;
        const progress = Math.min(1, elapsed / duration);
        const easeVal = 1 - (1 - progress) * (1 - progress);

        target.z = startZ + (endZ - startZ) * easeVal;
        target.x = startX + (endX - startX) * easeVal;
        target.y = startY + (endY - startY) * easeVal;

        if (vars.onUpdate) {
          vars.onUpdate();
        }

        if (progress < 1) {
          animId = requestAnimationFrame(frame);
        } else {
          currentTweenCancel = null;
        }
      }

      animId = requestAnimationFrame(frame);
    },
  },
};

let o = { u: 0.523, v: 0.532, widthFrac: 0.685 },
  a = [
    {
      id: "central",
      text: { en: "CENTRAL REGION", ar: "المنطقة الوسطى" },
      u: 0.453,
      v: 0.48,
      widthFrac: 0.08,
      camera: { u: 0.52, v: 0.445, scale: 1.8 },
    },
    {
      id: "western",
      text: { en: "WESTERN REGION", ar: "المنطقة الغربية" },
      u: 0.3,
      v: 0.49,
      widthFrac: 0.08,
      camera: { u: 0.28, v: 0.5, scale: 1.5 },
    },
    {
      id: "eastern",
      text: { en: "EASTERN PROVINCE", ar: "المنطقة الشرقية" },
      u: 0.63,
      v: 0.53,
      widthFrac: 0.08,
      camera: { u: 0.7, v: 0.48, scale: 1.5 },
    },
    {
      id: "northern",
      text: { en: "NORTHERN REGION", ar: "المنطقة الشمالية" },
      u: 0.34,
      v: 0.35,
      widthFrac: 0.08,
      camera: { u: 0.34, v: 0.35, scale: 1.5 },
    },
    {
      id: "southern",
      text: { en: "SOUTHERN REGION", ar: "المنطقة الجنوبية" },
      u: 0.4,
      v: 0.6,
      widthFrac: 0.08,
      camera: { u: 0.4, v: 0.6, scale: 1.5 },
    },
  ],
  i = {
    central: {
      id: "word-central",
      text: { en: "Riyadh", ar: "الرياض" },
      u: 0.505,
      v: 0.44,
      widthFrac: 0.065,
      link: "/riyadhProjects",
    },
    western: [
      {
        id: "word-west-jeddah",
        text: { en: "Jeddah", ar: "جدة" },
        link: "/jeddahProjects",
        u: 0.245,
        v: 0.507,
        widthFrac: 0.055,
      },
      {
        id: "word-west-makkah",
        text: { en: "Makkah", ar: "مكة" },
        link: "/makkahProjects",
        u: 0.32,
        v: 0.518,
        widthFrac: 0.05,
      },
    ],
    eastern: {
      id: "word-east",
      text: "",
      u: 0.7,
      v: 0.48,
      widthFrac: 0.065,
    },
    northern: {
      id: "word-north",
      text: "",
      u: 0.34,
      v: 0.35,
      widthFrac: 0.065,
    },
    southern: {
      id: "word-south",
      text: "",
      u: 0.4,
      v: 0.6,
      widthFrac: 0.065,
    },
  },
  l = {
    height: 785,
    width: 1458,
    u: 0.446,
    v: 0.53,
    widthFrac: 0.73,
    svg: (0, e.jsxs)("svg", {
      width: "1458",
      height: "785",
      viewBox: "0 0 1458 785",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      children: [
        (0, e.jsx)("path", {
          d: "M818.935 41.0114H818.895C818.895 43.8914 818.895 46.0314 819.055 47.2914C818.615 47.2514 818.075 47.1914 817.415 47.1914C816.755 47.1914 816.215 47.2514 815.775 47.2914C815.895 45.5314 815.935 43.9914 815.935 41.7514V39.0314C815.935 36.7914 815.895 35.2514 815.775 33.4914C816.215 33.5314 816.755 33.5914 817.415 33.5914C818.075 33.5914 818.615 33.5314 819.055 33.4914C818.895 34.5514 818.895 37.2914 818.895 39.8714C820.695 37.7514 823.295 34.5114 823.995 33.4914C824.375 33.5314 824.735 33.5914 825.115 33.5914C825.475 33.5914 825.855 33.5314 826.315 33.4914C825.415 34.3914 822.195 37.9514 821.155 39.2514C822.875 41.8514 825.535 45.8714 826.615 47.2914C825.835 47.2514 825.255 47.1914 824.675 47.1914C824.095 47.1914 823.515 47.2514 822.935 47.2914C821.615 45.1914 820.255 43.0914 818.935 41.0114ZM834.441 47.5514C831.021 47.5514 828.361 46.0514 828.361 42.2914C828.361 40.1314 828.401 39.0514 828.401 37.6114C828.401 35.4914 828.361 34.1514 828.321 33.4914C828.861 33.5514 829.421 33.5914 829.961 33.5914C830.501 33.5914 831.061 33.5514 831.601 33.4914C831.341 36.0914 831.321 38.1714 831.321 40.4914C831.321 45.3714 832.721 46.1714 835.321 46.1714C838.521 46.1714 838.741 42.7114 838.741 38.9914C838.741 37.1514 838.681 35.3314 838.581 33.4914C838.921 33.5514 839.261 33.5914 839.601 33.5914C839.941 33.5914 840.261 33.5514 840.601 33.4914C840.481 34.6714 840.341 37.5314 840.341 40.9914C840.341 45.6314 838.321 47.5514 834.441 47.5514ZM852.088 37.4714H852.048C851.108 40.1914 849.468 44.4714 848.628 47.2914C848.288 47.2514 847.948 47.1914 847.608 47.1914C847.268 47.1914 846.908 47.2514 846.568 47.2914C845.708 43.7914 842.848 34.3514 842.548 33.4914C843.128 33.5514 843.688 33.5914 844.228 33.5914C844.768 33.5914 845.308 33.5514 845.848 33.4914C846.668 36.9114 847.708 40.7914 848.468 43.5914H848.508C849.688 40.2314 851.388 35.3514 851.948 33.4914C852.288 33.5514 852.608 33.5914 852.948 33.5914C853.288 33.5914 853.608 33.5514 853.948 33.4914C854.308 35.2714 856.388 40.9514 857.108 43.5914H857.148C858.168 40.2314 859.748 35.0714 860.108 33.4914C860.388 33.5514 860.688 33.5914 860.948 33.5914C861.248 33.5914 861.548 33.5514 861.868 33.4914C861.328 35.0314 858.588 42.8714 857.308 47.2914C856.968 47.2514 856.628 47.1914 856.288 47.1914C855.948 47.1914 855.588 47.2514 855.248 47.2914C854.388 44.0114 853.288 40.7514 852.088 37.4714ZM868.534 33.3914C870.234 37.9514 872.574 44.0314 874.094 47.2914C873.454 47.2514 872.894 47.1914 872.334 47.1914C871.774 47.1914 871.194 47.2514 870.634 47.2914C870.214 45.9314 869.754 44.5514 869.254 43.1914C868.394 43.1714 867.554 43.1514 866.694 43.1514C865.994 43.1514 865.314 43.1714 864.614 43.1914C864.074 44.5514 863.634 45.9114 863.254 47.2914C862.934 47.2514 862.634 47.1914 862.314 47.1914C861.994 47.1914 861.694 47.2514 861.314 47.2914C862.294 45.0714 865.294 37.9514 867.014 33.3914C867.274 33.4314 867.514 33.4914 867.774 33.4914C868.034 33.4914 868.274 33.4314 868.534 33.3914ZM865.134 42.0114H868.794C868.214 40.3914 867.654 38.8114 867.014 37.2514C866.334 38.8114 865.714 40.3914 865.134 42.0114ZM876.234 41.7514V39.0314C876.234 36.7914 876.194 35.2514 876.074 33.4914C876.514 33.5314 877.054 33.5914 877.714 33.5914C878.374 33.5914 878.914 33.5314 879.354 33.4914C879.234 35.2514 879.194 36.7914 879.194 39.0314V41.7514C879.194 43.9914 879.234 45.5314 879.354 47.2914C878.914 47.2514 878.374 47.1914 877.714 47.1914C877.054 47.1914 876.514 47.2514 876.074 47.2914C876.194 45.5314 876.234 43.9914 876.234 41.7514ZM885.174 41.7514V36.7514C885.174 35.9914 885.174 35.2714 885.114 34.9914C884.334 34.9914 882.654 35.1114 881.454 35.2514C881.514 34.9514 881.554 34.6714 881.554 34.3714C881.554 34.0714 881.514 33.7914 881.454 33.4914C883.274 33.5514 884.174 33.5914 886.654 33.5914C889.134 33.5914 890.034 33.5514 891.734 33.4914C891.674 33.7914 891.634 34.0714 891.634 34.3714C891.634 34.6714 891.674 34.9514 891.734 35.2514C890.654 35.1114 888.974 34.9914 888.174 34.9914C888.134 35.2714 888.134 35.9914 888.134 36.7514V41.7514C888.134 43.9914 888.174 45.5314 888.294 47.2914C887.854 47.2514 887.314 47.1914 886.654 47.1914C885.994 47.1914 885.454 47.2514 885.014 47.2914C885.134 45.5314 885.174 43.9914 885.174 41.7514Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M1139.35 80.4199V77.6999C1139.35 75.4599 1139.31 73.9199 1139.19 72.1599C1139.63 72.1999 1140.17 72.2599 1140.83 72.2599C1141.49 72.2599 1142.03 72.1999 1142.47 72.1599C1142.35 73.9199 1142.31 75.4599 1142.31 77.6999V80.4199C1142.31 82.6599 1142.35 84.1999 1142.47 85.9599C1142.03 85.9199 1141.49 85.8599 1140.83 85.8599C1140.17 85.8599 1139.63 85.9199 1139.19 85.9599C1139.31 84.1999 1139.35 82.6599 1139.35 80.4199ZM1152.65 85.9599L1149.07 79.5999H1148.89V80.4199C1148.89 82.6599 1148.93 84.1999 1149.05 85.9599C1148.61 85.9199 1148.07 85.8599 1147.41 85.8599C1146.75 85.8599 1146.21 85.9199 1145.77 85.9599C1145.89 84.1999 1145.93 82.6599 1145.93 80.4199V77.6999C1145.93 75.4599 1145.89 73.9199 1145.77 72.1599C1146.21 72.1999 1146.75 72.2599 1147.41 72.2599C1148.13 72.2599 1148.99 72.1599 1150.35 72.1599C1152.37 72.1599 1153.11 72.3399 1153.81 72.8399C1154.61 73.4199 1155.11 74.2999 1155.11 75.4799C1155.11 77.4199 1153.99 78.6599 1152.01 79.1599C1153.29 81.4199 1154.81 83.6999 1156.27 85.9599C1155.67 85.9199 1155.07 85.8599 1154.47 85.8599C1153.87 85.8599 1153.25 85.9199 1152.65 85.9599ZM1152.05 75.9199C1152.05 73.5599 1151.13 73.2999 1148.95 73.2999C1148.91 75.1199 1148.89 76.9199 1148.89 78.7399C1149.05 78.7599 1149.19 78.7799 1149.33 78.7799C1151.09 78.7799 1152.05 77.7999 1152.05 75.9199ZM1163.87 72.0599C1165.57 76.6199 1167.91 82.6999 1169.43 85.9599C1168.79 85.9199 1168.23 85.8599 1167.67 85.8599C1167.11 85.8599 1166.53 85.9199 1165.97 85.9599C1165.55 84.5999 1165.09 83.2199 1164.59 81.8599C1163.73 81.8399 1162.89 81.8199 1162.03 81.8199C1161.33 81.8199 1160.65 81.8399 1159.95 81.8599C1159.41 83.2199 1158.97 84.5799 1158.59 85.9599C1158.27 85.9199 1157.97 85.8599 1157.65 85.8599C1157.33 85.8599 1157.03 85.9199 1156.65 85.9599C1157.63 83.7399 1160.63 76.6199 1162.35 72.0599C1162.61 72.0999 1162.85 72.1599 1163.11 72.1599C1163.37 72.1599 1163.61 72.0999 1163.87 72.0599ZM1160.47 80.6799H1164.13C1163.55 79.0599 1162.99 77.4799 1162.35 75.9199C1161.67 77.4799 1161.05 79.0599 1160.47 80.6799ZM1171.67 76.1399C1171.67 74.3399 1171.59 73.1199 1171.57 72.1599C1171.87 72.2199 1172.17 72.2599 1172.47 72.2599C1172.77 72.2599 1173.07 72.2199 1173.37 72.1599C1176.25 75.3399 1179.11 78.4999 1182.05 81.6799C1182.05 78.4999 1182.05 73.0599 1181.91 72.1599C1182.21 72.2199 1182.51 72.2599 1182.81 72.2599C1183.11 72.2599 1183.41 72.2199 1183.71 72.1599C1183.39 77.9799 1183.39 80.6399 1183.39 85.9599C1183.11 85.8999 1182.85 85.8599 1182.57 85.8599C1182.29 85.8599 1182.03 85.8999 1181.79 85.9599C1179.05 82.7199 1176.13 79.4799 1173.05 76.2399C1173.01 77.7399 1173.01 79.3999 1173.01 80.8999C1173.01 84.0999 1173.07 85.2199 1173.13 85.9599C1172.81 85.8999 1172.49 85.8599 1172.19 85.8599C1171.89 85.8599 1171.57 85.8999 1171.27 85.9599C1171.37 85.3799 1171.67 80.2199 1171.67 76.1399Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M8.49953 466.108H8.19953C7.77953 464.968 6.99953 464.388 5.77953 464.388C4.55953 464.388 3.69953 465.228 3.69953 466.188C3.69953 469.148 9.77953 468.408 9.77953 472.948C9.77953 475.628 7.65953 477.468 4.47953 477.468C3.03953 477.468 1.83953 477.048 1.25953 476.608C1.51953 475.688 1.69953 474.968 1.83953 474.068H2.21953C2.43953 475.228 3.35953 476.228 4.97953 476.228C6.53953 476.228 7.31953 475.308 7.31953 474.188C7.31953 471.168 1.35953 471.968 1.35953 467.428C1.35953 464.668 3.47953 463.148 5.85953 463.148C7.29953 463.148 8.37953 463.528 9.13953 464.128C8.89953 464.748 8.75953 465.228 8.49953 466.108ZM18.3995 477.468C14.9795 477.468 12.3195 475.968 12.3195 472.208C12.3195 470.048 12.3595 468.968 12.3595 467.528C12.3595 465.408 12.3195 464.068 12.2795 463.408C12.8195 463.468 13.3795 463.508 13.9195 463.508C14.4595 463.508 15.0195 463.468 15.5595 463.408C15.2995 466.008 15.2795 468.088 15.2795 470.408C15.2795 475.288 16.6795 476.088 19.2795 476.088C22.4795 476.088 22.6995 472.628 22.6995 468.908C22.6995 467.068 22.6395 465.248 22.5395 463.408C22.8795 463.468 23.2195 463.508 23.5595 463.508C23.8995 463.508 24.2195 463.468 24.5595 463.408C24.4395 464.588 24.2995 467.448 24.2995 470.908C24.2995 475.548 22.2795 477.468 18.3995 477.468ZM27.8659 471.668V468.948C27.8659 466.708 27.8259 465.168 27.7059 463.408C28.1459 463.448 28.6859 463.508 29.3459 463.508C30.2259 463.508 31.2059 463.408 32.9659 463.408C37.5259 463.408 40.6659 464.868 40.6659 469.908C40.6659 474.308 37.5059 477.208 33.7459 477.208C31.7459 477.208 30.3859 477.108 29.3459 477.108C28.6859 477.108 28.1459 477.168 27.7059 477.208C27.8259 475.448 27.8659 473.908 27.8659 471.668ZM30.8259 468.548V472.108C30.8259 473.188 30.8259 475.628 30.8459 476.008C31.2459 476.028 31.7859 476.068 32.6059 476.068C35.6059 476.068 37.5059 474.028 37.5059 469.868C37.5059 466.588 35.6859 464.548 32.9259 464.548C31.9659 464.548 31.4659 464.588 30.8459 464.648C30.8259 465.028 30.8259 467.468 30.8259 468.548ZM48.1563 463.308C49.8563 467.868 52.1963 473.948 53.7163 477.208C53.0763 477.168 52.5163 477.108 51.9562 477.108C51.3963 477.108 50.8163 477.168 50.2563 477.208C49.8363 475.848 49.3763 474.468 48.8763 473.108C48.0163 473.088 47.1763 473.068 46.3163 473.068C45.6163 473.068 44.9363 473.088 44.2363 473.108C43.6963 474.468 43.2563 475.828 42.8763 477.208C42.5563 477.168 42.2563 477.108 41.9363 477.108C41.6163 477.108 41.3162 477.168 40.9363 477.208C41.9163 474.988 44.9163 467.868 46.6363 463.308C46.8963 463.348 47.1363 463.408 47.3963 463.408C47.6563 463.408 47.8963 463.348 48.1563 463.308ZM44.7563 471.928H48.4163C47.8363 470.308 47.2763 468.728 46.6363 467.168C45.9563 468.728 45.3363 470.308 44.7563 471.928ZM55.9561 467.388C55.9561 465.588 55.8761 464.368 55.8561 463.408C56.1561 463.468 56.4561 463.508 56.7561 463.508C57.0561 463.508 57.3561 463.468 57.6561 463.408C60.5361 466.588 63.3961 469.748 66.3361 472.928C66.3361 469.748 66.3361 464.308 66.1961 463.408C66.4961 463.468 66.7961 463.508 67.0961 463.508C67.3961 463.508 67.6961 463.468 67.9961 463.408C67.6761 469.228 67.6761 471.888 67.6761 477.208C67.3961 477.148 67.1361 477.108 66.8561 477.108C66.5761 477.108 66.3161 477.148 66.0761 477.208C63.3361 473.968 60.4161 470.728 57.3361 467.488C57.2961 468.988 57.2961 470.648 57.2961 472.148C57.2961 475.348 57.3561 476.468 57.4161 477.208C57.0961 477.148 56.7761 477.108 56.4761 477.108C56.1761 477.108 55.8561 477.148 55.5561 477.208C55.6561 476.628 55.9561 471.468 55.9561 467.388Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M89.2963 752.591V749.871C89.2963 747.631 89.2563 746.091 89.1363 744.331C90.3163 744.351 91.5163 744.431 92.6963 744.431C94.6563 744.431 96.3363 744.391 96.8763 744.331C96.8363 744.571 96.7963 744.811 96.7963 745.171C96.7963 745.591 96.8363 745.771 96.8763 746.071C95.3563 745.971 92.9563 745.831 92.3563 745.831C92.2563 747.291 92.2563 748.731 92.2563 750.191C93.9963 750.151 95.2763 750.111 96.7963 750.031C96.7163 750.491 96.6963 750.671 96.6963 750.931C96.6963 751.151 96.7363 751.331 96.7963 751.751C95.2763 751.631 93.7763 751.571 92.2563 751.571C92.2563 752.411 92.2363 753.271 92.2363 754.131C92.2363 754.971 92.2563 755.831 92.2963 756.631C93.7963 756.631 95.3363 756.551 96.8763 756.371C96.8363 756.651 96.7963 756.851 96.7963 757.271C96.7963 757.691 96.8363 757.891 96.8763 758.131C96.1563 758.111 95.2163 758.031 93.3763 758.031C90.1163 758.031 89.5763 758.091 89.1363 758.131C89.2563 756.371 89.2963 754.831 89.2963 752.591ZM106.196 758.131L102.616 751.771H102.436V752.591C102.436 754.831 102.476 756.371 102.596 758.131C102.156 758.091 101.616 758.031 100.956 758.031C100.296 758.031 99.7563 758.091 99.3163 758.131C99.4363 756.371 99.4763 754.831 99.4763 752.591V749.871C99.4763 747.631 99.4363 746.091 99.3163 744.331C99.7563 744.371 100.296 744.431 100.956 744.431C101.676 744.431 102.536 744.331 103.896 744.331C105.916 744.331 106.656 744.511 107.356 745.011C108.156 745.591 108.656 746.471 108.656 747.651C108.656 749.591 107.536 750.831 105.556 751.331C106.836 753.591 108.356 755.871 109.816 758.131C109.216 758.091 108.616 758.031 108.016 758.031C107.416 758.031 106.796 758.091 106.196 758.131ZM105.596 748.091C105.596 745.731 104.676 745.471 102.496 745.471C102.456 747.291 102.436 749.091 102.436 750.911C102.596 750.931 102.736 750.951 102.876 750.951C104.636 750.951 105.596 749.971 105.596 748.091ZM111.783 752.591V749.871C111.783 747.631 111.743 746.091 111.623 744.331C112.063 744.371 112.603 744.431 113.263 744.431C113.923 744.431 114.463 744.371 114.903 744.331C114.783 746.091 114.743 747.631 114.743 749.871V752.591C114.743 754.831 114.783 756.371 114.903 758.131C114.463 758.091 113.923 758.031 113.263 758.031C112.603 758.031 112.063 758.091 111.623 758.131C111.743 756.371 111.783 754.831 111.783 752.591ZM120.723 752.591V747.591C120.723 746.831 120.723 746.111 120.663 745.831C119.883 745.831 118.203 745.951 117.003 746.091C117.063 745.791 117.103 745.511 117.103 745.211C117.103 744.911 117.063 744.631 117.003 744.331C118.823 744.391 119.723 744.431 122.203 744.431C124.683 744.431 125.583 744.391 127.283 744.331C127.223 744.631 127.183 744.911 127.183 745.211C127.183 745.511 127.223 745.791 127.283 746.091C126.203 745.951 124.523 745.831 123.723 745.831C123.683 746.111 123.683 746.831 123.683 747.591V752.591C123.683 754.831 123.723 756.371 123.843 758.131C123.403 758.091 122.863 758.031 122.203 758.031C121.543 758.031 121.003 758.091 120.563 758.131C120.683 756.371 120.723 754.831 120.723 752.591ZM136.196 758.131L132.616 751.771H132.436V752.591C132.436 754.831 132.476 756.371 132.596 758.131C132.156 758.091 131.616 758.031 130.956 758.031C130.296 758.031 129.756 758.091 129.316 758.131C129.436 756.371 129.476 754.831 129.476 752.591V749.871C129.476 747.631 129.436 746.091 129.316 744.331C129.756 744.371 130.296 744.431 130.956 744.431C131.676 744.431 132.536 744.331 133.896 744.331C135.916 744.331 136.656 744.511 137.356 745.011C138.156 745.591 138.656 746.471 138.656 747.651C138.656 749.591 137.536 750.831 135.556 751.331C136.836 753.591 138.356 755.871 139.816 758.131C139.216 758.091 138.616 758.031 138.016 758.031C137.416 758.031 136.796 758.091 136.196 758.131ZM135.596 748.091C135.596 745.731 134.676 745.471 132.496 745.471C132.456 747.291 132.436 749.091 132.436 750.911C132.596 750.931 132.736 750.951 132.876 750.951C134.636 750.951 135.596 749.971 135.596 748.091ZM141.523 752.591V749.871C141.523 747.631 141.483 746.091 141.363 744.331C142.543 744.351 143.743 744.431 144.923 744.431C146.883 744.431 148.563 744.391 149.103 744.331C149.063 744.571 149.023 744.811 149.023 745.171C149.023 745.591 149.063 745.771 149.103 746.071C147.583 745.971 145.183 745.831 144.583 745.831C144.483 747.291 144.483 748.731 144.483 750.191C146.223 750.151 147.503 750.111 149.023 750.031C148.943 750.491 148.923 750.671 148.923 750.931C148.923 751.151 148.963 751.331 149.023 751.751C147.503 751.631 146.003 751.571 144.483 751.571C144.483 752.411 144.463 753.271 144.463 754.131C144.463 754.971 144.483 755.831 144.523 756.631C146.023 756.631 147.563 756.551 149.103 756.371C149.063 756.651 149.023 756.851 149.023 757.271C149.023 757.691 149.063 757.891 149.103 758.131C148.383 758.111 147.443 758.031 145.603 758.031C142.343 758.031 141.803 758.091 141.363 758.131C141.483 756.371 141.523 754.831 141.523 752.591ZM157.423 744.231C159.123 748.791 161.463 754.871 162.983 758.131C162.343 758.091 161.783 758.031 161.223 758.031C160.663 758.031 160.083 758.091 159.523 758.131C159.103 756.771 158.643 755.391 158.143 754.031C157.283 754.011 156.443 753.991 155.583 753.991C154.883 753.991 154.203 754.011 153.503 754.031C152.963 755.391 152.523 756.751 152.143 758.131C151.823 758.091 151.523 758.031 151.203 758.031C150.883 758.031 150.583 758.091 150.203 758.131C151.183 755.911 154.183 748.791 155.903 744.231C156.163 744.271 156.403 744.331 156.663 744.331C156.923 744.331 157.163 744.271 157.423 744.231ZM154.023 752.851H157.683C157.103 751.231 156.543 749.651 155.903 748.091C155.223 749.651 154.603 751.231 154.023 752.851Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M20.1906 169.134V166.414C20.1906 164.174 20.1506 162.634 20.0306 160.874C21.2106 160.894 22.4106 160.974 23.5906 160.974C25.5506 160.974 27.2306 160.934 27.7706 160.874C27.7306 161.114 27.6906 161.354 27.6906 161.714C27.6906 162.134 27.7306 162.314 27.7706 162.614C26.2506 162.514 23.8506 162.374 23.2506 162.374C23.1506 163.834 23.1506 165.274 23.1506 166.734C24.8906 166.694 26.1706 166.654 27.6906 166.574C27.6106 167.034 27.5906 167.214 27.5906 167.474C27.5906 167.694 27.6306 167.874 27.6906 168.294C26.1706 168.174 24.6706 168.114 23.1506 168.114C23.1506 168.954 23.1306 169.814 23.1306 170.674C23.1306 171.514 23.1506 172.374 23.1906 173.174C24.6906 173.174 26.2306 173.094 27.7706 172.914C27.7306 173.194 27.6906 173.394 27.6906 173.814C27.6906 174.234 27.7306 174.434 27.7706 174.674C27.0506 174.654 26.1106 174.574 24.2706 174.574C21.0106 174.574 20.4706 174.634 20.0306 174.674C20.1506 172.914 20.1906 171.374 20.1906 169.134ZM42.0706 163.854H41.7906C40.9506 162.654 39.6706 161.854 37.8506 161.854C35.3706 161.854 32.8106 163.914 32.8106 168.114C32.8106 171.294 34.5906 173.694 37.6706 173.694C38.3506 173.694 39.5306 173.554 39.8506 173.334C39.9106 173.014 39.9106 172.514 39.9106 171.934C39.9106 169.774 39.7906 168.874 39.7706 168.494C40.0306 168.534 40.4306 168.594 41.2506 168.594C42.2106 168.594 42.6106 168.534 42.8706 168.494C42.7706 168.914 42.7106 170.574 42.7106 171.854C42.7106 172.694 42.7306 173.754 42.7706 174.054C41.0306 174.554 39.1906 174.934 37.4306 174.934C32.8306 174.934 29.5306 172.314 29.5306 168.234C29.5306 163.154 33.1106 160.614 37.8106 160.614C39.8306 160.614 41.1906 161.054 42.6306 161.814C42.4106 162.494 42.1906 163.174 42.0706 163.854ZM51.177 166.874H51.217C52.297 165.354 53.357 162.834 54.237 160.874C54.537 160.914 54.837 160.974 55.157 160.974C55.477 160.974 55.777 160.914 56.117 160.874C55.237 162.374 53.217 166.014 51.937 168.534C51.937 169.174 51.897 169.834 51.897 170.494C51.897 171.814 51.917 173.174 52.097 174.674C51.537 174.634 50.957 174.574 50.397 174.574C49.837 174.574 49.257 174.634 48.697 174.674C48.757 173.394 48.937 172.054 48.937 170.814C48.937 170.194 48.917 169.574 48.897 168.954C47.517 166.294 45.237 162.014 44.617 160.874C45.217 160.914 45.817 160.974 46.417 160.974C47.017 160.974 47.597 160.914 48.197 160.874C49.117 162.854 50.617 165.954 51.177 166.874ZM57.9835 169.134V166.414C57.9835 164.174 57.9435 162.634 57.8235 160.874C58.2635 160.914 58.8035 160.974 59.4635 160.974C60.3835 160.974 61.4235 160.874 62.3835 160.874C64.2635 160.874 65.2435 161.174 65.8635 161.694C66.7035 162.394 67.1035 163.214 67.1035 164.394C67.1035 167.454 64.9435 168.674 61.9635 168.674H60.9435C60.9435 170.674 60.9635 172.674 61.1035 174.674C60.6635 174.634 60.1235 174.574 59.4635 174.574C58.8035 174.574 58.2635 174.634 57.8235 174.674C57.9435 172.914 57.9835 171.374 57.9835 169.134ZM63.9435 164.714C63.9435 162.674 62.9635 162.014 61.8235 162.014C61.5035 162.014 61.2035 162.014 60.9835 162.034C60.9635 163.914 60.9435 165.794 60.9435 167.654C62.2835 167.654 63.9435 167.294 63.9435 164.714ZM71.6368 169.134V164.134C71.6368 163.374 71.6368 162.654 71.5768 162.374C70.7968 162.374 69.1168 162.494 67.9168 162.634C67.9768 162.334 68.0168 162.054 68.0168 161.754C68.0168 161.454 67.9768 161.174 67.9168 160.874C69.7368 160.934 70.6368 160.974 73.1168 160.974C75.5968 160.974 76.4968 160.934 78.1968 160.874C78.1368 161.174 78.0968 161.454 78.0968 161.754C78.0968 162.054 78.1368 162.334 78.1968 162.634C77.1168 162.494 75.4368 162.374 74.6368 162.374C74.5968 162.654 74.5968 163.374 74.5968 164.134V169.134C74.5968 171.374 74.6368 172.914 74.7568 174.674C74.3168 174.634 73.7768 174.574 73.1168 174.574C72.4568 174.574 71.9168 174.634 71.4768 174.674C71.5968 172.914 71.6368 171.374 71.6368 169.134Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M233.395 66.5197L233.095 65.5797C234.195 65.0797 234.555 64.7597 234.655 63.2997C234.775 61.5397 234.815 59.9997 234.815 57.7597V55.0397C234.815 52.7997 234.775 51.2597 234.655 49.4997C235.095 49.5397 235.635 49.5997 236.295 49.5997C236.955 49.5997 237.495 49.5397 237.935 49.4997C237.815 51.2597 237.775 52.7997 237.775 55.0397V57.7597C237.775 58.8397 237.815 60.1597 237.815 61.3997C237.815 64.5997 236.335 66.0397 233.395 66.5197ZM240.315 56.3997C240.315 52.4597 243.355 49.2397 247.995 49.2397C252.235 49.2397 255.575 51.5597 255.575 56.3797C255.575 60.3397 252.395 63.5597 247.935 63.5597C243.715 63.5597 240.315 61.3997 240.315 56.3997ZM252.295 55.9597C252.295 52.4997 250.515 50.3797 247.935 50.3797C245.195 50.3797 243.595 53.1397 243.595 56.5797C243.595 60.8397 245.555 62.3197 247.795 62.3197C250.195 62.3197 252.295 60.3197 252.295 55.9597ZM264.775 63.2997L261.195 56.9397H261.015V57.7597C261.015 59.9997 261.055 61.5397 261.175 63.2997C260.735 63.2597 260.195 63.1997 259.535 63.1997C258.875 63.1997 258.335 63.2597 257.895 63.2997C258.015 61.5397 258.055 59.9997 258.055 57.7597V55.0397C258.055 52.7997 258.015 51.2597 257.895 49.4997C258.335 49.5397 258.875 49.5997 259.535 49.5997C260.255 49.5997 261.115 49.4997 262.475 49.4997C264.495 49.4997 265.235 49.6797 265.935 50.1797C266.735 50.7597 267.235 51.6397 267.235 52.8197C267.235 54.7597 266.115 55.9997 264.135 56.4997C265.415 58.7597 266.935 61.0397 268.395 63.2997C267.795 63.2597 267.195 63.1997 266.595 63.1997C265.995 63.1997 265.375 63.2597 264.775 63.2997ZM264.175 53.2597C264.175 50.8997 263.255 50.6397 261.075 50.6397C261.035 52.4597 261.015 54.2597 261.015 56.0797C261.175 56.0997 261.315 56.1197 261.455 56.1197C263.215 56.1197 264.175 55.1397 264.175 53.2597ZM270.282 57.7597V55.0397C270.282 52.7997 270.242 51.2597 270.122 49.4997C270.562 49.5397 271.102 49.5997 271.762 49.5997C272.642 49.5997 273.622 49.4997 275.382 49.4997C279.942 49.4997 283.082 50.9597 283.082 55.9997C283.082 60.3997 279.922 63.2997 276.162 63.2997C274.162 63.2997 272.802 63.1997 271.762 63.1997C271.102 63.1997 270.562 63.2597 270.122 63.2997C270.242 61.5397 270.282 59.9997 270.282 57.7597ZM273.242 54.6397V58.1997C273.242 59.2797 273.242 61.7197 273.262 62.0997C273.662 62.1197 274.202 62.1597 275.022 62.1597C278.022 62.1597 279.922 60.1197 279.922 55.9597C279.922 52.6797 278.102 50.6397 275.342 50.6397C274.382 50.6397 273.882 50.6797 273.262 50.7397C273.242 51.1197 273.242 53.5597 273.242 54.6397ZM290.572 49.3997C292.272 53.9597 294.612 60.0397 296.132 63.2997C295.492 63.2597 294.932 63.1997 294.372 63.1997C293.812 63.1997 293.232 63.2597 292.672 63.2997C292.252 61.9397 291.792 60.5597 291.292 59.1997C290.432 59.1797 289.592 59.1597 288.732 59.1597C288.032 59.1597 287.352 59.1797 286.652 59.1997C286.112 60.5597 285.672 61.9197 285.292 63.2997C284.972 63.2597 284.672 63.1997 284.352 63.1997C284.032 63.1997 283.732 63.2597 283.352 63.2997C284.332 61.0797 287.332 53.9597 289.052 49.3997C289.312 49.4397 289.552 49.4997 289.812 49.4997C290.072 49.4997 290.312 49.4397 290.572 49.3997ZM287.172 58.0197H290.832C290.252 56.3997 289.692 54.8197 289.052 53.2597C288.372 54.8197 287.752 56.3997 287.172 58.0197ZM298.372 53.4797C298.372 51.6797 298.292 50.4597 298.272 49.4997C298.572 49.5597 298.872 49.5997 299.172 49.5997C299.472 49.5997 299.772 49.5597 300.072 49.4997C302.952 52.6797 305.812 55.8397 308.752 59.0197C308.752 55.8397 308.752 50.3997 308.612 49.4997C308.912 49.5597 309.212 49.5997 309.512 49.5997C309.812 49.5997 310.112 49.5597 310.412 49.4997C310.092 55.3197 310.092 57.9797 310.092 63.2997C309.812 63.2397 309.552 63.1997 309.272 63.1997C308.992 63.1997 308.732 63.2397 308.492 63.2997C305.752 60.0597 302.832 56.8197 299.752 53.5797C299.712 55.0797 299.712 56.7397 299.712 58.2397C299.712 61.4397 299.772 62.5597 299.832 63.2997C299.512 63.2397 299.192 63.1997 298.892 63.1997C298.592 63.1997 298.272 63.2397 297.972 63.2997C298.072 62.7197 298.372 57.5597 298.372 53.4797Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M678.91 12.1802V9.46024C678.91 7.22024 678.87 5.68024 678.75 3.92024C679.19 3.96024 679.73 4.02024 680.39 4.02024C681.05 4.02024 681.59 3.96024 682.03 3.92024C681.91 5.68024 681.87 7.22024 681.87 9.46024V12.1802C681.87 14.4202 681.91 15.9602 682.03 17.7202C681.59 17.6802 681.05 17.6202 680.39 17.6202C679.73 17.6202 679.19 17.6802 678.75 17.7202C678.87 15.9602 678.91 14.4202 678.91 12.1802ZM692.21 17.7202L688.63 11.3602H688.45V12.1802C688.45 14.4202 688.49 15.9602 688.61 17.7202C688.17 17.6802 687.63 17.6202 686.97 17.6202C686.31 17.6202 685.77 17.6802 685.33 17.7202C685.45 15.9602 685.49 14.4202 685.49 12.1802V9.46024C685.49 7.22024 685.45 5.68024 685.33 3.92024C685.77 3.96024 686.31 4.02024 686.97 4.02024C687.69 4.02024 688.55 3.92024 689.91 3.92024C691.93 3.92024 692.67 4.10024 693.37 4.60024C694.17 5.18024 694.67 6.06024 694.67 7.24024C694.67 9.18024 693.55 10.4202 691.57 10.9202C692.85 13.1802 694.37 15.4602 695.83 17.7202C695.23 17.6802 694.63 17.6202 694.03 17.6202C693.43 17.6202 692.81 17.6802 692.21 17.7202ZM691.61 7.68024C691.61 5.32024 690.69 5.06024 688.51 5.06024C688.47 6.88024 688.45 8.68024 688.45 10.5002C688.61 10.5202 688.75 10.5402 688.89 10.5402C690.65 10.5402 691.61 9.56024 691.61 7.68024ZM703.437 3.82024C705.137 8.38024 707.477 14.4602 708.997 17.7202C708.357 17.6802 707.797 17.6202 707.237 17.6202C706.677 17.6202 706.097 17.6802 705.537 17.7202C705.117 16.3602 704.657 14.9802 704.157 13.6202C703.297 13.6002 702.457 13.5802 701.597 13.5802C700.897 13.5802 700.217 13.6002 699.517 13.6202C698.977 14.9802 698.537 16.3402 698.157 17.7202C697.837 17.6802 697.537 17.6202 697.217 17.6202C696.897 17.6202 696.597 17.6802 696.217 17.7202C697.197 15.5002 700.197 8.38024 701.917 3.82024C702.177 3.86024 702.417 3.92024 702.677 3.92024C702.937 3.92024 703.177 3.86024 703.437 3.82024ZM700.037 12.4402H703.697C703.117 10.8202 702.557 9.24024 701.917 7.68024C701.237 9.24024 700.617 10.8202 700.037 12.4402ZM716.914 3.66024C721.154 3.66024 724.494 5.98024 724.494 10.8002C724.494 13.9602 722.574 16.5202 719.394 17.6202C721.354 18.8202 723.414 20.1002 724.634 20.7002C723.694 20.8202 722.874 21.2202 721.814 21.7802C719.994 20.3202 719.214 19.7402 716.594 17.9802C712.654 17.9802 709.234 15.7802 709.234 10.8202C709.234 6.88024 712.274 3.66024 716.914 3.66024ZM721.214 10.3802C721.214 6.92024 719.434 4.80024 716.854 4.80024C714.114 4.80024 712.514 7.56024 712.514 11.0002C712.514 15.2602 714.474 16.7402 716.714 16.7402C719.114 16.7402 721.214 14.7402 721.214 10.3802Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M1061.64 184.906C1065.88 184.906 1069.22 187.226 1069.22 192.046C1069.22 195.206 1067.3 197.766 1064.12 198.866C1066.08 200.066 1068.14 201.346 1069.36 201.946C1068.42 202.066 1067.6 202.466 1066.54 203.026C1064.72 201.566 1063.94 200.986 1061.32 199.226C1057.38 199.226 1053.96 197.026 1053.96 192.066C1053.96 188.126 1057 184.906 1061.64 184.906ZM1065.94 191.626C1065.94 188.166 1064.16 186.046 1061.58 186.046C1058.84 186.046 1057.24 188.806 1057.24 192.246C1057.24 196.506 1059.2 197.986 1061.44 197.986C1063.84 197.986 1065.94 195.986 1065.94 191.626ZM1077.42 185.066C1079.12 189.626 1081.46 195.706 1082.98 198.966C1082.34 198.926 1081.78 198.866 1081.22 198.866C1080.66 198.866 1080.08 198.926 1079.52 198.966C1079.1 197.606 1078.64 196.226 1078.14 194.866C1077.28 194.846 1076.44 194.826 1075.58 194.826C1074.88 194.826 1074.2 194.846 1073.5 194.866C1072.96 196.226 1072.52 197.586 1072.14 198.966C1071.82 198.926 1071.52 198.866 1071.2 198.866C1070.88 198.866 1070.58 198.926 1070.2 198.966C1071.18 196.746 1074.18 189.626 1075.9 185.066C1076.16 185.106 1076.4 185.166 1076.66 185.166C1076.92 185.166 1077.16 185.106 1077.42 185.066ZM1074.02 193.686H1077.68C1077.1 192.066 1076.54 190.486 1075.9 188.926C1075.22 190.486 1074.6 192.066 1074.02 193.686ZM1086.3 193.426V188.426C1086.3 187.666 1086.3 186.946 1086.24 186.666C1085.46 186.666 1083.78 186.786 1082.58 186.926C1082.64 186.626 1082.68 186.346 1082.68 186.046C1082.68 185.746 1082.64 185.466 1082.58 185.166C1084.4 185.226 1085.3 185.266 1087.78 185.266C1090.26 185.266 1091.16 185.226 1092.86 185.166C1092.8 185.466 1092.76 185.746 1092.76 186.046C1092.76 186.346 1092.8 186.626 1092.86 186.926C1091.78 186.786 1090.1 186.666 1089.3 186.666C1089.26 186.946 1089.26 187.666 1089.26 188.426V193.426C1089.26 195.666 1089.3 197.206 1089.42 198.966C1088.98 198.926 1088.44 198.866 1087.78 198.866C1087.12 198.866 1086.58 198.926 1086.14 198.966C1086.26 197.206 1086.3 195.666 1086.3 193.426ZM1099.68 185.066C1101.38 189.626 1103.72 195.706 1105.24 198.966C1104.6 198.926 1104.04 198.866 1103.48 198.866C1102.92 198.866 1102.34 198.926 1101.78 198.966C1101.36 197.606 1100.9 196.226 1100.4 194.866C1099.54 194.846 1098.7 194.826 1097.84 194.826C1097.14 194.826 1096.46 194.846 1095.76 194.866C1095.22 196.226 1094.78 197.586 1094.4 198.966C1094.08 198.926 1093.78 198.866 1093.46 198.866C1093.14 198.866 1092.84 198.926 1092.46 198.966C1093.44 196.746 1096.44 189.626 1098.16 185.066C1098.42 185.106 1098.66 185.166 1098.92 185.166C1099.18 185.166 1099.42 185.106 1099.68 185.066ZM1096.28 193.686H1099.94C1099.36 192.066 1098.8 190.486 1098.16 188.926C1097.48 190.486 1096.86 192.066 1096.28 193.686ZM1114.02 198.966L1110.44 192.606H1110.26V193.426C1110.26 195.666 1110.3 197.206 1110.42 198.966C1109.98 198.926 1109.44 198.866 1108.78 198.866C1108.12 198.866 1107.58 198.926 1107.14 198.966C1107.26 197.206 1107.3 195.666 1107.3 193.426V190.706C1107.3 188.466 1107.26 186.926 1107.14 185.166C1107.58 185.206 1108.12 185.266 1108.78 185.266C1109.5 185.266 1110.36 185.166 1111.72 185.166C1113.74 185.166 1114.48 185.346 1115.18 185.846C1115.98 186.426 1116.48 187.306 1116.48 188.486C1116.48 190.426 1115.36 191.666 1113.38 192.166C1114.66 194.426 1116.18 196.706 1117.64 198.966C1117.04 198.926 1116.44 198.866 1115.84 198.866C1115.24 198.866 1114.62 198.926 1114.02 198.966ZM1113.42 188.926C1113.42 186.566 1112.5 186.306 1110.32 186.306C1110.28 188.126 1110.26 189.926 1110.26 191.746C1110.42 191.766 1110.56 191.786 1110.7 191.786C1112.46 191.786 1113.42 190.806 1113.42 188.926Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M1239.85 284.118C1236.43 284.118 1233.77 282.618 1233.77 278.858C1233.77 276.698 1233.81 275.618 1233.81 274.178C1233.81 272.058 1233.77 270.718 1233.73 270.058C1234.27 270.118 1234.83 270.158 1235.37 270.158C1235.91 270.158 1236.47 270.118 1237.01 270.058C1236.75 272.658 1236.73 274.738 1236.73 277.058C1236.73 281.938 1238.13 282.738 1240.73 282.738C1243.93 282.738 1244.15 279.278 1244.15 275.558C1244.15 273.718 1244.09 271.898 1243.99 270.058C1244.33 270.118 1244.67 270.158 1245.01 270.158C1245.35 270.158 1245.67 270.118 1246.01 270.058C1245.89 271.238 1245.75 274.098 1245.75 277.558C1245.75 282.198 1243.73 284.118 1239.85 284.118ZM1249.5 274.038C1249.5 272.238 1249.42 271.018 1249.4 270.058C1249.7 270.118 1250 270.158 1250.3 270.158C1250.6 270.158 1250.9 270.118 1251.2 270.058C1254.08 273.238 1256.94 276.398 1259.88 279.578C1259.88 276.398 1259.88 270.958 1259.74 270.058C1260.04 270.118 1260.34 270.158 1260.64 270.158C1260.94 270.158 1261.24 270.118 1261.54 270.058C1261.22 275.878 1261.22 278.538 1261.22 283.858C1260.94 283.798 1260.68 283.758 1260.4 283.758C1260.12 283.758 1259.86 283.798 1259.62 283.858C1256.88 280.618 1253.96 277.378 1250.88 274.138C1250.84 275.638 1250.84 277.298 1250.84 278.798C1250.84 281.998 1250.9 283.118 1250.96 283.858C1250.64 283.798 1250.32 283.758 1250.02 283.758C1249.72 283.758 1249.4 283.798 1249.1 283.858C1249.2 283.278 1249.5 278.118 1249.5 274.038ZM1264.96 278.318V275.598C1264.96 273.358 1264.92 271.818 1264.8 270.058C1265.24 270.098 1265.78 270.158 1266.44 270.158C1267.1 270.158 1267.64 270.098 1268.08 270.058C1267.96 271.818 1267.92 273.358 1267.92 275.598V278.318C1267.92 280.558 1267.96 282.098 1268.08 283.858C1267.64 283.818 1267.1 283.758 1266.44 283.758C1265.78 283.758 1265.24 283.818 1264.8 283.858C1264.92 282.098 1264.96 280.558 1264.96 278.318ZM1273.9 278.318V273.318C1273.9 272.558 1273.9 271.838 1273.84 271.558C1273.06 271.558 1271.38 271.678 1270.18 271.818C1270.24 271.518 1270.28 271.238 1270.28 270.938C1270.28 270.638 1270.24 270.358 1270.18 270.058C1272 270.118 1272.9 270.158 1275.38 270.158C1277.86 270.158 1278.76 270.118 1280.46 270.058C1280.4 270.358 1280.36 270.638 1280.36 270.938C1280.36 271.238 1280.4 271.518 1280.46 271.818C1279.38 271.678 1277.7 271.558 1276.9 271.558C1276.86 271.838 1276.86 272.558 1276.86 273.318V278.318C1276.86 280.558 1276.9 282.098 1277.02 283.858C1276.58 283.818 1276.04 283.758 1275.38 283.758C1274.72 283.758 1274.18 283.818 1273.74 283.858C1273.86 282.098 1273.9 280.558 1273.9 278.318ZM1282.48 278.318V275.598C1282.48 273.358 1282.44 271.818 1282.32 270.058C1283.5 270.078 1284.7 270.158 1285.88 270.158C1287.84 270.158 1289.52 270.118 1290.06 270.058C1290.02 270.298 1289.98 270.538 1289.98 270.898C1289.98 271.318 1290.02 271.498 1290.06 271.798C1288.54 271.698 1286.14 271.558 1285.54 271.558C1285.44 273.018 1285.44 274.458 1285.44 275.918C1287.18 275.878 1288.46 275.838 1289.98 275.758C1289.9 276.218 1289.88 276.398 1289.88 276.658C1289.88 276.878 1289.92 277.058 1289.98 277.478C1288.46 277.358 1286.96 277.298 1285.44 277.298C1285.44 278.138 1285.42 278.998 1285.42 279.858C1285.42 280.698 1285.44 281.558 1285.48 282.358C1286.98 282.358 1288.52 282.278 1290.06 282.098C1290.02 282.378 1289.98 282.578 1289.98 282.998C1289.98 283.418 1290.02 283.618 1290.06 283.858C1289.34 283.838 1288.4 283.758 1286.56 283.758C1283.3 283.758 1282.76 283.818 1282.32 283.858C1282.44 282.098 1282.48 280.558 1282.48 278.318ZM1292.66 278.318V275.598C1292.66 273.358 1292.62 271.818 1292.5 270.058C1292.94 270.098 1293.48 270.158 1294.14 270.158C1295.02 270.158 1296 270.058 1297.76 270.058C1302.32 270.058 1305.46 271.518 1305.46 276.558C1305.46 280.958 1302.3 283.858 1298.54 283.858C1296.54 283.858 1295.18 283.758 1294.14 283.758C1293.48 283.758 1292.94 283.818 1292.5 283.858C1292.62 282.098 1292.66 280.558 1292.66 278.318ZM1295.62 275.198V278.758C1295.62 279.838 1295.62 282.278 1295.64 282.658C1296.04 282.678 1296.58 282.718 1297.4 282.718C1300.4 282.718 1302.3 280.678 1302.3 276.518C1302.3 273.238 1300.48 271.198 1297.72 271.198C1296.76 271.198 1296.26 271.238 1295.64 271.298C1295.62 271.678 1295.62 274.118 1295.62 275.198ZM1318.42 269.958C1320.12 274.518 1322.46 280.598 1323.98 283.858C1323.34 283.818 1322.78 283.758 1322.22 283.758C1321.66 283.758 1321.08 283.818 1320.52 283.858C1320.1 282.498 1319.64 281.118 1319.14 279.758C1318.28 279.738 1317.44 279.718 1316.58 279.718C1315.88 279.718 1315.2 279.738 1314.5 279.758C1313.96 281.118 1313.52 282.478 1313.14 283.858C1312.82 283.818 1312.52 283.758 1312.2 283.758C1311.88 283.758 1311.58 283.818 1311.2 283.858C1312.18 281.638 1315.18 274.518 1316.9 269.958C1317.16 269.998 1317.4 270.058 1317.66 270.058C1317.92 270.058 1318.16 269.998 1318.42 269.958ZM1315.02 278.578H1318.68C1318.1 276.958 1317.54 275.378 1316.9 273.818C1316.22 275.378 1315.6 276.958 1315.02 278.578ZM1332.75 283.858L1329.17 277.498H1328.99V278.318C1328.99 280.558 1329.03 282.098 1329.15 283.858C1328.71 283.818 1328.17 283.758 1327.51 283.758C1326.85 283.758 1326.31 283.818 1325.87 283.858C1325.99 282.098 1326.03 280.558 1326.03 278.318V275.598C1326.03 273.358 1325.99 271.818 1325.87 270.058C1326.31 270.098 1326.85 270.158 1327.51 270.158C1328.23 270.158 1329.09 270.058 1330.45 270.058C1332.47 270.058 1333.21 270.238 1333.91 270.738C1334.71 271.318 1335.21 272.198 1335.21 273.378C1335.21 275.318 1334.09 276.558 1332.11 277.058C1333.39 279.318 1334.91 281.598 1336.37 283.858C1335.77 283.818 1335.17 283.758 1334.57 283.758C1333.97 283.758 1333.35 283.818 1332.75 283.858ZM1332.15 273.818C1332.15 271.458 1331.23 271.198 1329.05 271.198C1329.01 273.018 1328.99 274.818 1328.99 276.638C1329.15 276.658 1329.29 276.678 1329.43 276.678C1331.19 276.678 1332.15 275.698 1332.15 273.818ZM1343.98 269.958C1345.68 274.518 1348.02 280.598 1349.54 283.858C1348.9 283.818 1348.34 283.758 1347.78 283.758C1347.22 283.758 1346.64 283.818 1346.08 283.858C1345.66 282.498 1345.2 281.118 1344.7 279.758C1343.84 279.738 1343 279.718 1342.14 279.718C1341.44 279.718 1340.76 279.738 1340.06 279.758C1339.52 281.118 1339.08 282.478 1338.7 283.858C1338.38 283.818 1338.08 283.758 1337.76 283.758C1337.44 283.758 1337.14 283.818 1336.76 283.858C1337.74 281.638 1340.74 274.518 1342.46 269.958C1342.72 269.998 1342.96 270.058 1343.22 270.058C1343.48 270.058 1343.72 269.998 1343.98 269.958ZM1340.58 278.578H1344.24C1343.66 276.958 1343.1 275.378 1342.46 273.818C1341.78 275.378 1341.16 276.958 1340.58 278.578ZM1351.6 278.318V275.598C1351.6 273.358 1351.56 271.818 1351.44 270.058C1351.88 270.098 1352.42 270.158 1353.08 270.158C1354.22 270.158 1355.54 270.058 1356.68 270.058C1359.08 270.058 1360.72 270.978 1360.72 273.158C1360.72 275.338 1358.7 276.258 1357.46 276.458V276.498C1358.68 276.558 1361.06 277.438 1361.06 279.858C1361.06 282.718 1358.78 283.858 1356.4 283.858C1355.34 283.858 1354.46 283.758 1353.46 283.758C1352.74 283.758 1351.88 283.818 1351.44 283.858C1351.56 282.098 1351.6 280.558 1351.6 278.318ZM1357.76 273.538C1357.76 272.258 1357.2 271.198 1355.62 271.198C1355.04 271.198 1354.9 271.218 1354.64 271.258C1354.6 272.238 1354.56 273.358 1354.56 274.038C1354.56 274.758 1354.58 275.398 1354.58 276.078H1355.48C1356.62 276.078 1357.76 275.238 1357.76 273.538ZM1357.9 279.998C1357.9 278.138 1357.04 277.218 1355.44 277.218C1355.08 277.218 1354.82 277.238 1354.58 277.238C1354.58 277.798 1354.56 278.358 1354.56 279.178C1354.56 280.438 1354.6 281.978 1354.6 282.678C1354.96 282.698 1355.26 282.718 1355.7 282.718C1356.88 282.718 1357.9 281.738 1357.9 279.998ZM1253.6 302.318V299.598C1253.6 297.358 1253.56 295.818 1253.44 294.058C1254.62 294.078 1255.82 294.158 1257 294.158C1258.96 294.158 1260.64 294.118 1261.18 294.058C1261.14 294.298 1261.1 294.538 1261.1 294.898C1261.1 295.318 1261.14 295.498 1261.18 295.798C1259.66 295.698 1257.26 295.558 1256.66 295.558C1256.56 297.018 1256.56 298.458 1256.56 299.918C1258.3 299.878 1259.58 299.838 1261.1 299.758C1261.02 300.218 1261 300.398 1261 300.658C1261 300.878 1261.04 301.058 1261.1 301.478C1259.58 301.358 1258.08 301.298 1256.56 301.298C1256.56 302.138 1256.54 302.998 1256.54 303.858C1256.54 304.698 1256.56 305.558 1256.6 306.358C1258.1 306.358 1259.64 306.278 1261.18 306.098C1261.14 306.378 1261.1 306.578 1261.1 306.998C1261.1 307.418 1261.14 307.618 1261.18 307.858C1260.46 307.838 1259.52 307.758 1257.68 307.758C1254.42 307.758 1253.88 307.818 1253.44 307.858C1253.56 306.098 1253.6 304.558 1253.6 302.318ZM1265.42 298.778H1265.38C1264.96 301.798 1264.78 304.838 1264.58 307.858C1264.26 307.798 1263.94 307.758 1263.64 307.758C1263.32 307.758 1263.02 307.798 1262.7 307.858C1263.54 303.258 1264.2 298.658 1264.76 294.058C1265.04 294.118 1265.3 294.158 1265.58 294.158C1265.84 294.158 1266.12 294.118 1266.38 294.058C1267.84 297.238 1269.54 300.798 1271 303.618C1272.58 300.638 1274.22 297.238 1275.66 294.058C1275.94 294.118 1276.24 294.158 1276.52 294.158C1276.8 294.158 1277.08 294.118 1277.36 294.058C1277.88 298.658 1278.58 305.038 1279.08 307.858C1278.54 307.798 1278 307.758 1277.46 307.758C1276.92 307.758 1276.36 307.798 1275.8 307.858C1275.66 305.078 1275.32 301.678 1275 298.578H1274.96C1273.46 301.678 1271.98 304.758 1270.54 307.858C1270.42 307.838 1270.28 307.818 1270.16 307.818C1270.04 307.818 1269.9 307.838 1269.78 307.858C1268.36 304.838 1266.92 301.798 1265.42 298.778ZM1281.63 302.318V299.598C1281.63 297.358 1281.59 295.818 1281.47 294.058C1281.91 294.098 1282.45 294.158 1283.11 294.158C1283.77 294.158 1284.31 294.098 1284.75 294.058C1284.63 295.818 1284.59 297.358 1284.59 299.598V302.318C1284.59 304.558 1284.63 306.098 1284.75 307.858C1284.31 307.818 1283.77 307.758 1283.11 307.758C1282.45 307.758 1281.91 307.818 1281.47 307.858C1281.59 306.098 1281.63 304.558 1281.63 302.318ZM1294.93 307.858L1291.35 301.498H1291.17V302.318C1291.17 304.558 1291.21 306.098 1291.33 307.858C1290.89 307.818 1290.35 307.758 1289.69 307.758C1289.03 307.758 1288.49 307.818 1288.05 307.858C1288.17 306.098 1288.21 304.558 1288.21 302.318V299.598C1288.21 297.358 1288.17 295.818 1288.05 294.058C1288.49 294.098 1289.03 294.158 1289.69 294.158C1290.41 294.158 1291.27 294.058 1292.63 294.058C1294.65 294.058 1295.39 294.238 1296.09 294.738C1296.89 295.318 1297.39 296.198 1297.39 297.378C1297.39 299.318 1296.27 300.558 1294.29 301.058C1295.57 303.318 1297.09 305.598 1298.55 307.858C1297.95 307.818 1297.35 307.758 1296.75 307.758C1296.15 307.758 1295.53 307.818 1294.93 307.858ZM1294.33 297.818C1294.33 295.458 1293.41 295.198 1291.23 295.198C1291.19 297.018 1291.17 298.818 1291.17 300.638C1291.33 300.658 1291.47 300.678 1291.61 300.678C1293.37 300.678 1294.33 299.698 1294.33 297.818ZM1306.16 293.958C1307.86 298.518 1310.2 304.598 1311.72 307.858C1311.08 307.818 1310.52 307.758 1309.96 307.758C1309.4 307.758 1308.82 307.818 1308.26 307.858C1307.84 306.498 1307.38 305.118 1306.88 303.758C1306.02 303.738 1305.18 303.718 1304.32 303.718C1303.62 303.718 1302.94 303.738 1302.24 303.758C1301.7 305.118 1301.26 306.478 1300.88 307.858C1300.56 307.818 1300.26 307.758 1299.94 307.758C1299.62 307.758 1299.32 307.818 1298.94 307.858C1299.92 305.638 1302.92 298.518 1304.64 293.958C1304.9 293.998 1305.14 294.058 1305.4 294.058C1305.66 294.058 1305.9 293.998 1306.16 293.958ZM1302.76 302.578H1306.42C1305.84 300.958 1305.28 299.378 1304.64 297.818C1303.96 299.378 1303.34 300.958 1302.76 302.578ZM1315.05 302.318V297.318C1315.05 296.558 1315.05 295.838 1314.99 295.558C1314.21 295.558 1312.53 295.678 1311.33 295.818C1311.39 295.518 1311.43 295.238 1311.43 294.938C1311.43 294.638 1311.39 294.358 1311.33 294.058C1313.15 294.118 1314.05 294.158 1316.53 294.158C1319.01 294.158 1319.91 294.118 1321.61 294.058C1321.55 294.358 1321.51 294.638 1321.51 294.938C1321.51 295.238 1321.55 295.518 1321.61 295.818C1320.53 295.678 1318.85 295.558 1318.05 295.558C1318.01 295.838 1318.01 296.558 1318.01 297.318V302.318C1318.01 304.558 1318.05 306.098 1318.17 307.858C1317.73 307.818 1317.19 307.758 1316.53 307.758C1315.87 307.758 1315.33 307.818 1314.89 307.858C1315.01 306.098 1315.05 304.558 1315.05 302.318ZM1323.62 302.318V299.598C1323.62 297.358 1323.58 295.818 1323.46 294.058C1324.64 294.078 1325.84 294.158 1327.02 294.158C1328.98 294.158 1330.66 294.118 1331.2 294.058C1331.16 294.298 1331.12 294.538 1331.12 294.898C1331.12 295.318 1331.16 295.498 1331.2 295.798C1329.68 295.698 1327.28 295.558 1326.68 295.558C1326.58 297.018 1326.58 298.458 1326.58 299.918C1328.32 299.878 1329.6 299.838 1331.12 299.758C1331.04 300.218 1331.02 300.398 1331.02 300.658C1331.02 300.878 1331.06 301.058 1331.12 301.478C1329.6 301.358 1328.1 301.298 1326.58 301.298C1326.58 302.138 1326.56 302.998 1326.56 303.858C1326.56 304.698 1326.58 305.558 1326.62 306.358C1328.12 306.358 1329.66 306.278 1331.2 306.098C1331.16 306.378 1331.12 306.578 1331.12 306.998C1331.12 307.418 1331.16 307.618 1331.2 307.858C1330.48 307.838 1329.54 307.758 1327.7 307.758C1324.44 307.758 1323.9 307.818 1323.46 307.858C1323.58 306.098 1323.62 304.558 1323.62 302.318ZM1340 296.758H1339.7C1339.28 295.618 1338.5 295.038 1337.28 295.038C1336.06 295.038 1335.2 295.878 1335.2 296.838C1335.2 299.798 1341.28 299.058 1341.28 303.598C1341.28 306.278 1339.16 308.118 1335.98 308.118C1334.54 308.118 1333.34 307.698 1332.76 307.258C1333.02 306.338 1333.2 305.618 1333.34 304.718H1333.72C1333.94 305.878 1334.86 306.878 1336.48 306.878C1338.04 306.878 1338.82 305.958 1338.82 304.838C1338.82 301.818 1332.86 302.618 1332.86 298.078C1332.86 295.318 1334.98 293.798 1337.36 293.798C1338.8 293.798 1339.88 294.178 1340.64 294.778C1340.4 295.398 1340.26 295.878 1340 296.758Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M673.413 308.133H673.113C672.693 306.993 671.913 306.413 670.693 306.413C669.473 306.413 668.613 307.253 668.613 308.213C668.613 311.173 674.693 310.433 674.693 314.973C674.693 317.653 672.573 319.493 669.393 319.493C667.953 319.493 666.753 319.073 666.173 318.633C666.433 317.713 666.613 316.993 666.753 316.093H667.133C667.353 317.253 668.273 318.253 669.893 318.253C671.453 318.253 672.233 317.333 672.233 316.213C672.233 313.193 666.273 313.993 666.273 309.453C666.273 306.693 668.393 305.173 670.773 305.173C672.213 305.173 673.293 305.553 674.053 306.153C673.813 306.773 673.673 307.253 673.413 308.133ZM682.933 305.333C684.633 309.893 686.973 315.973 688.493 319.233C687.853 319.193 687.293 319.133 686.733 319.133C686.173 319.133 685.593 319.193 685.033 319.233C684.613 317.873 684.153 316.493 683.653 315.133C682.793 315.113 681.953 315.093 681.093 315.093C680.393 315.093 679.713 315.113 679.013 315.133C678.473 316.493 678.033 317.853 677.653 319.233C677.333 319.193 677.033 319.133 676.713 319.133C676.393 319.133 676.093 319.193 675.713 319.233C676.693 317.013 679.693 309.893 681.413 305.333C681.673 305.373 681.913 305.433 682.173 305.433C682.433 305.433 682.673 305.373 682.933 305.333ZM679.533 313.953H683.193C682.613 312.333 682.053 310.753 681.413 309.193C680.733 310.753 680.113 312.333 679.533 313.953ZM695.755 319.493C692.335 319.493 689.675 317.993 689.675 314.233C689.675 312.073 689.715 310.993 689.715 309.553C689.715 307.433 689.675 306.093 689.635 305.433C690.175 305.493 690.735 305.533 691.275 305.533C691.815 305.533 692.375 305.493 692.915 305.433C692.655 308.033 692.635 310.113 692.635 312.433C692.635 317.313 694.035 318.113 696.635 318.113C699.835 318.113 700.055 314.653 700.055 310.933C700.055 309.093 699.995 307.273 699.895 305.433C700.235 305.493 700.575 305.533 700.915 305.533C701.255 305.533 701.575 305.493 701.915 305.433C701.795 306.613 701.655 309.473 701.655 312.933C701.655 317.573 699.635 319.493 695.755 319.493ZM705.221 313.693V310.973C705.221 308.733 705.181 307.193 705.061 305.433C705.501 305.473 706.041 305.533 706.701 305.533C707.581 305.533 708.561 305.433 710.321 305.433C714.881 305.433 718.021 306.893 718.021 311.933C718.021 316.333 714.861 319.233 711.101 319.233C709.101 319.233 707.741 319.133 706.701 319.133C706.041 319.133 705.501 319.193 705.061 319.233C705.181 317.473 705.221 315.933 705.221 313.693ZM708.181 310.573V314.133C708.181 315.213 708.181 317.653 708.201 318.033C708.601 318.053 709.141 318.093 709.961 318.093C712.961 318.093 714.861 316.053 714.861 311.893C714.861 308.613 713.041 306.573 710.281 306.573C709.321 306.573 708.821 306.613 708.201 306.673C708.181 307.053 708.181 309.493 708.181 310.573ZM720.868 313.693V310.973C720.868 308.733 720.828 307.193 720.708 305.433C721.148 305.473 721.688 305.533 722.348 305.533C723.008 305.533 723.548 305.473 723.988 305.433C723.868 307.193 723.828 308.733 723.828 310.973V313.693C723.828 315.933 723.868 317.473 723.988 319.233C723.548 319.193 723.008 319.133 722.348 319.133C721.688 319.133 721.148 319.193 720.708 319.233C720.828 317.473 720.868 315.933 720.868 313.693ZM670.267 333.333C671.967 337.893 674.307 343.973 675.827 347.233C675.187 347.193 674.627 347.133 674.067 347.133C673.507 347.133 672.927 347.193 672.367 347.233C671.947 345.873 671.487 344.493 670.987 343.133C670.127 343.113 669.287 343.093 668.427 343.093C667.727 343.093 667.047 343.113 666.347 343.133C665.807 344.493 665.367 345.853 664.987 347.233C664.667 347.193 664.367 347.133 664.047 347.133C663.727 347.133 663.427 347.193 663.047 347.233C664.027 345.013 667.027 337.893 668.747 333.333C669.007 333.373 669.247 333.433 669.507 333.433C669.767 333.433 670.007 333.373 670.267 333.333ZM666.867 341.953H670.527C669.947 340.333 669.387 338.753 668.747 337.193C668.067 338.753 667.447 340.333 666.867 341.953ZM684.607 347.233L681.027 340.873H680.847V341.693C680.847 343.933 680.887 345.473 681.007 347.233C680.567 347.193 680.027 347.133 679.367 347.133C678.707 347.133 678.167 347.193 677.727 347.233C677.847 345.473 677.887 343.933 677.887 341.693V338.973C677.887 336.733 677.847 335.193 677.727 333.433C678.167 333.473 678.707 333.533 679.367 333.533C680.087 333.533 680.947 333.433 682.307 333.433C684.327 333.433 685.067 333.613 685.767 334.113C686.567 334.693 687.067 335.573 687.067 336.753C687.067 338.693 685.947 339.933 683.967 340.433C685.247 342.693 686.767 344.973 688.227 347.233C687.627 347.193 687.027 347.133 686.427 347.133C685.827 347.133 685.207 347.193 684.607 347.233ZM684.007 337.193C684.007 334.833 683.087 334.573 680.907 334.573C680.867 336.393 680.847 338.193 680.847 340.013C681.007 340.033 681.147 340.053 681.287 340.053C683.047 340.053 684.007 339.073 684.007 337.193ZM695.834 333.333C697.534 337.893 699.874 343.973 701.394 347.233C700.754 347.193 700.194 347.133 699.634 347.133C699.074 347.133 698.494 347.193 697.934 347.233C697.514 345.873 697.054 344.493 696.554 343.133C695.694 343.113 694.854 343.093 693.994 343.093C693.294 343.093 692.614 343.113 691.914 343.133C691.374 344.493 690.934 345.853 690.554 347.233C690.234 347.193 689.934 347.133 689.614 347.133C689.294 347.133 688.994 347.193 688.614 347.233C689.594 345.013 692.594 337.893 694.314 333.333C694.574 333.373 694.814 333.433 695.074 333.433C695.334 333.433 695.574 333.373 695.834 333.333ZM692.434 341.953H696.094C695.514 340.333 694.954 338.753 694.314 337.193C693.634 338.753 693.014 340.333 692.434 341.953ZM703.454 341.693V338.973C703.454 336.733 703.414 335.193 703.294 333.433C703.734 333.473 704.274 333.533 704.934 333.533C706.074 333.533 707.394 333.433 708.534 333.433C710.934 333.433 712.574 334.353 712.574 336.533C712.574 338.713 710.554 339.633 709.314 339.833V339.873C710.534 339.933 712.914 340.813 712.914 343.233C712.914 346.093 710.634 347.233 708.254 347.233C707.194 347.233 706.314 347.133 705.314 347.133C704.594 347.133 703.734 347.193 703.294 347.233C703.414 345.473 703.454 343.933 703.454 341.693ZM709.614 336.913C709.614 335.633 709.054 334.573 707.474 334.573C706.894 334.573 706.754 334.593 706.494 334.633C706.454 335.613 706.414 336.733 706.414 337.413C706.414 338.133 706.434 338.773 706.434 339.453H707.334C708.474 339.453 709.614 338.613 709.614 336.913ZM709.754 343.373C709.754 341.513 708.894 340.593 707.294 340.593C706.934 340.593 706.674 340.613 706.434 340.613C706.434 341.173 706.414 341.733 706.414 342.553C706.414 343.813 706.454 345.353 706.454 346.053C706.814 346.073 707.114 346.093 707.554 346.093C708.734 346.093 709.754 345.113 709.754 343.373ZM715.76 341.693V338.973C715.76 336.733 715.72 335.193 715.6 333.433C716.04 333.473 716.58 333.533 717.24 333.533C717.9 333.533 718.44 333.473 718.88 333.433C718.76 335.193 718.72 336.733 718.72 338.973V341.693C718.72 343.933 718.76 345.473 718.88 347.233C718.44 347.193 717.9 347.133 717.24 347.133C716.58 347.133 716.04 347.193 715.6 347.233C715.72 345.473 715.76 343.933 715.76 341.693ZM728.06 333.333C729.76 337.893 732.1 343.973 733.62 347.233C732.98 347.193 732.42 347.133 731.86 347.133C731.3 347.133 730.72 347.193 730.16 347.233C729.74 345.873 729.28 344.493 728.78 343.133C727.92 343.113 727.08 343.093 726.22 343.093C725.52 343.093 724.84 343.113 724.14 343.133C723.6 344.493 723.16 345.853 722.78 347.233C722.46 347.193 722.16 347.133 721.84 347.133C721.52 347.133 721.22 347.193 720.84 347.233C721.82 345.013 724.82 337.893 726.54 333.333C726.8 333.373 727.04 333.433 727.3 333.433C727.56 333.433 727.8 333.373 728.06 333.333ZM724.66 341.953H728.32C727.74 340.333 727.18 338.753 726.54 337.193C725.86 338.753 725.24 340.333 724.66 341.953Z",
          fill: n.ACCENT_LIGHT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M827.164 769.666H827.204C828.284 768.146 829.344 765.626 830.224 763.666C830.524 763.706 830.824 763.766 831.144 763.766C831.464 763.766 831.764 763.706 832.104 763.666C831.224 765.166 829.204 768.806 827.924 771.326C827.924 771.966 827.884 772.626 827.884 773.286C827.884 774.606 827.904 775.966 828.084 777.466C827.524 777.426 826.944 777.366 826.384 777.366C825.824 777.366 825.244 777.426 824.684 777.466C824.744 776.186 824.924 774.846 824.924 773.606C824.924 772.986 824.904 772.366 824.884 771.746C823.504 769.086 821.224 764.806 820.604 763.666C821.204 763.706 821.804 763.766 822.404 763.766C823.004 763.766 823.584 763.706 824.184 763.666C825.104 765.646 826.604 768.746 827.164 769.666ZM833.971 771.926V769.206C833.971 766.966 833.931 765.426 833.811 763.666C834.991 763.686 836.191 763.766 837.371 763.766C839.331 763.766 841.011 763.726 841.551 763.666C841.511 763.906 841.471 764.146 841.471 764.506C841.471 764.926 841.511 765.106 841.551 765.406C840.031 765.306 837.631 765.166 837.031 765.166C836.931 766.626 836.931 768.066 836.931 769.526C838.671 769.486 839.951 769.446 841.471 769.366C841.391 769.826 841.371 770.006 841.371 770.266C841.371 770.486 841.411 770.666 841.471 771.086C839.951 770.966 838.451 770.906 836.931 770.906C836.931 771.746 836.911 772.606 836.911 773.466C836.911 774.306 836.931 775.166 836.971 775.966C838.471 775.966 840.011 775.886 841.551 775.706C841.511 775.986 841.471 776.186 841.471 776.606C841.471 777.026 841.511 777.226 841.551 777.466C840.831 777.446 839.891 777.366 838.051 777.366C834.791 777.366 834.251 777.426 833.811 777.466C833.931 775.706 833.971 774.166 833.971 771.926ZM845.791 768.386H845.751C845.331 771.406 845.151 774.446 844.951 777.466C844.631 777.406 844.311 777.366 844.011 777.366C843.691 777.366 843.391 777.406 843.071 777.466C843.911 772.866 844.571 768.266 845.131 763.666C845.411 763.726 845.671 763.766 845.951 763.766C846.211 763.766 846.491 763.726 846.751 763.666C848.211 766.846 849.911 770.406 851.371 773.226C852.951 770.246 854.591 766.846 856.031 763.666C856.311 763.726 856.611 763.766 856.891 763.766C857.171 763.766 857.451 763.726 857.731 763.666C858.251 768.266 858.951 774.646 859.451 777.466C858.911 777.406 858.371 777.366 857.831 777.366C857.291 777.366 856.731 777.406 856.171 777.466C856.031 774.686 855.691 771.286 855.371 768.186H855.331C853.831 771.286 852.351 774.366 850.911 777.466C850.791 777.446 850.651 777.426 850.531 777.426C850.411 777.426 850.271 777.446 850.151 777.466C848.731 774.446 847.291 771.406 845.791 768.386ZM861.744 771.926V769.206C861.744 766.966 861.704 765.426 861.584 763.666C862.764 763.686 863.964 763.766 865.144 763.766C867.104 763.766 868.784 763.726 869.324 763.666C869.284 763.906 869.244 764.146 869.244 764.506C869.244 764.926 869.284 765.106 869.324 765.406C867.804 765.306 865.404 765.166 864.804 765.166C864.704 766.626 864.704 768.066 864.704 769.526C866.444 769.486 867.724 769.446 869.244 769.366C869.164 769.826 869.144 770.006 869.144 770.266C869.144 770.486 869.184 770.666 869.244 771.086C867.724 770.966 866.224 770.906 864.704 770.906C864.704 771.746 864.684 772.606 864.684 773.466C864.684 774.306 864.704 775.166 864.744 775.966C866.244 775.966 867.784 775.886 869.324 775.706C869.284 775.986 869.244 776.186 869.244 776.606C869.244 777.026 869.284 777.226 869.324 777.466C868.604 777.446 867.664 777.366 865.824 777.366C862.564 777.366 862.024 777.426 861.584 777.466C861.704 775.706 861.744 774.166 861.744 771.926ZM872.104 767.646C872.104 765.846 872.024 764.626 872.004 763.666C872.304 763.726 872.604 763.766 872.904 763.766C873.204 763.766 873.504 763.726 873.804 763.666C876.684 766.846 879.544 770.006 882.484 773.186C882.484 770.006 882.484 764.566 882.344 763.666C882.644 763.726 882.944 763.766 883.244 763.766C883.544 763.766 883.844 763.726 884.144 763.666C883.824 769.486 883.824 772.146 883.824 777.466C883.544 777.406 883.284 777.366 883.004 777.366C882.724 777.366 882.464 777.406 882.224 777.466C879.484 774.226 876.564 770.986 873.484 767.746C873.444 769.246 873.444 770.906 873.444 772.406C873.444 775.606 873.504 776.726 873.564 777.466C873.244 777.406 872.924 777.366 872.624 777.366C872.324 777.366 872.004 777.406 871.704 777.466C871.804 776.886 872.104 771.726 872.104 767.646Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
        (0, e.jsx)("path", {
          d: "M1394.32 556.745C1394.32 552.805 1397.36 549.585 1402 549.585C1406.24 549.585 1409.58 551.905 1409.58 556.725C1409.58 560.685 1406.4 563.905 1401.94 563.905C1397.72 563.905 1394.32 561.745 1394.32 556.745ZM1406.3 556.305C1406.3 552.845 1404.52 550.725 1401.94 550.725C1399.2 550.725 1397.6 553.485 1397.6 556.925C1397.6 561.185 1399.56 562.665 1401.8 562.665C1404.2 562.665 1406.3 560.665 1406.3 556.305ZM1413.7 554.565H1413.66C1413.24 557.585 1413.06 560.625 1412.86 563.645C1412.54 563.585 1412.22 563.545 1411.92 563.545C1411.6 563.545 1411.3 563.585 1410.98 563.645C1411.82 559.045 1412.48 554.445 1413.04 549.845C1413.32 549.905 1413.58 549.945 1413.86 549.945C1414.12 549.945 1414.4 549.905 1414.66 549.845C1416.12 553.025 1417.82 556.585 1419.28 559.405C1420.86 556.425 1422.5 553.025 1423.94 549.845C1424.22 549.905 1424.52 549.945 1424.8 549.945C1425.08 549.945 1425.36 549.905 1425.64 549.845C1426.16 554.445 1426.86 560.825 1427.36 563.645C1426.82 563.585 1426.28 563.545 1425.74 563.545C1425.2 563.545 1424.64 563.585 1424.08 563.645C1423.94 560.865 1423.6 557.465 1423.28 554.365H1423.24C1421.74 557.465 1420.26 560.545 1418.82 563.645C1418.7 563.625 1418.56 563.605 1418.44 563.605C1418.32 563.605 1418.18 563.625 1418.06 563.645C1416.64 560.625 1415.2 557.585 1413.7 554.565ZM1435.55 549.745C1437.25 554.305 1439.59 560.385 1441.11 563.645C1440.47 563.605 1439.91 563.545 1439.35 563.545C1438.79 563.545 1438.21 563.605 1437.65 563.645C1437.23 562.285 1436.77 560.905 1436.27 559.545C1435.41 559.525 1434.57 559.505 1433.71 559.505C1433.01 559.505 1432.33 559.525 1431.63 559.545C1431.09 560.905 1430.65 562.265 1430.27 563.645C1429.95 563.605 1429.65 563.545 1429.33 563.545C1429.01 563.545 1428.71 563.605 1428.33 563.645C1429.31 561.425 1432.31 554.305 1434.03 549.745C1434.29 549.785 1434.53 549.845 1434.79 549.845C1435.05 549.845 1435.29 549.785 1435.55 549.745ZM1432.15 558.365H1435.81C1435.23 556.745 1434.67 555.165 1434.03 553.605C1433.35 555.165 1432.73 556.745 1432.15 558.365ZM1443.35 553.825C1443.35 552.025 1443.27 550.805 1443.25 549.845C1443.55 549.905 1443.85 549.945 1444.15 549.945C1444.45 549.945 1444.75 549.905 1445.05 549.845C1447.93 553.025 1450.79 556.185 1453.73 559.365C1453.73 556.185 1453.73 550.745 1453.59 549.845C1453.89 549.905 1454.19 549.945 1454.49 549.945C1454.79 549.945 1455.09 549.905 1455.39 549.845C1455.07 555.665 1455.07 558.325 1455.07 563.645C1454.79 563.585 1454.53 563.545 1454.25 563.545C1453.97 563.545 1453.71 563.585 1453.47 563.645C1450.73 560.405 1447.81 557.165 1444.73 553.925C1444.69 555.425 1444.69 557.085 1444.69 558.585C1444.69 561.785 1444.75 562.905 1444.81 563.645C1444.49 563.585 1444.17 563.545 1443.87 563.545C1443.57 563.545 1443.25 563.585 1442.95 563.645C1443.05 563.065 1443.35 557.905 1443.35 553.825Z",
          fill: n.ACCENT,
          fillOpacity: "0.5",
        }),
      ],
    }),
  },
  s = (0, e.jsxs)("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: 1400,
    height: 850,
    viewBox: "0 0 ".concat(1400, " ").concat(850),
    fill: "none",
    children: [
      (0, e.jsx)("path", {
        "data-region": "southern",
        d: "M306.686 726.167C320.334 725.598 347.858 724.006 348.768 722.186C349.905 719.911 353.886 711.95 355.592 706.832C356.309 704.681 358.029 702.531 359.952 700.128C362.606 696.811 365.646 693.012 366.965 688.066C368.785 681.241 367.723 667.025 366.965 660.769C367.913 657.547 370.036 650.761 370.946 649.396C371.159 649.077 371.312 648.638 371.487 648.136C372.249 645.954 373.429 642.572 381.751 642.572C389.939 642.572 420.42 649.775 434.637 653.377C439.755 652.808 450.674 651.216 453.403 649.396C456.815 647.121 477.856 644.847 493.779 647.121C498.956 647.861 503.955 648.781 508.869 649.686C519.066 651.564 528.914 653.377 539.273 653.377C545.337 653.377 549.362 653.111 552.642 652.894C557.666 652.561 560.945 652.345 567.138 653.377C573.056 654.363 581.828 652.878 590.262 651.449C596.412 650.408 602.389 649.396 606.945 649.396C609.983 649.396 612.976 648.946 615.848 648.515C623.191 647.412 629.744 646.428 634.241 653.377C636.954 657.569 638.704 661.334 640.234 664.624C642.231 668.921 643.853 672.41 646.752 674.986C651.87 679.536 675.754 688.066 678.597 688.066C681.441 688.066 703.619 686.928 705.893 685.791C708.115 684.825 712.134 683.056 715.561 676.692C719.541 669.3 724.091 657.926 724.66 655.651L727.788 492.444L508.875 511.21L459.659 499.268L427.813 481.07L443.168 462.873L427.814 447.851L403.929 458.892L381.751 450.362L322.04 491.306L299.863 488.462L273.703 494.717L259.487 488.464L241.858 483.346L241.858 511.208L225.936 525.425L231.054 544.76L262.899 562.389L273.703 590.935L236 612L237.5 617.5L244 623L244.5 625.5L252 629.5L268 641L269 644.5L276.5 652L280 653.5V656.5L278.5 659L279 666.5L278.5 667L279.5 677H281.5L283.5 679L286.5 683L290.5 683.5L292.5 685.5L291.5 687V691L290.5 694L300 701V704L301.5 706.832L301 709.5L303 710V713L300.5 717L301.5 722.186L304.5 724L305 725.5L306.686 726.167Z",
        stroke: n.ACCENT_LIGHT,
        strokeLinecap: "round",
        strokeDasharray: "4.5 5.6",
      }),
      (0, e.jsx)("path", {
        "data-region": "northern",
        d: "M341.378 3.30932L296.7 1.10693C281.638 0.364447 266.648 3.62662 253.257 10.5613L218.841 28.3842C213.867 30.9597 211.733 36.9429 213.953 42.0847L217.44 50.1608C219.415 54.7331 217.962 60.0631 213.941 63.0016L191.245 79.5873L140.633 94.9416L112.963 104.677C110.982 105.374 108.839 105.471 106.804 104.955L69.2023 95.4299C67.9223 95.1057 66.6069 94.9416 65.2865 94.9416C57.0734 94.9416 49.4351 97.323 43.5 103L38 107.5L31 115.5L23 124L22 127.5L3.58419 141.573C-1.03472 143.946 1.26975 145.6 2.33642 145.6L15.4999 141.573H25.4999V145.6H29.9999L31.9999 150H34.9999L35.4999 159.5L39.4999 163.5L40.9999 167L38.9999 169L38.4999 172L46.4999 177.5V184H48.4999L51.9999 190L52.4999 196.5L54.9999 200.5V203L53.4999 204L55.9999 206.5H62.4999V210L56.4999 214L58.9999 219.5H62.4999L63.9999 219L68.4999 223L68.9999 227L70.4999 229.5L69.9999 233L75.9999 238V242L72.9999 244L74.4999 247L70.4999 249.5L69.9999 252.5L63.9999 254L64.9999 259.5L68.4999 260.5L73.4999 269.5L70.4999 270.5V273L73.9999 277.5H78.9999V276L83.4999 275L115.044 260.425L120.731 233.129L84.336 201.283L94.5718 179.674L79.2179 172.85L84.336 154.083H109.926L129.83 168.301L199.207 168.301L219.679 149.534L203.188 137.592L191.245 125.423L259.487 108.021L270.859 115.414L302.138 109.727L333.414 104.04L366.966 100.628L385.162 111.433L453.403 111.433L459.658 94.9418L487.523 104.04L503.446 119.395L552.641 125.423L618.104 71.4648L528.468 68.2139L366.737 8.48956C358.597 5.48341 350.045 3.73658 341.378 3.30932Z",
        stroke: n.ACCENT_LIGHT,
        strokeLinecap: "round",
        strokeDasharray: "4.5 5.6",
      }),
      (0, e.jsx)("path", {
        "data-region": "western",
        d: "M232.5 607.5L236 612L273.703 590.936L262.899 562.391L231.054 544.76L225.936 525.425L241.858 511.209V483.344L259.487 488.464L273.703 494.72L299.863 488.464L322.041 491.305L381.751 450.362L403.929 458.892L427.814 447.851L390.85 411.693L409.616 370.749L385.163 348.57V329.236L359.953 328.097L343.65 284.31L351.802 254.171L339.101 238.249L322.041 224.032L315.785 201.286L262.898 201.284L252.093 215.5H214.538L199.207 168.301L129.83 168.301L109.925 154.083H84.3358L79.2178 172.85L94.5717 179.674L84.3358 201.284L120.731 233.129L115.044 260.425L83.4998 275L89.4998 281H96.4998L98.4998 283.5H102.5L109 289L115 291.5L115.5 294L118 294.5V301L120 303V307H123.5V319L127 324L128 326L125 329V332.5L126.5 333L132.5 344L134.5 351.5L130 360.5L130.5 366L126 369.5L125 372.5L122 376.5L120 380L118.5 381V378.5L115 380V386.5L118 391.5L120 395.5L119.5 400.5L118.5 401.5V406L121 405L122 406L121 407.5V412L115 415.5L114 419.5L115.5 422L115 427.5L119.5 434L120 438L122.5 439.5L131.5 458.5L140 469L143.5 470L145.5 472.5L150.5 474.5L148.5 471H151L154.5 472.5L160 471L165 477L168.5 478L169.5 481L171 483.5L177.5 484.5L186.5 490.5L185.5 494.5L187.5 495.5L189 501L191.5 500.5H197L200 503.5L200.5 509L197.5 511.5L203.5 515.5L207.5 516.5L208.5 519L206 524L207 527.5L209.5 528.5V530.5L211.5 533L210 535V540.5L213 543L217 543.5L217 546.5L213 552.5L215 558.5H218.5L219 561L214 568L216 570L216 574.5L219.5 576.5L224 577L227.5 584L227.5 596L230 602L233.5 604.5L232.5 607.5Z",
        stroke: n.ACCENT,
        strokeLinecap: "round",
        strokeDasharray: "4.5 5.6",
      }),
      (0, e.jsx)("path", {
        "data-region": "eastern",
        d: "M795.091 134.273L795.612 134.324M795.091 134.273C793.581 134.127 792.24 134.004 791.5 134.004C789.68 134.004 791.952 139.677 793.469 142.141C792.331 141.762 789.374 140.549 786.644 138.729C784.94 137.593 783.803 136.74 782.95 136.101C782.097 135.461 781.526 135.033 780.958 134.749C780.658 134.599 780.155 134.327 779.554 134.003C777.874 133.096 775.387 131.754 774.134 131.337C772.769 130.882 780.01 130.01 783.801 129.631C782.853 129.062 780.73 127.925 779.82 127.925C779.252 127.925 778.114 127.299 776.977 126.674C775.84 126.048 774.702 125.423 774.134 125.423C773.993 125.423 773.775 125.633 773.496 125.902C772.896 126.48 772.013 127.331 771.003 126.975C770.028 126.631 768.866 125.971 767.717 125.318C766.104 124.402 764.516 123.5 763.5 123.5C763.5 123.5 759.001 124.668 758 124C756.979 123.32 756.013 121.93 755.116 120.638C754.812 120.202 754.517 119.777 754.23 119.395H757.642L755.936 115.414L750.5 112L747.5 110.5C747.038 110.237 746.392 109.967 745.726 109.689C744.475 109.166 743.154 108.615 742.857 108.021C742.79 107.887 742.697 107.716 742.59 107.518C741.966 106.366 740.853 104.309 741.5 103.5C740.38 102.94 739.33 102.328 738.47 101.827C738.347 101.755 738.227 101.685 738.112 101.618L737 101C736.09 100.545 735.12 97.7584 735.5 97.0001L734.327 94.9417L730.915 93.236H687.696L678.597 87.5486C673.912 80.3405 666.272 75.58 657.737 74.5499L638.221 72.1945L618.104 71.4648L552.642 125.423L562.412 131.338L715.561 224.031L694.52 284.31L730.915 329.235L727.788 492.444L724.659 655.651C725.228 653.377 771.859 597.647 773.565 597.647C774.272 597.647 783.371 593.158 794.026 587.901C809.1 580.465 827.296 571.488 829.295 571.488C832.025 571.488 972.221 564.285 1041.98 560.683L1221.61 508.835C1230.75 506.2 1237.03 497.842 1237.03 488.338L1237.03 413.31C1237.03 403.653 1232.67 394.513 1225.17 388.438L1199.27 367.474C1192.69 362.15 1184.94 358.468 1176.66 356.73L1026.62 325.253L944.167 266.68L941 262.5L937.911 255.876L936.774 261.562L932.224 259.288C930.139 258.15 925.741 255.876 924.832 255.876C923.922 255.876 923.694 258.15 923.694 259.288L918.153 259.008L886.731 238.247C885.025 238.816 878.769 232.56 877.632 231.423C877.263 231.054 876.562 230.6 875.726 230.058C873.984 228.931 871.652 227.421 870.5 225.5C870.307 225.18 870.177 224.937 870.051 224.703C869.813 224.26 869.592 223.849 869 223L867 220.575C865.131 217.899 864.5 215.149 864.5 214C864.5 212.294 860.003 208.107 858.866 207.539C858.296 207.254 856.969 207.262 855.714 207.269C854.463 207.277 853.283 207.284 853 207C852.545 206.545 848.032 202.896 845 201L846 199L842 194.5L836.119 190V185.929L828.5 185L827.035 180.24C826.73 179.556 826.5 178.964 826.5 178.5C826.5 177.135 830.674 174.833 837 184.5C837.453 183.139 838.276 181.337 839.01 179.734C839.807 177.989 840.5 176.474 840.5 176C840.5 175.09 839.531 171.333 838.962 169.438C836.687 168.49 831.683 166.367 829.863 165.457C827.589 164.32 826.451 161.476 826.451 160.339C826.451 159.429 830.243 158.443 832.138 158.064L823 152.5L812.697 151.355L811.666 151.24C810.881 151.24 808.198 149.614 805.302 147.858C804.004 147.071 802.662 146.258 801.43 145.553C797.449 143.279 800.292 138.729 801.43 137.592C802.34 136.682 801.809 135.317 801.43 134.749C799.978 134.749 797.687 134.526 795.612 134.324M795.091 134.273C795.263 134.29 795.437 134.307 795.612 134.324",
        stroke: n.ACCENT_LIGHT,
        strokeLinecap: "round",
        strokeDasharray: "4.5 5.6",
      }),
      (0, e.jsx)("path", {
        "data-region": "central",
        d: "M459.659 499.268L508.874 511.21L727.787 492.444L730.915 329.236L694.52 284.311L715.561 224.032L562.412 131.338L552.641 125.423L503.447 119.395L487.523 104.041L459.659 94.9419L453.403 111.433L385.163 111.433L366.964 100.629L333.414 104.041L302.136 109.727L270.859 115.414L259.487 108.022L191.244 125.423L203.187 137.592L219.678 149.534L199.206 168.301L214.537 215.5H252.093L262.898 201.284H315.784L322.04 224.032L339.1 238.249L351.801 254.171L343.65 284.309L359.953 328.097L385.163 329.236V348.57L409.616 370.749L390.849 411.693L427.813 447.851L443.167 462.873L427.813 481.071L459.659 499.268Z",
        stroke: n.ACCENT_LIGHT,
        strokeLinecap: "round",
        strokeDasharray: "4.5 5.6",
      }),
    ],
  }),
  d = (0, e.jsx)("svg", {
    width: "45",
    height: "39",
    viewBox: "0 0 45 39",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    children: (0, e.jsx)("path", {
      "data-hotspot": "true",
      d: "M37.5977 1.7587L5.57347 2.11454C3.94114 2.13268 2.85741 3.80262 3.49225 5.29584V5.87075C3.49225 6.67683 3.89903 7.42848 4.57386 7.86936L7.18375 9.57445V11.204C7.18375 12.1339 7.72372 12.9792 8.56747 13.3701L9.67149 13.8817L11.3707 19.3747L3.49587 21.0547C1.78238 21.4203 1.03324 23.4456 2.0964 24.8382L3.77275 27.034C4.02965 27.3705 4.37142 27.6326 4.76301 27.7935L27.1992 37.0121C27.6771 37.2085 28.2059 37.2445 28.706 37.1147L33.0627 35.9846C33.5262 35.8643 33.9428 35.6075 34.2584 35.2474L37.6131 31.4204C38.2221 30.7256 38.3755 29.7418 38.007 28.8946L34.576 21.0057L42.3372 13.3535C43.024 12.6763 43.2359 11.6524 42.8742 10.7583L39.8374 3.25068C39.469 2.33987 38.5802 1.74778 37.5977 1.7587ZM9.65669 13.8338L9.65677 13.8341C9.65674 13.834 9.65672 13.8339 9.65669 13.8338L9.76432 13.8005L9.65669 13.8338ZM11.4071 19.4925C11.4071 19.4924 11.407 19.4922 11.407 19.4921L11.4071 19.4925Z",
      fill: n.ACCENT,
      fillOpacity: "0.30",
      stroke: n.ACCENT_LIGHT,
      strokeWidth: "1.4",
    }),
  });
function c(C) {
  let { activeRegion: L, ...r } = C;
  return (0, e.jsxs)("svg", {
    ...r,
    fill: "none",
    children: [
      (0, e.jsxs)("defs", {
        children: [
          (0, e.jsxs)("filter", {
            id: "rg-glow",
            x: "-40%",
            y: "-40%",
            width: "180%",
            height: "180%",
            children: [
              (0, e.jsx)("feGaussianBlur", {
                in: "SourceAlpha",
                stdDeviation: "8",
                result: "blur",
              }),
              (0, e.jsx)("feFlood", {
                floodColor: n.ACCENT_LIGHT,
                floodOpacity: "0.85",
                result: "color",
              }),
              (0, e.jsx)("feComposite", {
                in: "color",
                in2: "blur",
                operator: "in",
                result: "glow",
              }),
              (0, e.jsxs)("feMerge", {
                children: [
                  (0, e.jsx)("feMergeNode", { in: "glow" }),
                  (0, e.jsx)("feMergeNode", { in: "SourceGraphic" }),
                ],
              }),
            ],
          }),
          (0, e.jsxs)("filter", {
            id: "rg-glow-soft",
            x: "-25%",
            y: "-25%",
            width: "150%",
            height: "150%",
            children: [
              (0, e.jsx)("feGaussianBlur", {
                in: "SourceAlpha",
                stdDeviation: "4",
                result: "blur",
              }),
              (0, e.jsx)("feFlood", {
                floodColor: n.ACCENT,
                floodOpacity: "0.45",
                result: "color",
              }),
              (0, e.jsx)("feComposite", {
                in: "color",
                in2: "blur",
                operator: "in",
                result: "glow",
              }),
              (0, e.jsxs)("feMerge", {
                children: [
                  (0, e.jsx)("feMergeNode", { in: "glow" }),
                  (0, e.jsx)("feMergeNode", { in: "SourceGraphic" }),
                ],
              }),
            ],
          }),
          (0, e.jsxs)("filter", {
            id: "rg-fill-glow",
            x: "-30%",
            y: "-30%",
            width: "160%",
            height: "160%",
            children: [
              (0, e.jsx)("feGaussianBlur", {
                in: "SourceAlpha",
                stdDeviation: "18",
                result: "blur",
              }),
              (0, e.jsx)("feFlood", {
                floodColor: n.ACCENT_LIGHT,
                floodOpacity: "0.30",
                result: "color",
              }),
              (0, e.jsx)("feComposite", {
                in: "color",
                in2: "blur",
                operator: "in",
                result: "glow",
              }),
              (0, e.jsxs)("feMerge", {
                children: [
                  (0, e.jsx)("feMergeNode", { in: "glow" }),
                  (0, e.jsx)("feMergeNode", { in: "SourceGraphic" }),
                ],
              }),
            ],
          }),
          (0, e.jsxs)("radialGradient", {
            id: "rg-active-fill",
            cx: "50%",
            cy: "30%",
            r: "70%",
            children: [
              (0, e.jsx)("stop", {
                offset: "0%",
                stopColor: n.ACCENT_LIGHT,
                stopOpacity: "0.38",
              }),
              (0, e.jsx)("stop", {
                offset: "55%",
                stopColor: n.ACCENT,
                stopOpacity: "0.18",
              }),
              (0, e.jsx)("stop", {
                offset: "100%",
                stopColor: n.BACKDROP,
                stopOpacity: "0.05",
              }),
            ],
          }),
        ],
      }),
      [
        {
          id: "southern",
          d: "M306.686 726.167C320.334 725.598 347.858 724.006 348.768 722.186C349.905 719.911 353.886 711.95 355.592 706.832C356.309 704.681 358.029 702.531 359.952 700.128C362.606 696.811 365.646 693.012 366.965 688.066C368.785 681.241 367.723 667.025 366.965 660.769C367.913 657.547 370.036 650.761 370.946 649.396C371.159 649.077 371.312 648.638 371.487 648.136C372.249 645.954 373.429 642.572 381.751 642.572C389.939 642.572 420.42 649.775 434.637 653.377C439.755 652.808 450.674 651.216 453.403 649.396C456.815 647.121 477.856 644.847 493.779 647.121C498.956 647.861 503.955 648.781 508.869 649.686C519.066 651.564 528.914 653.377 539.273 653.377C545.337 653.377 549.362 653.111 552.642 652.894C557.666 652.561 560.945 652.345 567.138 653.377C573.056 654.363 581.828 652.878 590.262 651.449C596.412 650.408 602.389 649.396 606.945 649.396C609.983 649.396 612.976 648.946 615.848 648.515C623.191 647.412 629.744 646.428 634.241 653.377C636.954 657.569 638.704 661.334 640.234 664.624C642.231 668.921 643.853 672.41 646.752 674.986C651.87 679.536 675.754 688.066 678.597 688.066C681.441 688.066 703.619 686.928 705.893 685.791C708.115 684.825 712.134 683.056 715.561 676.692C719.541 669.3 724.091 657.926 724.66 655.651L727.788 492.444L508.875 511.21L459.659 499.268L427.813 481.07L443.168 462.873L427.814 447.851L403.929 458.892L381.751 450.362L322.04 491.306L299.863 488.462L273.703 494.717L259.487 488.464L241.858 483.346L241.858 511.208L225.936 525.425L231.054 544.76L262.899 562.389L273.703 590.935L236 612L237.5 617.5L244 623L244.5 625.5L252 629.5L268 641L269 644.5L276.5 652L280 653.5V656.5L278.5 659L279 666.5L278.5 667L279.5 677H281.5L283.5 679L286.5 683L290.5 683.5L292.5 685.5L291.5 687V691L290.5 694L300 701V704L301.5 706.832L301 709.5L303 710V713L300.5 717L301.5 722.186L304.5 724L305 725.5L306.686 726.167Z",
        },
        {
          id: "northern",
          d: "M341.378 3.30932L296.7 1.10693C281.638 0.364447 266.648 3.62662 253.257 10.5613L218.841 28.3842C213.867 30.9597 211.733 36.9429 213.953 42.0847L217.44 50.1608C219.415 54.7331 217.962 60.0631 213.941 63.0016L191.245 79.5873L140.633 94.9416L112.963 104.677C110.982 105.374 108.839 105.471 106.804 104.955L69.2023 95.4299C67.9223 95.1057 66.6069 94.9416 65.2865 94.9416C57.0734 94.9416 49.4351 97.323 43.5 103L38 107.5L31 115.5L23 124L22 127.5L3.58419 141.573C-1.03472 143.946 1.26975 145.6 2.33642 145.6L15.4999 141.573H25.4999V145.6H29.9999L31.9999 150H34.9999L35.4999 159.5L39.4999 163.5L40.9999 167L38.9999 169L38.4999 172L46.4999 177.5V184H48.4999L51.9999 190L52.4999 196.5L54.9999 200.5V203L53.4999 204L55.9999 206.5H62.4999V210L56.4999 214L58.9999 219.5H62.4999L63.9999 219L68.4999 223L68.9999 227L70.4999 229.5L69.9999 233L75.9999 238V242L72.9999 244L74.4999 247L70.4999 249.5L69.9999 252.5L63.9999 254L64.9999 259.5L68.4999 260.5L73.4999 269.5L70.4999 270.5V273L73.9999 277.5H78.9999V276L83.4999 275L115.044 260.425L120.731 233.129L84.336 201.283L94.5718 179.674L79.2179 172.85L84.336 154.083H109.926L129.83 168.301L199.207 168.301L219.679 149.534L203.188 137.592L191.245 125.423L259.487 108.021L270.859 115.414L302.138 109.727L333.414 104.04L366.966 100.628L385.162 111.433L453.403 111.433L459.658 94.9418L487.523 104.04L503.446 119.395L552.641 125.423L618.104 71.4648L528.468 68.2139L366.737 8.48956C358.597 5.48341 350.045 3.73658 341.378 3.30932Z",
        },
        {
          id: "western",
          d: "M232.5 607.5L236 612L273.703 590.936L262.899 562.391L231.054 544.76L225.936 525.425L241.858 511.209V483.344L259.487 488.464L273.703 494.72L299.863 488.464L322.041 491.305L381.751 450.362L403.929 458.892L427.814 447.851L390.85 411.693L409.616 370.749L385.163 348.57V329.236L359.953 328.097L343.65 284.31L351.802 254.171L339.101 238.249L322.041 224.032L315.785 201.286L262.898 201.284L252.093 215.5H214.538L199.207 168.301L129.83 168.301L109.925 154.083H84.3358L79.2178 172.85L94.5717 179.674L84.3358 201.284L120.731 233.129L115.044 260.425L83.4998 275L89.4998 281H96.4998L98.4998 283.5H102.5L109 289L115 291.5L115.5 294L118 294.5V301L120 303V307H123.5V319L127 324L128 326L125 329V332.5L126.5 333L132.5 344L134.5 351.5L130 360.5L130.5 366L126 369.5L125 372.5L122 376.5L120 380L118.5 381V378.5L115 380V386.5L118 391.5L120 395.5L119.5 400.5L118.5 401.5V406L121 405L122 406L121 407.5V412L115 415.5L114 419.5L115.5 422L115 427.5L119.5 434L120 438L122.5 439.5L131.5 458.5L140 469L143.5 470L145.5 472.5L150.5 474.5L148.5 471H151L154.5 472.5L160 471L165 477L168.5 478L169.5 481L171 483.5L177.5 484.5L186.5 490.5L185.5 494.5L187.5 495.5L189 501L191.5 500.5H197L200 503.5L200.5 509L197.5 511.5L203.5 515.5L207.5 516.5L208.5 519L206 524L207 527.5L209.5 528.5V530.5L211.5 533L210 535V540.5L213 543L217 543.5L217 546.5L213 552.5L215 558.5H218.5L219 561L214 568L216 570L216 574.5L219.5 576.5L224 577L227.5 584L227.5 596L230 602L233.5 604.5L232.5 607.5Z",
        },
        {
          id: "eastern",
          d: "M795.091 134.273L795.612 134.324M795.091 134.273C793.581 134.127 792.24 134.004 791.5 134.004C789.68 134.004 791.952 139.677 793.469 142.141C792.331 141.762 789.374 140.549 786.644 138.729C784.94 137.593 783.803 136.74 782.95 136.101C782.097 135.461 781.526 135.033 780.958 134.749C780.658 134.599 780.155 134.327 779.554 134.003C777.874 133.096 775.387 131.754 774.134 131.337C772.769 130.882 780.01 130.01 783.801 129.631C782.853 129.062 780.73 127.925 779.82 127.925C779.252 127.925 778.114 127.299 776.977 126.674C775.84 126.048 774.702 125.423 774.134 125.423C773.993 125.423 773.775 125.633 773.496 125.902C772.896 126.48 772.013 127.331 771.003 126.975C770.028 126.631 768.866 125.971 767.717 125.318C766.104 124.402 764.516 123.5 763.5 123.5C763.5 123.5 759.001 124.668 758 124C756.979 123.32 756.013 121.93 755.116 120.638C754.812 120.202 754.517 119.777 754.23 119.395H757.642L755.936 115.414L750.5 112L747.5 110.5C747.038 110.237 746.392 109.967 745.726 109.689C744.475 109.166 743.154 108.615 742.857 108.021C742.79 107.887 742.697 107.716 742.59 107.518C741.966 106.366 740.853 104.309 741.5 103.5C740.38 102.94 739.33 102.328 738.47 101.827C738.347 101.755 738.227 101.685 738.112 101.618L737 101C736.09 100.545 735.12 97.7584 735.5 97.0001L734.327 94.9417L730.915 93.236H687.696L678.597 87.5486C673.912 80.3405 666.272 75.58 657.737 74.5499L638.221 72.1945L618.104 71.4648L552.642 125.423L562.412 131.338L715.561 224.031L694.52 284.31L730.915 329.235L727.788 492.444L724.659 655.651C725.228 653.377 771.859 597.647 773.565 597.647C774.272 597.647 783.371 593.158 794.026 587.901C809.1 580.465 827.296 571.488 829.295 571.488C832.025 571.488 972.221 564.285 1041.98 560.683L1221.61 508.835C1230.75 506.2 1237.03 497.842 1237.03 488.338L1237.03 413.31C1237.03 403.653 1232.67 394.513 1225.17 388.438L1199.27 367.474C1192.69 362.15 1184.94 358.468 1176.66 356.73L1026.62 325.253L944.167 266.68L941 262.5L937.911 255.876L936.774 261.562L932.224 259.288C930.139 258.15 925.741 255.876 924.832 255.876C923.922 255.876 923.694 258.15 923.694 259.288L918.153 259.008L886.731 238.247C885.025 238.816 878.769 232.56 877.632 231.423C877.263 231.054 876.562 230.6 875.726 230.058C873.984 228.931 871.652 227.421 870.5 225.5C870.307 225.18 870.177 224.937 870.051 224.703C869.813 224.26 869.592 223.849 869 223L867 220.575C865.131 217.899 864.5 215.149 864.5 214C864.5 212.294 860.003 208.107 858.866 207.539C858.296 207.254 856.969 207.262 855.714 207.269C854.463 207.277 853.283 207.284 853 207C852.545 206.545 848.032 202.896 845 201L846 199L842 194.5L836.119 190V185.929L828.5 185L827.035 180.24C826.73 179.556 826.5 178.964 826.5 178.5C826.5 177.135 830.674 174.833 837 184.5C837.453 183.139 838.276 181.337 839.01 179.734C839.807 177.989 840.5 176.474 840.5 176C840.5 175.09 839.531 171.333 838.962 169.438C836.687 168.49 831.683 166.367 829.863 165.457C827.589 164.32 826.451 161.476 826.451 160.339C826.451 159.429 830.243 158.443 832.138 158.064L823 152.5L812.697 151.355L811.666 151.24C810.881 151.24 808.198 149.614 805.302 147.858C804.004 147.071 802.662 146.258 801.43 145.553C797.449 143.279 800.292 138.729 801.43 137.592C802.34 136.682 801.809 135.317 801.43 134.749C799.978 134.749 797.687 134.526 795.612 134.324M795.091 134.273C795.263 134.29 795.437 134.307 795.612 134.324",
        },
        {
          id: "central",
          d: "M459.659 499.268L508.874 511.21L727.787 492.444L730.915 329.236L694.52 284.311L715.561 224.032L562.412 131.338L552.641 125.423L503.447 119.395L487.523 104.041L459.659 94.9419L453.403 111.433L385.163 111.433L366.964 100.629L333.414 104.041L302.136 109.727L270.859 115.414L259.487 108.022L191.244 125.423L203.187 137.592L219.678 149.534L199.206 168.301L214.537 215.5H252.093L262.898 201.284H315.784L322.04 224.032L339.1 238.249L351.801 254.171L343.65 284.309L359.953 328.097L385.163 329.236V348.57L409.616 370.749L390.849 411.693L427.813 447.851L443.167 462.873L427.813 481.071L459.659 499.268Z",
        },
      ].map((C) => {
        let { id: r, d: o } = C,
          a = L === r,
          i = !!L;
        return (0, e.jsxs)(
          React.Fragment,
          {
            children: [
              (0, e.jsx)("path", {
                "data-region": r,
                d: o,
                fill: a
                  ? "url(#rg-active-fill)"
                  : i
                    ? n.BACKDROP
                    : n.ACCENT,
                fillOpacity: a ? 1 : i ? 0.05 : 0.08,
                stroke: "none",
                filter: a ? "url(#rg-fill-glow)" : void 0,
              }),
              (0, e.jsx)("path", {
                "data-region": r,
                d: o,
                fill: "none",
                strokeLinecap: "round",
                stroke: a ? n.GLASS_BORDER_STRONG : n.GLASS_BORDER,
                strokeWidth: a ? 2 : 1,
                strokeDasharray: a ? void 0 : "4.5 5.6",
                opacity: i && !a ? 0.15 : 0.7,
                filter: a
                  ? "url(#rg-glow)"
                  : i
                    ? void 0
                    : "url(#rg-glow-soft)",
              }),
            ],
          },
          r,
        );
      }),
    ],
  });
}
let u = {
  central: [
    {
      id: "riyadh",
      svg: d,
      u: 0.5,
      v: 0.46,
      widthFrac: 0.035,
      fallW: 1100,
      fallH: 900,
      link: "/riyadhProjects",
      useRiyadhPlacement: !0,
    },
  ],
  western: [
    {
      id: "jeddah",
      svg: (0, e.jsx)("svg", {
        width: "24",
        height: "70",
        viewBox: "0 0 24 70",
        fill: "none",
        xmlns: "http://www.w3.org/2000/svg",
        children: (0, e.jsx)("path", {
          d: "M2.96083 42.1956L2.96083 42.1956L1.94857 44.865L3.11736 45.3082L1.94857 44.865C1.78768 45.2893 1.75104 45.7506 1.84294 46.195L3.61585 54.7671C3.67421 55.0493 3.78316 55.3185 3.93743 55.5618L8.06162 62.0672L8.08238 62.0999L8.10513 62.1313L10.6865 65.6939L12.0632 67.6598C13.2408 69.3413 15.8509 68.8509 16.3379 66.8567L19.6407 53.332L21.1854 52.0944C21.9422 51.4882 22.2571 50.4843 21.9822 49.5545L19.8337 42.2872L22.0242 35.2669C22.2476 34.5509 22.1216 33.7716 21.6839 33.1625L20.6688 33.892L21.6839 33.1625L17.9572 27.9773L17.307 16.052V8.06914C17.307 7.5945 17.1655 7.13064 16.9006 6.73679L14.5653 3.26458C13.8194 2.15551 12.3083 1.87486 11.2139 2.64211L10.06 3.4511C9.42257 3.89795 9.04306 4.62749 9.04306 5.40592V7.22584L4.77633 6.68675C3.12761 6.47843 1.77576 7.97639 2.15158 9.59516L2.97401 13.1376C3.07688 13.5806 3.30417 13.9851 3.62913 14.3033L4.50373 13.4103L3.62913 14.3033L6.61338 17.2259V27.3424C6.61338 27.5426 6.63856 27.742 6.68833 27.9359L7.86734 32.5294V38.5853L3.93891 41.0107C3.49122 41.2871 3.14738 41.7036 2.96083 42.1956ZM7.92081 38.5523L7.92053 38.5525C7.92063 38.5524 7.92072 38.5523 7.92082 38.5523L7.98001 38.6481L7.92081 38.5523Z",
          fill: n.ACCENT,
          fillOpacity: "0.30",
          stroke: n.ACCENT_LIGHT,
          strokeWidth: "2",
        }),
      }),
      u: 0.2415,
      v: 0.524,
      widthFrac: 0.012,
      fallW: 500,
      fallH: 500,
      link: "/jeddahProjects",
    },
    {
      id: "Makkah",
      svg: (0, e.jsx)("svg", {
        xmlns: "http://www.w3.org/2000/svg",
        id: "Layer_2",
        "data-name": "Layer 2",
        viewBox: "0 0 205.91 166.21",
        children: (0, e.jsx)("g", {
          id: "Layer_1-2",
          "data-name": "Layer 1",
          children: (0, e.jsx)("path", {
            d: "M49.53,160.07c-3.77-1.6-5.43-.1-6.46,1.01-6.88,7.43-19.03,5.66-24.6,1.81-7.48-5.17-16.95-12.24-18.27-20.73s4.12-15.73,11.67-19.84c4.1-2.23,10.33-2.93,12.15-7.23.69-1.62.72-3.44.7-5.2-.12-7.54-.05-15.26,3.49-21.92,4.07-7.67,13.23-11,16.63-18.98.9-2.11-.17-5.1,2.54-6.16,1.73-.68,6.09-1.59,7.68-.63,2.66,1.6,1.89,4.72,2.67,7.05,1.52,4.57,5.89,7.55,10.45,6.02,3.98-1.33,7.98-7.34,5.97-11.62-.97-2.06-4.51-3.19-6.32-4.44-1.6-1.1-5.96-3.05-7.42-4.33-.76-.67-.11-1.93.89-1.7l19.06,4.43c3.34.76,6.44.68,9.48-.91,3.19-1.67,3.81-6,9.99-2.6,2.24,1.23,1.23-3.65.03-5.16-1.2-1.52-2.97-2.52-4.11-4.09-2.27-3.13-1.3-7.73,1.18-10.69,2.47-2.97,7-3.58,10.5-5.2,3.86-1.79,6.92-4.72,11.17-4.99,6.28-.4,12.57,2.65,18.75,1.42,4.97-.99,8.79-6.1,12.52-9.54,4.38-3.67,9.76-5.19,13.04-10.34,2.04-3.21,5.93-5.3,9.73-5.47,5.14-.23,9.16,4.21,13.94,6.12,4.01,1.6,8.54,1.37,12.63,2.77.67.23,6.9,1.24,6.72,7.78-.05,1.58-1.68,2.56-2.15,2.79-3.33,1.61-9.33-1.35-12.11,1.13-.44.39-.42,1.83-.1,4.7.58,5.15-3.32,7.16-3.25,11.2.05,3.13.77,4.87.39,9.55-.07.88.26,3.95-.83,4.98-.87.81-3.24.19-4.38.52-4.63,1.37-4.42,9.62-2.71,14.13,1.72,4.51,7.05,10.68,2.9,11.77-3.37.89-7.01,2.03-6.84-5.12.01-.5-.23-.95-.73-.97l-.99-.04c-.65-.03-1.05.41-.98.9.26,1.75.28,5.12-1.65,5.45-2.29.4-6.27-2.02-8.47-2.77-3.75-1.28-8.09-1.68-11.51.32-3.42,2-7.06,6.53-4.56,9.6,1.36,1.67,4.91,2.31,5.86,4.24.62,1.27.64,2.85.52,4.26-.31,3.78-.1,7.03-.43,10.35-.16,1.55.63,3.05,1.95,3.86,1.7,1.05,3.52,2.1,5.27,1.94,2.97,2.19-3.54,6.42-2.27,9.89.41,1.11,1.52,1.75,2.35,2.59,1.2,1.22,1.8,2.34,1.45,4.36-.14.78-.64,1.46-1.37,1.78l-3.3,1.47c-2.43,1.7-3.69,4.63-3.24,7.57l2.17,6.29c.44,1.27.54,2.63.28,3.95-.06.33-.13.63-.19.87-1.15,4.93-4.97,4.76-8.25,4.44-6.21-.61-7.63-2.54-13.84-3.15-1.78-.18-6.81,1.23-8.85-.36-1.09-.85-2.71-2.68-4-3.17-2.65-1.01-6.46,2.14-8.83.59-.86-.56-1.4-1.48-1.9-2.37-3-5.25-4.14-11.41-7.14-16.66-.49-.85-2.19-3.22-3.11-3.56-1.12-.41-2.92,2-4.12,3.15-2.57,2.46-7.22,5.6-8.11,9.04s3.97,2.54,6.69,3.93c1.37,2.1-1.6,3.98-3.55,5.55-12.49,10.08-5.36,5.09-20,12.54-8.75,4.45-16.88,6.97-20.64,5.03-.37-.19-.86-2.76-1.84-3.17Z",
            fill: n.ACCENT,
            fillOpacity: "0.30",
            stroke: n.ACCENT_LIGHT,
            strokeWidth: "8.5",
          }),
        }),
      }),
      u: 0.27,
      v: 0.532,
      widthFrac: 0.03,
      fallW: 500,
      fallH: 500,
      link: "/makkahProjects",
    },
  ],
};

const w = (C: any, e: any) => {
  var t;
  return C && "object" == typeof C ? (null != (t = C[e]) ? t : C.en) : C;
};

const projectToMap = (C: any) => {
  let { u: e, v: t, RW: L, RH: r } = C;
  return { left: e * L, top: t * r };
};

const V = (C, e, t) => {
  var L;
  let r = null == C || null == (L = C.props) ? void 0 : L.viewBox;
  if (r) {
    let C = String(r).trim().split(/\s+/),
      e = Number(C[2]),
      t = Number(C[3]);
    if (Number.isFinite(e) && e > 0 && Number.isFinite(t) && t > 0)
      return { w: e, h: t };
  }
  return { w: e, h: t };
};
const Z = (C, e, t) => Math.min(t, Math.max(e, C));

export default function SaudiamapUi() {
  const [registeredCities, setRegisteredCities] = useState<any[]>([]);
  useEffect(() => {
    let active = true;
    fetch("/api/admin/projects")
      .then((response) => {
        if (!response.ok) throw new Error("تعذر تحميل المحافظات على الخريطة العامة.");
        return response.json();
      })
      .then((store) => {
        if (active && Array.isArray(store.cities)) setRegisteredCities(store.cities);
      })
      .catch((error) => {
        if (active) console.error("Failed to load map cities:", error);
      });
    return () => {
      active = false;
    };
  }, []);

  let C = (0, t.useRef)(null),
    d = (0, t.useRef)(null),
    m = (0, L.useRouter)(),
    { language: H } = (0, g.useLanguage)(),
    [y, b] = (0, t.useState)(!1),
    [E, j] = (0, t.useState)(0),
    [T, k] = (0, t.useState)(0),
    [A, S] = (0, t.useState)(0),
    [O, R] = (0, t.useState)(0),
    [N, _] = (0, t.useState)(1),
    G = (0, t.useRef)({
      down: !1,
      sx: 0,
      sy: 0,
      tx0: 0,
      ty0: 0,
      moved: !1,
    }),
    [D, F] = (0, t.useState)(null),
    [B, P] = (0, t.useState)(!1),
    [I, W] = (0, t.useState)(!1),
    z = () => {
      var C, e;
      let t = window.visualViewport,
        L = Math.max(
          1,
          Math.floor(
            null != (C = null == t ? void 0 : t.width)
              ? C
              : window.innerWidth,
          ),
        ),
        r = Math.max(
          1,
          Math.floor(
            null != (e = null == t ? void 0 : t.height)
              ? e
              : window.innerHeight,
          ),
        );
      (j(L), k(r));
    };
  ((0, t.useEffect)(() => {
    var C;
    z();
    let e = () => z();
    return (
      window.addEventListener("resize", e),
      window.addEventListener("orientationchange", e),
      null == (C = window.visualViewport) ||
      C.addEventListener("resize", e),
      () => {
        var C;
        (window.removeEventListener("resize", e),
          window.removeEventListener("orientationchange", e),
          null == (C = window.visualViewport) ||
          C.removeEventListener("resize", e));
      }
    );
  }, []),
    (0, t.useEffect)(() => {
      let C = d.current;
      if (!C) return;
      let e = () => b(!0);
      return (
        C.complete && C.naturalWidth
          ? e()
          : C.addEventListener("load", e, { once: !0 }),
        () => {
          var t;
          return null == (t = C.removeEventListener)
            ? void 0
            : t.call(C, "load", e);
        }
      );
    }, []));
  let X = E < 800,
    U = (0, t.useMemo)(() => T, [T]),
    { RW: Y, RH: K } = (0, t.useMemo)(() => {
      let C =
        1.1 + (1.02 - 1.1) * Math.min(1, Math.max(0, (900 - U) / 500)),
        e = Math.ceil((Math.max(E, U) + 2) * C);
      return { RW: e, RH: e };
    }, [E, U]),
    J = (0, t.useMemo)(
      () => ({
        maxX: Math.max(0, (N * Y - E) / 2),
        maxY: Math.max(0, (N * K - U) / 2),
      }),
      [Y, K, E, U, N],
    );
  (0, t.useEffect)(() => {
    (S((C) => Z(C, -J.maxX, J.maxX)), R((C) => Z(C, -J.maxY, J.maxY)));
  }, [J.maxX, J.maxY]);
  let q = (e) => {
    var t;
    let L = C.current;
    (null == L ||
      null == (t = L.releasePointerCapture) ||
      t.call(L, e.pointerId),
      (G.current.down = !1),
      L && (L.style.cursor = "grab"));
  },
    Q = (C) => {
      var e, t;
      let L = { z: N, x: A, y: O };
      r.gsap.to(L, {
        ...C,
        duration: null != (e = C.duration) ? e : 0.6,
        ease: null != (t = C.ease) ? t : "power2.out",
        onUpdate: () => {
          (_(L.z), S(L.x), R(L.y));
        },
      });
    },
    $ = (0, t.useMemo)(() => {
      if (!D) return [];
      let C = null == i ? void 0 : i[D];
      return C ? (Array.isArray(C) ? C : [C]) : [];
    }, [D]),
    CC = (0, t.useMemo)(
      () => {
        let mapRegion = {
          northern: "north",
          western: "west",
          central: "central",
          eastern: "east",
          southern: "south",
        }[D as string];
        let extraCities = registeredCities
          .filter(
            (city) =>
              city.regionId === mapRegion &&
              !["riyadh", "jeddah", "makkah"].includes(city.id),
          )
          .map((city) => ({
            id: `city-${city.id}`,
            text: { en: city.nameEn, ar: city.nameAr },
            u: city.globalX / 100,
            v: city.globalY / 100,
            widthFrac: 0.065,
            aspect: 0.3,
            link: `/city/${city.id}`,
          }));
        return [...$, ...extraCities].map((C) => {
          var e, t;
          let { left: L, top: r } = projectToMap({ u: C.u, v: C.v, RW: Y, RH: K }),
            n = (null != (e = C.widthFrac) ? e : 0.065) * Y,
            o = n * (null != (t = C.aspect) ? t : 0.3);
          return {
            word: C,
            box: { x: L - n / 2, y: r - o / 2, w: n, h: o },
          };
        });
      },
      [$, Y, K, D, registeredCities],
    ),
    Ce = (C) => {
      C.preventDefault();
      let e = Z(N * (1 - 0.0018 * C.deltaY), 1, 2.2);
      (e < N && D && (F(null), W(!1)),
        ((C, e, t) => {
          let L = Z(t, 1, 2.2),
            r = C - E / 2,
            n = e - U / 2,
            o = (r - A) / N + Y / 2,
            a = (n - O) / N + K / 2,
            i = Math.max(0, (L * Y - E) / 2),
            l = Math.max(0, (L * K - U) / 2),
            s = Z(r - L * (o - Y / 2), -i, i),
            d = Z(n - L * (a - K / 2), -l, l);
          Q({ z: L, x: s, y: d, duration: 0.25 });
        })(C.clientX, C.clientY, e));
    },
    Ct = (0, t.useMemo)(() => {
      var C;
      let { left: e, top: t } = projectToMap({ u: l.u, v: l.v, RW: Y, RH: K }),
        { w: L, h: r } = V(l.svg, l.width, l.height),
        n = (null != (C = l.widthFrac) ? C : 0.1) * Y,
        o = (r / L) * n;
      return { x: e - n / 2, y: t - o / 2, w: n, h: o, iW: L, iH: r };
    }, [Y, K]),
    CL = (0, t.useMemo)(() => {
      let { left: C, top: e } = projectToMap({ u: o.u, v: o.v, RW: Y, RH: K }),
        { w: t, h: L } = V(s, 1400, 850),
        r = o.widthFrac * Y,
        n = (L / t) * r;
      return { x: C - r / 2, y: e - n / 2, w: r, h: n, iW: t, iH: L };
    }, [Y, K]),
    Cr = (0, t.useMemo)(() => {
      let C = Math.pow(Math.min(1, U / Y || 1), 0.5);
      return a.map((e) => {
        var t;
        let { left: L, top: r } = projectToMap({ u: e.u, v: e.v, RW: Y, RH: K }),
          n = Math.min(
            2.2,
            Math.max(
              0.55,
              (((null != (t = e.widthFrac) ? t : 0.08) * Y) / 163.84) * C,
            ),
          );
        return { ...e, left: L, top: r, scale: n };
      });
    }, [Y, K, U]);
  (D && (null == i || i[D]),
    (0, t.useEffect)(() => {
      let e = C.current;
      if (!e) return;
      let t = (C) => {
        (C.preventDefault(), Ce(C));
      },
        L = (C) => {
          C.preventDefault();
        };
      return (
        e.addEventListener("wheel", t, { passive: !1 }),
        e.addEventListener("touchmove", L, { passive: !1 }),
        () => {
          (e.removeEventListener("wheel", t),
            e.removeEventListener("touchmove", L));
        }
      );
    }, [Ce]));
  let Cn = (0, t.useMemo)(() => {
    var C;
    return D
      ? (null != (C = null == u ? void 0 : u[D]) ? C : [])
        .map((C) => {
          if (
            Number.isFinite(C.u) &&
            Number.isFinite(C.v) &&
            Number.isFinite(C.widthFrac)
          ) {
            var e, t, L;
            let { left: r, top: n } = projectToMap({
              u: C.u,
              v: C.v,
              RW: Y,
              RH: K,
            }),
              { w: o, h: a } = V(
                C.svg,
                null != (e = C.fallW) ? e : 1e3,
                null != (t = C.fallH) ? t : 1e3,
              ),
              i = (null != (L = C.widthFrac) ? L : 0.04) * Y,
              l = (a / o) * i;
            return {
              ...C,
              box: {
                x: r - i / 2,
                y: n - l / 2,
                w: i,
                h: l,
                iW: o,
                iH: a,
              },
            };
          }
          return null;
        })
        .filter(Boolean)
      : [];
  }, [D, Y, K]),
    Co = {
      position: "absolute",
      left: "50%",
      top: "50%",
      width: "".concat(Y, "px"),
      height: "".concat(K, "px"),
      transform: "translate(calc(-50% + "
        .concat(A, "px), calc(-50% + ")
        .concat(O, "px))"),
      transformOrigin: "center center",
      willChange: "transform",
    };
  return (0, e.jsxs)("div", {
    ref: C,
    onPointerDown: (e) => {
      var t, L, r;
      if (
        e.target &&
        (null == (t = (L = e.target).closest)
          ? void 0
          : t.call(L, "[data-nodrag]"))
      )
        return;
      let n = C.current;
      (null == n ||
        null == (r = n.setPointerCapture) ||
        r.call(n, e.pointerId),
        (G.current = {
          down: !0,
          sx: e.clientX,
          sy: e.clientY,
          tx0: A,
          ty0: O,
          moved: !1,
        }),
        n && (n.style.cursor = "grabbing"));
    },
    onPointerMove: (C) => {
      let e = G.current;
      if (!e.down) return;
      let t = C.clientX - e.sx,
        L = C.clientY - e.sy;
      (2 > Math.abs(t) && 2 > Math.abs(L)) ||
        ((e.moved = !0),
          S(Z(e.tx0 + t, -J.maxX, J.maxX)),
          R(Z(e.ty0 + L, -J.maxY, J.maxY)));
    },
    onPointerUp: q,
    onPointerCancel: q,
    style: {
      position: "relative",
      width: "100%",
      height: "".concat(X ? Math.round(+T) : T, "px"),
      overflow: "hidden",
      height: "".concat(T, "px"),
      background: "#0b0f14",
      touchAction: "none",
      cursor: "grab",
    },
    children: [
      !y && (0, e.jsx)(p.Loader, { message: "Loading Map..." }),
      (0, e.jsx)(x.CalloutButton, { "data-nodrag": !0 }),
      y && (0, e.jsx)(M.LanguageTransitionButton, {}),
      (0, e.jsx)("div", {
        "data-nodrag": !0,
        onPointerDown: (C) => C.stopPropagation(),
        onPointerMove: (C) => C.stopPropagation(),
        onWheel: (C) => C.stopPropagation(),
        style: {
          position: "fixed",
          top: 20,
          right: 20,
          zIndex: 1400,
          pointerEvents: "auto",
        },
        children: (0, e.jsxs)("div", {
          style: { display: "flex", alignItems: "center", gap: 9 },
          children: [
            (0, e.jsx)(v.DayNightSwitch, {
              isNight: B,
              onToggle: P,
            }),
            (0, e.jsx)("button", {
              type: "button",
              "aria-label": "فتح لوحة إدارة المدن والمشاريع",
              title: "إدارة المدن والمشاريع",
              onClick: (e) => {
                e.stopPropagation();
                m.push("/admin");
              },
              style: {
                width: 38,
                height: 38,
                border: "1px solid ".concat(n.GLASS_BORDER),
                borderRadius: 10,
                background: n.GLASS_LABEL,
                color: n.ACCENT_LIGHT,
                boxShadow: n.SHADOW_CARD,
                fontSize: 18,
                cursor: "pointer",
              },
              children: "⚙",
            }),
          ],
        }),
      }),
      (0, e.jsx)("div", {
        style: Co,
        children: (0, e.jsxs)("div", {
          onClick: () => {
            if (G.current.moved) {
              G.current.moved = !1;
              return;
            }
            (1 !== N || 0 !== A || 0 !== O || D || I) &&
              (F(null), W(!1), Q({ z: 1, x: 0, y: 0 }));
          },
          style: {
            position: "absolute",
            inset: 0,
            transform: "scale(".concat(N, ")"),
            transformOrigin: "center",
            willChange: "transform",
          },
          children: [
            (0, e.jsx)("img", {
              ref: d,
              src: B
                ? "/middleeastmap/earthmap-night.webp"
                : "/middleeastmap/earthmap.webp",
              alt: "Saudi Arabia Map",
              draggable: !1,
              style: {
                width: "100%",
                height: "100%",
                objectFit: "cover",
                display: y ? "block" : "none",
                pointerEvents: "none",
                filter: "brightness(0.62)",
                WebkitFilter: "brightness(0.62)",
                userSelect: "none",
              },
            }),
            y &&
            (0, e.jsx)("div", {
              style: {
                position: "absolute",
                inset: 0,
                pointerEvents: "none",
              },
              children: (0, e.jsx)("svg", {
                viewBox: "0 0 ".concat(Y, " ").concat(K),
                preserveAspectRatio: "none",
                width: "100%",
                height: "100%",
                children: (0, e.jsx)(c, {
                  activeRegion: D,
                  x: CL.x,
                  y: CL.y,
                  width: CL.w,
                  height: CL.h,
                  viewBox: "0 0 ".concat(CL.iW, " ").concat(CL.iH),
                  preserveAspectRatio: "none",
                }),
              }),
            }),
            y &&
            Ct &&
            (0, e.jsx)("div", {
              style: {
                position: "absolute",
                inset: 0,
                pointerEvents: "none",
                zIndex: 4,
              },
              children: (0, e.jsx)("svg", {
                viewBox: "0 0 ".concat(Y, " ").concat(K),
                preserveAspectRatio: "none",
                width: "100%",
                height: "100%",
                style: { pointerEvents: "none" },
                children: React.cloneElement(l.svg, {
                  x: Ct.x,
                  y: Ct.y,
                  width: Ct.w,
                  height: Ct.h,
                  viewBox: "0 0 ".concat(Ct.iW, " ").concat(Ct.iH),
                  preserveAspectRatio: "none",
                }),
              }),
            }),
            y &&
            Cn.length > 0 &&
            (0, e.jsxs)("div", {
              style: {
                position: "absolute",
                inset: 0,
                pointerEvents: "none",
                zIndex: 4,
              },
              children: [
                (0, e.jsx)("svg", {
                  viewBox: "0 0 ".concat(Y, " ").concat(K),
                  preserveAspectRatio: "none",
                  width: "100%",
                  height: "100%",
                  style: { pointerEvents: "none" },
                  children: Cn.map((C) =>
                    React.cloneElement(C.svg, {
                      key: C.id,
                      x: C.box.x,
                      y: C.box.y,
                      width: C.box.w,
                      height: C.box.h,
                      viewBox: "0 0 "
                        .concat(C.box.iW, " ")
                        .concat(C.box.iH),
                      preserveAspectRatio: "none",
                    }),
                  ),
                }),
                Cn.map(
                  (C) =>
                    C.link &&
                    (0, e.jsx)(
                      "div",
                      {
                        onClick: (e) => {
                          (e.stopPropagation(),
                            /^https?:\/\//i.test(C.link)
                              ? window.open(
                                C.link,
                                "_blank",
                                "noopener,noreferrer",
                              )
                              : m.push(C.link));
                        },
                        onPointerDown: (C) => C.stopPropagation(),
                        style: {
                          position: "absolute",
                          left: C.box.x,
                          top: C.box.y,
                          width: C.box.w,
                          height: C.box.h,
                          pointerEvents: "auto",
                          cursor: "pointer",
                          background: "transparent",
                        },
                        role: "button",
                        "aria-label": C.id || "Open",
                      },
                      "".concat(C.id, "-hotspot"),
                    ),
                ),
              ],
            }),
            y &&
            CC.map((C) => {
              var t;
              let { word: L, box: r } = C;
              return (0, e.jsx)(
                "div",
                {
                  style: {
                    position: "absolute",
                    left: r.x,
                    top: r.y,
                    width: r.w,
                    height: r.h,
                    transform: "translate(-50%, -50%)",
                    pointerEvents: L.link ? "auto" : "none",
                    display: "inline-flex",
                    alignItems: "center",
                    justifyContent: "center",
                    gap: Math.max(6, 0.15 * r.h),
                    zIndex: 5,
                    cursor: L.link ? "pointer" : "default",
                  },
                  onClick: (C) => {
                    L.link &&
                      (C.stopPropagation(),
                        /^https?:\/\//i.test(L.link)
                          ? window.open(
                            L.link,
                            "_blank",
                            "noopener,noreferrer",
                          )
                          : m.push(L.link));
                  },
                  onPointerDown: (C) => L.link && C.stopPropagation(),
                  role: L.link ? "link" : void 0,
                  tabIndex: L.link ? 0 : -1,
                  onKeyDown: (C) => {
                    L.link &&
                      ("Enter" === C.key || " " === C.key) &&
                      (C.preventDefault(),
                        /^https?:\/\//i.test(L.link)
                          ? window.open(
                            L.link,
                            "_blank",
                            "noopener,noreferrer",
                          )
                          : m.push(L.link));
                  },
                  "aria-label": w(L.text, H) || "Open",
                  children: (
                    null == (t = w(L.text, H)) ? void 0 : t.trim()
                  )
                    ? (0, e.jsx)("div", {
                      style: {
                        padding: ""
                          .concat(Math.max(8, 0.28 * r.h), "px ")
                          .concat(Math.max(14, 0.5 * r.h), "px"),
                        fontSize: Math.max(11, 0.35 * r.h),
                        lineHeight: 1,
                        fontWeight: 500,
                        color: n.TEXT,
                        fontFamily: "var(--font-sans)",
                        letterSpacing: "0.06em",
                        textTransform: "uppercase",
                        whiteSpace: "nowrap",
                        background: n.GLASS_LABEL,
                        backdropFilter: n.GLASS_BLUR_SOFT,
                        WebkitBackdropFilter: n.GLASS_BLUR_SOFT,
                        borderRadius: "100px",
                        border: "1px solid ".concat(n.GLASS_BORDER),
                        boxShadow: n.SHADOW_CARD,
                        textShadow: "0 1px 3px rgba(0,0,0,0.24)",
                        transition:
                          "background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease",
                      },
                      onMouseEnter: (C) => {
                        L.link &&
                          ((C.currentTarget.style.background =
                            n.GLASS_LABEL_HOVER),
                            (C.currentTarget.style.borderColor =
                              n.GLASS_BORDER_ACTIVE),
                            (C.currentTarget.style.color =
                              n.ACCENT_LIGHT),
                            (C.currentTarget.style.boxShadow =
                              n.SHADOW_GOLD_GLOW));
                      },
                      onMouseLeave: (C) => {
                        ((C.currentTarget.style.background =
                          n.GLASS_LABEL),
                          (C.currentTarget.style.borderColor =
                            n.GLASS_BORDER),
                          (C.currentTarget.style.color = n.TEXT),
                          (C.currentTarget.style.boxShadow =
                            n.SHADOW_CARD));
                      },
                      children: w(L.text, H),
                    })
                    : null,
                },
                L.id,
              );
            }),
            Cr.map((C) => {
              if (C.id === D) return null;
              let t = C.scale;
              return (0, e.jsxs)(
                "div",
                {
                  style: {
                    position: "absolute",
                    left: "".concat(C.left, "px"),
                    top: "".concat(C.top, "px"),
                    transform:
                      "\n          translate(-50%, -50%)\n          scale(".concat(
                        t,
                        ")\n        ",
                      ),
                    transformOrigin: "center",
                    pointerEvents: "auto",
                    display: "flex",
                    flexDirection: "column",
                    alignItems: "center",
                    gap: 4,
                    transition: "transform 0.25s ease-out",
                  },
                  onPointerDown: (C) => C.stopPropagation(),
                  onClick: (e) => {
                    (e.stopPropagation(),
                      "central" === C.id ? W(!0) : W(!1),
                      C.camera &&
                      ((C) => {
                        let { u: e, v: t, scale: L } = C,
                          r = Z(L, 1, 2.2),
                          n = Math.max(0, (r * Y - E) / 2),
                          o = Math.max(0, (r * K - U) / 2),
                          a = t * K,
                          i = Z(-r * (e * Y - Y / 2), -n, n),
                          l = Z(-r * (a - K / 2), -o, o);
                        Q({ z: r, x: i, y: l });
                      })(C.camera),
                      (null == i ? void 0 : i[C.id]) ? F(C.id) : F(null));
                  },
                  onMouseEnter: (C) => {
                    C.currentTarget.style.transform =
                      "\n          translate(-50%, -60%)\n          scale(".concat(
                        1.08 * t,
                        ")\n        ",
                      );
                  },
                  onMouseLeave: (C) => {
                    C.currentTarget.style.transform =
                      "\n          translate(-50%, -50%)\n          scale(".concat(
                        t,
                        ")\n        ",
                      );
                  },
                  children: [
                    (0, e.jsx)("button", {
                      type: "button",
                      style: {
                        background: n.GLASS_LABEL,
                        backdropFilter: n.GLASS_BLUR_SOFT,
                        WebkitBackdropFilter: n.GLASS_BLUR_SOFT,
                        boxShadow: n.SHADOW_CARD,
                        padding: "9px 18px",
                        borderRadius: "100px",
                        display: "flex",
                        alignItems: "center",
                        justifyContent: "center",
                        fontFamily: "var(--font-sans)",
                        color: n.TEXT,
                        fontSize: "16px",
                        fontWeight: 500,
                        letterSpacing: "0.06em",
                        textTransform: "uppercase",
                        border: "1px solid ".concat(n.GLASS_BORDER),
                        cursor: "pointer",
                        transition:
                          "background 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, box-shadow 0.2s ease-out",
                        whiteSpace: "nowrap",
                      },
                      onMouseEnter: (C) => {
                        ((C.currentTarget.style.background =
                          n.GLASS_LABEL_HOVER),
                          (C.currentTarget.style.borderColor =
                            n.GLASS_BORDER_ACTIVE),
                          (C.currentTarget.style.color = n.ACCENT_LIGHT),
                          (C.currentTarget.style.boxShadow =
                            n.SHADOW_GOLD_GLOW));
                      },
                      onMouseLeave: (C) => {
                        ((C.currentTarget.style.background =
                          n.GLASS_LABEL),
                          (C.currentTarget.style.borderColor =
                            n.GLASS_BORDER),
                          (C.currentTarget.style.color = n.TEXT),
                          (C.currentTarget.style.boxShadow =
                            n.SHADOW_CARD));
                      },
                      children: (0, e.jsx)("span", {
                        children: w(C.text, H),
                      }),
                    }),
                    (0, e.jsx)("div", {
                      style: {
                        width: 5,
                        height: 5,
                        borderRadius: "50%",
                        background: n.ACCENT_LIGHT,
                        boxShadow:
                          "\n            0 0 0 3px rgba(216,173,112,0.10),\n            0 0 8px rgba(216,173,112,0.48)\n          ",
                        flexShrink: 0,
                      },
                    }),
                  ],
                },
              );
            }),
          ],
        }),
      }),
    ],
  });
}

export { SaudiamapUi as Map };
