@clickview/exchange 0.43.0 → 0.43.1-dev.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/Actions-BtMRNMuv.cjs +1 -0
- package/dist/Actions-DfeKDy3k.js +178 -0
- package/dist/AddToLibraryView-BoCLtcWV.js +508 -0
- package/dist/AddToLibraryView-MpkcVgoR.cjs +1 -0
- package/dist/Badge-3MW5GacP.cjs +1 -0
- package/dist/Badge-Ddz0Il5v.js +326 -0
- package/dist/BadgeListContainer-CqwUuWKL.js +19 -0
- package/dist/BadgeListContainer-DLrBuDpU.cjs +1 -0
- package/dist/ButtonGroup-C-z2yWvb.cjs +1 -0
- package/dist/ButtonGroup-zaxEq7ZK.js +24 -0
- package/dist/Caret-Cpx0uvJ0.js +36 -0
- package/dist/Caret-Dgjy7YHO.cjs +1 -0
- package/dist/ChevronDownSvg-BI6xUNrZ.cjs +1 -0
- package/dist/ChevronDownSvg-BfijmId7.js +13 -0
- package/dist/ClassNameHelper-aJ0BDnVo.js +29 -0
- package/dist/ClassNameHelper-n4BHW-GR.cjs +1 -0
- package/dist/CloseSvg-2PKjla1T.js +13 -0
- package/dist/CloseSvg-B7rizkGp.cjs +1 -0
- package/dist/CurationStatus-BGjsO3l8.cjs +1 -0
- package/dist/CurationStatus-DZn3C9Qe.js +4 -0
- package/dist/DevErrorView-Bg1Ufy6-.js +79 -0
- package/dist/DevErrorView-CpXfV0V4.cjs +1 -0
- package/dist/DialogView-B5FEh3e8.cjs +1 -0
- package/dist/DialogView-RcNOylD7.js +22 -0
- package/dist/DownloadHelper-ChKHN-Le.cjs +1 -0
- package/dist/DownloadHelper-dL46n0Kq.js +32 -0
- package/dist/DownloadVideoView-CvDFi8HI.cjs +1 -0
- package/dist/DownloadVideoView-HSnwAYLp.js +32 -0
- package/dist/DragDropMoveWrapper-B_dy7ady.cjs +1 -0
- package/dist/DragDropMoveWrapper-TdzJqiqv.js +462 -0
- package/dist/ExchangeAddView-BRLjRe3p.js +63 -0
- package/dist/ExchangeAddView-CWfp5W52.cjs +1 -0
- package/dist/ExchangeFolderView-4ArEcQvn.js +159 -0
- package/dist/ExchangeFolderView-_ldS0uwf.cjs +1 -0
- package/dist/ExchangeMostRecentView-BMAosIXz.js +61 -0
- package/dist/ExchangeMostRecentView-s1iLfclz.cjs +1 -0
- package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +1 -0
- package/dist/ExchangeNotFoundView-Cb-rmQH1.js +7 -0
- package/dist/ExchangePreviewView-hztBChIE.js +82 -0
- package/dist/ExchangePreviewView-kjDv-uqf.cjs +1 -0
- package/dist/ExchangeRequests-B3wRfv5Y.cjs +1 -0
- package/dist/ExchangeRequests-DV7BD3HZ.js +115 -0
- package/dist/ExchangeSearchBar-CNtU_swT.js +32 -0
- package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +1 -0
- package/dist/ExchangeSearchResultsView-CEueb9Li.js +1641 -0
- package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +2 -0
- package/dist/ExchangeSeriesView-BGBgwgMW.cjs +1 -0
- package/dist/ExchangeSeriesView-DMr_mCAH.js +143 -0
- package/dist/ExchangeSuggestEditView-B3P-nGFE.js +307 -0
- package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +1 -0
- package/dist/ExchangeTabs-CrA22PjN.js +46 -0
- package/dist/ExchangeTabs-KgrROs1d.cjs +1 -0
- package/dist/ExchangeUtils-BRDE3b9w.cjs +1 -0
- package/dist/ExchangeUtils-CCCrn5oQ.js +65 -0
- package/dist/ExchangeView-Cui4zZ4D.js +30 -0
- package/dist/ExchangeView-Dql8pHzi.cjs +1 -0
- package/dist/FormButtons-CDOsf9A-.cjs +1 -0
- package/dist/FormButtons-fQkvwYsy.js +20 -0
- package/dist/FormFeedback-5Dd3bMCl.js +7 -0
- package/dist/FormFeedback-BU7vSBqB.cjs +1 -0
- package/dist/FormField-Cb2l2GMO.cjs +5 -0
- package/dist/FormField-DYeERWxm.js +3353 -0
- package/dist/GiveFeedbackView-0tH6h1s3.js +5436 -0
- package/dist/GiveFeedbackView-DirGDc2a.cjs +7 -0
- package/dist/GroupSvg-BmwXO6yT.js +53 -0
- package/dist/GroupSvg-DVAq4iNX.cjs +1 -0
- package/dist/HardCoded-25AFj2sZ.js +51 -0
- package/dist/HardCoded-BbbeCQNt.cjs +1 -0
- package/dist/HttpErrorHandlers-CBhvfsvb.cjs +1 -0
- package/dist/HttpErrorHandlers-DKqNIMOg.js +76 -0
- package/dist/IconCircle-BVHFUBGt.cjs +1 -0
- package/dist/IconCircle-CxFLsbLY.js +26 -0
- package/dist/InstanceRegion-C7aJEkFV.cjs +1 -0
- package/dist/InstanceRegion-DQlzs4EK.js +4 -0
- package/dist/LazyImage-DBQklqeJ.js +163 -0
- package/dist/LazyImage-lv36coda.cjs +1 -0
- package/dist/LibraryRequests-BHAZPSUw.js +186 -0
- package/dist/LibraryRequests-DKCsJHbr.cjs +1 -0
- package/dist/LinkifyHelper-DPHYATPc.js +925 -0
- package/dist/LinkifyHelper-EOfbsqdi.cjs +4 -0
- package/dist/MasterTypeHelper-Y_SDsEUF.cjs +1 -0
- package/dist/MasterTypeHelper-uSKy6GZd.js +16 -0
- package/dist/MediaQueries-9caJ2eG6.js +4 -0
- package/dist/MediaQueries-CE9Kbs0e.cjs +1 -0
- package/dist/PartialLoadingHelper-D42uOdDd.cjs +1 -0
- package/dist/PartialLoadingHelper-DIas6hnM.js +29 -0
- package/dist/PermissionFilterOption-B-QrMVdA.js +4 -0
- package/dist/PermissionFilterOption-BIA__Q_O.cjs +1 -0
- package/dist/PillTabSelector-B5V2rqf0.js +64 -0
- package/dist/PillTabSelector-yR52s5ix.cjs +14 -0
- package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +362 -0
- package/dist/PreviewVideoDetails-DJXB4vV3.js +68337 -0
- package/dist/ProgramType-DHk-SlRZ.cjs +1 -0
- package/dist/ProgramType-FpE5cuZV.js +60 -0
- package/dist/RatingRequests-BNPZAxXm.cjs +1 -0
- package/dist/RatingRequests-Dr3w3-z8.js +11 -0
- package/dist/RedirectView-BK8yU-PU.js +22 -0
- package/dist/RedirectView-OEJhJrvf.cjs +1 -0
- package/dist/RestrictionHelper-BSceJYz-.js +112 -0
- package/dist/RestrictionHelper-C5u_CmoL.cjs +1 -0
- package/dist/ScrollHelper-Dg7bDIH7.js +10 -0
- package/dist/ScrollHelper-ESsjtyv8.cjs +1 -0
- package/dist/SearchFilters-C_yEnumc.js +3046 -0
- package/dist/SearchFilters-D3fLjseM.cjs +1 -0
- package/dist/SearchSvg-BB6oXs1v.js +13 -0
- package/dist/SearchSvg-BU6G1Fs0.cjs +1 -0
- package/dist/SharedSearchHelper-BuVD-GvT.js +159 -0
- package/dist/SharedSearchHelper-D5GJJwW7.cjs +1 -0
- package/dist/TagItem-BBc3HmnI.cjs +1 -0
- package/dist/TagItem-BFnSikAz.js +1125 -0
- package/dist/TvAdFreeBadge-BDFn2ujd.js +11 -0
- package/dist/TvAdFreeBadge-X2iSf6B3.cjs +1 -0
- package/dist/TvAdFreeRequestView-CEAvozfO.js +46 -0
- package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +1 -0
- package/dist/TvAddView-Bv12wfX7.js +276 -0
- package/dist/TvAddView-CA7Yappn.cjs +1 -0
- package/dist/TvAlreadyAddedView-C240rLQ7.js +56 -0
- package/dist/TvAlreadyAddedView-X4KElzJA.cjs +1 -0
- package/dist/TvBroadcastContentView-DizJHvTQ.js +52 -0
- package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +1 -0
- package/dist/TvChannelBadge-B4a1wkQI.cjs +1 -0
- package/dist/TvChannelBadge-Doqs12s9.js +11 -0
- package/dist/TvChannelView-CSn0VleL.js +177 -0
- package/dist/TvChannelView-Ds_F3Mmp.cjs +1 -0
- package/dist/TvChannelsView-CM_T5E3j.js +171 -0
- package/dist/TvChannelsView-r3NO_BRv.cjs +1 -0
- package/dist/TvGuideView-B8vS-8lS.cjs +1 -0
- package/dist/TvGuideView-BLlQJiZ3.js +54 -0
- package/dist/TvHomeView-C_h4DZw_.cjs +1 -0
- package/dist/TvHomeView-CbNg8AyI.js +15 -0
- package/dist/TvPreviewView-DhXD3H__.js +114 -0
- package/dist/TvPreviewView-hGq7_Bzs.cjs +1 -0
- package/dist/TvProgramTimeBadge-BtQKNLz2.js +18 -0
- package/dist/TvProgramTimeBadge-DPJu73xG.cjs +1 -0
- package/dist/TvProgramsView-Ba9VPnEh.cjs +1 -0
- package/dist/TvProgramsView-DO4WnPJx.js +223 -0
- package/dist/TvRadioDownloadView-ByABG_YW.js +41 -0
- package/dist/TvRadioDownloadView-CitV60kZ.cjs +1 -0
- package/dist/TvRequestProgramView-CYc5nAEt.cjs +1 -0
- package/dist/TvRequestProgramView-Dm5Bra4d.js +267 -0
- package/dist/TvRequests-Bcy68aT5.js +227 -0
- package/dist/TvRequests-l_Xv-rcr.cjs +1 -0
- package/dist/TvSearchBar-5J6420z2.cjs +1 -0
- package/dist/TvSearchBar-KZqcg7G0.js +95 -0
- package/dist/TvSearchResultsView-BTONTtMg.cjs +1 -0
- package/dist/TvSearchResultsView-CMsq8ehS.js +212 -0
- package/dist/TvTabs-CrQVKuod.js +88 -0
- package/dist/TvTabs-JuCI2Ea7.cjs +1 -0
- package/dist/TypeHelper-Dt2Y9Wc4.js +14 -0
- package/dist/TypeHelper-Z2rqPzup.cjs +1 -0
- package/dist/UseAlerts-B2BbQeN3.js +39 -0
- package/dist/UseAlerts-pIg83NsO.cjs +1 -0
- package/dist/UseFetchAll-BaDVJFdj.cjs +1 -0
- package/dist/UseFetchAll-DYGA8s5a.js +147 -0
- package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +1 -0
- package/dist/UseGetMediaQueryString-Dc_jP0rr.js +226 -0
- package/dist/UseHandleDialogError-BJHsOnKn.js +9 -0
- package/dist/UseHandleDialogError-PbyWsVaT.cjs +1 -0
- package/dist/UseHandleObjectError-CBFN1Ill.cjs +1 -0
- package/dist/UseHandleObjectError-DAhDbPEo.js +16 -0
- package/dist/UseHover-CLOLtbUV.cjs +1 -0
- package/dist/UseHover-Cc_d5rRf.js +85 -0
- package/dist/UseSelectAllPages-04737Rdu.cjs +1 -0
- package/dist/UseSelectAllPages-Cnk3MEAt.js +149 -0
- package/dist/VideoHelper-3AKe5Jyy.js +477 -0
- package/dist/VideoHelper-BQ7rWUw0.cjs +1 -0
- package/dist/VideoList-SNG1hmoL.cjs +49 -0
- package/dist/VideoList-s7lvSqSs.js +2622 -0
- package/dist/VideoRequests-CpDXl7E_.cjs +1 -0
- package/dist/VideoRequests-DlUeYLjl.js +225 -0
- package/dist/VideoSortSelect-3JfrvPfj.cjs +1 -0
- package/dist/VideoSortSelect-DS9Uvc-S.js +116 -0
- package/dist/VisibleOnSvg-BisjF586.cjs +1 -0
- package/dist/VisibleOnSvg-WDCQPPvV.js +33 -0
- package/dist/app-2U039aX_.js +67680 -0
- package/dist/app-DcIbciDa.cjs +454 -0
- package/dist/app.js +1 -0
- package/dist/en.json +1 -0
- package/dist/exchange.css +1 -0
- package/dist/getRegionInfo-B_h_jjAy.js +31 -0
- package/dist/getRegionInfo-Bs5JKG7h.cjs +1 -0
- package/dist/index-CGkY5YVS.cjs +1 -0
- package/dist/index-DUgR-v-j.js +885 -0
- package/dist/toLocalTime-Bt8Uy4Kq.js +15 -0
- package/dist/toLocalTime-DF9SIfIt.cjs +1 -0
- package/dist/useBreakpoints-37V489ap.js +66 -0
- package/dist/useBreakpoints-B-bcgx-L.cjs +1 -0
- package/dist/useGetExchangeActions-BwXrBSH-.cjs +1 -0
- package/dist/useGetExchangeActions-C8Y1FNSl.js +176 -0
- package/dist/useGetTvActions-CmEBdHbw.cjs +1 -0
- package/dist/useGetTvActions-DENrO3wZ.js +54 -0
- package/dist/useHandleRegionError-BNRrs6y8.cjs +1 -0
- package/dist/useHandleRegionError-BNxhNPKP.js +10 -0
- package/dist/usePreviewContext--ihfEi4P.js +14 -0
- package/dist/usePreviewContext-DjpFhe3I.cjs +1 -0
- package/dist/useSelectedRegion-7_2s4QQF.js +16 -0
- package/dist/useSelectedRegion-D3Xsu2Ut.cjs +1 -0
- package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +1 -0
- package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +57 -0
- package/package.json +12 -3
- package/typings/utils/imports.d.ts +1 -1
- package/vite-i18n-plugin.ts +113 -0
- package/vite.config.ts +59 -0
- package/dist/bundles.json +0 -4
- package/dist/css/137-exchange-8c1b8716b3.chunk.css +0 -25
- package/dist/css/212-exchange-d71527fc65.chunk.css +0 -1
- package/dist/css/226-exchange-9ab9f14b3c.chunk.css +0 -57
- package/dist/css/291-exchange-be9d9f0cdb.chunk.css +0 -11
- package/dist/css/298-exchange-78ece5c7c5.chunk.css +0 -37
- package/dist/css/332-exchange-e4754ae27a.chunk.css +0 -1
- package/dist/css/489-exchange-6ecb1e7adc.chunk.css +0 -85
- package/dist/css/494-exchange-02d7a0249c.chunk.css +0 -2
- package/dist/css/522-exchange-1387f35e92.chunk.css +0 -14
- package/dist/css/538-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/589-exchange-fa098d9131.chunk.css +0 -11
- package/dist/css/611-exchange-cbf2bb5621.chunk.css +0 -5
- package/dist/css/669-exchange-e80e6c6649.chunk.css +0 -10
- package/dist/css/68-exchange-b5eaf8af44.chunk.css +0 -35
- package/dist/css/75-exchange-6d2304419c.chunk.css +0 -5
- package/dist/css/759-exchange-23bb5dd175.chunk.css +0 -8
- package/dist/css/858-exchange-06944bdfa4.chunk.css +0 -1
- package/dist/css/904-exchange-0eab318199.chunk.css +0 -40
- package/dist/css/95-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/lite-exchange-ed6bd260c5.css +0 -14
- package/dist/languages/en.json +0 -1
- package/dist/scripts/117-259130ac0e-exchange.chunk.js +0 -1
- package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +0 -1
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +0 -2
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/137-51b4dab452-exchange.chunk.js +0 -1
- package/dist/scripts/156-847dae6ace-exchange.chunk.js +0 -1
- package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +0 -1
- package/dist/scripts/173-3668db114a-exchange.chunk.js +0 -1
- package/dist/scripts/212-6ed71b2797-exchange.chunk.js +0 -1
- package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
- package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +0 -1
- package/dist/scripts/291-7e85a6e844-exchange.chunk.js +0 -1
- package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +0 -1
- package/dist/scripts/312-69afcbbc39-exchange.chunk.js +0 -1
- package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
- package/dist/scripts/332-08d48debc2-exchange.chunk.js +0 -1
- package/dist/scripts/414-567e121c75-exchange.chunk.js +0 -2
- package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +0 -60
- package/dist/scripts/442-fcba36183d-exchange.chunk.js +0 -1
- package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
- package/dist/scripts/484-08c82c5a88-exchange.chunk.js +0 -1
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js +0 -2
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/494-abba46b945-exchange.chunk.js +0 -2
- package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +0 -1
- package/dist/scripts/522-ce819dee18-exchange.chunk.js +0 -2
- package/dist/scripts/522-ce819dee18-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/536-b915864d5f-exchange.chunk.js +0 -1
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
- package/dist/scripts/589-17d73ab116-exchange.chunk.js +0 -1
- package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
- package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +0 -1
- package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +0 -1
- package/dist/scripts/648-485af12c37-exchange.chunk.js +0 -1
- package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
- package/dist/scripts/669-a49a0838ff-exchange.chunk.js +0 -1
- package/dist/scripts/68-34b81dae8c-exchange.chunk.js +0 -1
- package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +0 -1
- package/dist/scripts/726-868a877381-exchange.chunk.js +0 -1
- package/dist/scripts/75-9780e4300e-exchange.chunk.js +0 -1
- package/dist/scripts/759-f1a9db4868-exchange.chunk.js +0 -1
- package/dist/scripts/782-2c340d8404-exchange.chunk.js +0 -1
- package/dist/scripts/831-8808647fc7-exchange.chunk.js +0 -1
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/858-70085ed3b1-exchange.chunk.js +0 -1
- package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +0 -1
- package/dist/scripts/87-d569a1463e-exchange.chunk.js +0 -1
- package/dist/scripts/877-5b357aeb63-exchange.chunk.js +0 -1
- package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +0 -1
- package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +0 -1
- package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +0 -1
- package/dist/scripts/95-841a847f54-exchange.chunk.js +0 -2
- package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/bundle-15f20b2d26.min.js +0 -2
- package/dist/scripts/bundle-15f20b2d26.min.js.LICENSE.txt +0 -108
|
@@ -0,0 +1,885 @@
|
|
|
1
|
+
import { b1 as Pe, V as We, W as Ae, y as Ne } from "./app-2U039aX_.js";
|
|
2
|
+
var ee = {}, te = {}, U = { exports: {} }, q = { exports: {} }, Ie = q.exports, fe;
|
|
3
|
+
function Ue() {
|
|
4
|
+
return fe || (fe = 1, (function() {
|
|
5
|
+
var o, s, c, g, l, b;
|
|
6
|
+
typeof performance < "u" && performance !== null && performance.now ? q.exports = function() {
|
|
7
|
+
return performance.now();
|
|
8
|
+
} : typeof process < "u" && process !== null && process.hrtime ? (q.exports = function() {
|
|
9
|
+
return (o() - l) / 1e6;
|
|
10
|
+
}, s = process.hrtime, o = function() {
|
|
11
|
+
var d;
|
|
12
|
+
return d = s(), d[0] * 1e9 + d[1];
|
|
13
|
+
}, g = o(), b = process.uptime() * 1e9, l = g - b) : Date.now ? (q.exports = function() {
|
|
14
|
+
return Date.now() - c;
|
|
15
|
+
}, c = Date.now()) : (q.exports = function() {
|
|
16
|
+
return (/* @__PURE__ */ new Date()).getTime() - c;
|
|
17
|
+
}, c = (/* @__PURE__ */ new Date()).getTime());
|
|
18
|
+
}).call(Ie)), q.exports;
|
|
19
|
+
}
|
|
20
|
+
var ve;
|
|
21
|
+
function Be() {
|
|
22
|
+
if (ve) return U.exports;
|
|
23
|
+
ve = 1;
|
|
24
|
+
for (var o = Ue(), s = typeof window > "u" ? Pe : window, c = ["moz", "webkit"], g = "AnimationFrame", l = s["request" + g], b = s["cancel" + g] || s["cancelRequest" + g], d = 0; !l && d < c.length; d++)
|
|
25
|
+
l = s[c[d] + "Request" + g], b = s[c[d] + "Cancel" + g] || s[c[d] + "CancelRequest" + g];
|
|
26
|
+
if (!l || !b) {
|
|
27
|
+
var S = 0, m = 0, a = [], u = 1e3 / 60;
|
|
28
|
+
l = function(h) {
|
|
29
|
+
if (a.length === 0) {
|
|
30
|
+
var H = o(), y = Math.max(0, u - (H - S));
|
|
31
|
+
S = y + H, setTimeout(function() {
|
|
32
|
+
var A = a.slice(0);
|
|
33
|
+
a.length = 0;
|
|
34
|
+
for (var F = 0; F < A.length; F++)
|
|
35
|
+
if (!A[F].cancelled)
|
|
36
|
+
try {
|
|
37
|
+
A[F].callback(S);
|
|
38
|
+
} catch (G) {
|
|
39
|
+
setTimeout(function() {
|
|
40
|
+
throw G;
|
|
41
|
+
}, 0);
|
|
42
|
+
}
|
|
43
|
+
}, Math.round(y));
|
|
44
|
+
}
|
|
45
|
+
return a.push({
|
|
46
|
+
handle: ++m,
|
|
47
|
+
callback: h,
|
|
48
|
+
cancelled: !1
|
|
49
|
+
}), m;
|
|
50
|
+
}, b = function(h) {
|
|
51
|
+
for (var H = 0; H < a.length; H++)
|
|
52
|
+
a[H].handle === h && (a[H].cancelled = !0);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
return U.exports = function(h) {
|
|
56
|
+
return l.call(s, h);
|
|
57
|
+
}, U.exports.cancel = function() {
|
|
58
|
+
b.apply(s, arguments);
|
|
59
|
+
}, U.exports.polyfill = function(h) {
|
|
60
|
+
h || (h = s), h.requestAnimationFrame = l, h.cancelAnimationFrame = b;
|
|
61
|
+
}, U.exports;
|
|
62
|
+
}
|
|
63
|
+
var B = { exports: {} }, re, ge;
|
|
64
|
+
function $e() {
|
|
65
|
+
if (ge) return re;
|
|
66
|
+
ge = 1;
|
|
67
|
+
var o = null, s = ["Webkit", "Moz", "O", "ms"];
|
|
68
|
+
return re = function(g) {
|
|
69
|
+
o || (o = document.createElement("div"));
|
|
70
|
+
var l = o.style;
|
|
71
|
+
if (g in l)
|
|
72
|
+
return g;
|
|
73
|
+
for (var b = g.charAt(0).toUpperCase() + g.slice(1), d = s.length; d >= 0; d--) {
|
|
74
|
+
var S = s[d] + b;
|
|
75
|
+
if (S in l)
|
|
76
|
+
return S;
|
|
77
|
+
}
|
|
78
|
+
return !1;
|
|
79
|
+
}, re;
|
|
80
|
+
}
|
|
81
|
+
var ne, me;
|
|
82
|
+
function Ge() {
|
|
83
|
+
if (me) return ne;
|
|
84
|
+
me = 1, ne = g;
|
|
85
|
+
var o = /\s/, s = /(_|-|\.|:)/, c = /([a-z][A-Z]|[A-Z][a-z])/;
|
|
86
|
+
function g(m) {
|
|
87
|
+
return o.test(m) ? m.toLowerCase() : s.test(m) ? (b(m) || m).toLowerCase() : c.test(m) ? S(m).toLowerCase() : m.toLowerCase();
|
|
88
|
+
}
|
|
89
|
+
var l = /[\W_]+(.|$)/g;
|
|
90
|
+
function b(m) {
|
|
91
|
+
return m.replace(l, function(a, u) {
|
|
92
|
+
return u ? " " + u : "";
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
var d = /(.)([A-Z]+)/g;
|
|
96
|
+
function S(m) {
|
|
97
|
+
return m.replace(d, function(a, u, h) {
|
|
98
|
+
return u + " " + h.toLowerCase().split("").join(" ");
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return ne;
|
|
102
|
+
}
|
|
103
|
+
var ie, pe;
|
|
104
|
+
function Xe() {
|
|
105
|
+
if (pe) return ie;
|
|
106
|
+
pe = 1;
|
|
107
|
+
var o = Ge();
|
|
108
|
+
ie = s;
|
|
109
|
+
function s(c) {
|
|
110
|
+
return o(c).replace(/[\W_]+(.|$)/g, function(g, l) {
|
|
111
|
+
return l ? " " + l : "";
|
|
112
|
+
}).trim();
|
|
113
|
+
}
|
|
114
|
+
return ie;
|
|
115
|
+
}
|
|
116
|
+
var ae, Se;
|
|
117
|
+
function Ye() {
|
|
118
|
+
if (Se) return ae;
|
|
119
|
+
Se = 1;
|
|
120
|
+
var o = Xe();
|
|
121
|
+
ae = s;
|
|
122
|
+
function s(c) {
|
|
123
|
+
return o(c).replace(/\s(\w)/g, function(g, l) {
|
|
124
|
+
return l.toUpperCase();
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
return ae;
|
|
128
|
+
}
|
|
129
|
+
var oe, Te;
|
|
130
|
+
function je() {
|
|
131
|
+
if (Te) return oe;
|
|
132
|
+
Te = 1;
|
|
133
|
+
var o = {
|
|
134
|
+
animationIterationCount: !0,
|
|
135
|
+
boxFlex: !0,
|
|
136
|
+
boxFlexGroup: !0,
|
|
137
|
+
boxOrdinalGroup: !0,
|
|
138
|
+
columnCount: !0,
|
|
139
|
+
flex: !0,
|
|
140
|
+
flexGrow: !0,
|
|
141
|
+
flexPositive: !0,
|
|
142
|
+
flexShrink: !0,
|
|
143
|
+
flexNegative: !0,
|
|
144
|
+
flexOrder: !0,
|
|
145
|
+
gridRow: !0,
|
|
146
|
+
gridColumn: !0,
|
|
147
|
+
fontWeight: !0,
|
|
148
|
+
lineClamp: !0,
|
|
149
|
+
lineHeight: !0,
|
|
150
|
+
opacity: !0,
|
|
151
|
+
order: !0,
|
|
152
|
+
orphans: !0,
|
|
153
|
+
tabSize: !0,
|
|
154
|
+
widows: !0,
|
|
155
|
+
zIndex: !0,
|
|
156
|
+
zoom: !0,
|
|
157
|
+
// SVG-related properties
|
|
158
|
+
fillOpacity: !0,
|
|
159
|
+
stopOpacity: !0,
|
|
160
|
+
strokeDashoffset: !0,
|
|
161
|
+
strokeOpacity: !0,
|
|
162
|
+
strokeWidth: !0
|
|
163
|
+
};
|
|
164
|
+
return oe = function(s, c) {
|
|
165
|
+
return typeof c == "number" && !o[s] ? c + "px" : c;
|
|
166
|
+
}, oe;
|
|
167
|
+
}
|
|
168
|
+
var ye;
|
|
169
|
+
function Ve() {
|
|
170
|
+
if (ye) return B.exports;
|
|
171
|
+
ye = 1;
|
|
172
|
+
var o = $e(), s = Ye(), c = { float: "cssFloat" }, g = je();
|
|
173
|
+
function l(m, a, u) {
|
|
174
|
+
var h = c[a];
|
|
175
|
+
if (typeof h > "u" && (h = d(a)), h) {
|
|
176
|
+
if (u === void 0)
|
|
177
|
+
return m.style[h];
|
|
178
|
+
m.style[h] = g(h, u);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function b(m, a) {
|
|
182
|
+
for (var u in a)
|
|
183
|
+
a.hasOwnProperty(u) && l(m, u, a[u]);
|
|
184
|
+
}
|
|
185
|
+
function d(m) {
|
|
186
|
+
var a = s(m), u = o(a);
|
|
187
|
+
return c[a] = c[m] = c[u] = u, u;
|
|
188
|
+
}
|
|
189
|
+
function S() {
|
|
190
|
+
arguments.length === 2 ? typeof arguments[1] == "string" ? arguments[0].style.cssText = arguments[1] : b(arguments[0], arguments[1]) : l(arguments[0], arguments[1], arguments[2]);
|
|
191
|
+
}
|
|
192
|
+
return B.exports = S, B.exports.set = S, B.exports.get = function(m, a) {
|
|
193
|
+
return Array.isArray(a) ? a.reduce(function(u, h) {
|
|
194
|
+
return u[h] = l(m, h || ""), u;
|
|
195
|
+
}, {}) : l(m, a || "");
|
|
196
|
+
}, B.exports;
|
|
197
|
+
}
|
|
198
|
+
var le = {}, be;
|
|
199
|
+
function Ze() {
|
|
200
|
+
return be || (be = 1, function(o) {
|
|
201
|
+
Object.defineProperty(o, "__esModule", {
|
|
202
|
+
value: !0
|
|
203
|
+
}), o.default = s;
|
|
204
|
+
function s(c) {
|
|
205
|
+
return typeof c == "string";
|
|
206
|
+
}
|
|
207
|
+
}(le)), le;
|
|
208
|
+
}
|
|
209
|
+
var ue = {}, He;
|
|
210
|
+
function Je() {
|
|
211
|
+
return He || (He = 1, function(o) {
|
|
212
|
+
Object.defineProperty(o, "__esModule", {
|
|
213
|
+
value: !0
|
|
214
|
+
}), o.default = b;
|
|
215
|
+
var s = Ve(), c = g(s);
|
|
216
|
+
function g(d) {
|
|
217
|
+
return d && d.__esModule ? d : { default: d };
|
|
218
|
+
}
|
|
219
|
+
var l = !1;
|
|
220
|
+
function b() {
|
|
221
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
222
|
+
if (d && l !== !1) return l;
|
|
223
|
+
if (typeof document < "u") {
|
|
224
|
+
var S = document.createElement("div");
|
|
225
|
+
(0, c.default)(S, {
|
|
226
|
+
width: 100,
|
|
227
|
+
height: 100,
|
|
228
|
+
position: "absolute",
|
|
229
|
+
top: -9999,
|
|
230
|
+
overflow: "scroll",
|
|
231
|
+
MsOverflowStyle: "scrollbar"
|
|
232
|
+
}), document.body.appendChild(S), l = S.offsetWidth - S.clientWidth, document.body.removeChild(S);
|
|
233
|
+
} else
|
|
234
|
+
l = 0;
|
|
235
|
+
return l || 0;
|
|
236
|
+
}
|
|
237
|
+
}(ue)), ue;
|
|
238
|
+
}
|
|
239
|
+
var se = {}, we;
|
|
240
|
+
function Ke() {
|
|
241
|
+
return we || (we = 1, function(o) {
|
|
242
|
+
Object.defineProperty(o, "__esModule", {
|
|
243
|
+
value: !0
|
|
244
|
+
}), o.default = s;
|
|
245
|
+
function s() {
|
|
246
|
+
return !1;
|
|
247
|
+
}
|
|
248
|
+
}(se)), se;
|
|
249
|
+
}
|
|
250
|
+
var ce = {}, ke;
|
|
251
|
+
function Qe() {
|
|
252
|
+
return ke || (ke = 1, function(o) {
|
|
253
|
+
Object.defineProperty(o, "__esModule", {
|
|
254
|
+
value: !0
|
|
255
|
+
}), o.default = s;
|
|
256
|
+
function s(c) {
|
|
257
|
+
var g = c.clientWidth, l = getComputedStyle(c), b = l.paddingLeft, d = l.paddingRight;
|
|
258
|
+
return g - parseFloat(b) - parseFloat(d);
|
|
259
|
+
}
|
|
260
|
+
}(ce)), ce;
|
|
261
|
+
}
|
|
262
|
+
var de = {}, De;
|
|
263
|
+
function et() {
|
|
264
|
+
return De || (De = 1, function(o) {
|
|
265
|
+
Object.defineProperty(o, "__esModule", {
|
|
266
|
+
value: !0
|
|
267
|
+
}), o.default = s;
|
|
268
|
+
function s(c) {
|
|
269
|
+
var g = c.clientHeight, l = getComputedStyle(c), b = l.paddingTop, d = l.paddingBottom;
|
|
270
|
+
return g - parseFloat(b) - parseFloat(d);
|
|
271
|
+
}
|
|
272
|
+
}(de)), de;
|
|
273
|
+
}
|
|
274
|
+
var D = {}, _e;
|
|
275
|
+
function tt() {
|
|
276
|
+
return _e || (_e = 1, Object.defineProperty(D, "__esModule", {
|
|
277
|
+
value: !0
|
|
278
|
+
}), D.containerStyleDefault = {
|
|
279
|
+
position: "relative",
|
|
280
|
+
overflow: "hidden",
|
|
281
|
+
width: "100%",
|
|
282
|
+
height: "100%"
|
|
283
|
+
}, D.containerStyleAutoHeight = {
|
|
284
|
+
height: "auto"
|
|
285
|
+
}, D.viewStyleDefault = {
|
|
286
|
+
position: "absolute",
|
|
287
|
+
top: 0,
|
|
288
|
+
left: 0,
|
|
289
|
+
right: 0,
|
|
290
|
+
bottom: 0,
|
|
291
|
+
overflow: "scroll",
|
|
292
|
+
WebkitOverflowScrolling: "touch"
|
|
293
|
+
}, D.viewStyleAutoHeight = {
|
|
294
|
+
position: "relative",
|
|
295
|
+
top: void 0,
|
|
296
|
+
left: void 0,
|
|
297
|
+
right: void 0,
|
|
298
|
+
bottom: void 0
|
|
299
|
+
}, D.viewStyleUniversalInitial = {
|
|
300
|
+
overflow: "hidden",
|
|
301
|
+
marginRight: 0,
|
|
302
|
+
marginBottom: 0
|
|
303
|
+
}, D.trackHorizontalStyleDefault = {
|
|
304
|
+
position: "absolute",
|
|
305
|
+
height: 6
|
|
306
|
+
}, D.trackVerticalStyleDefault = {
|
|
307
|
+
position: "absolute",
|
|
308
|
+
width: 6
|
|
309
|
+
}, D.thumbHorizontalStyleDefault = {
|
|
310
|
+
position: "relative",
|
|
311
|
+
display: "block",
|
|
312
|
+
height: "100%"
|
|
313
|
+
}, D.thumbVerticalStyleDefault = {
|
|
314
|
+
position: "relative",
|
|
315
|
+
display: "block",
|
|
316
|
+
width: "100%"
|
|
317
|
+
}, D.disableSelectStyle = {
|
|
318
|
+
userSelect: "none"
|
|
319
|
+
}, D.disableSelectStyleReset = {
|
|
320
|
+
userSelect: ""
|
|
321
|
+
}), D;
|
|
322
|
+
}
|
|
323
|
+
var O = {}, Me;
|
|
324
|
+
function rt() {
|
|
325
|
+
if (Me) return O;
|
|
326
|
+
Me = 1, Object.defineProperty(O, "__esModule", {
|
|
327
|
+
value: !0
|
|
328
|
+
});
|
|
329
|
+
var o = Object.assign || function(u) {
|
|
330
|
+
for (var h = 1; h < arguments.length; h++) {
|
|
331
|
+
var H = arguments[h];
|
|
332
|
+
for (var y in H)
|
|
333
|
+
Object.prototype.hasOwnProperty.call(H, y) && (u[y] = H[y]);
|
|
334
|
+
}
|
|
335
|
+
return u;
|
|
336
|
+
};
|
|
337
|
+
O.renderViewDefault = b, O.renderTrackHorizontalDefault = d, O.renderTrackVerticalDefault = S, O.renderThumbHorizontalDefault = m, O.renderThumbVerticalDefault = a;
|
|
338
|
+
var s = We(), c = g(s);
|
|
339
|
+
function g(u) {
|
|
340
|
+
return u && u.__esModule ? u : { default: u };
|
|
341
|
+
}
|
|
342
|
+
function l(u, h) {
|
|
343
|
+
var H = {};
|
|
344
|
+
for (var y in u)
|
|
345
|
+
h.indexOf(y) >= 0 || Object.prototype.hasOwnProperty.call(u, y) && (H[y] = u[y]);
|
|
346
|
+
return H;
|
|
347
|
+
}
|
|
348
|
+
function b(u) {
|
|
349
|
+
return c.default.createElement("div", u);
|
|
350
|
+
}
|
|
351
|
+
function d(u) {
|
|
352
|
+
var h = u.style, H = l(u, ["style"]), y = o({}, h, {
|
|
353
|
+
right: 2,
|
|
354
|
+
bottom: 2,
|
|
355
|
+
left: 2,
|
|
356
|
+
borderRadius: 3
|
|
357
|
+
});
|
|
358
|
+
return c.default.createElement("div", o({ style: y }, H));
|
|
359
|
+
}
|
|
360
|
+
function S(u) {
|
|
361
|
+
var h = u.style, H = l(u, ["style"]), y = o({}, h, {
|
|
362
|
+
right: 2,
|
|
363
|
+
bottom: 2,
|
|
364
|
+
top: 2,
|
|
365
|
+
borderRadius: 3
|
|
366
|
+
});
|
|
367
|
+
return c.default.createElement("div", o({ style: y }, H));
|
|
368
|
+
}
|
|
369
|
+
function m(u) {
|
|
370
|
+
var h = u.style, H = l(u, ["style"]), y = o({}, h, {
|
|
371
|
+
cursor: "pointer",
|
|
372
|
+
borderRadius: "inherit",
|
|
373
|
+
backgroundColor: "rgba(0,0,0,.2)"
|
|
374
|
+
});
|
|
375
|
+
return c.default.createElement("div", o({ style: y }, H));
|
|
376
|
+
}
|
|
377
|
+
function a(u) {
|
|
378
|
+
var h = u.style, H = l(u, ["style"]), y = o({}, h, {
|
|
379
|
+
cursor: "pointer",
|
|
380
|
+
borderRadius: "inherit",
|
|
381
|
+
backgroundColor: "rgba(0,0,0,.2)"
|
|
382
|
+
});
|
|
383
|
+
return c.default.createElement("div", o({ style: y }, H));
|
|
384
|
+
}
|
|
385
|
+
return O;
|
|
386
|
+
}
|
|
387
|
+
var ze;
|
|
388
|
+
function nt() {
|
|
389
|
+
return ze || (ze = 1, function(o) {
|
|
390
|
+
Object.defineProperty(o, "__esModule", {
|
|
391
|
+
value: !0
|
|
392
|
+
});
|
|
393
|
+
var s = Object.assign || function(T) {
|
|
394
|
+
for (var v = 1; v < arguments.length; v++) {
|
|
395
|
+
var n = arguments[v];
|
|
396
|
+
for (var t in n)
|
|
397
|
+
Object.prototype.hasOwnProperty.call(n, t) && (T[t] = n[t]);
|
|
398
|
+
}
|
|
399
|
+
return T;
|
|
400
|
+
}, c = /* @__PURE__ */ function() {
|
|
401
|
+
function T(v, n) {
|
|
402
|
+
for (var t = 0; t < n.length; t++) {
|
|
403
|
+
var r = n[t];
|
|
404
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(v, r.key, r);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return function(v, n, t) {
|
|
408
|
+
return n && T(v.prototype, n), t && T(v, t), v;
|
|
409
|
+
};
|
|
410
|
+
}(), g = Be(), l = V(g), b = Ve(), d = V(b), S = We(), m = /* @__PURE__ */ Ae(), a = V(m), u = Ze(), h = V(u), H = Je(), y = V(H), A = Ke(), F = V(A), G = Qe(), X = V(G), Ee = et(), Y = V(Ee), _ = tt(), N = rt();
|
|
411
|
+
function V(T) {
|
|
412
|
+
return T && T.__esModule ? T : { default: T };
|
|
413
|
+
}
|
|
414
|
+
function Re(T, v) {
|
|
415
|
+
var n = {};
|
|
416
|
+
for (var t in T)
|
|
417
|
+
v.indexOf(t) >= 0 || Object.prototype.hasOwnProperty.call(T, t) && (n[t] = T[t]);
|
|
418
|
+
return n;
|
|
419
|
+
}
|
|
420
|
+
function Ce(T, v) {
|
|
421
|
+
if (!(T instanceof v))
|
|
422
|
+
throw new TypeError("Cannot call a class as a function");
|
|
423
|
+
}
|
|
424
|
+
function xe(T, v) {
|
|
425
|
+
if (!T)
|
|
426
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
427
|
+
return v && (typeof v == "object" || typeof v == "function") ? v : T;
|
|
428
|
+
}
|
|
429
|
+
function Oe(T, v) {
|
|
430
|
+
if (typeof v != "function" && v !== null)
|
|
431
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof v);
|
|
432
|
+
T.prototype = Object.create(v && v.prototype, { constructor: { value: T, enumerable: !1, writable: !0, configurable: !0 } }), v && (Object.setPrototypeOf ? Object.setPrototypeOf(T, v) : T.__proto__ = v);
|
|
433
|
+
}
|
|
434
|
+
var j = function(T) {
|
|
435
|
+
Oe(v, T);
|
|
436
|
+
function v(n) {
|
|
437
|
+
var t;
|
|
438
|
+
Ce(this, v);
|
|
439
|
+
for (var r = arguments.length, i = Array(r > 1 ? r - 1 : 0), f = 1; f < r; f++)
|
|
440
|
+
i[f - 1] = arguments[f];
|
|
441
|
+
var e = xe(this, (t = v.__proto__ || Object.getPrototypeOf(v)).call.apply(t, [this, n].concat(i)));
|
|
442
|
+
return e.getScrollLeft = e.getScrollLeft.bind(e), e.getScrollTop = e.getScrollTop.bind(e), e.getScrollWidth = e.getScrollWidth.bind(e), e.getScrollHeight = e.getScrollHeight.bind(e), e.getClientWidth = e.getClientWidth.bind(e), e.getClientHeight = e.getClientHeight.bind(e), e.getValues = e.getValues.bind(e), e.getThumbHorizontalWidth = e.getThumbHorizontalWidth.bind(e), e.getThumbVerticalHeight = e.getThumbVerticalHeight.bind(e), e.getScrollLeftForOffset = e.getScrollLeftForOffset.bind(e), e.getScrollTopForOffset = e.getScrollTopForOffset.bind(e), e.scrollLeft = e.scrollLeft.bind(e), e.scrollTop = e.scrollTop.bind(e), e.scrollToLeft = e.scrollToLeft.bind(e), e.scrollToTop = e.scrollToTop.bind(e), e.scrollToRight = e.scrollToRight.bind(e), e.scrollToBottom = e.scrollToBottom.bind(e), e.handleTrackMouseEnter = e.handleTrackMouseEnter.bind(e), e.handleTrackMouseLeave = e.handleTrackMouseLeave.bind(e), e.handleHorizontalTrackMouseDown = e.handleHorizontalTrackMouseDown.bind(e), e.handleVerticalTrackMouseDown = e.handleVerticalTrackMouseDown.bind(e), e.handleHorizontalThumbMouseDown = e.handleHorizontalThumbMouseDown.bind(e), e.handleVerticalThumbMouseDown = e.handleVerticalThumbMouseDown.bind(e), e.handleWindowResize = e.handleWindowResize.bind(e), e.handleScroll = e.handleScroll.bind(e), e.handleDrag = e.handleDrag.bind(e), e.handleDragEnd = e.handleDragEnd.bind(e), e.state = {
|
|
443
|
+
didMountUniversal: !1
|
|
444
|
+
}, e;
|
|
445
|
+
}
|
|
446
|
+
return c(v, [{
|
|
447
|
+
key: "componentDidMount",
|
|
448
|
+
value: function() {
|
|
449
|
+
this.addListeners(), this.update(), this.componentDidMountUniversal();
|
|
450
|
+
}
|
|
451
|
+
}, {
|
|
452
|
+
key: "componentDidMountUniversal",
|
|
453
|
+
value: function() {
|
|
454
|
+
var t = this.props.universal;
|
|
455
|
+
t && this.setState({ didMountUniversal: !0 });
|
|
456
|
+
}
|
|
457
|
+
}, {
|
|
458
|
+
key: "componentDidUpdate",
|
|
459
|
+
value: function() {
|
|
460
|
+
this.update();
|
|
461
|
+
}
|
|
462
|
+
}, {
|
|
463
|
+
key: "componentWillUnmount",
|
|
464
|
+
value: function() {
|
|
465
|
+
this.removeListeners(), (0, g.cancel)(this.requestFrame), clearTimeout(this.hideTracksTimeout), clearInterval(this.detectScrollingInterval);
|
|
466
|
+
}
|
|
467
|
+
}, {
|
|
468
|
+
key: "getScrollLeft",
|
|
469
|
+
value: function() {
|
|
470
|
+
return this.view ? this.view.scrollLeft : 0;
|
|
471
|
+
}
|
|
472
|
+
}, {
|
|
473
|
+
key: "getScrollTop",
|
|
474
|
+
value: function() {
|
|
475
|
+
return this.view ? this.view.scrollTop : 0;
|
|
476
|
+
}
|
|
477
|
+
}, {
|
|
478
|
+
key: "getScrollWidth",
|
|
479
|
+
value: function() {
|
|
480
|
+
return this.view ? this.view.scrollWidth : 0;
|
|
481
|
+
}
|
|
482
|
+
}, {
|
|
483
|
+
key: "getScrollHeight",
|
|
484
|
+
value: function() {
|
|
485
|
+
return this.view ? this.view.scrollHeight : 0;
|
|
486
|
+
}
|
|
487
|
+
}, {
|
|
488
|
+
key: "getClientWidth",
|
|
489
|
+
value: function() {
|
|
490
|
+
return this.view ? this.view.clientWidth : 0;
|
|
491
|
+
}
|
|
492
|
+
}, {
|
|
493
|
+
key: "getClientHeight",
|
|
494
|
+
value: function() {
|
|
495
|
+
return this.view ? this.view.clientHeight : 0;
|
|
496
|
+
}
|
|
497
|
+
}, {
|
|
498
|
+
key: "getValues",
|
|
499
|
+
value: function() {
|
|
500
|
+
var t = this.view || {}, r = t.scrollLeft, i = r === void 0 ? 0 : r, f = t.scrollTop, e = f === void 0 ? 0 : f, p = t.scrollWidth, w = p === void 0 ? 0 : p, k = t.scrollHeight, E = k === void 0 ? 0 : k, L = t.clientWidth, R = L === void 0 ? 0 : L, M = t.clientHeight, W = M === void 0 ? 0 : M;
|
|
501
|
+
return {
|
|
502
|
+
left: i / (w - R) || 0,
|
|
503
|
+
top: e / (E - W) || 0,
|
|
504
|
+
scrollLeft: i,
|
|
505
|
+
scrollTop: e,
|
|
506
|
+
scrollWidth: w,
|
|
507
|
+
scrollHeight: E,
|
|
508
|
+
clientWidth: R,
|
|
509
|
+
clientHeight: W
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
}, {
|
|
513
|
+
key: "getThumbHorizontalWidth",
|
|
514
|
+
value: function() {
|
|
515
|
+
var t = this.props, r = t.thumbSize, i = t.thumbMinSize, f = this.view, e = f.scrollWidth, p = f.clientWidth, w = (0, X.default)(this.trackHorizontal), k = Math.ceil(p / e * w);
|
|
516
|
+
return w <= k ? 0 : r || Math.max(k, i);
|
|
517
|
+
}
|
|
518
|
+
}, {
|
|
519
|
+
key: "getThumbVerticalHeight",
|
|
520
|
+
value: function() {
|
|
521
|
+
var t = this.props, r = t.thumbSize, i = t.thumbMinSize, f = this.view, e = f.scrollHeight, p = f.clientHeight, w = (0, Y.default)(this.trackVertical), k = Math.ceil(p / e * w);
|
|
522
|
+
return w <= k ? 0 : r || Math.max(k, i);
|
|
523
|
+
}
|
|
524
|
+
}, {
|
|
525
|
+
key: "getScrollLeftForOffset",
|
|
526
|
+
value: function(t) {
|
|
527
|
+
var r = this.view, i = r.scrollWidth, f = r.clientWidth, e = (0, X.default)(this.trackHorizontal), p = this.getThumbHorizontalWidth();
|
|
528
|
+
return t / (e - p) * (i - f);
|
|
529
|
+
}
|
|
530
|
+
}, {
|
|
531
|
+
key: "getScrollTopForOffset",
|
|
532
|
+
value: function(t) {
|
|
533
|
+
var r = this.view, i = r.scrollHeight, f = r.clientHeight, e = (0, Y.default)(this.trackVertical), p = this.getThumbVerticalHeight();
|
|
534
|
+
return t / (e - p) * (i - f);
|
|
535
|
+
}
|
|
536
|
+
}, {
|
|
537
|
+
key: "scrollLeft",
|
|
538
|
+
value: function() {
|
|
539
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
540
|
+
this.view && (this.view.scrollLeft = t);
|
|
541
|
+
}
|
|
542
|
+
}, {
|
|
543
|
+
key: "scrollTop",
|
|
544
|
+
value: function() {
|
|
545
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
546
|
+
this.view && (this.view.scrollTop = t);
|
|
547
|
+
}
|
|
548
|
+
}, {
|
|
549
|
+
key: "scrollToLeft",
|
|
550
|
+
value: function() {
|
|
551
|
+
this.view && (this.view.scrollLeft = 0);
|
|
552
|
+
}
|
|
553
|
+
}, {
|
|
554
|
+
key: "scrollToTop",
|
|
555
|
+
value: function() {
|
|
556
|
+
this.view && (this.view.scrollTop = 0);
|
|
557
|
+
}
|
|
558
|
+
}, {
|
|
559
|
+
key: "scrollToRight",
|
|
560
|
+
value: function() {
|
|
561
|
+
this.view && (this.view.scrollLeft = this.view.scrollWidth);
|
|
562
|
+
}
|
|
563
|
+
}, {
|
|
564
|
+
key: "scrollToBottom",
|
|
565
|
+
value: function() {
|
|
566
|
+
this.view && (this.view.scrollTop = this.view.scrollHeight);
|
|
567
|
+
}
|
|
568
|
+
}, {
|
|
569
|
+
key: "addListeners",
|
|
570
|
+
value: function() {
|
|
571
|
+
if (!(typeof document > "u" || !this.view)) {
|
|
572
|
+
var t = this.view, r = this.trackHorizontal, i = this.trackVertical, f = this.thumbHorizontal, e = this.thumbVertical;
|
|
573
|
+
t.addEventListener("scroll", this.handleScroll), (0, y.default)() && (r.addEventListener("mouseenter", this.handleTrackMouseEnter), r.addEventListener("mouseleave", this.handleTrackMouseLeave), r.addEventListener("mousedown", this.handleHorizontalTrackMouseDown), i.addEventListener("mouseenter", this.handleTrackMouseEnter), i.addEventListener("mouseleave", this.handleTrackMouseLeave), i.addEventListener("mousedown", this.handleVerticalTrackMouseDown), f.addEventListener("mousedown", this.handleHorizontalThumbMouseDown), e.addEventListener("mousedown", this.handleVerticalThumbMouseDown), window.addEventListener("resize", this.handleWindowResize));
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}, {
|
|
577
|
+
key: "removeListeners",
|
|
578
|
+
value: function() {
|
|
579
|
+
if (!(typeof document > "u" || !this.view)) {
|
|
580
|
+
var t = this.view, r = this.trackHorizontal, i = this.trackVertical, f = this.thumbHorizontal, e = this.thumbVertical;
|
|
581
|
+
t.removeEventListener("scroll", this.handleScroll), (0, y.default)() && (r.removeEventListener("mouseenter", this.handleTrackMouseEnter), r.removeEventListener("mouseleave", this.handleTrackMouseLeave), r.removeEventListener("mousedown", this.handleHorizontalTrackMouseDown), i.removeEventListener("mouseenter", this.handleTrackMouseEnter), i.removeEventListener("mouseleave", this.handleTrackMouseLeave), i.removeEventListener("mousedown", this.handleVerticalTrackMouseDown), f.removeEventListener("mousedown", this.handleHorizontalThumbMouseDown), e.removeEventListener("mousedown", this.handleVerticalThumbMouseDown), window.removeEventListener("resize", this.handleWindowResize), this.teardownDragging());
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}, {
|
|
585
|
+
key: "handleScroll",
|
|
586
|
+
value: function(t) {
|
|
587
|
+
var r = this, i = this.props, f = i.onScroll, e = i.onScrollFrame;
|
|
588
|
+
f && f(t), this.update(function(p) {
|
|
589
|
+
var w = p.scrollLeft, k = p.scrollTop;
|
|
590
|
+
r.viewScrollLeft = w, r.viewScrollTop = k, e && e(p);
|
|
591
|
+
}), this.detectScrolling();
|
|
592
|
+
}
|
|
593
|
+
}, {
|
|
594
|
+
key: "handleScrollStart",
|
|
595
|
+
value: function() {
|
|
596
|
+
var t = this.props.onScrollStart;
|
|
597
|
+
t && t(), this.handleScrollStartAutoHide();
|
|
598
|
+
}
|
|
599
|
+
}, {
|
|
600
|
+
key: "handleScrollStartAutoHide",
|
|
601
|
+
value: function() {
|
|
602
|
+
var t = this.props.autoHide;
|
|
603
|
+
t && this.showTracks();
|
|
604
|
+
}
|
|
605
|
+
}, {
|
|
606
|
+
key: "handleScrollStop",
|
|
607
|
+
value: function() {
|
|
608
|
+
var t = this.props.onScrollStop;
|
|
609
|
+
t && t(), this.handleScrollStopAutoHide();
|
|
610
|
+
}
|
|
611
|
+
}, {
|
|
612
|
+
key: "handleScrollStopAutoHide",
|
|
613
|
+
value: function() {
|
|
614
|
+
var t = this.props.autoHide;
|
|
615
|
+
t && this.hideTracks();
|
|
616
|
+
}
|
|
617
|
+
}, {
|
|
618
|
+
key: "handleWindowResize",
|
|
619
|
+
value: function() {
|
|
620
|
+
(0, y.default)(!1), this.forceUpdate();
|
|
621
|
+
}
|
|
622
|
+
}, {
|
|
623
|
+
key: "handleHorizontalTrackMouseDown",
|
|
624
|
+
value: function(t) {
|
|
625
|
+
t.preventDefault();
|
|
626
|
+
var r = t.target, i = t.clientX, f = r.getBoundingClientRect(), e = f.left, p = this.getThumbHorizontalWidth(), w = Math.abs(e - i) - p / 2;
|
|
627
|
+
this.view.scrollLeft = this.getScrollLeftForOffset(w);
|
|
628
|
+
}
|
|
629
|
+
}, {
|
|
630
|
+
key: "handleVerticalTrackMouseDown",
|
|
631
|
+
value: function(t) {
|
|
632
|
+
t.preventDefault();
|
|
633
|
+
var r = t.target, i = t.clientY, f = r.getBoundingClientRect(), e = f.top, p = this.getThumbVerticalHeight(), w = Math.abs(e - i) - p / 2;
|
|
634
|
+
this.view.scrollTop = this.getScrollTopForOffset(w);
|
|
635
|
+
}
|
|
636
|
+
}, {
|
|
637
|
+
key: "handleHorizontalThumbMouseDown",
|
|
638
|
+
value: function(t) {
|
|
639
|
+
t.preventDefault(), this.handleDragStart(t);
|
|
640
|
+
var r = t.target, i = t.clientX, f = r.offsetWidth, e = r.getBoundingClientRect(), p = e.left;
|
|
641
|
+
this.prevPageX = f - (i - p);
|
|
642
|
+
}
|
|
643
|
+
}, {
|
|
644
|
+
key: "handleVerticalThumbMouseDown",
|
|
645
|
+
value: function(t) {
|
|
646
|
+
t.preventDefault(), this.handleDragStart(t);
|
|
647
|
+
var r = t.target, i = t.clientY, f = r.offsetHeight, e = r.getBoundingClientRect(), p = e.top;
|
|
648
|
+
this.prevPageY = f - (i - p);
|
|
649
|
+
}
|
|
650
|
+
}, {
|
|
651
|
+
key: "setupDragging",
|
|
652
|
+
value: function() {
|
|
653
|
+
(0, d.default)(document.body, _.disableSelectStyle), document.addEventListener("mousemove", this.handleDrag), document.addEventListener("mouseup", this.handleDragEnd), document.onselectstart = F.default;
|
|
654
|
+
}
|
|
655
|
+
}, {
|
|
656
|
+
key: "teardownDragging",
|
|
657
|
+
value: function() {
|
|
658
|
+
(0, d.default)(document.body, _.disableSelectStyleReset), document.removeEventListener("mousemove", this.handleDrag), document.removeEventListener("mouseup", this.handleDragEnd), document.onselectstart = void 0;
|
|
659
|
+
}
|
|
660
|
+
}, {
|
|
661
|
+
key: "handleDragStart",
|
|
662
|
+
value: function(t) {
|
|
663
|
+
this.dragging = !0, t.stopImmediatePropagation(), this.setupDragging();
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
key: "handleDrag",
|
|
667
|
+
value: function(t) {
|
|
668
|
+
if (this.prevPageX) {
|
|
669
|
+
var r = t.clientX, i = this.trackHorizontal.getBoundingClientRect(), f = i.left, e = this.getThumbHorizontalWidth(), p = e - this.prevPageX, w = -f + r - p;
|
|
670
|
+
this.view.scrollLeft = this.getScrollLeftForOffset(w);
|
|
671
|
+
}
|
|
672
|
+
if (this.prevPageY) {
|
|
673
|
+
var k = t.clientY, E = this.trackVertical.getBoundingClientRect(), L = E.top, R = this.getThumbVerticalHeight(), M = R - this.prevPageY, W = -L + k - M;
|
|
674
|
+
this.view.scrollTop = this.getScrollTopForOffset(W);
|
|
675
|
+
}
|
|
676
|
+
return !1;
|
|
677
|
+
}
|
|
678
|
+
}, {
|
|
679
|
+
key: "handleDragEnd",
|
|
680
|
+
value: function() {
|
|
681
|
+
this.dragging = !1, this.prevPageX = this.prevPageY = 0, this.teardownDragging(), this.handleDragEndAutoHide();
|
|
682
|
+
}
|
|
683
|
+
}, {
|
|
684
|
+
key: "handleDragEndAutoHide",
|
|
685
|
+
value: function() {
|
|
686
|
+
var t = this.props.autoHide;
|
|
687
|
+
t && this.hideTracks();
|
|
688
|
+
}
|
|
689
|
+
}, {
|
|
690
|
+
key: "handleTrackMouseEnter",
|
|
691
|
+
value: function() {
|
|
692
|
+
this.trackMouseOver = !0, this.handleTrackMouseEnterAutoHide();
|
|
693
|
+
}
|
|
694
|
+
}, {
|
|
695
|
+
key: "handleTrackMouseEnterAutoHide",
|
|
696
|
+
value: function() {
|
|
697
|
+
var t = this.props.autoHide;
|
|
698
|
+
t && this.showTracks();
|
|
699
|
+
}
|
|
700
|
+
}, {
|
|
701
|
+
key: "handleTrackMouseLeave",
|
|
702
|
+
value: function() {
|
|
703
|
+
this.trackMouseOver = !1, this.handleTrackMouseLeaveAutoHide();
|
|
704
|
+
}
|
|
705
|
+
}, {
|
|
706
|
+
key: "handleTrackMouseLeaveAutoHide",
|
|
707
|
+
value: function() {
|
|
708
|
+
var t = this.props.autoHide;
|
|
709
|
+
t && this.hideTracks();
|
|
710
|
+
}
|
|
711
|
+
}, {
|
|
712
|
+
key: "showTracks",
|
|
713
|
+
value: function() {
|
|
714
|
+
clearTimeout(this.hideTracksTimeout), (0, d.default)(this.trackHorizontal, { opacity: 1 }), (0, d.default)(this.trackVertical, { opacity: 1 });
|
|
715
|
+
}
|
|
716
|
+
}, {
|
|
717
|
+
key: "hideTracks",
|
|
718
|
+
value: function() {
|
|
719
|
+
var t = this;
|
|
720
|
+
if (!this.dragging && !this.scrolling && !this.trackMouseOver) {
|
|
721
|
+
var r = this.props.autoHideTimeout;
|
|
722
|
+
clearTimeout(this.hideTracksTimeout), this.hideTracksTimeout = setTimeout(function() {
|
|
723
|
+
(0, d.default)(t.trackHorizontal, { opacity: 0 }), (0, d.default)(t.trackVertical, { opacity: 0 });
|
|
724
|
+
}, r);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}, {
|
|
728
|
+
key: "detectScrolling",
|
|
729
|
+
value: function() {
|
|
730
|
+
var t = this;
|
|
731
|
+
this.scrolling || (this.scrolling = !0, this.handleScrollStart(), this.detectScrollingInterval = setInterval(function() {
|
|
732
|
+
t.lastViewScrollLeft === t.viewScrollLeft && t.lastViewScrollTop === t.viewScrollTop && (clearInterval(t.detectScrollingInterval), t.scrolling = !1, t.handleScrollStop()), t.lastViewScrollLeft = t.viewScrollLeft, t.lastViewScrollTop = t.viewScrollTop;
|
|
733
|
+
}, 100));
|
|
734
|
+
}
|
|
735
|
+
}, {
|
|
736
|
+
key: "raf",
|
|
737
|
+
value: function(t) {
|
|
738
|
+
var r = this;
|
|
739
|
+
this.requestFrame && l.default.cancel(this.requestFrame), this.requestFrame = (0, l.default)(function() {
|
|
740
|
+
r.requestFrame = void 0, t();
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
}, {
|
|
744
|
+
key: "update",
|
|
745
|
+
value: function(t) {
|
|
746
|
+
var r = this;
|
|
747
|
+
this.raf(function() {
|
|
748
|
+
return r._update(t);
|
|
749
|
+
});
|
|
750
|
+
}
|
|
751
|
+
}, {
|
|
752
|
+
key: "_update",
|
|
753
|
+
value: function(t) {
|
|
754
|
+
var r = this.props, i = r.onUpdate, f = r.hideTracksWhenNotNeeded, e = this.getValues();
|
|
755
|
+
if ((0, y.default)()) {
|
|
756
|
+
var p = e.scrollLeft, w = e.clientWidth, k = e.scrollWidth, E = (0, X.default)(this.trackHorizontal), L = this.getThumbHorizontalWidth(), R = p / (k - w) * (E - L), M = {
|
|
757
|
+
width: L,
|
|
758
|
+
transform: "translateX(" + R + "px)"
|
|
759
|
+
}, W = e.scrollTop, C = e.clientHeight, x = e.scrollHeight, Z = (0, Y.default)(this.trackVertical), $ = this.getThumbVerticalHeight(), J = W / (x - C) * (Z - $), P = {
|
|
760
|
+
height: $,
|
|
761
|
+
transform: "translateY(" + J + "px)"
|
|
762
|
+
};
|
|
763
|
+
if (f) {
|
|
764
|
+
var K = {
|
|
765
|
+
visibility: k > w ? "visible" : "hidden"
|
|
766
|
+
}, Q = {
|
|
767
|
+
visibility: x > C ? "visible" : "hidden"
|
|
768
|
+
};
|
|
769
|
+
(0, d.default)(this.trackHorizontal, K), (0, d.default)(this.trackVertical, Q);
|
|
770
|
+
}
|
|
771
|
+
(0, d.default)(this.thumbHorizontal, M), (0, d.default)(this.thumbVertical, P);
|
|
772
|
+
}
|
|
773
|
+
i && i(e), typeof t == "function" && t(e);
|
|
774
|
+
}
|
|
775
|
+
}, {
|
|
776
|
+
key: "render",
|
|
777
|
+
value: function() {
|
|
778
|
+
var t = this, r = (0, y.default)(), i = this.props;
|
|
779
|
+
i.onScroll, i.onScrollFrame, i.onScrollStart, i.onScrollStop, i.onUpdate;
|
|
780
|
+
var f = i.renderView, e = i.renderTrackHorizontal, p = i.renderTrackVertical, w = i.renderThumbHorizontal, k = i.renderThumbVertical, E = i.tagName;
|
|
781
|
+
i.hideTracksWhenNotNeeded;
|
|
782
|
+
var L = i.autoHide;
|
|
783
|
+
i.autoHideTimeout;
|
|
784
|
+
var R = i.autoHideDuration;
|
|
785
|
+
i.thumbSize, i.thumbMinSize;
|
|
786
|
+
var M = i.universal, W = i.autoHeight, C = i.autoHeightMin, x = i.autoHeightMax, Z = i.style, $ = i.children, J = Re(i, ["onScroll", "onScrollFrame", "onScrollStart", "onScrollStop", "onUpdate", "renderView", "renderTrackHorizontal", "renderTrackVertical", "renderThumbHorizontal", "renderThumbVertical", "tagName", "hideTracksWhenNotNeeded", "autoHide", "autoHideTimeout", "autoHideDuration", "thumbSize", "thumbMinSize", "universal", "autoHeight", "autoHeightMin", "autoHeightMax", "style", "children"]), P = this.state.didMountUniversal, K = s({}, _.containerStyleDefault, W && s({}, _.containerStyleAutoHeight, {
|
|
787
|
+
minHeight: C,
|
|
788
|
+
maxHeight: x
|
|
789
|
+
}), Z), Q = s({}, _.viewStyleDefault, {
|
|
790
|
+
// Hide scrollbars by setting a negative margin
|
|
791
|
+
marginRight: r ? -r : 0,
|
|
792
|
+
marginBottom: r ? -r : 0
|
|
793
|
+
}, W && s({}, _.viewStyleAutoHeight, {
|
|
794
|
+
// Add scrollbarWidth to autoHeight in order to compensate negative margins
|
|
795
|
+
minHeight: (0, h.default)(C) ? "calc(" + C + " + " + r + "px)" : C + r,
|
|
796
|
+
maxHeight: (0, h.default)(x) ? "calc(" + x + " + " + r + "px)" : x + r
|
|
797
|
+
}), W && M && !P && {
|
|
798
|
+
minHeight: C,
|
|
799
|
+
maxHeight: x
|
|
800
|
+
}, M && !P && _.viewStyleUniversalInitial), he = {
|
|
801
|
+
transition: "opacity " + R + "ms",
|
|
802
|
+
opacity: 0
|
|
803
|
+
}, qe = s({}, _.trackHorizontalStyleDefault, L && he, (!r || M && !P) && {
|
|
804
|
+
display: "none"
|
|
805
|
+
}), Fe = s({}, _.trackVerticalStyleDefault, L && he, (!r || M && !P) && {
|
|
806
|
+
display: "none"
|
|
807
|
+
});
|
|
808
|
+
return (0, S.createElement)(E, s({}, J, { style: K, ref: function(z) {
|
|
809
|
+
t.container = z;
|
|
810
|
+
} }), [(0, S.cloneElement)(f({ style: Q }), { key: "view", ref: function(z) {
|
|
811
|
+
t.view = z;
|
|
812
|
+
} }, $), (0, S.cloneElement)(e({ style: qe }), { key: "trackHorizontal", ref: function(z) {
|
|
813
|
+
t.trackHorizontal = z;
|
|
814
|
+
} }, (0, S.cloneElement)(w({ style: _.thumbHorizontalStyleDefault }), { ref: function(z) {
|
|
815
|
+
t.thumbHorizontal = z;
|
|
816
|
+
} })), (0, S.cloneElement)(p({ style: Fe }), { key: "trackVertical", ref: function(z) {
|
|
817
|
+
t.trackVertical = z;
|
|
818
|
+
} }, (0, S.cloneElement)(k({ style: _.thumbVerticalStyleDefault }), { ref: function(z) {
|
|
819
|
+
t.thumbVertical = z;
|
|
820
|
+
} }))]);
|
|
821
|
+
}
|
|
822
|
+
}]), v;
|
|
823
|
+
}(S.Component);
|
|
824
|
+
o.default = j, j.propTypes = {
|
|
825
|
+
onScroll: a.default.func,
|
|
826
|
+
onScrollFrame: a.default.func,
|
|
827
|
+
onScrollStart: a.default.func,
|
|
828
|
+
onScrollStop: a.default.func,
|
|
829
|
+
onUpdate: a.default.func,
|
|
830
|
+
renderView: a.default.func,
|
|
831
|
+
renderTrackHorizontal: a.default.func,
|
|
832
|
+
renderTrackVertical: a.default.func,
|
|
833
|
+
renderThumbHorizontal: a.default.func,
|
|
834
|
+
renderThumbVertical: a.default.func,
|
|
835
|
+
tagName: a.default.string,
|
|
836
|
+
thumbSize: a.default.number,
|
|
837
|
+
thumbMinSize: a.default.number,
|
|
838
|
+
hideTracksWhenNotNeeded: a.default.bool,
|
|
839
|
+
autoHide: a.default.bool,
|
|
840
|
+
autoHideTimeout: a.default.number,
|
|
841
|
+
autoHideDuration: a.default.number,
|
|
842
|
+
autoHeight: a.default.bool,
|
|
843
|
+
autoHeightMin: a.default.oneOfType([a.default.number, a.default.string]),
|
|
844
|
+
autoHeightMax: a.default.oneOfType([a.default.number, a.default.string]),
|
|
845
|
+
universal: a.default.bool,
|
|
846
|
+
style: a.default.object,
|
|
847
|
+
children: a.default.node
|
|
848
|
+
}, j.defaultProps = {
|
|
849
|
+
renderView: N.renderViewDefault,
|
|
850
|
+
renderTrackHorizontal: N.renderTrackHorizontalDefault,
|
|
851
|
+
renderTrackVertical: N.renderTrackVerticalDefault,
|
|
852
|
+
renderThumbHorizontal: N.renderThumbHorizontalDefault,
|
|
853
|
+
renderThumbVertical: N.renderThumbVerticalDefault,
|
|
854
|
+
tagName: "div",
|
|
855
|
+
thumbMinSize: 30,
|
|
856
|
+
hideTracksWhenNotNeeded: !1,
|
|
857
|
+
autoHide: !1,
|
|
858
|
+
autoHideTimeout: 1e3,
|
|
859
|
+
autoHideDuration: 200,
|
|
860
|
+
autoHeight: !1,
|
|
861
|
+
autoHeightMin: 0,
|
|
862
|
+
autoHeightMax: 200,
|
|
863
|
+
universal: !1
|
|
864
|
+
};
|
|
865
|
+
}(te)), te;
|
|
866
|
+
}
|
|
867
|
+
var Le;
|
|
868
|
+
function it() {
|
|
869
|
+
return Le || (Le = 1, function(o) {
|
|
870
|
+
Object.defineProperty(o, "__esModule", {
|
|
871
|
+
value: !0
|
|
872
|
+
}), o.Scrollbars = void 0;
|
|
873
|
+
var s = nt(), c = g(s);
|
|
874
|
+
function g(l) {
|
|
875
|
+
return l && l.__esModule ? l : { default: l };
|
|
876
|
+
}
|
|
877
|
+
o.default = c.default, o.Scrollbars = c.default;
|
|
878
|
+
}(ee)), ee;
|
|
879
|
+
}
|
|
880
|
+
var at = it();
|
|
881
|
+
const lt = /* @__PURE__ */ Ne(at);
|
|
882
|
+
export {
|
|
883
|
+
lt as S,
|
|
884
|
+
at as l
|
|
885
|
+
};
|