@ashtuka/react-lib 1.0.39 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +13 -2
  2. package/dist/chunks/LoadAbleImg-jaQDlIaY.mjs +75 -0
  3. package/dist/chunks/Service-uGKXRZVE.mjs +47 -0
  4. package/dist/chunks/breakpoints-BOwHOeQN.mjs +8 -0
  5. package/dist/chunks/file-C_N83pgK.mjs +5 -0
  6. package/dist/chunks/index-BDjvzGbZ.mjs +44 -0
  7. package/dist/chunks/spinner-By2573Fq.mjs +10 -0
  8. package/dist/components/LoadAbleImg/LoadAbleImg.d.ts +1 -1
  9. package/dist/constants/breakpoints.d.ts +1 -0
  10. package/dist/hooks/index.d.ts +2 -0
  11. package/dist/hooks/index.es.js +7 -3
  12. package/dist/hooks/useBreakPoint-C-91njOc.mjs +13 -0
  13. package/dist/hooks/useBreakPoint.d.ts +24 -0
  14. package/dist/hooks/useOutsideClick-DPN2gHf5.mjs +15 -0
  15. package/dist/hooks/useOutsideClick.d.ts +22 -0
  16. package/dist/index.d.ts +14 -0
  17. package/dist/index.es.js +18 -4
  18. package/dist/modules/AuthModule/AuthModule-wq1Xt6Op.mjs +1001 -0
  19. package/dist/modules/AuthModule/AuthModule.css +1 -0
  20. package/dist/modules/AuthModule/AuthModule.d.ts +3 -0
  21. package/dist/modules/AuthModule/AuthModule.types.d.ts +82 -0
  22. package/dist/modules/AuthModule/ButtonSpinner/ButtonSpinner.d.ts +2 -0
  23. package/dist/modules/AuthModule/EmailSent/EmailSent.d.ts +9 -0
  24. package/dist/modules/AuthModule/ErrorMessage/ErrorMessage.d.ts +11 -0
  25. package/dist/modules/AuthModule/InputItem/InputItem.d.ts +16 -0
  26. package/dist/modules/AuthModule/InputItem/PhoneInput.d.ts +13 -0
  27. package/dist/modules/AuthModule/LoginForm/LoginForm.d.ts +12 -0
  28. package/dist/modules/AuthModule/OtpInputItem/OtpInputItem.d.ts +17 -0
  29. package/dist/modules/AuthModule/PasswordRestoreForm/PasswordRestoreForm.d.ts +12 -0
  30. package/dist/modules/AuthModule/PrivacyPolicy/PrivacyPolicy.d.ts +6 -0
  31. package/dist/modules/AuthModule/RegistrationForm/RegistrationForm.d.ts +7 -0
  32. package/dist/modules/AuthModule/SocialBlock/SocialBlock.d.ts +10 -0
  33. package/dist/modules/AuthModule/Tabs/Tabs.d.ts +10 -0
  34. package/dist/modules/AuthModule/index.d.ts +2 -0
  35. package/dist/modules/AuthModule/index.es.js +4 -0
  36. package/dist/modules/AuthModule/localization.d.ts +96 -0
  37. package/dist/modules/AuthModule/translation.d.ts +98 -0
  38. package/dist/modules/AuthModule/utils/formValueCheck.d.ts +3 -0
  39. package/dist/modules/AuthModule/utils/getErrorDescriptionKey.d.ts +3 -0
  40. package/dist/modules/AuthModule/utils/getFormData.d.ts +4 -0
  41. package/dist/modules/AuthModule/utils/getProductDataExtraVarValue.d.ts +3 -0
  42. package/dist/modules/AuthModule/utils/getRegexPattern.d.ts +3 -0
  43. package/dist/modules/AuthModule/utils/handleKeyDown.d.ts +3 -0
  44. package/dist/modules/AuthModule/utils/inputClearError.d.ts +4 -0
  45. package/dist/modules/AuthModule/utils/inputValueCheck.d.ts +4 -0
  46. package/dist/modules/AuthModule/utils/isAppleDevice.d.ts +2 -0
  47. package/dist/modules/AuthModule/utils/isFormHasError.d.ts +3 -0
  48. package/dist/modules/AuthModule/utils/parseRequestError.d.ts +7 -0
  49. package/dist/modules/AuthModule/utils/phoneMaskHandler.d.ts +2 -0
  50. package/dist/modules/CrumbsModule/Crumb/Crumb.d.ts +8 -0
  51. package/dist/modules/CrumbsModule/Crumb/index.d.ts +1 -0
  52. package/dist/modules/CrumbsModule/CrumbsModule-BQIxJcqN.mjs +79 -0
  53. package/dist/modules/CrumbsModule/CrumbsModule.css +1 -0
  54. package/dist/modules/CrumbsModule/CrumbsModule.d.ts +2 -0
  55. package/dist/modules/CrumbsModule/CrumbsModule.types.d.ts +8 -0
  56. package/dist/modules/CrumbsModule/HiddenCrumbs/HiddenCrumbs.d.ts +6 -0
  57. package/dist/modules/CrumbsModule/HiddenCrumbs/index.d.ts +1 -0
  58. package/dist/modules/CrumbsModule/index.d.ts +2 -0
  59. package/dist/modules/CrumbsModule/index.es.js +4 -0
  60. package/dist/modules/DiyaModule/DesktopContent.d.ts +6 -0
  61. package/dist/modules/DiyaModule/DesktopTitle.d.ts +6 -0
  62. package/dist/modules/DiyaModule/DiyaLink.d.ts +7 -0
  63. package/dist/modules/DiyaModule/DiyaModule-CR7O-AA3.mjs +2159 -0
  64. package/dist/modules/DiyaModule/DiyaModule.css +1 -0
  65. package/dist/modules/DiyaModule/DiyaModule.d.ts +3 -0
  66. package/dist/modules/DiyaModule/DiyaModule.types.d.ts +16 -0
  67. package/dist/modules/DiyaModule/DownloadDiya.d.ts +6 -0
  68. package/dist/modules/DiyaModule/Loader.d.ts +6 -0
  69. package/dist/modules/DiyaModule/Qr.d.ts +8 -0
  70. package/dist/modules/DiyaModule/TimeOver.d.ts +6 -0
  71. package/dist/modules/DiyaModule/Timer.d.ts +8 -0
  72. package/dist/modules/DiyaModule/UpdateBtn.d.ts +7 -0
  73. package/dist/modules/DiyaModule/index.d.ts +2 -0
  74. package/dist/modules/DiyaModule/index.es.js +4 -0
  75. package/dist/modules/DiyaModule/utils/isMobDevice.d.ts +1 -0
  76. package/dist/modules/ErrorPaymentModule/ErrorPaymentModule-CyboRcvA.mjs +58 -0
  77. package/dist/modules/ErrorPaymentModule/ErrorPaymentModule.css +1 -0
  78. package/dist/modules/ErrorPaymentModule/ErrorPaymentModule.d.ts +3 -0
  79. package/dist/modules/ErrorPaymentModule/ErrorPaymentModule.types.d.ts +26 -0
  80. package/dist/modules/ErrorPaymentModule/Header/Header.d.ts +6 -0
  81. package/dist/modules/ErrorPaymentModule/Header/index.d.ts +2 -0
  82. package/dist/modules/ErrorPaymentModule/Nav/Nav.d.ts +6 -0
  83. package/dist/modules/ErrorPaymentModule/Nav/index.d.ts +2 -0
  84. package/dist/modules/ErrorPaymentModule/Picture/Picture.d.ts +5 -0
  85. package/dist/modules/ErrorPaymentModule/Picture/index.d.ts +2 -0
  86. package/dist/modules/ErrorPaymentModule/index.d.ts +2 -0
  87. package/dist/modules/ErrorPaymentModule/index.es.js +4 -0
  88. package/dist/modules/FooterV2Module/FooterV2Module-Bk6XRHqm.mjs +279 -0
  89. package/dist/modules/FooterV2Module/FooterV2Module.css +1 -1
  90. package/dist/modules/FooterV2Module/index.es.js +1 -1
  91. package/dist/modules/FooterV2Module/utils/index.d.ts +0 -1
  92. package/dist/modules/HeaderV5Module/Auth/Auth.d.ts +19 -0
  93. package/dist/modules/HeaderV5Module/Banner/Banner.d.ts +8 -0
  94. package/dist/modules/HeaderV5Module/HeaderV5Module-B9tK4bOZ.mjs +576 -0
  95. package/dist/modules/HeaderV5Module/HeaderV5Module.css +1 -0
  96. package/dist/modules/HeaderV5Module/HeaderV5Module.d.ts +2 -0
  97. package/dist/modules/HeaderV5Module/HeaderV5Module.types.d.ts +74 -0
  98. package/dist/modules/HeaderV5Module/Lang/Lang.d.ts +7 -0
  99. package/dist/modules/HeaderV5Module/Logo/Logo.d.ts +7 -0
  100. package/dist/modules/HeaderV5Module/Menu/Menu.d.ts +13 -0
  101. package/dist/modules/HeaderV5Module/Menu/MenuItemList/MenuItemList.d.ts +7 -0
  102. package/dist/modules/HeaderV5Module/Menu/MenuItemList/index.d.ts +2 -0
  103. package/dist/modules/HeaderV5Module/Menu/Tabs/Tabs.d.ts +20 -0
  104. package/dist/modules/HeaderV5Module/MenuBtn/MenuBtn.d.ts +10 -0
  105. package/dist/modules/HeaderV5Module/Phone/Phone.d.ts +1 -0
  106. package/dist/modules/HeaderV5Module/index.d.ts +2 -0
  107. package/dist/modules/HeaderV5Module/index.es.js +4 -0
  108. package/dist/modules/HeaderV5Module/useHeader.d.ts +10 -0
  109. package/dist/modules/HeaderV5Module/utils/bodyScrollHandler.d.ts +2 -0
  110. package/dist/modules/HeaderV5Module/utils/getParamFromCookie.d.ts +2 -0
  111. package/dist/modules/HeaderV5Module/utils/setCookieLocale.d.ts +3 -0
  112. package/dist/modules/HeaderV5Module/utils/setCookieParam.d.ts +2 -0
  113. package/dist/modules/LoadAbleImg/LoadAbleImg.css +1 -0
  114. package/dist/modules/OtpModule/ConditionsBlock/ConditionsBlock.d.ts +11 -0
  115. package/dist/modules/OtpModule/ConditionsBlock/index.d.ts +1 -0
  116. package/dist/modules/OtpModule/Item/Item.d.ts +11 -0
  117. package/dist/modules/OtpModule/Item/index.d.ts +1 -0
  118. package/dist/modules/OtpModule/Navigation/Navigation.d.ts +9 -0
  119. package/dist/modules/OtpModule/Navigation/index.d.ts +1 -0
  120. package/dist/modules/OtpModule/NotConfirmPopup/NotConfirmPopup.d.ts +9 -0
  121. package/dist/modules/OtpModule/NotConfirmPopup/index.d.ts +1 -0
  122. package/dist/modules/OtpModule/OtpModule-C_J1fNer.mjs +394 -0
  123. package/dist/modules/OtpModule/OtpModule.css +1 -0
  124. package/dist/modules/OtpModule/OtpModule.d.ts +2 -0
  125. package/dist/modules/OtpModule/OtpModule.types.d.ts +56 -0
  126. package/dist/modules/OtpModule/OtpPopup/OtpPopup.d.ts +9 -0
  127. package/dist/modules/OtpModule/OtpPopup/index.d.ts +1 -0
  128. package/dist/modules/OtpModule/index.d.ts +2 -0
  129. package/dist/modules/OtpModule/index.es.js +4 -0
  130. package/dist/modules/OtpModule/localization.d.ts +33 -0
  131. package/dist/modules/OtpModule/utils/setOtpStyleConfig.d.ts +3 -0
  132. package/dist/modules/PageLoaderModule/PageLoaderModule-qw6Twqhc.mjs +61 -0
  133. package/dist/modules/PageLoaderModule/index.es.js +1 -1
  134. package/dist/modules/SuccessPaymentModule/Header/Header.d.ts +6 -0
  135. package/dist/modules/SuccessPaymentModule/Header/index.d.ts +2 -0
  136. package/dist/modules/SuccessPaymentModule/InfoList/InfoList.d.ts +8 -0
  137. package/dist/modules/SuccessPaymentModule/InfoList/index.d.ts +2 -0
  138. package/dist/modules/SuccessPaymentModule/Nav/Nav.d.ts +6 -0
  139. package/dist/modules/SuccessPaymentModule/Nav/index.d.ts +2 -0
  140. package/dist/modules/SuccessPaymentModule/Picture/Picture.d.ts +5 -0
  141. package/dist/modules/SuccessPaymentModule/Picture/index.d.ts +2 -0
  142. package/dist/modules/SuccessPaymentModule/Referral/Referral.d.ts +6 -0
  143. package/dist/modules/SuccessPaymentModule/Referral/index.d.ts +2 -0
  144. package/dist/modules/SuccessPaymentModule/Referral/localization.d.ts +7 -0
  145. package/dist/modules/SuccessPaymentModule/SuccessPaymentModule-BizFQek6.mjs +126 -0
  146. package/dist/modules/SuccessPaymentModule/SuccessPaymentModule.css +1 -0
  147. package/dist/modules/SuccessPaymentModule/SuccessPaymentModule.d.ts +2 -0
  148. package/dist/modules/SuccessPaymentModule/SuccessPaymentModule.types.d.ts +36 -0
  149. package/dist/modules/SuccessPaymentModule/index.d.ts +2 -0
  150. package/dist/modules/SuccessPaymentModule/index.es.js +4 -0
  151. package/dist/services/AuthService.d.ts +16 -0
  152. package/dist/services/DesignerService.d.ts +7 -0
  153. package/dist/services/LayoutService.d.ts +1 -1
  154. package/dist/services/StrapiService.d.ts +7 -0
  155. package/dist/services/utils/getStrapiHost.d.ts +2 -0
  156. package/dist/types/Designer.d.ts +28 -0
  157. package/dist/types/index.d.ts +0 -1
  158. package/dist/utils/getAbsUrl-C3tTvhge.mjs +9 -0
  159. package/dist/utils/getAbsUrl.d.ts +2 -0
  160. package/dist/utils/index.d.ts +1 -0
  161. package/dist/utils/index.es.js +4 -2
  162. package/package.json +16 -4
  163. package/dist/modules/FooterV2Module/FooterV2Module-Cd4z2v8y.mjs +0 -387
  164. package/dist/modules/FooterV2Module/utils/getAbsUrl.d.ts +0 -3
  165. package/dist/modules/PageLoaderModule/PageLoaderModule-D6yGXr6Z.mjs +0 -100
  166. package/dist/types/Header.d.ts +0 -34
