@clickview/exchange 0.43.1-dev.0 → 0.43.1-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/dist/bundles.json +4 -0
  2. package/dist/css/137-exchange-8c1b8716b3.chunk.css +25 -0
  3. package/dist/css/212-exchange-d71527fc65.chunk.css +1 -0
  4. package/dist/css/226-exchange-9ab9f14b3c.chunk.css +57 -0
  5. package/dist/css/291-exchange-be9d9f0cdb.chunk.css +11 -0
  6. package/dist/css/298-exchange-78ece5c7c5.chunk.css +37 -0
  7. package/dist/css/332-exchange-e4754ae27a.chunk.css +1 -0
  8. package/dist/css/489-exchange-6ecb1e7adc.chunk.css +85 -0
  9. package/dist/css/494-exchange-02d7a0249c.chunk.css +2 -0
  10. package/dist/css/522-exchange-1387f35e92.chunk.css +14 -0
  11. package/dist/css/538-exchange-4cbfe56ba3.chunk.css +1 -0
  12. package/dist/css/589-exchange-fa098d9131.chunk.css +11 -0
  13. package/dist/css/611-exchange-cbf2bb5621.chunk.css +5 -0
  14. package/dist/css/669-exchange-e80e6c6649.chunk.css +10 -0
  15. package/dist/css/68-exchange-b5eaf8af44.chunk.css +35 -0
  16. package/dist/css/75-exchange-6d2304419c.chunk.css +5 -0
  17. package/dist/css/759-exchange-23bb5dd175.chunk.css +8 -0
  18. package/dist/css/858-exchange-06944bdfa4.chunk.css +1 -0
  19. package/dist/css/904-exchange-0eab318199.chunk.css +40 -0
  20. package/dist/css/95-exchange-4cbfe56ba3.chunk.css +1 -0
  21. package/dist/css/lite-exchange-ed6bd260c5.css +14 -0
  22. package/dist/languages/en.json +1 -0
  23. package/dist/scripts/117-259130ac0e-exchange.chunk.js +1 -0
  24. package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +1 -0
  25. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +2 -0
  26. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +1 -0
  27. package/dist/scripts/137-51b4dab452-exchange.chunk.js +1 -0
  28. package/dist/scripts/156-7e4d78c20a-exchange.chunk.js +1 -0
  29. package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +1 -0
  30. package/dist/scripts/173-3668db114a-exchange.chunk.js +1 -0
  31. package/dist/scripts/212-6ed71b2797-exchange.chunk.js +1 -0
  32. package/dist/scripts/226-889bef8e6c-exchange.chunk.js +1 -0
  33. package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +1 -0
  34. package/dist/scripts/291-7e85a6e844-exchange.chunk.js +1 -0
  35. package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +1 -0
  36. package/dist/scripts/312-69afcbbc39-exchange.chunk.js +1 -0
  37. package/dist/scripts/325-76baea117f-exchange.chunk.js +1 -0
  38. package/dist/scripts/332-08d48debc2-exchange.chunk.js +1 -0
  39. package/dist/scripts/414-567e121c75-exchange.chunk.js +2 -0
  40. package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +60 -0
  41. package/dist/scripts/442-fcba36183d-exchange.chunk.js +1 -0
  42. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +1 -0
  43. package/dist/scripts/484-08c82c5a88-exchange.chunk.js +1 -0
  44. package/dist/scripts/489-8b40fa92cc-exchange.chunk.js +2 -0
  45. package/dist/scripts/489-8b40fa92cc-exchange.chunk.js.LICENSE.txt +1 -0
  46. package/dist/scripts/494-abba46b945-exchange.chunk.js +2 -0
  47. package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +1 -0
  48. package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +1 -0
  49. package/dist/scripts/522-cb18547130-exchange.chunk.js +2 -0
  50. package/dist/scripts/522-cb18547130-exchange.chunk.js.LICENSE.txt +1 -0
  51. package/dist/scripts/536-b915864d5f-exchange.chunk.js +1 -0
  52. package/dist/scripts/538-ccc01a623f-exchange.chunk.js +2 -0
  53. package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +1 -0
  54. package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +1 -0
  55. package/dist/scripts/589-17d73ab116-exchange.chunk.js +1 -0
  56. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +1 -0
  57. package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +1 -0
  58. package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +1 -0
  59. package/dist/scripts/648-485af12c37-exchange.chunk.js +1 -0
  60. package/dist/scripts/659-d08f206e1d-exchange.chunk.js +1 -0
  61. package/dist/scripts/669-a49a0838ff-exchange.chunk.js +1 -0
  62. package/dist/scripts/68-d0da8f3bd8-exchange.chunk.js +1 -0
  63. package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +1 -0
  64. package/dist/scripts/726-868a877381-exchange.chunk.js +1 -0
  65. package/dist/scripts/75-9780e4300e-exchange.chunk.js +1 -0
  66. package/dist/scripts/759-f1a9db4868-exchange.chunk.js +1 -0
  67. package/dist/scripts/782-2c340d8404-exchange.chunk.js +1 -0
  68. package/dist/scripts/831-8808647fc7-exchange.chunk.js +1 -0
  69. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +2 -0
  70. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +1 -0
  71. package/dist/scripts/858-70085ed3b1-exchange.chunk.js +1 -0
  72. package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +1 -0
  73. package/dist/scripts/87-d569a1463e-exchange.chunk.js +1 -0
  74. package/dist/scripts/877-5b357aeb63-exchange.chunk.js +1 -0
  75. package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +1 -0
  76. package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +1 -0
  77. package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +1 -0
  78. package/dist/scripts/95-841a847f54-exchange.chunk.js +2 -0
  79. package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +1 -0
  80. package/dist/scripts/bundle-7065b184e2.min.js +2 -0
  81. package/dist/scripts/bundle-7065b184e2.min.js.LICENSE.txt +108 -0
  82. package/package.json +3 -12
  83. package/typings/utils/imports.d.ts +1 -1
  84. package/dist/Actions-BtMRNMuv.cjs +0 -1
  85. package/dist/Actions-DfeKDy3k.js +0 -178
  86. package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
  87. package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
  88. package/dist/Badge-3MW5GacP.cjs +0 -1
  89. package/dist/Badge-Ddz0Il5v.js +0 -326
  90. package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
  91. package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
  92. package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
  93. package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
  94. package/dist/Caret-Cpx0uvJ0.js +0 -36
  95. package/dist/Caret-Dgjy7YHO.cjs +0 -1
  96. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
  97. package/dist/ChevronDownSvg-BfijmId7.js +0 -13
  98. package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
  99. package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
  100. package/dist/CloseSvg-2PKjla1T.js +0 -13
  101. package/dist/CloseSvg-B7rizkGp.cjs +0 -1
  102. package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
  103. package/dist/CurationStatus-DZn3C9Qe.js +0 -4
  104. package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
  105. package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
  106. package/dist/DialogView-B5FEh3e8.cjs +0 -1
  107. package/dist/DialogView-RcNOylD7.js +0 -22
  108. package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
  109. package/dist/DownloadHelper-dL46n0Kq.js +0 -32
  110. package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
  111. package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
  112. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
  113. package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
  114. package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
  115. package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
  116. package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
  117. package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
  118. package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
  119. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
  120. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
  121. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
  122. package/dist/ExchangePreviewView-hztBChIE.js +0 -82
  123. package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
  124. package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
  125. package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
  126. package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
  127. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
  128. package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
  129. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
  130. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
  131. package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
  132. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
  133. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
  134. package/dist/ExchangeTabs-CrA22PjN.js +0 -46
  135. package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
  136. package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
  137. package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
  138. package/dist/ExchangeView-Cui4zZ4D.js +0 -30
  139. package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
  140. package/dist/FormButtons-CDOsf9A-.cjs +0 -1
  141. package/dist/FormButtons-fQkvwYsy.js +0 -20
  142. package/dist/FormFeedback-5Dd3bMCl.js +0 -7
  143. package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
  144. package/dist/FormField-Cb2l2GMO.cjs +0 -5
  145. package/dist/FormField-DYeERWxm.js +0 -3353
  146. package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
  147. package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
  148. package/dist/GroupSvg-BmwXO6yT.js +0 -53
  149. package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
  150. package/dist/HardCoded-25AFj2sZ.js +0 -51
  151. package/dist/HardCoded-BbbeCQNt.cjs +0 -1
  152. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
  153. package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
  154. package/dist/IconCircle-BVHFUBGt.cjs +0 -1
  155. package/dist/IconCircle-CxFLsbLY.js +0 -26
  156. package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
  157. package/dist/InstanceRegion-DQlzs4EK.js +0 -4
  158. package/dist/LazyImage-DBQklqeJ.js +0 -163
  159. package/dist/LazyImage-lv36coda.cjs +0 -1
  160. package/dist/LibraryRequests-BHAZPSUw.js +0 -186
  161. package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
  162. package/dist/LinkifyHelper-DPHYATPc.js +0 -925
  163. package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
  164. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
  165. package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
  166. package/dist/MediaQueries-9caJ2eG6.js +0 -4
  167. package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
  168. package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
  169. package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
  170. package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
  171. package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
  172. package/dist/PillTabSelector-B5V2rqf0.js +0 -64
  173. package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
  174. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
  175. package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
  176. package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
  177. package/dist/ProgramType-FpE5cuZV.js +0 -60
  178. package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
  179. package/dist/RatingRequests-Dr3w3-z8.js +0 -11
  180. package/dist/RedirectView-BK8yU-PU.js +0 -22
  181. package/dist/RedirectView-OEJhJrvf.cjs +0 -1
  182. package/dist/RestrictionHelper-BSceJYz-.js +0 -112
  183. package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
  184. package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
  185. package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
  186. package/dist/SearchFilters-C_yEnumc.js +0 -3046
  187. package/dist/SearchFilters-D3fLjseM.cjs +0 -1
  188. package/dist/SearchSvg-BB6oXs1v.js +0 -13
  189. package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
  190. package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
  191. package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
  192. package/dist/TagItem-BBc3HmnI.cjs +0 -1
  193. package/dist/TagItem-BFnSikAz.js +0 -1125
  194. package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
  195. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
  196. package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
  197. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
  198. package/dist/TvAddView-Bv12wfX7.js +0 -276
  199. package/dist/TvAddView-CA7Yappn.cjs +0 -1
  200. package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
  201. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
  202. package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
  203. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
  204. package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
  205. package/dist/TvChannelBadge-Doqs12s9.js +0 -11
  206. package/dist/TvChannelView-CSn0VleL.js +0 -177
  207. package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
  208. package/dist/TvChannelsView-CM_T5E3j.js +0 -171
  209. package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
  210. package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
  211. package/dist/TvGuideView-BLlQJiZ3.js +0 -54
  212. package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
  213. package/dist/TvHomeView-CbNg8AyI.js +0 -15
  214. package/dist/TvPreviewView-DhXD3H__.js +0 -114
  215. package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
  216. package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
  217. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
  218. package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
  219. package/dist/TvProgramsView-DO4WnPJx.js +0 -223
  220. package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
  221. package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
  222. package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
  223. package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
  224. package/dist/TvRequests-Bcy68aT5.js +0 -227
  225. package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
  226. package/dist/TvSearchBar-5J6420z2.cjs +0 -1
  227. package/dist/TvSearchBar-KZqcg7G0.js +0 -95
  228. package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
  229. package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
  230. package/dist/TvTabs-CrQVKuod.js +0 -88
  231. package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
  232. package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
  233. package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
  234. package/dist/UseAlerts-B2BbQeN3.js +0 -39
  235. package/dist/UseAlerts-pIg83NsO.cjs +0 -1
  236. package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
  237. package/dist/UseFetchAll-DYGA8s5a.js +0 -147
  238. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
  239. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
  240. package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
  241. package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
  242. package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
  243. package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
  244. package/dist/UseHover-CLOLtbUV.cjs +0 -1
  245. package/dist/UseHover-Cc_d5rRf.js +0 -85
  246. package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
  247. package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
  248. package/dist/VideoHelper-3AKe5Jyy.js +0 -477
  249. package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
  250. package/dist/VideoList-SNG1hmoL.cjs +0 -49
  251. package/dist/VideoList-s7lvSqSs.js +0 -2622
  252. package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
  253. package/dist/VideoRequests-DlUeYLjl.js +0 -225
  254. package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
  255. package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
  256. package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
  257. package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
  258. package/dist/app-2U039aX_.js +0 -67680
  259. package/dist/app-DcIbciDa.cjs +0 -454
  260. package/dist/app.js +0 -1
  261. package/dist/en.json +0 -1
  262. package/dist/exchange.css +0 -1
  263. package/dist/getRegionInfo-B_h_jjAy.js +0 -31
  264. package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
  265. package/dist/index-CGkY5YVS.cjs +0 -1
  266. package/dist/index-DUgR-v-j.js +0 -885
  267. package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
  268. package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
  269. package/dist/useBreakpoints-37V489ap.js +0 -66
  270. package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
  271. package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
  272. package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
  273. package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
  274. package/dist/useGetTvActions-DENrO3wZ.js +0 -54
  275. package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
  276. package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
  277. package/dist/usePreviewContext--ihfEi4P.js +0 -14
  278. package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
  279. package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
  280. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
  281. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
  282. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
  283. package/vite-i18n-plugin.ts +0 -113
  284. package/vite.config.ts +0 -59
