@tarojs/components 4.1.9 → 4.1.10-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ad-909844fb.js → ad-6e5e6c21.js} +1 -1
- package/dist/cjs/{ad-custom-71f006aa.js → ad-custom-03478475.js} +1 -1
- package/dist/cjs/{animation-video-87e4a29d.js → animation-video-7fc33f99.js} +1 -1
- package/dist/cjs/{animation-view-31ea61a7.js → animation-view-80fa5d0f.js} +1 -1
- package/dist/cjs/{ar-camera-b90191d5.js → ar-camera-a5b4fc84.js} +1 -1
- package/dist/cjs/{audio-ac366435.js → audio-df2bacdd.js} +1 -1
- package/dist/cjs/{aweme-data-b6ab115e.js → aweme-data-c526f1a1.js} +1 -1
- package/dist/cjs/{block-ac3c2a0d.js → block-019beb65.js} +1 -1
- package/dist/cjs/{button-3199792d.js → button-8f729d81.js} +1 -1
- package/dist/cjs/{camera-b63879f2.js → camera-d82d6f4d.js} +1 -1
- package/dist/cjs/{canvas-77c69c3e.js → canvas-5ed991dd.js} +1 -1
- package/dist/cjs/{channel-live-bf6d9754.js → channel-live-691e20a5.js} +1 -1
- package/dist/cjs/{channel-video-78482de0.js → channel-video-126a3305.js} +1 -1
- package/dist/cjs/{checkbox-3521a8df.js → checkbox-ffc9c1a2.js} +1 -1
- package/dist/cjs/{comment-detail-33e7ae45.js → comment-detail-87637299.js} +1 -1
- package/dist/cjs/{comment-list-684be2f0.js → comment-list-a18163da.js} +1 -1
- package/dist/cjs/{contact-button-658f1fb9.js → contact-button-75ae4609.js} +1 -1
- package/dist/cjs/{cover-image-72269c60.js → cover-image-1bf95a9b.js} +1 -1
- package/dist/cjs/{cover-view-6b272b51.js → cover-view-a0e4395c.js} +1 -1
- package/dist/cjs/{custom-wrapper-fbd23853.js → custom-wrapper-64a8245e.js} +1 -1
- package/dist/cjs/{draggable-sheet-f4116177.js → draggable-sheet-749618d6.js} +1 -1
- package/dist/cjs/{editor-9f490079.js → editor-81a773f9.js} +1 -1
- package/dist/cjs/{follow-swan-8653b271.js → follow-swan-794e3367.js} +1 -1
- package/dist/cjs/{form-e1bf4230.js → form-f24b8935.js} +1 -1
- package/dist/cjs/{functional-page-navigator-77a37a62.js → functional-page-navigator-db0aeeb5.js} +1 -1
- package/dist/cjs/{grid-builder-9d42a8b7.js → grid-builder-0757691d.js} +1 -1
- package/dist/cjs/{grid-view-f9195d52.js → grid-view-b77da424.js} +1 -1
- package/dist/cjs/{icon-45fd466b.js → icon-93e7c472.js} +1 -1
- package/dist/cjs/{image-b96cc2ca.js → image-4303ed3a.js} +1 -1
- package/dist/cjs/index.cjs.js +92 -92
- package/dist/cjs/{inline-payment-panel-2c3a8740.js → inline-payment-panel-0068d0e4.js} +1 -1
- package/dist/cjs/{input-7fd687a1.js → input-f39a63db.js} +1 -1
- package/dist/cjs/{keyboard-accessory-1531d755.js → keyboard-accessory-d7d227b7.js} +1 -1
- package/dist/cjs/{label-2ad4be32.js → label-e54a79ee.js} +1 -1
- package/dist/cjs/{lifestyle-0430d0c3.js → lifestyle-189b4b3a.js} +1 -1
- package/dist/cjs/{like-954977d0.js → like-b6a72cb7.js} +1 -1
- package/dist/cjs/{list-builder-cb572bc2.js → list-builder-d7a3f023.js} +1 -1
- package/dist/cjs/{list-view-8b7d465e.js → list-view-7cf454c7.js} +1 -1
- package/dist/cjs/{live-player-cca484f4.js → live-player-2115d649.js} +1 -1
- package/dist/cjs/{live-pusher-a9df7da1.js → live-pusher-6a8da38c.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{login-89961df4.js → login-cd972083.js} +1 -1
- package/dist/cjs/{lottie-3f432e9a.js → lottie-802328ca.js} +1 -1
- package/dist/cjs/{map-c6f03579.js → map-841765a9.js} +1 -1
- package/dist/cjs/{match-media-53f34cf8.js → match-media-6e2efc2f.js} +1 -1
- package/dist/cjs/{movable-view-4aa48db8.js → movable-view-9fa169e1.js} +1 -1
- package/dist/cjs/{native-slot-3ad5a4b9.js → native-slot-142506c1.js} +1 -1
- package/dist/cjs/{navigation-bar-063189bb.js → navigation-bar-b4ff564a.js} +1 -1
- package/dist/cjs/{navigator-4ccebef7.js → navigator-43495d4f.js} +1 -1
- package/dist/cjs/{nested-scroll-body-0e9b295e.js → nested-scroll-body-9caab58f.js} +1 -1
- package/dist/cjs/{nested-scroll-header-f265633e.js → nested-scroll-header-c5b64f3d.js} +1 -1
- package/dist/cjs/{official-account-19df606b.js → official-account-f53ef4c9.js} +1 -1
- package/dist/cjs/{open-container-012dd1ed.js → open-container-dcb0756e.js} +1 -1
- package/dist/cjs/{open-data-18667d8a.js → open-data-295d2a0f.js} +1 -1
- package/dist/cjs/{page-container-51628da9.js → page-container-c02ef21e.js} +1 -1
- package/dist/cjs/{page-meta-ae13a642.js → page-meta-80a7a861.js} +1 -1
- package/dist/cjs/{picker-3532538d.js → picker-0b3ae89d.js} +1 -1
- package/dist/cjs/{picker-view-94a2431b.js → picker-view-ee39f2b6.js} +1 -1
- package/dist/cjs/{progress-7b65c9b4.js → progress-0434432f.js} +1 -1
- package/dist/cjs/{pull-to-refresh-1e5d8d41.js → pull-to-refresh-a7a9d80c.js} +1 -1
- package/dist/cjs/{radio-a2e724bf.js → radio-fa441dee.js} +1 -1
- package/dist/cjs/{rich-text-5c7c4a6e.js → rich-text-f88b18dd.js} +1 -1
- package/dist/cjs/{root-portal-c867e7ee.js → root-portal-849d424f.js} +1 -1
- package/dist/cjs/{rtc-room-8b63e998.js → rtc-room-e32e8e93.js} +1 -1
- package/dist/cjs/{rtc-room-item-ee14c692.js → rtc-room-item-f2696f3e.js} +1 -1
- package/dist/cjs/{script-83f5c866.js → script-1d8392d2.js} +1 -1
- package/dist/cjs/{script-a58fb9e5.js → script-2eb2d361.js} +1 -1
- package/dist/cjs/{script-52e94bcd.js → script-33ab1b9b.js} +1 -1
- package/dist/cjs/{script-29dede35.js → script-66238de4.js} +1 -1
- package/dist/cjs/{script-d651b57d.js → script-7d8a337e.js} +1 -1
- package/dist/cjs/{script-5a1940c1.js → script-9767d763.js} +1 -1
- package/dist/cjs/{script-221a7aaa.js → script-aa62f496.js} +1 -1
- package/dist/cjs/{script-6d3e3c78.js → script-d39c17ed.js} +1 -1
- package/dist/cjs/{script-b479486e.js → script-d7887902.js} +1 -1
- package/dist/cjs/{scroll-view-b8c67e53.js → scroll-view-65cb8d5f.js} +1 -1
- package/dist/cjs/{share-element-bfd610be.js → share-element-68928fbf.js} +1 -1
- package/dist/cjs/{slider-d4704c13.js → slider-4093049a.js} +1 -1
- package/dist/cjs/{slot-61d0e0f5.js → slot-bb81659e.js} +1 -1
- package/dist/cjs/{snapshot-8fe00850.js → snapshot-c2520c58.js} +1 -1
- package/dist/cjs/{span-74f32725.js → span-fb1efcaf.js} +1 -1
- package/dist/cjs/{sticky-header-eb66bbd9.js → sticky-header-dcde70ca.js} +1 -1
- package/dist/cjs/{sticky-section-e05ae4ea.js → sticky-section-170bc892.js} +1 -1
- package/dist/cjs/{swiper-08fa600a.js → swiper-3ab835bb.js} +1 -1
- package/dist/cjs/{switch-06aeaff6.js → switch-586022a8.js} +1 -1
- package/dist/cjs/{tab-item-35eb2f51.js → tab-item-cfa3339e.js} +1 -1
- package/dist/cjs/{tabbar-89b7eb5f.js → tabbar-41113df5.js} +1 -1
- package/dist/cjs/{tabs-b3830bd9.js → tabs-be7f918d.js} +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-double-tap-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-force-press-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-horizontal-drag-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-long-press-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pan-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scale-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-script-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-span-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tap-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-vertical-drag-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/cjs/{text-27f4e61b.js → text-642f2f48.js} +1 -1
- package/dist/cjs/{textarea-03ef0404.js → textarea-3f14df1c.js} +1 -1
- package/dist/cjs/{video-45045360.js → video-cd8fa901.js} +1 -1
- package/dist/cjs/{view-bb3b5c8a.js → view-609adfc6.js} +1 -1
- package/dist/cjs/{voip-room-cb8c8cc2.js → voip-room-7f55d8a0.js} +1 -1
- package/dist/cjs/{web-view-ed08cbfe.js → web-view-be5a2d1d.js} +1 -1
- package/dist/esm/{ad-48f28b9e.js → ad-cfb00041.js} +1 -1
- package/dist/esm/{ad-custom-defecd97.js → ad-custom-4a0d4eb2.js} +1 -1
- package/dist/esm/{animation-video-b51f4a7c.js → animation-video-5215c138.js} +1 -1
- package/dist/esm/{animation-view-e2fcd88e.js → animation-view-a07c6ea9.js} +1 -1
- package/dist/esm/{ar-camera-acf3d68e.js → ar-camera-d578c533.js} +1 -1
- package/dist/esm/{audio-c291898a.js → audio-fd0e719f.js} +1 -1
- package/dist/esm/{aweme-data-7e5c0c6d.js → aweme-data-2e12d8c9.js} +1 -1
- package/dist/esm/{block-1f41d680.js → block-796aa7d8.js} +1 -1
- package/dist/esm/{button-c0ac8383.js → button-cd801674.js} +1 -1
- package/dist/esm/{camera-3443a46b.js → camera-1791b404.js} +1 -1
- package/dist/esm/{canvas-0385a648.js → canvas-5531b496.js} +1 -1
- package/dist/esm/{channel-live-d88ef38c.js → channel-live-b63e080a.js} +1 -1
- package/dist/esm/{channel-video-dc757082.js → channel-video-d4ee7254.js} +1 -1
- package/dist/esm/{checkbox-199f413e.js → checkbox-da6b07ea.js} +1 -1
- package/dist/esm/{comment-detail-838cc0f3.js → comment-detail-02a3e8ee.js} +1 -1
- package/dist/esm/{comment-list-24df950e.js → comment-list-a62325be.js} +1 -1
- package/dist/esm/{contact-button-927eba4a.js → contact-button-68e95a69.js} +1 -1
- package/dist/esm/{cover-image-7b3fd678.js → cover-image-0783b2c1.js} +1 -1
- package/dist/esm/{cover-view-d66d45c3.js → cover-view-8330b60d.js} +1 -1
- package/dist/esm/{custom-wrapper-312b694e.js → custom-wrapper-0bb13a12.js} +1 -1
- package/dist/esm/{draggable-sheet-8cf6063a.js → draggable-sheet-67355f70.js} +1 -1
- package/dist/esm/{editor-01342212.js → editor-743e35d0.js} +1 -1
- package/dist/esm/{follow-swan-09af62e1.js → follow-swan-dbdf5cc8.js} +1 -1
- package/dist/esm/{form-6af3004e.js → form-576398ba.js} +1 -1
- package/dist/esm/{functional-page-navigator-4ffe94e3.js → functional-page-navigator-63f675f4.js} +1 -1
- package/dist/esm/{grid-builder-9a73f7ea.js → grid-builder-cf0aa856.js} +1 -1
- package/dist/esm/{grid-view-a2f46f14.js → grid-view-353586e4.js} +1 -1
- package/dist/esm/{icon-9fd94b70.js → icon-88383f2c.js} +1 -1
- package/dist/esm/{image-7596227a.js → image-b0b222bc.js} +1 -1
- package/dist/esm/index.js +92 -92
- package/dist/esm/{inline-payment-panel-698f76af.js → inline-payment-panel-73925dd2.js} +1 -1
- package/dist/esm/{input-97ab0ed7.js → input-4104e3ea.js} +1 -1
- package/dist/esm/{keyboard-accessory-048b761c.js → keyboard-accessory-fd485a31.js} +1 -1
- package/dist/esm/{label-1e7a45a4.js → label-94ef4b17.js} +1 -1
- package/dist/esm/{lifestyle-a014bb16.js → lifestyle-4db11299.js} +1 -1
- package/dist/esm/{like-66052a69.js → like-d61fe792.js} +1 -1
- package/dist/esm/{list-builder-99526426.js → list-builder-e0d9e871.js} +1 -1
- package/dist/esm/{list-view-e5769b40.js → list-view-84529418.js} +1 -1
- package/dist/esm/{live-player-4d30100c.js → live-player-e4dbe4cf.js} +1 -1
- package/dist/esm/{live-pusher-ddc67ba4.js → live-pusher-15c48b78.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{login-d0d30da5.js → login-d932daf9.js} +1 -1
- package/dist/esm/{lottie-951b23d1.js → lottie-2ada69b7.js} +1 -1
- package/dist/esm/{map-ff6d8c62.js → map-c6cd24f4.js} +1 -1
- package/dist/esm/{match-media-fe5e6f4a.js → match-media-2cdc536a.js} +1 -1
- package/dist/esm/{movable-view-9d51f85f.js → movable-view-c1358d1e.js} +1 -1
- package/dist/esm/{native-slot-9e3cfbbf.js → native-slot-98020f54.js} +1 -1
- package/dist/esm/{navigation-bar-e787389c.js → navigation-bar-eda66236.js} +1 -1
- package/dist/esm/{navigator-cf46fff9.js → navigator-65877bda.js} +1 -1
- package/dist/esm/{nested-scroll-body-6b2153d8.js → nested-scroll-body-b1053924.js} +1 -1
- package/dist/esm/{nested-scroll-header-3a83bdc1.js → nested-scroll-header-10ba047c.js} +1 -1
- package/dist/esm/{official-account-a86564d1.js → official-account-75c8fa4e.js} +1 -1
- package/dist/esm/{open-container-0fc7a7a6.js → open-container-d288ae08.js} +1 -1
- package/dist/esm/{open-data-4561c399.js → open-data-9e1673e1.js} +1 -1
- package/dist/esm/{page-container-7147a62e.js → page-container-b5b82c32.js} +1 -1
- package/dist/esm/{page-meta-e3d5fdbf.js → page-meta-518b39b7.js} +1 -1
- package/dist/esm/{picker-c2e3a123.js → picker-6a565e02.js} +1 -1
- package/dist/esm/{picker-view-a46361b4.js → picker-view-52390656.js} +1 -1
- package/dist/esm/{progress-46b49ff7.js → progress-f99ddb18.js} +1 -1
- package/dist/esm/{pull-to-refresh-ee5084d0.js → pull-to-refresh-e8972159.js} +1 -1
- package/dist/esm/{radio-8486df23.js → radio-9b356d76.js} +1 -1
- package/dist/esm/{rich-text-0224049b.js → rich-text-287554f4.js} +1 -1
- package/dist/esm/{root-portal-fd35ce37.js → root-portal-db801799.js} +1 -1
- package/dist/esm/{rtc-room-3bd1dffb.js → rtc-room-bcf23c91.js} +1 -1
- package/dist/esm/{rtc-room-item-5042ec1b.js → rtc-room-item-052b16d2.js} +1 -1
- package/dist/esm/{script-b8bc48c0.js → script-11e3884a.js} +1 -1
- package/dist/esm/{script-a3d0db4c.js → script-1b22398f.js} +1 -1
- package/dist/esm/{script-2be02ee0.js → script-1c3855bc.js} +1 -1
- package/dist/esm/{script-44d0e8ea.js → script-4b869172.js} +1 -1
- package/dist/esm/{script-5b9a743f.js → script-4d587470.js} +1 -1
- package/dist/esm/{script-898fc014.js → script-5c55afcb.js} +1 -1
- package/dist/esm/{script-420bc1c0.js → script-661db6af.js} +1 -1
- package/dist/esm/{script-f3fdb483.js → script-76fc8cf5.js} +1 -1
- package/dist/esm/{script-7e52c04d.js → script-8f332177.js} +1 -1
- package/dist/esm/{scroll-view-24fa3fa5.js → scroll-view-43e9acfc.js} +1 -1
- package/dist/esm/{share-element-73111c0c.js → share-element-4f90ad5b.js} +1 -1
- package/dist/esm/{slider-4523e98d.js → slider-47bbf797.js} +1 -1
- package/dist/esm/{slot-3962813c.js → slot-71ad33eb.js} +1 -1
- package/dist/esm/{snapshot-29d94a83.js → snapshot-42feea7d.js} +1 -1
- package/dist/esm/{span-fb7b4c65.js → span-d4b171da.js} +1 -1
- package/dist/esm/{sticky-header-ed53a95a.js → sticky-header-a99729bc.js} +1 -1
- package/dist/esm/{sticky-section-52a65fdb.js → sticky-section-f8d75284.js} +1 -1
- package/dist/esm/{swiper-1852b6b6.js → swiper-20b19ce0.js} +1 -1
- package/dist/esm/{switch-5b867e95.js → switch-a538d85e.js} +1 -1
- package/dist/esm/{tab-item-2dced96a.js → tab-item-f58dd1b0.js} +1 -1
- package/dist/esm/{tabbar-ed20df0d.js → tabbar-e6342392.js} +1 -1
- package/dist/esm/{tabs-2e79dc40.js → tabs-da838bbd.js} +1 -1
- package/dist/esm/taro-ad-core.entry.js +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-animation-video-core.entry.js +2 -2
- package/dist/esm/taro-animation-view-core.entry.js +2 -2
- package/dist/esm/taro-ar-camera-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +2 -2
- package/dist/esm/taro-block-core.entry.js +2 -2
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +2 -2
- package/dist/esm/taro-channel-video-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +2 -2
- package/dist/esm/taro-comment-list-core.entry.js +2 -2
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
- package/dist/esm/taro-double-tap-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-draggable-sheet-core.entry.js +2 -2
- package/dist/esm/taro-editor-core.entry.js +2 -2
- package/dist/esm/taro-follow-swan-core.entry.js +2 -2
- package/dist/esm/taro-force-press-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +2 -2
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-grid-builder-core.entry.js +2 -2
- package/dist/esm/taro-grid-view-core.entry.js +2 -2
- package/dist/esm/taro-horizontal-drag-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +2 -2
- package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +2 -2
- package/dist/esm/taro-lifestyle-core.entry.js +2 -2
- package/dist/esm/taro-like-core.entry.js +2 -2
- package/dist/esm/taro-list-builder-core.entry.js +2 -2
- package/dist/esm/taro-list-view-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-login-core.entry.js +2 -2
- package/dist/esm/taro-long-press-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-lottie-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +2 -2
- package/dist/esm/taro-native-slot-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-body-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-header-core.entry.js +2 -2
- package/dist/esm/taro-official-account-core.entry.js +2 -2
- package/dist/esm/taro-open-container-core.entry.js +2 -2
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-pan-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +2 -2
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +2 -2
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
- package/dist/esm/taro-scale-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-script-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +2 -2
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-snapshot-core.entry.js +2 -2
- package/dist/esm/taro-span-core.entry.js +2 -2
- package/dist/esm/taro-sticky-header-core.entry.js +2 -2
- package/dist/esm/taro-sticky-section-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +2 -2
- package/dist/esm/taro-switch-core.entry.js +2 -2
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +2 -2
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- package/dist/esm/taro-tap-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +2 -2
- package/dist/esm/taro-vertical-drag-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-video-control_3.entry.js +2 -2
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm/{text-ed97a8bc.js → text-a3b91b23.js} +1 -1
- package/dist/esm/{textarea-c95235b4.js → textarea-c722fd22.js} +1 -1
- package/dist/esm/{video-b0daf32b.js → video-8a258487.js} +1 -1
- package/dist/esm/{view-5dc5ab10.js → view-965a491b.js} +1 -1
- package/dist/esm/{voip-room-d6f9a41a.js → voip-room-da8085ad.js} +1 -1
- package/dist/esm/{web-view-695ab170.js → web-view-8f780a19.js} +1 -1
- package/dist/taro-components/index.esm.js +1 -1
- package/dist/taro-components/p-00e72620.entry.js +1 -0
- package/dist/taro-components/p-03b54b0b.entry.js +1 -0
- package/dist/taro-components/{p-2f511b4d.js → p-046319d8.js} +1 -1
- package/dist/taro-components/p-052dbbd9.entry.js +1 -0
- package/dist/taro-components/p-06b4ba14.entry.js +1 -0
- package/dist/taro-components/p-0741aa7f.entry.js +1 -0
- package/dist/taro-components/p-0795a339.entry.js +1 -0
- package/dist/taro-components/p-08cfc9f4.js +1 -0
- package/dist/taro-components/p-094ba888.entry.js +1 -0
- package/dist/taro-components/p-0a92117d.entry.js +1 -0
- package/dist/taro-components/p-0ecccbb4.entry.js +1 -0
- package/dist/taro-components/p-0f829f27.entry.js +1 -0
- package/dist/taro-components/p-127391cb.entry.js +1 -0
- package/dist/taro-components/p-137eb06b.js +1 -0
- package/dist/taro-components/{p-0359cc11.js → p-13d455f5.js} +1 -1
- package/dist/taro-components/p-145ba514.entry.js +1 -0
- package/dist/taro-components/p-14795db7.entry.js +1 -0
- package/dist/taro-components/{p-93ed1e63.js → p-150a55a3.js} +1 -1
- package/dist/taro-components/p-168a6355.entry.js +1 -0
- package/dist/taro-components/p-1ad94bf6.entry.js +1 -0
- package/dist/taro-components/{p-1e8fa029.js → p-1c19d1dd.js} +1 -1
- package/dist/taro-components/{p-4c244eb7.js → p-1c317d71.js} +1 -1
- package/dist/taro-components/p-1d2b2125.entry.js +1 -0
- package/dist/taro-components/{p-fb1ce7a1.js → p-1d3cfd13.js} +1 -1
- package/dist/taro-components/{p-0941ad4c.js → p-1f517ad8.js} +1 -1
- package/dist/taro-components/{p-61b3a652.js → p-1f81d4f4.js} +1 -1
- package/dist/taro-components/{p-fcfab889.js → p-245fcd36.js} +1 -1
- package/dist/taro-components/{p-40fba613.js → p-24ef5f8c.js} +1 -1
- package/dist/taro-components/p-2602cd28.entry.js +1 -0
- package/dist/taro-components/{p-e2adc41b.js → p-27622761.js} +1 -1
- package/dist/taro-components/p-2884aec2.js +1 -0
- package/dist/taro-components/{p-0b609eb9.js → p-2b1afb2c.js} +1 -1
- package/dist/taro-components/p-2b8fae1c.entry.js +1 -0
- package/dist/taro-components/p-2bf24716.js +1 -0
- package/dist/taro-components/p-2c48f6cb.entry.js +1 -0
- package/dist/taro-components/{p-756a6c7b.js → p-2e5daff6.js} +1 -1
- package/dist/taro-components/p-2e841a1d.js +1 -0
- package/dist/taro-components/{p-866567f2.js → p-2f7b8388.js} +1 -1
- package/dist/taro-components/p-2f9a4db4.js +1 -0
- package/dist/taro-components/p-2ff21d39.entry.js +1 -0
- package/dist/taro-components/p-31c75fd5.js +1 -0
- package/dist/taro-components/p-31f2f332.entry.js +1 -0
- package/dist/taro-components/{p-1e67e75d.js → p-35aac6e0.js} +1 -1
- package/dist/taro-components/{p-5532e704.js → p-36e83be9.js} +1 -1
- package/dist/taro-components/p-3837f853.entry.js +1 -0
- package/dist/taro-components/p-38598f5b.entry.js +1 -0
- package/dist/taro-components/{p-cb6404d1.js → p-3a6ec908.js} +1 -1
- package/dist/taro-components/p-3d450082.js +1 -0
- package/dist/taro-components/p-3f4449b0.entry.js +1 -0
- package/dist/taro-components/p-3f650751.entry.js +1 -0
- package/dist/taro-components/{p-5251aeda.js → p-45c3b3bf.js} +1 -1
- package/dist/taro-components/{p-338be7e1.js → p-465dbd80.js} +1 -1
- package/dist/taro-components/{p-6c927cf2.js → p-4818a4aa.js} +1 -1
- package/dist/taro-components/p-496a9932.entry.js +1 -0
- package/dist/taro-components/p-49e4d6ae.js +1 -0
- package/dist/taro-components/{p-98782e4b.js → p-4bb83c7d.js} +1 -1
- package/dist/taro-components/p-4cf49968.js +1 -0
- package/dist/taro-components/{p-518ee832.js → p-4d79a974.js} +1 -1
- package/dist/taro-components/p-4f4b08df.entry.js +1 -0
- package/dist/taro-components/p-50ffadb4.js +1 -0
- package/dist/taro-components/{p-8efa04c7.js → p-52c6b16d.js} +1 -1
- package/dist/taro-components/p-53b69659.js +1 -0
- package/dist/taro-components/{p-a03a4d6c.js → p-553b9dc1.js} +1 -1
- package/dist/taro-components/p-5570a53e.entry.js +1 -0
- package/dist/taro-components/p-582a0e0f.entry.js +1 -0
- package/dist/taro-components/{p-95ccae64.js → p-582cbc31.js} +1 -1
- package/dist/taro-components/{p-16f0341c.js → p-58a709ad.js} +1 -1
- package/dist/taro-components/p-5b216b21.entry.js +1 -0
- package/dist/taro-components/p-5bd11f73.entry.js +1 -0
- package/dist/taro-components/p-5bd1aed9.js +1 -0
- package/dist/taro-components/p-5cbc249f.entry.js +1 -0
- package/dist/taro-components/p-5ea030de.entry.js +1 -0
- package/dist/taro-components/{p-3ff7295d.js → p-5fe2d7cb.js} +1 -1
- package/dist/taro-components/p-61b23b53.entry.js +1 -0
- package/dist/taro-components/p-6223811d.entry.js +1 -0
- package/dist/taro-components/{p-2cf923cf.js → p-64a5e7a7.js} +1 -1
- package/dist/taro-components/p-65c51f07.entry.js +1 -0
- package/dist/taro-components/{p-47a517a4.js → p-67c4cf7e.js} +1 -1
- package/dist/taro-components/{p-81093e9c.js → p-680d07ac.js} +1 -1
- package/dist/taro-components/p-69147844.entry.js +1 -0
- package/dist/taro-components/p-6c93b540.js +1 -0
- package/dist/taro-components/{p-f430bc70.js → p-6e2f460d.js} +1 -1
- package/dist/taro-components/p-73aae58b.entry.js +1 -0
- package/dist/taro-components/p-74ac6c91.entry.js +1 -0
- package/dist/taro-components/p-773bed49.entry.js +1 -0
- package/dist/taro-components/p-79d3e109.js +1 -0
- package/dist/taro-components/{p-aecb1305.js → p-7bb097de.js} +1 -1
- package/dist/taro-components/p-7c455a65.entry.js +1 -0
- package/dist/taro-components/{p-49bfbff3.js → p-7ea32cac.js} +1 -1
- package/dist/taro-components/p-806e3c4f.entry.js +1 -0
- package/dist/taro-components/p-80fa0c7c.entry.js +1 -0
- package/dist/taro-components/p-88048df9.entry.js +1 -0
- package/dist/taro-components/p-8837c166.entry.js +1 -0
- package/dist/taro-components/p-8b1b513a.js +1 -0
- package/dist/taro-components/p-8bc13e66.entry.js +1 -0
- package/dist/taro-components/p-8c520f1e.entry.js +1 -0
- package/dist/taro-components/{p-6bf6e9ac.js → p-8d26b600.js} +1 -1
- package/dist/taro-components/{p-e1d87ce6.js → p-8d996705.js} +1 -1
- package/dist/taro-components/p-8e3bac82.js +1 -0
- package/dist/taro-components/p-8f2a4c66.entry.js +1 -0
- package/dist/taro-components/p-905410a9.entry.js +1 -0
- package/dist/taro-components/p-915aa78c.js +1 -0
- package/dist/taro-components/p-922047dd.entry.js +1 -0
- package/dist/taro-components/p-92a39ad9.entry.js +1 -0
- package/dist/taro-components/p-931bba41.entry.js +1 -0
- package/dist/taro-components/p-93e3cefb.js +1 -0
- package/dist/taro-components/{p-cc251758.js → p-956bc9d5.js} +1 -1
- package/dist/taro-components/p-9581e63b.entry.js +1 -0
- package/dist/taro-components/{p-fe44e45d.js → p-96f65f1d.js} +1 -1
- package/dist/taro-components/p-975f1b0c.entry.js +1 -0
- package/dist/taro-components/{p-92cdf569.js → p-99383bc2.js} +1 -1
- package/dist/taro-components/{p-9908eec8.js → p-99863698.js} +1 -1
- package/dist/taro-components/p-9a0251c5.entry.js +1 -0
- package/dist/taro-components/p-9d4a6732.js +1 -0
- package/dist/taro-components/p-9f953e69.entry.js +1 -0
- package/dist/taro-components/p-a0ff43d9.entry.js +1 -0
- package/dist/taro-components/{p-408ea703.js → p-a17695f9.js} +1 -1
- package/dist/taro-components/p-a293fa24.js +1 -0
- package/dist/taro-components/{p-ce0e1e4b.js → p-a2cb2d73.js} +1 -1
- package/dist/taro-components/p-a3b266d5.entry.js +1 -0
- package/dist/taro-components/{p-a227ecb8.js → p-a5798672.js} +1 -1
- package/dist/taro-components/{p-0c002754.js → p-a6c178f3.js} +1 -1
- package/dist/taro-components/p-ab09cecf.entry.js +1 -0
- package/dist/taro-components/{p-07fc6337.entry.js → p-aca7aea1.entry.js} +1 -1
- package/dist/taro-components/p-ad865966.entry.js +1 -0
- package/dist/taro-components/p-ae203a0b.entry.js +1 -0
- package/dist/taro-components/{p-68338ce5.js → p-af5e0304.js} +1 -1
- package/dist/taro-components/p-b19ea38d.entry.js +1 -0
- package/dist/taro-components/{p-dc99a26d.js → p-b2979101.js} +1 -1
- package/dist/taro-components/{p-a97c2d7d.entry.js → p-b70027b2.entry.js} +1 -1
- package/dist/taro-components/{p-c98004f1.js → p-b74ad8e4.js} +1 -1
- package/dist/taro-components/p-b89414d7.entry.js +1 -0
- package/dist/taro-components/p-b90499e4.entry.js +1 -0
- package/dist/taro-components/{p-9d0c48cc.js → p-b9446784.js} +1 -1
- package/dist/taro-components/p-baed3510.js +1 -0
- package/dist/taro-components/p-bcceaa84.entry.js +1 -0
- package/dist/taro-components/{p-17e3b3d8.js → p-bd7613d0.js} +1 -1
- package/dist/taro-components/{p-da6577c5.js → p-beae3fe0.js} +1 -1
- package/dist/taro-components/{p-71f9eb65.js → p-c0687b94.js} +1 -1
- package/dist/taro-components/p-c09eb36f.entry.js +1 -0
- package/dist/taro-components/{p-be21531b.js → p-c3a8af99.js} +1 -1
- package/dist/taro-components/{p-2b3cf6f2.js → p-c3cf4884.js} +1 -1
- package/dist/taro-components/p-c3d39813.entry.js +1 -0
- package/dist/taro-components/p-c48b7222.js +1 -0
- package/dist/taro-components/{p-81d99466.js → p-c5666cb2.js} +1 -1
- package/dist/taro-components/p-c5c71b89.entry.js +1 -0
- package/dist/taro-components/p-c66f2363.entry.js +1 -0
- package/dist/taro-components/{p-01cd3327.js → p-c7f9e228.js} +1 -1
- package/dist/taro-components/p-c84153ae.entry.js +1 -0
- package/dist/taro-components/p-c872ed50.js +1 -0
- package/dist/taro-components/{p-7ff3b069.js → p-c9a01a1f.js} +1 -1
- package/dist/taro-components/{p-2de0a5a0.js → p-cae824d1.js} +1 -1
- package/dist/taro-components/p-cb7e1d6e.entry.js +1 -0
- package/dist/taro-components/p-cdeebf36.entry.js +1 -0
- package/dist/taro-components/{p-dc7fd648.js → p-d11af89d.js} +1 -1
- package/dist/taro-components/{p-12aa4a64.js → p-d1a1274a.js} +1 -1
- package/dist/taro-components/p-d45a75d9.entry.js +1 -0
- package/dist/taro-components/{p-79e8079f.js → p-d5773721.js} +1 -1
- package/dist/taro-components/p-d5f0d48c.js +1 -0
- package/dist/taro-components/p-d6be1ceb.entry.js +1 -0
- package/dist/taro-components/p-da4fcba5.js +1 -0
- package/dist/taro-components/{p-c6056499.entry.js → p-df86c576.entry.js} +1 -1
- package/dist/taro-components/p-e0de8e35.entry.js +1 -0
- package/dist/taro-components/p-e298a2c3.entry.js +1 -0
- package/dist/taro-components/p-e3de8581.js +1 -0
- package/dist/taro-components/p-e6565988.entry.js +1 -0
- package/dist/taro-components/p-e6643dc0.entry.js +1 -0
- package/dist/taro-components/p-e87d4a75.entry.js +1 -0
- package/dist/taro-components/p-ea5d6d41.entry.js +1 -0
- package/dist/taro-components/p-eac9f475.entry.js +1 -0
- package/dist/taro-components/p-edab4852.entry.js +1 -0
- package/dist/taro-components/{p-16cc69f3.js → p-ee9bae70.js} +1 -1
- package/dist/taro-components/p-eee2d2f9.entry.js +1 -0
- package/dist/taro-components/{p-f880495e.js → p-f441b5e7.js} +1 -1
- package/dist/taro-components/p-f52b25aa.entry.js +1 -0
- package/dist/taro-components/p-f57bed55.entry.js +1 -0
- package/dist/taro-components/{p-044be455.js → p-f6e5beeb.js} +1 -1
- package/dist/taro-components/p-fa398c76.entry.js +1 -0
- package/dist/taro-components/p-fe1c20a9.entry.js +1 -0
- package/dist/taro-components/{p-4a5899cd.js → p-febc484e.js} +1 -1
- package/dist/taro-components/p-ffcacf9a.entry.js +1 -0
- package/dist/taro-components/{p-9b2e8ab5.js → p-fff1a810.js} +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/package.json +5 -5
- package/dist/taro-components/p-01455cad.js +0 -1
- package/dist/taro-components/p-024f1327.entry.js +0 -1
- package/dist/taro-components/p-0552f6c8.entry.js +0 -1
- package/dist/taro-components/p-0762daa0.entry.js +0 -1
- package/dist/taro-components/p-0966c1dc.entry.js +0 -1
- package/dist/taro-components/p-0996f234.entry.js +0 -1
- package/dist/taro-components/p-09e8978c.entry.js +0 -1
- package/dist/taro-components/p-0a464f12.entry.js +0 -1
- package/dist/taro-components/p-0b0c5593.js +0 -1
- package/dist/taro-components/p-0e601c37.entry.js +0 -1
- package/dist/taro-components/p-1096b259.entry.js +0 -1
- package/dist/taro-components/p-1238adb4.entry.js +0 -1
- package/dist/taro-components/p-1278b3cc.js +0 -1
- package/dist/taro-components/p-127a00f8.entry.js +0 -1
- package/dist/taro-components/p-188aa412.entry.js +0 -1
- package/dist/taro-components/p-1dccd1aa.js +0 -1
- package/dist/taro-components/p-206c4a1d.entry.js +0 -1
- package/dist/taro-components/p-24878bba.entry.js +0 -1
- package/dist/taro-components/p-2637f626.js +0 -1
- package/dist/taro-components/p-2a129ff9.entry.js +0 -1
- package/dist/taro-components/p-2b08cfad.entry.js +0 -1
- package/dist/taro-components/p-2c83c97d.entry.js +0 -1
- package/dist/taro-components/p-2e02c59d.entry.js +0 -1
- package/dist/taro-components/p-2e861a0c.entry.js +0 -1
- package/dist/taro-components/p-2ff851eb.js +0 -1
- package/dist/taro-components/p-30bc92b6.entry.js +0 -1
- package/dist/taro-components/p-3108a288.entry.js +0 -1
- package/dist/taro-components/p-353bde53.entry.js +0 -1
- package/dist/taro-components/p-35bc7ace.entry.js +0 -1
- package/dist/taro-components/p-39351b18.entry.js +0 -1
- package/dist/taro-components/p-3a1e29fe.entry.js +0 -1
- package/dist/taro-components/p-3c06a184.js +0 -1
- package/dist/taro-components/p-410a4f9f.entry.js +0 -1
- package/dist/taro-components/p-4660f0e8.entry.js +0 -1
- package/dist/taro-components/p-46cf401b.js +0 -1
- package/dist/taro-components/p-4a3e3c0c.entry.js +0 -1
- package/dist/taro-components/p-4e53a018.entry.js +0 -1
- package/dist/taro-components/p-4e841ecd.js +0 -1
- package/dist/taro-components/p-528d459a.entry.js +0 -1
- package/dist/taro-components/p-5d763236.entry.js +0 -1
- package/dist/taro-components/p-5f402695.js +0 -1
- package/dist/taro-components/p-63bcde42.js +0 -1
- package/dist/taro-components/p-64db5707.entry.js +0 -1
- package/dist/taro-components/p-685f1513.entry.js +0 -1
- package/dist/taro-components/p-6897b6e0.entry.js +0 -1
- package/dist/taro-components/p-6939a5ca.entry.js +0 -1
- package/dist/taro-components/p-6cefb3fa.entry.js +0 -1
- package/dist/taro-components/p-6da0b352.entry.js +0 -1
- package/dist/taro-components/p-6f5b04a0.entry.js +0 -1
- package/dist/taro-components/p-6f78afcd.entry.js +0 -1
- package/dist/taro-components/p-6fec7cfb.entry.js +0 -1
- package/dist/taro-components/p-7acbcaf4.entry.js +0 -1
- package/dist/taro-components/p-7f209437.entry.js +0 -1
- package/dist/taro-components/p-846640d5.entry.js +0 -1
- package/dist/taro-components/p-8a5810e5.entry.js +0 -1
- package/dist/taro-components/p-8a6fa237.entry.js +0 -1
- package/dist/taro-components/p-8b10f71d.js +0 -1
- package/dist/taro-components/p-8c4555bc.entry.js +0 -1
- package/dist/taro-components/p-8c6a2ec4.entry.js +0 -1
- package/dist/taro-components/p-8e4724e7.entry.js +0 -1
- package/dist/taro-components/p-8e65e0ef.entry.js +0 -1
- package/dist/taro-components/p-8e85ee3f.entry.js +0 -1
- package/dist/taro-components/p-8e9761cc.entry.js +0 -1
- package/dist/taro-components/p-9099c40a.entry.js +0 -1
- package/dist/taro-components/p-929bd61b.entry.js +0 -1
- package/dist/taro-components/p-92ad1a1b.entry.js +0 -1
- package/dist/taro-components/p-94ec560b.entry.js +0 -1
- package/dist/taro-components/p-988d6f24.entry.js +0 -1
- package/dist/taro-components/p-9a5b5e73.js +0 -1
- package/dist/taro-components/p-9c96d523.js +0 -1
- package/dist/taro-components/p-a070c494.js +0 -1
- package/dist/taro-components/p-a1c4630b.entry.js +0 -1
- package/dist/taro-components/p-a1e30768.entry.js +0 -1
- package/dist/taro-components/p-a457826d.entry.js +0 -1
- package/dist/taro-components/p-a49e8e1b.entry.js +0 -1
- package/dist/taro-components/p-a638fa83.js +0 -1
- package/dist/taro-components/p-a7739ce8.entry.js +0 -1
- package/dist/taro-components/p-ad1911cf.entry.js +0 -1
- package/dist/taro-components/p-ad9d36a8.entry.js +0 -1
- package/dist/taro-components/p-ade48028.entry.js +0 -1
- package/dist/taro-components/p-ae5ce9b9.entry.js +0 -1
- package/dist/taro-components/p-af1a2bdb.entry.js +0 -1
- package/dist/taro-components/p-af836431.entry.js +0 -1
- package/dist/taro-components/p-b2646c39.js +0 -1
- package/dist/taro-components/p-b2b18ec7.entry.js +0 -1
- package/dist/taro-components/p-b56830e0.entry.js +0 -1
- package/dist/taro-components/p-b5d29991.entry.js +0 -1
- package/dist/taro-components/p-b8a16546.entry.js +0 -1
- package/dist/taro-components/p-bfbacdd9.entry.js +0 -1
- package/dist/taro-components/p-c16c9a9d.entry.js +0 -1
- package/dist/taro-components/p-c3ab9b07.js +0 -1
- package/dist/taro-components/p-c51f862e.entry.js +0 -1
- package/dist/taro-components/p-c80ad5f7.entry.js +0 -1
- package/dist/taro-components/p-ca9855cc.entry.js +0 -1
- package/dist/taro-components/p-d36f8f3c.js +0 -1
- package/dist/taro-components/p-d392762a.js +0 -1
- package/dist/taro-components/p-d9d72185.entry.js +0 -1
- package/dist/taro-components/p-df2cf76a.js +0 -1
- package/dist/taro-components/p-e12f9f6a.entry.js +0 -1
- package/dist/taro-components/p-e34aabf9.js +0 -1
- package/dist/taro-components/p-e679ebf7.entry.js +0 -1
- package/dist/taro-components/p-e858c279.entry.js +0 -1
- package/dist/taro-components/p-e972f9e5.entry.js +0 -1
- package/dist/taro-components/p-ea7545b3.entry.js +0 -1
- package/dist/taro-components/p-eb17acfc.entry.js +0 -1
- package/dist/taro-components/p-ed08f97b.entry.js +0 -1
- package/dist/taro-components/p-ee60a2ed.entry.js +0 -1
- package/dist/taro-components/p-eeda49f7.entry.js +0 -1
- package/dist/taro-components/p-efa71a29.entry.js +0 -1
- package/dist/taro-components/p-f4723222.js +0 -1
- package/dist/taro-components/p-f6552484.js +0 -1
- package/dist/taro-components/p-f73323e1.js +0 -1
- package/dist/taro-components/p-f78771f1.entry.js +0 -1
- package/dist/taro-components/p-fd69d32c.js +0 -1
- package/dist/taro-components/p-fef7c611.js +0 -1
- /package/dist/cjs/{index-2f9fa58c.js → index-ae99cbcc.js} +0 -0
- /package/dist/esm/{index-89ae5aeb.js → index-0004ce39.js} +0 -0
- /package/dist/taro-components/{p-9896a737.js → p-f72fcd8c.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as e,H as r,g as t,c as s}from"./p-9896a737.js";import{c as a}from"./p-160d710a.js";import{h as p}from"./p-dbdb9de9.js";import o from"swiper/bundle";import{d as n}from"./p-5893c3ed.js";const l=class{constructor(e){i(this,e),this.itemId=void 0}connectedCallback(){this.el.className=a(this.el.className,"swiper-slide")}componentDidRender(){p(this.el)}render(){return e(r,{"item-id":this.itemId},e("slot",null))}get el(){return t(this)}};var w,c,d,h,g,A=function(i,e,r,t){if("a"===r&&!t)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?i!==e||!t:!e.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?t:"a"===r?t.call(i):t?t.value:e.get(i)},b=function(i,e,r,t,s){if("m"===t)throw new TypeError("Private method is not writable");if("a"===t&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?i!==e||!s:!e.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===t?s.call(i,r):s?s.value=r:e.set(i,r),r};let u=0;const f=class{constructor(e){i(this,e),this.onChange=s(this,"change",7),this.onAnimationFinish=s(this,"animationfinish",7),w.set(this,u++),c.set(this,"autoplay"),d.set(this,!1),h.set(this,!1),g.set(this,0),this.handleSwiperSizeDebounce=n((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?A(this,h,"f")&&(this.reset(),b(this,h,!1,"f"),b(this,d,!1,"f")):(this.swiper.update(),b(this,d,!1,"f")))}),50),this.reset=()=>{b(this,d,!0,"f"),b(this,g,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),b(this,d,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const i=this.parseMargin().filter(Boolean).length>0;return this.circular&&i},this.parseMargin=()=>{const[,i]=/^(\d+)px/.exec(this.previousMargin)||[],[,e]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(i)||0,parseInt(e)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}watchCurrent(i){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const e=parseInt(i,10);isNaN(e)||e===this.swiper.realIndex||(b(this,c,"","f"),this.circular?(this.swiper.slideToLoop(e),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(e))}watchCurrentItemId(i){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let e=0;this.getSlidersList().forEach(((r,t)=>{r.getAttribute("item-id")===i&&(e=this.circular?Number(r.getAttribute("data-swiper-slide-index")):t)})),e!==this.swiper.realIndex&&(b(this,c,"","f"),this.circular?(this.swiper.slideToLoop(e),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(e))}watchAutoplay(i){if(!this.isWillLoadCalled||!this.swiper)return;const e=this.swiper.autoplay;if(e){if(e.running===i)return;i?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),e.start()):e.stop()}}watchDuration(i){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=i)}watchInterval(i){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=i)}watchSwiperWrapper(i){if(!this.isWillLoadCalled||!this.swiper)return;if(!i)return;const e=()=>{b(this,h,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=r=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.appendChild(r)),this.el.insertBefore=(r,t)=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.insertBefore(r,t)),this.el.replaceChild=(r,t)=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.replaceChild(r,t)),this.el.removeChild=r=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.removeChild(r))}watchCircular(){this.swiper&&this.isWillLoadCalled&&this.reset()}watchDisplayMultipleItems(){this.swiper&&this.isWillLoadCalled&&this.reset()}componentWillLoad(){this.isWillLoadCalled=!0}componentDidLoad(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{childList:!0}))}disconnectedCallback(){var i;null===(i=this.observer)||void 0===i||i.disconnect()}handleInit(i=!1){const{autoplay:e,circular:r,current:t,currentItemId:s,displayMultipleItems:a,duration:p,interval:n,effectsProps:l,vertical:h}=this;let u=t;if(i)u=A(this,g,"f");else if(s){let i=0;this.getSlidersList().forEach(((e,r)=>{e.itemId&&e.itemId===s&&(i=r)})),u=i}const f=this.getLoopAdditionalSlides(),v=1===a&&this.getNeedFixLoop(),m=a,y=this,x=Object.assign(Object.assign({pagination:{el:`.taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination`},direction:h?"vertical":"horizontal",loop:r,slidesPerView:m,initialSlide:u,loopAdditionalSlides:f,speed:p,observeParents:!0,observer:!0,centeredSlides:v,zoom:this.zoom,nested:!0,touchReleaseOnEdges:!0,threshold:0},l),{on:{transitionEnd(i){if(A(y,d,"f")||A(y,g,"f")===this.realIndex)return;b(y,g,this.realIndex,"f"),y.getNeedFixLoop()&&i.loopFix(),y.autoplay&&i.autoplay.start();const e=y.getCurrentItemId(i);y.onAnimationFinish.emit({current:this.realIndex,source:A(y,c,"f"),currentItemId:e}),b(y,c,"autoplay","f")},touchMove(){b(y,c,"touch","f")},slideChange(i){if(A(y,d,"f")||A(y,g,"f")===this.realIndex)return;const e=y.getCurrentItemId(i);y.onChange.emit({current:this.realIndex,source:A(y,c,"f"),currentItemId:e})},init:i=>{y.getNeedFixLoop()&&i.loopFix(),y.autoplay&&i.autoplay.start()},touchEnd:i=>{b(y,c,"touch","f"),y.autoplay&&i.autoplay.start()},touchStart:i=>{b(y,c,"touch","f"),y.autoplay&&i.autoplay.pause()},autoplay(i){i.animating=!1,b(y,c,"autoplay","f")}}});if(e&&(x.autoplay={delay:n,disableOnInteraction:!1}),this.swiper=new o(`.taro-swiper-${A(this,w,"f")} > .swiper-container`,x),this.getNeedFixLoop()){const i=this.swiper.minTranslate.bind(this.swiper),e=this.swiper.maxTranslate.bind(this.swiper);v&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>i()+this.parseMargin()[1],this.swiper.maxTranslate=()=>e()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>i()-this.parseMargin()[0],this.swiper.maxTranslate=()=>e()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}getLoopAdditionalSlides(){const i=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||i<5?0:i<=7?1:2}getCurrentItemId(i){return i.slides[i.activeIndex].getAttribute("item-id")}render(){const{vertical:i,indicatorDots:t,indicatorColor:s,indicatorActiveColor:a}=this,[p,o]=this.parseMargin(),n=["overflow: visible;",i?`margin-top: ${p}px; margin-bottom: ${o}px;`:`margin-right: ${o}px; margin-left: ${p}px;`,this.full?"height: 100%;":""],l=[t?"opacity: 1;":"display: none;","font-size: 0;"],c={overflow:"hidden"};return this.full&&(c.height="100%"),e(r,{class:`taro-swiper-${A(this,w,"f")}`,style:c},e("div",{class:"swiper-container"},e("style",{type:"text/css"},`\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${s} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${a} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container { ${n.join("")} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination { ${l.join("")} }\n `),e("div",{class:"swiper-wrapper"},e("slot",null)),e("div",{class:"swiper-pagination"})))}get el(){return t(this)}static get watchers(){return{current:["watchCurrent"],currentItemId:["watchCurrentItemId"],autoplay:["watchAutoplay"],duration:["watchDuration"],interval:["watchInterval"],swiperWrapper:["watchSwiperWrapper"],circular:["watchCircular"],displayMultipleItems:["watchDisplayMultipleItems"]}}};w=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,g=new WeakMap,f.style="@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}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.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{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.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-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.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{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}";export{l as S,f as a}
|
|
1
|
+
import{r as i,h as e,H as r,g as t,c as s}from"./p-f72fcd8c.js";import{c as a}from"./p-160d710a.js";import{h as p}from"./p-dbdb9de9.js";import o from"swiper/bundle";import{d as n}from"./p-5893c3ed.js";const l=class{constructor(e){i(this,e),this.itemId=void 0}connectedCallback(){this.el.className=a(this.el.className,"swiper-slide")}componentDidRender(){p(this.el)}render(){return e(r,{"item-id":this.itemId},e("slot",null))}get el(){return t(this)}};var w,c,d,h,g,A=function(i,e,r,t){if("a"===r&&!t)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?i!==e||!t:!e.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?t:"a"===r?t.call(i):t?t.value:e.get(i)},b=function(i,e,r,t,s){if("m"===t)throw new TypeError("Private method is not writable");if("a"===t&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?i!==e||!s:!e.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===t?s.call(i,r):s?s.value=r:e.set(i,r),r};let f=0;const u=class{constructor(e){i(this,e),this.onChange=s(this,"change",7),this.onAnimationFinish=s(this,"animationfinish",7),w.set(this,f++),c.set(this,"autoplay"),d.set(this,!1),h.set(this,!1),g.set(this,0),this.handleSwiperSizeDebounce=n((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?A(this,h,"f")&&(this.reset(),b(this,h,!1,"f"),b(this,d,!1,"f")):(this.swiper.update(),b(this,d,!1,"f")))}),50),this.reset=()=>{b(this,d,!0,"f"),b(this,g,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),b(this,d,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const i=this.parseMargin().filter(Boolean).length>0;return this.circular&&i},this.parseMargin=()=>{const[,i]=/^(\d+)px/.exec(this.previousMargin)||[],[,e]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(i)||0,parseInt(e)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}watchCurrent(i){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const e=parseInt(i,10);isNaN(e)||e===this.swiper.realIndex||(b(this,c,"","f"),this.circular?(this.swiper.slideToLoop(e),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(e))}watchCurrentItemId(i){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let e=0;this.getSlidersList().forEach(((r,t)=>{r.getAttribute("item-id")===i&&(e=this.circular?Number(r.getAttribute("data-swiper-slide-index")):t)})),e!==this.swiper.realIndex&&(b(this,c,"","f"),this.circular?(this.swiper.slideToLoop(e),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(e))}watchAutoplay(i){if(!this.isWillLoadCalled||!this.swiper)return;const e=this.swiper.autoplay;if(e){if(e.running===i)return;i?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),e.start()):e.stop()}}watchDuration(i){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=i)}watchInterval(i){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=i)}watchSwiperWrapper(i){if(!this.isWillLoadCalled||!this.swiper)return;if(!i)return;const e=()=>{b(this,h,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=r=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.appendChild(r)),this.el.insertBefore=(r,t)=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.insertBefore(r,t)),this.el.replaceChild=(r,t)=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.replaceChild(r,t)),this.el.removeChild=r=>(b(this,d,!0,"f"),!A(this,h,"f")&&this.circular&&e(),i.removeChild(r))}watchCircular(){this.swiper&&this.isWillLoadCalled&&this.reset()}watchDisplayMultipleItems(){this.swiper&&this.isWillLoadCalled&&this.reset()}componentWillLoad(){this.isWillLoadCalled=!0}componentDidLoad(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{childList:!0}))}disconnectedCallback(){var i;null===(i=this.observer)||void 0===i||i.disconnect()}handleInit(i=!1){const{autoplay:e,circular:r,current:t,currentItemId:s,displayMultipleItems:a,duration:p,interval:n,effectsProps:l,vertical:h}=this;let f=t;if(i)f=A(this,g,"f");else if(s){let i=0;this.getSlidersList().forEach(((e,r)=>{e.itemId&&e.itemId===s&&(i=r)})),f=i}const u=this.getLoopAdditionalSlides(),v=1===a&&this.getNeedFixLoop(),m=a,y=this,x=Object.assign(Object.assign({pagination:{el:`.taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination`},direction:h?"vertical":"horizontal",loop:r,slidesPerView:m,initialSlide:f,loopAdditionalSlides:u,speed:p,observeParents:!0,observer:!0,centeredSlides:v,zoom:this.zoom,nested:!0,touchReleaseOnEdges:!0,threshold:0},l),{on:{transitionEnd(i){if(A(y,d,"f")||A(y,g,"f")===this.realIndex)return;b(y,g,this.realIndex,"f"),y.getNeedFixLoop()&&i.loopFix(),y.autoplay&&i.autoplay.start();const e=y.getCurrentItemId(i);y.onAnimationFinish.emit({current:this.realIndex,source:A(y,c,"f"),currentItemId:e}),b(y,c,"autoplay","f")},touchMove(){b(y,c,"touch","f")},slideChange(i){if(A(y,d,"f")||A(y,g,"f")===this.realIndex)return;const e=y.getCurrentItemId(i);y.onChange.emit({current:this.realIndex,source:A(y,c,"f"),currentItemId:e})},init:i=>{y.getNeedFixLoop()&&i.loopFix(),y.autoplay&&i.autoplay.start()},touchEnd:i=>{b(y,c,"touch","f"),y.autoplay&&i.autoplay.start()},touchStart:i=>{b(y,c,"touch","f"),y.autoplay&&i.autoplay.pause()},autoplay(i){i.animating=!1,b(y,c,"autoplay","f")}}});if(e&&(x.autoplay={delay:n,disableOnInteraction:!1}),this.swiper=new o(`.taro-swiper-${A(this,w,"f")} > .swiper-container`,x),this.getNeedFixLoop()){const i=this.swiper.minTranslate.bind(this.swiper),e=this.swiper.maxTranslate.bind(this.swiper);v&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>i()+this.parseMargin()[1],this.swiper.maxTranslate=()=>e()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>i()-this.parseMargin()[0],this.swiper.maxTranslate=()=>e()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}getLoopAdditionalSlides(){const i=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||i<5?0:i<=7?1:2}getCurrentItemId(i){return i.slides[i.activeIndex].getAttribute("item-id")}render(){const{vertical:i,indicatorDots:t,indicatorColor:s,indicatorActiveColor:a}=this,[p,o]=this.parseMargin(),n=["overflow: visible;",i?`margin-top: ${p}px; margin-bottom: ${o}px;`:`margin-right: ${o}px; margin-left: ${p}px;`,this.full?"height: 100%;":""],l=[t?"opacity: 1;":"display: none;","font-size: 0;"],c={overflow:"hidden"};return this.full&&(c.height="100%"),e(r,{class:`taro-swiper-${A(this,w,"f")}`,style:c},e("div",{class:"swiper-container"},e("style",{type:"text/css"},`\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${s} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${a} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container { ${n.join("")} }\n .taro-swiper-${A(this,w,"f")} > .swiper-container > .swiper-pagination { ${l.join("")} }\n `),e("div",{class:"swiper-wrapper"},e("slot",null)),e("div",{class:"swiper-pagination"})))}get el(){return t(this)}static get watchers(){return{current:["watchCurrent"],currentItemId:["watchCurrentItemId"],autoplay:["watchAutoplay"],duration:["watchDuration"],interval:["watchInterval"],swiperWrapper:["watchSwiperWrapper"],circular:["watchCircular"],displayMultipleItems:["watchDisplayMultipleItems"]}}};w=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,g=new WeakMap,u.style="@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}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.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{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.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-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.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{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}";export{l as S,u as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as a,c as e,H as i,g as r}from"./p-
|
|
1
|
+
import{h as t,r as a,c as e,H as i,g as r}from"./p-f72fcd8c.js";import{stripSuffix as o,stripBasename as s,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/runtime";import h from"@tarojs/taro";import{c as l}from"./p-160d710a.js";import d from"resolve-pathname";import{a as c}from"./p-5893c3ed.js";const _=t=>{let a,e=t||"";const i={path:null,query:null,fragment:null};return a=e.indexOf("#"),a>-1&&(i.fragment=e.substring(a+1),e=e.substring(0,a)),a=e.indexOf("?"),a>-1&&(i.query=e.substring(a+1),e=e.substring(0,a)),i.path=e,i},u=({index:a,isSelected:e=!1,textColor:i,iconPath:r,badgeText:o,showRedDot:s=!1,pagePath:n,text:b,onSelect:d})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":e});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=h.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&c(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),d(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:r,alt:"",class:"weui-tabbar__icon"}),!!o&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},o),s&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:i}},b))},g="taro-tabbar__tabbar",p=class{constructor(t){a(this,t),this.onLongPress=e(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>_(a).path===_(t).path));return o(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:e},i)=>{_(t).path===_(e).path&&(a=i)})),a},this.switchTab=t=>{this.selectedIndex=t,h.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:e})=>{const i=this.getOriginUrl(this.getCurrentUrl()||this.homePage),r=d(t,i),o=this.getSelectedIndex(r);o>-1?(this.switchTab(o),a({errMsg:"switchTab:ok"})):e({errMsg:`switchTab:fail page "${r}" is not found`})},this.routerChangeHandler=t=>{var a;const e=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let i;if("string"==typeof e){const t=this.conf.basename||"/";i=s(n(e||this.homePage),t)||"/"}else i=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(i))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:e,errorHandler:i})=>{const r=[...this.list];t in r?(r[t].showRedDot=!1,r[t].badgeText=a,e({errMsg:"setTabBarBadge:ok"})):i({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=r},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):e({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=i},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):e({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=i},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):e({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=i},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:e,borderStyle:i,successHandler:r})=>{e&&(this.backgroundColor=e),i&&(this.borderStyle=i),t&&(this.color=t),a&&(this.selectedColor=a),r({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:e,text:i,successHandler:r,errorHandler:o})=>{const s=[...this.list];t in s?(a&&(s[t].iconPath=a),e&&(s[t].selectedIconPath=e),i&&(s[t].text=i),r({errMsg:"setTabBarItem:ok"})):o({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=s},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const e=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],i=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in i){const a=i[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){h.eventCenter.on("__taroRouterChange",this.routerChangeHandler),h.eventCenter.on("__taroSwitchTab",this.switchTabHandler),h.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){h.eventCenter.off("__taroRouterChange",this.routerChangeHandler),h.eventCenter.off("__taroSwitchTab",this.switchTabHandler),h.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,e=this.status,r=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(i,{class:l(g,`${g}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===e,"taro-tabbar__tabbar-slideout":2===e})},t("div",{class:r,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,e)=>{const i=this.selectedIndex===e;let r,o;return i?(r=this.selectedColor||"",o=a.selectedIconPath):(r=this.color||"",o=a.iconPath),t(u,{index:e,onSelect:this.switchTab.bind(this),isSelected:i,textColor:r,iconPath:o,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return r(this)}};p.style='.weui-tabbar{z-index:500;background-color:#f7f7fa;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{flex-direction:column;height:100%;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{width:100%;height:var(--taro-tabbar-height);transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';export{u as T,p as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(o){r(this,o)}componentDidLoad(){t("HorizontalDragGestureHandler",this)}render(){return o(s,null)}};export{n as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{R as taro_rtc_room_item_core}from"./p-c48b7222.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{V as taro_video_control,b as taro_video_core,a as taro_video_danmu}from"./p-465dbd80.js";import"./p-f72fcd8c.js";import"@tarojs/taro";import"./p-160d710a.js";import"./p-5893c3ed.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o,H as r}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(o){s(this,o)}componentDidLoad(){t("AdCustom",this)}render(){return o(r,null)}};export{d as A}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_aweme_data_core}from"./p-2f7b8388.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_animation_view_core}from"./p-a5798672.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as taro_pull_to_refresh_core}from"./p-67c4cf7e.js";import"./p-f72fcd8c.js";import"@tarojs/taro";import"./p-160d710a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){s(this,r)}componentDidLoad(){t("Tabs",this)}render(){return r(o,null)}};export{n as T}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("ScaleGestureHandler",this)}render(){return s(o,null)}};export{e as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{M as taro_match_media_core}from"./p-2e5daff6.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as s}from"./p-
|
|
1
|
+
import{r,h as o,H as s}from"./p-f72fcd8c.js";import{n}from"./p-dbdb9de9.js";const t=class{constructor(o){r(this,o)}componentDidLoad(){n("OpenContainer",this)}render(){return o(s,null)}};export{t as O}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_live_player_core}from"./p-2884aec2.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o,H as r}from"./p-
|
|
1
|
+
import{r as s,h as o,H as r}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(o){s(this,o)}componentDidLoad(){t("Snapshot",this)}render(){return o(r,null)}};export{n as S}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,h as r,H as s}from"./p-
|
|
1
|
+
import{r as n,h as r,H as s}from"./p-f72fcd8c.js";import{n as o}from"./p-dbdb9de9.js";const t=class{constructor(r){n(this,r)}componentDidLoad(){o("InlinePaymentPanel",this)}render(){return r(s,null)}};export{t as I}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{I as taro_input_core}from"./p-2b1afb2c.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(s){r(this,s)}componentDidLoad(){t("Ad",this)}render(){return s(o,null)}};export{d as A}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{R as taro_rich_text_core}from"./p-553b9dc1.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as taro_comment_list_core}from"./p-febc484e.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("Like",this)}render(){return s(o,null)}};export{n as L}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as t}from"./p-f72fcd8c.js";const c=class{constructor(s){r(this,s)}render(){return s(t,null)}};export{c as C}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("Span",this)}render(){return s(o,null)}};export{n as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_share_element_core}from"./p-7bb097de.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("AnimationView",this)}render(){return r(s,null)}};export{n as A}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-f72fcd8c.js";var r,o=function(t,i,e,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!r:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,e):r?r.value=e:i.set(t,e),e},h=function(t,i,e,s){if("a"===e&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!s:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?s:"a"===e?s.call(t):s?s.value:i.get(t)};const n=class{constructor(e){t(this,e),this.onSubmit=i(this,"submit",7),r.set(this,{})}onButtonSubmit(t){t.stopPropagation(),o(this,r,this.getFormValue(),"f"),this.onSubmit.emit({value:h(this,r,"f")})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){o(this,r,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{get:()=>h(this,r,"f"),configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,i)=>this.form.insertBefore(t,i),this.el.replaceChild=(t,i)=>this.form.replaceChild(t,i),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,i=[],e=t.getElementsByTagName("input");for(let t=0;t<e.length;t++)i.push(e[t]);const s={},r={};i.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?s[t.name]=t.value:t.checked?r[t.name]?s[t.name].push(t.value):(r[t.name]=!0,s[t.name]=[t.value]):r[t.name]||(s[t.name]=[]):t.checked?(r[t.name]=!0,s[t.name]=t.value):r[t.name]||(s[t.name]=""):s[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),h=[];for(let t=0;t<o.length;t++)h.push(o[t]);return h.forEach((t=>{"string"==typeof t.name&&(s[t.name]=t.value)})),s}render(){return e("form",{ref:t=>{this.form=t}},e("slot",null))}get el(){return s(this)}};r=new WeakMap;export{n as F}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{N as taro_navigator_core}from"./p-3d450082.js";import"./p-f72fcd8c.js";import"@tarojs/taro";import"./p-160d710a.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as taro_checkbox_core,C as taro_checkbox_group_core}from"./p-
|
|
1
|
+
export{a as taro_checkbox_core,C as taro_checkbox_group_core}from"./p-046319d8.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{N as taro_nested_scroll_body_core}from"./p-ee9bae70.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_list_view_core}from"./p-52c6b16d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,H as o}from"./p-
|
|
1
|
+
import{r as s,h as r,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(r){s(this,r)}componentDidLoad(){t("Lifestyle",this)}render(){return r(o,null)}};export{e as L}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_ar_camera_core}from"./p-c3a8af99.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as o,g as n}from"./p-9896a737.js";import e from"hammerjs";const a=class{constructor(s){t(this,s),this.onTap=i(this,"tap",7),this.currentRotation=0,this._getCenterLocation=t=>{this.map.getOverlays().forEach((t=>{t instanceof BMapGL.Marker&&t.isCenterMarker&&this.map.removeOverlay(t)})),t.iconPath="https://img0.baidu.com/it/u=2604176863,3349829508&fm=253&fmt=auto&app=138&f=PNG?w=243&h=243";const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=[this.longitude,this.latitude],o=new BMapGL.Marker(new BMapGL.Point(this.longitude,this.latitude),{icon:i});return o.isCenterMarker=!0,this.map.addOverlay(o),s},this._setLocMarkerIcon=t=>{const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=new BMapGL.Point(116.404,39.915),o=new BMapGL.Marker(s,{icon:i});this.map.addOverlay(o)},this._translateMarker=t=>{let i=t.destination.latitude;const s=t.destination.longitude;i<-80&&i>=-90&&(i=t.destination.latitude+10);const o=new BMapGL.Point(s,i),n={flagId:!0,flagCoordinate:!0},e={errMsg:"animationEnd:ok"},a=this.map.getOverlays().find((i=>i instanceof BMapGL.Marker&&i.id===t.markerId));if(!a)return console.error(`Marker "${t.markerId}" not found.`),n.flagId=!1,n;if(i>90||i<-90||s>180||s<-180||isNaN(i)||isNaN(s))return n.flagCoordinate=!1,n;const h=a.getPosition(),l=(o.lng-h.lng)/(t.duration/16),r=(o.lat-h.lat)/(t.duration/16),d=a.getRotation(),p=t.rotate;this.currentRotation?this.currentRotation+=p:this.currentRotation=p;const c=(this.currentRotation-d)/(t.duration/16);let u=h,v=d;if(!t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{if(u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16){clearInterval(s);let i=0;const o=setInterval((()=>{v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(o),null==t||t.animationEnd(e))}),16)}}),16)}else if(t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}else if(t.moveWithRotate&&!t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}return n},this._includePoints=t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=this.map.getZoom(),o=this.map.getCenter(),n=this.map.getViewport(i);this.map.centerAndZoom(n.center,n.zoom);const e=this.map.getBounds();let a=!0;for(let t=0;t<i.length;t++)if(!e.containsPoint(i[t])){this.map.centerAndZoom(o,s),a=!1;break}return a},this._getRegion=()=>{const t=this.map.getBounds(),i=t.getSouthWest(),s=t.getNorthEast();return{southwest:{lat:i.lat,lng:i.lng},northeast:{lat:s.lat,lng:s.lng}}},this._getRotate=()=>{let t=this.rotate;return(t<0||t>360)&&(t=0),t},this._getSkew=()=>{let t=this.skew;return(t<0||t>40)&&(t=0),t},this._getScale=()=>this.scale,this._setCenterOffset=t=>{const[i,s]=t.offset,o=this.map.getSize(),n=Math.max(.25*o.width,Math.min(.75*o.width,i*o.width)),e=Math.max(.25*o.height,Math.min(.75*o.height,s*o.height)),a=new BMapGL.Pixel(n,e),h=this.map.pixelToPoint(a);this.map.panTo(h)},this._addMarkers=t=>{t.clear&&this.map.clearOverlays(this.markers),t.markers.forEach((i=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.latitude&&i.longitude&&i.iconPath){const b=new BMapGL.Point(i.longitude,i.latitude),w=new BMapGL.Marker(b,{enableClicking:!0});if(this.map.addOverlay(w),w.id=i.id,w.alpha=i.alpha,i.zIndex&&w.setZIndex(i.zIndex),i.width&&i.height&&i.iconPath){const t=new BMapGL.Icon(i.iconPath,new BMapGL.Size(i.width,i.height));w.setIcon(t)}else{if(!i.iconPath)return void console.error("没有找到iconPath图片路径");{const t=new Image;t.src=i.iconPath,t.style.opacity=String(i.alpha),t.onload=()=>{const s=new BMapGL.Size(t.width,t.height),o=new BMapGL.Icon(t.src,s);o.imageOffset=new BMapGL.Size(0,0,i.alpha||1),w.setIcon(o)}}}const B=i.rotate?i.rotate:0;if(B&&w.setRotation(B),i.anchor){const t=(null!==(o=null===(s=i.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:0)*(i.width||0),e=(null!==(a=null===(n=i.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:0)*(i.height||0);w.setOffset(new BMapGL.Size(t,e))}if(!i.callout&&i.title&&new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(i,b)}}))})),i.callout){const s=(null===(h=i.callout)||void 0===h?void 0:h.anchorX)?null===(l=i.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=i.callout)||void 0===r?void 0:r.anchorY)?null===(d=i.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=i.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=i.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=i.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=i.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=i.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(w.callout=n,this.map.addOverlay(w),"ALWAYS"===(null===(f=i.callout)||void 0===f?void 0:f.display)){w.callout.disableCloseOnClick();const t=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${t.lat-100}px; left: ${t.lng-20}px;display:none`);const r=null===(s=i.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=i.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=i.callout)||void 0===n?void 0:n.borderColor,c=null===(e=i.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${t.lat-120}px; left:${t.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${i.lat-100}px; left: ${i.lng-20}px;display:none`);const r=null===(s=t.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${i.lat-120}px; left:${i.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else w.callout.enableCloseOnClick()}))}))}if(i.label){const t=i.label.content||"",s={position:b,offset:new BMapGL.Size(i.label.anchorX||0,i.label.anchorY||0)},o=new BMapGL.Label(t,s);o.setStyle({color:i.label.color,fontSize:i.label.fontSize+"px",borderWidth:i.label.borderWidth+"px",borderColor:i.label.borderColor,borderRadius:i.label.borderRadius+"px",background:i.label.bgColor,padding:i.label.padding+"px"}),w.setLabel(o)}}}))},this._removeMarkers=t=>{const i=this.map.getOverlays();let s={};return t.markerIds.forEach((t=>{const o=i.find((i=>i instanceof BMapGL.Marker&&String(i.id)===t));s=o,this.map.removeOverlay(o)})),s},this._moveAlong=t=>{const i=t.path,s=t.markerId,o=t.duration,n=t.autoRotate,e=this.map.getOverlays().find((t=>t instanceof BMapGL.Marker&&t.id===s)),a=i.map((t=>new BMapGL.Point(t.longitude,t.latitude))),h={flagId:!0,flagCoordinate:!0};if(!e)return console.error(`Marker "${s}" not found.`),h.flagId=!1,h;for(let t=0;t<a.length;t++){const i=a[t];if(i.lat<-80&&i.lat>=-90&&(i.lat+=10),i.lng<-180||i.lng>180||i.lat<-90||i.lat>90||isNaN(i.lng)||isNaN(i.lat))return h.flagCoordinate=!1,h}if(h.flagId&&h.flagCoordinate){const t=performance.now(),i=s=>{const h=Math.min((s-t)/o,1),l=this.getPointOnPath(a,h);if(e.setPosition(l),n&&h<1){const t=this.getPointOnPath(a,Math.min(h+.01,1)),i=this.calculateRotation(l,t);e.setRotation(i)}h<1?requestAnimationFrame(i):(e.setPosition(a[a.length-1]),e.setRotation(0))};requestAnimationFrame(i)}return h},this.getPointOnPath=(t,i)=>{const s=this.calculateTotalLength(t)*i;let o=0;for(let i=0;i<t.length-1;i++){const n=this.map.getDistance(t[i],t[i+1]);if(o+n>=s){const e=(s-o)/n;return new BMapGL.Point(t[i].lng+(t[i+1].lng-t[i].lng)*e,t[i].lat+(t[i+1].lat-t[i].lat)*e)}o+=n}return t[t.length-1]},this.calculateTotalLength=t=>{let i=0;for(let s=0;s<t.length-1;s++)i+=this.map.getDistance(t[s],t[s+1]);return i},this.calculateRotation=(t,i)=>{let s=Math.atan2(i.lat-t.lat,i.lng-t.lng)*(180/Math.PI);return s=90-s,s},this._addGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h=!0;if(o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)return void(h=!1);if(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))return void(h=!1);if(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))return void(h=!1);const l=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude));function r(t,i,s,o,n,e,a){this._bounds=t,this._imageUrl=i,this._map=s,this._visible=o,this._opacity=n,this._zIndex=e,this._id=a}(r.prototype=new BMapGL.Overlay).initialize=function(t){if(document.getElementById(this._id)){const t=document.getElementById(this._id);null==t||t.remove()}if(this._map=t,!this._div){const t=document.createElement("div");t.id=this._id,t.style.position="absolute",t.style.border="none",t.style.zIndex=this._zIndex;const i=document.createElement("img");i.src=this._imageUrl,i.style.opacity=this._opacity<0?"1":this._opacity,t.appendChild(i),this._div=t}return t.addEventListener("zoomend",(()=>{const i=t.pointToOverlayPixel(this._bounds.getSouthWest()),s=t.pointToOverlayPixel(this._bounds.getNorthEast()),o=s.x-i.x,n=i.y-s.y;this._div.style.width=o+"px",this._div.style.height=n+"px";const e=this._div.querySelector("img");e.style.width=o+"px",e.style.height=n+"px"})),t.getPanes().labelPane.appendChild(this._div),this._div},r.prototype.draw=function(){const i=this._map.pointToOverlayPixel({lat:t.bounds.northeast.latitude,lng:t.bounds.southwest.longitude});this._div.style.left=i.x+"px",this._div.style.top=i.y+"px";const s=this._map.getBounds(),o=this._map.pointToPixel(s.getSouthWest()),n=this._map.pointToPixel(s.getNorthEast()),e=n.x-o.x,a=n.y-o.y,h=this._map.getZoom(),l=e*Math.pow(2,18-h),r=a*Math.pow(2,18-h);this._div.style.width=l+"px",this._div.style.height=r+"px",this._div.style.display=this._visible?"block":"none";const d=this._opacity<0?"1":this._opacity;this._div.getElementsByTagName("img")[0].style.opacity=d};const d=new r(l,i,this.map,n,s,a,e);this.map.addOverlay(d);const p=this.map.getOverlays().sort(((t,i)=>t._zIndex-i._zIndex));this.groundOverlay=d,p.forEach((t=>t.draw()));const c=this.map.getZoom();return c<20?(this.map.setZoom(c+1),this.map.setZoom(c)):(this.map.setZoom(c-1),this.map.setZoom(c)),h},this._updateGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h,l=!0,r=!0,d={};const p=this.map.getOverlays().find((t=>t._id===e));if(!p)return l=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h;if((o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),l&&r){const t=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude)),c=this.map.getZoom();if(p){const o=document.getElementById(e);if(o){const e=o.querySelector("img");if(e){o.style.opacity=s<0?"1":s,e.style.display=n?"block":"none",o.style.zIndex=a;const h=new Image;h.onload=()=>{e.src=i;const s=t.getNorthEast().lng-t.getSouthWest().lng,o=this.map.getSize().width/Math.pow(2,18-c)*s,n=o*(h.naturalHeight/h.naturalWidth);e.style.width=`${o}px`,e.style.height=`${n}px`,p._bounds=t,p.draw(),this.map.panTo(this.map.getCenter()),p.draw()},h.src=i}}}else console.error(`未找到id为${e}的元素`);return d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h}return h},this._removeGroundOverlay=t=>{let i="";const s=this.map.getOverlays().find((i=>i._id===t.id));return i=s,s&&this.map.removeOverlay(s),i},this._setBoundary=t=>{let i=t.northeast.latitude,s=t.southwest.latitude,o=!0;if(t.northeast.latitude<=-80&&t.northeast.latitude>=-90&&(i=t.northeast.latitude+10),t.southwest.latitude<=-80&&t.southwest.latitude>=-90&&(s=t.southwest.latitude+10),t.northeast.latitude<-90||t.northeast.latitude>90||t.northeast.longitude<-180||t.northeast.longitude>180||isNaN(t.northeast.latitude)||isNaN(t.northeast.longitude)||t.northeast.longitude<t.southwest.longitude||t.northeast.latitude<t.southwest.latitude)return void(o=!1);if(t.southwest.latitude<-90||t.southwest.latitude>90||t.southwest.longitude<-180||t.southwest.longitude>180||isNaN(t.southwest.latitude)||isNaN(t.southwest.longitude))return void(o=!1);const n=new BMapGL.Point(t.northeast.longitude,i),e=new BMapGL.Point(t.southwest.longitude,s),a=new BMapGL.Bounds(e,n),h=this.map.getViewport([n,e]);return this.map.centerAndZoom(new BMapGL.Point(h.center.lng,h.center.lat),h.zoom+2),this.map.addOverlay(new BMapGL.Polygon([new BMapGL.Point(a.sw.lng,a.sw.lat),new BMapGL.Point(a.sw.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.sw.lat)],{fillOpacity:0})),BMapGLLib.AreaRestriction.setBounds(this.map,a),o},this.latitude=void 0,this.longitude=void 0,this.scale=void 0,this.minScale=void 0,this.maxScale=void 0,this.markers=void 0,this.polyline=void 0,this.circles=void 0,this.polygons=void 0,this.subkey=void 0,this.layerStyle=void 0,this.rotate=void 0,this.skew=void 0,this.showCompass=void 0,this.showScale=void 0,this.enableOverlooking=void 0,this.enableZoom=void 0,this.enableScroll=void 0,this.enableRotate=void 0,this.enableSatellite=void 0,this.enableTraffic=void 0,this.enableBuilding=void 0,this.enableAutoMaxOverlooking=void 0,this.enable3D=void 0,this.width="100%",this.height="100%"}async componentDidLoad(){if(await this.loadMapScript(),await this.LoadBmapLibScript(),this.mapRef){if(this.mapRef.addEventListener("touchmove",(t=>{t.cancelable&&t.preventDefault()})),this.map=new BMapGL.Map(this.mapRef),this.map.removeControl(this.map.getMapType()),this.latitude<-90||this.latitude>90||this.longitude<-180||this.longitude>180||isNaN(this.latitude)||isNaN(this.longitude))return void console.error("请正确设置中心经纬度");let t=isNaN(this.scale)?16:this.scale,i=isNaN(this.minScale)?3:this.minScale,s=isNaN(this.maxScale)?16:this.maxScale;const o=new BMapGL.Point(this.longitude,this.latitude);i<3||i>20?(i=3,this.map.setMinZoom(3)):this.map.setMinZoom(i),s>20||s<3?(s=20,this.map.setMaxZoom(20)):this.map.setMaxZoom(s),i>s&&(i=3,this.map.setMinZoom(3),s=20,this.map.setMaxZoom(20)),i<=16&&s>=16?(t>=i&&t<=s||(t=16),this.map.centerAndZoom(o,t)):t>=i&&t<=s?this.map.centerAndZoom(o,t):t<i?(t=i,this.map.centerAndZoom(o,i)):(t=s,this.map.centerAndZoom(o,s)),Array.isArray(this.markers)&&this.addMarkers(this.markers),Array.isArray(this.polyline)&&this.polyline.forEach((t=>{if(t.points){const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polyline(i,{strokeColor:t.color,strokeWeight:t.width,strokeStyle:t.dottedLine?"dashed":"solid",strokeOpacity:1});this.map.addOverlay(s)}})),Array.isArray(this.circles)&&this.circles.forEach((t=>{if(t.latitude&&t.longitude&&t.radius){const i=new BMapGL.Point(t.longitude,t.latitude),s=new BMapGL.Circle(i,t.radius,{strokeColor:t.color,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)}})),Array.isArray(this.polygons)&&this.polygons.forEach((t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polygon(i,{strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)})),0===this.layerStyle?this.layerStyle&&this.map.setMapStyleV2({styleId:this.subkey}):1===(this.layerStyle?this.layerStyle:1)&&this.map.setMapStyleV2({styleId:this.subkey});const n=this.skew?this.skew:0;if(this.map.setTilt(!0===(!0===this.enable3D&&this.enable3D)?!0===(!0===this.enableOverlooking&&this.enableOverlooking)?!0===(!0===this.enableAutoMaxOverlooking&&this.enableAutoMaxOverlooking)?75:45:n>=0&&n<=40?n:0:0),!0===(!0===this.showCompass&&this.showCompass)){const t=new BMapGL.NavigationControl3D({anchor:BMAP_ANCHOR_TOP_RIGHT,type:3});this.map.addControl(t)}if(!0===(!0===this.showScale&&this.showScale)){const t=new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT});this.map.addControl(t)}if(!0===(!1!==this.enableZoom||this.enableZoom)&&this.map.enableScrollWheelZoom(this.enableZoom),!0===this.enableZoom&&this.mapRef?this.map.enablePinchToZoom():this.map.disablePinchToZoom(),!0===(!1!==this.enableScroll||this.enableScroll)?this.map.enableDragging():this.map.disableDragging(),this.map.setHeading((this.rotate?this.rotate:0)>=0&&this.rotate<=360?this.rotate:0),!0===this.enableRotate&&this.map.enableRotateGestures(),!0===(!0===this.enableSatellite&&this.enableSatellite)&&this.mapRef){const t=new BMapGL.MapTypeControl({mapTypes:[BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP]});this.map.addControl(t)}!0===(!0===this.enableTraffic&&this.enableTraffic)&&this.mapRef&&this.map.setTrafficOn(),!1===(!1!==this.enableBuilding||this.enableBuilding)&&this.map.setDisplayOptions({building:!1})}this.map&&new e(this.mapRef).on("tap",(t=>{const i=this.map.pixelToPoint({x:t.center.x,y:t.center.y});this.onTap.emit({longitude:i.lng,latitude:i.lat})}))}disconnectedCallback(){this.map&&this.map.destroy()}addMarkers(t){const i=[];t.forEach((t=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.includes(t.id))console.error("请输入不同的marker的id");else if(i.push(t.id),t.latitude&&t.longitude&&t.iconPath&&t.id){if(t.latitude<-90||t.latitude>90||t.longitude<-180||t.longitude>180)return void console.error("请正确设置marker的经纬度");const i=new BMapGL.Point(t.longitude,t.latitude),b=new BMapGL.Marker(i,{enableClicking:!0});if(b.id=t.id,b.alpha=t.alpha,t.zIndex&&b.setZIndex(t.zIndex),t.width&&t.height){const i=document.createElement("canvas");i.width=2*t.width,i.height=2*t.height;const s=i.getContext("2d"),o=new Image;o.crossOrigin="Anonymous",o.src=t.iconPath,o.onload=function(){s.drawImage(o,0,0,2*t.width,2*t.height);const n=new BMapGL.Icon(i.toDataURL(),new BMapGL.Size(t.width,t.height),{anchor:new BMapGL.Size(0,0)});b.setIcon(n)}}else{const i=new Image;i.src=t.iconPath,i.style.opacity=String(t.alpha),i.onload=()=>{const s=new BMapGL.Size(i.width,i.height),o=new BMapGL.Icon(i.src,s);o.imageOffset=new BMapGL.Size(0,0,t.alpha||1),b.setIcon(o)}}const w=t.rotate?t.rotate:0;w>=0&&w<=360&&b.setRotation(w);const B=null!==(o=null===(s=t.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:.5,L=null!==(a=null===(n=t.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:1;if(b.setOffset(B>=0&&B<=1&&L>=0&&L<=1?new BMapGL.Size(-B*(t.width||0),-L*(t.height||0)):new BMapGL.Size(-.5*(t.width||0),-1*(t.height||0))),!t.callout&&t.title&&new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(s,i)}}))})),t.callout){const s=(null===(h=t.callout)||void 0===h?void 0:h.anchorX)?null===(l=t.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=t.callout)||void 0===r?void 0:r.anchorY)?null===(d=t.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=t.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=t.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=t.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=t.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=t.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(b.callout=n,this.map.addOverlay(b),"ALWAYS"===(null===(f=t.callout)||void 0===f?void 0:f.display)){b.callout.disableCloseOnClick();const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;borderLeft:${d}px solid transparent;borderRight:${d}px solid transparent;borderTop:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else b.callout.enableCloseOnClick()}))}))}if(t.label){const s=t.label.content||"",o={position:i,offset:new BMapGL.Size(t.label.anchorX||0,t.label.anchorY||0)},n=new BMapGL.Label(s,o);n.setStyle({color:t.label.color,fontSize:t.label.fontSize+"px",borderWidth:t.label.borderWidth+"px",borderColor:t.label.borderColor?t.label.borderColor:"white",borderRadius:t.label.borderRadius+"px",background:t.label.bgColor,padding:t.label.padding+"px"}),b.setLabel(n)}this.map.addOverlay(b)}else console.error("请检查marker经纬度和marker自定义图标路径和id值")}))}loadMapScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="https://api.map.baidu.com/getscript?v=3.0&type=webgl&ak=Mb1FLBD3gfnY6bup4v6zEWh6MXwsZ9eo",s.defer=!0,s.onload=()=>t(),s.onerror=i,s.type="text/javascript",document.head.appendChild(s)}))}async LoadBmapLibScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="//mapopen.bj.bcebos.com/github/BMapGLLib/AreaRestriction/src/AreaRestriction.min.js",s.defer=!0,s.type="text/javascript",s.onload=()=>{t()},s.onerror=i,document.head.appendChild(s)}))}render(){return s(o,null,s("div",{id:"mapContainer",ref:t=>{t&&(this.mapRef=t)},style:{width:this.width,height:this.height}}))}get el(){return n(this)}};a.style=".BMap_cpyCtrl,.anchorBL img,.BMap_bubble_buttons{display:none}";export{a as M}
|
|
1
|
+
import{r as t,c as i,h as s,H as o,g as n}from"./p-f72fcd8c.js";import e from"hammerjs";const a=class{constructor(s){t(this,s),this.onTap=i(this,"tap",7),this.currentRotation=0,this._getCenterLocation=t=>{this.map.getOverlays().forEach((t=>{t instanceof BMapGL.Marker&&t.isCenterMarker&&this.map.removeOverlay(t)})),t.iconPath="https://img0.baidu.com/it/u=2604176863,3349829508&fm=253&fmt=auto&app=138&f=PNG?w=243&h=243";const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=[this.longitude,this.latitude],o=new BMapGL.Marker(new BMapGL.Point(this.longitude,this.latitude),{icon:i});return o.isCenterMarker=!0,this.map.addOverlay(o),s},this._setLocMarkerIcon=t=>{const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=new BMapGL.Point(116.404,39.915),o=new BMapGL.Marker(s,{icon:i});this.map.addOverlay(o)},this._translateMarker=t=>{let i=t.destination.latitude;const s=t.destination.longitude;i<-80&&i>=-90&&(i=t.destination.latitude+10);const o=new BMapGL.Point(s,i),n={flagId:!0,flagCoordinate:!0},e={errMsg:"animationEnd:ok"},a=this.map.getOverlays().find((i=>i instanceof BMapGL.Marker&&i.id===t.markerId));if(!a)return console.error(`Marker "${t.markerId}" not found.`),n.flagId=!1,n;if(i>90||i<-90||s>180||s<-180||isNaN(i)||isNaN(s))return n.flagCoordinate=!1,n;const h=a.getPosition(),l=(o.lng-h.lng)/(t.duration/16),r=(o.lat-h.lat)/(t.duration/16),d=a.getRotation(),p=t.rotate;this.currentRotation?this.currentRotation+=p:this.currentRotation=p;const c=(this.currentRotation-d)/(t.duration/16);let u=h,v=d;if(!t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{if(u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16){clearInterval(s);let i=0;const o=setInterval((()=>{v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(o),null==t||t.animationEnd(e))}),16)}}),16)}else if(t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}else if(t.moveWithRotate&&!t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}return n},this._includePoints=t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=this.map.getZoom(),o=this.map.getCenter(),n=this.map.getViewport(i);this.map.centerAndZoom(n.center,n.zoom);const e=this.map.getBounds();let a=!0;for(let t=0;t<i.length;t++)if(!e.containsPoint(i[t])){this.map.centerAndZoom(o,s),a=!1;break}return a},this._getRegion=()=>{const t=this.map.getBounds(),i=t.getSouthWest(),s=t.getNorthEast();return{southwest:{lat:i.lat,lng:i.lng},northeast:{lat:s.lat,lng:s.lng}}},this._getRotate=()=>{let t=this.rotate;return(t<0||t>360)&&(t=0),t},this._getSkew=()=>{let t=this.skew;return(t<0||t>40)&&(t=0),t},this._getScale=()=>this.scale,this._setCenterOffset=t=>{const[i,s]=t.offset,o=this.map.getSize(),n=Math.max(.25*o.width,Math.min(.75*o.width,i*o.width)),e=Math.max(.25*o.height,Math.min(.75*o.height,s*o.height)),a=new BMapGL.Pixel(n,e),h=this.map.pixelToPoint(a);this.map.panTo(h)},this._addMarkers=t=>{t.clear&&this.map.clearOverlays(this.markers),t.markers.forEach((i=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.latitude&&i.longitude&&i.iconPath){const b=new BMapGL.Point(i.longitude,i.latitude),w=new BMapGL.Marker(b,{enableClicking:!0});if(this.map.addOverlay(w),w.id=i.id,w.alpha=i.alpha,i.zIndex&&w.setZIndex(i.zIndex),i.width&&i.height&&i.iconPath){const t=new BMapGL.Icon(i.iconPath,new BMapGL.Size(i.width,i.height));w.setIcon(t)}else{if(!i.iconPath)return void console.error("没有找到iconPath图片路径");{const t=new Image;t.src=i.iconPath,t.style.opacity=String(i.alpha),t.onload=()=>{const s=new BMapGL.Size(t.width,t.height),o=new BMapGL.Icon(t.src,s);o.imageOffset=new BMapGL.Size(0,0,i.alpha||1),w.setIcon(o)}}}const B=i.rotate?i.rotate:0;if(B&&w.setRotation(B),i.anchor){const t=(null!==(o=null===(s=i.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:0)*(i.width||0),e=(null!==(a=null===(n=i.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:0)*(i.height||0);w.setOffset(new BMapGL.Size(t,e))}if(!i.callout&&i.title&&new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(i,b)}}))})),i.callout){const s=(null===(h=i.callout)||void 0===h?void 0:h.anchorX)?null===(l=i.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=i.callout)||void 0===r?void 0:r.anchorY)?null===(d=i.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=i.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=i.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=i.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=i.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=i.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(w.callout=n,this.map.addOverlay(w),"ALWAYS"===(null===(f=i.callout)||void 0===f?void 0:f.display)){w.callout.disableCloseOnClick();const t=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${t.lat-100}px; left: ${t.lng-20}px;display:none`);const r=null===(s=i.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=i.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=i.callout)||void 0===n?void 0:n.borderColor,c=null===(e=i.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${t.lat-120}px; left:${t.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${i.lat-100}px; left: ${i.lng-20}px;display:none`);const r=null===(s=t.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${i.lat-120}px; left:${i.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else w.callout.enableCloseOnClick()}))}))}if(i.label){const t=i.label.content||"",s={position:b,offset:new BMapGL.Size(i.label.anchorX||0,i.label.anchorY||0)},o=new BMapGL.Label(t,s);o.setStyle({color:i.label.color,fontSize:i.label.fontSize+"px",borderWidth:i.label.borderWidth+"px",borderColor:i.label.borderColor,borderRadius:i.label.borderRadius+"px",background:i.label.bgColor,padding:i.label.padding+"px"}),w.setLabel(o)}}}))},this._removeMarkers=t=>{const i=this.map.getOverlays();let s={};return t.markerIds.forEach((t=>{const o=i.find((i=>i instanceof BMapGL.Marker&&String(i.id)===t));s=o,this.map.removeOverlay(o)})),s},this._moveAlong=t=>{const i=t.path,s=t.markerId,o=t.duration,n=t.autoRotate,e=this.map.getOverlays().find((t=>t instanceof BMapGL.Marker&&t.id===s)),a=i.map((t=>new BMapGL.Point(t.longitude,t.latitude))),h={flagId:!0,flagCoordinate:!0};if(!e)return console.error(`Marker "${s}" not found.`),h.flagId=!1,h;for(let t=0;t<a.length;t++){const i=a[t];if(i.lat<-80&&i.lat>=-90&&(i.lat+=10),i.lng<-180||i.lng>180||i.lat<-90||i.lat>90||isNaN(i.lng)||isNaN(i.lat))return h.flagCoordinate=!1,h}if(h.flagId&&h.flagCoordinate){const t=performance.now(),i=s=>{const h=Math.min((s-t)/o,1),l=this.getPointOnPath(a,h);if(e.setPosition(l),n&&h<1){const t=this.getPointOnPath(a,Math.min(h+.01,1)),i=this.calculateRotation(l,t);e.setRotation(i)}h<1?requestAnimationFrame(i):(e.setPosition(a[a.length-1]),e.setRotation(0))};requestAnimationFrame(i)}return h},this.getPointOnPath=(t,i)=>{const s=this.calculateTotalLength(t)*i;let o=0;for(let i=0;i<t.length-1;i++){const n=this.map.getDistance(t[i],t[i+1]);if(o+n>=s){const e=(s-o)/n;return new BMapGL.Point(t[i].lng+(t[i+1].lng-t[i].lng)*e,t[i].lat+(t[i+1].lat-t[i].lat)*e)}o+=n}return t[t.length-1]},this.calculateTotalLength=t=>{let i=0;for(let s=0;s<t.length-1;s++)i+=this.map.getDistance(t[s],t[s+1]);return i},this.calculateRotation=(t,i)=>{let s=Math.atan2(i.lat-t.lat,i.lng-t.lng)*(180/Math.PI);return s=90-s,s},this._addGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h=!0;if(o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)return void(h=!1);if(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))return void(h=!1);if(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))return void(h=!1);const l=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude));function r(t,i,s,o,n,e,a){this._bounds=t,this._imageUrl=i,this._map=s,this._visible=o,this._opacity=n,this._zIndex=e,this._id=a}(r.prototype=new BMapGL.Overlay).initialize=function(t){if(document.getElementById(this._id)){const t=document.getElementById(this._id);null==t||t.remove()}if(this._map=t,!this._div){const t=document.createElement("div");t.id=this._id,t.style.position="absolute",t.style.border="none",t.style.zIndex=this._zIndex;const i=document.createElement("img");i.src=this._imageUrl,i.style.opacity=this._opacity<0?"1":this._opacity,t.appendChild(i),this._div=t}return t.addEventListener("zoomend",(()=>{const i=t.pointToOverlayPixel(this._bounds.getSouthWest()),s=t.pointToOverlayPixel(this._bounds.getNorthEast()),o=s.x-i.x,n=i.y-s.y;this._div.style.width=o+"px",this._div.style.height=n+"px";const e=this._div.querySelector("img");e.style.width=o+"px",e.style.height=n+"px"})),t.getPanes().labelPane.appendChild(this._div),this._div},r.prototype.draw=function(){const i=this._map.pointToOverlayPixel({lat:t.bounds.northeast.latitude,lng:t.bounds.southwest.longitude});this._div.style.left=i.x+"px",this._div.style.top=i.y+"px";const s=this._map.getBounds(),o=this._map.pointToPixel(s.getSouthWest()),n=this._map.pointToPixel(s.getNorthEast()),e=n.x-o.x,a=n.y-o.y,h=this._map.getZoom(),l=e*Math.pow(2,18-h),r=a*Math.pow(2,18-h);this._div.style.width=l+"px",this._div.style.height=r+"px",this._div.style.display=this._visible?"block":"none";const d=this._opacity<0?"1":this._opacity;this._div.getElementsByTagName("img")[0].style.opacity=d};const d=new r(l,i,this.map,n,s,a,e);this.map.addOverlay(d);const p=this.map.getOverlays().sort(((t,i)=>t._zIndex-i._zIndex));this.groundOverlay=d,p.forEach((t=>t.draw()));const c=this.map.getZoom();return c<20?(this.map.setZoom(c+1),this.map.setZoom(c)):(this.map.setZoom(c-1),this.map.setZoom(c)),h},this._updateGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h,l=!0,r=!0,d={};const p=this.map.getOverlays().find((t=>t._id===e));if(!p)return l=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h;if((o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),l&&r){const t=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude)),c=this.map.getZoom();if(p){const o=document.getElementById(e);if(o){const e=o.querySelector("img");if(e){o.style.opacity=s<0?"1":s,e.style.display=n?"block":"none",o.style.zIndex=a;const h=new Image;h.onload=()=>{e.src=i;const s=t.getNorthEast().lng-t.getSouthWest().lng,o=this.map.getSize().width/Math.pow(2,18-c)*s,n=o*(h.naturalHeight/h.naturalWidth);e.style.width=`${o}px`,e.style.height=`${n}px`,p._bounds=t,p.draw(),this.map.panTo(this.map.getCenter()),p.draw()},h.src=i}}}else console.error(`未找到id为${e}的元素`);return d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h}return h},this._removeGroundOverlay=t=>{let i="";const s=this.map.getOverlays().find((i=>i._id===t.id));return i=s,s&&this.map.removeOverlay(s),i},this._setBoundary=t=>{let i=t.northeast.latitude,s=t.southwest.latitude,o=!0;if(t.northeast.latitude<=-80&&t.northeast.latitude>=-90&&(i=t.northeast.latitude+10),t.southwest.latitude<=-80&&t.southwest.latitude>=-90&&(s=t.southwest.latitude+10),t.northeast.latitude<-90||t.northeast.latitude>90||t.northeast.longitude<-180||t.northeast.longitude>180||isNaN(t.northeast.latitude)||isNaN(t.northeast.longitude)||t.northeast.longitude<t.southwest.longitude||t.northeast.latitude<t.southwest.latitude)return void(o=!1);if(t.southwest.latitude<-90||t.southwest.latitude>90||t.southwest.longitude<-180||t.southwest.longitude>180||isNaN(t.southwest.latitude)||isNaN(t.southwest.longitude))return void(o=!1);const n=new BMapGL.Point(t.northeast.longitude,i),e=new BMapGL.Point(t.southwest.longitude,s),a=new BMapGL.Bounds(e,n),h=this.map.getViewport([n,e]);return this.map.centerAndZoom(new BMapGL.Point(h.center.lng,h.center.lat),h.zoom+2),this.map.addOverlay(new BMapGL.Polygon([new BMapGL.Point(a.sw.lng,a.sw.lat),new BMapGL.Point(a.sw.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.sw.lat)],{fillOpacity:0})),BMapGLLib.AreaRestriction.setBounds(this.map,a),o},this.latitude=void 0,this.longitude=void 0,this.scale=void 0,this.minScale=void 0,this.maxScale=void 0,this.markers=void 0,this.polyline=void 0,this.circles=void 0,this.polygons=void 0,this.subkey=void 0,this.layerStyle=void 0,this.rotate=void 0,this.skew=void 0,this.showCompass=void 0,this.showScale=void 0,this.enableOverlooking=void 0,this.enableZoom=void 0,this.enableScroll=void 0,this.enableRotate=void 0,this.enableSatellite=void 0,this.enableTraffic=void 0,this.enableBuilding=void 0,this.enableAutoMaxOverlooking=void 0,this.enable3D=void 0,this.width="100%",this.height="100%"}async componentDidLoad(){if(await this.loadMapScript(),await this.LoadBmapLibScript(),this.mapRef){if(this.mapRef.addEventListener("touchmove",(t=>{t.cancelable&&t.preventDefault()})),this.map=new BMapGL.Map(this.mapRef),this.map.removeControl(this.map.getMapType()),this.latitude<-90||this.latitude>90||this.longitude<-180||this.longitude>180||isNaN(this.latitude)||isNaN(this.longitude))return void console.error("请正确设置中心经纬度");let t=isNaN(this.scale)?16:this.scale,i=isNaN(this.minScale)?3:this.minScale,s=isNaN(this.maxScale)?16:this.maxScale;const o=new BMapGL.Point(this.longitude,this.latitude);i<3||i>20?(i=3,this.map.setMinZoom(3)):this.map.setMinZoom(i),s>20||s<3?(s=20,this.map.setMaxZoom(20)):this.map.setMaxZoom(s),i>s&&(i=3,this.map.setMinZoom(3),s=20,this.map.setMaxZoom(20)),i<=16&&s>=16?(t>=i&&t<=s||(t=16),this.map.centerAndZoom(o,t)):t>=i&&t<=s?this.map.centerAndZoom(o,t):t<i?(t=i,this.map.centerAndZoom(o,i)):(t=s,this.map.centerAndZoom(o,s)),Array.isArray(this.markers)&&this.addMarkers(this.markers),Array.isArray(this.polyline)&&this.polyline.forEach((t=>{if(t.points){const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polyline(i,{strokeColor:t.color,strokeWeight:t.width,strokeStyle:t.dottedLine?"dashed":"solid",strokeOpacity:1});this.map.addOverlay(s)}})),Array.isArray(this.circles)&&this.circles.forEach((t=>{if(t.latitude&&t.longitude&&t.radius){const i=new BMapGL.Point(t.longitude,t.latitude),s=new BMapGL.Circle(i,t.radius,{strokeColor:t.color,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)}})),Array.isArray(this.polygons)&&this.polygons.forEach((t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polygon(i,{strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)})),0===this.layerStyle?this.layerStyle&&this.map.setMapStyleV2({styleId:this.subkey}):1===(this.layerStyle?this.layerStyle:1)&&this.map.setMapStyleV2({styleId:this.subkey});const n=this.skew?this.skew:0;if(this.map.setTilt(!0===(!0===this.enable3D&&this.enable3D)?!0===(!0===this.enableOverlooking&&this.enableOverlooking)?!0===(!0===this.enableAutoMaxOverlooking&&this.enableAutoMaxOverlooking)?75:45:n>=0&&n<=40?n:0:0),!0===(!0===this.showCompass&&this.showCompass)){const t=new BMapGL.NavigationControl3D({anchor:BMAP_ANCHOR_TOP_RIGHT,type:3});this.map.addControl(t)}if(!0===(!0===this.showScale&&this.showScale)){const t=new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT});this.map.addControl(t)}if(!0===(!1!==this.enableZoom||this.enableZoom)&&this.map.enableScrollWheelZoom(this.enableZoom),!0===this.enableZoom&&this.mapRef?this.map.enablePinchToZoom():this.map.disablePinchToZoom(),!0===(!1!==this.enableScroll||this.enableScroll)?this.map.enableDragging():this.map.disableDragging(),this.map.setHeading((this.rotate?this.rotate:0)>=0&&this.rotate<=360?this.rotate:0),!0===this.enableRotate&&this.map.enableRotateGestures(),!0===(!0===this.enableSatellite&&this.enableSatellite)&&this.mapRef){const t=new BMapGL.MapTypeControl({mapTypes:[BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP]});this.map.addControl(t)}!0===(!0===this.enableTraffic&&this.enableTraffic)&&this.mapRef&&this.map.setTrafficOn(),!1===(!1!==this.enableBuilding||this.enableBuilding)&&this.map.setDisplayOptions({building:!1})}this.map&&new e(this.mapRef).on("tap",(t=>{const i=this.map.pixelToPoint({x:t.center.x,y:t.center.y});this.onTap.emit({longitude:i.lng,latitude:i.lat})}))}disconnectedCallback(){this.map&&this.map.destroy()}addMarkers(t){const i=[];t.forEach((t=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.includes(t.id))console.error("请输入不同的marker的id");else if(i.push(t.id),t.latitude&&t.longitude&&t.iconPath&&t.id){if(t.latitude<-90||t.latitude>90||t.longitude<-180||t.longitude>180)return void console.error("请正确设置marker的经纬度");const i=new BMapGL.Point(t.longitude,t.latitude),b=new BMapGL.Marker(i,{enableClicking:!0});if(b.id=t.id,b.alpha=t.alpha,t.zIndex&&b.setZIndex(t.zIndex),t.width&&t.height){const i=document.createElement("canvas");i.width=2*t.width,i.height=2*t.height;const s=i.getContext("2d"),o=new Image;o.crossOrigin="Anonymous",o.src=t.iconPath,o.onload=function(){s.drawImage(o,0,0,2*t.width,2*t.height);const n=new BMapGL.Icon(i.toDataURL(),new BMapGL.Size(t.width,t.height),{anchor:new BMapGL.Size(0,0)});b.setIcon(n)}}else{const i=new Image;i.src=t.iconPath,i.style.opacity=String(t.alpha),i.onload=()=>{const s=new BMapGL.Size(i.width,i.height),o=new BMapGL.Icon(i.src,s);o.imageOffset=new BMapGL.Size(0,0,t.alpha||1),b.setIcon(o)}}const w=t.rotate?t.rotate:0;w>=0&&w<=360&&b.setRotation(w);const B=null!==(o=null===(s=t.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:.5,L=null!==(a=null===(n=t.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:1;if(b.setOffset(B>=0&&B<=1&&L>=0&&L<=1?new BMapGL.Size(-B*(t.width||0),-L*(t.height||0)):new BMapGL.Size(-.5*(t.width||0),-1*(t.height||0))),!t.callout&&t.title&&new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(s,i)}}))})),t.callout){const s=(null===(h=t.callout)||void 0===h?void 0:h.anchorX)?null===(l=t.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=t.callout)||void 0===r?void 0:r.anchorY)?null===(d=t.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=t.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=t.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=t.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=t.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=t.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(b.callout=n,this.map.addOverlay(b),"ALWAYS"===(null===(f=t.callout)||void 0===f?void 0:f.display)){b.callout.disableCloseOnClick();const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;borderLeft:${d}px solid transparent;borderRight:${d}px solid transparent;borderTop:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else b.callout.enableCloseOnClick()}))}))}if(t.label){const s=t.label.content||"",o={position:i,offset:new BMapGL.Size(t.label.anchorX||0,t.label.anchorY||0)},n=new BMapGL.Label(s,o);n.setStyle({color:t.label.color,fontSize:t.label.fontSize+"px",borderWidth:t.label.borderWidth+"px",borderColor:t.label.borderColor?t.label.borderColor:"white",borderRadius:t.label.borderRadius+"px",background:t.label.bgColor,padding:t.label.padding+"px"}),b.setLabel(n)}this.map.addOverlay(b)}else console.error("请检查marker经纬度和marker自定义图标路径和id值")}))}loadMapScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="https://api.map.baidu.com/getscript?v=3.0&type=webgl&ak=Mb1FLBD3gfnY6bup4v6zEWh6MXwsZ9eo",s.defer=!0,s.onload=()=>t(),s.onerror=i,s.type="text/javascript",document.head.appendChild(s)}))}async LoadBmapLibScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="//mapopen.bj.bcebos.com/github/BMapGLLib/AreaRestriction/src/AreaRestriction.min.js",s.defer=!0,s.type="text/javascript",s.onload=()=>{t()},s.onerror=i,document.head.appendChild(s)}))}render(){return s(o,null,s("div",{id:"mapContainer",ref:t=>{t&&(this.mapRef=t)},style:{width:this.width,height:this.height}}))}get el(){return n(this)}};a.style=".BMap_cpyCtrl,.anchorBL img,.BMap_bubble_buttons{display:none}";export{a as M}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as taro_swiper_core,S as taro_swiper_item_core}from"./p-
|
|
1
|
+
export{a as taro_swiper_core,S as taro_swiper_item_core}from"./p-8d26b600.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";import"./p-dbdb9de9.js";import"@tarojs/taro";import"swiper/bundle";import"./p-5893c3ed.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("Login",this)}render(){return r(s,null)}};export{n as L}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{N as taro_native_slot_core}from"./p-49e4d6ae.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as taro_picker_core,T as taro_picker_group}from"./p-13d455f5.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("FollowSwan",this)}render(){return r(s,null)}};export{n as F}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(s){r(this,s)}componentDidLoad(){t("Script",this)}render(){return s(o,null)}};export{c as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{O as taro_open_data_core}from"./p-c872ed50.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,H as e}from"./p-
|
|
1
|
+
import{r as s,h as r,H as e}from"./p-f72fcd8c.js";const i=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:i,borderRadius:o,fontSize:t,strokeWidth:n,activeColor:a,backgroundColor:c,active:l}=this,p=s>100?100:s<0?0:s,h=l?"width 1s ease-in-out":"none";return r(e,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:n+"px",backgroundColor:c}},r("div",{class:"weui-progress__inner-bar",style:{width:`${p}%`,transition:h,WebkitTransition:h,backgroundColor:a,borderRadius:o?`${o}px`:"0px"}})),i&&r("div",{class:"weui-progress__opr",style:{"font-size":`${t}px`}},r("span",null,p,"%")))}};i.style=".weui-progress{align-items:center;display:flex}.weui-progress__bar{background-color:#ebebeb;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}";export{i as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as o,h as s}from"./p-
|
|
1
|
+
import{r,c as o,h as s}from"./p-f72fcd8c.js";const t=class{constructor(s){r(this,s),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7),this.src=void 0}render(){const{src:r,onLoad:o,onError:t}=this;return s("iframe",{class:"taro-webview",onLoad:s=>{s.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),t.emit({src:r})},src:r})}};t.style="iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}";export{t as W}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("VoipRoom",this)}render(){return r(s,null)}};export{n as V}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as taro_page_meta_core}from"./p-c9a01a1f.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("ArCamera",this)}render(){return s(o,null)}};export{a as A}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(s){r(this,s)}componentDidLoad(){t("GridBuilder",this)}render(){return s(o,null)}};export{d as G}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_scale_gesture_handler_core}from"./p-956bc9d5.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(r){o(this,r)}componentDidLoad(){t("RtcRoomItem",this)}render(){return r(s,null)}};export{c as R}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as h,g as o}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as h,g as o}from"./p-f72fcd8c.js";import{c as e}from"./p-160d710a.js";import{h as r}from"./p-dbdb9de9.js";const c=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}componentDidRender(){r(this.el)}render(){const t=e({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}get el(){return o(this)}};c.style="taro-view-core{display:block}";export{c as V}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{H as taro_horizontal_drag_gesture_handler_core}from"./p-8e3bac82.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as taro_comment_detail_core}from"./p-fff1a810.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as h}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as h}from"./p-f72fcd8c.js";import{c as o}from"./p-160d710a.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{T as taro_tabs_core}from"./p-93e3cefb.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("OpenData",this)}render(){return s(o,null)}};export{n as O}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("PageMeta",this)}render(){return s(o,null)}};export{a as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-f72fcd8c.js";const h=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.src=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:h,loop:o,muted:e,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:h,loop:o,muted:e,ref:t=>{this.audio=t}},r))}};h.style="audio{outline:none;max-width:100%}";export{h as A}
|