@@ -0,0 +1 @@
1
+ ._diya_5iyk8_1{box-sizing:border-box;font-family:latoregular;padding:24px 16px;border-radius:12px;background:#fff;box-shadow:0 4px 58px #cccccc1f,0 4px 26px #bdbdbdb3;width:100%}@media (min-width: 768px){._diya_5iyk8_1{padding:40px 24px}}@media (min-width: 992px){._diya_5iyk8_1{width:calc(100% - 422px)}}._logo_5iyk8_21{display:block;margin:0 auto;width:110px}@media (min-width: 768px){._logo_5iyk8_21{width:154px}}._titleBlock_5iyk8_32{margin:40px auto 0;display:flex;padding:8px 24px;border-radius:8px;background-color:#fff3d3;color:#2d2b2b;font-size:18px;font-family:latobold;align-items:center;justify-content:center;width:fit-content}._titleBlock_5iyk8_32 p{margin-left:16px}._loaderBlock_5iyk8_49{margin:16px 0}@media (min-width: 768px){._loaderBlock_5iyk8_49{margin:74px 0}}._loaderTitle_5iyk8_58{font-size:18px;line-height:140%;text-align:center;margin-bottom:16px}@media (min-width: 768px){._loaderTitle_5iyk8_58{font-size:24px;line-height:120%;margin-bottom:74px}}._loaderSpinner_5iyk8_72{display:flex;justify-content:center}._spinner_5iyk8_77{width:100px}@media (min-width: 768px){._spinner_5iyk8_77{width:170px}}._content_5iyk8_86{margin-top:24px;display:flex;justify-content:space-between}@media (min-width: 768px){._content_5iyk8_86{margin-top:40px}}._column_5iyk8_97{width:100%}@media (min-width: 768px){._column_5iyk8_97{width:49%}}._columnMob_5iyk8_106{width:100%}._qrBlock_5iyk8_110{border-radius:12px;background:#000;padding:40px 0;display:flex;flex-direction:column;align-content:center;margin-bottom:16px}._qr_5iyk8_110{box-sizing:border-box;background:#fff;padding:16px;width:238px;margin:0 auto}._qrTitle_5iyk8_128{color:#fff;font-size:18px;line-height:130%;margin-bottom:16px;text-align:center}._btn_5iyk8_136{box-sizing:border-box;color:#374656;font-family:latobold;width:100%;max-width:280px;padding:12px 24px;border-radius:16px;background:#ffd362;display:flex;align-items:center;justify-content:center;margin:0 auto;transition:all .3s ease-in-out}._btn_5iyk8_136._mob_5iyk8_151{background:#fff;border:1px solid #E5E7EB;box-shadow:0 3px 17px #515a6436}@media (min-width: 768px){._btn_5iyk8_136{padding:16px 32px}}._btn_5iyk8_136 svg{margin:0 12px}._btn_5iyk8_136:hover{background:#e7b433}._timerBlock_5iyk8_168{box-sizing:border-box;background:#1898511a;border-radius:8px;border:1px solid #0a994a;padding:8px 12px;display:flex;align-items:flex-start}@media (min-width: 768px){._timerBlock_5iyk8_168{padding:12px 16px}}._timer_5iyk8_168{font-size:22px;font-family:latobold;line-height:120%;color:#0a7e3e;margin-right:16px}@media (min-width: 768px){._timer_5iyk8_168{font-size:24px}}._timerTitle_5iyk8_196{color:#2d2b2b;font-size:14px;line-height:20px}@media (min-width: 768px){._timerTitle_5iyk8_196{font-size:18px;line-height:130%;letter-spacing:-.36px}}._textBlock_5iyk8_209{margin-top:16px;color:#2d2b2b;font-size:18px;line-height:130%}._list_5iyk8_216{margin-top:8px;margin-left:17.4px;list-style:decimal outside}._list_5iyk8_216 li{margin-bottom:8px}._list_5iyk8_216 li:last-child{margin-bottom:0}._phone_5iyk8_228{display:block;margin-bottom:16px;width:100%}._linkBlock_5iyk8_234{box-sizing:border-box;margin:16px 0;color:#374656;border:1px solid #cbd3dc;border-radius:8px;padding:16px}._linkText_5iyk8_243{font-size:14px;margin-bottom:16px;line-height:18px}._timeOverBlock_5iyk8_249{text-align:center;margin:8px auto 24px}@media (min-width: 768px){._timeOverBlock_5iyk8_249{margin:40px auto}}._timeOverBlock_5iyk8_249 p:first-child{margin-bottom:32px;font-size:18px}@media (min-width: 768px){._timeOverBlock_5iyk8_249 p:first-child{margin-bottom:40px;font-size:24px}}._timeOverBlock_5iyk8_249 p:last-child{font-size:14px}@media (min-width: 768px){._timeOverBlock_5iyk8_249 p:last-child{font-size:18px}}._downloadBlock_5iyk8_277{font-size:16px;color:#2d2b2b}._downloadBlock_5iyk8_277 p:first-child{font-family:latobold;margin-bottom:16px}._downloadBlock_5iyk8_277 p:nth-child(2){display:flex;align-items:center}._downloadBlock_5iyk8_277 p:nth-child(2) span{margin-left:6px;font-size:24px}._storeBlock_5iyk8_294{margin-top:16px;display:flex;align-items:flex-start}._linkLogo_5iyk8_300{margin-right:16px}
@@ -0,0 +1,3 @@
1
+ import { DiyaModuleProps } from './DiyaModule.types';
2
+ declare const DiyaModule: ({ locale, deeplinkStatus, deeplink, getDeeplinkCallback, updateDeeplinkCallback, getUserDataCallback, setTimerIdCallback, }: DiyaModuleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export { DiyaModule };
@@ -0,0 +1,16 @@
1
+ import { Locale } from '@/types';
2
+ export declare const enum FetchStatus {
3
+ INITIAL = "initial",
4
+ LOADING = "loading",
5
+ SUCCESS = "success",
6
+ ERROR = "error"
7
+ }
8
+ export type DiyaModuleProps = {
9
+ locale?: Locale;
10
+ deeplinkStatus: FetchStatus;
11
+ deeplink?: string;
12
+ getDeeplinkCallback(): void;
13
+ updateDeeplinkCallback(): void;
14
+ getUserDataCallback(): void;
15
+ setTimerIdCallback(timerId: NodeJS.Timeout): void;
16
+ };
@@ -0,0 +1,6 @@
1
+ import { Locale } from '@/types';
2
+ type DownloadDiyaProps = {
3
+ locale: Locale;
4
+ };
5
+ declare const DownloadDiya: ({ locale }: DownloadDiyaProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { DownloadDiya };
@@ -0,0 +1,6 @@
1
+ import { Locale } from '@/types';
2
+ type LoaderProps = {
3
+ locale?: Locale;
4
+ };
5
+ declare const Loader: ({ locale }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { Loader };
@@ -0,0 +1,8 @@
1
+ import { Locale } from '@/types';
2
+ type QrProps = {
3
+ locale?: Locale;
4
+ deeplink?: string;
5
+ updateHandler(): void;
6
+ };
7
+ declare const Qr: ({ locale, deeplink, updateHandler }: QrProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { Qr };
@@ -0,0 +1,6 @@
1
+ import { Locale } from '@/types';
2
+ type TimeOverProps = {
3
+ locale?: Locale;
4
+ };
5
+ declare const TimeOver: ({ locale }: TimeOverProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { TimeOver };
@@ -0,0 +1,8 @@
1
+ import { Locale } from '@/types';
2
+ type TimerProps = {
3
+ locale?: Locale;
4
+ start: number;
5
+ setIsTimeOver(isTimeOver: boolean): void;
6
+ };
7
+ declare const Timer: ({ locale, start, setIsTimeOver }: TimerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { Timer };
@@ -0,0 +1,7 @@
1
+ import { Locale } from '@/types';
2
+ type UpdateBtnProps = {
3
+ locale: Locale;
4
+ updateHandler(): void;
5
+ };
6
+ declare const UpdateBtn: ({ locale, updateHandler }: UpdateBtnProps) => import("react/jsx-runtime").JSX.Element;
7
+ export { UpdateBtn };
@@ -0,0 +1,2 @@
1
+ export { DiyaModule } from './DiyaModule';
2
+ export type { DiyaModuleProps } from './DiyaModule.types';
@@ -0,0 +1,4 @@
1
+ import { D as e } from "./DiyaModule-CR7O-AA3.mjs";
2
+ export {
3
+ e as DiyaModule
4
+ };
@@ -0,0 +1 @@
1
+ export declare const isMobDevice: boolean;
@@ -0,0 +1,58 @@
1
+ import { jsx as e, jsxs as s, Fragment as m } from "react/jsx-runtime";
2
+ import { c as u } from "../../chunks/index-BDjvzGbZ.mjs";
3
+ import { S as h } from "../../chunks/file-C_N83pgK.mjs";
4
+ import { S as g } from "../../chunks/spinner-By2573Fq.mjs";
5
+ const y = "_container_1836e_1", B = "_img_1836e_8", i = {
6
+ container: y,
7
+ img: B
8
+ }, C = "https://polis.ua/static/img/maskot/error-oops.png", N = "https://polis.ua/static/img/maskot/error-oops.webp", v = "https://polis.ua/static/img/billy/error/error.png", S = "https://polis.ua/static/img/billy/error/error.webp", k = ({ isAgent: t }) => {
9
+ const o = t ? S : N, r = t ? v : C;
10
+ return /* @__PURE__ */ e("div", { className: i.container, children: /* @__PURE__ */ s("picture", { children: [
11
+ /* @__PURE__ */ e("source", { srcSet: o, type: "image/webp" }),
12
+ /* @__PURE__ */ e("img", { className: i.img, src: r, alt: "Mascot", loading: "lazy", decoding: "async" })
13
+ ] }) });
14
+ }, A = "_title_xdyx9_1", E = "_subtitle_xdyx9_15", l = {
15
+ title: A,
16
+ subtitle: E
17
+ }, w = ({ title: t, subtitle: o }) => /* @__PURE__ */ s(m, { children: [
18
+ /* @__PURE__ */ e("p", { className: l.title, children: t }),
19
+ /* @__PURE__ */ e("p", { className: l.subtitle, children: o })
20
+ ] });
21
+ var _ = /* @__PURE__ */ ((t) => (t.CHECK = "CHECK", t.FISHKA = "FISHKA", t.CASHBACK = "CASHBACK", t.COAT = "COAT", t.FILE = "FILE", t))(_ || {}), a = /* @__PURE__ */ ((t) => (t.BORDER = "BORDER", t.BACKGROUND = "BACKGROUND", t))(a || {});
22
+ const I = "_nav_wehuh_1", K = "_btn_wehuh_14", R = "_borderBtn_wehuh_33", f = "_backgroundBtn_wehuh_41", O = "_fileIcon_wehuh_51", x = "_loaderIcon_wehuh_55", n = {
23
+ nav: I,
24
+ btn: K,
25
+ borderBtn: R,
26
+ backgroundBtn: f,
27
+ fileIcon: O,
28
+ loaderIcon: x
29
+ }, F = {
30
+ [a.BORDER]: n.borderBtn,
31
+ [a.BACKGROUND]: n.backgroundBtn
32
+ }, H = ({ btnList: t }) => /* @__PURE__ */ e("div", { className: n.nav, children: t.map(({ id: o, label: r, iconType: c, callback: d, variant: p, showLoader: b }) => /* @__PURE__ */ e(
33
+ "button",
34
+ {
35
+ className: u(n.btn, F[p]),
36
+ type: "button",
37
+ onClick: d,
38
+ children: b ? /* @__PURE__ */ e(g, { className: n.loaderIcon }) : /* @__PURE__ */ s(m, { children: [
39
+ c === _.FILE && /* @__PURE__ */ e(h, { className: n.fileIcon }),
40
+ r
41
+ ] })
42
+ },
43
+ o
44
+ )) }), D = "_errorPayment_1kbre_1", P = {
45
+ errorPayment: D
46
+ }, W = ({
47
+ title: t,
48
+ subtitle: o,
49
+ isAgent: r,
50
+ btnList: c
51
+ }) => /* @__PURE__ */ s("div", { className: P.errorPayment, children: [
52
+ /* @__PURE__ */ e(k, { isAgent: r }),
53
+ /* @__PURE__ */ e(w, { title: t, subtitle: o }),
54
+ /* @__PURE__ */ e(H, { btnList: c })
55
+ ] });
56
+ export {
57
+ W as E
58
+ };
@@ -0,0 +1 @@
1
+ ._container_1836e_1{display:flex;align-items:center;justify-content:center;width:100%}._img_1836e_8{width:120px;margin:0 auto 24px}._title_xdyx9_1{text-align:center;font:700 22px/120% latobold;color:#a51e00;margin-bottom:16px;padding-top:16px}@media (min-width: 768px){._title_xdyx9_1{max-width:642px;border-top:1px solid #E5E7EB}}._subtitle_xdyx9_15{text-align:center;font:400 16px/120% latoregular;color:#2d2b2b;margin-bottom:40px}@media (min-width: 1200px){._subtitle_xdyx9_15{font-size:18px;margin-bottom:64px}}._nav_wehuh_1{display:flex;flex-direction:column-reverse;gap:16px;margin:0 auto}@media (min-width: 1200px){._nav_wehuh_1{flex-direction:row;justify-content:space-between}}._btn_wehuh_14{height:54px;border-radius:12px;padding:16px 32px;color:#2d2b2b;font:400 16px/130% latoregular;display:flex;align-items:center;justify-content:center;transition:all .3s ease-in-out;width:100%;min-width:280px}@media (min-width: 1200px){._btn_wehuh_14{width:auto}}._borderBtn_wehuh_33{border:1px solid #E5E7EB;box-shadow:0 6px 12px #8a9aa826}._borderBtn_wehuh_33:hover{box-shadow:0 6px 12px #0003}._backgroundBtn_wehuh_41{font-weight:700;font-family:latobold;background:#ffd362}._backgroundBtn_wehuh_41:hover{box-shadow:0 6px 12px #0003;background:#e7b433}._fileIcon_wehuh_51{margin-right:10px}._loaderIcon_wehuh_55{height:54px;margin:0!important}._errorPayment_1kbre_1{margin:0 auto;width:100%;box-sizing:border-box;max-width:722px;padding:24px 16px;border-radius:16px;border:1px solid #F3F4F6;box-shadow:0 3px 17px #515a6436}@media (min-width: 1200px){._errorPayment_1kbre_1{padding:24px}}
@@ -0,0 +1,3 @@
1
+ import { ErrorPaymentModuleProps } from './ErrorPaymentModule.types';
2
+ declare const ErrorPaymentModule: ({ title, subtitle, isAgent, btnList, }: ErrorPaymentModuleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export { ErrorPaymentModule };
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export declare enum Icon {
3
+ 'CHECK' = "CHECK",
4
+ 'FISHKA' = "FISHKA",
5
+ 'CASHBACK' = "CASHBACK",
6
+ 'COAT' = "COAT",
7
+ 'FILE' = "FILE"
8
+ }
9
+ export declare enum BtnVariant {
10
+ 'BORDER' = "BORDER",
11
+ 'BACKGROUND' = "BACKGROUND"
12
+ }
13
+ export type BtnItem = {
14
+ id: number;
15
+ label: string;
16
+ variant: BtnVariant;
17
+ callback: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
18
+ showLoader?: boolean;
19
+ iconType?: Icon;
20
+ };
21
+ export type ErrorPaymentModuleProps = {
22
+ title: string;
23
+ subtitle: string;
24
+ btnList: BtnItem[];
25
+ isAgent?: boolean;
26
+ };
@@ -0,0 +1,6 @@
1
+ type HeaderProps = {
2
+ title: string;
3
+ subtitle: string;
4
+ };
5
+ declare const Header: ({ title, subtitle }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default Header;
@@ -0,0 +1,2 @@
1
+ import Header from './Header';
2
+ export default Header;
@@ -0,0 +1,6 @@
1
+ import { BtnItem } from '../ErrorPaymentModule.types';
2
+ type NavProps = {
3
+ btnList: BtnItem[];
4
+ };
5
+ declare const Nav: ({ btnList }: NavProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default Nav;
@@ -0,0 +1,2 @@
1
+ import Nav from './Nav';
2
+ export default Nav;
@@ -0,0 +1,5 @@
1
+ type PictureProps = {
2
+ isAgent?: boolean;
3
+ };
4
+ declare const Picture: ({ isAgent }: PictureProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default Picture;
@@ -0,0 +1,2 @@
1
+ import Picture from './Picture';
2
+ export default Picture;
@@ -0,0 +1,2 @@
1
+ export { ErrorPaymentModule } from './ErrorPaymentModule';
2
+ export type { ErrorPaymentModuleProps } from './ErrorPaymentModule.types';
@@ -0,0 +1,4 @@
1
+ import { E as e } from "./ErrorPaymentModule-CyboRcvA.mjs";
2
+ export {
3
+ e as ErrorPaymentModule
4
+ };
@@ -0,0 +1,279 @@
1
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
+ import { useMemo as A, useState as w, useEffect as M } from "react";
3
+ import D from "react-localization";
4
+ import { L as _, a as H } from "../../chunks/LoadAbleImg-jaQDlIaY.mjs";
5
+ import { u as y } from "../../hooks/useOnScreen-CpqVO1-u.mjs";
6
+ import { M as N, L as C, X as q } from "../../chunks/breakpoints-BOwHOeQN.mjs";
7
+ import { L as k } from "../../types/Locale-D0KYJGGt.mjs";
8
+ import { g as B } from "../../utils/getAbsUrl-C3tTvhge.mjs";
9
+ import { c as I } from "../../chunks/index-BDjvzGbZ.mjs";
10
+ const E = "_phoneContainer_1n93l_1", O = "_phone_1n93l_1", X = "_phoneTitle_1n93l_19", p = {
11
+ phoneContainer: E,
12
+ phone: O,
13
+ phoneTitle: X
14
+ }, b = ({ phone: t, locale: e }) => {
15
+ const c = t ? `tel:${t}` : "tel:0800208824", o = new D({
16
+ uk: {
17
+ title: "(безкоштовно по Україні)"
18
+ },
19
+ ru: {
20
+ title: "(бесплатно по Украине)"
21
+ }
22
+ });
23
+ return o.setLanguage(e), /* @__PURE__ */ n("div", { className: p.phoneContainer, children: [
24
+ /* @__PURE__ */ r("a", { className: p.phone, href: c, children: t || "0 800 20 88 24" }),
25
+ !t && /* @__PURE__ */ r("p", { className: p.phoneTitle, children: o.title })
26
+ ] });
27
+ }, R = "_socialList_1agn2_1", Y = {
28
+ socialList: R
29
+ }, U = "https://polis.ua/static/img/react-modules/footerModule/social/facebook.svg", L = "https://polis.ua/static/img/react-modules/footerModule/social/youtube.svg", W = "https://polis.ua/static/img/react-modules/footerModule/social/telegram.svg", z = "https://polis.ua/static/img/react-modules/footerModule/social/tiktok.svg", P = "https://polis.ua/static/img/react-modules/footerModule/social/instagram.svg", j = [
30
+ {
31
+ id: 1,
32
+ iconSrc: U,
33
+ href: "https://www.facebook.com/polis.ua.insurance/"
34
+ },
35
+ {
36
+ id: 2,
37
+ iconSrc: L,
38
+ href: "https://www.youtube.com/channel/UC_OX5i3CYGk9_QdI3nUruaw"
39
+ },
40
+ {
41
+ id: 3,
42
+ iconSrc: W,
43
+ href: "https://t.me/polis4u"
44
+ },
45
+ {
46
+ id: 4,
47
+ iconSrc: z,
48
+ href: "https://www.tiktok.com/@polis.ua"
49
+ },
50
+ {
51
+ id: 5,
52
+ iconSrc: P,
53
+ href: "https://www.instagram.com/polis.ua/"
54
+ }
55
+ ], T = ({ socialList: t, isAgent: e }) => {
56
+ if (e && !t) return null;
57
+ const c = [
58
+ (t == null ? void 0 : t.facebook) && {
59
+ id: 1,
60
+ iconSrc: U,
61
+ href: t.facebook
62
+ },
63
+ (t == null ? void 0 : t.youtube) && {
64
+ id: 2,
65
+ iconSrc: L,
66
+ href: t.youtube
67
+ },
68
+ (t == null ? void 0 : t.telegram) && {
69
+ id: 3,
70
+ iconSrc: W,
71
+ href: t.telegram
72
+ },
73
+ (t == null ? void 0 : t.tiktok) && {
74
+ id: 4,
75
+ iconSrc: z,
76
+ href: t.tiktok
77
+ },
78
+ (t == null ? void 0 : t.instagram) && {
79
+ id: 5,
80
+ iconSrc: P,
81
+ href: t.instagram
82
+ }
83
+ ].filter(Boolean), o = e ? c : j;
84
+ return /* @__PURE__ */ r("ul", { className: Y.socialList, children: o.map((l) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: l.href, rel: "noopener nofollow", target: "_blank", children: /* @__PURE__ */ r(_, { src: l.iconSrc, width: "24px", height: "24px" }) }) }, l.id)) });
85
+ }, G = "_appsList_s60ek_1", K = {
86
+ appsList: G
87
+ }, Q = [
88
+ {
89
+ id: 1,
90
+ imgSrc: "https://polis.ua/static/img/react-modules/footerModule/store/apple.svg",
91
+ href: "https://apps.apple.com/ua/app/polis-ua/id1529609326?l=ru#?platform=iphone"
92
+ },
93
+ {
94
+ id: 2,
95
+ imgSrc: "https://polis.ua/static/img/react-modules/footerModule/store/huawei.svg",
96
+ href: "https://appgallery.huawei.com/#/app/C103880333"
97
+ },
98
+ {
99
+ id: 3,
100
+ imgSrc: "https://polis.ua/static/img/react-modules/footerModule/store/google.svg",
101
+ href: "https://play.google.com/store/apps/details?id=com.polisua"
102
+ }
103
+ ], S = () => /* @__PURE__ */ r("ul", { className: K.appsList, children: Q.map((t) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
104
+ "a",
105
+ {
106
+ href: t.href,
107
+ rel: "nofollow noreferrer",
108
+ target: "_blank",
109
+ children: /* @__PURE__ */ r(
110
+ _,
111
+ {
112
+ src: t.imgSrc,
113
+ width: "94px",
114
+ height: "32px"
115
+ }
116
+ )
117
+ }
118
+ ) }, t.id)) }), V = "_header_matcm_1", J = "_logoBlock_matcm_14", Z = "_logoContainer_matcm_20", ee = "_logoText_matcm_25", te = "_contactBlock_matcm_47", f = {
119
+ header: V,
120
+ logoBlock: J,
121
+ logoContainer: Z,
122
+ logoText: ee,
123
+ contactBlock: te
124
+ }, re = "https://polis.ua/static/img/react-modules/footerModule/logo/logoDesk.svg", oe = "https://polis.ua/static/img/react-modules/footerModule/logo/logoTab.svg", ce = "https://polis.ua/static/img/react-modules/footerModule/logo/logoMob.svg", le = ({ locale: t, options: e, isMob: c, isTab: o, isDesk: l, label: i }) => {
125
+ const { logo: h, logoWidth: a, logoHeight: s } = A(() => {
126
+ if (e != null && e.logoUrl) {
127
+ const u = e != null && e.logoWidthMob ? `${e.logoWidthMob}px` : "121px", m = e != null && e.logoWidthDesk ? `${e.logoWidthDesk}px` : "160px";
128
+ return {
129
+ logo: e.logoUrl,
130
+ logoWidth: (c || o) && u || l && m || "",
131
+ logoHeight: "auto"
132
+ };
133
+ }
134
+ return {
135
+ logo: c && ce || o && oe || l && re || "",
136
+ logoWidth: c && "87px" || o && "121px" || l && "160px" || "",
137
+ logoHeight: c && "33px" || o && "47px" || l && "65px" || ""
138
+ };
139
+ }, [c, o, l, e]);
140
+ return /* @__PURE__ */ n("header", { className: f.header, children: [
141
+ /* @__PURE__ */ n("div", { className: f.logoBlock, children: [
142
+ /* @__PURE__ */ n("div", { className: f.logoContainer, children: [
143
+ /* @__PURE__ */ r("a", { href: (e == null ? void 0 : e.logoHref) || B(t, "https://polis.ua/"), children: /* @__PURE__ */ r(_, { src: h, width: a, height: s }) }),
144
+ c && /* @__PURE__ */ r(b, { phone: e == null ? void 0 : e.phone, locale: t })
145
+ ] }),
146
+ /* @__PURE__ */ r("p", { className: f.logoText, children: i }),
147
+ c && /* @__PURE__ */ r(T, { socialList: e == null ? void 0 : e.socialNetwork, isAgent: !!e })
148
+ ] }),
149
+ /* @__PURE__ */ n("div", { className: f.contactBlock, children: [
150
+ (o || l) && /* @__PURE__ */ r(b, { phone: e == null ? void 0 : e.phone, locale: t }),
151
+ (o || l) && /* @__PURE__ */ r(T, { socialList: e == null ? void 0 : e.socialNetwork, isAgent: !!e }),
152
+ o && !(e != null && e.hideAppStore) && /* @__PURE__ */ r(S, {})
153
+ ] })
154
+ ] });
155
+ }, ae = "_paymentSystem_naesr_1", ne = "_tas_naesr_24", $ = {
156
+ paymentSystem: ae,
157
+ tas: ne
158
+ }, se = "https://polis.ua/static/img/react-modules/footerModule/visa.svg", me = "https://polis.ua/static/img/react-modules/footerModule/mastercard.svg", he = ({ isMob: t }) => /* @__PURE__ */ n("div", { className: $.paymentSystem, children: [
159
+ /* @__PURE__ */ r(_, { src: me, width: t ? "32.5px" : "39px", height: t ? "20px" : "24px" }),
160
+ /* @__PURE__ */ r(_, { src: se, width: t ? "66.6px" : "80px", height: t ? "20px" : "24px" }),
161
+ /* @__PURE__ */ r("a", { className: $.tas, href: "https://tas.ua/", rel: "noopener nofollow", target: "_blank", children: "TAS" })
162
+ ] }), ue = "_footer_gsvy8_1", ge = "_copyrightContainer_gsvy8_22", de = "_copyright_gsvy8_22", x = {
163
+ footer: ue,
164
+ copyrightContainer: ge,
165
+ copyright: de
166
+ }, ie = ({
167
+ copyrightText: t,
168
+ isMob: e,
169
+ isPaymentSystem: c,
170
+ isAppStore: o
171
+ }) => /* @__PURE__ */ n("footer", { className: x.footer, children: [
172
+ /* @__PURE__ */ n("div", { className: x.copyrightContainer, children: [
173
+ /* @__PURE__ */ r("p", { className: x.copyright, children: t }),
174
+ c && /* @__PURE__ */ r(he, { isMob: e })
175
+ ] }),
176
+ o && /* @__PURE__ */ r(S, {})
177
+ ] }), fe = "_menuContainer_17z7x_1", _e = "_menu_17z7x_1", ye = "_menuItemList_17z7x_52", pe = "_menuItemListDouble_17z7x_69", xe = "_menuTitle_17z7x_85", ke = "_menuItemContainer_17z7x_103", Se = "_menuItem_17z7x_52", d = {
178
+ menuContainer: fe,
179
+ menu: _e,
180
+ menuItemList: ye,
181
+ menuItemListDouble: pe,
182
+ menuTitle: xe,
183
+ menuItemContainer: ke,
184
+ menuItem: Se
185
+ }, ve = ({
186
+ locale: t,
187
+ isAppList: e,
188
+ isMenu: c,
189
+ footerData: o,
190
+ isOption: l
191
+ }) => {
192
+ const i = A(() => o ? t === k.UK ? o.menuUk : o.menuRu : null, [o, t]), h = (a) => {
193
+ const s = a.items.length > 10, u = s ? Math.ceil(a.items.length / 2) : a.items.length, m = (v) => /* @__PURE__ */ r("ul", { children: v.map((g) => /* @__PURE__ */ r("li", { className: d.menuItem, children: /* @__PURE__ */ r("a", { href: B(t, g.link), children: g.name }) }, g.name)) });
194
+ return /* @__PURE__ */ n(
195
+ "li",
196
+ {
197
+ className: I({
198
+ [d.menuItemListDouble]: l || s,
199
+ [d.menuItemList]: !l && !s
200
+ }),
201
+ children: [
202
+ /* @__PURE__ */ r("p", { className: d.menuTitle, children: a.title }),
203
+ /* @__PURE__ */ n("div", { className: I({ [d.menuItemContainer]: s }), children: [
204
+ m(a.items.slice(0, u)),
205
+ s && m(a.items.slice(u))
206
+ ] })
207
+ ]
208
+ },
209
+ a.title
210
+ );
211
+ };
212
+ return /* @__PURE__ */ n("menu", { className: d.menuContainer, children: [
213
+ c && i && /* @__PURE__ */ r("ul", { className: d.menu, children: i.map(h) }),
214
+ e && /* @__PURE__ */ r(S, {})
215
+ ] });
216
+ }, we = (t) => {
217
+ const e = document.querySelector(":root");
218
+ e && (t["--footer-bg"] && e.style.setProperty("--footer-bg", t["--footer-bg"]), t["--footer-color"] && e.style.setProperty("--footer-color", t["--footer-color"]), t["--footer-color-hover"] && e.style.setProperty("--footer-color-hover", t["--footer-color-hover"]));
219
+ }, Me = "_footerModuleContainer_qvkqd_52", Ne = "_footerModule_qvkqd_52", F = {
220
+ footerModuleContainer: Me,
221
+ footerModule: Ne
222
+ }, Ue = ({ lang: t, options: e }) => {
223
+ const [c, o] = w(!1), [l, i] = w(null), h = (e == null ? void 0 : e.ukOnly) && k.UK || (e == null ? void 0 : e.ruOnly) && k.RU || t, a = y(0, N), s = y(N, C), u = y(C, q), m = new D({
224
+ uk: {
225
+ logoText: e != null && e.description ? e.description.uk : "Polis.ua - фінансовий онлайн-супермаркет. Загальнодержавний сервіс порівняння та оформлення кращих страхових та фінансових продуктів України. Свідомі фінансові рішення в декілька кліків.",
226
+ copyright: e != null && e.copyright ? e.copyright.uk : `© ТОВ «ПОЛІС.ЮА», ${(/* @__PURE__ */ new Date()).getFullYear()}. Всі права захищені.`
227
+ },
228
+ ru: {
229
+ logoText: e != null && e.description ? e.description.ru : "Polis.ua - финансовый онлайн-супермаркет. Общегосударственный сервис сравнения и оформления лучших страховых и финансовых продуктов Украины. Осознанные финансовые решения в несколько кликов.",
230
+ copyright: e != null && e.copyright ? e.copyright.ru : `© ООО «ПОЛИС.ЮА», ${(/* @__PURE__ */ new Date()).getFullYear()}. Все права защищены.`
231
+ }
232
+ });
233
+ return m.setLanguage(h), M(() => {
234
+ (async () => {
235
+ try {
236
+ const g = await new H().fetchFooterData();
237
+ i(g);
238
+ } catch (g) {
239
+ console.log(`An error occurred when trying fetch footer data => ${g}`), o(!0);
240
+ }
241
+ })();
242
+ }, []), M(() => {
243
+ e != null && e.stylesConfig && we(e == null ? void 0 : e.stylesConfig);
244
+ }, [e]), /* @__PURE__ */ r("section", { className: F.footerModuleContainer, children: /* @__PURE__ */ n("footer", { className: F.footerModule, children: [
245
+ /* @__PURE__ */ r(
246
+ le,
247
+ {
248
+ locale: h,
249
+ options: e,
250
+ isMob: a,
251
+ isTab: s,
252
+ isDesk: u,
253
+ label: m.logoText
254
+ }
255
+ ),
256
+ /* @__PURE__ */ r(
257
+ ve,
258
+ {
259
+ locale: h,
260
+ footerData: l,
261
+ isMenu: !c,
262
+ isAppList: a && !(e != null && e.hideAppStore),
263
+ isOption: !!e
264
+ }
265
+ ),
266
+ /* @__PURE__ */ r(
267
+ ie,
268
+ {
269
+ isMob: a,
270
+ copyrightText: m.copyright,
271
+ isPaymentSystem: !e,
272
+ isAppStore: u && !(e != null && e.hideAppStore)
273
+ }
274
+ )
275
+ ] }) });
276
+ };
277
+ export {
278
+ Ue as F
279
+ };
@@ -1 +1 @@
1
- ._container_z8lgs_1{background:linear-gradient(101.42deg,#dfefff -.04%,#dfefff45 94.2%);box-sizing:border-box;overflow:hidden;width:100%;height:100%;position:relative}._container_z8lgs_1:before{content:"";display:block;position:absolute;left:-150px;top:0;height:100%;width:150px;background:linear-gradient(to right,transparent 0%,rgba(38,179,255,.0901960784) 50%,transparent 100%);animation:_load_z8lgs_1 1s cubic-bezier(.4,0,.2,1) infinite}@keyframes _load_z8lgs_1{0%{left:-150px}to{left:100%}}._containerLoaded_z8lgs_30:before{animation:none}._image_z8lgs_34{opacity:0;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out}._imageLoaded_z8lgs_42{opacity:1}._phoneContainer_1n93l_1{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:16px}._phone_1n93l_1{font:600 18px/120% latobold;color:var(--footer-color)!important}@media (min-width: 768px){._phone_1n93l_1{font-size:22px;line-height:29px}}._phoneTitle_1n93l_19{font-size:10px;line-height:15px;color:#2d2b2b}@media (min-width: 768px){._phoneTitle_1n93l_19{font-size:12px}}._socialList_1agn2_1{display:flex;align-items:center;width:224px;align-self:flex-end;margin-top:16px}@media (min-width: 768px){._socialList_1agn2_1{justify-content:flex-end;margin-top:0}}._socialList_1agn2_1 li{margin-right:25px}._socialList_1agn2_1 li:last-child{margin-right:0}._appsList_s60ek_1{display:flex;justify-content:space-between;width:298px;margin-top:16px}@media (min-width: 992px){._appsList_s60ek_1{margin-top:0}}._header_matcm_1{padding:16px 0;display:flex;align-items:flex-start;justify-content:space-between}@media (min-width: 992px){._header_matcm_1{padding:40px 0}}@media (min-width: 992px){._logoBlock_matcm_14{display:flex;align-items:center}}._logoContainer_matcm_20{display:flex;justify-content:space-between}._logoText_matcm_25{width:100%;font-size:14px;line-height:120%;color:var(--footer-color);margin-top:8px}@media (min-width: 768px){._logoText_matcm_25{width:320px;font-size:12px;line-height:15px}}@media (min-width: 992px){._logoText_matcm_25{margin-top:0;margin-left:40px;width:335px}}._contactBlock_matcm_47{display:flex;flex-direction:column}._paymentSystem_naesr_1{width:160px;display:flex;align-items:center;justify-content:space-between;margin-top:8px}@media (min-width: 576px){._paymentSystem_naesr_1{margin-top:0}}@media (min-width: 768px){._paymentSystem_naesr_1{width:190px}}@media (min-width: 992px){._paymentSystem_naesr_1{margin-top:16px}}._tas_naesr_24{font:700 26px/24px latobold;color:#e4e9ef;height:26px}@media (min-width: 768px){._tas_naesr_24{font-size:32px}}._footer_gsvy8_1{padding:8px 0;display:flex;justify-content:space-between}@media (min-width: 576px){._footer_gsvy8_1{padding:16px 0}}@media (min-width: 768px){._footer_gsvy8_1{padding:16px 0 8px}}@media (min-width: 992px){._footer_gsvy8_1{padding:40px 0 16px}}._copyrightContainer_gsvy8_22{width:100%;display:flex;flex-direction:column;align-items:center}@media (min-width: 576px){._copyrightContainer_gsvy8_22{flex-direction:row;justify-content:space-between}}@media (min-width: 992px){._copyrightContainer_gsvy8_22{width:auto;display:block}}._copyright_gsvy8_22{font-size:12px;line-height:115%;color:var(--footer-color)}@media (min-width: 992px){._copyright_gsvy8_22{font-size:14px;line-height:158.6%}}._menuContainer_17z7x_1{position:relative;padding:16px 0}@media (min-width: 992px){._menuContainer_17z7x_1{padding:40px 0}}._menuContainer_17z7x_1:before{position:absolute;top:0;left:-16px;width:calc(100% + 32px);border-top:1px solid #E9E9E9;content:""}@media (min-width: 992px){._menuContainer_17z7x_1:before{left:5%;width:90%}}._menuContainer_17z7x_1:after{position:absolute;bottom:0;left:-16px;width:calc(100% + 32px);border-bottom:1px solid #E9E9E9;content:""}@media (min-width: 992px){._menuContainer_17z7x_1:after{left:5%;width:90%}}._menu_17z7x_1{display:flex;flex-wrap:wrap;justify-content:space-between}@media (min-width: 768px){._menu_17z7x_1{flex-wrap:nowrap}}._menuItemList_17z7x_52{width:calc(50% - 24px);margin-bottom:16px;margin-right:24px}@media (min-width: 768px){._menuItemList_17z7x_52{width:auto;margin-bottom:0;margin-right:0}}._menuItemList_17z7x_52:last-child{margin-bottom:0}._menuItemListDouble_17z7x_69{width:100%;margin-bottom:16px}@media (min-width: 768px){._menuItemListDouble_17z7x_69{width:42%;margin-bottom:0}}@media (min-width: 992px){._menuItemListDouble_17z7x_69{width:38%}}._menuTitle_17z7x_85{font:700 18px/22px latobold;text-transform:uppercase;color:var(--footer-color);margin-bottom:16px}@media (min-width: 768px){._menuTitle_17z7x_85{font:400 12px/140% latoregular;letter-spacing:.02em}}@media (min-width: 992px){._menuTitle_17z7x_85{font-size:14px}}._menuItemContainer_17z7x_103{width:100%;display:flex}@media (min-width: 768px){._menuItemContainer_17z7x_103{justify-content:space-between}}._menuItemContainer_17z7x_103 ul{width:calc(50% - 24px);margin-right:24px}@media (min-width: 768px){._menuItemContainer_17z7x_103 ul{width:auto;margin-right:0}}._menuItem_17z7x_52{font-size:14px;line-height:130%;color:var(--footer-color);margin-bottom:8px;transition:color .2s ease-in-out}@media (min-width: 768px){._menuItem_17z7x_52{font-size:12px;line-height:115%;margin-bottom:12px}}@media (min-width: 992px){._menuItem_17z7x_52{margin-bottom:4px;font-size:14px;line-height:158.6%}}._menuItem_17z7x_52:hover{color:var(--footer-color-hover)}._menuItem_17z7x_52:last-child{margin-bottom:0}:root{--footer-bg: #fff;--footer-color: #374656;--footer-color-hover: #51BE8F}._footerModuleContainer_1dtbf_7{background:var(--footer-bg)}._footerModule_1dtbf_7{font-family:latoregular;width:calc(100% - 32px);max-width:1200px;margin:0 auto;cursor:default}@media (min-width: 1200px){._footerModule_1dtbf_7{padding:0;width:100%}}
1
+ ._phoneContainer_1n93l_1{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:16px}._phone_1n93l_1{font:600 18px/120% latobold;color:var(--footer-color)!important}@media (min-width: 768px){._phone_1n93l_1{font-size:22px;line-height:29px}}._phoneTitle_1n93l_19{font-size:10px;line-height:15px;color:#2d2b2b}@media (min-width: 768px){._phoneTitle_1n93l_19{font-size:12px}}._socialList_1agn2_1{display:flex;align-items:center;width:224px;align-self:flex-end;margin-top:16px}@media (min-width: 768px){._socialList_1agn2_1{justify-content:flex-end;margin-top:0}}._socialList_1agn2_1 li{margin-right:25px}._socialList_1agn2_1 li:last-child{margin-right:0}._appsList_s60ek_1{display:flex;justify-content:space-between;width:298px;margin-top:16px}@media (min-width: 992px){._appsList_s60ek_1{margin-top:0}}._header_matcm_1{padding:16px 0;display:flex;align-items:flex-start;justify-content:space-between}@media (min-width: 992px){._header_matcm_1{padding:40px 0}}@media (min-width: 992px){._logoBlock_matcm_14{display:flex;align-items:center}}._logoContainer_matcm_20{display:flex;justify-content:space-between}._logoText_matcm_25{width:100%;font-size:14px;line-height:120%;color:var(--footer-color);margin-top:8px}@media (min-width: 768px){._logoText_matcm_25{width:320px;font-size:12px;line-height:15px}}@media (min-width: 992px){._logoText_matcm_25{margin-top:0;margin-left:40px;width:335px}}._contactBlock_matcm_47{display:flex;flex-direction:column}._paymentSystem_naesr_1{width:160px;display:flex;align-items:center;justify-content:space-between;margin-top:8px}@media (min-width: 576px){._paymentSystem_naesr_1{margin-top:0}}@media (min-width: 768px){._paymentSystem_naesr_1{width:190px}}@media (min-width: 992px){._paymentSystem_naesr_1{margin-top:16px}}._tas_naesr_24{font:700 26px/24px latobold;color:#e4e9ef;height:26px}@media (min-width: 768px){._tas_naesr_24{font-size:32px}}._footer_gsvy8_1{padding:8px 0;display:flex;justify-content:space-between}@media (min-width: 576px){._footer_gsvy8_1{padding:16px 0}}@media (min-width: 768px){._footer_gsvy8_1{padding:16px 0 8px}}@media (min-width: 992px){._footer_gsvy8_1{padding:40px 0 16px}}._copyrightContainer_gsvy8_22{width:100%;display:flex;flex-direction:column;align-items:center}@media (min-width: 576px){._copyrightContainer_gsvy8_22{flex-direction:row;justify-content:space-between}}@media (min-width: 992px){._copyrightContainer_gsvy8_22{width:auto;display:block}}._copyright_gsvy8_22{font-size:12px;line-height:115%;color:var(--footer-color)}@media (min-width: 992px){._copyright_gsvy8_22{font-size:14px;line-height:158.6%}}._menuContainer_17z7x_1{position:relative;padding:16px 0}@media (min-width: 992px){._menuContainer_17z7x_1{padding:40px 0}}._menuContainer_17z7x_1:before{position:absolute;top:0;left:-16px;width:calc(100% + 32px);border-top:1px solid #E9E9E9;content:""}@media (min-width: 992px){._menuContainer_17z7x_1:before{left:5%;width:90%}}._menuContainer_17z7x_1:after{position:absolute;bottom:0;left:-16px;width:calc(100% + 32px);border-bottom:1px solid #E9E9E9;content:""}@media (min-width: 992px){._menuContainer_17z7x_1:after{left:5%;width:90%}}._menu_17z7x_1{display:flex;flex-wrap:wrap;justify-content:space-between}@media (min-width: 768px){._menu_17z7x_1{flex-wrap:nowrap}}._menuItemList_17z7x_52{width:calc(50% - 24px);margin-bottom:16px;margin-right:24px}@media (min-width: 768px){._menuItemList_17z7x_52{width:auto;margin-bottom:0;margin-right:0}}._menuItemList_17z7x_52:last-child{margin-bottom:0}._menuItemListDouble_17z7x_69{width:100%;margin-bottom:16px}@media (min-width: 768px){._menuItemListDouble_17z7x_69{width:42%;margin-bottom:0}}@media (min-width: 992px){._menuItemListDouble_17z7x_69{width:38%}}._menuTitle_17z7x_85{font:700 18px/22px latobold;text-transform:uppercase;color:var(--footer-color);margin-bottom:16px}@media (min-width: 768px){._menuTitle_17z7x_85{font:400 12px/140% latoregular;letter-spacing:.02em}}@media (min-width: 992px){._menuTitle_17z7x_85{font-size:14px}}._menuItemContainer_17z7x_103{width:100%;display:flex}@media (min-width: 768px){._menuItemContainer_17z7x_103{justify-content:space-between}}._menuItemContainer_17z7x_103 ul{width:calc(50% - 24px);margin-right:24px}@media (min-width: 768px){._menuItemContainer_17z7x_103 ul{width:auto;margin-right:0}}._menuItem_17z7x_52{font-size:14px;line-height:130%;color:var(--footer-color);margin-bottom:8px;transition:color .2s ease-in-out}@media (min-width: 768px){._menuItem_17z7x_52{font-size:12px;line-height:115%;margin-bottom:12px}}@media (min-width: 992px){._menuItem_17z7x_52{margin-bottom:4px;font-size:14px;line-height:158.6%}}._menuItem_17z7x_52:hover{color:var(--footer-color-hover)}._menuItem_17z7x_52:last-child{margin-bottom:0}._loadAbleImg_container_qvkqd_1{background:linear-gradient(101.42deg,#dfefff -.04%,#dfefff45 94.2%);box-sizing:border-box;overflow:hidden;width:100%;height:100%;position:relative}._loadAbleImg_container_qvkqd_1:before{content:"";display:block;position:absolute;left:-150px;top:0;height:100%;width:150px;background:linear-gradient(to right,transparent 0%,rgba(38,179,255,.0901960784) 50%,transparent 100%);animation:_load_qvkqd_1 1s cubic-bezier(.4,0,.2,1) infinite}@keyframes _load_qvkqd_1{0%{left:-150px}to{left:100%}}._loadAbleImg_containerLoaded_qvkqd_30:before{animation:none}._loadAbleImg_image_qvkqd_34{opacity:0;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out}._loadAbleImg_imageLoaded_qvkqd_42{opacity:1}:root{--footer-bg: #fff;--footer-color: #374656;--footer-color-hover: #51BE8F}._footerModuleContainer_qvkqd_52{background:var(--footer-bg)}._footerModule_qvkqd_52{font-family:latoregular;width:calc(100% - 32px);max-width:1200px;margin:0 auto;cursor:default}@media (min-width: 1200px){._footerModule_qvkqd_52{padding:0;width:100%}}
@@ -1,4 +1,4 @@
1
- import { F as r } from "./FooterV2Module-Cd4z2v8y.mjs";
1
+ import { F as r } from "./FooterV2Module-Bk6XRHqm.mjs";
2
2
  export {
3
3
  r as FooterV2Module
4
4
  };
@@ -1,2 +1 @@
1
- export * from './getAbsUrl';
2
1
  export * from './setFooterStyle';
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { Locale } from '@/types';
3
+ import { Cabinet, MenuState } from '../HeaderV5Module.types';
4
+ type AuthProps = {
5
+ isMenuOpen: MenuState;
6
+ menuHandler: React.Dispatch<React.SetStateAction<MenuState>>;
7
+ menuItems: Cabinet | null;
8
+ lang: Locale;
9
+ lastName?: string;
10
+ firstName?: string;
11
+ isUpBanner?: boolean;
12
+ loginCallback?(): void;
13
+ logoutCallback?(): void;
14
+ isAuth: boolean;
15
+ closeMenu: () => void;
16
+ isProfileMenuFirst?: boolean;
17
+ };
18
+ declare const Auth: ({ isMenuOpen, menuHandler, menuItems, lang, loginCallback, isProfileMenuFirst, firstName, lastName, isUpBanner, logoutCallback, isAuth, closeMenu, }: AuthProps) => import("react/jsx-runtime").JSX.Element | null;
19
+ export default Auth;
@@ -0,0 +1,8 @@
1
+ import { Locale } from '@/types';
2
+ import { HeaderBanner } from '../HeaderV5Module.types';
3
+ type BannerProps = {
4
+ lang: Locale;
5
+ data: HeaderBanner;
6
+ };
7
+ declare const Banner: ({ lang, data }: BannerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Banner;