@@ -1,32 +0,0 @@
1
- import { H as c, R as s, a1 as r, a9 as i, aa as l, ac as u, ab as f, ad as w, j as p, aA as k } from "./app-2U039aX_.js";
2
- import { D as y } from "./DownloadHelper-dL46n0Kq.js";
3
- const m = {
4
- createDownloadToken(o) {
5
- return {
6
- url: "/api/downloadproxy/api/tokens",
7
- key: `download:token:${o}`,
8
- data: { objectId: o },
9
- type: c.POST,
10
- normalize: !1
11
- };
12
- }
13
- };
14
- function R(o) {
15
- const a = s.useRef(null), e = r(k.config()), t = r(m.createDownloadToken(o.id)), n = !!e.data && !!t.data;
16
- return s.useEffect(() => {
17
- if (!n || !a.current)
18
- return;
19
- const d = y.getVideoDownloadUrl(e.data.downloadProxy, t.data.token);
20
- a.current.src = d, i.logUserAction({
21
- id: o.id
22
- }, {
23
- actionType: w.Download,
24
- location: f.Popup,
25
- entity: u.Video,
26
- workflowPhase: l.Complete
27
- });
28
- }, [n, a.current]), /* @__PURE__ */ p.jsx("iframe", { ref: a });
29
- }
30
- export {
31
- R as DownloadVideoView
32
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("./app-DcIbciDa.cjs");function G(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return o.reactExports.useMemo(()=>n=>{t.forEach(a=>a(n))},t)}const J=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Q(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Z(e){return"nodeType"in e}function K(e){var t,r;return e?Q(e)?e:Z(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}const C=J?o.reactExports.useLayoutEffect:o.reactExports.useEffect;function $(e){const t=o.reactExports.useRef(e);return C(()=>{t.current=e}),o.reactExports.useCallback(function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.current==null?void 0:t.current(...n)},[])}function k(e,t){t===void 0&&(t=[e]);const r=o.reactExports.useRef(e);return C(()=>{r.current!==e&&(r.current=e)},t),r}function N(e){const t=$(e),r=o.reactExports.useRef(null),n=o.reactExports.useCallback(a=>{a!==r.current&&(t==null||t(a,r.current)),r.current=a},[]);return[r,n]}let T={};function q(e,t){return o.reactExports.useMemo(()=>{const r=T[e]==null?0:T[e]+1;return T[e]=r,e+"-"+r},[e,t])}function _(e){if(!e)return!1;const{KeyboardEvent:t}=K(e.target);return t&&e instanceof t}const M=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[M.Translate.toString(e),M.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}});var y;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(y||(y={}));function W(){}const ee=Object.freeze({x:0,y:0});function te(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function re(e,t,r){const n=te(t);if(!n)return e;const{scaleX:a,scaleY:i,x:d,y:c}=n,l=e.left-d-(1-a)*parseFloat(r),g=e.top-c-(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=a?e.width/a:e.width,s=i?e.height/i:e.height;return{width:u,height:s,top:g,right:l+u,bottom:g+s,left:l}}const ne={ignoreTransform:!1};function ae(e,t){t===void 0&&(t=ne);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:g}=K(e),{transform:u,transformOrigin:s}=g(e);u&&(r=re(r,u,s))}const{top:n,left:a,width:i,height:d,bottom:c,right:l}=r;return{top:n,left:a,width:i,height:d,bottom:c,right:l}}var w;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(w||(w={}));var B;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(B||(B={}));exports.KeyboardCode=void 0;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(exports.KeyboardCode||(exports.KeyboardCode={}));exports.KeyboardCode.Space,exports.KeyboardCode.Enter,exports.KeyboardCode.Esc,exports.KeyboardCode.Space,exports.KeyboardCode.Enter;var X;(function(e){e[e.RightClick=2]="RightClick"})(X||(X={}));var U;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(U||(U={}));var A;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(A||(A={}));w.Backward+"",w.Forward+"",w.Backward+"",w.Forward+"";var j;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(j||(j={}));var F;(function(e){e.Optimized="optimized"})(F||(F={}));function oe(e){let{callback:t,disabled:r}=e;const n=$(t),a=o.reactExports.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(n)},[r]);return o.reactExports.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function se(e,t){return o.reactExports.useMemo(()=>e.reduce((r,n)=>{let{eventName:a,handler:i}=n;return r[a]=d=>{i(d,t)},r},{}),[e,t])}j.WhileDragging,F.Optimized;const ie={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:W,draggableNodes:new Map,over:null,measureDroppableContainers:W},P=o.reactExports.createContext(ie),ce=o.reactExports.createContext({...ee,scaleX:1,scaleY:1});var L;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(L||(L={}));const le=o.reactExports.createContext(null),Y="button",ue="Droppable";function V(e){let{id:t,data:r,disabled:n=!1,attributes:a}=e;const i=q(ue),{activators:d,activatorEvent:c,active:l,activeNodeRect:g,ariaDescribedById:u,draggableNodes:s,over:b}=o.reactExports.useContext(P),{role:f=Y,roleDescription:v="draggable",tabIndex:R=0}=a??{},x=(l==null?void 0:l.id)===t,E=o.reactExports.useContext(x?ce:le),[m,p]=N(),[O,D]=N(),S=se(d,t),I=k(r);C(()=>(s.set(t,{id:t,key:i,node:m,activatorNode:O,data:I}),()=>{const h=s.get(t);h&&h.key===i&&s.delete(t)}),[s,t]);const z=o.reactExports.useMemo(()=>({role:f,tabIndex:R,"aria-disabled":n,"aria-pressed":x&&f===Y?!0:void 0,"aria-roledescription":v,"aria-describedby":u.draggable}),[n,f,R,x,v,u.draggable]);return{active:l,activatorEvent:c,activeNodeRect:g,attributes:z,isDragging:x,listeners:n?void 0:S,node:m,over:b,setNodeRef:p,setActivatorNodeRef:D,transform:E}}const de="Droppable",fe={timeout:25};function H(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:a}=e;const i=q(de),{active:d,dispatch:c,over:l,measureDroppableContainers:g}=o.reactExports.useContext(P),u=o.reactExports.useRef({disabled:r}),s=o.reactExports.useRef(!1),b=o.reactExports.useRef(null),f=o.reactExports.useRef(null),{disabled:v,updateMeasurementsFor:R,timeout:x}={...fe,...a},E=k(R??n),m=o.reactExports.useCallback(()=>{if(!s.current){s.current=!0;return}f.current!=null&&clearTimeout(f.current),f.current=setTimeout(()=>{g(Array.isArray(E.current)?E.current:[E.current]),f.current=null},x)},[x]),p=oe({callback:m,disabled:v||!d}),O=o.reactExports.useCallback((z,h)=>{p&&(h&&(p.unobserve(h),s.current=!1),z&&p.observe(z))},[p]),[D,S]=N(O),I=k(t);return o.reactExports.useEffect(()=>{!p||!D.current||(p.disconnect(),s.current=!1,p.observe(D.current))},[D,p]),C(()=>(c({type:y.RegisterDroppable,element:{id:n,key:i,disabled:r,node:D,rect:b,data:I}}),()=>c({type:y.UnregisterDroppable,key:i,id:n})),[n]),o.reactExports.useEffect(()=>{r!==u.current.disabled&&(c({type:y.SetDroppableDisabled,id:n,key:i,disabled:r}),u.current.disabled=r)},[n,i,r,c]),{active:d,rect:b,isOver:(l==null?void 0:l.id)===n,node:D,over:l,setNodeRef:S}}function ge(e){const{active:t,isDragging:r,attributes:n,listeners:a,setNodeRef:i}=V({...e.draggable,disabled:!e.draggable,attributes:{role:"drag",tabIndex:-1}}),{isOver:d,over:c,active:l,setNodeRef:g}=H({...e.droppable,disabled:!e.droppable});o.React.useEffect(()=>{var b,f,v;const s=(b=e.draggable)==null?void 0:b.data;Array.isArray(s)&&(s!=null&&s.includes(t==null?void 0:t.id.toString()))?(f=e.setIsDragging)==null||f.call(e,r):(v=e.setIsDragging)==null||v.call(e,!1)},[r]);function u(){var b;const s=(b=e.draggable)==null?void 0:b.data;return Array.isArray(s)&&s.includes(e.draggable.id.toString())}return o.jsxRuntimeExports.jsx("div",{ref:i,...a,...n,className:`${e.draggable?"cursor-grab":"cursor-default"} ${r&&t||e.isDragging&&u()?e.dragStyle:null}`,children:o.jsxRuntimeExports.jsx("div",{ref:g,className:l&&d&&(t==null?void 0:t.id)!==(c==null?void 0:c.id)?e.dropStye:null,children:e.children})})}exports.CSS=M;exports.DragDropMoveWrapper=ge;exports.getClientRect=ae;exports.isKeyboardEvent=_;exports.useCombinedRefs=G;exports.useDraggable=V;exports.useDroppable=H;exports.useIsomorphicLayoutEffect=C;
@@ -1,462 +0,0 @@
1
- import { r as i, R as J, j as B } from "./app-2U039aX_.js";
2
- function be() {
3
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
4
- t[n] = arguments[n];
5
- return i.useMemo(
6
- () => (r) => {
7
- t.forEach((a) => a(r));
8
- },
9
- // eslint-disable-next-line react-hooks/exhaustive-deps
10
- t
11
- );
12
- }
13
- const Q = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
14
- function Z(e) {
15
- const t = Object.prototype.toString.call(e);
16
- return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
17
- t === "[object global]";
18
- }
19
- function K(e) {
20
- return "nodeType" in e;
21
- }
22
- function q(e) {
23
- var t, n;
24
- return e ? Z(e) ? e : K(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
25
- }
26
- const E = Q ? i.useLayoutEffect : i.useEffect;
27
- function V(e) {
28
- const t = i.useRef(e);
29
- return E(() => {
30
- t.current = e;
31
- }), i.useCallback(function() {
32
- for (var n = arguments.length, r = new Array(n), a = 0; a < n; a++)
33
- r[a] = arguments[a];
34
- return t.current == null ? void 0 : t.current(...r);
35
- }, []);
36
- }
37
- function N(e, t) {
38
- t === void 0 && (t = [e]);
39
- const n = i.useRef(e);
40
- return E(() => {
41
- n.current !== e && (n.current = e);
42
- }, t), n;
43
- }
44
- function M(e) {
45
- const t = V(e), n = i.useRef(null), r = i.useCallback(
46
- (a) => {
47
- a !== n.current && (t == null || t(a, n.current)), n.current = a;
48
- },
49
- //eslint-disable-next-line
50
- []
51
- );
52
- return [n, r];
53
- }
54
- let k = {};
55
- function H(e, t) {
56
- return i.useMemo(() => {
57
- const n = k[e] == null ? 0 : k[e] + 1;
58
- return k[e] = n, e + "-" + n;
59
- }, [e, t]);
60
- }
61
- function ve(e) {
62
- if (!e)
63
- return !1;
64
- const {
65
- KeyboardEvent: t
66
- } = q(e.target);
67
- return t && e instanceof t;
68
- }
69
- const W = /* @__PURE__ */ Object.freeze({
70
- Translate: {
71
- toString(e) {
72
- if (!e)
73
- return;
74
- const {
75
- x: t,
76
- y: n
77
- } = e;
78
- return "translate3d(" + (t ? Math.round(t) : 0) + "px, " + (n ? Math.round(n) : 0) + "px, 0)";
79
- }
80
- },
81
- Scale: {
82
- toString(e) {
83
- if (!e)
84
- return;
85
- const {
86
- scaleX: t,
87
- scaleY: n
88
- } = e;
89
- return "scaleX(" + t + ") scaleY(" + n + ")";
90
- }
91
- },
92
- Transform: {
93
- toString(e) {
94
- if (e)
95
- return [W.Translate.toString(e), W.Scale.toString(e)].join(" ");
96
- }
97
- },
98
- Transition: {
99
- toString(e) {
100
- let {
101
- property: t,
102
- duration: n,
103
- easing: r
104
- } = e;
105
- return t + " " + n + "ms " + r;
106
- }
107
- }
108
- });
109
- var x;
110
- (function(e) {
111
- e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
112
- })(x || (x = {}));
113
- function X() {
114
- }
115
- const _ = /* @__PURE__ */ Object.freeze({
116
- x: 0,
117
- y: 0
118
- });
119
- function ee(e) {
120
- if (e.startsWith("matrix3d(")) {
121
- const t = e.slice(9, -1).split(/, /);
122
- return {
123
- x: +t[12],
124
- y: +t[13],
125
- scaleX: +t[0],
126
- scaleY: +t[5]
127
- };
128
- } else if (e.startsWith("matrix(")) {
129
- const t = e.slice(7, -1).split(/, /);
130
- return {
131
- x: +t[4],
132
- y: +t[5],
133
- scaleX: +t[0],
134
- scaleY: +t[3]
135
- };
136
- }
137
- return null;
138
- }
139
- function te(e, t, n) {
140
- const r = ee(t);
141
- if (!r)
142
- return e;
143
- const {
144
- scaleX: a,
145
- scaleY: o,
146
- x: d,
147
- y: c
148
- } = r, l = e.left - d - (1 - a) * parseFloat(n), g = e.top - c - (1 - o) * parseFloat(n.slice(n.indexOf(" ") + 1)), u = a ? e.width / a : e.width, s = o ? e.height / o : e.height;
149
- return {
150
- width: u,
151
- height: s,
152
- top: g,
153
- right: l + u,
154
- bottom: g + s,
155
- left: l
156
- };
157
- }
158
- const ne = {
159
- ignoreTransform: !1
160
- };
161
- function we(e, t) {
162
- t === void 0 && (t = ne);
163
- let n = e.getBoundingClientRect();
164
- if (t.ignoreTransform) {
165
- const {
166
- getComputedStyle: g
167
- } = q(e), {
168
- transform: u,
169
- transformOrigin: s
170
- } = g(e);
171
- u && (n = te(n, u, s));
172
- }
173
- const {
174
- top: r,
175
- left: a,
176
- width: o,
177
- height: d,
178
- bottom: c,
179
- right: l
180
- } = n;
181
- return {
182
- top: r,
183
- left: a,
184
- width: o,
185
- height: d,
186
- bottom: c,
187
- right: l
188
- };
189
- }
190
- var p;
191
- (function(e) {
192
- e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
193
- })(p || (p = {}));
194
- var U;
195
- (function(e) {
196
- e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
197
- })(U || (U = {}));
198
- var h;
199
- (function(e) {
200
- e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter";
201
- })(h || (h = {}));
202
- h.Space, h.Enter, h.Esc, h.Space, h.Enter;
203
- var A;
204
- (function(e) {
205
- e[e.RightClick = 2] = "RightClick";
206
- })(A || (A = {}));
207
- var Y;
208
- (function(e) {
209
- e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
210
- })(Y || (Y = {}));
211
- var L;
212
- (function(e) {
213
- e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
214
- })(L || (L = {}));
215
- p.Backward + "", p.Forward + "", p.Backward + "", p.Forward + "";
216
- var j;
217
- (function(e) {
218
- e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
219
- })(j || (j = {}));
220
- var F;
221
- (function(e) {
222
- e.Optimized = "optimized";
223
- })(F || (F = {}));
224
- function re(e) {
225
- let {
226
- callback: t,
227
- disabled: n
228
- } = e;
229
- const r = V(t), a = i.useMemo(
230
- () => {
231
- if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
232
- return;
233
- const {
234
- ResizeObserver: o
235
- } = window;
236
- return new o(r);
237
- },
238
- // eslint-disable-next-line react-hooks/exhaustive-deps
239
- [n]
240
- );
241
- return i.useEffect(() => () => a == null ? void 0 : a.disconnect(), [a]), a;
242
- }
243
- function ae(e, t) {
244
- return i.useMemo(() => e.reduce((n, r) => {
245
- let {
246
- eventName: a,
247
- handler: o
248
- } = r;
249
- return n[a] = (d) => {
250
- o(d, t);
251
- }, n;
252
- }, {}), [e, t]);
253
- }
254
- j.WhileDragging, F.Optimized;
255
- const ie = {
256
- activatorEvent: null,
257
- activators: [],
258
- active: null,
259
- activeNodeRect: null,
260
- ariaDescribedById: {
261
- draggable: ""
262
- },
263
- dispatch: X,
264
- draggableNodes: /* @__PURE__ */ new Map(),
265
- over: null,
266
- measureDroppableContainers: X
267
- }, G = /* @__PURE__ */ i.createContext(ie), se = /* @__PURE__ */ i.createContext({
268
- ..._,
269
- scaleX: 1,
270
- scaleY: 1
271
- });
272
- var $;
273
- (function(e) {
274
- e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
275
- })($ || ($ = {}));
276
- const oe = /* @__PURE__ */ i.createContext(null), P = "button", ce = "Droppable";
277
- function le(e) {
278
- let {
279
- id: t,
280
- data: n,
281
- disabled: r = !1,
282
- attributes: a
283
- } = e;
284
- const o = H(ce), {
285
- activators: d,
286
- activatorEvent: c,
287
- active: l,
288
- activeNodeRect: g,
289
- ariaDescribedById: u,
290
- draggableNodes: s,
291
- over: b
292
- } = i.useContext(G), {
293
- role: f = P,
294
- roleDescription: w = "draggable",
295
- tabIndex: m = 0
296
- } = a ?? {}, D = (l == null ? void 0 : l.id) === t, y = i.useContext(D ? se : oe), [z, v] = M(), [I, R] = M(), S = ae(d, t), T = N(n);
297
- E(
298
- () => (s.set(t, {
299
- id: t,
300
- key: o,
301
- node: z,
302
- activatorNode: I,
303
- data: T
304
- }), () => {
305
- const C = s.get(t);
306
- C && C.key === o && s.delete(t);
307
- }),
308
- // eslint-disable-next-line react-hooks/exhaustive-deps
309
- [s, t]
310
- );
311
- const O = i.useMemo(() => ({
312
- role: f,
313
- tabIndex: m,
314
- "aria-disabled": r,
315
- "aria-pressed": D && f === P ? !0 : void 0,
316
- "aria-roledescription": w,
317
- "aria-describedby": u.draggable
318
- }), [r, f, m, D, w, u.draggable]);
319
- return {
320
- active: l,
321
- activatorEvent: c,
322
- activeNodeRect: g,
323
- attributes: O,
324
- isDragging: D,
325
- listeners: r ? void 0 : S,
326
- node: z,
327
- over: b,
328
- setNodeRef: v,
329
- setActivatorNodeRef: R,
330
- transform: y
331
- };
332
- }
333
- const ue = "Droppable", de = {
334
- timeout: 25
335
- };
336
- function fe(e) {
337
- let {
338
- data: t,
339
- disabled: n = !1,
340
- id: r,
341
- resizeObserverConfig: a
342
- } = e;
343
- const o = H(ue), {
344
- active: d,
345
- dispatch: c,
346
- over: l,
347
- measureDroppableContainers: g
348
- } = i.useContext(G), u = i.useRef({
349
- disabled: n
350
- }), s = i.useRef(!1), b = i.useRef(null), f = i.useRef(null), {
351
- disabled: w,
352
- updateMeasurementsFor: m,
353
- timeout: D
354
- } = {
355
- ...de,
356
- ...a
357
- }, y = N(m ?? r), z = i.useCallback(
358
- () => {
359
- if (!s.current) {
360
- s.current = !0;
361
- return;
362
- }
363
- f.current != null && clearTimeout(f.current), f.current = setTimeout(() => {
364
- g(Array.isArray(y.current) ? y.current : [y.current]), f.current = null;
365
- }, D);
366
- },
367
- //eslint-disable-next-line react-hooks/exhaustive-deps
368
- [D]
369
- ), v = re({
370
- callback: z,
371
- disabled: w || !d
372
- }), I = i.useCallback((O, C) => {
373
- v && (C && (v.unobserve(C), s.current = !1), O && v.observe(O));
374
- }, [v]), [R, S] = M(I), T = N(t);
375
- return i.useEffect(() => {
376
- !v || !R.current || (v.disconnect(), s.current = !1, v.observe(R.current));
377
- }, [R, v]), E(
378
- () => (c({
379
- type: x.RegisterDroppable,
380
- element: {
381
- id: r,
382
- key: o,
383
- disabled: n,
384
- node: R,
385
- rect: b,
386
- data: T
387
- }
388
- }), () => c({
389
- type: x.UnregisterDroppable,
390
- key: o,
391
- id: r
392
- })),
393
- // eslint-disable-next-line react-hooks/exhaustive-deps
394
- [r]
395
- ), i.useEffect(() => {
396
- n !== u.current.disabled && (c({
397
- type: x.SetDroppableDisabled,
398
- id: r,
399
- key: o,
400
- disabled: n
401
- }), u.current.disabled = n);
402
- }, [r, o, n, c]), {
403
- active: d,
404
- rect: b,
405
- isOver: (l == null ? void 0 : l.id) === r,
406
- node: R,
407
- over: l,
408
- setNodeRef: S
409
- };
410
- }
411
- function De(e) {
412
- const {
413
- active: t,
414
- isDragging: n,
415
- attributes: r,
416
- listeners: a,
417
- setNodeRef: o
418
- } = le({ ...e.draggable, disabled: !e.draggable, attributes: { role: "drag", tabIndex: -1 } }), {
419
- isOver: d,
420
- over: c,
421
- active: l,
422
- setNodeRef: g
423
- } = fe({ ...e.droppable, disabled: !e.droppable });
424
- J.useEffect(() => {
425
- var b, f, w;
426
- const s = (b = e.draggable) == null ? void 0 : b.data;
427
- Array.isArray(s) && (s != null && s.includes(t == null ? void 0 : t.id.toString())) ? (f = e.setIsDragging) == null || f.call(e, n) : (w = e.setIsDragging) == null || w.call(e, !1);
428
- }, [n]);
429
- function u() {
430
- var b;
431
- const s = (b = e.draggable) == null ? void 0 : b.data;
432
- return Array.isArray(s) && s.includes(e.draggable.id.toString());
433
- }
434
- return /* @__PURE__ */ B.jsx(
435
- "div",
436
- {
437
- ref: o,
438
- ...a,
439
- ...r,
440
- className: `${e.draggable ? "cursor-grab" : "cursor-default"} ${n && t || e.isDragging && u() ? e.dragStyle : null}`,
441
- children: /* @__PURE__ */ B.jsx(
442
- "div",
443
- {
444
- ref: g,
445
- className: l && d && (t == null ? void 0 : t.id) !== (c == null ? void 0 : c.id) ? e.dropStye : null,
446
- children: e.children
447
- }
448
- )
449
- }
450
- );
451
- }
452
- export {
453
- W as C,
454
- De as D,
455
- h as K,
456
- le as a,
457
- be as b,
458
- E as c,
459
- we as g,
460
- ve as i,
461
- fe as u
462
- };
@@ -1,63 +0,0 @@
1
- import { a0 as S, a1 as i, R as n, a9 as k, ac as w, ab as E, aF as L, ad as T, L as C, j as e, P as R, ak as F, B as p, x as m, A as I, aA as U } from "./app-2U039aX_.js";
2
- import { S as q } from "./ScrollHelper-Dg7bDIH7.js";
3
- import { V as B } from "./VideoRequests-DlUeYLjl.js";
4
- import { u as H } from "./UseAlerts-B2BbQeN3.js";
5
- import { E as u } from "./ExchangeRequests-DV7BD3HZ.js";
6
- import { u as G } from "./usePreviewContext--ihfEi4P.js";
7
- const c = "exchange.add", o = C.encloseNamespace(c);
8
- function K(s) {
9
- var l;
10
- const x = H(), g = S(), f = i(U.config()), h = i(u.exchange()), a = i(B.video(s.id)), [r, j] = n.useState(!1), [A, P] = n.useState(!1), [V, b] = n.useState(null), { previewContext: t, clearPreviewContext: v } = G(s.id, !1);
11
- n.useEffect(() => {
12
- !a.data || A || y();
13
- }, [(l = a.data) == null ? void 0 : l.id]);
14
- async function y() {
15
- P(!0);
16
- try {
17
- const N = await g(u.addVideo(
18
- h.data.id,
19
- a.data.id
20
- ));
21
- j(!0), b(N.id), k.logUserAction(
22
- { id: a.data.id, name: a.data.name },
23
- {
24
- actionType: T.Submit,
25
- descriptor: L.AddToWorkspace,
26
- location: E.Popup,
27
- entity: w.Video
28
- }
29
- );
30
- } catch {
31
- x.error(o("error")), s.closePopup();
32
- }
33
- }
34
- function d() {
35
- s.closePopup(), t != null && t.appLink && (q.preventScrollTop(), I.trigger(t.appLink), v());
36
- }
37
- return /* @__PURE__ */ e.jsx(
38
- R,
39
- {
40
- title: o("title"),
41
- closePopup: d,
42
- showLoadingSpinner: !r,
43
- children: r && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
44
- /* @__PURE__ */ e.jsx("div", { className: "mx-auto w-75 mt-1 mb-2", children: /* @__PURE__ */ e.jsx("img", { src: F.General.CONFETTI, className: "img-fluid", draggable: !1 }) }),
45
- /* @__PURE__ */ e.jsx("div", { className: "text-center pb-3", children: /* @__PURE__ */ e.jsx("h4", { className: "mb-2", children: /* @__PURE__ */ e.jsx(p, { namespace: c, phrase: "added" }) }) }),
46
- /* @__PURE__ */ e.jsxs(m, { children: [
47
- /* @__PURE__ */ e.jsx(
48
- m.Cancel,
49
- {
50
- text: o("close"),
51
- onClick: d,
52
- variant: "link"
53
- }
54
- ),
55
- /* @__PURE__ */ e.jsx("a", { href: `${f.data.liteUrl}/videos/${V}`, className: "btn btn-dark", children: /* @__PURE__ */ e.jsx("span", { className: "align-text-bottom me-1", children: /* @__PURE__ */ e.jsx(p, { namespace: c, phrase: "open" }) }) })
56
- ] })
57
- ] })
58
- }
59
- );
60
- }
61
- export {
62
- K as ExchangeAddView
63
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./app-DcIbciDa.cjs"),q=require("./ScrollHelper-ESsjtyv8.cjs"),P=require("./VideoRequests-CpDXl7E_.cjs"),v=require("./UseAlerts-pIg83NsO.cjs"),d=require("./ExchangeRequests-B3wRfv5Y.cjs"),y=require("./usePreviewContext-DjpFhe3I.cjs"),a="exchange.add",i=e.LanguageService.encloseNamespace(a);function S(s){var r;const u=v.useAlerts(),l=e.useGetFetchAsync(),x=e.useBasicFetch(e.ConfigRequests.config()),p=e.useBasicFetch(d.ExchangeRequests.exchange()),t=e.useBasicFetch(P.VideoRequests.video(s.id)),[o,m]=e.React.useState(!1),[g,h]=e.React.useState(!1),[j,R]=e.React.useState(null),{previewContext:n,clearPreviewContext:E}=y.usePreviewContext(s.id,!1);e.React.useEffect(()=>{!t.data||g||f()},[(r=t.data)==null?void 0:r.id]);async function f(){h(!0);try{const A=await l(d.ExchangeRequests.addVideo(p.data.id,t.data.id));m(!0),R(A.id),e.AnalyticsHelper.logUserAction({id:t.data.id,name:t.data.name},{actionType:e.UserAction.Submit,descriptor:e.VideoActionDescriptor.AddToWorkspace,location:e.LocationContext.Popup,entity:e.EntityType.Video})}catch{u.error(i("error")),s.closePopup()}}function c(){s.closePopup(),n!=null&&n.appLink&&(q.ScrollHelper.preventScrollTop(),e.AppLinkHelper.trigger(n.appLink),E())}return e.jsxRuntimeExports.jsx(e.Popup,{title:i("title"),closePopup:c,showLoadingSpinner:!o,children:o&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"mx-auto w-75 mt-1 mb-2",children:e.jsxRuntimeExports.jsx("img",{src:e.ImageUrls.General.CONFETTI,className:"img-fluid",draggable:!1})}),e.jsxRuntimeExports.jsx("div",{className:"text-center pb-3",children:e.jsxRuntimeExports.jsx("h4",{className:"mb-2",children:e.jsxRuntimeExports.jsx(e.Text,{namespace:a,phrase:"added"})})}),e.jsxRuntimeExports.jsxs(e.PopupButtons,{children:[e.jsxRuntimeExports.jsx(e.PopupButtons.Cancel,{text:i("close"),onClick:c,variant:"link"}),e.jsxRuntimeExports.jsx("a",{href:`${x.data.liteUrl}/videos/${j}`,className:"btn btn-dark",children:e.jsxRuntimeExports.jsx("span",{className:"align-text-bottom me-1",children:e.jsxRuntimeExports.jsx(e.Text,{namespace:a,phrase:"open"})})})]})]})})}exports.ExchangeAddView=S;