@expofp/floorplan 3.2.12 → 3.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Button-BdvuWzrR.js +204 -0
- package/dist/browser/CookieConsent-bTG3GDKg.js +71 -0
- package/dist/browser/{Debug-BpJ3Yt6j.js → Debug-CjX9xriA.js} +8 -7
- package/dist/browser/{Demo-CAu8tNnV.js → Demo-D66SE96z.js} +12 -11
- package/dist/browser/{Free-Dtjbs5Bb.js → Free-ouV3S0cy.js} +12 -11
- package/dist/browser/{Gallery-DCd-gVeP.js → Gallery-Bm4oVw4n.js} +608 -642
- package/dist/browser/{GpsLoader-CwhaM_rD.js → GpsLoader-BheKXFiI.js} +49 -47
- package/dist/browser/{KioskStore-S-D6b5kf.js → KioskStore-CYaE9WLG.js} +62 -62
- package/dist/browser/{Mapbox-CYVIXxFC.js → Mapbox-CDlR6UrM.js} +40 -39
- package/dist/browser/Modal-DS2N0vIo.js +105 -0
- package/dist/browser/{SetKioskMode-DgSmrgmn.js → SetKioskMode-DofzJB3e.js} +18 -17
- package/dist/browser/{ShowKiosk-Df5igL4n.js → ShowKiosk-UX2N2NU3.js} +11 -10
- package/dist/browser/{ThreeComponent-zl3QtM34.js → ThreeComponent-CglSG5wI.js} +248 -247
- package/dist/browser/{TouchHand-QJXR9zrh.js → TouchHand-DvgAAuKo.js} +15 -14
- package/dist/browser/{ViewerMenuPanel-BQg2PHof.js → ViewerMenuPanel-KPn2i2KL.js} +22 -21
- package/dist/browser/{add-debug-secret-listener-Dpg6hJXG.js → add-debug-secret-listener-BN00-9E4.js} +1 -1
- package/dist/browser/{boolean-editor-B1fg8GRP.js → boolean-editor-fbHiF9vJ.js} +11 -11
- package/dist/browser/{bootIntercom-DPGUvndP.js → bootIntercom-CKo2IztD.js} +3 -3
- package/dist/browser/{box-BgRrEHb5.js → box-B2jxGgXa.js} +6 -6
- package/dist/browser/{browser-CM6Y7IGk.js → browser-vqeti97Y.js} +2 -2
- package/dist/browser/bundle.json +68 -53
- package/dist/browser/{classnames-TFIMEeYe.js → classnames-CHmxGkvV.js} +2 -2
- package/dist/browser/{client-Aih6DWd7.js → client-pnzfy6PK.js} +5 -5
- package/dist/browser/components-DVzc3v5I.js +8145 -0
- package/dist/browser/{data-CfaOzRA9.js → data-BmUUjPca.js} +43 -43
- package/dist/browser/{debug-overlay-CvqXKYqC.js → debug-overlay-B_1ADa5Y.js} +12 -12
- package/dist/browser/{debug-ui-CbGnH4qz.js → debug-ui-DBOzEUkM.js} +7 -7
- package/dist/browser/{dist-Ch41wRCl.js → dist-0qGu5ADv.js} +3 -3
- package/dist/browser/{dist-CucOchil.js → dist-BpuX8MZ6.js} +7 -7
- package/dist/browser/{dist-B53U7F7A.js → dist-DblWkNUV.js} +6 -6
- package/dist/browser/{efp-debug-init-DBd9OXOq.js → efp-debug-init-BwJWCRkJ.js} +3 -3
- package/dist/browser/{enum-editor-BFL483S-.js → enum-editor-BYkKqvGq.js} +12 -12
- package/dist/browser/{exports-rKPKVDu-.js → exports-BRRDMtlG.js} +1 -1
- package/dist/browser/{favicon-D6XggTGV.js → favicon-C_bgpvWA.js} +1 -1
- package/dist/browser/{fetch-retry.umd-GAaYdRWp.js → fetch-retry.umd-Dinto0ag.js} +2 -2
- package/dist/browser/{flex-B3BtW7Bh.js → flex-uHBCXaOV.js} +7 -7
- package/dist/browser/{flex.props-BUSDD_Wi.js → flex.props-eBOcuRMU.js} +3 -3
- package/dist/browser/{floorplan.loader-qfH0ZSkQ.js → floorplan.loader-CMXBnLtZ.js} +650 -649
- package/dist/browser/{floorplan.ready-BbyaL6hp.js → floorplan.ready-UbtSin_R.js} +215 -215
- package/dist/browser/{fuse-D5ZhsMEO.js → fuse-CgTQNNsn.js} +2 -2
- package/dist/browser/{is-debug-Wdhvt3ms.js → i18n-BOl9oxrx.js} +774 -883
- package/dist/browser/index.js +12 -12
- package/dist/browser/is-debug-DMN58EYn.js +122 -0
- package/dist/browser/{jsx-runtime-zUblDIPy.js → jsx-runtime-B2BgIlMm.js} +2 -2
- package/dist/browser/{lib-BUzzfdPD.js → lib-DByP5YwC.js} +5 -5
- package/dist/browser/{main-O6EuNg2i.js → main-D3mbrWsr.js} +1 -1
- package/dist/browser/{mobx-PgfpkqhK.js → mobx-CdvsVcc9.js} +5 -5
- package/dist/browser/{particles.min-C7I-LldI.js → particles.min-DfI3C-qp.js} +2 -2
- package/dist/browser/{prop-types-D8LlC1ig.js → prop-types-B6zERU6Z.js} +2 -2
- package/dist/browser/{react--fZLaqnU.js → react-C3o_QT06.js} +2 -2
- package/dist/browser/{react-dom-BYFyq6EH.js → react-dom-sBqrMskT.js} +3 -3
- package/dist/browser/{reset-all-settings-BlOJ5U7L.js → reset-all-settings-BwKg7iVu.js} +8 -8
- package/dist/browser/{rolldown-runtime-inJhu5W8.js → rolldown-runtime-DB8Ddt08.js} +1 -1
- package/dist/browser/{settings-BGeWcEmK.js → settings-BLMQJ1yq.js} +2 -2
- package/dist/browser/{settings-item-9Fm2cbOj.js → settings-item-C19s0haM.js} +7 -7
- package/dist/browser/{store-DtssCn2i.js → store-CQE29UCE.js} +5679 -5857
- package/dist/browser/{string-editor-Dr-TZeXy.js → string-editor-DyFEQo_P.js} +9 -9
- package/dist/browser/{theme-CXkb1lmK.js → theme-CrwkiIG5.js} +9 -9
- package/dist/browser/{ui-div1xB9Z.js → ui-MUJDbhD1.js} +9 -9
- package/dist/browser/useRenderTarget-Pk0fGZOz.js +48 -0
- package/dist/esm/components/AlertContainer.d.ts +5 -0
- package/dist/esm/components/AlertContainer.js +1 -0
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItem.d.ts +1 -0
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +5 -0
- package/dist/esm/components/EntityItemContainer.js +1 -0
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/GlobalErrorMessage.js +1 -1
- package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
- package/dist/esm/components/HighlightTextContainer.js +1 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +2 -2
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.d.ts +0 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/Modal.d.ts +2 -1
- package/dist/esm/components/Modal.js +1 -1
- package/dist/esm/components/Overlay.d.ts +1 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/SimpleRow.js +1 -1
- package/dist/esm/components/Speakers.js +1 -1
- package/dist/esm/components/ToursList.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
- package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +6 -8
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/index.d.ts +22 -22
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/stories/CookieConsent.stories.js +1 -1
- package/dist/esm/components/stories/Modal.stories.d.ts +5 -0
- package/dist/esm/components/stories/Modal.stories.js +1 -0
- package/dist/esm/components/stories/Share.stories.d.ts +5 -0
- package/dist/esm/components/stories/Share.stories.js +1 -0
- package/dist/esm/components/stories/{CheckboxButton.stories.d.ts → WayInformation.stories.d.ts} +1 -1
- package/dist/esm/components/stories/WayfindingTemplate.stories.d.ts +5 -0
- package/dist/esm/components/stories/WayfindingTemplate.stories.js +1 -0
- package/dist/esm/data/Flags.d.ts +4 -0
- package/dist/esm/data/Flags.js +1 -0
- package/dist/esm/store/RoutePlannerStore.d.ts +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/storybook/store/index.stub.d.ts +4 -0
- package/dist/esm/storybook/store/index.stub.js +1 -1
- package/dist/esm/{components → ui/Alert}/Alert.d.ts +3 -3
- package/dist/esm/ui/Alert/Alert.js +1 -0
- package/dist/esm/{components/stories → ui/Alert}/Alert.stories.d.ts +1 -1
- package/dist/esm/ui/Alert/Alert.stories.js +1 -0
- package/dist/esm/ui/Alert/index.d.ts +3 -0
- package/dist/esm/ui/Alert/index.js +1 -0
- package/dist/esm/{components → ui/Badge}/Badge.d.ts +1 -2
- package/dist/esm/ui/Badge/Badge.stories.d.ts +5 -0
- package/dist/esm/ui/Badge/Badge.stories.js +1 -0
- package/dist/esm/ui/Badge/index.d.ts +3 -0
- package/dist/esm/ui/Badge/index.js +1 -0
- package/dist/esm/{components → ui/Button}/Button.d.ts +2 -2
- package/dist/esm/ui/Button/Button.js +1 -0
- package/dist/esm/ui/Button/Button.stories.d.ts +5 -0
- package/dist/esm/ui/Button/Button.stories.js +1 -0
- package/dist/esm/ui/Button/index.d.ts +3 -0
- package/dist/esm/ui/Button/index.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.d.ts +18 -0
- package/dist/esm/ui/Checkbox/Checkbox.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.js +1 -0
- package/dist/esm/ui/Checkbox/index.d.ts +3 -0
- package/dist/esm/ui/Checkbox/index.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +11 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.d.ts +5 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.js +1 -0
- package/dist/esm/ui/CheckboxButton/index.d.ts +3 -0
- package/dist/esm/ui/CheckboxButton/index.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.d.ts +6 -0
- package/dist/esm/ui/HighlightText/HighlightText.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.d.ts +7 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.js +1 -0
- package/dist/esm/ui/HighlightText/index.d.ts +2 -0
- package/dist/esm/ui/HighlightText/index.js +1 -0
- package/dist/esm/ui/Radio/Radio.d.ts +14 -0
- package/dist/esm/ui/Radio/Radio.js +1 -0
- package/dist/esm/ui/Radio/Radio.stories.d.ts +18 -0
- package/dist/esm/ui/Radio/Radio.stories.js +1 -0
- package/dist/esm/ui/Radio/index.d.ts +3 -0
- package/dist/esm/ui/Radio/index.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.d.ts +8 -0
- package/dist/esm/ui/Spinner/Spinner.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.stories.d.ts +5 -0
- package/dist/esm/ui/Spinner/Spinner.stories.js +1 -0
- package/dist/esm/ui/Spinner/index.d.ts +3 -0
- package/dist/esm/ui/Spinner/index.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +16 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.js +1 -0
- package/dist/esm/ui/ToggleButton/index.d.ts +3 -0
- package/dist/esm/ui/ToggleButton/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +17 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.js +1 -0
- package/dist/esm/ui/ToggleSwitch/index.d.ts +3 -0
- package/dist/esm/ui/ToggleSwitch/index.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.d.ts +4 -0
- package/dist/esm/ui/TouchHand/TouchHand.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.d.ts +5 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.js +1 -0
- package/dist/esm/ui/TouchHand/index.d.ts +2 -0
- package/dist/esm/ui/TouchHand/index.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +23 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.d.ts +5 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +3 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.js +1 -0
- package/package.json +3 -3
- package/dist/browser/CookieConsent-D7Z1zvoH.js +0 -8234
- package/dist/esm/components/Alert.js +0 -1
- package/dist/esm/components/Button.js +0 -1
- package/dist/esm/components/Checkbox.d.ts +0 -13
- package/dist/esm/components/Checkbox.js +0 -1
- package/dist/esm/components/CheckboxButton.d.ts +0 -11
- package/dist/esm/components/CheckboxButton.js +0 -1
- package/dist/esm/components/HighlightText.d.ts +0 -6
- package/dist/esm/components/HighlightText.js +0 -1
- package/dist/esm/components/LayersLoading.d.ts +0 -9
- package/dist/esm/components/LayersLoading.js +0 -1
- package/dist/esm/components/Radio.d.ts +0 -12
- package/dist/esm/components/Radio.js +0 -1
- package/dist/esm/components/ToggleButton.d.ts +0 -11
- package/dist/esm/components/ToggleButton.js +0 -1
- package/dist/esm/components/ToggleSwitch.d.ts +0 -12
- package/dist/esm/components/ToggleSwitch.js +0 -1
- package/dist/esm/components/TouchHand.d.ts +0 -4
- package/dist/esm/components/TouchHand.js +0 -1
- package/dist/esm/components/WayfindingFloorSelector.d.ts +0 -21
- package/dist/esm/components/WayfindingFloorSelector.js +0 -1
- package/dist/esm/components/stories/Alert.stories.js +0 -1
- package/dist/esm/components/stories/Badge.stories.d.ts +0 -5
- package/dist/esm/components/stories/Badge.stories.js +0 -1
- package/dist/esm/components/stories/Button.stories.d.ts +0 -5
- package/dist/esm/components/stories/Button.stories.js +0 -1
- package/dist/esm/components/stories/Checkbox.stories.d.ts +0 -5
- package/dist/esm/components/stories/Checkbox.stories.js +0 -1
- package/dist/esm/components/stories/CheckboxButton.stories.js +0 -1
- package/dist/esm/components/stories/Loading.stories.d.ts +0 -5
- package/dist/esm/components/stories/Loading.stories.js +0 -1
- package/dist/esm/components/stories/Modal.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/Modal.storiesss.js +0 -1
- package/dist/esm/components/stories/Radio.stories.d.ts +0 -10
- package/dist/esm/components/stories/Radio.stories.js +0 -1
- package/dist/esm/components/stories/Share.storiesSS.d.ts +0 -5
- package/dist/esm/components/stories/Share.storiesSS.js +0 -1
- package/dist/esm/components/stories/ToggleButton.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleButton.stories.js +0 -1
- package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleSwitch.stories.js +0 -1
- package/dist/esm/components/stories/TouchHand.stories.d.ts +0 -5
- package/dist/esm/components/stories/TouchHand.stories.js +0 -1
- package/dist/esm/components/stories/WayInformation.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +0 -1
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +0 -1
- /package/dist/esm/components/stories/{WayInformation.storiesss.js → WayInformation.stories.js} +0 -0
- /package/dist/esm/{components → ui/Badge}/Badge.js +0 -0
|
@@ -2,60 +2,28 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.14" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "73bc3d67-cb24-41ad-afa3-c8aff6904cc4", e._sentryDebugIdIdentifier = "sentry-dbid-73bc3d67-cb24-41ad-afa3-c8aff6904cc4");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import {
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var t;
|
|
21
|
-
if (!e) return console.error("[getRenderTargetFromRoot] rootElement is null"), null;
|
|
22
|
-
let n = e.firstElementChild;
|
|
23
|
-
if (n && n.shadowRoot) {
|
|
24
|
-
let e = n.shadowRoot.querySelector("#efp-layout");
|
|
25
|
-
if (e) return e;
|
|
26
|
-
}
|
|
27
|
-
return ((t = e.querySelector) == null ? void 0 : t.call(e, "#efp-layout")) || (console.error("[getRenderTargetFromRoot] rootElement is null"), null);
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/utils/useRenderTarget.ts
|
|
31
|
-
var m = () => {
|
|
32
|
-
let [e, t] = (0, l.useState)(() => p(c.rootElement));
|
|
33
|
-
return (0, l.useEffect)(() => {
|
|
34
|
-
var e, n;
|
|
35
|
-
if (typeof window > "u" || !c.rootElement) return;
|
|
36
|
-
let r = !1, i = null, a = () => {
|
|
37
|
-
let e = p(c.rootElement);
|
|
38
|
-
return e && !r ? (t((t) => t === e ? t : e), !0) : !1;
|
|
39
|
-
};
|
|
40
|
-
if (a()) return;
|
|
41
|
-
let o = (e = (n = c.rootElement.firstElementChild) == null ? void 0 : n.shadowRoot) == null ? c.rootElement : e;
|
|
42
|
-
return i = new MutationObserver(() => {
|
|
43
|
-
a() && i && i.disconnect();
|
|
44
|
-
}), i.observe(o, {
|
|
45
|
-
childList: !0,
|
|
46
|
-
subtree: !0
|
|
47
|
-
}), () => {
|
|
48
|
-
r = !0, i && i.disconnect();
|
|
49
|
-
};
|
|
50
|
-
}, [c.rootElement]), e;
|
|
51
|
-
}, h = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, u.jsxs)(u.Fragment, { children: [/* @__PURE__ */ (0, u.jsxs)("div", {
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-DB8Ddt08.js";
|
|
11
|
+
import { t as n } from "./react-C3o_QT06.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-B2BgIlMm.js";
|
|
13
|
+
import { s as i } from "./i18n-BOl9oxrx.js";
|
|
14
|
+
import { t as a } from "./react-dom-sBqrMskT.js";
|
|
15
|
+
import { t as o } from "./classnames-CHmxGkvV.js";
|
|
16
|
+
import { n as s } from "./Button-BdvuWzrR.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-Pk0fGZOz.js";
|
|
18
|
+
//#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
19
|
+
var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
52
20
|
className: "gallery__badge gallery__badge-count",
|
|
53
|
-
children: [/* @__PURE__ */ (0,
|
|
54
|
-
}), /* @__PURE__ */ (0,
|
|
21
|
+
children: [/* @__PURE__ */ (0, d.jsx)("i", { className: "icon-image" }), /* @__PURE__ */ (0, d.jsx)("span", { children: e })]
|
|
22
|
+
}), /* @__PURE__ */ (0, d.jsx)("div", {
|
|
55
23
|
className: "gallery__badge gallery__badge-fullscreen",
|
|
56
24
|
onClick: t,
|
|
57
|
-
children: /* @__PURE__ */ (0,
|
|
58
|
-
})] }),
|
|
25
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", { className: "icon-maximize" })
|
|
26
|
+
})] }), p = new class {
|
|
59
27
|
constructor() {
|
|
60
28
|
this.cache = [], this.load = (e) => new Promise((t, n) => {
|
|
61
29
|
e || t(null);
|
|
@@ -67,14 +35,14 @@ var m = () => {
|
|
|
67
35
|
});
|
|
68
36
|
});
|
|
69
37
|
}
|
|
70
|
-
}(),
|
|
71
|
-
let s = (0,
|
|
72
|
-
(0,
|
|
73
|
-
!s.current || !c.current || !i ||
|
|
38
|
+
}(), m = ({ url: e, setHeight: t = !1, position: n = "center", isFullscreen: r = !1, leading: i = !1, fillMode: a = "contain", onImageLoadHeightUpdate: o }) => {
|
|
39
|
+
let s = (0, u.useRef)(null), c = (0, u.useRef)(null);
|
|
40
|
+
(0, u.useEffect)(() => {
|
|
41
|
+
!s.current || !c.current || !i || l(e);
|
|
74
42
|
}, [e]);
|
|
75
|
-
let
|
|
43
|
+
let l = async (e) => {
|
|
76
44
|
if (t) try {
|
|
77
|
-
let t = await
|
|
45
|
+
let t = await p.load(e);
|
|
78
46
|
c.current.style.height = t.height * c.current.clientWidth / t.width + "px", o && o();
|
|
79
47
|
} catch {}
|
|
80
48
|
}, f = {
|
|
@@ -84,22 +52,22 @@ var m = () => {
|
|
|
84
52
|
transition: i ? "all 0.5s ease 0s" : "none",
|
|
85
53
|
backgroundPosition: n
|
|
86
54
|
};
|
|
87
|
-
return /* @__PURE__ */ (0,
|
|
55
|
+
return /* @__PURE__ */ (0, d.jsx)("div", {
|
|
88
56
|
ref: c,
|
|
89
57
|
style: {
|
|
90
58
|
width: "100%",
|
|
91
59
|
height: i && !r ? "250px" : "100%"
|
|
92
60
|
},
|
|
93
|
-
children: /* @__PURE__ */ (0,
|
|
61
|
+
children: /* @__PURE__ */ (0, d.jsx)("div", {
|
|
94
62
|
ref: s,
|
|
95
63
|
className: "gallery__img",
|
|
96
64
|
style: f
|
|
97
65
|
})
|
|
98
66
|
});
|
|
99
|
-
},
|
|
67
|
+
}, h = ({ url: e, position: t = "center", leading: n = !1, setHeight: r = !1, fillMode: i, onClick: a, onImageLoadHeightUpdate: o }) => /* @__PURE__ */ (0, d.jsx)("div", {
|
|
100
68
|
className: "gallery__item",
|
|
101
69
|
onClick: a,
|
|
102
|
-
children: /* @__PURE__ */ (0,
|
|
70
|
+
children: /* @__PURE__ */ (0, d.jsx)(m, {
|
|
103
71
|
position: t,
|
|
104
72
|
fillMode: i,
|
|
105
73
|
url: e,
|
|
@@ -107,18 +75,16 @@ var m = () => {
|
|
|
107
75
|
setHeight: r,
|
|
108
76
|
onImageLoadHeightUpdate: o
|
|
109
77
|
})
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
//#region ../../node_modules/.pnpm/ssr-window@4.0.2/node_modules/ssr-window/ssr-window.esm.js
|
|
113
|
-
function y(e) {
|
|
78
|
+
}), g = /* @__PURE__ */ t(a(), 1);
|
|
79
|
+
function _(e) {
|
|
114
80
|
return typeof e == "object" && !!e && "constructor" in e && e.constructor === Object;
|
|
115
81
|
}
|
|
116
|
-
function
|
|
82
|
+
function v(e = {}, t = {}) {
|
|
117
83
|
Object.keys(t).forEach((n) => {
|
|
118
|
-
e[n] === void 0 ? e[n] = t[n] :
|
|
84
|
+
e[n] === void 0 ? e[n] = t[n] : _(t[n]) && _(e[n]) && Object.keys(t[n]).length > 0 && v(e[n], t[n]);
|
|
119
85
|
});
|
|
120
86
|
}
|
|
121
|
-
var
|
|
87
|
+
var y = {
|
|
122
88
|
body: {},
|
|
123
89
|
addEventListener() {},
|
|
124
90
|
removeEventListener() {},
|
|
@@ -166,12 +132,12 @@ var x = {
|
|
|
166
132
|
search: ""
|
|
167
133
|
}
|
|
168
134
|
};
|
|
169
|
-
function
|
|
135
|
+
function b() {
|
|
170
136
|
let e = typeof document < "u" ? document : {};
|
|
171
|
-
return
|
|
137
|
+
return v(e, y), e;
|
|
172
138
|
}
|
|
173
|
-
var
|
|
174
|
-
document:
|
|
139
|
+
var x = {
|
|
140
|
+
document: y,
|
|
175
141
|
navigator: { userAgent: "" },
|
|
176
142
|
location: {
|
|
177
143
|
hash: "",
|
|
@@ -214,13 +180,13 @@ var C = {
|
|
|
214
180
|
typeof setTimeout > "u" || clearTimeout(e);
|
|
215
181
|
}
|
|
216
182
|
};
|
|
217
|
-
function
|
|
183
|
+
function S() {
|
|
218
184
|
let e = typeof window < "u" ? window : {};
|
|
219
|
-
return
|
|
185
|
+
return v(e, x), e;
|
|
220
186
|
}
|
|
221
187
|
//#endregion
|
|
222
188
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/utils.js
|
|
223
|
-
function
|
|
189
|
+
function C(e) {
|
|
224
190
|
let t = e;
|
|
225
191
|
Object.keys(t).forEach((e) => {
|
|
226
192
|
try {
|
|
@@ -231,27 +197,27 @@ function T(e) {
|
|
|
231
197
|
} catch {}
|
|
232
198
|
});
|
|
233
199
|
}
|
|
234
|
-
function
|
|
200
|
+
function w(e, t = 0) {
|
|
235
201
|
return setTimeout(e, t);
|
|
236
202
|
}
|
|
237
|
-
function
|
|
203
|
+
function T() {
|
|
238
204
|
return Date.now();
|
|
239
205
|
}
|
|
240
|
-
function
|
|
241
|
-
let t =
|
|
206
|
+
function E(e) {
|
|
207
|
+
let t = S(), n;
|
|
242
208
|
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
|
|
243
209
|
}
|
|
244
|
-
function
|
|
245
|
-
let n =
|
|
210
|
+
function D(e, t = "x") {
|
|
211
|
+
let n = S(), r, i, a, o = E(e, null);
|
|
246
212
|
return n.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((e) => e.replace(",", ".")).join(", ")), a = new n.WebKitCSSMatrix(i === "none" ? "" : i)) : (a = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = a.toString().split(",")), t === "x" && (i = n.WebKitCSSMatrix ? a.m41 : r.length === 16 ? parseFloat(r[12]) : parseFloat(r[4])), t === "y" && (i = n.WebKitCSSMatrix ? a.m42 : r.length === 16 ? parseFloat(r[13]) : parseFloat(r[5])), i || 0;
|
|
247
213
|
}
|
|
248
|
-
function
|
|
214
|
+
function O(e) {
|
|
249
215
|
return typeof e == "object" && !!e && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
250
216
|
}
|
|
251
|
-
function
|
|
217
|
+
function k(e) {
|
|
252
218
|
return typeof window < "u" && window.HTMLElement !== void 0 ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
253
219
|
}
|
|
254
|
-
function
|
|
220
|
+
function A(...e) {
|
|
255
221
|
let t = Object(e[0]), n = [
|
|
256
222
|
"__proto__",
|
|
257
223
|
"constructor",
|
|
@@ -259,21 +225,21 @@ function M(...e) {
|
|
|
259
225
|
];
|
|
260
226
|
for (let r = 1; r < e.length; r += 1) {
|
|
261
227
|
let i = e[r];
|
|
262
|
-
if (i != null && !
|
|
228
|
+
if (i != null && !k(i)) {
|
|
263
229
|
let e = Object.keys(Object(i)).filter((e) => n.indexOf(e) < 0);
|
|
264
230
|
for (let n = 0, r = e.length; n < r; n += 1) {
|
|
265
231
|
let r = e[n], a = Object.getOwnPropertyDescriptor(i, r);
|
|
266
|
-
a !== void 0 && a.enumerable && (
|
|
232
|
+
a !== void 0 && a.enumerable && (O(t[r]) && O(i[r]) ? i[r].__swiper__ ? t[r] = i[r] : A(t[r], i[r]) : !O(t[r]) && O(i[r]) ? (t[r] = {}, i[r].__swiper__ ? t[r] = i[r] : A(t[r], i[r])) : t[r] = i[r]);
|
|
267
233
|
}
|
|
268
234
|
}
|
|
269
235
|
}
|
|
270
236
|
return t;
|
|
271
237
|
}
|
|
272
|
-
function
|
|
238
|
+
function j(e, t, n) {
|
|
273
239
|
e.style.setProperty(t, n);
|
|
274
240
|
}
|
|
275
|
-
function
|
|
276
|
-
let r =
|
|
241
|
+
function M({ swiper: e, targetPosition: t, side: n }) {
|
|
242
|
+
let r = S(), i = -e.translate, a = null, o, s = e.params.speed;
|
|
277
243
|
e.wrapperEl.style.scrollSnapType = "none", r.cancelAnimationFrame(e.cssModeFrameID);
|
|
278
244
|
let c = t > i ? "next" : "prev", l = (e, t) => c === "next" && e >= t || c === "prev" && e <= t, u = () => {
|
|
279
245
|
o = (/* @__PURE__ */ new Date()).getTime(), a === null && (a = o);
|
|
@@ -288,14 +254,14 @@ function ee({ swiper: e, targetPosition: t, side: n }) {
|
|
|
288
254
|
};
|
|
289
255
|
u();
|
|
290
256
|
}
|
|
291
|
-
function
|
|
257
|
+
function N(e, t = "") {
|
|
292
258
|
return [...e.children].filter((e) => e.matches(t));
|
|
293
259
|
}
|
|
294
|
-
function
|
|
260
|
+
function ee(e, t = []) {
|
|
295
261
|
let n = document.createElement(e);
|
|
296
262
|
return n.classList.add(...Array.isArray(t) ? t : [t]), n;
|
|
297
263
|
}
|
|
298
|
-
function
|
|
264
|
+
function te(e, t) {
|
|
299
265
|
let n = [];
|
|
300
266
|
for (; e.previousElementSibling;) {
|
|
301
267
|
let r = e.previousElementSibling;
|
|
@@ -303,7 +269,7 @@ function ne(e, t) {
|
|
|
303
269
|
}
|
|
304
270
|
return n;
|
|
305
271
|
}
|
|
306
|
-
function
|
|
272
|
+
function ne(e, t) {
|
|
307
273
|
let n = [];
|
|
308
274
|
for (; e.nextElementSibling;) {
|
|
309
275
|
let r = e.nextElementSibling;
|
|
@@ -311,43 +277,43 @@ function re(e, t) {
|
|
|
311
277
|
}
|
|
312
278
|
return n;
|
|
313
279
|
}
|
|
314
|
-
function
|
|
315
|
-
return
|
|
280
|
+
function P(e, t) {
|
|
281
|
+
return S().getComputedStyle(e, null).getPropertyValue(t);
|
|
316
282
|
}
|
|
317
|
-
function
|
|
283
|
+
function re(e) {
|
|
318
284
|
let t = e, n;
|
|
319
285
|
if (t) {
|
|
320
286
|
for (n = 0; (t = t.previousSibling) !== null;) t.nodeType === 1 && (n += 1);
|
|
321
287
|
return n;
|
|
322
288
|
}
|
|
323
289
|
}
|
|
324
|
-
function
|
|
290
|
+
function ie(e, t) {
|
|
325
291
|
let n = [], r = e.parentElement;
|
|
326
292
|
for (; r;) t ? r.matches(t) && n.push(r) : n.push(r), r = r.parentElement;
|
|
327
293
|
return n;
|
|
328
294
|
}
|
|
329
|
-
function
|
|
330
|
-
let r =
|
|
295
|
+
function ae(e, t, n) {
|
|
296
|
+
let r = S();
|
|
331
297
|
return n ? e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom")) : e.offsetWidth;
|
|
332
298
|
}
|
|
333
299
|
//#endregion
|
|
334
300
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-support.js
|
|
335
|
-
var
|
|
336
|
-
function
|
|
337
|
-
let e =
|
|
301
|
+
var oe;
|
|
302
|
+
function se() {
|
|
303
|
+
let e = S(), t = b();
|
|
338
304
|
return {
|
|
339
305
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
340
306
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
341
307
|
};
|
|
342
308
|
}
|
|
343
|
-
function
|
|
344
|
-
return
|
|
309
|
+
function ce() {
|
|
310
|
+
return oe || (oe = se()), oe;
|
|
345
311
|
}
|
|
346
312
|
//#endregion
|
|
347
313
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-device.js
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
let t =
|
|
314
|
+
var le;
|
|
315
|
+
function ue({ userAgent: e } = {}) {
|
|
316
|
+
let t = ce(), n = S(), r = n.navigator.platform, i = e || n.navigator.userAgent, a = {
|
|
351
317
|
ios: !1,
|
|
352
318
|
android: !1
|
|
353
319
|
}, o = n.screen.width, s = n.screen.height, c = i.match(/(Android);?[\s\/]+([\d.]+)?/), l = i.match(/(iPad).*OS\s([\d_]+)/), u = i.match(/(iPod)(.*OS\s([\d_]+))?/), d = !l && i.match(/(iPhone\sOS|iOS)\s([\d_]+)/), f = r === "Win32", p = r === "MacIntel";
|
|
@@ -370,14 +336,14 @@ function de({ userAgent: e } = {}) {
|
|
|
370
336
|
"13_0_0"
|
|
371
337
|
]), p = !1), c && !f && (a.os = "android", a.android = !0), (l || d || u) && (a.os = "ios", a.ios = !0), a;
|
|
372
338
|
}
|
|
373
|
-
function
|
|
374
|
-
return
|
|
339
|
+
function de(e = {}) {
|
|
340
|
+
return le || (le = ue(e)), le;
|
|
375
341
|
}
|
|
376
342
|
//#endregion
|
|
377
343
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/get-browser.js
|
|
378
|
-
var
|
|
379
|
-
function
|
|
380
|
-
let e =
|
|
344
|
+
var fe;
|
|
345
|
+
function pe() {
|
|
346
|
+
let e = S(), t = !1;
|
|
381
347
|
function n() {
|
|
382
348
|
let t = e.navigator.userAgent.toLowerCase();
|
|
383
349
|
return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0;
|
|
@@ -395,13 +361,13 @@ function me() {
|
|
|
395
361
|
isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)
|
|
396
362
|
};
|
|
397
363
|
}
|
|
398
|
-
function
|
|
399
|
-
return
|
|
364
|
+
function me() {
|
|
365
|
+
return fe || (fe = pe()), fe;
|
|
400
366
|
}
|
|
401
367
|
//#endregion
|
|
402
368
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/modules/resize/resize.js
|
|
403
|
-
function
|
|
404
|
-
let r =
|
|
369
|
+
function he({ swiper: e, on: t, emit: n }) {
|
|
370
|
+
let r = S(), i = null, a = null, o = () => {
|
|
405
371
|
!e || e.destroyed || !e.initialized || (n("beforeResize"), n("resize"));
|
|
406
372
|
}, s = () => {
|
|
407
373
|
!e || e.destroyed || !e.initialized || (i = new ResizeObserver((t) => {
|
|
@@ -429,8 +395,8 @@ function ge({ swiper: e, on: t, emit: n }) {
|
|
|
429
395
|
}
|
|
430
396
|
//#endregion
|
|
431
397
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/modules/observer/observer.js
|
|
432
|
-
function
|
|
433
|
-
let i = [], a =
|
|
398
|
+
function ge({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
399
|
+
let i = [], a = S(), o = (t, n = {}) => {
|
|
434
400
|
let o = new (a.MutationObserver || a.WebkitMutationObserver)((t) => {
|
|
435
401
|
if (e.__preventObserver__) return;
|
|
436
402
|
if (t.length === 1) {
|
|
@@ -455,7 +421,7 @@ function _e({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
455
421
|
}), n("init", () => {
|
|
456
422
|
if (e.params.observer) {
|
|
457
423
|
if (e.params.observeParents) {
|
|
458
|
-
let t =
|
|
424
|
+
let t = ie(e.el);
|
|
459
425
|
for (let e = 0; e < t.length; e += 1) o(t[e]);
|
|
460
426
|
}
|
|
461
427
|
o(e.el, { childList: e.params.observeSlideChildren }), o(e.wrapperEl, { attributes: !1 });
|
|
@@ -468,7 +434,7 @@ function _e({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
468
434
|
}
|
|
469
435
|
//#endregion
|
|
470
436
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events-emitter.js
|
|
471
|
-
var
|
|
437
|
+
var _e = {
|
|
472
438
|
on(e, t, n) {
|
|
473
439
|
let r = this;
|
|
474
440
|
if (!r.eventsListeners || r.destroyed || typeof t != "function") return r;
|
|
@@ -520,9 +486,9 @@ var ve = {
|
|
|
520
486
|
};
|
|
521
487
|
//#endregion
|
|
522
488
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSize.js
|
|
523
|
-
function
|
|
489
|
+
function ve() {
|
|
524
490
|
let e = this, t, n, r = e.el;
|
|
525
|
-
t = e.params.width !== void 0 && e.params.width !== null ? e.params.width : r.clientWidth, n = e.params.height !== void 0 && e.params.height !== null ? e.params.height : r.clientHeight, !(t === 0 && e.isHorizontal() || n === 0 && e.isVertical()) && (t = t - parseInt(
|
|
491
|
+
t = e.params.width !== void 0 && e.params.width !== null ? e.params.width : r.clientWidth, n = e.params.height !== void 0 && e.params.height !== null ? e.params.height : r.clientHeight, !(t === 0 && e.isHorizontal() || n === 0 && e.isVertical()) && (t = t - parseInt(P(r, "padding-left") || 0, 10) - parseInt(P(r, "padding-right") || 0, 10), n = n - parseInt(P(r, "padding-top") || 0, 10) - parseInt(P(r, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(n) && (n = 0), Object.assign(e, {
|
|
526
492
|
width: t,
|
|
527
493
|
height: n,
|
|
528
494
|
size: e.isHorizontal() ? t : n
|
|
@@ -530,7 +496,7 @@ function ye() {
|
|
|
530
496
|
}
|
|
531
497
|
//#endregion
|
|
532
498
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlides.js
|
|
533
|
-
function
|
|
499
|
+
function ye() {
|
|
534
500
|
let e = this;
|
|
535
501
|
function t(t) {
|
|
536
502
|
return e.isHorizontal() ? t : {
|
|
@@ -547,7 +513,7 @@ function be() {
|
|
|
547
513
|
function n(e, n) {
|
|
548
514
|
return parseFloat(e.getPropertyValue(t(n)) || 0);
|
|
549
515
|
}
|
|
550
|
-
let r = e.params, { wrapperEl: i, slidesEl: a, size: o, rtlTranslate: s, wrongRTL: c } = e, l = e.virtual && r.virtual.enabled, u = l ? e.virtual.slides.length : e.slides.length, d =
|
|
516
|
+
let r = e.params, { wrapperEl: i, slidesEl: a, size: o, rtlTranslate: s, wrongRTL: c } = e, l = e.virtual && r.virtual.enabled, u = l ? e.virtual.slides.length : e.slides.length, d = N(a, `.${e.params.slideClass}, swiper-slide`), f = l ? e.virtual.slides.length : d.length, p = [], m = [], h = [], g = r.slidesOffsetBefore;
|
|
551
517
|
typeof g == "function" && (g = r.slidesOffsetBefore.call(e));
|
|
552
518
|
let _ = r.slidesOffsetAfter;
|
|
553
519
|
typeof _ == "function" && (_ = r.slidesOffsetAfter.call(e));
|
|
@@ -555,18 +521,18 @@ function be() {
|
|
|
555
521
|
if (o === void 0) return;
|
|
556
522
|
typeof b == "string" && b.indexOf("%") >= 0 ? b = parseFloat(b.replace("%", "")) / 100 * o : typeof b == "string" && (b = parseFloat(b)), e.virtualSize = -b, d.forEach((e) => {
|
|
557
523
|
s ? e.style.marginLeft = "" : e.style.marginRight = "", e.style.marginBottom = "", e.style.marginTop = "";
|
|
558
|
-
}), r.centeredSlides && r.cssMode && (
|
|
524
|
+
}), r.centeredSlides && r.cssMode && (j(i, "--swiper-centered-offset-before", ""), j(i, "--swiper-centered-offset-after", ""));
|
|
559
525
|
let w = r.grid && r.grid.rows > 1 && e.grid;
|
|
560
526
|
w && e.grid.initSlides(f);
|
|
561
527
|
let T, E = r.slidesPerView === "auto" && r.breakpoints && Object.keys(r.breakpoints).filter((e) => r.breakpoints[e].slidesPerView !== void 0).length > 0;
|
|
562
528
|
for (let i = 0; i < f; i += 1) {
|
|
563
529
|
T = 0;
|
|
564
530
|
let a;
|
|
565
|
-
if (d[i] && (a = d[i]), w && e.grid.updateSlide(i, a, f, t), !(d[i] &&
|
|
531
|
+
if (d[i] && (a = d[i]), w && e.grid.updateSlide(i, a, f, t), !(d[i] && P(a, "display") === "none")) {
|
|
566
532
|
if (r.slidesPerView === "auto") {
|
|
567
533
|
E && (d[i].style[t("width")] = "");
|
|
568
534
|
let o = getComputedStyle(a), s = a.style.transform, c = a.style.webkitTransform;
|
|
569
|
-
if (s && (a.style.transform = "none"), c && (a.style.webkitTransform = "none"), r.roundLengths) T = e.isHorizontal() ?
|
|
535
|
+
if (s && (a.style.transform = "none"), c && (a.style.webkitTransform = "none"), r.roundLengths) T = e.isHorizontal() ? ae(a, "width", !0) : ae(a, "height", !0);
|
|
570
536
|
else {
|
|
571
537
|
let e = n(o, "width"), t = n(o, "padding-left"), r = n(o, "padding-right"), i = n(o, "margin-left"), s = n(o, "margin-right"), c = o.getPropertyValue("box-sizing");
|
|
572
538
|
if (c && c === "border-box") T = e + i + s;
|
|
@@ -629,7 +595,7 @@ function be() {
|
|
|
629
595
|
slidesGrid: m,
|
|
630
596
|
slidesSizesGrid: h
|
|
631
597
|
}), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
|
|
632
|
-
|
|
598
|
+
j(i, "--swiper-centered-offset-before", `${-p[0]}px`), j(i, "--swiper-centered-offset-after", `${e.size / 2 - h[h.length - 1] / 2}px`);
|
|
633
599
|
let t = -e.snapGrid[0], n = -e.slidesGrid[0];
|
|
634
600
|
e.snapGrid = e.snapGrid.map((e) => e + t), e.slidesGrid = e.slidesGrid.map((e) => e + n);
|
|
635
601
|
}
|
|
@@ -640,7 +606,7 @@ function be() {
|
|
|
640
606
|
}
|
|
641
607
|
//#endregion
|
|
642
608
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateAutoHeight.js
|
|
643
|
-
function
|
|
609
|
+
function be(e) {
|
|
644
610
|
let t = this, n = [], r = t.virtual && t.params.virtual.enabled, i = 0, a;
|
|
645
611
|
typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
|
|
646
612
|
let o = (e) => r ? t.slides[t.getSlideIndexByData(e)] : t.slides[e];
|
|
@@ -661,13 +627,13 @@ function xe(e) {
|
|
|
661
627
|
}
|
|
662
628
|
//#endregion
|
|
663
629
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesOffset.js
|
|
664
|
-
function
|
|
630
|
+
function xe() {
|
|
665
631
|
let e = this, t = e.slides, n = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
666
632
|
for (let r = 0; r < t.length; r += 1) t[r].swiperSlideOffset = (e.isHorizontal() ? t[r].offsetLeft : t[r].offsetTop) - n - e.cssOverflowAdjustment();
|
|
667
633
|
}
|
|
668
634
|
//#endregion
|
|
669
635
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesProgress.js
|
|
670
|
-
function
|
|
636
|
+
function Se(e = this && this.translate || 0) {
|
|
671
637
|
let t = this, n = t.params, { slides: r, rtlTranslate: i, snapGrid: a } = t;
|
|
672
638
|
if (r.length === 0) return;
|
|
673
639
|
r[0].swiperSlideOffset === void 0 && t.updateSlidesOffset();
|
|
@@ -686,7 +652,7 @@ function Ce(e = this && this.translate || 0) {
|
|
|
686
652
|
}
|
|
687
653
|
//#endregion
|
|
688
654
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateProgress.js
|
|
689
|
-
function
|
|
655
|
+
function Ce(e) {
|
|
690
656
|
let t = this;
|
|
691
657
|
if (e === void 0) {
|
|
692
658
|
let n = t.rtlTranslate ? -1 : 1;
|
|
@@ -712,8 +678,8 @@ function we(e) {
|
|
|
712
678
|
}
|
|
713
679
|
//#endregion
|
|
714
680
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateSlidesClasses.js
|
|
715
|
-
function
|
|
716
|
-
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = (e) =>
|
|
681
|
+
function we() {
|
|
682
|
+
let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = e.virtual && n.virtual.enabled, o = (e) => N(r, `.${n.slideClass}${e}, swiper-slide${e}`)[0];
|
|
717
683
|
t.forEach((e) => {
|
|
718
684
|
e.classList.remove(n.slideActiveClass, n.slideNextClass, n.slidePrevClass);
|
|
719
685
|
});
|
|
@@ -725,27 +691,27 @@ function Te() {
|
|
|
725
691
|
else s = t[i];
|
|
726
692
|
if (s) {
|
|
727
693
|
s.classList.add(n.slideActiveClass);
|
|
728
|
-
let e =
|
|
694
|
+
let e = ne(s, `.${n.slideClass}, swiper-slide`)[0];
|
|
729
695
|
n.loop && !e && (e = t[0]), e && e.classList.add(n.slideNextClass);
|
|
730
|
-
let r =
|
|
696
|
+
let r = te(s, `.${n.slideClass}, swiper-slide`)[0];
|
|
731
697
|
n.loop, r && r.classList.add(n.slidePrevClass);
|
|
732
698
|
}
|
|
733
699
|
e.emitSlidesClasses();
|
|
734
700
|
}
|
|
735
701
|
//#endregion
|
|
736
702
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/process-lazy-preloader.js
|
|
737
|
-
var
|
|
703
|
+
var F = (e, t) => {
|
|
738
704
|
if (!e || e.destroyed || !e.params) return;
|
|
739
705
|
let n = t.closest(e.isElement ? "swiper-slide" : `.${e.params.slideClass}`);
|
|
740
706
|
if (n) {
|
|
741
707
|
let t = n.querySelector(`.${e.params.lazyPreloaderClass}`);
|
|
742
708
|
t && t.remove();
|
|
743
709
|
}
|
|
744
|
-
},
|
|
710
|
+
}, Te = (e, t) => {
|
|
745
711
|
if (!e.slides[t]) return;
|
|
746
712
|
let n = e.slides[t].querySelector("[loading=\"lazy\"]");
|
|
747
713
|
n && n.removeAttribute("loading");
|
|
748
|
-
},
|
|
714
|
+
}, Ee = (e) => {
|
|
749
715
|
if (!e || e.destroyed || !e.params) return;
|
|
750
716
|
let t = e.params.lazyPreloadPrevNext, n = e.slides.length;
|
|
751
717
|
if (!n || !t || t < 0) return;
|
|
@@ -754,30 +720,30 @@ var I = (e, t) => {
|
|
|
754
720
|
if (e.params.grid && e.params.grid.rows > 1) {
|
|
755
721
|
let n = i, a = [n - t];
|
|
756
722
|
a.push(...Array.from({ length: t }).map((e, t) => n + r + t)), e.slides.forEach((t, n) => {
|
|
757
|
-
a.includes(t.column) &&
|
|
723
|
+
a.includes(t.column) && Te(e, n);
|
|
758
724
|
});
|
|
759
725
|
return;
|
|
760
726
|
}
|
|
761
727
|
let a = i + r - 1;
|
|
762
728
|
if (e.params.rewind || e.params.loop) for (let r = i - t; r <= a + t; r += 1) {
|
|
763
729
|
let t = (r % n + n) % n;
|
|
764
|
-
(t < i || t > a) &&
|
|
730
|
+
(t < i || t > a) && Te(e, t);
|
|
765
731
|
}
|
|
766
|
-
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) &&
|
|
732
|
+
else for (let r = Math.max(i - t, 0); r <= Math.min(a + t, n - 1); r += 1) r !== i && (r > a || r < i) && Te(e, r);
|
|
767
733
|
};
|
|
768
734
|
//#endregion
|
|
769
735
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateActiveIndex.js
|
|
770
|
-
function
|
|
736
|
+
function De(e) {
|
|
771
737
|
let { slidesGrid: t, params: n } = e, r = e.rtlTranslate ? e.translate : -e.translate, i;
|
|
772
738
|
for (let e = 0; e < t.length; e += 1) t[e + 1] === void 0 ? r >= t[e] && (i = e) : r >= t[e] && r < t[e + 1] - (t[e + 1] - t[e]) / 2 ? i = e : r >= t[e] && r < t[e + 1] && (i = e + 1);
|
|
773
739
|
return n.normalizeSlideIndex && (i < 0 || i === void 0) && (i = 0), i;
|
|
774
740
|
}
|
|
775
|
-
function
|
|
741
|
+
function Oe(e) {
|
|
776
742
|
let t = this, n = t.rtlTranslate ? t.translate : -t.translate, { snapGrid: r, params: i, activeIndex: a, realIndex: o, snapIndex: s } = t, c = e, l, u = (e) => {
|
|
777
743
|
let n = e - t.virtual.slidesBefore;
|
|
778
744
|
return n < 0 && (n = t.virtual.slides.length + n), n >= t.virtual.slides.length && (n -= t.virtual.slides.length), n;
|
|
779
745
|
};
|
|
780
|
-
if (c === void 0 && (c =
|
|
746
|
+
if (c === void 0 && (c = De(t)), r.indexOf(n) >= 0) l = r.indexOf(n);
|
|
781
747
|
else {
|
|
782
748
|
let e = Math.min(i.slidesPerGroupSkip, c);
|
|
783
749
|
l = e + Math.floor((c - e) / i.slidesPerGroup);
|
|
@@ -794,11 +760,11 @@ function ke(e) {
|
|
|
794
760
|
realIndex: d,
|
|
795
761
|
previousIndex: a,
|
|
796
762
|
activeIndex: c
|
|
797
|
-
}), t.initialized &&
|
|
763
|
+
}), t.initialized && Ee(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), o !== d && t.emit("realIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && t.emit("slideChange");
|
|
798
764
|
}
|
|
799
765
|
//#endregion
|
|
800
766
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/updateClickedSlide.js
|
|
801
|
-
function
|
|
767
|
+
function ke(e) {
|
|
802
768
|
let t = this, n = t.params, r = e.closest(`.${n.slideClass}, swiper-slide`), i = !1, a;
|
|
803
769
|
if (r) {
|
|
804
770
|
for (let e = 0; e < t.slides.length; e += 1) if (t.slides[e] === r) {
|
|
@@ -815,29 +781,29 @@ function Ae(e) {
|
|
|
815
781
|
}
|
|
816
782
|
//#endregion
|
|
817
783
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/update/index.js
|
|
818
|
-
var
|
|
819
|
-
updateSize:
|
|
820
|
-
updateSlides:
|
|
821
|
-
updateAutoHeight:
|
|
822
|
-
updateSlidesOffset:
|
|
823
|
-
updateSlidesProgress:
|
|
824
|
-
updateProgress:
|
|
825
|
-
updateSlidesClasses:
|
|
826
|
-
updateActiveIndex:
|
|
827
|
-
updateClickedSlide:
|
|
784
|
+
var Ae = {
|
|
785
|
+
updateSize: ve,
|
|
786
|
+
updateSlides: ye,
|
|
787
|
+
updateAutoHeight: be,
|
|
788
|
+
updateSlidesOffset: xe,
|
|
789
|
+
updateSlidesProgress: Se,
|
|
790
|
+
updateProgress: Ce,
|
|
791
|
+
updateSlidesClasses: we,
|
|
792
|
+
updateActiveIndex: Oe,
|
|
793
|
+
updateClickedSlide: ke
|
|
828
794
|
};
|
|
829
795
|
//#endregion
|
|
830
796
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/getTranslate.js
|
|
831
|
-
function
|
|
797
|
+
function je(e = this.isHorizontal() ? "x" : "y") {
|
|
832
798
|
let t = this, { params: n, rtlTranslate: r, translate: i, wrapperEl: a } = t;
|
|
833
799
|
if (n.virtualTranslate) return r ? -i : i;
|
|
834
800
|
if (n.cssMode) return i;
|
|
835
|
-
let o =
|
|
801
|
+
let o = D(a, e);
|
|
836
802
|
return o += t.cssOverflowAdjustment(), r && (o = -o), o || 0;
|
|
837
803
|
}
|
|
838
804
|
//#endregion
|
|
839
805
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/setTranslate.js
|
|
840
|
-
function
|
|
806
|
+
function Me(e, t) {
|
|
841
807
|
let n = this, { rtlTranslate: r, params: i, wrapperEl: a, progress: o } = n, s = 0, c = 0;
|
|
842
808
|
n.isHorizontal() ? s = r ? -e : e : c = e, i.roundLengths && (s = Math.floor(s), c = Math.floor(c)), n.previousTranslate = n.translate, n.translate = n.isHorizontal() ? s : c, i.cssMode ? a[n.isHorizontal() ? "scrollLeft" : "scrollTop"] = n.isHorizontal() ? -s : -c : i.virtualTranslate || (n.isHorizontal() ? s -= n.cssOverflowAdjustment() : c -= n.cssOverflowAdjustment(), a.style.transform = `translate3d(${s}px, ${c}px, 0px)`);
|
|
843
809
|
let l, u = n.maxTranslate() - n.minTranslate();
|
|
@@ -845,17 +811,17 @@ function Ne(e, t) {
|
|
|
845
811
|
}
|
|
846
812
|
//#endregion
|
|
847
813
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/minTranslate.js
|
|
848
|
-
function
|
|
814
|
+
function Ne() {
|
|
849
815
|
return -this.snapGrid[0];
|
|
850
816
|
}
|
|
851
817
|
//#endregion
|
|
852
818
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/maxTranslate.js
|
|
853
|
-
function
|
|
819
|
+
function Pe() {
|
|
854
820
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
855
821
|
}
|
|
856
822
|
//#endregion
|
|
857
823
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/translateTo.js
|
|
858
|
-
function
|
|
824
|
+
function Fe(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
859
825
|
let a = this, { params: o, wrapperEl: s } = a;
|
|
860
826
|
if (a.animating && o.preventInteractionOnTransition) return !1;
|
|
861
827
|
let c = a.minTranslate(), l = a.maxTranslate(), u;
|
|
@@ -863,7 +829,7 @@ function Ie(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
863
829
|
let e = a.isHorizontal();
|
|
864
830
|
if (t === 0) s[e ? "scrollLeft" : "scrollTop"] = -u;
|
|
865
831
|
else {
|
|
866
|
-
if (!a.support.smoothScroll) return
|
|
832
|
+
if (!a.support.smoothScroll) return M({
|
|
867
833
|
swiper: a,
|
|
868
834
|
targetPosition: -u,
|
|
869
835
|
side: e ? "left" : "top"
|
|
@@ -881,22 +847,22 @@ function Ie(e = 0, t = this.params.speed, n = !0, r = !0, i) {
|
|
|
881
847
|
}
|
|
882
848
|
//#endregion
|
|
883
849
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/translate/index.js
|
|
884
|
-
var
|
|
885
|
-
getTranslate:
|
|
886
|
-
setTranslate:
|
|
887
|
-
minTranslate:
|
|
888
|
-
maxTranslate:
|
|
889
|
-
translateTo:
|
|
850
|
+
var Ie = {
|
|
851
|
+
getTranslate: je,
|
|
852
|
+
setTranslate: Me,
|
|
853
|
+
minTranslate: Ne,
|
|
854
|
+
maxTranslate: Pe,
|
|
855
|
+
translateTo: Fe
|
|
890
856
|
};
|
|
891
857
|
//#endregion
|
|
892
858
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/setTransition.js
|
|
893
|
-
function
|
|
859
|
+
function Le(e, t) {
|
|
894
860
|
let n = this;
|
|
895
861
|
n.params.cssMode || (n.wrapperEl.style.transitionDuration = `${e}ms`), n.emit("setTransition", e, t);
|
|
896
862
|
}
|
|
897
863
|
//#endregion
|
|
898
864
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionEmit.js
|
|
899
|
-
function
|
|
865
|
+
function Re({ swiper: e, runCallbacks: t, direction: n, step: r }) {
|
|
900
866
|
let { activeIndex: i, previousIndex: a } = e, o = n;
|
|
901
867
|
if (o || (o = i > a ? "next" : i < a ? "prev" : "reset"), e.emit(`transition${r}`), t && i !== a) {
|
|
902
868
|
if (o === "reset") {
|
|
@@ -908,9 +874,9 @@ function ze({ swiper: e, runCallbacks: t, direction: n, step: r }) {
|
|
|
908
874
|
}
|
|
909
875
|
//#endregion
|
|
910
876
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionStart.js
|
|
911
|
-
function
|
|
877
|
+
function ze(e = !0, t) {
|
|
912
878
|
let n = this, { params: r } = n;
|
|
913
|
-
r.cssMode || (r.autoHeight && n.updateAutoHeight(),
|
|
879
|
+
r.cssMode || (r.autoHeight && n.updateAutoHeight(), Re({
|
|
914
880
|
swiper: n,
|
|
915
881
|
runCallbacks: e,
|
|
916
882
|
direction: t,
|
|
@@ -919,9 +885,9 @@ function Be(e = !0, t) {
|
|
|
919
885
|
}
|
|
920
886
|
//#endregion
|
|
921
887
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/transitionEnd.js
|
|
922
|
-
function
|
|
888
|
+
function Be(e = !0, t) {
|
|
923
889
|
let n = this, { params: r } = n;
|
|
924
|
-
n.animating = !1, !r.cssMode && (n.setTransition(0),
|
|
890
|
+
n.animating = !1, !r.cssMode && (n.setTransition(0), Re({
|
|
925
891
|
swiper: n,
|
|
926
892
|
runCallbacks: e,
|
|
927
893
|
direction: t,
|
|
@@ -930,14 +896,14 @@ function Ve(e = !0, t) {
|
|
|
930
896
|
}
|
|
931
897
|
//#endregion
|
|
932
898
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/transition/index.js
|
|
933
|
-
var
|
|
934
|
-
setTransition:
|
|
935
|
-
transitionStart:
|
|
936
|
-
transitionEnd:
|
|
899
|
+
var Ve = {
|
|
900
|
+
setTransition: Le,
|
|
901
|
+
transitionStart: ze,
|
|
902
|
+
transitionEnd: Be
|
|
937
903
|
};
|
|
938
904
|
//#endregion
|
|
939
905
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideTo.js
|
|
940
|
-
function
|
|
906
|
+
function He(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
941
907
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
942
908
|
let a = this, o = e;
|
|
943
909
|
o < 0 && (o = 0);
|
|
@@ -964,7 +930,7 @@ function Ue(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
|
964
930
|
a.wrapperEl.style.scrollSnapType = "", a._immediateVirtual = !1;
|
|
965
931
|
});
|
|
966
932
|
} else {
|
|
967
|
-
if (!a.support.smoothScroll) return
|
|
933
|
+
if (!a.support.smoothScroll) return M({
|
|
968
934
|
swiper: a,
|
|
969
935
|
targetPosition: n,
|
|
970
936
|
side: e ? "left" : "top"
|
|
@@ -982,14 +948,14 @@ function Ue(e = 0, t = this.params.speed, n = !0, r, i) {
|
|
|
982
948
|
}
|
|
983
949
|
//#endregion
|
|
984
950
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToLoop.js
|
|
985
|
-
function
|
|
951
|
+
function Ue(e = 0, t = this.params.speed, n = !0, r) {
|
|
986
952
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
987
953
|
let i = this, a = e;
|
|
988
954
|
return i.params.loop && (i.virtual && i.params.virtual.enabled ? a += i.virtual.slidesBefore : a = i.getSlideIndexByData(a)), i.slideTo(a, t, n, r);
|
|
989
955
|
}
|
|
990
956
|
//#endregion
|
|
991
957
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideNext.js
|
|
992
|
-
function
|
|
958
|
+
function We(e = this.params.speed, t = !0, n) {
|
|
993
959
|
let r = this, { enabled: i, params: a, animating: o } = r;
|
|
994
960
|
if (!i) return r;
|
|
995
961
|
let s = a.slidesPerGroup;
|
|
@@ -1003,7 +969,7 @@ function Ge(e = this.params.speed, t = !0, n) {
|
|
|
1003
969
|
}
|
|
1004
970
|
//#endregion
|
|
1005
971
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slidePrev.js
|
|
1006
|
-
function
|
|
972
|
+
function Ge(e = this.params.speed, t = !0, n) {
|
|
1007
973
|
let r = this, { params: i, snapGrid: a, slidesGrid: o, rtlTranslate: s, enabled: c, animating: l } = r;
|
|
1008
974
|
if (!c) return r;
|
|
1009
975
|
let u = r.virtual && i.virtual.enabled;
|
|
@@ -1031,13 +997,13 @@ function Ke(e = this.params.speed, t = !0, n) {
|
|
|
1031
997
|
}
|
|
1032
998
|
//#endregion
|
|
1033
999
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideReset.js
|
|
1034
|
-
function
|
|
1000
|
+
function Ke(e = this.params.speed, t = !0, n) {
|
|
1035
1001
|
let r = this;
|
|
1036
1002
|
return r.slideTo(r.activeIndex, e, t, n);
|
|
1037
1003
|
}
|
|
1038
1004
|
//#endregion
|
|
1039
1005
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToClosest.js
|
|
1040
|
-
function
|
|
1006
|
+
function qe(e = this.params.speed, t = !0, n, r = .5) {
|
|
1041
1007
|
let i = this, a = i.activeIndex, o = Math.min(i.params.slidesPerGroupSkip, a), s = o + Math.floor((a - o) / i.params.slidesPerGroup), c = i.rtlTranslate ? i.translate : -i.translate;
|
|
1042
1008
|
if (c >= i.snapGrid[s]) {
|
|
1043
1009
|
let e = i.snapGrid[s], t = i.snapGrid[s + 1];
|
|
@@ -1050,33 +1016,33 @@ function Je(e = this.params.speed, t = !0, n, r = .5) {
|
|
|
1050
1016
|
}
|
|
1051
1017
|
//#endregion
|
|
1052
1018
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/slideToClickedSlide.js
|
|
1053
|
-
function
|
|
1019
|
+
function Je() {
|
|
1054
1020
|
let e = this, { params: t, slidesEl: n } = e, r = t.slidesPerView === "auto" ? e.slidesPerViewDynamic() : t.slidesPerView, i = e.clickedIndex, a, o = e.isElement ? "swiper-slide" : `.${t.slideClass}`;
|
|
1055
1021
|
if (t.loop) {
|
|
1056
1022
|
if (e.animating) return;
|
|
1057
|
-
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - r / 2 || i > e.slides.length - e.loopedSlides + r / 2 ? (e.loopFix(), i = e.getSlideIndex(
|
|
1023
|
+
a = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - r / 2 || i > e.slides.length - e.loopedSlides + r / 2 ? (e.loopFix(), i = e.getSlideIndex(N(n, `${o}[data-swiper-slide-index="${a}"]`)[0]), w(() => {
|
|
1058
1024
|
e.slideTo(i);
|
|
1059
|
-
})) : e.slideTo(i) : i > e.slides.length - r ? (e.loopFix(), i = e.getSlideIndex(
|
|
1025
|
+
})) : e.slideTo(i) : i > e.slides.length - r ? (e.loopFix(), i = e.getSlideIndex(N(n, `${o}[data-swiper-slide-index="${a}"]`)[0]), w(() => {
|
|
1060
1026
|
e.slideTo(i);
|
|
1061
1027
|
})) : e.slideTo(i);
|
|
1062
1028
|
} else e.slideTo(i);
|
|
1063
1029
|
}
|
|
1064
1030
|
//#endregion
|
|
1065
1031
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/slide/index.js
|
|
1066
|
-
var
|
|
1067
|
-
slideTo:
|
|
1068
|
-
slideToLoop:
|
|
1069
|
-
slideNext:
|
|
1070
|
-
slidePrev:
|
|
1071
|
-
slideReset:
|
|
1072
|
-
slideToClosest:
|
|
1073
|
-
slideToClickedSlide:
|
|
1032
|
+
var Ye = {
|
|
1033
|
+
slideTo: He,
|
|
1034
|
+
slideToLoop: Ue,
|
|
1035
|
+
slideNext: We,
|
|
1036
|
+
slidePrev: Ge,
|
|
1037
|
+
slideReset: Ke,
|
|
1038
|
+
slideToClosest: qe,
|
|
1039
|
+
slideToClickedSlide: Je
|
|
1074
1040
|
};
|
|
1075
1041
|
//#endregion
|
|
1076
1042
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopCreate.js
|
|
1077
|
-
function
|
|
1043
|
+
function Xe(e) {
|
|
1078
1044
|
let t = this, { params: n, slidesEl: r } = t;
|
|
1079
|
-
!n.loop || t.virtual && t.params.virtual.enabled || (
|
|
1045
|
+
!n.loop || t.virtual && t.params.virtual.enabled || (N(r, `.${n.slideClass}, swiper-slide`).forEach((e, t) => {
|
|
1080
1046
|
e.setAttribute("data-swiper-slide-index", t);
|
|
1081
1047
|
}), t.loopFix({
|
|
1082
1048
|
slideRealIndex: e,
|
|
@@ -1085,7 +1051,7 @@ function Ze(e) {
|
|
|
1085
1051
|
}
|
|
1086
1052
|
//#endregion
|
|
1087
1053
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopFix.js
|
|
1088
|
-
function
|
|
1054
|
+
function Ze({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r, activeSlideIndex: i, byController: a, byMousewheel: o } = {}) {
|
|
1089
1055
|
let s = this;
|
|
1090
1056
|
if (!s.params.loop) return;
|
|
1091
1057
|
s.emit("beforeLoopFix");
|
|
@@ -1143,7 +1109,7 @@ function Qe({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: r,
|
|
|
1143
1109
|
}
|
|
1144
1110
|
//#endregion
|
|
1145
1111
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/loopDestroy.js
|
|
1146
|
-
function
|
|
1112
|
+
function Qe() {
|
|
1147
1113
|
let e = this, { params: t, slidesEl: n } = e;
|
|
1148
1114
|
if (!t.loop || e.virtual && e.params.virtual.enabled) return;
|
|
1149
1115
|
e.recalcSlides();
|
|
@@ -1159,14 +1125,14 @@ function $e() {
|
|
|
1159
1125
|
}
|
|
1160
1126
|
//#endregion
|
|
1161
1127
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/loop/index.js
|
|
1162
|
-
var
|
|
1163
|
-
loopCreate:
|
|
1164
|
-
loopFix:
|
|
1165
|
-
loopDestroy:
|
|
1128
|
+
var $e = {
|
|
1129
|
+
loopCreate: Xe,
|
|
1130
|
+
loopFix: Ze,
|
|
1131
|
+
loopDestroy: Qe
|
|
1166
1132
|
};
|
|
1167
1133
|
//#endregion
|
|
1168
1134
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/setGrabCursor.js
|
|
1169
|
-
function
|
|
1135
|
+
function et(e) {
|
|
1170
1136
|
let t = this;
|
|
1171
1137
|
if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
|
|
1172
1138
|
let n = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
|
|
@@ -1176,7 +1142,7 @@ function tt(e) {
|
|
|
1176
1142
|
}
|
|
1177
1143
|
//#endregion
|
|
1178
1144
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/unsetGrabCursor.js
|
|
1179
|
-
function
|
|
1145
|
+
function tt() {
|
|
1180
1146
|
let e = this;
|
|
1181
1147
|
e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
|
|
1182
1148
|
e.__preventObserver__ = !1;
|
|
@@ -1184,23 +1150,23 @@ function nt() {
|
|
|
1184
1150
|
}
|
|
1185
1151
|
//#endregion
|
|
1186
1152
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/grab-cursor/index.js
|
|
1187
|
-
var
|
|
1188
|
-
setGrabCursor:
|
|
1189
|
-
unsetGrabCursor:
|
|
1153
|
+
var nt = {
|
|
1154
|
+
setGrabCursor: et,
|
|
1155
|
+
unsetGrabCursor: tt
|
|
1190
1156
|
};
|
|
1191
1157
|
//#endregion
|
|
1192
1158
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchStart.js
|
|
1193
|
-
function
|
|
1159
|
+
function rt(e, t = this) {
|
|
1194
1160
|
function n(t) {
|
|
1195
|
-
if (!t || t ===
|
|
1161
|
+
if (!t || t === b() || t === S()) return null;
|
|
1196
1162
|
t.assignedSlot && (t = t.assignedSlot);
|
|
1197
1163
|
let r = t.closest(e);
|
|
1198
1164
|
return !r && !t.getRootNode ? null : r || n(t.getRootNode().host);
|
|
1199
1165
|
}
|
|
1200
1166
|
return n(t);
|
|
1201
1167
|
}
|
|
1202
|
-
function
|
|
1203
|
-
let t = this, n =
|
|
1168
|
+
function it(e) {
|
|
1169
|
+
let t = this, n = b(), r = S(), i = t.touchEventsData;
|
|
1204
1170
|
i.evCache.push(e);
|
|
1205
1171
|
let { params: a, touches: o, enabled: s } = t;
|
|
1206
1172
|
if (!s || !a.simulateTouch && e.pointerType === "mouse" || t.animating && a.preventInteractionOnTransition) return;
|
|
@@ -1212,7 +1178,7 @@ function at(e) {
|
|
|
1212
1178
|
let u = !!a.noSwipingClass && a.noSwipingClass !== "", d = e.composedPath ? e.composedPath() : e.path;
|
|
1213
1179
|
u && c.target && c.target.shadowRoot && d && (l = d[0]);
|
|
1214
1180
|
let f = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, p = !!(c.target && c.target.shadowRoot);
|
|
1215
|
-
if (a.noSwiping && (p ?
|
|
1181
|
+
if (a.noSwiping && (p ? rt(f, l) : l.closest(f))) {
|
|
1216
1182
|
t.allowClick = !0;
|
|
1217
1183
|
return;
|
|
1218
1184
|
}
|
|
@@ -1227,7 +1193,7 @@ function at(e) {
|
|
|
1227
1193
|
allowTouchCallbacks: !0,
|
|
1228
1194
|
isScrolling: void 0,
|
|
1229
1195
|
startMoving: void 0
|
|
1230
|
-
}), o.startX = m, o.startY = h, i.touchStartTime =
|
|
1196
|
+
}), o.startX = m, o.startY = h, i.touchStartTime = T(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, a.threshold > 0 && (i.allowThresholdMove = !1);
|
|
1231
1197
|
let v = !0;
|
|
1232
1198
|
l.matches(i.focusableElements) && (v = !1, l.nodeName === "SELECT" && (i.isTouched = !1)), n.activeElement && n.activeElement.matches(i.focusableElements) && n.activeElement !== l && n.activeElement.blur();
|
|
1233
1199
|
let y = v && t.allowTouchMove && a.touchStartPreventDefault;
|
|
@@ -1235,8 +1201,8 @@ function at(e) {
|
|
|
1235
1201
|
}
|
|
1236
1202
|
//#endregion
|
|
1237
1203
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchMove.js
|
|
1238
|
-
function
|
|
1239
|
-
let t =
|
|
1204
|
+
function at(e) {
|
|
1205
|
+
let t = b(), n = this, r = n.touchEventsData, { params: i, touches: a, rtlTranslate: o, enabled: s } = n;
|
|
1240
1206
|
if (!s || !i.simulateTouch && e.pointerType === "mouse") return;
|
|
1241
1207
|
let c = e;
|
|
1242
1208
|
if (c.originalEvent && (c = c.originalEvent), !r.isTouched) {
|
|
@@ -1258,7 +1224,7 @@ function ot(e) {
|
|
|
1258
1224
|
prevY: n.touches.currentY,
|
|
1259
1225
|
currentX: d,
|
|
1260
1226
|
currentY: f
|
|
1261
|
-
}), r.touchStartTime =
|
|
1227
|
+
}), r.touchStartTime = T());
|
|
1262
1228
|
return;
|
|
1263
1229
|
}
|
|
1264
1230
|
if (i.touchReleaseOnEdges && !i.loop) {
|
|
@@ -1307,16 +1273,16 @@ function ot(e) {
|
|
|
1307
1273
|
direction: n.swipeDirection,
|
|
1308
1274
|
setTranslate: !0
|
|
1309
1275
|
}), y = !0), n.emit("sliderMove", c), r.isMoved = !0, r.currentTranslate = h + r.startTranslate;
|
|
1310
|
-
let
|
|
1311
|
-
if (i.touchReleaseOnEdges && (
|
|
1276
|
+
let x = !0, S = i.resistanceRatio;
|
|
1277
|
+
if (i.touchReleaseOnEdges && (S = 0), h > 0 ? (v && !y && r.currentTranslate > (i.centeredSlides ? n.minTranslate() - n.size / 2 : n.minTranslate()) && n.loopFix({
|
|
1312
1278
|
direction: "prev",
|
|
1313
1279
|
setTranslate: !0,
|
|
1314
1280
|
activeSlideIndex: 0
|
|
1315
|
-
}), r.currentTranslate > n.minTranslate() && (
|
|
1281
|
+
}), r.currentTranslate > n.minTranslate() && (x = !1, i.resistance && (r.currentTranslate = n.minTranslate() - 1 + (-n.minTranslate() + r.startTranslate + h) ** S))) : h < 0 && (v && !y && r.currentTranslate < (i.centeredSlides ? n.maxTranslate() + n.size / 2 : n.maxTranslate()) && n.loopFix({
|
|
1316
1282
|
direction: "next",
|
|
1317
1283
|
setTranslate: !0,
|
|
1318
1284
|
activeSlideIndex: n.slides.length - (i.slidesPerView === "auto" ? n.slidesPerViewDynamic() : Math.ceil(parseFloat(i.slidesPerView, 10)))
|
|
1319
|
-
}), r.currentTranslate < n.maxTranslate() && (
|
|
1285
|
+
}), r.currentTranslate < n.maxTranslate() && (x = !1, i.resistance && (r.currentTranslate = n.maxTranslate() + 1 - (n.maxTranslate() - r.startTranslate - h) ** S))), x && (c.preventedByNestedSwiper = !0), !n.allowSlideNext && n.swipeDirection === "next" && r.currentTranslate < r.startTranslate && (r.currentTranslate = r.startTranslate), !n.allowSlidePrev && n.swipeDirection === "prev" && r.currentTranslate > r.startTranslate && (r.currentTranslate = r.startTranslate), !n.allowSlidePrev && !n.allowSlideNext && (r.currentTranslate = r.startTranslate), i.threshold > 0) if (Math.abs(h) > i.threshold || r.allowThresholdMove) {
|
|
1320
1286
|
if (!r.allowThresholdMove) {
|
|
1321
1287
|
r.allowThresholdMove = !0, a.startX = a.currentX, a.startY = a.currentY, r.currentTranslate = r.startTranslate, a.diff = n.isHorizontal() ? a.currentX - a.startX : a.currentY - a.startY;
|
|
1322
1288
|
return;
|
|
@@ -1329,7 +1295,7 @@ function ot(e) {
|
|
|
1329
1295
|
}
|
|
1330
1296
|
//#endregion
|
|
1331
1297
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onTouchEnd.js
|
|
1332
|
-
function
|
|
1298
|
+
function ot(e) {
|
|
1333
1299
|
let t = this, n = t.touchEventsData, r = n.evCache.findIndex((t) => t.pointerId === e.pointerId);
|
|
1334
1300
|
if (r >= 0 && n.evCache.splice(r, 1), [
|
|
1335
1301
|
"pointercancel",
|
|
@@ -1344,12 +1310,12 @@ function st(e) {
|
|
|
1344
1310
|
return;
|
|
1345
1311
|
}
|
|
1346
1312
|
i.grabCursor && n.isMoved && n.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
|
|
1347
|
-
let u =
|
|
1313
|
+
let u = T(), d = u - n.touchStartTime;
|
|
1348
1314
|
if (t.allowClick) {
|
|
1349
1315
|
let e = l.path || l.composedPath && l.composedPath();
|
|
1350
1316
|
t.updateClickedSlide(e && e[0] || l.target), t.emit("tap click", l), d < 300 && u - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", l);
|
|
1351
1317
|
}
|
|
1352
|
-
if (n.lastClickTime =
|
|
1318
|
+
if (n.lastClickTime = T(), w(() => {
|
|
1353
1319
|
t.destroyed || (t.allowClick = !0);
|
|
1354
1320
|
}), !n.isTouched || !n.isMoved || !t.swipeDirection || a.diff === 0 || n.currentTranslate === n.startTranslate) {
|
|
1355
1321
|
n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
|
|
@@ -1386,7 +1352,7 @@ function st(e) {
|
|
|
1386
1352
|
}
|
|
1387
1353
|
//#endregion
|
|
1388
1354
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onResize.js
|
|
1389
|
-
function
|
|
1355
|
+
function st() {
|
|
1390
1356
|
let e = this, { params: t, el: n } = e;
|
|
1391
1357
|
if (n && n.offsetWidth === 0) return;
|
|
1392
1358
|
t.breakpoints && e.setBreakpoint();
|
|
@@ -1399,13 +1365,13 @@ function ct() {
|
|
|
1399
1365
|
}
|
|
1400
1366
|
//#endregion
|
|
1401
1367
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onClick.js
|
|
1402
|
-
function
|
|
1368
|
+
function ct(e) {
|
|
1403
1369
|
let t = this;
|
|
1404
1370
|
t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
1405
1371
|
}
|
|
1406
1372
|
//#endregion
|
|
1407
1373
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onScroll.js
|
|
1408
|
-
function
|
|
1374
|
+
function lt() {
|
|
1409
1375
|
let e = this, { wrapperEl: t, rtlTranslate: n, enabled: r } = e;
|
|
1410
1376
|
if (!r) return;
|
|
1411
1377
|
e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, e.translate === 0 && (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
@@ -1414,38 +1380,38 @@ function ut() {
|
|
|
1414
1380
|
}
|
|
1415
1381
|
//#endregion
|
|
1416
1382
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/onLoad.js
|
|
1417
|
-
function
|
|
1383
|
+
function ut(e) {
|
|
1418
1384
|
let t = this;
|
|
1419
|
-
|
|
1385
|
+
F(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
|
|
1420
1386
|
}
|
|
1421
1387
|
//#endregion
|
|
1422
1388
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/events/index.js
|
|
1423
|
-
var
|
|
1424
|
-
function
|
|
1425
|
-
var
|
|
1426
|
-
let n =
|
|
1389
|
+
var dt = !1;
|
|
1390
|
+
function ft() {}
|
|
1391
|
+
var pt = (e, t) => {
|
|
1392
|
+
let n = b(), { params: r, el: i, wrapperEl: a, device: o } = e, s = !!r.nested, c = t === "on" ? "addEventListener" : "removeEventListener", l = t;
|
|
1427
1393
|
i[c]("pointerdown", e.onTouchStart, { passive: !1 }), n[c]("pointermove", e.onTouchMove, {
|
|
1428
1394
|
passive: !1,
|
|
1429
1395
|
capture: s
|
|
1430
|
-
}), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), (r.preventClicks || r.preventClicksPropagation) && i[c]("click", e.onClick, !0), r.cssMode && a[c]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate",
|
|
1396
|
+
}), n[c]("pointerup", e.onTouchEnd, { passive: !0 }), n[c]("pointercancel", e.onTouchEnd, { passive: !0 }), n[c]("pointerout", e.onTouchEnd, { passive: !0 }), n[c]("pointerleave", e.onTouchEnd, { passive: !0 }), (r.preventClicks || r.preventClicksPropagation) && i[c]("click", e.onClick, !0), r.cssMode && a[c]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", st, !0) : e[l]("observerUpdate", st, !0), i[c]("load", e.onLoad, { capture: !0 });
|
|
1431
1397
|
};
|
|
1432
|
-
function
|
|
1433
|
-
let e = this, t =
|
|
1434
|
-
e.onTouchStart =
|
|
1398
|
+
function mt() {
|
|
1399
|
+
let e = this, t = b(), { params: n } = e;
|
|
1400
|
+
e.onTouchStart = it.bind(e), e.onTouchMove = at.bind(e), e.onTouchEnd = ot.bind(e), n.cssMode && (e.onScroll = lt.bind(e)), e.onClick = ct.bind(e), e.onLoad = ut.bind(e), dt || (t.addEventListener("touchstart", ft), dt = !0), pt(e, "on");
|
|
1435
1401
|
}
|
|
1436
|
-
function
|
|
1437
|
-
|
|
1402
|
+
function ht() {
|
|
1403
|
+
pt(this, "off");
|
|
1438
1404
|
}
|
|
1439
|
-
var
|
|
1440
|
-
attachEvents:
|
|
1441
|
-
detachEvents:
|
|
1442
|
-
},
|
|
1443
|
-
function
|
|
1405
|
+
var gt = {
|
|
1406
|
+
attachEvents: mt,
|
|
1407
|
+
detachEvents: ht
|
|
1408
|
+
}, _t = (e, t) => e.grid && t.grid && t.grid.rows > 1;
|
|
1409
|
+
function vt() {
|
|
1444
1410
|
let e = this, { realIndex: t, initialized: n, params: r, el: i } = e, a = r.breakpoints;
|
|
1445
1411
|
if (!a || a && Object.keys(a).length === 0) return;
|
|
1446
1412
|
let o = e.getBreakpoint(a, e.params.breakpointsBase, e.el);
|
|
1447
1413
|
if (!o || e.currentBreakpoint === o) return;
|
|
1448
|
-
let s = (o in a ? a[o] : void 0) || e.originalParams, c =
|
|
1414
|
+
let s = (o in a ? a[o] : void 0) || e.originalParams, c = _t(e, r), l = _t(e, s), u = r.enabled;
|
|
1449
1415
|
c && !l ? (i.classList.remove(`${r.containerModifierClass}grid`, `${r.containerModifierClass}grid-column`), e.emitContainerClasses()) : !c && l && (i.classList.add(`${r.containerModifierClass}grid`), (s.grid.fill && s.grid.fill === "column" || !s.grid.fill && r.grid.fill === "column") && i.classList.add(`${r.containerModifierClass}grid-column`), e.emitContainerClasses()), [
|
|
1450
1416
|
"navigation",
|
|
1451
1417
|
"pagination",
|
|
@@ -1456,7 +1422,7 @@ function yt() {
|
|
|
1456
1422
|
n && !i && e[t].disable(), !n && i && e[t].enable();
|
|
1457
1423
|
});
|
|
1458
1424
|
let d = s.direction && s.direction !== r.direction, f = r.loop && (s.slidesPerView !== r.slidesPerView || d);
|
|
1459
|
-
d && n && e.changeDirection(),
|
|
1425
|
+
d && n && e.changeDirection(), A(e.params, s);
|
|
1460
1426
|
let p = e.params.enabled;
|
|
1461
1427
|
Object.assign(e, {
|
|
1462
1428
|
allowTouchMove: e.params.allowTouchMove,
|
|
@@ -1466,9 +1432,9 @@ function yt() {
|
|
|
1466
1432
|
}
|
|
1467
1433
|
//#endregion
|
|
1468
1434
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/breakpoints/getBreakpoint.js
|
|
1469
|
-
function
|
|
1435
|
+
function yt(e, t = "window", n) {
|
|
1470
1436
|
if (!e || t === "container" && !n) return;
|
|
1471
|
-
let r = !1, i =
|
|
1437
|
+
let r = !1, i = S(), a = t === "window" ? i.innerHeight : n.clientHeight, o = Object.keys(e).map((e) => typeof e == "string" && e.indexOf("@") === 0 ? {
|
|
1472
1438
|
value: a * parseFloat(e.substr(1)),
|
|
1473
1439
|
point: e
|
|
1474
1440
|
} : {
|
|
@@ -1484,13 +1450,13 @@ function bt(e, t = "window", n) {
|
|
|
1484
1450
|
}
|
|
1485
1451
|
//#endregion
|
|
1486
1452
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/breakpoints/index.js
|
|
1487
|
-
var
|
|
1488
|
-
setBreakpoint:
|
|
1489
|
-
getBreakpoint:
|
|
1453
|
+
var bt = {
|
|
1454
|
+
setBreakpoint: vt,
|
|
1455
|
+
getBreakpoint: yt
|
|
1490
1456
|
};
|
|
1491
1457
|
//#endregion
|
|
1492
1458
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/addClasses.js
|
|
1493
|
-
function
|
|
1459
|
+
function xt(e, t) {
|
|
1494
1460
|
let n = [];
|
|
1495
1461
|
return e.forEach((e) => {
|
|
1496
1462
|
typeof e == "object" ? Object.keys(e).forEach((r) => {
|
|
@@ -1498,8 +1464,8 @@ function St(e, t) {
|
|
|
1498
1464
|
}) : typeof e == "string" && n.push(t + e);
|
|
1499
1465
|
}), n;
|
|
1500
1466
|
}
|
|
1501
|
-
function
|
|
1502
|
-
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o =
|
|
1467
|
+
function St() {
|
|
1468
|
+
let e = this, { classNames: t, params: n, rtl: r, el: i, device: a } = e, o = xt([
|
|
1503
1469
|
"initialized",
|
|
1504
1470
|
n.direction,
|
|
1505
1471
|
{ "free-mode": e.params.freeMode && n.freeMode.enabled },
|
|
@@ -1517,19 +1483,19 @@ function Ct() {
|
|
|
1517
1483
|
}
|
|
1518
1484
|
//#endregion
|
|
1519
1485
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/removeClasses.js
|
|
1520
|
-
function
|
|
1486
|
+
function Ct() {
|
|
1521
1487
|
let e = this, { el: t, classNames: n } = e;
|
|
1522
1488
|
t.classList.remove(...n), e.emitContainerClasses();
|
|
1523
1489
|
}
|
|
1524
1490
|
//#endregion
|
|
1525
1491
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/classes/index.js
|
|
1526
|
-
var
|
|
1527
|
-
addClasses:
|
|
1528
|
-
removeClasses:
|
|
1492
|
+
var wt = {
|
|
1493
|
+
addClasses: St,
|
|
1494
|
+
removeClasses: Ct
|
|
1529
1495
|
};
|
|
1530
1496
|
//#endregion
|
|
1531
1497
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/check-overflow/index.js
|
|
1532
|
-
function
|
|
1498
|
+
function Tt() {
|
|
1533
1499
|
let e = this, { isLocked: t, params: n } = e, { slidesOffsetBefore: r } = n;
|
|
1534
1500
|
if (r) {
|
|
1535
1501
|
let t = e.slides.length - 1, n = e.slidesGrid[t] + e.slidesSizesGrid[t] + r * 2;
|
|
@@ -1537,7 +1503,7 @@ function Et() {
|
|
|
1537
1503
|
} else e.isLocked = e.snapGrid.length === 1;
|
|
1538
1504
|
n.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), n.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
1539
1505
|
}
|
|
1540
|
-
var
|
|
1506
|
+
var Et = { checkOverflow: Tt }, Dt = {
|
|
1541
1507
|
init: !0,
|
|
1542
1508
|
direction: "horizontal",
|
|
1543
1509
|
oneWayMovement: !1,
|
|
@@ -1625,11 +1591,11 @@ var Dt = { checkOverflow: Et }, Ot = {
|
|
|
1625
1591
|
};
|
|
1626
1592
|
//#endregion
|
|
1627
1593
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/moduleExtendParams.js
|
|
1628
|
-
function
|
|
1594
|
+
function Ot(e, t) {
|
|
1629
1595
|
return function(n = {}) {
|
|
1630
1596
|
let r = Object.keys(n)[0], i = n[r];
|
|
1631
1597
|
if (typeof i != "object" || !i) {
|
|
1632
|
-
|
|
1598
|
+
A(t, n);
|
|
1633
1599
|
return;
|
|
1634
1600
|
}
|
|
1635
1601
|
if ([
|
|
@@ -1637,52 +1603,52 @@ function kt(e, t) {
|
|
|
1637
1603
|
"pagination",
|
|
1638
1604
|
"scrollbar"
|
|
1639
1605
|
].indexOf(r) >= 0 && e[r] === !0 && (e[r] = { auto: !0 }), !(r in e && "enabled" in i)) {
|
|
1640
|
-
|
|
1606
|
+
A(t, n);
|
|
1641
1607
|
return;
|
|
1642
1608
|
}
|
|
1643
|
-
e[r] === !0 && (e[r] = { enabled: !0 }), typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }),
|
|
1609
|
+
e[r] === !0 && (e[r] = { enabled: !0 }), typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), A(t, n);
|
|
1644
1610
|
};
|
|
1645
1611
|
}
|
|
1646
1612
|
//#endregion
|
|
1647
1613
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/core/core.js
|
|
1648
|
-
var
|
|
1649
|
-
eventsEmitter:
|
|
1650
|
-
update:
|
|
1651
|
-
translate:
|
|
1652
|
-
transition:
|
|
1653
|
-
slide:
|
|
1654
|
-
loop:
|
|
1655
|
-
grabCursor:
|
|
1656
|
-
events:
|
|
1657
|
-
breakpoints:
|
|
1658
|
-
checkOverflow:
|
|
1659
|
-
classes:
|
|
1660
|
-
},
|
|
1614
|
+
var kt = {
|
|
1615
|
+
eventsEmitter: _e,
|
|
1616
|
+
update: Ae,
|
|
1617
|
+
translate: Ie,
|
|
1618
|
+
transition: Ve,
|
|
1619
|
+
slide: Ye,
|
|
1620
|
+
loop: $e,
|
|
1621
|
+
grabCursor: nt,
|
|
1622
|
+
events: gt,
|
|
1623
|
+
breakpoints: bt,
|
|
1624
|
+
checkOverflow: Et,
|
|
1625
|
+
classes: wt
|
|
1626
|
+
}, At = {}, I = class e {
|
|
1661
1627
|
constructor(...t) {
|
|
1662
1628
|
let n, r;
|
|
1663
|
-
t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r =
|
|
1664
|
-
let i =
|
|
1629
|
+
t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r = A({}, r), n && !r.el && (r.el = n);
|
|
1630
|
+
let i = b();
|
|
1665
1631
|
if (r.el && typeof r.el == "string" && i.querySelectorAll(r.el).length > 1) {
|
|
1666
1632
|
let t = [];
|
|
1667
1633
|
return i.querySelectorAll(r.el).forEach((n) => {
|
|
1668
|
-
let i =
|
|
1634
|
+
let i = A({}, r, { el: n });
|
|
1669
1635
|
t.push(new e(i));
|
|
1670
1636
|
}), t;
|
|
1671
1637
|
}
|
|
1672
1638
|
let a = this;
|
|
1673
|
-
a.__swiper__ = !0, a.support =
|
|
1639
|
+
a.__swiper__ = !0, a.support = ce(), a.device = de({ userAgent: r.userAgent }), a.browser = me(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && a.modules.push(...r.modules);
|
|
1674
1640
|
let o = {};
|
|
1675
1641
|
return a.modules.forEach((e) => {
|
|
1676
1642
|
e({
|
|
1677
1643
|
params: r,
|
|
1678
1644
|
swiper: a,
|
|
1679
|
-
extendParams:
|
|
1645
|
+
extendParams: Ot(r, o),
|
|
1680
1646
|
on: a.on.bind(a),
|
|
1681
1647
|
once: a.once.bind(a),
|
|
1682
1648
|
off: a.off.bind(a),
|
|
1683
1649
|
emit: a.emit.bind(a)
|
|
1684
1650
|
});
|
|
1685
|
-
}), a.params =
|
|
1651
|
+
}), a.params = A({}, A({}, Dt, o), At, r), a.originalParams = A({}, a.params), a.passedParams = A({}, r), a.params && a.params.on && Object.keys(a.params.on).forEach((e) => {
|
|
1686
1652
|
a.on(e, a.params.on[e]);
|
|
1687
1653
|
}), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
|
|
1688
1654
|
enabled: a.params.enabled,
|
|
@@ -1743,15 +1709,15 @@ var At = {
|
|
|
1743
1709
|
}), a.emit("_swiper"), a.params.init && a.init(), a;
|
|
1744
1710
|
}
|
|
1745
1711
|
getSlideIndex(e) {
|
|
1746
|
-
let { slidesEl: t, params: n } = this, r =
|
|
1747
|
-
return
|
|
1712
|
+
let { slidesEl: t, params: n } = this, r = re(N(t, `.${n.slideClass}, swiper-slide`)[0]);
|
|
1713
|
+
return re(e) - r;
|
|
1748
1714
|
}
|
|
1749
1715
|
getSlideIndexByData(e) {
|
|
1750
1716
|
return this.getSlideIndex(this.slides.filter((t) => t.getAttribute("data-swiper-slide-index") * 1 === e)[0]);
|
|
1751
1717
|
}
|
|
1752
1718
|
recalcSlides() {
|
|
1753
1719
|
let e = this, { slidesEl: t, params: n } = e;
|
|
1754
|
-
e.slides =
|
|
1720
|
+
e.slides = N(t, `.${n.slideClass}, swiper-slide`);
|
|
1755
1721
|
}
|
|
1756
1722
|
enable() {
|
|
1757
1723
|
let e = this;
|
|
@@ -1804,7 +1770,7 @@ var At = {
|
|
|
1804
1770
|
if (!e || e.destroyed) return;
|
|
1805
1771
|
let { snapGrid: t, params: n } = e;
|
|
1806
1772
|
n.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll("[loading=\"lazy\"]")].forEach((t) => {
|
|
1807
|
-
t.complete &&
|
|
1773
|
+
t.complete && F(e, t);
|
|
1808
1774
|
}), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
|
|
1809
1775
|
function r() {
|
|
1810
1776
|
let t = e.rtlTranslate ? e.translate * -1 : e.translate, n = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate());
|
|
@@ -1837,26 +1803,26 @@ var At = {
|
|
|
1837
1803
|
let n = e || t.params.el;
|
|
1838
1804
|
if (typeof n == "string" && (n = document.querySelector(n)), !n) return !1;
|
|
1839
1805
|
n.swiper = t, n.shadowEl && (t.isElement = !0);
|
|
1840
|
-
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) :
|
|
1841
|
-
return !i && t.params.createElements && (i =
|
|
1806
|
+
let r = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, i = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(r()) : N(n, r())[0];
|
|
1807
|
+
return !i && t.params.createElements && (i = ee("div", t.params.wrapperClass), n.append(i), N(n, `.${t.params.slideClass}`).forEach((e) => {
|
|
1842
1808
|
i.append(e);
|
|
1843
1809
|
})), Object.assign(t, {
|
|
1844
1810
|
el: n,
|
|
1845
1811
|
wrapperEl: i,
|
|
1846
1812
|
slidesEl: t.isElement ? n : i,
|
|
1847
1813
|
mounted: !0,
|
|
1848
|
-
rtl: n.dir.toLowerCase() === "rtl" ||
|
|
1849
|
-
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" ||
|
|
1850
|
-
wrongRTL:
|
|
1814
|
+
rtl: n.dir.toLowerCase() === "rtl" || P(n, "direction") === "rtl",
|
|
1815
|
+
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || P(n, "direction") === "rtl"),
|
|
1816
|
+
wrongRTL: P(i, "display") === "-webkit-box"
|
|
1851
1817
|
}), !0;
|
|
1852
1818
|
}
|
|
1853
1819
|
init(e) {
|
|
1854
1820
|
let t = this;
|
|
1855
1821
|
return t.initialized || t.mount(e) === !1 ? t : (t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.loop && t.virtual && t.params.virtual.enabled ? t.slideTo(t.params.initialSlide + t.virtual.slidesBefore, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.params.loop && t.loopCreate(), t.attachEvents(), [...t.el.querySelectorAll("[loading=\"lazy\"]")].forEach((e) => {
|
|
1856
|
-
e.complete ?
|
|
1857
|
-
|
|
1822
|
+
e.complete ? F(t, e) : e.addEventListener("load", (e) => {
|
|
1823
|
+
F(t, e.target);
|
|
1858
1824
|
});
|
|
1859
|
-
}),
|
|
1825
|
+
}), Ee(t), t.initialized = !0, Ee(t), t.emit("init"), t.emit("afterInit"), t);
|
|
1860
1826
|
}
|
|
1861
1827
|
destroy(e = !0, t = !0) {
|
|
1862
1828
|
let n = this, { params: r, el: i, wrapperEl: a, slides: o } = n;
|
|
@@ -1864,16 +1830,16 @@ var At = {
|
|
|
1864
1830
|
e.classList.remove(r.slideVisibleClass, r.slideActiveClass, r.slideNextClass, r.slidePrevClass), e.removeAttribute("style"), e.removeAttribute("data-swiper-slide-index");
|
|
1865
1831
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((e) => {
|
|
1866
1832
|
n.off(e);
|
|
1867
|
-
}), e !== !1 && (n.el.swiper = null,
|
|
1833
|
+
}), e !== !1 && (n.el.swiper = null, C(n)), n.destroyed = !0, null);
|
|
1868
1834
|
}
|
|
1869
1835
|
static extendDefaults(e) {
|
|
1870
|
-
|
|
1836
|
+
A(At, e);
|
|
1871
1837
|
}
|
|
1872
1838
|
static get extendedDefaults() {
|
|
1873
|
-
return
|
|
1839
|
+
return At;
|
|
1874
1840
|
}
|
|
1875
1841
|
static get defaults() {
|
|
1876
|
-
return
|
|
1842
|
+
return Dt;
|
|
1877
1843
|
}
|
|
1878
1844
|
static installModule(t) {
|
|
1879
1845
|
e.prototype.__modules__ || (e.prototype.__modules__ = []);
|
|
@@ -1884,24 +1850,24 @@ var At = {
|
|
|
1884
1850
|
return Array.isArray(t) ? (t.forEach((t) => e.installModule(t)), e) : (e.installModule(t), e);
|
|
1885
1851
|
}
|
|
1886
1852
|
};
|
|
1887
|
-
Object.keys(
|
|
1888
|
-
Object.keys(
|
|
1889
|
-
|
|
1853
|
+
Object.keys(kt).forEach((e) => {
|
|
1854
|
+
Object.keys(kt[e]).forEach((t) => {
|
|
1855
|
+
I.prototype[t] = kt[e][t];
|
|
1890
1856
|
});
|
|
1891
|
-
}),
|
|
1857
|
+
}), I.use([he, ge]);
|
|
1892
1858
|
//#endregion
|
|
1893
1859
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/shared/create-element-if-not-defined.js
|
|
1894
|
-
function
|
|
1860
|
+
function jt(e, t, n, r) {
|
|
1895
1861
|
return e.params.createElements && Object.keys(r).forEach((i) => {
|
|
1896
1862
|
if (!n[i] && n.auto === !0) {
|
|
1897
|
-
let a =
|
|
1898
|
-
a || (a =
|
|
1863
|
+
let a = N(e.el, `.${r[i]}`)[0];
|
|
1864
|
+
a || (a = ee("div", r[i]), a.className = r[i], e.el.append(a)), n[i] = a, t[i] = a;
|
|
1899
1865
|
}
|
|
1900
1866
|
}), n;
|
|
1901
1867
|
}
|
|
1902
1868
|
//#endregion
|
|
1903
1869
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/modules/navigation/navigation.js
|
|
1904
|
-
function
|
|
1870
|
+
function Mt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
1905
1871
|
t({ navigation: {
|
|
1906
1872
|
nextEl: null,
|
|
1907
1873
|
prevEl: null,
|
|
@@ -1941,7 +1907,7 @@ function Nt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
1941
1907
|
}
|
|
1942
1908
|
function u() {
|
|
1943
1909
|
let t = e.params.navigation;
|
|
1944
|
-
if (e.params.navigation =
|
|
1910
|
+
if (e.params.navigation = jt(e, e.originalParams.navigation, e.params.navigation, {
|
|
1945
1911
|
nextEl: "swiper-button-next",
|
|
1946
1912
|
prevEl: "swiper-button-prev"
|
|
1947
1913
|
}), !(t.nextEl || t.prevEl)) return;
|
|
@@ -1997,48 +1963,48 @@ function Nt({ swiper: e, extendParams: t, on: n, emit: r }) {
|
|
|
1997
1963
|
}
|
|
1998
1964
|
//#endregion
|
|
1999
1965
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/utils.js
|
|
2000
|
-
function
|
|
1966
|
+
function L(e) {
|
|
2001
1967
|
return typeof e == "object" && !!e && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
2002
1968
|
}
|
|
2003
|
-
function
|
|
1969
|
+
function R(e, t) {
|
|
2004
1970
|
let n = [
|
|
2005
1971
|
"__proto__",
|
|
2006
1972
|
"constructor",
|
|
2007
1973
|
"prototype"
|
|
2008
1974
|
];
|
|
2009
1975
|
Object.keys(t).filter((e) => n.indexOf(e) < 0).forEach((n) => {
|
|
2010
|
-
e[n] === void 0 ? e[n] = t[n] :
|
|
1976
|
+
e[n] === void 0 ? e[n] = t[n] : L(t[n]) && L(e[n]) && Object.keys(t[n]).length > 0 ? t[n].__swiper__ ? e[n] = t[n] : R(e[n], t[n]) : e[n] = t[n];
|
|
2011
1977
|
});
|
|
2012
1978
|
}
|
|
2013
|
-
function
|
|
1979
|
+
function Nt(e = {}) {
|
|
2014
1980
|
return e.navigation && e.navigation.nextEl === void 0 && e.navigation.prevEl === void 0;
|
|
2015
1981
|
}
|
|
2016
|
-
function
|
|
1982
|
+
function Pt(e = {}) {
|
|
2017
1983
|
return e.pagination && e.pagination.el === void 0;
|
|
2018
1984
|
}
|
|
2019
|
-
function
|
|
1985
|
+
function Ft(e = {}) {
|
|
2020
1986
|
return e.scrollbar && e.scrollbar.el === void 0;
|
|
2021
1987
|
}
|
|
2022
|
-
function
|
|
1988
|
+
function It(e = "") {
|
|
2023
1989
|
let t = e.split(" ").map((e) => e.trim()).filter((e) => !!e), n = [];
|
|
2024
1990
|
return t.forEach((e) => {
|
|
2025
1991
|
n.indexOf(e) < 0 && n.push(e);
|
|
2026
1992
|
}), n.join(" ");
|
|
2027
1993
|
}
|
|
2028
|
-
function
|
|
1994
|
+
function Lt(e = "") {
|
|
2029
1995
|
return e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
|
|
2030
1996
|
}
|
|
2031
1997
|
//#endregion
|
|
2032
1998
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/params-list.js
|
|
2033
|
-
var
|
|
1999
|
+
var Rt = /* @__PURE__ */ "eventsPrefix.injectStyles.injectStylesUrls.modules.init._direction.oneWayMovement.touchEventsTarget.initialSlide._speed.cssMode.updateOnWindowResize.resizeObserver.nested.focusableElements._enabled._width._height.preventInteractionOnTransition.userAgent.url._edgeSwipeDetection._edgeSwipeThreshold._freeMode._autoHeight.setWrapperSize.virtualTranslate._effect.breakpoints._spaceBetween._slidesPerView.maxBackfaceHiddenSlides._grid._slidesPerGroup._slidesPerGroupSkip._slidesPerGroupAuto._centeredSlides._centeredSlidesBounds._slidesOffsetBefore._slidesOffsetAfter.normalizeSlideIndex._centerInsufficientSlides._watchOverflow.roundLengths.touchRatio.touchAngle.simulateTouch._shortSwipes._longSwipes.longSwipesRatio.longSwipesMs._followFinger.allowTouchMove._threshold.touchMoveStopPropagation.touchStartPreventDefault.touchStartForcePreventDefault.touchReleaseOnEdges.uniqueNavElements._resistance._resistanceRatio._watchSlidesProgress._grabCursor.preventClicks.preventClicksPropagation._slideToClickedSlide._loop.loopedSlides.loopPreventsSliding._rewind._allowSlidePrev._allowSlideNext._swipeHandler._noSwiping.noSwipingClass.noSwipingSelector.passiveListeners.containerModifierClass.slideClass.slideActiveClass.slideVisibleClass.slideNextClass.slidePrevClass.wrapperClass.lazyPreloaderClass.lazyPreloadPrevNext.runCallbacksOnInit.observer.observeParents.observeSlideChildren.a11y._autoplay._controller.coverflowEffect.cubeEffect.fadeEffect.flipEffect.creativeEffect.cardsEffect.hashNavigation.history.keyboard.mousewheel._navigation._pagination.parallax._scrollbar._thumbs.virtual.zoom.control".split(".");
|
|
2034
2000
|
//#endregion
|
|
2035
2001
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/get-params.js
|
|
2036
|
-
function
|
|
2002
|
+
function zt(e = {}, t = !0) {
|
|
2037
2003
|
let n = { on: {} }, r = {}, i = {};
|
|
2038
|
-
|
|
2039
|
-
let a = {}, o =
|
|
2004
|
+
R(n, I.defaults), R(n, I.extendedDefaults), n._emitClasses = !0, n.init = !1;
|
|
2005
|
+
let a = {}, o = Rt.map((e) => e.replace(/_/, "")), s = Object.assign({}, e);
|
|
2040
2006
|
return Object.keys(s).forEach((s) => {
|
|
2041
|
-
e[s] !== void 0 && (o.indexOf(s) >= 0 ?
|
|
2007
|
+
e[s] !== void 0 && (o.indexOf(s) >= 0 ? L(e[s]) ? (n[s] = {}, i[s] = {}, R(n[s], e[s]), R(i[s], e[s])) : (n[s] = e[s], i[s] = e[s]) : s.search(/on[A-Z]/) === 0 && typeof e[s] == "function" ? t ? r[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : n.on[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : a[s] = e[s]);
|
|
2042
2008
|
}), [
|
|
2043
2009
|
"navigation",
|
|
2044
2010
|
"pagination",
|
|
@@ -2054,12 +2020,12 @@ function Bt(e = {}, t = !0) {
|
|
|
2054
2020
|
}
|
|
2055
2021
|
//#endregion
|
|
2056
2022
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/mount-swiper.js
|
|
2057
|
-
function
|
|
2058
|
-
|
|
2023
|
+
function Bt({ el: e, nextEl: t, prevEl: n, paginationEl: r, scrollbarEl: i, swiper: a }, o) {
|
|
2024
|
+
Nt(o) && t && n && (a.params.navigation.nextEl = t, a.originalParams.navigation.nextEl = t, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), Pt(o) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), Ft(o) && i && (a.params.scrollbar.el = i, a.originalParams.scrollbar.el = i), a.init(e);
|
|
2059
2025
|
}
|
|
2060
2026
|
//#endregion
|
|
2061
2027
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/get-changed-params.js
|
|
2062
|
-
function
|
|
2028
|
+
function Vt(e, t, n, r, i) {
|
|
2063
2029
|
let a = [];
|
|
2064
2030
|
if (!t) return a;
|
|
2065
2031
|
let o = (e) => {
|
|
@@ -2069,8 +2035,8 @@ function Ht(e, t, n, r, i) {
|
|
|
2069
2035
|
let e = r.map(i), t = n.map(i);
|
|
2070
2036
|
e.join("") !== t.join("") && o("children"), r.length !== n.length && o("children");
|
|
2071
2037
|
}
|
|
2072
|
-
return
|
|
2073
|
-
if (n in e && n in t) if (
|
|
2038
|
+
return Rt.filter((e) => e[0] === "_").map((e) => e.replace(/_/, "")).forEach((n) => {
|
|
2039
|
+
if (n in e && n in t) if (L(e[n]) && L(t[n])) {
|
|
2074
2040
|
let r = Object.keys(e[n]), i = Object.keys(t[n]);
|
|
2075
2041
|
r.length === i.length ? (r.forEach((r) => {
|
|
2076
2042
|
e[n][r] !== t[n][r] && o(n);
|
|
@@ -2082,27 +2048,27 @@ function Ht(e, t, n, r, i) {
|
|
|
2082
2048
|
}
|
|
2083
2049
|
//#endregion
|
|
2084
2050
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/get-children.js
|
|
2085
|
-
function
|
|
2051
|
+
function Ht(e) {
|
|
2086
2052
|
return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
|
|
2087
2053
|
}
|
|
2088
|
-
function
|
|
2054
|
+
function Ut(e) {
|
|
2089
2055
|
let t = [];
|
|
2090
|
-
return
|
|
2091
|
-
|
|
2056
|
+
return u.Children.toArray(e).forEach((e) => {
|
|
2057
|
+
Ht(e) ? t.push(e) : e.props && e.props.children && Ut(e.props.children).forEach((e) => t.push(e));
|
|
2092
2058
|
}), t;
|
|
2093
2059
|
}
|
|
2094
|
-
function
|
|
2060
|
+
function Wt(e) {
|
|
2095
2061
|
let t = [], n = {
|
|
2096
2062
|
"container-start": [],
|
|
2097
2063
|
"container-end": [],
|
|
2098
2064
|
"wrapper-start": [],
|
|
2099
2065
|
"wrapper-end": []
|
|
2100
2066
|
};
|
|
2101
|
-
return
|
|
2102
|
-
if (
|
|
2067
|
+
return u.Children.toArray(e).forEach((e) => {
|
|
2068
|
+
if (Ht(e)) t.push(e);
|
|
2103
2069
|
else if (e.props && e.props.slot && n[e.props.slot]) n[e.props.slot].push(e);
|
|
2104
2070
|
else if (e.props && e.props.children) {
|
|
2105
|
-
let r =
|
|
2071
|
+
let r = Ut(e.props.children);
|
|
2106
2072
|
r.length > 0 ? r.forEach((e) => t.push(e)) : n["container-end"].push(e);
|
|
2107
2073
|
} else n["container-end"].push(e);
|
|
2108
2074
|
}), {
|
|
@@ -2112,14 +2078,14 @@ function Gt(e) {
|
|
|
2112
2078
|
}
|
|
2113
2079
|
//#endregion
|
|
2114
2080
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/update-swiper.js
|
|
2115
|
-
function
|
|
2081
|
+
function Gt({ swiper: e, slides: t, passedParams: n, changedParams: r, nextEl: i, prevEl: a, scrollbarEl: o, paginationEl: s }) {
|
|
2116
2082
|
let c = r.filter((e) => e !== "children" && e !== "direction" && e !== "wrapperClass"), { params: l, pagination: u, navigation: d, scrollbar: f, virtual: p, thumbs: m } = e, h, g, _, v, y, b, x, S;
|
|
2117
2083
|
r.includes("thumbs") && n.thumbs && n.thumbs.swiper && l.thumbs && !l.thumbs.swiper && (h = !0), r.includes("controller") && n.controller && n.controller.control && l.controller && !l.controller.control && (g = !0), r.includes("pagination") && n.pagination && (n.pagination.el || s) && (l.pagination || l.pagination === !1) && u && !u.el && (_ = !0), r.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || o) && (l.scrollbar || l.scrollbar === !1) && f && !f.el && (v = !0), r.includes("navigation") && n.navigation && (n.navigation.prevEl || a) && (n.navigation.nextEl || i) && (l.navigation || l.navigation === !1) && d && !d.prevEl && !d.nextEl && (y = !0);
|
|
2118
2084
|
let C = (t) => {
|
|
2119
2085
|
e[t] && (e[t].destroy(), t === "navigation" ? (e.isElement && (e[t].prevEl.remove(), e[t].nextEl.remove()), l[t].prevEl = void 0, l[t].nextEl = void 0, e[t].prevEl = void 0, e[t].nextEl = void 0) : (e.isElement && e[t].el.remove(), l[t].el = void 0, e[t].el = void 0));
|
|
2120
2086
|
};
|
|
2121
2087
|
r.includes("loop") && e.isElement && (l.loop && !n.loop ? b = !0 : !l.loop && n.loop ? x = !0 : S = !0), c.forEach((e) => {
|
|
2122
|
-
if (
|
|
2088
|
+
if (L(l[e]) && L(n[e])) R(l[e], n[e]), (e === "navigation" || e === "pagination" || e === "scrollbar") && "enabled" in n[e] && !n[e].enabled && C(e);
|
|
2123
2089
|
else {
|
|
2124
2090
|
let t = n[e];
|
|
2125
2091
|
(t === !0 || t === !1) && (e === "navigation" || e === "pagination" || e === "scrollbar") ? t === !1 && C(e) : l[e] = n[e];
|
|
@@ -2128,14 +2094,14 @@ function Kt({ swiper: e, slides: t, passedParams: n, changedParams: r, nextEl: i
|
|
|
2128
2094
|
}
|
|
2129
2095
|
//#endregion
|
|
2130
2096
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/virtual.js
|
|
2131
|
-
function
|
|
2097
|
+
function Kt(e, t, n) {
|
|
2132
2098
|
if (!n) return null;
|
|
2133
2099
|
let r = (e) => {
|
|
2134
2100
|
let n = e;
|
|
2135
2101
|
return e < 0 ? n = t.length + e : n >= t.length && (n -= t.length), n;
|
|
2136
|
-
}, i = e.isHorizontal() ? { [e.rtlTranslate ? "right" : "left"]: `${n.offset}px` } : { top: `${n.offset}px` }, { from: a, to: o } = n, s = e.params.loop ? -t.length : 0, c = e.params.loop ? t.length * 2 : t.length,
|
|
2137
|
-
for (let e = s; e < c; e += 1) e >= a && e <= o &&
|
|
2138
|
-
return
|
|
2102
|
+
}, i = e.isHorizontal() ? { [e.rtlTranslate ? "right" : "left"]: `${n.offset}px` } : { top: `${n.offset}px` }, { from: a, to: o } = n, s = e.params.loop ? -t.length : 0, c = e.params.loop ? t.length * 2 : t.length, l = [];
|
|
2103
|
+
for (let e = s; e < c; e += 1) e >= a && e <= o && l.push(t[r(e)]);
|
|
2104
|
+
return l.map((t, n) => /* @__PURE__ */ u.cloneElement(t, {
|
|
2139
2105
|
swiper: e,
|
|
2140
2106
|
style: i,
|
|
2141
2107
|
key: `slide-${n}`
|
|
@@ -2143,30 +2109,30 @@ function qt(e, t, n) {
|
|
|
2143
2109
|
}
|
|
2144
2110
|
//#endregion
|
|
2145
2111
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/components-shared/update-on-virtual-data.js
|
|
2146
|
-
var
|
|
2112
|
+
var qt = (e) => {
|
|
2147
2113
|
!e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
|
|
2148
2114
|
};
|
|
2149
2115
|
//#endregion
|
|
2150
2116
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/use-isomorphic-layout-effect.js
|
|
2151
|
-
function
|
|
2152
|
-
return typeof window > "u" ? (0,
|
|
2117
|
+
function z(e, t) {
|
|
2118
|
+
return typeof window > "u" ? (0, u.useEffect)(e, t) : (0, u.useLayoutEffect)(e, t);
|
|
2153
2119
|
}
|
|
2154
2120
|
//#endregion
|
|
2155
2121
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/context.js
|
|
2156
|
-
var
|
|
2122
|
+
var Jt = /* @__PURE__ */ (0, u.createContext)(null), Yt = /* @__PURE__ */ (0, u.createContext)(null);
|
|
2157
2123
|
//#endregion
|
|
2158
2124
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/swiper.js
|
|
2159
|
-
function
|
|
2160
|
-
return
|
|
2125
|
+
function Xt() {
|
|
2126
|
+
return Xt = Object.assign ? Object.assign.bind() : function(e) {
|
|
2161
2127
|
for (var t = 1; t < arguments.length; t++) {
|
|
2162
2128
|
var n = arguments[t];
|
|
2163
2129
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2164
2130
|
}
|
|
2165
2131
|
return e;
|
|
2166
|
-
},
|
|
2132
|
+
}, Xt.apply(this, arguments);
|
|
2167
2133
|
}
|
|
2168
|
-
var
|
|
2169
|
-
let { className: n, tag: r = "div", wrapperTag: i = "div", children: a, onSwiper: o, ...s } = e === void 0 ? {} : e, c = !1, [
|
|
2134
|
+
var Zt = /* @__PURE__ */ (0, u.forwardRef)(function(e, t) {
|
|
2135
|
+
let { className: n, tag: r = "div", wrapperTag: i = "div", children: a, onSwiper: o, ...s } = e === void 0 ? {} : e, c = !1, [l, d] = (0, u.useState)("swiper"), [f, p] = (0, u.useState)(null), [m, h] = (0, u.useState)(!1), g = (0, u.useRef)(!1), _ = (0, u.useRef)(null), v = (0, u.useRef)(null), y = (0, u.useRef)(null), b = (0, u.useRef)(null), x = (0, u.useRef)(null), S = (0, u.useRef)(null), C = (0, u.useRef)(null), w = (0, u.useRef)(null), { params: T, passedParams: E, rest: D, events: O } = zt(s), { slides: k, slots: A } = Wt(a), j = () => {
|
|
2170
2136
|
h(!m);
|
|
2171
2137
|
};
|
|
2172
2138
|
Object.assign(T.on, { _containerClasses(e, t) {
|
|
@@ -2175,7 +2141,7 @@ var Qt = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2175
2141
|
let M = () => {
|
|
2176
2142
|
Object.assign(T.on, O), c = !0;
|
|
2177
2143
|
let e = { ...T };
|
|
2178
|
-
if (delete e.wrapperClass, v.current = new
|
|
2144
|
+
if (delete e.wrapperClass, v.current = new I(e), v.current.virtual && v.current.params.virtual.enabled) {
|
|
2179
2145
|
v.current.virtual.slides = k;
|
|
2180
2146
|
let e = {
|
|
2181
2147
|
cache: !1,
|
|
@@ -2183,7 +2149,7 @@ var Qt = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2183
2149
|
renderExternal: p,
|
|
2184
2150
|
renderExternalUpdate: !1
|
|
2185
2151
|
};
|
|
2186
|
-
|
|
2152
|
+
R(v.current.params.virtual, e), R(v.current.originalParams.virtual, e);
|
|
2187
2153
|
}
|
|
2188
2154
|
};
|
|
2189
2155
|
_.current || M(), v.current && v.current.on("_beforeBreakpoint", j);
|
|
@@ -2196,12 +2162,12 @@ var Qt = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2196
2162
|
v.current.off(e, O[e]);
|
|
2197
2163
|
});
|
|
2198
2164
|
};
|
|
2199
|
-
(0,
|
|
2165
|
+
(0, u.useEffect)(() => () => {
|
|
2200
2166
|
v.current && v.current.off("_beforeBreakpoint", j);
|
|
2201
|
-
}), (0,
|
|
2167
|
+
}), (0, u.useEffect)(() => {
|
|
2202
2168
|
!g.current && v.current && (v.current.emitSlidesClasses(), g.current = !0);
|
|
2203
|
-
}),
|
|
2204
|
-
if (t && (t.current = _.current), _.current) return v.current.destroyed && M(),
|
|
2169
|
+
}), z(() => {
|
|
2170
|
+
if (t && (t.current = _.current), _.current) return v.current.destroyed && M(), Bt({
|
|
2205
2171
|
el: _.current,
|
|
2206
2172
|
nextEl: x.current,
|
|
2207
2173
|
prevEl: S.current,
|
|
@@ -2211,10 +2177,10 @@ var Qt = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2211
2177
|
}, T), o && o(v.current), () => {
|
|
2212
2178
|
v.current && !v.current.destroyed && v.current.destroy(!0, !1);
|
|
2213
2179
|
};
|
|
2214
|
-
}, []),
|
|
2180
|
+
}, []), z(() => {
|
|
2215
2181
|
N();
|
|
2216
|
-
let e =
|
|
2217
|
-
return y.current = E, b.current = k, e.length && v.current && !v.current.destroyed &&
|
|
2182
|
+
let e = Vt(E, y.current, k, b.current, (e) => e.key);
|
|
2183
|
+
return y.current = E, b.current = k, e.length && v.current && !v.current.destroyed && Gt({
|
|
2218
2184
|
swiper: v.current,
|
|
2219
2185
|
slides: k,
|
|
2220
2186
|
passedParams: E,
|
|
@@ -2226,51 +2192,51 @@ var Qt = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2226
2192
|
}), () => {
|
|
2227
2193
|
ee();
|
|
2228
2194
|
};
|
|
2229
|
-
}),
|
|
2230
|
-
|
|
2195
|
+
}), z(() => {
|
|
2196
|
+
qt(v.current);
|
|
2231
2197
|
}, [f]);
|
|
2232
|
-
function
|
|
2233
|
-
return T.virtual ?
|
|
2198
|
+
function te() {
|
|
2199
|
+
return T.virtual ? Kt(v.current, k, f) : k.map((e, t) => /* @__PURE__ */ u.cloneElement(e, {
|
|
2234
2200
|
swiper: v.current,
|
|
2235
2201
|
swiperSlideIndex: t
|
|
2236
2202
|
}));
|
|
2237
2203
|
}
|
|
2238
|
-
return /* @__PURE__ */
|
|
2204
|
+
return /* @__PURE__ */ u.createElement(r, Xt({
|
|
2239
2205
|
ref: _,
|
|
2240
|
-
className:
|
|
2241
|
-
}, D), /* @__PURE__ */
|
|
2206
|
+
className: It(`${l}${n ? ` ${n}` : ""}`)
|
|
2207
|
+
}, D), /* @__PURE__ */ u.createElement(Yt.Provider, { value: v.current }, A["container-start"], /* @__PURE__ */ u.createElement(i, { className: Lt(T.wrapperClass) }, A["wrapper-start"], te(), A["wrapper-end"]), Nt(T) && /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("div", {
|
|
2242
2208
|
ref: S,
|
|
2243
2209
|
className: "swiper-button-prev"
|
|
2244
|
-
}), /* @__PURE__ */
|
|
2210
|
+
}), /* @__PURE__ */ u.createElement("div", {
|
|
2245
2211
|
ref: x,
|
|
2246
2212
|
className: "swiper-button-next"
|
|
2247
|
-
})),
|
|
2213
|
+
})), Ft(T) && /* @__PURE__ */ u.createElement("div", {
|
|
2248
2214
|
ref: w,
|
|
2249
2215
|
className: "swiper-scrollbar"
|
|
2250
|
-
}),
|
|
2216
|
+
}), Pt(T) && /* @__PURE__ */ u.createElement("div", {
|
|
2251
2217
|
ref: C,
|
|
2252
2218
|
className: "swiper-pagination"
|
|
2253
2219
|
}), A["container-end"]));
|
|
2254
2220
|
});
|
|
2255
|
-
|
|
2221
|
+
Zt.displayName = "Swiper";
|
|
2256
2222
|
//#endregion
|
|
2257
2223
|
//#region ../../node_modules/.pnpm/swiper@9.4.1/node_modules/swiper/react/swiper-slide.js
|
|
2258
|
-
function
|
|
2259
|
-
return
|
|
2224
|
+
function Qt() {
|
|
2225
|
+
return Qt = Object.assign ? Object.assign.bind() : function(e) {
|
|
2260
2226
|
for (var t = 1; t < arguments.length; t++) {
|
|
2261
2227
|
var n = arguments[t];
|
|
2262
2228
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2263
2229
|
}
|
|
2264
2230
|
return e;
|
|
2265
|
-
},
|
|
2231
|
+
}, Qt.apply(this, arguments);
|
|
2266
2232
|
}
|
|
2267
|
-
var
|
|
2268
|
-
let { tag: n = "div", children: r, className: i = "", swiper: a, zoom: o, lazy: s, virtualIndex: c, swiperSlideIndex:
|
|
2233
|
+
var $t = /* @__PURE__ */ (0, u.forwardRef)(function(e, t) {
|
|
2234
|
+
let { tag: n = "div", children: r, className: i = "", swiper: a, zoom: o, lazy: s, virtualIndex: c, swiperSlideIndex: l, ...d } = e === void 0 ? {} : e, f = (0, u.useRef)(null), [p, m] = (0, u.useState)("swiper-slide"), [h, g] = (0, u.useState)(!1);
|
|
2269
2235
|
function _(e, t, n) {
|
|
2270
2236
|
t === f.current && m(n);
|
|
2271
2237
|
}
|
|
2272
|
-
|
|
2273
|
-
if (
|
|
2238
|
+
z(() => {
|
|
2239
|
+
if (l !== void 0 && (f.current.swiperSlideIndex = l), t && (t.current = f.current), !(!f.current || !a)) {
|
|
2274
2240
|
if (a.destroyed) {
|
|
2275
2241
|
p !== "swiper-slide" && m("swiper-slide");
|
|
2276
2242
|
return;
|
|
@@ -2279,7 +2245,7 @@ var en = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2279
2245
|
a && a.off("_slideClass", _);
|
|
2280
2246
|
};
|
|
2281
2247
|
}
|
|
2282
|
-
}),
|
|
2248
|
+
}), z(() => {
|
|
2283
2249
|
a && f.current && !a.destroyed && m(a.getSlideClasses(f.current));
|
|
2284
2250
|
}, [a]);
|
|
2285
2251
|
let v = {
|
|
@@ -2288,28 +2254,28 @@ var en = /* @__PURE__ */ (0, l.forwardRef)(function(e, t) {
|
|
|
2288
2254
|
isPrev: p.indexOf("swiper-slide-prev") >= 0,
|
|
2289
2255
|
isNext: p.indexOf("swiper-slide-next") >= 0
|
|
2290
2256
|
}, y = () => typeof r == "function" ? r(v) : r;
|
|
2291
|
-
return /* @__PURE__ */
|
|
2257
|
+
return /* @__PURE__ */ u.createElement(n, Qt({
|
|
2292
2258
|
ref: f,
|
|
2293
|
-
className:
|
|
2259
|
+
className: It(`${p}${i ? ` ${i}` : ""}`),
|
|
2294
2260
|
"data-swiper-slide-index": c,
|
|
2295
2261
|
onLoad: () => {
|
|
2296
2262
|
g(!0);
|
|
2297
2263
|
}
|
|
2298
|
-
}, d), o && /* @__PURE__ */
|
|
2264
|
+
}, d), o && /* @__PURE__ */ u.createElement(Jt.Provider, { value: v }, /* @__PURE__ */ u.createElement("div", {
|
|
2299
2265
|
className: "swiper-zoom-container",
|
|
2300
2266
|
"data-swiper-zoom": typeof o == "number" ? o : void 0
|
|
2301
|
-
}, y(), s && !h && /* @__PURE__ */
|
|
2267
|
+
}, y(), s && !h && /* @__PURE__ */ u.createElement("div", { className: "swiper-lazy-preloader" }))), !o && /* @__PURE__ */ u.createElement(Jt.Provider, { value: v }, y(), s && !h && /* @__PURE__ */ u.createElement("div", { className: "swiper-lazy-preloader" })));
|
|
2302
2268
|
});
|
|
2303
|
-
|
|
2269
|
+
$t.displayName = "SwiperSlide";
|
|
2304
2270
|
//#endregion
|
|
2305
2271
|
//#region ../../node_modules/.pnpm/react-zoom-pan-pinch-sr@0.2.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-zoom-pan-pinch-sr/dist/index.esm.js
|
|
2306
|
-
var
|
|
2272
|
+
var B = function(e, t) {
|
|
2307
2273
|
return Number(e.toFixed(t));
|
|
2308
|
-
},
|
|
2274
|
+
}, en = function(e, t) {
|
|
2309
2275
|
return typeof e == "number" ? e : t;
|
|
2310
|
-
},
|
|
2276
|
+
}, V = function(e, t, n) {
|
|
2311
2277
|
n && typeof n == "function" && n(e, t);
|
|
2312
|
-
},
|
|
2278
|
+
}, tn = {
|
|
2313
2279
|
easeOut: function(e) {
|
|
2314
2280
|
return -Math.cos(e * Math.PI) / 2 + .5;
|
|
2315
2281
|
},
|
|
@@ -2352,35 +2318,35 @@ var V = function(e, t) {
|
|
|
2352
2318
|
easeInOutQuint: function(e) {
|
|
2353
2319
|
return e < .5 ? 16 * e * e * e * e * e : 1 + 16 * --e * e * e * e * e;
|
|
2354
2320
|
}
|
|
2355
|
-
},
|
|
2321
|
+
}, nn = function(e) {
|
|
2356
2322
|
typeof e == "number" && cancelAnimationFrame(e);
|
|
2357
|
-
},
|
|
2358
|
-
e.mounted && (
|
|
2323
|
+
}, H = function(e) {
|
|
2324
|
+
e.mounted && (nn(e.animation), e.animate = !1, e.animation = null, e.velocity = null);
|
|
2359
2325
|
};
|
|
2360
|
-
function
|
|
2326
|
+
function rn(e, t, n, r) {
|
|
2361
2327
|
if (e.mounted) {
|
|
2362
2328
|
var i = (/* @__PURE__ */ new Date()).getTime(), a = 1;
|
|
2363
|
-
|
|
2364
|
-
if (!e.mounted) return
|
|
2365
|
-
var o = (/* @__PURE__ */ new Date()).getTime() - i, s = o / n, c =
|
|
2329
|
+
H(e), e.animation = function() {
|
|
2330
|
+
if (!e.mounted) return nn(e.animation);
|
|
2331
|
+
var o = (/* @__PURE__ */ new Date()).getTime() - i, s = o / n, c = tn[t], l = c(s);
|
|
2366
2332
|
o >= n ? (r(a), e.animation = null) : e.animation && (r(l), requestAnimationFrame(e.animation));
|
|
2367
2333
|
}, requestAnimationFrame(e.animation);
|
|
2368
2334
|
}
|
|
2369
2335
|
}
|
|
2370
|
-
function
|
|
2336
|
+
function an(e) {
|
|
2371
2337
|
var t = e.scale, n = e.positionX, r = e.positionY;
|
|
2372
2338
|
return !(Number.isNaN(t) || Number.isNaN(n) || Number.isNaN(r));
|
|
2373
2339
|
}
|
|
2374
|
-
function
|
|
2375
|
-
var i =
|
|
2340
|
+
function U(e, t, n, r) {
|
|
2341
|
+
var i = an(t);
|
|
2376
2342
|
if (!(!e.mounted || !i)) {
|
|
2377
2343
|
var a = e.setTransformState, o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY, u = t.scale - s, d = t.positionX - c, f = t.positionY - l;
|
|
2378
|
-
n === 0 ? a(t.scale, t.positionX, t.positionY) :
|
|
2344
|
+
n === 0 ? a(t.scale, t.positionX, t.positionY) : rn(e, r, n, function(e) {
|
|
2379
2345
|
a(s + u * e, c + d * e, l + f * e);
|
|
2380
2346
|
});
|
|
2381
2347
|
}
|
|
2382
2348
|
}
|
|
2383
|
-
function
|
|
2349
|
+
function on(e, t, n) {
|
|
2384
2350
|
var r = e.offsetWidth, i = e.offsetHeight, a = t.offsetWidth, o = t.offsetHeight, s = a * n, c = o * n;
|
|
2385
2351
|
return {
|
|
2386
2352
|
wrapperWidth: r,
|
|
@@ -2391,7 +2357,7 @@ function sn(e, t, n) {
|
|
|
2391
2357
|
newDiffHeight: i - c
|
|
2392
2358
|
};
|
|
2393
2359
|
}
|
|
2394
|
-
var
|
|
2360
|
+
var sn = function(e, t, n, r, i, a, o) {
|
|
2395
2361
|
var s = e > t ? n * (o ? 1 : .5) : 0, c = r > i ? a * (o ? 1 : .5) : 0;
|
|
2396
2362
|
return {
|
|
2397
2363
|
minPositionX: e - t - s,
|
|
@@ -2399,42 +2365,42 @@ var cn = function(e, t, n, r, i, a, o) {
|
|
|
2399
2365
|
minPositionY: r - i - c,
|
|
2400
2366
|
maxPositionY: c
|
|
2401
2367
|
};
|
|
2402
|
-
},
|
|
2368
|
+
}, cn = function(e, t) {
|
|
2403
2369
|
var n = e.wrapperComponent, r = e.contentComponent, i = e.setup.centerZoomedOut;
|
|
2404
2370
|
if (!n || !r) throw Error("Components are not mounted");
|
|
2405
|
-
var a =
|
|
2406
|
-
return
|
|
2407
|
-
},
|
|
2408
|
-
return
|
|
2409
|
-
},
|
|
2410
|
-
var n =
|
|
2371
|
+
var a = on(n, r, t), o = a.wrapperWidth, s = a.wrapperHeight, c = a.newContentWidth, l = a.newDiffWidth, u = a.newContentHeight, d = a.newDiffHeight;
|
|
2372
|
+
return sn(o, c, l, s, u, d, !!i);
|
|
2373
|
+
}, ln = function(e, t, n, r) {
|
|
2374
|
+
return B(r ? e < t ? t : e > n ? n : e : e, 2);
|
|
2375
|
+
}, W = function(e, t) {
|
|
2376
|
+
var n = cn(e, t);
|
|
2411
2377
|
return e.bounds = n, n;
|
|
2412
2378
|
};
|
|
2413
|
-
function
|
|
2379
|
+
function G(e, t, n, r, i, a, o) {
|
|
2414
2380
|
var s = n.minPositionX, c = n.minPositionY, l = n.maxPositionX, u = n.maxPositionY, d = 0, f = 0;
|
|
2415
2381
|
return o && (d = i, f = a), {
|
|
2416
|
-
x:
|
|
2417
|
-
y:
|
|
2382
|
+
x: ln(e, s - d, l + d, r),
|
|
2383
|
+
y: ln(t, c - f, u + f, r)
|
|
2418
2384
|
};
|
|
2419
2385
|
}
|
|
2420
|
-
function
|
|
2386
|
+
function K(e, t, n, r, i, a) {
|
|
2421
2387
|
var o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY, u = r - s;
|
|
2422
2388
|
return typeof t != "number" || typeof n != "number" ? (console.error("Mouse X and Y position were not provided!"), {
|
|
2423
2389
|
x: c,
|
|
2424
2390
|
y: l
|
|
2425
|
-
}) :
|
|
2391
|
+
}) : G(c - t * u, l - n * u, i, a, 0, 0, null);
|
|
2426
2392
|
}
|
|
2427
2393
|
function q(e, t, n, r, i) {
|
|
2428
2394
|
var a = t - (i ? r : 0);
|
|
2429
2395
|
return !Number.isNaN(n) && e >= n ? n : !Number.isNaN(t) && e <= a ? a : e;
|
|
2430
2396
|
}
|
|
2431
|
-
var
|
|
2397
|
+
var un = function(e, t) {
|
|
2432
2398
|
var n = e.setup.panning.excluded, r = e.isInitialized, i = e.wrapperComponent, a = t.composedPath()[0] || t.target, o = i == null ? void 0 : i.contains(a);
|
|
2433
2399
|
return !(!(r && a && o) || $(a, n));
|
|
2434
|
-
},
|
|
2400
|
+
}, dn = function(e) {
|
|
2435
2401
|
var t = e.isInitialized, n = e.isPanning, r = e.setup.panning.disabled;
|
|
2436
2402
|
return !!(t && n && !r);
|
|
2437
|
-
},
|
|
2403
|
+
}, fn = function(e, t) {
|
|
2438
2404
|
var n = e.transformState, r = n.positionX, i = n.positionY;
|
|
2439
2405
|
e.isPanning = !0;
|
|
2440
2406
|
var a = t.clientX, o = t.clientY;
|
|
@@ -2442,7 +2408,7 @@ var fn = function(e, t) {
|
|
|
2442
2408
|
x: a - r,
|
|
2443
2409
|
y: o - i
|
|
2444
2410
|
};
|
|
2445
|
-
},
|
|
2411
|
+
}, pn = function(e, t) {
|
|
2446
2412
|
var n = t.touches, r = e.transformState, i = r.positionX, a = r.positionY;
|
|
2447
2413
|
if (e.isPanning = !0, n.length === 1) {
|
|
2448
2414
|
var o = n[0].clientX, s = n[0].clientY;
|
|
@@ -2452,10 +2418,10 @@ var fn = function(e, t) {
|
|
|
2452
2418
|
};
|
|
2453
2419
|
}
|
|
2454
2420
|
};
|
|
2455
|
-
function
|
|
2421
|
+
function mn(e) {
|
|
2456
2422
|
var t = e.transformState, n = t.positionX, r = t.positionY, i = t.scale, a = e.setup, o = a.disabled, s = a.limitToBounds, c = a.centerZoomedOut, l = e.wrapperComponent;
|
|
2457
2423
|
if (!(o || !l || !e.bounds)) {
|
|
2458
|
-
var u = e.bounds, d = u.maxPositionX, f = u.minPositionX, p = u.maxPositionY, m = u.minPositionY, h = n > d || n < f, g = r > p || r < m, _ =
|
|
2424
|
+
var u = e.bounds, d = u.maxPositionX, f = u.minPositionX, p = u.maxPositionY, m = u.minPositionY, h = n > d || n < f, g = r > p || r < m, _ = K(e, n > d ? l.offsetWidth : e.setup.minPositionX || 0, r > p ? l.offsetHeight : e.setup.minPositionY || 0, i, e.bounds, s || c), v = _.x, y = _.y;
|
|
2459
2425
|
return {
|
|
2460
2426
|
scale: i,
|
|
2461
2427
|
positionX: h ? v : n,
|
|
@@ -2463,14 +2429,14 @@ function gn(e) {
|
|
|
2463
2429
|
};
|
|
2464
2430
|
}
|
|
2465
2431
|
}
|
|
2466
|
-
function
|
|
2432
|
+
function hn(e, t, n, r, i) {
|
|
2467
2433
|
var a = e.setup.limitToBounds, o = e.wrapperComponent, s = e.bounds, c = e.transformState, l = c.scale, u = c.positionX, d = c.positionY;
|
|
2468
2434
|
if (!(o === null || s === null || t === u && n === d)) {
|
|
2469
|
-
var f =
|
|
2435
|
+
var f = G(t, n, s, a, r, i, o), p = f.x, m = f.y;
|
|
2470
2436
|
e.setTransformState(l, p, m);
|
|
2471
2437
|
}
|
|
2472
2438
|
}
|
|
2473
|
-
var
|
|
2439
|
+
var gn = function(e, t, n) {
|
|
2474
2440
|
var r = e.startCoords, i = e.transformState, a = e.setup.panning, o = a.lockAxisX, s = a.lockAxisY, c = i.positionX, l = i.positionY;
|
|
2475
2441
|
if (!r) return {
|
|
2476
2442
|
x: c,
|
|
@@ -2484,18 +2450,18 @@ var vn = function(e, t, n) {
|
|
|
2484
2450
|
}, J = function(e, t) {
|
|
2485
2451
|
var n = e.setup, r = e.transformState.scale, i = n.minScale, a = n.disablePadding;
|
|
2486
2452
|
return t > 0 && r >= i && !a ? t : 0;
|
|
2487
|
-
},
|
|
2453
|
+
}, _n = function(e) {
|
|
2488
2454
|
var t = e.mounted, n = e.setup, r = n.disabled, i = n.velocityAnimation, a = e.transformState.scale;
|
|
2489
2455
|
return !!(!i.disabled || a > 1 || !r || t);
|
|
2490
|
-
},
|
|
2456
|
+
}, vn = function(e) {
|
|
2491
2457
|
var t = e.mounted, n = e.velocity, r = e.bounds, i = e.setup, a = i.disabled, o = i.velocityAnimation, s = e.transformState.scale;
|
|
2492
2458
|
return !(!(!o.disabled || s > 1 || !a || t) || !n || !r);
|
|
2493
2459
|
};
|
|
2494
|
-
function
|
|
2460
|
+
function yn(e, t) {
|
|
2495
2461
|
var n = e.setup.velocityAnimation, r = n.equalToMove, i = n.animationTime, a = n.sensitivity;
|
|
2496
2462
|
return r ? i * t * a : i;
|
|
2497
2463
|
}
|
|
2498
|
-
function
|
|
2464
|
+
function bn(e, t, n, r, i, a, o, s, c, l) {
|
|
2499
2465
|
if (i) {
|
|
2500
2466
|
if (t > o && n > o) {
|
|
2501
2467
|
var u = o + (e - o) * l;
|
|
@@ -2506,17 +2472,17 @@ function Sn(e, t, n, r, i, a, o, s, c, l) {
|
|
|
2506
2472
|
return u < s ? s : u > a ? a : u;
|
|
2507
2473
|
}
|
|
2508
2474
|
}
|
|
2509
|
-
return r ? t :
|
|
2475
|
+
return r ? t : ln(e, a, o, i);
|
|
2510
2476
|
}
|
|
2511
|
-
function
|
|
2477
|
+
function xn(e, t) {
|
|
2512
2478
|
var n = 1;
|
|
2513
2479
|
return t ? Math.min(n, e.offsetWidth / window.innerWidth) : n;
|
|
2514
2480
|
}
|
|
2515
|
-
function
|
|
2516
|
-
if (
|
|
2481
|
+
function Sn(e, t) {
|
|
2482
|
+
if (_n(e)) {
|
|
2517
2483
|
var n = e.lastMousePosition, r = e.velocityTime, i = e.setup, a = e.wrapperComponent, o = i.velocityAnimation.equalToMove, s = Date.now();
|
|
2518
2484
|
if (n && r && a) {
|
|
2519
|
-
var c =
|
|
2485
|
+
var c = xn(a, o), l = t.x - n.x, u = t.y - n.y, d = l / c, f = u / c, p = s - r, m = l * l + u * u;
|
|
2520
2486
|
e.velocity = {
|
|
2521
2487
|
velocityX: d,
|
|
2522
2488
|
velocityY: f,
|
|
@@ -2526,58 +2492,58 @@ function wn(e, t) {
|
|
|
2526
2492
|
e.lastMousePosition = t, e.velocityTime = s;
|
|
2527
2493
|
}
|
|
2528
2494
|
}
|
|
2529
|
-
function
|
|
2495
|
+
function Cn(e) {
|
|
2530
2496
|
var t = e.velocity, n = e.bounds, r = e.setup, i = e.wrapperComponent;
|
|
2531
|
-
if (!(!
|
|
2532
|
-
var a = t.velocityX, o = t.velocityY, s = t.total, c = n.maxPositionX, l = n.minPositionX, u = n.maxPositionY, d = n.minPositionY, f = r.limitToBounds, p = r.alignmentAnimation, m = r.zoomAnimation, h = r.panning, g = h.lockAxisY, _ = h.lockAxisX, v = m.animationType, y = p.sizeX, b = p.sizeY, x = p.velocityAlignmentTime, S =
|
|
2533
|
-
|
|
2534
|
-
var n = e.transformState, r = n.scale, i = n.positionX, s = n.positionY, m = ((/* @__PURE__ */ new Date()).getTime() - N) / x, h =
|
|
2497
|
+
if (!(!vn(e) || !t || !n || !i)) {
|
|
2498
|
+
var a = t.velocityX, o = t.velocityY, s = t.total, c = n.maxPositionX, l = n.minPositionX, u = n.maxPositionY, d = n.minPositionY, f = r.limitToBounds, p = r.alignmentAnimation, m = r.zoomAnimation, h = r.panning, g = h.lockAxisY, _ = h.lockAxisX, v = m.animationType, y = p.sizeX, b = p.sizeY, x = p.velocityAlignmentTime, S = yn(e, s), C = Math.max(S, x), w = J(e, y), T = J(e, b), E = w * i.offsetWidth / 100, D = T * i.offsetHeight / 100, O = c + E, k = l - E, A = u + D, j = d - D, M = e.transformState, N = (/* @__PURE__ */ new Date()).getTime();
|
|
2499
|
+
rn(e, v, C, function(t) {
|
|
2500
|
+
var n = e.transformState, r = n.scale, i = n.positionX, s = n.positionY, m = ((/* @__PURE__ */ new Date()).getTime() - N) / x, h = tn[p.animationType], v = 1 - h(Math.min(1, m)), y = 1 - t, b = i + a * y, S = s + o * y, C = bn(b, M.positionX, i, _, f, l, c, k, O, v), w = bn(S, M.positionY, s, g, f, d, u, j, A, v);
|
|
2535
2501
|
(i !== b || s !== S) && e.setTransformState(r, C, w);
|
|
2536
2502
|
});
|
|
2537
2503
|
}
|
|
2538
2504
|
}
|
|
2539
|
-
function
|
|
2505
|
+
function wn(e, t) {
|
|
2540
2506
|
var n = e.transformState.scale;
|
|
2541
|
-
|
|
2507
|
+
H(e), W(e, n), window.TouchEvent !== void 0 && t instanceof TouchEvent ? pn(e, t) : fn(e, t);
|
|
2542
2508
|
}
|
|
2543
|
-
function
|
|
2509
|
+
function Tn(e) {
|
|
2544
2510
|
var t = e.transformState.scale, n = e.setup, r = n.minScale, i = n.alignmentAnimation, a = i.disabled, o = i.sizeX, s = i.sizeY, c = i.animationTime, l = i.animationType;
|
|
2545
2511
|
if (!(a || t < r || !o && !s)) {
|
|
2546
|
-
var u =
|
|
2547
|
-
u &&
|
|
2512
|
+
var u = mn(e);
|
|
2513
|
+
u && U(e, u, c, l);
|
|
2548
2514
|
}
|
|
2549
2515
|
}
|
|
2550
|
-
function
|
|
2516
|
+
function En(e, t, n) {
|
|
2551
2517
|
var r = e.startCoords, i = e.setup.alignmentAnimation, a = i.sizeX, o = i.sizeY;
|
|
2552
2518
|
if (r) {
|
|
2553
|
-
var s =
|
|
2554
|
-
|
|
2519
|
+
var s = gn(e, t, n), c = s.x, l = s.y, u = J(e, a), d = J(e, o);
|
|
2520
|
+
Sn(e, {
|
|
2555
2521
|
x: c,
|
|
2556
2522
|
y: l
|
|
2557
|
-
}),
|
|
2523
|
+
}), hn(e, c, l, u, d);
|
|
2558
2524
|
}
|
|
2559
2525
|
}
|
|
2560
|
-
function
|
|
2526
|
+
function Dn(e) {
|
|
2561
2527
|
if (e.isPanning) {
|
|
2562
2528
|
var t = e.setup.panning.velocityDisabled, n = e.velocity, r = e.wrapperComponent, i = e.contentComponent;
|
|
2563
2529
|
e.isPanning = !1, e.animate = !1, e.animation = null;
|
|
2564
2530
|
var a = r == null ? void 0 : r.getBoundingClientRect(), o = i == null ? void 0 : i.getBoundingClientRect(), s = (a == null ? void 0 : a.width) || 0, c = (a == null ? void 0 : a.height) || 0, l = (o == null ? void 0 : o.width) || 0, u = (o == null ? void 0 : o.height) || 0, d = s < l || c < u;
|
|
2565
|
-
!t && n && (n == null ? void 0 : n.total) > .1 && d ?
|
|
2531
|
+
!t && n && (n == null ? void 0 : n.total) > .1 && d ? Cn(e) : Tn(e);
|
|
2566
2532
|
}
|
|
2567
2533
|
}
|
|
2568
|
-
function
|
|
2569
|
-
var i = e.setup, a = i.minScale, o = i.maxScale, s = i.limitToBounds, c = q(
|
|
2534
|
+
function On(e, t, n, r) {
|
|
2535
|
+
var i = e.setup, a = i.minScale, o = i.maxScale, s = i.limitToBounds, c = q(B(t, 2), a, o, 0, !1), l = K(e, n, r, c, W(e, c), s);
|
|
2570
2536
|
return {
|
|
2571
2537
|
scale: c,
|
|
2572
2538
|
positionX: l.x,
|
|
2573
2539
|
positionY: l.y
|
|
2574
2540
|
};
|
|
2575
2541
|
}
|
|
2576
|
-
function
|
|
2542
|
+
function kn(e, t, n) {
|
|
2577
2543
|
var r = e.transformState.scale, i = e.wrapperComponent, a = e.setup, o = a.minScale, s = a.limitToBounds, c = a.zoomAnimation, l = c.disabled, u = c.animationTime, d = c.animationType, f = l || r >= o;
|
|
2578
|
-
if ((r >= 1 || s) &&
|
|
2579
|
-
var p =
|
|
2580
|
-
p &&
|
|
2544
|
+
if ((r >= 1 || s) && Tn(e), !(f || !i || !e.mounted)) {
|
|
2545
|
+
var p = On(e, o, t || i.offsetWidth / 2, n || i.offsetHeight / 2);
|
|
2546
|
+
p && U(e, p, u, d);
|
|
2581
2547
|
}
|
|
2582
2548
|
}
|
|
2583
2549
|
var Y = function() {
|
|
@@ -2586,7 +2552,7 @@ var Y = function() {
|
|
|
2586
2552
|
return e;
|
|
2587
2553
|
}, Y.apply(this, arguments);
|
|
2588
2554
|
};
|
|
2589
|
-
function
|
|
2555
|
+
function An(e, t, n) {
|
|
2590
2556
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
2591
2557
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
2592
2558
|
}
|
|
@@ -2657,7 +2623,7 @@ var X = {
|
|
|
2657
2623
|
animationType: "easeOut",
|
|
2658
2624
|
equalToMove: !0
|
|
2659
2625
|
}
|
|
2660
|
-
},
|
|
2626
|
+
}, jn = function(e) {
|
|
2661
2627
|
var t, n, r, i;
|
|
2662
2628
|
return {
|
|
2663
2629
|
previousScale: (t = e.initialScale) == null ? X.scale : t,
|
|
@@ -2665,115 +2631,115 @@ var X = {
|
|
|
2665
2631
|
positionX: (r = e.initialPositionX) == null ? X.positionX : r,
|
|
2666
2632
|
positionY: (i = e.initialPositionY) == null ? X.positionY : i
|
|
2667
2633
|
};
|
|
2668
|
-
},
|
|
2634
|
+
}, Mn = function(e) {
|
|
2669
2635
|
var t = Y({}, Z);
|
|
2670
2636
|
return Object.keys(e).forEach(function(n) {
|
|
2671
2637
|
var r = e[n] !== void 0;
|
|
2672
2638
|
if (Z[n] !== void 0 && r) {
|
|
2673
2639
|
var i = Object.prototype.toString.call(Z[n]);
|
|
2674
|
-
i === "[object Object]" ? t[n] = Y(Y({}, Z[n]), e[n]) : i === "[object Array]" ? t[n] =
|
|
2640
|
+
i === "[object Object]" ? t[n] = Y(Y({}, Z[n]), e[n]) : i === "[object Array]" ? t[n] = An(An([], Z[n], !0), e[n], !0) : t[n] = e[n];
|
|
2675
2641
|
}
|
|
2676
2642
|
}), t;
|
|
2677
|
-
},
|
|
2643
|
+
}, Nn = function(e, t, n) {
|
|
2678
2644
|
var r = e.transformState.scale, i = e.wrapperComponent, a = e.setup, o = a.maxScale, s = a.minScale, c = a.zoomAnimation.size;
|
|
2679
2645
|
if (!i) throw Error("Wrapper is not mounted");
|
|
2680
|
-
return q(
|
|
2646
|
+
return q(B(r * Math.exp(t * n), 3), s, o, c, !1);
|
|
2681
2647
|
};
|
|
2682
|
-
function
|
|
2648
|
+
function Pn(e, t, n, r, i) {
|
|
2683
2649
|
var a = e.wrapperComponent, o = e.transformState, s = o.scale, c = o.positionX, l = o.positionY;
|
|
2684
2650
|
if (!a) return console.error("No WrapperComponent found");
|
|
2685
|
-
var u = a.offsetWidth, d = a.offsetHeight, f = (u / 2 - c) / s, p = (d / 2 - l) / s, m =
|
|
2651
|
+
var u = a.offsetWidth, d = a.offsetHeight, f = (u / 2 - c) / s, p = (d / 2 - l) / s, m = On(e, Nn(e, t, n), f, p);
|
|
2686
2652
|
if (!m) return console.error("Error during zoom event. New transformation state was not calculated.");
|
|
2687
|
-
|
|
2653
|
+
U(e, m, r, i);
|
|
2688
2654
|
}
|
|
2689
|
-
function
|
|
2690
|
-
var i = e.setup, a = e.wrapperComponent, o = i.limitToBounds, s =
|
|
2655
|
+
function Fn(e, t, n, r) {
|
|
2656
|
+
var i = e.setup, a = e.wrapperComponent, o = i.limitToBounds, s = jn(e.props), c = e.transformState, l = c.scale, u = c.positionX, d = c.positionY;
|
|
2691
2657
|
if (a) {
|
|
2692
|
-
var f =
|
|
2658
|
+
var f = cn(e, s.scale), p = G(s.positionX, s.positionY, f, o, 0, 0, a), m = {
|
|
2693
2659
|
scale: s.scale,
|
|
2694
2660
|
positionX: p.x,
|
|
2695
2661
|
positionY: p.y
|
|
2696
2662
|
};
|
|
2697
|
-
l === s.scale && u === s.positionX && d === s.positionY || (r == null || r(),
|
|
2663
|
+
l === s.scale && u === s.positionX && d === s.positionY || (r == null || r(), U(e, m, t, n));
|
|
2698
2664
|
}
|
|
2699
2665
|
}
|
|
2700
|
-
function
|
|
2666
|
+
function In(e, t, n, r) {
|
|
2701
2667
|
var i = e.getBoundingClientRect(), a = t.getBoundingClientRect(), o = n.getBoundingClientRect(), s = a.x * r.scale, c = a.y * r.scale;
|
|
2702
2668
|
return {
|
|
2703
2669
|
x: (i.x - o.x + s) / r.scale,
|
|
2704
2670
|
y: (i.y - o.y + c) / r.scale
|
|
2705
2671
|
};
|
|
2706
2672
|
}
|
|
2707
|
-
function
|
|
2673
|
+
function Ln(e, t, n) {
|
|
2708
2674
|
var r = e.wrapperComponent, i = e.contentComponent, a = e.transformState, o = e.setup, s = o.limitToBounds, c = o.minScale, l = o.maxScale;
|
|
2709
2675
|
if (!r || !i) return a;
|
|
2710
|
-
var u = r.getBoundingClientRect(), d = t.getBoundingClientRect(), f =
|
|
2676
|
+
var u = r.getBoundingClientRect(), d = t.getBoundingClientRect(), f = In(t, r, i, a), p = f.x, m = f.y, h = d.width / a.scale, g = d.height / a.scale, _ = r.offsetWidth / h, v = r.offsetHeight / g, y = q(n || Math.min(_, v), c, l, 0, !1), b = (u.width - h * y) / 2, x = (u.height - g * y) / 2, S = G((u.left - p) * y + b, (u.top - m) * y + x, cn(e, y), s, 0, 0, r);
|
|
2711
2677
|
return {
|
|
2712
2678
|
positionX: S.x,
|
|
2713
2679
|
positionY: S.y,
|
|
2714
2680
|
scale: y
|
|
2715
2681
|
};
|
|
2716
2682
|
}
|
|
2717
|
-
var
|
|
2683
|
+
var Rn = function(e) {
|
|
2718
2684
|
return function(t, n, r) {
|
|
2719
|
-
t === void 0 && (t = .5), n === void 0 && (n = 300), r === void 0 && (r = "easeOut"),
|
|
2685
|
+
t === void 0 && (t = .5), n === void 0 && (n = 300), r === void 0 && (r = "easeOut"), Pn(e, 1, t, n, r);
|
|
2720
2686
|
};
|
|
2721
|
-
},
|
|
2687
|
+
}, zn = function(e) {
|
|
2722
2688
|
return function(t, n, r) {
|
|
2723
|
-
t === void 0 && (t = .5), n === void 0 && (n = 300), r === void 0 && (r = "easeOut"),
|
|
2689
|
+
t === void 0 && (t = .5), n === void 0 && (n = 300), r === void 0 && (r = "easeOut"), Pn(e, -1, t, n, r);
|
|
2724
2690
|
};
|
|
2725
|
-
},
|
|
2691
|
+
}, Bn = function(e) {
|
|
2726
2692
|
return function(t, n, r, i, a) {
|
|
2727
2693
|
i === void 0 && (i = 300), a === void 0 && (a = "easeOut");
|
|
2728
2694
|
var o = e.transformState, s = o.positionX, c = o.positionY, l = o.scale, u = e.wrapperComponent, d = e.contentComponent;
|
|
2729
|
-
e.setup.disabled || !u || !d ||
|
|
2695
|
+
e.setup.disabled || !u || !d || U(e, {
|
|
2730
2696
|
positionX: Number.isNaN(t) ? s : t,
|
|
2731
2697
|
positionY: Number.isNaN(n) ? c : n,
|
|
2732
2698
|
scale: Number.isNaN(r) ? l : r
|
|
2733
2699
|
}, i, a);
|
|
2734
2700
|
};
|
|
2735
|
-
},
|
|
2701
|
+
}, Vn = function(e) {
|
|
2736
2702
|
return function(t, n) {
|
|
2737
|
-
t === void 0 && (t = 200), n === void 0 && (n = "easeOut"),
|
|
2703
|
+
t === void 0 && (t = 200), n === void 0 && (n = "easeOut"), Fn(e, t, n);
|
|
2738
2704
|
};
|
|
2739
|
-
},
|
|
2705
|
+
}, Hn = function(e) {
|
|
2740
2706
|
return function(t, n, r) {
|
|
2741
2707
|
n === void 0 && (n = 200), r === void 0 && (r = "easeOut");
|
|
2742
2708
|
var i = e.transformState, a = e.wrapperComponent, o = e.contentComponent;
|
|
2743
|
-
a && o &&
|
|
2709
|
+
a && o && U(e, Xn(t || i.scale, a, o), n, r);
|
|
2744
2710
|
};
|
|
2745
|
-
},
|
|
2711
|
+
}, Un = function(e) {
|
|
2746
2712
|
return function(t, n, r, i) {
|
|
2747
|
-
r === void 0 && (r = 600), i === void 0 && (i = "easeOut"),
|
|
2713
|
+
r === void 0 && (r = 600), i === void 0 && (i = "easeOut"), H(e);
|
|
2748
2714
|
var a = e.wrapperComponent, o = typeof t == "string" ? document.getElementById(t) : t;
|
|
2749
|
-
a && o && a.contains(o) &&
|
|
2715
|
+
a && o && a.contains(o) && U(e, Ln(e, o, n), r, i);
|
|
2750
2716
|
};
|
|
2751
|
-
},
|
|
2717
|
+
}, Wn = function(e) {
|
|
2752
2718
|
return {
|
|
2753
2719
|
instance: e,
|
|
2754
|
-
zoomIn:
|
|
2755
|
-
zoomOut:
|
|
2756
|
-
setTransform:
|
|
2757
|
-
resetTransform:
|
|
2758
|
-
centerView:
|
|
2759
|
-
zoomToElement:
|
|
2720
|
+
zoomIn: Rn(e),
|
|
2721
|
+
zoomOut: zn(e),
|
|
2722
|
+
setTransform: Bn(e),
|
|
2723
|
+
resetTransform: Vn(e),
|
|
2724
|
+
centerView: Hn(e),
|
|
2725
|
+
zoomToElement: Un(e)
|
|
2760
2726
|
};
|
|
2761
|
-
},
|
|
2727
|
+
}, Gn = function(e) {
|
|
2762
2728
|
return {
|
|
2763
2729
|
instance: e,
|
|
2764
2730
|
state: e.transformState
|
|
2765
2731
|
};
|
|
2766
2732
|
}, Q = function(e) {
|
|
2767
2733
|
var t = {};
|
|
2768
|
-
return Object.assign(t,
|
|
2769
|
-
},
|
|
2770
|
-
function
|
|
2734
|
+
return Object.assign(t, Gn(e)), Object.assign(t, Wn(e)), t;
|
|
2735
|
+
}, Kn = !1;
|
|
2736
|
+
function qn() {
|
|
2771
2737
|
try {
|
|
2772
2738
|
return { get passive() {
|
|
2773
|
-
return
|
|
2739
|
+
return Kn = !0, !1;
|
|
2774
2740
|
} };
|
|
2775
2741
|
} catch {
|
|
2776
|
-
return
|
|
2742
|
+
return Kn = !1, Kn;
|
|
2777
2743
|
}
|
|
2778
2744
|
}
|
|
2779
2745
|
var $ = function(e, t) {
|
|
@@ -2783,11 +2749,11 @@ var $ = function(e, t) {
|
|
|
2783
2749
|
}) || t.find(function(t) {
|
|
2784
2750
|
return e.classList.contains(t);
|
|
2785
2751
|
}));
|
|
2786
|
-
},
|
|
2752
|
+
}, Jn = function(e) {
|
|
2787
2753
|
e && clearTimeout(e);
|
|
2788
|
-
},
|
|
2754
|
+
}, Yn = function(e, t, n) {
|
|
2789
2755
|
return `translate(${e}px, ${t}px) scale(${n})`;
|
|
2790
|
-
},
|
|
2756
|
+
}, Xn = function(e, t, n) {
|
|
2791
2757
|
var r = n.offsetWidth * e, i = n.offsetHeight * e;
|
|
2792
2758
|
return {
|
|
2793
2759
|
scale: e,
|
|
@@ -2795,23 +2761,23 @@ var $ = function(e, t) {
|
|
|
2795
2761
|
positionY: (t.offsetHeight - i) / 2
|
|
2796
2762
|
};
|
|
2797
2763
|
};
|
|
2798
|
-
function
|
|
2764
|
+
function Zn(e) {
|
|
2799
2765
|
return function(t) {
|
|
2800
2766
|
e.forEach(function(e) {
|
|
2801
2767
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
2802
2768
|
});
|
|
2803
2769
|
};
|
|
2804
2770
|
}
|
|
2805
|
-
var
|
|
2771
|
+
var Qn = function(e, t) {
|
|
2806
2772
|
var n = e.setup.wheel, r = n.disabled, i = n.wheelDisabled, a = n.touchPadDisabled, o = n.excluded, s = e.isInitialized, c = e.isPanning, l = t.target;
|
|
2807
2773
|
return !(!(s && !c && !r && l) || i && !t.ctrlKey || a && t.ctrlKey || $(l, o));
|
|
2808
|
-
},
|
|
2774
|
+
}, $n = function(e) {
|
|
2809
2775
|
return e ? e.deltaY < 0 ? 1 : -1 : 0;
|
|
2810
2776
|
};
|
|
2811
|
-
function
|
|
2812
|
-
return
|
|
2777
|
+
function er(e, t) {
|
|
2778
|
+
return en(t, $n(e));
|
|
2813
2779
|
}
|
|
2814
|
-
function
|
|
2780
|
+
function tr(e, t, n) {
|
|
2815
2781
|
var r = t.getBoundingClientRect(), i = 0, a = 0;
|
|
2816
2782
|
if ("clientX" in e) i = (e.clientX - r.left) / n, a = (e.clientY - r.top) / n;
|
|
2817
2783
|
else {
|
|
@@ -2823,100 +2789,100 @@ function rr(e, t, n) {
|
|
|
2823
2789
|
y: a
|
|
2824
2790
|
};
|
|
2825
2791
|
}
|
|
2826
|
-
var
|
|
2792
|
+
var nr = function(e, t, n, r, i) {
|
|
2827
2793
|
var a = e.transformState.scale, o = e.wrapperComponent, s = e.setup, c = s.maxScale, l = s.minScale, u = s.zoomAnimation, d = s.disablePadding, f = u.size, p = u.disabled;
|
|
2828
2794
|
if (!o) throw Error("Wrapper is not mounted");
|
|
2829
2795
|
var m = a + t * (a - a * n) * n;
|
|
2830
2796
|
if (i) return m;
|
|
2831
2797
|
var h = r ? !1 : !p;
|
|
2832
|
-
return q(
|
|
2833
|
-
},
|
|
2798
|
+
return q(B(m, 3), l, c, f, h && !d);
|
|
2799
|
+
}, rr = function(e, t) {
|
|
2834
2800
|
var n = e.previousWheelEvent, r = e.transformState.scale, i = e.setup, a = i.maxScale, o = i.minScale;
|
|
2835
2801
|
return n ? r < a || r > o || Math.sign(n.deltaY) !== Math.sign(t.deltaY) || n.deltaY > 0 && n.deltaY < t.deltaY || n.deltaY < 0 && n.deltaY > t.deltaY || Math.sign(n.deltaY) !== Math.sign(t.deltaY) : !1;
|
|
2836
|
-
},
|
|
2802
|
+
}, ir = function(e, t) {
|
|
2837
2803
|
var n = e.setup.pinch, r = n.disabled, i = n.excluded, a = e.isInitialized, o = t.target;
|
|
2838
2804
|
return !(!(a && !r && o) || $(o, i));
|
|
2839
|
-
},
|
|
2805
|
+
}, ar = function(e) {
|
|
2840
2806
|
var t = e.setup.pinch.disabled, n = e.isInitialized, r = e.pinchStartDistance;
|
|
2841
2807
|
return !!(n && !t && r);
|
|
2842
|
-
},
|
|
2843
|
-
var r = n.getBoundingClientRect(), i = e.touches, a =
|
|
2808
|
+
}, or = function(e, t, n) {
|
|
2809
|
+
var r = n.getBoundingClientRect(), i = e.touches, a = B(i[0].clientX - r.left, 5), o = B(i[0].clientY - r.top, 5), s = B(i[1].clientX - r.left, 5), c = B(i[1].clientY - r.top, 5);
|
|
2844
2810
|
return {
|
|
2845
2811
|
x: (a + s) / 2 / t,
|
|
2846
2812
|
y: (o + c) / 2 / t
|
|
2847
2813
|
};
|
|
2848
|
-
},
|
|
2814
|
+
}, sr = function(e) {
|
|
2849
2815
|
return Math.sqrt((e.touches[0].pageX - e.touches[1].pageX) ** 2 + (e.touches[0].pageY - e.touches[1].pageY) ** 2);
|
|
2850
|
-
},
|
|
2816
|
+
}, cr = function(e, t) {
|
|
2851
2817
|
var n = e.pinchStartScale, r = e.pinchStartDistance, i = e.setup, a = i.maxScale, o = i.minScale, s = i.zoomAnimation, c = i.disablePadding, l = s.size, u = s.disabled;
|
|
2852
2818
|
if (!n || r === null || !t) throw Error("Pinch touches distance was not provided");
|
|
2853
|
-
return t < 0 ? e.transformState.scale : q(
|
|
2854
|
-
},
|
|
2819
|
+
return t < 0 ? e.transformState.scale : q(B(t / r * n, 2), o, a, l, !u && !c);
|
|
2820
|
+
}, lr = 160, ur = 100, dr = function(e, t) {
|
|
2855
2821
|
var n = e.props, r = n.onWheelStart, i = n.onZoomStart;
|
|
2856
|
-
e.wheelStopEventTimer || (
|
|
2857
|
-
},
|
|
2822
|
+
e.wheelStopEventTimer || (H(e), V(Q(e), t, r), V(Q(e), t, i));
|
|
2823
|
+
}, fr = function(e, t) {
|
|
2858
2824
|
var n = e.props, r = n.onWheel, i = n.onZoom, a = e.contentComponent, o = e.setup, s = e.transformState.scale, c = o.limitToBounds, l = o.centerZoomedOut, u = o.zoomAnimation, d = o.wheel, f = o.disablePadding, p = u.size, m = u.disabled, h = d.step;
|
|
2859
2825
|
if (!a) throw Error("Component not mounted");
|
|
2860
2826
|
t.preventDefault(), t.stopPropagation();
|
|
2861
|
-
var g =
|
|
2827
|
+
var g = nr(e, er(t, null), h, !t.ctrlKey);
|
|
2862
2828
|
if (s !== g) {
|
|
2863
|
-
var _ =
|
|
2864
|
-
e.previousWheelEvent = t, e.setTransformState(g, x, S),
|
|
2829
|
+
var _ = W(e, g), v = tr(t, a, s), y = c && (m || p === 0 || l || f), b = K(e, v.x, v.y, g, _, y), x = b.x, S = b.y;
|
|
2830
|
+
e.previousWheelEvent = t, e.setTransformState(g, x, S), V(Q(e), t, r), V(Q(e), t, i);
|
|
2865
2831
|
}
|
|
2866
|
-
},
|
|
2832
|
+
}, pr = function(e, t) {
|
|
2867
2833
|
var n = e.props, r = n.onWheelStop, i = n.onZoomStop;
|
|
2868
|
-
|
|
2869
|
-
e.mounted && (
|
|
2870
|
-
},
|
|
2871
|
-
e.mounted && (e.wheelStopEventTimer = null,
|
|
2872
|
-
},
|
|
2873
|
-
},
|
|
2874
|
-
var n =
|
|
2875
|
-
e.pinchStartDistance = n, e.lastDistance = n, e.pinchStartScale = e.transformState.scale, e.isPanning = !1,
|
|
2876
|
-
},
|
|
2834
|
+
Jn(e.wheelAnimationTimer), e.wheelAnimationTimer = setTimeout(function() {
|
|
2835
|
+
e.mounted && (kn(e, t.x, t.y), e.wheelAnimationTimer = null);
|
|
2836
|
+
}, ur), rr(e, t) && (Jn(e.wheelStopEventTimer), e.wheelStopEventTimer = setTimeout(function() {
|
|
2837
|
+
e.mounted && (e.wheelStopEventTimer = null, V(Q(e), t, r), V(Q(e), t, i));
|
|
2838
|
+
}, lr));
|
|
2839
|
+
}, mr = function(e, t) {
|
|
2840
|
+
var n = sr(t);
|
|
2841
|
+
e.pinchStartDistance = n, e.lastDistance = n, e.pinchStartScale = e.transformState.scale, e.isPanning = !1, H(e);
|
|
2842
|
+
}, hr = function(e, t) {
|
|
2877
2843
|
var n = e.contentComponent, r = e.pinchStartDistance, i = e.transformState.scale, a = e.setup, o = a.limitToBounds, s = a.centerZoomedOut, c = a.zoomAnimation, l = c.disabled, u = c.size;
|
|
2878
2844
|
if (!(r === null || !n)) {
|
|
2879
|
-
var d =
|
|
2845
|
+
var d = or(t, i, n);
|
|
2880
2846
|
if (!(!Number.isFinite(d.x) || !Number.isFinite(d.y))) {
|
|
2881
|
-
var f =
|
|
2847
|
+
var f = sr(t), p = cr(e, f);
|
|
2882
2848
|
if (p !== i) {
|
|
2883
|
-
var m =
|
|
2849
|
+
var m = W(e, p), h = o && (l || u === 0 || s), g = K(e, d.x, d.y, p, m, h), _ = g.x, v = g.y;
|
|
2884
2850
|
e.pinchMidpoint = d, e.lastDistance = f, e.setTransformState(p, _, v);
|
|
2885
2851
|
}
|
|
2886
2852
|
}
|
|
2887
2853
|
}
|
|
2888
|
-
},
|
|
2854
|
+
}, gr = function(e) {
|
|
2889
2855
|
var t = e.pinchMidpoint;
|
|
2890
|
-
e.velocity = null, e.lastDistance = null, e.pinchMidpoint = null, e.pinchStartScale = null, e.pinchStartDistance = null,
|
|
2891
|
-
},
|
|
2856
|
+
e.velocity = null, e.lastDistance = null, e.pinchMidpoint = null, e.pinchStartScale = null, e.pinchStartDistance = null, kn(e, t == null ? void 0 : t.x, t == null ? void 0 : t.y);
|
|
2857
|
+
}, _r = function(e, t) {
|
|
2892
2858
|
var n = e.props.onZoomStop, r = e.setup.doubleClick.animationTime;
|
|
2893
|
-
|
|
2894
|
-
e.doubleClickStopEventTimer = null,
|
|
2859
|
+
Jn(e.doubleClickStopEventTimer), e.doubleClickStopEventTimer = setTimeout(function() {
|
|
2860
|
+
e.doubleClickStopEventTimer = null, V(Q(e), t, n);
|
|
2895
2861
|
}, r);
|
|
2896
|
-
},
|
|
2862
|
+
}, vr = function(e, t) {
|
|
2897
2863
|
var n = e.props, r = n.onZoomStart, i = n.onZoom, a = e.setup.doubleClick, o = a.animationTime, s = a.animationType;
|
|
2898
|
-
|
|
2899
|
-
return
|
|
2900
|
-
}),
|
|
2864
|
+
V(Q(e), t, r), Fn(e, o, s, function() {
|
|
2865
|
+
return V(Q(e), t, i);
|
|
2866
|
+
}), _r(e, t);
|
|
2901
2867
|
};
|
|
2902
|
-
function
|
|
2868
|
+
function yr(e, t) {
|
|
2903
2869
|
var n = e.setup, r = e.doubleClickStopEventTimer, i = e.transformState, a = e.contentComponent, o = i.scale, s = e.props, c = s.onZoomStart, l = s.onZoom, u = n.doubleClick, d = u.disabled, f = u.mode, p = u.step, m = u.animationTime, h = u.animationType;
|
|
2904
2870
|
if (!d && !r) {
|
|
2905
|
-
if (f === "reset") return
|
|
2871
|
+
if (f === "reset") return vr(e, t);
|
|
2906
2872
|
if (!a) return console.error("No ContentComponent found");
|
|
2907
|
-
var g =
|
|
2873
|
+
var g = Nn(e, f === "zoomOut" ? -1 : 1, p);
|
|
2908
2874
|
if (o !== g) {
|
|
2909
|
-
|
|
2910
|
-
var _ =
|
|
2875
|
+
V(Q(e), t, c);
|
|
2876
|
+
var _ = tr(t, a, o), v = On(e, g, _.x, _.y);
|
|
2911
2877
|
if (!v) return console.error("Error during zoom event. New transformation state was not calculated.");
|
|
2912
|
-
|
|
2878
|
+
V(Q(e), t, l), U(e, v, m, h), _r(e, t);
|
|
2913
2879
|
}
|
|
2914
2880
|
}
|
|
2915
2881
|
}
|
|
2916
|
-
var
|
|
2882
|
+
var br = function(e, t) {
|
|
2917
2883
|
var n = e.isInitialized, r = e.setup, i = e.wrapperComponent, a = r.doubleClick, o = a.disabled, s = a.excluded, c = t.target, l = i == null ? void 0 : i.contains(c);
|
|
2918
2884
|
return !(!(n && c && l && !o) || $(c, s));
|
|
2919
|
-
},
|
|
2885
|
+
}, xr = function() {
|
|
2920
2886
|
function e(e) {
|
|
2921
2887
|
var t = this;
|
|
2922
2888
|
this.mounted = !0, this.onChangeCallbacks = /* @__PURE__ */ new Set(), this.onInitCallbacks = /* @__PURE__ */ new Set(), this.wrapperComponent = null, this.contentComponent = null, this.isInitialized = !1, this.bounds = null, this.previousWheelEvent = null, this.wheelStopEventTimer = null, this.wheelAnimationTimer = null, this.isPanning = !1, this.startCoords = null, this.lastTouch = null, this.distance = null, this.lastDistance = null, this.pinchStartDistance = null, this.pinchStartScale = null, this.pinchMidpoint = null, this.doubleClickStopEventTimer = null, this.velocity = null, this.velocityTime = null, this.lastMousePosition = null, this.animate = !1, this.animation = null, this.maxBounds = null, this.pressedKeys = {}, this.mount = function() {
|
|
@@ -2924,15 +2890,15 @@ var Sr = function(e, t) {
|
|
|
2924
2890
|
}, this.unmount = function() {
|
|
2925
2891
|
t.cleanupWindowEvents();
|
|
2926
2892
|
}, this.update = function(e) {
|
|
2927
|
-
|
|
2893
|
+
W(t, t.transformState.scale), t.setup = Mn(e);
|
|
2928
2894
|
}, this.initializeWindowEvents = function() {
|
|
2929
|
-
var e, n =
|
|
2895
|
+
var e, n = qn(), r = (e = t.wrapperComponent) == null ? void 0 : e.ownerDocument, i = r == null ? void 0 : r.defaultView;
|
|
2930
2896
|
i == null || i.addEventListener("mousedown", t.onPanningStart, n), i == null || i.addEventListener("mousemove", t.onPanning, n), i == null || i.addEventListener("mouseup", t.onPanningStop, n), r == null || r.addEventListener("mouseleave", t.clearPanning, n), i == null || i.addEventListener("keyup", t.setKeyUnPressed, n), i == null || i.addEventListener("keydown", t.setKeyPressed, n);
|
|
2931
2897
|
}, this.cleanupWindowEvents = function() {
|
|
2932
|
-
var e, n, r =
|
|
2933
|
-
a == null || a.removeEventListener("mousedown", t.onPanningStart, r), a == null || a.removeEventListener("mousemove", t.onPanning, r), a == null || a.removeEventListener("mouseup", t.onPanningStop, r), i == null || i.removeEventListener("mouseleave", t.clearPanning, r), a == null || a.removeEventListener("keyup", t.setKeyUnPressed, r), a == null || a.removeEventListener("keydown", t.setKeyPressed, r), document.removeEventListener("mouseleave", t.clearPanning, r),
|
|
2898
|
+
var e, n, r = qn(), i = (e = t.wrapperComponent) == null ? void 0 : e.ownerDocument, a = i == null ? void 0 : i.defaultView;
|
|
2899
|
+
a == null || a.removeEventListener("mousedown", t.onPanningStart, r), a == null || a.removeEventListener("mousemove", t.onPanning, r), a == null || a.removeEventListener("mouseup", t.onPanningStop, r), i == null || i.removeEventListener("mouseleave", t.clearPanning, r), a == null || a.removeEventListener("keyup", t.setKeyUnPressed, r), a == null || a.removeEventListener("keydown", t.setKeyPressed, r), document.removeEventListener("mouseleave", t.clearPanning, r), H(t), (n = t.observer) == null || n.disconnect();
|
|
2934
2900
|
}, this.handleInitializeWrapperEvents = function(e) {
|
|
2935
|
-
var n =
|
|
2901
|
+
var n = qn();
|
|
2936
2902
|
e.addEventListener("wheel", t.onWheelZoom, n), e.addEventListener("dblclick", t.onDoubleClick, n), e.addEventListener("touchstart", t.onTouchPanningStart, n), e.addEventListener("touchmove", t.onTouchPanning, n), e.addEventListener("touchend", t.onTouchPanningStop, n);
|
|
2937
2903
|
}, this.handleInitialize = function(e) {
|
|
2938
2904
|
var n = t.setup.centerOnInit;
|
|
@@ -2945,45 +2911,45 @@ var Sr = function(e, t) {
|
|
|
2945
2911
|
}), t.setCenter(), (e = t.observer) == null || e.disconnect();
|
|
2946
2912
|
}), t.observer.observe(e));
|
|
2947
2913
|
}, this.onWheelZoom = function(e) {
|
|
2948
|
-
t.setup.disabled ||
|
|
2914
|
+
t.setup.disabled || Qn(t, e) && t.isPressingKeys(t.setup.wheel.activationKeys) && (dr(t, e), fr(t, e), pr(t, e));
|
|
2949
2915
|
}, this.onPanningStart = function(e) {
|
|
2950
2916
|
var n = t.setup.disabled, r = t.props.onPanningStart;
|
|
2951
|
-
n ||
|
|
2917
|
+
n || un(t, e) && t.isPressingKeys(t.setup.panning.activationKeys) && (e.preventDefault(), e.stopPropagation(), H(t), wn(t, e), V(Q(t), e, r));
|
|
2952
2918
|
}, this.onPanning = function(e) {
|
|
2953
2919
|
var n = t.setup.disabled, r = t.props.onPanning;
|
|
2954
|
-
n ||
|
|
2920
|
+
n || dn(t) && t.isPressingKeys(t.setup.panning.activationKeys) && (e.preventDefault(), e.stopPropagation(), En(t, e.clientX, e.clientY), V(Q(t), e, r));
|
|
2955
2921
|
}, this.onPanningStop = function(e) {
|
|
2956
2922
|
var n = t.props.onPanningStop;
|
|
2957
|
-
t.isPanning && (
|
|
2923
|
+
t.isPanning && (Dn(t), V(Q(t), e, n));
|
|
2958
2924
|
}, this.onPinchStart = function(e) {
|
|
2959
2925
|
var n = t.setup.disabled, r = t.props, i = r.onPinchingStart, a = r.onZoomStart;
|
|
2960
|
-
n ||
|
|
2926
|
+
n || ir(t, e) && (mr(t, e), H(t), V(Q(t), e, i), V(Q(t), e, a));
|
|
2961
2927
|
}, this.onPinch = function(e) {
|
|
2962
2928
|
var n = t.setup.disabled, r = t.props, i = r.onPinching, a = r.onZoom;
|
|
2963
|
-
n ||
|
|
2929
|
+
n || ar(t) && (e.preventDefault(), e.stopPropagation(), hr(t, e), V(Q(t), e, i), V(Q(t), e, a));
|
|
2964
2930
|
}, this.onPinchStop = function(e) {
|
|
2965
2931
|
var n = t.props, r = n.onPinchingStop, i = n.onZoomStop;
|
|
2966
|
-
t.pinchStartScale && (
|
|
2932
|
+
t.pinchStartScale && (gr(t), V(Q(t), e, r), V(Q(t), e, i));
|
|
2967
2933
|
}, this.onTouchPanningStart = function(e) {
|
|
2968
2934
|
var n = t.setup.disabled, r = t.props.onPanningStart;
|
|
2969
|
-
if (!n &&
|
|
2935
|
+
if (!n && un(t, e)) if (t.lastTouch && +/* @__PURE__ */ new Date() - t.lastTouch < 200 && e.touches.length === 1) t.onDoubleClick(e);
|
|
2970
2936
|
else {
|
|
2971
|
-
t.lastTouch = +/* @__PURE__ */ new Date(),
|
|
2937
|
+
t.lastTouch = +/* @__PURE__ */ new Date(), H(t);
|
|
2972
2938
|
var i = e.touches, a = i.length === 1, o = i.length === 2;
|
|
2973
|
-
a && (
|
|
2939
|
+
a && (H(t), wn(t, e), V(Q(t), e, r)), o && t.onPinchStart(e);
|
|
2974
2940
|
}
|
|
2975
2941
|
}, this.onTouchPanning = function(e) {
|
|
2976
2942
|
var n = t.setup.disabled, r = t.props.onPanning;
|
|
2977
2943
|
if (t.isPanning && e.touches.length === 1) {
|
|
2978
|
-
if (n || !
|
|
2944
|
+
if (n || !dn(t)) return;
|
|
2979
2945
|
e.preventDefault(), e.stopPropagation();
|
|
2980
2946
|
var i = e.touches[0];
|
|
2981
|
-
|
|
2947
|
+
En(t, i.clientX, i.clientY), V(Q(t), e, r);
|
|
2982
2948
|
} else e.touches.length > 1 && t.onPinch(e);
|
|
2983
2949
|
}, this.onTouchPanningStop = function(e) {
|
|
2984
2950
|
t.onPanningStop(e), t.onPinchStop(e);
|
|
2985
2951
|
}, this.onDoubleClick = function(e) {
|
|
2986
|
-
t.setup.disabled ||
|
|
2952
|
+
t.setup.disabled || br(t, e) && yr(t, e);
|
|
2987
2953
|
}, this.clearPanning = function(e) {
|
|
2988
2954
|
t.isPanning && t.onPanningStop(e);
|
|
2989
2955
|
}, this.setKeyPressed = function(e) {
|
|
@@ -3001,7 +2967,7 @@ var Sr = function(e, t) {
|
|
|
3001
2967
|
var a = Q(t);
|
|
3002
2968
|
t.onChangeCallbacks.forEach(function(e) {
|
|
3003
2969
|
return e(a);
|
|
3004
|
-
}),
|
|
2970
|
+
}), V(a, {
|
|
3005
2971
|
scale: e,
|
|
3006
2972
|
positionX: n,
|
|
3007
2973
|
positionY: r
|
|
@@ -3009,11 +2975,11 @@ var Sr = function(e, t) {
|
|
|
3009
2975
|
} else console.error("Detected NaN set state values");
|
|
3010
2976
|
}, this.setCenter = function() {
|
|
3011
2977
|
if (t.wrapperComponent && t.contentComponent) {
|
|
3012
|
-
var e =
|
|
2978
|
+
var e = Xn(t.transformState.scale, t.wrapperComponent, t.contentComponent);
|
|
3013
2979
|
t.setTransformState(e.scale, e.positionX, e.positionY);
|
|
3014
2980
|
}
|
|
3015
2981
|
}, this.handleTransformStyles = function(e, n, r) {
|
|
3016
|
-
return t.props.customTransform ? t.props.customTransform(e, n, r) :
|
|
2982
|
+
return t.props.customTransform ? t.props.customTransform(e, n, r) : Yn(e, n, r);
|
|
3017
2983
|
}, this.applyTransformation = function() {
|
|
3018
2984
|
if (!(!t.mounted || !t.contentComponent)) {
|
|
3019
2985
|
var e = t.transformState, n = e.scale, r = e.positionX, i = e.positionY, a = t.handleTransformStyles(r, i, n);
|
|
@@ -3030,32 +2996,32 @@ var Sr = function(e, t) {
|
|
|
3030
2996
|
t.onInitCallbacks.delete(e);
|
|
3031
2997
|
};
|
|
3032
2998
|
}, this.init = function(e, n) {
|
|
3033
|
-
t.cleanupWindowEvents(), t.wrapperComponent = e, t.contentComponent = n,
|
|
3034
|
-
}, this.props = e, this.setup =
|
|
2999
|
+
t.cleanupWindowEvents(), t.wrapperComponent = e, t.contentComponent = n, W(t, t.transformState.scale), t.handleInitializeWrapperEvents(e), t.handleInitialize(n), t.initializeWindowEvents(), t.isInitialized = !0, V(Q(t), void 0, t.props.onInit);
|
|
3000
|
+
}, this.props = e, this.setup = Mn(this.props), this.transformState = jn(this.props);
|
|
3035
3001
|
}
|
|
3036
3002
|
return e;
|
|
3037
|
-
}(),
|
|
3003
|
+
}(), Sr = u.createContext(null), Cr = function(e, t) {
|
|
3038
3004
|
return typeof e == "function" ? e(t) : e;
|
|
3039
|
-
},
|
|
3040
|
-
var n = (0,
|
|
3041
|
-
return (0,
|
|
3042
|
-
return
|
|
3043
|
-
}, [n]), (0,
|
|
3005
|
+
}, wr = u.forwardRef(function(e, t) {
|
|
3006
|
+
var n = (0, u.useRef)(new xr(e)).current, r = Cr(e.children, Wn(n));
|
|
3007
|
+
return (0, u.useImperativeHandle)(t, function() {
|
|
3008
|
+
return Wn(n);
|
|
3009
|
+
}, [n]), (0, u.useEffect)(function() {
|
|
3044
3010
|
n.update(e);
|
|
3045
|
-
}, [n, e]),
|
|
3011
|
+
}, [n, e]), u.createElement(Sr.Provider, { value: n }, r);
|
|
3046
3012
|
});
|
|
3047
|
-
|
|
3048
|
-
var n = (0,
|
|
3049
|
-
return (0,
|
|
3013
|
+
u.forwardRef(function(e, t) {
|
|
3014
|
+
var n = (0, u.useRef)(null), r = (0, u.useContext)(Sr);
|
|
3015
|
+
return (0, u.useEffect)(function() {
|
|
3050
3016
|
return r.onChange(function(e) {
|
|
3051
3017
|
if (n.current) {
|
|
3052
3018
|
var t = 0, i = 0;
|
|
3053
3019
|
n.current.style.transform = r.handleTransformStyles(t, i, 1 / e.instance.transformState.scale);
|
|
3054
3020
|
}
|
|
3055
3021
|
});
|
|
3056
|
-
}, [r]),
|
|
3022
|
+
}, [r]), u.createElement("div", Y({}, e, { ref: Zn([n, t]) }));
|
|
3057
3023
|
});
|
|
3058
|
-
function
|
|
3024
|
+
function Tr(e, t) {
|
|
3059
3025
|
t === void 0 && (t = {});
|
|
3060
3026
|
var n = t.insertAt;
|
|
3061
3027
|
if (!(!e || typeof document > "u")) {
|
|
@@ -3063,88 +3029,88 @@ function Dr(e, t) {
|
|
|
3063
3029
|
i.type = "text/css", n === "top" && r.firstChild ? r.insertBefore(i, r.firstChild) : r.appendChild(i), i.styleSheet ? i.styleSheet.cssText = e : i.appendChild(document.createTextNode(e));
|
|
3064
3030
|
}
|
|
3065
3031
|
}
|
|
3066
|
-
var
|
|
3032
|
+
var Er = ".transform-component-module_wrapper__SPB86 {\r\n position: relative;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n height: -moz-fit-content;\r\n height: fit-content;\r\n overflow: hidden;\r\n -webkit-touch-callout: none; /* iOS Safari */\r\n -webkit-user-select: none; /* Safari */\r\n -khtml-user-select: none; /* Konqueror HTML */\r\n -moz-user-select: none; /* Firefox */\r\n -ms-user-select: none; /* Internet Explorer/Edge */\r\n user-select: none;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n.transform-component-module_content__FBWxo {\r\n display: flex;\r\n flex-wrap: wrap;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n height: -moz-fit-content;\r\n height: fit-content;\r\n margin: 0;\r\n padding: 0;\r\n transform-origin: 0% 0%;\r\n}\r\n.transform-component-module_content__FBWxo img {\r\n pointer-events: none;\r\n}\r\n", Dr = {
|
|
3067
3033
|
wrapper: "transform-component-module_wrapper__SPB86",
|
|
3068
3034
|
content: "transform-component-module_content__FBWxo"
|
|
3069
3035
|
};
|
|
3070
|
-
|
|
3071
|
-
var
|
|
3072
|
-
var t = e.children, n = e.wrapperClass, r = n === void 0 ? "" : n, i = e.contentClass, a = i === void 0 ? "" : i, o = e.wrapperStyle, s = e.contentStyle, c = e.wrapperProps,
|
|
3073
|
-
return (0,
|
|
3036
|
+
Tr(Er);
|
|
3037
|
+
var Or = function(e) {
|
|
3038
|
+
var t = e.children, n = e.wrapperClass, r = n === void 0 ? "" : n, i = e.contentClass, a = i === void 0 ? "" : i, o = e.wrapperStyle, s = e.contentStyle, c = e.wrapperProps, l = c === void 0 ? {} : c, d = e.contentProps, f = d === void 0 ? {} : d, p = (0, u.useContext)(Sr).init, m = (0, u.useRef)(null), h = (0, u.useRef)(null);
|
|
3039
|
+
return (0, u.useEffect)(function() {
|
|
3074
3040
|
var e = m.current, t = h.current;
|
|
3075
3041
|
e !== null && t !== null && p && p(e, t);
|
|
3076
|
-
}, []),
|
|
3042
|
+
}, []), u.createElement("div", Y({}, l, {
|
|
3077
3043
|
ref: m,
|
|
3078
|
-
className: `react-transform-wrapper ${
|
|
3044
|
+
className: `react-transform-wrapper ${Dr.wrapper} ${r}`,
|
|
3079
3045
|
style: o
|
|
3080
|
-
}),
|
|
3046
|
+
}), u.createElement("div", Y({}, f, {
|
|
3081
3047
|
ref: h,
|
|
3082
|
-
className: `react-transform-component ${
|
|
3048
|
+
className: `react-transform-component ${Dr.content} ${a}`,
|
|
3083
3049
|
style: s
|
|
3084
3050
|
}), t));
|
|
3085
|
-
},
|
|
3086
|
-
var e = (0,
|
|
3051
|
+
}, kr = function() {
|
|
3052
|
+
var e = (0, u.useContext)(Sr);
|
|
3087
3053
|
if (!e) throw Error("Transform context mus be placed inside TransformWrapper");
|
|
3088
3054
|
return e;
|
|
3089
|
-
},
|
|
3090
|
-
var t =
|
|
3091
|
-
(0,
|
|
3055
|
+
}, Ar = function(e) {
|
|
3056
|
+
var t = kr();
|
|
3057
|
+
(0, u.useEffect)(function() {
|
|
3092
3058
|
var n, r = t.onChange(function(t) {
|
|
3093
|
-
n = e(
|
|
3059
|
+
n = e(Gn(t.instance));
|
|
3094
3060
|
});
|
|
3095
3061
|
return function() {
|
|
3096
3062
|
r(), n == null || n();
|
|
3097
3063
|
};
|
|
3098
3064
|
}, [e, t]);
|
|
3099
|
-
},
|
|
3065
|
+
}, jr = s(({ zoomIn: e, zoomOut: t, onClose: n }) => /* @__PURE__ */ (0, d.jsxs)("div", {
|
|
3100
3066
|
className: "gallery-slider__controls",
|
|
3101
3067
|
children: [
|
|
3102
|
-
/* @__PURE__ */ (0,
|
|
3068
|
+
/* @__PURE__ */ (0, d.jsx)("button", {
|
|
3103
3069
|
className: "gallery-slider__btn close",
|
|
3104
3070
|
title: i("Close"),
|
|
3105
3071
|
"aria-label": i("Close"),
|
|
3106
3072
|
onClick: n,
|
|
3107
|
-
children: /* @__PURE__ */ (0,
|
|
3073
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", {
|
|
3108
3074
|
className: "icon-close",
|
|
3109
3075
|
"aria-hidden": "true"
|
|
3110
3076
|
})
|
|
3111
3077
|
}),
|
|
3112
|
-
/* @__PURE__ */ (0,
|
|
3078
|
+
/* @__PURE__ */ (0, d.jsx)("button", {
|
|
3113
3079
|
className: "gallery-slider__btn zoom-in",
|
|
3114
3080
|
title: i("Zoom In"),
|
|
3115
3081
|
"aria-label": i("Zoom In"),
|
|
3116
3082
|
onClick: () => e(),
|
|
3117
|
-
children: /* @__PURE__ */ (0,
|
|
3083
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", {
|
|
3118
3084
|
className: "icon-zoom-in",
|
|
3119
3085
|
"aria-hidden": "true"
|
|
3120
3086
|
})
|
|
3121
3087
|
}),
|
|
3122
|
-
/* @__PURE__ */ (0,
|
|
3088
|
+
/* @__PURE__ */ (0, d.jsx)("button", {
|
|
3123
3089
|
className: "gallery-slider__btn zoom-out",
|
|
3124
3090
|
title: i("Zoom Out"),
|
|
3125
3091
|
"aria-label": i("Zoom Out"),
|
|
3126
3092
|
onClick: () => t(),
|
|
3127
|
-
children: /* @__PURE__ */ (0,
|
|
3093
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", {
|
|
3128
3094
|
className: "icon-zoom-out",
|
|
3129
3095
|
"aria-hidden": "true"
|
|
3130
3096
|
})
|
|
3131
3097
|
})
|
|
3132
3098
|
]
|
|
3133
|
-
})),
|
|
3099
|
+
})), Mr = ({ swiperRef: e, leading: t, url: n }) => (Ar(({ state: t, instance: n }) => {
|
|
3134
3100
|
e.current && (e.current.allowTouchMove = t.scale === 1, t.scale === 1 && t.positionX !== 0 && t.positionY !== 0 && n.setCenter());
|
|
3135
|
-
}), /* @__PURE__ */ (0,
|
|
3101
|
+
}), /* @__PURE__ */ (0, d.jsx)(Or, {
|
|
3136
3102
|
wrapperClass: "gallery-slider__zoom",
|
|
3137
3103
|
contentClass: "gallery-slider__zoom-content",
|
|
3138
|
-
children: /* @__PURE__ */ (0,
|
|
3104
|
+
children: /* @__PURE__ */ (0, d.jsx)(m, {
|
|
3139
3105
|
isFullscreen: !0,
|
|
3140
3106
|
leading: t,
|
|
3141
3107
|
url: n
|
|
3142
3108
|
})
|
|
3143
|
-
})),
|
|
3144
|
-
let { images: t, leading: n, initialSlideIndex: r, onClose: a, className: o } = e, s =
|
|
3109
|
+
})), Nr = s((e) => {
|
|
3110
|
+
let { images: t, leading: n, initialSlideIndex: r, onClose: a, className: o } = e, s = c(), [f, p] = (0, u.useState)(r), [m, h] = (0, u.useState)([]), _ = (0, u.useRef)(null), v = (0, u.useRef)(null), y = (0, u.useRef)(null), b = {
|
|
3145
3111
|
initialSlide: r,
|
|
3146
3112
|
draggable: !1,
|
|
3147
|
-
modules: [
|
|
3113
|
+
modules: [Mt],
|
|
3148
3114
|
spaceBetween: 50,
|
|
3149
3115
|
slidesPerView: 1,
|
|
3150
3116
|
navigation: {
|
|
@@ -3152,46 +3118,46 @@ var Ar = function(e) {
|
|
|
3152
3118
|
nextEl: y.current
|
|
3153
3119
|
},
|
|
3154
3120
|
grabCursor: !0
|
|
3155
|
-
}, x = /* @__PURE__ */ (0,
|
|
3156
|
-
className: (0,
|
|
3157
|
-
children: /* @__PURE__ */ (0,
|
|
3121
|
+
}, x = /* @__PURE__ */ (0, d.jsx)("div", {
|
|
3122
|
+
className: (0, l.default)("gallery-modal", o),
|
|
3123
|
+
children: /* @__PURE__ */ (0, d.jsxs)(Zt, {
|
|
3158
3124
|
onSwiper: (e) => _.current = e,
|
|
3159
3125
|
className: "gallery-slider",
|
|
3160
3126
|
onSlideChange: (e) => {
|
|
3161
3127
|
var t;
|
|
3162
|
-
p(e.activeIndex), (t =
|
|
3128
|
+
p(e.activeIndex), (t = m[e.previousIndex]) == null || t.resetTransform();
|
|
3163
3129
|
},
|
|
3164
3130
|
...b,
|
|
3165
3131
|
children: [
|
|
3166
|
-
|
|
3132
|
+
m.length ? /* @__PURE__ */ (0, d.jsx)(jr, {
|
|
3167
3133
|
onClose: a,
|
|
3168
|
-
zoomIn:
|
|
3169
|
-
zoomOut:
|
|
3134
|
+
zoomIn: m[f].zoomIn,
|
|
3135
|
+
zoomOut: m[f].zoomOut
|
|
3170
3136
|
}) : null,
|
|
3171
|
-
t.length > 1 && /* @__PURE__ */ (0,
|
|
3137
|
+
t.length > 1 && /* @__PURE__ */ (0, d.jsx)("button", {
|
|
3172
3138
|
ref: y,
|
|
3173
3139
|
title: i("Next slide"),
|
|
3174
3140
|
"aria-label": "˃",
|
|
3175
3141
|
className: "gallery-slider__btn next",
|
|
3176
|
-
children: /* @__PURE__ */ (0,
|
|
3142
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", { className: "icon-chevron-right" })
|
|
3177
3143
|
}),
|
|
3178
|
-
t.length > 1 && /* @__PURE__ */ (0,
|
|
3144
|
+
t.length > 1 && /* @__PURE__ */ (0, d.jsx)("button", {
|
|
3179
3145
|
ref: v,
|
|
3180
3146
|
title: i("Prev slide"),
|
|
3181
3147
|
"aria-label": "˂",
|
|
3182
3148
|
className: "gallery-slider__btn prev",
|
|
3183
|
-
children: /* @__PURE__ */ (0,
|
|
3149
|
+
children: /* @__PURE__ */ (0, d.jsx)("i", { className: "icon-chevron-left" })
|
|
3184
3150
|
}),
|
|
3185
|
-
t.map((e, t) => /* @__PURE__ */ (0,
|
|
3151
|
+
t.map((e, t) => /* @__PURE__ */ (0, d.jsx)($t, { children: /* @__PURE__ */ (0, d.jsx)(wr, {
|
|
3186
3152
|
initialScale: 1,
|
|
3187
3153
|
alignmentAnimation: {
|
|
3188
3154
|
sizeX: 0,
|
|
3189
3155
|
sizeY: 0
|
|
3190
3156
|
},
|
|
3191
3157
|
onInit: (e) => {
|
|
3192
|
-
|
|
3158
|
+
h((t) => [...t, e]);
|
|
3193
3159
|
},
|
|
3194
|
-
children: /* @__PURE__ */ (0,
|
|
3160
|
+
children: /* @__PURE__ */ (0, d.jsx)(Mr, {
|
|
3195
3161
|
leading: n,
|
|
3196
3162
|
swiperRef: _,
|
|
3197
3163
|
url: e
|
|
@@ -3200,59 +3166,59 @@ var Ar = function(e) {
|
|
|
3200
3166
|
]
|
|
3201
3167
|
})
|
|
3202
3168
|
});
|
|
3203
|
-
return s ? (0,
|
|
3204
|
-
}),
|
|
3205
|
-
let { images: t, leading: n = !1, onImageLoadHeightUpdate: r, onOpenGallery: i, onCloseGallery: a, className: o } = e, [s, c] = (0,
|
|
3206
|
-
|
|
3169
|
+
return s ? (0, g.createPortal)(x, s) : null;
|
|
3170
|
+
}), Pr = /* @__PURE__ */ e({ default: () => Fr }), Fr = (e) => {
|
|
3171
|
+
let { images: t, leading: n = !1, onImageLoadHeightUpdate: r, onOpenGallery: i, onCloseGallery: a, className: o } = e, [s, c] = (0, u.useState)(!1), [m, g] = (0, u.useState)(0), [_, v] = (0, u.useState)(!1), y = (e) => {
|
|
3172
|
+
g(e), c(!0), i && i();
|
|
3207
3173
|
}, b = () => {
|
|
3208
3174
|
c(!1), a && a();
|
|
3209
3175
|
}, x = (e) => {
|
|
3210
3176
|
let t = e.split("/"), n = t[t.length - 1];
|
|
3211
3177
|
return n.indexOf("original-") === -1 && (t[t.length - 1] = "original-" + n), t.join("/");
|
|
3212
3178
|
}, S = (e, t) => t ? x(e) : e;
|
|
3213
|
-
return (0,
|
|
3179
|
+
return (0, u.useEffect)(() => {
|
|
3214
3180
|
(async () => {
|
|
3215
3181
|
if (t.length > 0) {
|
|
3216
3182
|
let e = S(t[0], !0);
|
|
3217
3183
|
try {
|
|
3218
|
-
await
|
|
3184
|
+
await p.load(e), v(!0);
|
|
3219
3185
|
} catch {
|
|
3220
|
-
|
|
3186
|
+
v(!1);
|
|
3221
3187
|
}
|
|
3222
3188
|
}
|
|
3223
3189
|
})();
|
|
3224
|
-
}, [t]), /* @__PURE__ */ (0,
|
|
3225
|
-
className: (0,
|
|
3226
|
-
children: [/* @__PURE__ */ (0,
|
|
3190
|
+
}, [t]), /* @__PURE__ */ (0, d.jsxs)(u.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
3191
|
+
className: (0, l.default)("gallery", { "gallery-leading": n }, o),
|
|
3192
|
+
children: [/* @__PURE__ */ (0, d.jsx)("div", {
|
|
3227
3193
|
className: "gallery__wrapper",
|
|
3228
|
-
children: n ? /* @__PURE__ */ (0,
|
|
3194
|
+
children: n ? /* @__PURE__ */ (0, d.jsx)(h, {
|
|
3229
3195
|
url: t[0],
|
|
3230
3196
|
leading: n,
|
|
3231
3197
|
setHeight: !0,
|
|
3232
3198
|
fillMode: "contain",
|
|
3233
3199
|
onClick: () => y(0),
|
|
3234
3200
|
onImageLoadHeightUpdate: r
|
|
3235
|
-
}) : t.map((e, t) => /* @__PURE__ */ (0,
|
|
3201
|
+
}) : t.map((e, t) => /* @__PURE__ */ (0, d.jsx)(h, {
|
|
3236
3202
|
url: e,
|
|
3237
3203
|
position: "top",
|
|
3238
3204
|
fillMode: "cover",
|
|
3239
3205
|
onClick: () => y(t),
|
|
3240
3206
|
onImageLoadHeightUpdate: r
|
|
3241
3207
|
}, e + t))
|
|
3242
|
-
}), !n && /* @__PURE__ */ (0,
|
|
3208
|
+
}), !n && /* @__PURE__ */ (0, d.jsx)(f, {
|
|
3243
3209
|
onFullscreen: () => y(0),
|
|
3244
3210
|
count: t.length
|
|
3245
3211
|
})]
|
|
3246
|
-
}), s && /* @__PURE__ */ (0,
|
|
3212
|
+
}), s && /* @__PURE__ */ (0, d.jsx)(Nr, {
|
|
3247
3213
|
className: o,
|
|
3248
|
-
images: t.map((e) => S(e,
|
|
3214
|
+
images: t.map((e) => S(e, _)),
|
|
3249
3215
|
leading: n,
|
|
3250
|
-
initialSlideIndex:
|
|
3216
|
+
initialSlideIndex: m,
|
|
3251
3217
|
onClose: b
|
|
3252
3218
|
})] });
|
|
3253
3219
|
};
|
|
3254
3220
|
//#endregion
|
|
3255
|
-
export {
|
|
3221
|
+
export { Pr as t };
|
|
3256
3222
|
|
|
3257
3223
|
;/* vite-per-chunk-css */
|
|
3258
3224
|
__vite_inject_css__(".gallery-modal{z-index:999;background:#16171a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.gallery-modal .icon{fill:none}.gallery-slider{width:100%;height:100%}.gallery-slider .swiper-slide{align-items:center;display:flex;overflow:hidden}.gallery-slider .gallery__img{background-position:50%}.gallery-slider__controls{top:calc(1.875rem * var(--ui-scale));z-index:10;gap:calc(.5rem * var(--ui-scale));flex-direction:column;display:flex;position:absolute}.gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:calc(3.125rem * var(--ui-scale));cursor:pointer;background:#3030308f;border:none;justify-content:center;align-items:center;padding:0;transition:background .2s;display:flex}.gallery-slider__btn>i{font-size:calc(1.5rem * var(--ui-scale));color:#fff}.gallery-slider__btn:hover{background:#30303066}.gallery-slider__btn.next,.gallery-slider__btn.prev{z-index:11;position:absolute;top:50%;transform:translateY(-50%)}.gallery-slider__btn.next:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.next:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn.prev:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(1.875rem * var(--ui-scale))}.gallery-slider__btn:disabled{display:none}.gallery-slider__zoom{width:100%;height:100%;overflow:visible}.gallery-slider__zoom-content{width:100%;height:100%;padding:calc(2.5rem * var(--ui-scale));transform-origin:0 0;justify-content:center;align-items:center;display:flex}.gallery-modal.xs .gallery-slider__controls,.gallery-modal.sm .gallery-slider__controls,.gallery-modal.md .gallery-slider__controls{top:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.sm .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.md .gallery-slider__controls:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(1.25rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__btn,.gallery-modal.sm .gallery-slider__btn,.gallery-modal.md .gallery-slider__btn{width:calc(3.125rem * var(--ui-scale));height:calc(3.125rem * var(--ui-scale))}.gallery-modal.xs .gallery-slider__btn.zoom-in,.gallery-modal.xs .gallery-slider__btn.zoom-out,.gallery-modal.xs .gallery-slider__btn.next,.gallery-modal.xs .gallery-slider__btn.prev,.gallery-modal.sm .gallery-slider__btn.zoom-in,.gallery-modal.sm .gallery-slider__btn.zoom-out,.gallery-modal.sm .gallery-slider__btn.next,.gallery-modal.sm .gallery-slider__btn.prev,.gallery-modal.md .gallery-slider__btn.zoom-in,.gallery-modal.md .gallery-slider__btn.zoom-out,.gallery-modal.md .gallery-slider__btn.next,.gallery-modal.md .gallery-slider__btn.prev{display:none}.gallery-modal.xs .gallery-slider__zoom-content,.gallery-modal.sm .gallery-slider__zoom-content,.gallery-modal.md .gallery-slider__zoom-content{padding:20px}.layout[dir=rtl] .gallery-slider__btn.next,.layout[dir=rtl] .gallery-slider__btn.prev{transform:scaleX(-1)}@font-face{font-family:swiper-icons;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{z-index:1;margin-left:auto;margin-right:auto;padding:0;list-style:none;display:block;position:relative;overflow:hidden}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{z-index:1;width:100%;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box;display:flex;position:relative}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate(0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.swiper-css-mode>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-top:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-top-color:#0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.gallery{height:calc(15rem * var(--ui-scale));cursor:pointer;position:relative}.gallery .icon{fill:none}.gallery__img{width:100%;height:100%}.gallery__wrapper{height:100%;display:flex;overflow:hidden}.gallery__item{background:var(--color-black);flex-shrink:0;gap:10px;width:100%}.gallery__badge{z-index:2;height:calc(2rem * var(--ui-scale));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-size:var(--font-size-lg);color:var(--color-white);background:#1f1f1f99;border-radius:6px;justify-content:center;align-items:center;display:flex;position:absolute}.gallery__badge:hover{background:#303030cc}.gallery__badge-count{top:calc(.9375rem * var(--ui-scale));padding:0 calc(.625rem * var(--ui-scale));pointer-events:none}.gallery__badge-count:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-count:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen{top:calc(.9375rem * var(--ui-scale));width:calc(2rem * var(--ui-scale))}.gallery__badge-fullscreen:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}.gallery__badge-fullscreen:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(.9375rem * var(--ui-scale))}@media (max-width:998px){.gallery__badge-fullscreen{display:none}}.gallery__badge span:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.gallery__badge span:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:calc(.5rem * var(--ui-scale))}.gallery__badge span:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.gallery__badge span:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:calc(.5rem * var(--ui-scale))}.gallery__badge>i{font-size:var(--icon-size-md)}.gallery-leading{height:auto}.gallery-leading .gallery__img{background-size:contain}.gallery-leading .gallery__item{height:auto!important}.gallery.xs .gallery__wrapper,.gallery.sm .gallery__wrapper,.gallery.md .gallery__wrapper{grid-gap:calc(1rem * var(--ui-scale));-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-template-rows:50%;grid-template-columns:repeat(auto-fill,minmax(75%,1fr));grid-auto-columns:minmax(75%,1fr);grid-auto-flow:column;display:grid;overflow-x:visible}.gallery.xs .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.sm .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.md .gallery__wrapper::-webkit-scrollbar{display:none}.gallery.xs .gallery__item,.gallery.sm .gallery__item,.gallery.md .gallery__item{height:240px}.gallery.xs .gallery__item:nth-child(3n+2),.gallery.sm .gallery__item:nth-child(3n+2),.gallery.md .gallery__item:nth-child(3n+2){grid-row:1/-1;height:120px}.gallery.xs .gallery__item:nth-child(3n),.gallery.sm .gallery__item:nth-child(3n),.gallery.md .gallery__item:nth-child(3n){grid-row:2/-1;height:120px}.gallery.xs .gallery__item:nth-child(3n-2),.gallery.sm .gallery__item:nth-child(3n-2),.gallery.md .gallery__item:nth-child(3n-2){grid-row:1/-1}.gallery.xs .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.gallery.sm .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)),.gallery.md .gallery__item:nth-child(3n+2):last-child:not(:nth-child(3)){grid-row:span 2;height:240px}\n/*$vite$:1*/", "Gallery.css", false);
|