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

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 (333) hide show
  1. package/dist/bundles.json +4 -0
  2. package/dist/css/Actions-BPdg7JW4.css +1 -0
  3. package/dist/css/AddToLibraryView-BBV1d-ZI.css +1 -0
  4. package/dist/css/Caret-C2R4QydJ.css +1 -0
  5. package/dist/css/ExchangeSearchBar-DL_jCfRl.css +1 -0
  6. package/dist/css/ExchangeSearchResultsView-fap4f8w8.css +1 -0
  7. package/dist/css/FormField-CY0yvCW4.css +1 -0
  8. package/dist/css/GiveFeedbackView-CifDVjr-.css +1 -0
  9. package/dist/css/IconCircle-jbMisi9r.css +1 -0
  10. package/dist/css/LazyImage-CC5F5C8O.css +1 -0
  11. package/dist/css/LinkifyHelper-DI4l_5OJ.css +1 -0
  12. package/dist/css/PillTabSelector-DlOtoSz0.css +1 -0
  13. package/dist/css/PreviewVideoDetails-CLoNhAp2.css +1 -0
  14. package/dist/css/ProgramType-B57G3PZD.css +1 -0
  15. package/dist/css/RestrictionHelper-BiRz4h1c.css +1 -0
  16. package/dist/css/SearchFilters-DKLFGlDI.css +1 -0
  17. package/dist/css/TagItem-DD13UQOa.css +1 -0
  18. package/dist/css/TvAdFreeBadge-DnhNnDZN.css +1 -0
  19. package/dist/css/TvAddView-fs02hBfZ.css +1 -0
  20. package/dist/css/TvAlreadyAddedView-Dkh6sNpi.css +1 -0
  21. package/dist/css/TvBroadcastContentView-CDiJwtuL.css +1 -0
  22. package/dist/css/TvChannelBadge-BDOTXlob.css +1 -0
  23. package/dist/css/TvChannelView-DRlDmMhN.css +1 -0
  24. package/dist/css/TvChannelsView-w4TLT4f5.css +1 -0
  25. package/dist/css/TvProgramTimeBadge-zFa1fH-z.css +1 -0
  26. package/dist/css/TvProgramsView-Bt3pBBLn.css +1 -0
  27. package/dist/css/TvSearchBar-Ci6HCTb5.css +1 -0
  28. package/dist/css/TvSearchResultsView-DGyCCqtO.css +1 -0
  29. package/dist/css/UseFetchAll-BIeUeS4h.css +1 -0
  30. package/dist/css/UseGetMediaQueryString-CrSv-tYo.css +1 -0
  31. package/dist/css/UseSelectAllPages-C7XoyEPr.css +1 -0
  32. package/dist/css/VideoList-DJ07F3NX.css +1 -0
  33. package/dist/{exchange.css → css/app-B9KW71K5.css} +1 -1
  34. package/dist/css/useBreakpoints-CCsCPLDG.css +1 -0
  35. package/dist/en.json +1 -1
  36. package/dist/scripts/Actions-DU6xcKNt.js +1 -0
  37. package/dist/scripts/AddToLibraryView-BbpiFnD1.js +1 -0
  38. package/dist/scripts/Badge-kRGAgSgq.js +1 -0
  39. package/dist/scripts/BadgeListContainer-B-qdl_Qj.js +1 -0
  40. package/dist/scripts/ButtonGroup-Pz8uSjml.js +1 -0
  41. package/dist/scripts/Caret-BRrDlj-2.js +1 -0
  42. package/dist/scripts/ChevronDownSvg-PWL_4rOb.js +1 -0
  43. package/dist/scripts/ClassNameHelper-C1RD6ZYU.js +1 -0
  44. package/dist/scripts/CloseSvg-MoBnROf1.js +1 -0
  45. package/dist/scripts/CurationStatus-BlDVEZsX.js +1 -0
  46. package/dist/scripts/DevErrorView-CK5-Rxy-.js +1 -0
  47. package/dist/scripts/DialogView-im7-qx9i.js +1 -0
  48. package/dist/scripts/DownloadHelper-tNp3R89-.js +1 -0
  49. package/dist/scripts/DownloadVideoView-Dcsxo22U.js +1 -0
  50. package/dist/scripts/DragDropMoveWrapper-Dsd-8vE3.js +1 -0
  51. package/dist/scripts/ExchangeAddView-CwHPqfoQ.js +1 -0
  52. package/dist/scripts/ExchangeFolderView-BpMNAmMQ.js +1 -0
  53. package/dist/scripts/ExchangeMostRecentView-DQH8FDqI.js +1 -0
  54. package/dist/scripts/ExchangeNotFoundView-BxjMr4v3.js +1 -0
  55. package/dist/scripts/ExchangePreviewView-Od2pV8fa.js +1 -0
  56. package/dist/scripts/ExchangeRequests-CaMKspLi.js +1 -0
  57. package/dist/scripts/ExchangeSearchBar-BetVWbNL.js +1 -0
  58. package/dist/scripts/ExchangeSearchResultsView-GbfK9RDh.js +2 -0
  59. package/dist/scripts/ExchangeSeriesView-b1ayep0S.js +1 -0
  60. package/dist/scripts/ExchangeSuggestEditView-3CoGs1xA.js +1 -0
  61. package/dist/scripts/ExchangeTabs-CQC3f-18.js +1 -0
  62. package/dist/scripts/ExchangeUtils-BXtQ6ui-.js +1 -0
  63. package/dist/scripts/ExchangeView-DCrYAO5x.js +1 -0
  64. package/dist/scripts/FormButtons-Bgi1UFwH.js +1 -0
  65. package/dist/scripts/FormFeedback-CSSo249E.js +1 -0
  66. package/dist/scripts/FormField-BefWo_kh.js +5 -0
  67. package/dist/scripts/GiveFeedbackView-C05VDJBO.js +7 -0
  68. package/dist/scripts/GroupSvg-CF5_JUEf.js +1 -0
  69. package/dist/scripts/HardCoded-NS2B_WZd.js +1 -0
  70. package/dist/scripts/HttpErrorHandlers-CXQ82gVO.js +1 -0
  71. package/dist/scripts/IconCircle-Bl2iLV5f.js +1 -0
  72. package/dist/scripts/InstanceRegion-CJ3oIQlG.js +1 -0
  73. package/dist/scripts/LazyImage-BuPwkT8t.js +1 -0
  74. package/dist/scripts/LibraryRequests-CIFsh_TC.js +1 -0
  75. package/dist/scripts/LinkifyHelper-DXhtCX0t.js +4 -0
  76. package/dist/scripts/MasterTypeHelper-C89Dh71u.js +1 -0
  77. package/dist/scripts/MediaQueries-_sYSSSUN.js +1 -0
  78. package/dist/scripts/PartialLoadingHelper-jX9dOBvb.js +1 -0
  79. package/dist/scripts/PermissionFilterOption-pkzD5BEm.js +1 -0
  80. package/dist/scripts/PillTabSelector-0Eg1sgXj.js +14 -0
  81. package/dist/scripts/PreviewVideoDetails-DYcfSG9C.js +362 -0
  82. package/dist/scripts/ProgramType-ClR23Av6.js +1 -0
  83. package/dist/scripts/RatingRequests-DE77YS3s.js +1 -0
  84. package/dist/scripts/RedirectView-Bd2ocWHW.js +1 -0
  85. package/dist/scripts/RestrictionHelper-FFW66EYt.js +1 -0
  86. package/dist/scripts/ScrollHelper-DdBBQJML.js +1 -0
  87. package/dist/scripts/SearchFilters-FlVReO0V.js +1 -0
  88. package/dist/scripts/SearchSvg-BVG6NbDK.js +1 -0
  89. package/dist/scripts/SharedSearchHelper-OTwt6mVX.js +1 -0
  90. package/dist/scripts/TagItem-D-T5Jgxc.js +1 -0
  91. package/dist/scripts/TvAdFreeBadge-CK6vQXKI.js +1 -0
  92. package/dist/scripts/TvAdFreeRequestView-DI72pb_f.js +1 -0
  93. package/dist/scripts/TvAddView-B1D9QlK5.js +1 -0
  94. package/dist/scripts/TvAlreadyAddedView-DFqGZwQO.js +1 -0
  95. package/dist/scripts/TvBroadcastContentView-BdIK-pK2.js +1 -0
  96. package/dist/scripts/TvChannelBadge-pBwnbFcb.js +1 -0
  97. package/dist/scripts/TvChannelView-fMD7YYjb.js +1 -0
  98. package/dist/scripts/TvChannelsView-eH68B1en.js +1 -0
  99. package/dist/scripts/TvGuideView-CTuQRLzy.js +1 -0
  100. package/dist/scripts/TvHomeView-B_wgL0pd.js +1 -0
  101. package/dist/scripts/TvPreviewView-DG7HOmV0.js +1 -0
  102. package/dist/scripts/TvProgramTimeBadge-spEPk9Ci.js +1 -0
  103. package/dist/scripts/TvProgramsView-CIGHzdBW.js +1 -0
  104. package/dist/scripts/TvRadioDownloadView-BBjF31yx.js +1 -0
  105. package/dist/scripts/TvRequestProgramView-D4tAgJGb.js +1 -0
  106. package/dist/scripts/TvRequests-DGpJhsk0.js +1 -0
  107. package/dist/scripts/TvSearchBar-DeJpQCLg.js +1 -0
  108. package/dist/scripts/TvSearchResultsView-C2maqf2-.js +1 -0
  109. package/dist/scripts/TvTabs-CwSo_jRg.js +1 -0
  110. package/dist/scripts/TypeHelper-B668bf5B.js +1 -0
  111. package/dist/scripts/UseAlerts-CvkkojNb.js +1 -0
  112. package/dist/scripts/UseFetchAll-gFCX5FgS.js +1 -0
  113. package/dist/scripts/UseGetMediaQueryString-CtMZxiJN.js +1 -0
  114. package/dist/scripts/UseHandleDialogError-DyBOBdQw.js +1 -0
  115. package/dist/scripts/UseHandleObjectError-BX2Mxo9Q.js +1 -0
  116. package/dist/scripts/UseHover-CvNCFvZV.js +1 -0
  117. package/dist/scripts/UseSelectAllPages-lGahuUoo.js +1 -0
  118. package/dist/scripts/VideoHelper-CCZMG1XL.js +1 -0
  119. package/dist/scripts/VideoList-DqqHxoXh.js +49 -0
  120. package/dist/scripts/VideoRequests-vwphYsR4.js +1 -0
  121. package/dist/scripts/VideoSortSelect-DVdIHmhA.js +1 -0
  122. package/dist/scripts/VisibleOnSvg-BuD3Reup.js +1 -0
  123. package/dist/scripts/app-Lrh8TPTe.js +147 -0
  124. package/dist/scripts/getRegionInfo-BBAErHX7.js +1 -0
  125. package/dist/scripts/index-C9eYzTFT.js +1 -0
  126. package/dist/scripts/toLocalTime-pPGBAyPL.js +1 -0
  127. package/dist/scripts/useBreakpoints-BALX55hP.js +1 -0
  128. package/dist/scripts/useGetExchangeActions-BtGC0q85.js +1 -0
  129. package/dist/scripts/useGetTvActions-Cx_DXvlg.js +1 -0
  130. package/dist/scripts/useHandleRegionError-CaGlG48W.js +1 -0
  131. package/dist/scripts/usePreviewContext-B5fK7PxW.js +1 -0
  132. package/dist/scripts/useSelectedRegion-h9Rl12Z2.js +1 -0
  133. package/dist/scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js +1 -0
  134. package/package.json +1 -1
  135. package/vite-bundle-manifest.ts +41 -0
  136. package/vite.config.ts +22 -7
  137. package/dist/Actions-BtMRNMuv.cjs +0 -1
  138. package/dist/Actions-DfeKDy3k.js +0 -178
  139. package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
  140. package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
  141. package/dist/Badge-3MW5GacP.cjs +0 -1
  142. package/dist/Badge-Ddz0Il5v.js +0 -326
  143. package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
  144. package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
  145. package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
  146. package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
  147. package/dist/Caret-Cpx0uvJ0.js +0 -36
  148. package/dist/Caret-Dgjy7YHO.cjs +0 -1
  149. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
  150. package/dist/ChevronDownSvg-BfijmId7.js +0 -13
  151. package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
  152. package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
  153. package/dist/CloseSvg-2PKjla1T.js +0 -13
  154. package/dist/CloseSvg-B7rizkGp.cjs +0 -1
  155. package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
  156. package/dist/CurationStatus-DZn3C9Qe.js +0 -4
  157. package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
  158. package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
  159. package/dist/DialogView-B5FEh3e8.cjs +0 -1
  160. package/dist/DialogView-RcNOylD7.js +0 -22
  161. package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
  162. package/dist/DownloadHelper-dL46n0Kq.js +0 -32
  163. package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
  164. package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
  165. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
  166. package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
  167. package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
  168. package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
  169. package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
  170. package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
  171. package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
  172. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
  173. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
  174. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
  175. package/dist/ExchangePreviewView-hztBChIE.js +0 -82
  176. package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
  177. package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
  178. package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
  179. package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
  180. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
  181. package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
  182. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
  183. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
  184. package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
  185. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
  186. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
  187. package/dist/ExchangeTabs-CrA22PjN.js +0 -46
  188. package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
  189. package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
  190. package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
  191. package/dist/ExchangeView-Cui4zZ4D.js +0 -30
  192. package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
  193. package/dist/FormButtons-CDOsf9A-.cjs +0 -1
  194. package/dist/FormButtons-fQkvwYsy.js +0 -20
  195. package/dist/FormFeedback-5Dd3bMCl.js +0 -7
  196. package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
  197. package/dist/FormField-Cb2l2GMO.cjs +0 -5
  198. package/dist/FormField-DYeERWxm.js +0 -3353
  199. package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
  200. package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
  201. package/dist/GroupSvg-BmwXO6yT.js +0 -53
  202. package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
  203. package/dist/HardCoded-25AFj2sZ.js +0 -51
  204. package/dist/HardCoded-BbbeCQNt.cjs +0 -1
  205. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
  206. package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
  207. package/dist/IconCircle-BVHFUBGt.cjs +0 -1
  208. package/dist/IconCircle-CxFLsbLY.js +0 -26
  209. package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
  210. package/dist/InstanceRegion-DQlzs4EK.js +0 -4
  211. package/dist/LazyImage-DBQklqeJ.js +0 -163
  212. package/dist/LazyImage-lv36coda.cjs +0 -1
  213. package/dist/LibraryRequests-BHAZPSUw.js +0 -186
  214. package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
  215. package/dist/LinkifyHelper-DPHYATPc.js +0 -925
  216. package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
  217. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
  218. package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
  219. package/dist/MediaQueries-9caJ2eG6.js +0 -4
  220. package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
  221. package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
  222. package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
  223. package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
  224. package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
  225. package/dist/PillTabSelector-B5V2rqf0.js +0 -64
  226. package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
  227. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
  228. package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
  229. package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
  230. package/dist/ProgramType-FpE5cuZV.js +0 -60
  231. package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
  232. package/dist/RatingRequests-Dr3w3-z8.js +0 -11
  233. package/dist/RedirectView-BK8yU-PU.js +0 -22
  234. package/dist/RedirectView-OEJhJrvf.cjs +0 -1
  235. package/dist/RestrictionHelper-BSceJYz-.js +0 -112
  236. package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
  237. package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
  238. package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
  239. package/dist/SearchFilters-C_yEnumc.js +0 -3046
  240. package/dist/SearchFilters-D3fLjseM.cjs +0 -1
  241. package/dist/SearchSvg-BB6oXs1v.js +0 -13
  242. package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
  243. package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
  244. package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
  245. package/dist/TagItem-BBc3HmnI.cjs +0 -1
  246. package/dist/TagItem-BFnSikAz.js +0 -1125
  247. package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
  248. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
  249. package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
  250. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
  251. package/dist/TvAddView-Bv12wfX7.js +0 -276
  252. package/dist/TvAddView-CA7Yappn.cjs +0 -1
  253. package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
  254. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
  255. package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
  256. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
  257. package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
  258. package/dist/TvChannelBadge-Doqs12s9.js +0 -11
  259. package/dist/TvChannelView-CSn0VleL.js +0 -177
  260. package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
  261. package/dist/TvChannelsView-CM_T5E3j.js +0 -171
  262. package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
  263. package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
  264. package/dist/TvGuideView-BLlQJiZ3.js +0 -54
  265. package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
  266. package/dist/TvHomeView-CbNg8AyI.js +0 -15
  267. package/dist/TvPreviewView-DhXD3H__.js +0 -114
  268. package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
  269. package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
  270. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
  271. package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
  272. package/dist/TvProgramsView-DO4WnPJx.js +0 -223
  273. package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
  274. package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
  275. package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
  276. package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
  277. package/dist/TvRequests-Bcy68aT5.js +0 -227
  278. package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
  279. package/dist/TvSearchBar-5J6420z2.cjs +0 -1
  280. package/dist/TvSearchBar-KZqcg7G0.js +0 -95
  281. package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
  282. package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
  283. package/dist/TvTabs-CrQVKuod.js +0 -88
  284. package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
  285. package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
  286. package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
  287. package/dist/UseAlerts-B2BbQeN3.js +0 -39
  288. package/dist/UseAlerts-pIg83NsO.cjs +0 -1
  289. package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
  290. package/dist/UseFetchAll-DYGA8s5a.js +0 -147
  291. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
  292. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
  293. package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
  294. package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
  295. package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
  296. package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
  297. package/dist/UseHover-CLOLtbUV.cjs +0 -1
  298. package/dist/UseHover-Cc_d5rRf.js +0 -85
  299. package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
  300. package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
  301. package/dist/VideoHelper-3AKe5Jyy.js +0 -477
  302. package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
  303. package/dist/VideoList-SNG1hmoL.cjs +0 -49
  304. package/dist/VideoList-s7lvSqSs.js +0 -2622
  305. package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
  306. package/dist/VideoRequests-DlUeYLjl.js +0 -225
  307. package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
  308. package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
  309. package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
  310. package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
  311. package/dist/app-2U039aX_.js +0 -67680
  312. package/dist/app-DcIbciDa.cjs +0 -454
  313. package/dist/app.js +0 -1
  314. package/dist/getRegionInfo-B_h_jjAy.js +0 -31
  315. package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
  316. package/dist/index-CGkY5YVS.cjs +0 -1
  317. package/dist/index-DUgR-v-j.js +0 -885
  318. package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
  319. package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
  320. package/dist/useBreakpoints-37V489ap.js +0 -66
  321. package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
  322. package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
  323. package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
  324. package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
  325. package/dist/useGetTvActions-DENrO3wZ.js +0 -54
  326. package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
  327. package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
  328. package/dist/usePreviewContext--ihfEi4P.js +0 -14
  329. package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
  330. package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
  331. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
  332. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
  333. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
@@ -1,925 +0,0 @@
1
- import { M as G, j as g, ao as Je, T as ze, at as Be, ad as He, ac as Ke, L as Ge, G as et, Q as Ae, bf as tt, r as ee, R as $e, y as nt, bm as at } from "./app-2U039aX_.js";
2
- import { V as Oe } from "./VideoHelper-3AKe5Jyy.js";
3
- import { C as rt } from "./CurationStatus-DZn3C9Qe.js";
4
- const he = {
5
- padNumber(n, t) {
6
- let a = n.toString();
7
- if (a.length >= t)
8
- return a;
9
- for (t = t - a.length; t > 0; )
10
- a = "0" + a, t--;
11
- return a;
12
- }
13
- }, ot = {
14
- isSeries(n) {
15
- return (n == null ? void 0 : n.typeId) === G.Series;
16
- },
17
- buildSeriesSeasonEpisodeText(n, t, a) {
18
- if (!n)
19
- return "";
20
- if (!t || !a)
21
- return n.toUpperCase();
22
- const e = he.padNumber(t, 2), r = he.padNumber(a, 2);
23
- return `${n.toUpperCase()} S${e} • E${r}`;
24
- }
25
- }, it = "_subText_5u663_1", st = {
26
- subText: it
27
- };
28
- function Ye(n) {
29
- const t = `text-uppercase text-truncate mb-0 ${st.subText} ${n.className}`;
30
- return n.appLink ? /* @__PURE__ */ g.jsx(
31
- Je,
32
- {
33
- className: t,
34
- appLink: n.appLink,
35
- analyticsData: n.analyticsData,
36
- analyticsOptions: n.analyticsOptions,
37
- title: n.title,
38
- ariaLabel: n.ariaLabel,
39
- children: n.children
40
- }
41
- ) : /* @__PURE__ */ g.jsx(
42
- "div",
43
- {
44
- className: t,
45
- title: n.title,
46
- "aria-label": n.ariaLabel,
47
- children: n.children
48
- }
49
- );
50
- }
51
- const lt = "_appLink_1owb0_1", ct = "_hoverUnderline_1owb0_4", ye = {
52
- appLink: lt,
53
- hoverUnderline: ct
54
- }, ut = "shared.videoSubText", Fe = Ge.encloseNamespace(ut);
55
- function ft(n) {
56
- const { video: t } = n, { season: a } = t;
57
- if (!t.episodeNumber || !a)
58
- return /* @__PURE__ */ g.jsx(g.Fragment, {});
59
- const e = he.padNumber(a.number, 2), r = he.padNumber(t.episodeNumber, 2);
60
- return /* @__PURE__ */ g.jsxs("span", { className: `d-inline-block ${n.appLink ? ye.hoverUnderline : ""}`, children: [
61
- n.withSeriesTitle && /* @__PURE__ */ g.jsx(g.Fragment, { children: " " }),
62
- !!e && `S${e} • `,
63
- "E",
64
- r
65
- ] });
66
- }
67
- function dt(n) {
68
- const t = Oe.getReleaseDate(n.video);
69
- return t ? Oe.hasSeries(n.video) ? /* @__PURE__ */ g.jsx(g.Fragment, { children: ` • ${t}` }) : /* @__PURE__ */ g.jsx(g.Fragment, { children: t }) : /* @__PURE__ */ g.jsx(g.Fragment, {});
70
- }
71
- function ht(n) {
72
- var s;
73
- const { appLink: t, video: a, className: e = "" } = n, r = a == null ? void 0 : a.series, u = Oe.getReleaseDate(n.video);
74
- if (!(r != null && r.id) && !u)
75
- return /* @__PURE__ */ g.jsx(g.Fragment, {});
76
- const o = (r == null ? void 0 : r.id) && t && {
77
- ...t,
78
- args: [r.id, ze.slugify(r.name)]
79
- }, f = {
80
- ...n.analyticsData,
81
- id: r == null ? void 0 : r.id,
82
- name: r == null ? void 0 : r.name,
83
- videoId: a == null ? void 0 : a.id,
84
- videoName: a == null ? void 0 : a.name
85
- }, i = {
86
- ...n.analyticsOptions,
87
- entity: Ke.Series,
88
- actionType: He.Click,
89
- descriptor: Be.Title
90
- }, l = ot.buildSeriesSeasonEpisodeText(
91
- r == null ? void 0 : r.name,
92
- (s = a.season) == null ? void 0 : s.number,
93
- a.episodeNumber
94
- );
95
- return /* @__PURE__ */ g.jsxs(
96
- Ye,
97
- {
98
- appLink: o,
99
- className: `d-block ${ye.appLink} ${e}`,
100
- analyticsData: f,
101
- analyticsOptions: i,
102
- title: l,
103
- ariaLabel: `${Fe("ariaSeries")} ${l}`,
104
- children: [
105
- (r == null ? void 0 : r.name) && r.name,
106
- /* @__PURE__ */ g.jsx(ft, { ...n, withSeriesTitle: !0 }),
107
- /* @__PURE__ */ g.jsx(dt, { ...n })
108
- ]
109
- }
110
- );
111
- }
112
- function pt(n) {
113
- var i, l;
114
- const { appLink: t, video: a, className: e = "" } = n, r = (l = (i = a == null ? void 0 : a.productionCompanies) == null ? void 0 : i.data) == null ? void 0 : l[0];
115
- if (!(r != null && r.id))
116
- return /* @__PURE__ */ g.jsx(g.Fragment, {});
117
- const u = (r == null ? void 0 : r.id) && t && {
118
- ...t,
119
- args: [r.id, ze.slugify(r.name)]
120
- }, o = {
121
- ...n.analyticsData,
122
- id: r == null ? void 0 : r.id,
123
- name: r == null ? void 0 : r.name,
124
- videoId: a == null ? void 0 : a.id,
125
- videoName: a == null ? void 0 : a.name
126
- }, f = {
127
- ...n.analyticsOptions,
128
- entity: Ke.Company,
129
- actionType: He.Click,
130
- descriptor: Be.Title
131
- };
132
- return /* @__PURE__ */ g.jsx(
133
- Ye,
134
- {
135
- appLink: u,
136
- className: `d-block ${ye.appLink} ${e}`,
137
- analyticsData: o,
138
- analyticsOptions: f,
139
- title: r.name,
140
- ariaLabel: `${Fe("ariaCompany")} ${r.name}`,
141
- children: r.name
142
- }
143
- );
144
- }
145
- function Gt(n) {
146
- const { type: t = "series" } = n;
147
- return t === "none" ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : t === "series" ? /* @__PURE__ */ g.jsx(ht, { ...n }) : /* @__PURE__ */ g.jsx(pt, { ...n });
148
- }
149
- function mt(n) {
150
- return /* @__PURE__ */ g.jsx("svg", { ...n, children: /* @__PURE__ */ g.jsx(
151
- "path",
152
- {
153
- fill: "currentColor",
154
- d: "M14.893 16.357a2.5 2.5 0 0 1 1.806-1.354 2.506 2.506 0 0 1 2.902 2.042 2.516 2.516 0 0 1-2.032 2.916 2.5 2.5 0 0 1-2.74-1.494l-2.603-5.208-2.57 5.138a2.504 2.504 0 0 1-2.769 1.564 2.516 2.516 0 0 1-2.031-2.916 2.506 2.506 0 0 1 2.901-2.042c.81.144 1.46.663 1.803 1.348l2.107-4.212-3.703-7.41a.504.504 0 0 1 .222-.675.5.5 0 0 1 .672.223l3.369 6.743 3.372-6.743a.5.5 0 0 1 .671-.223.504.504 0 0 1 .223.674l-3.707 7.412zm-9.053.863a1.51 1.51 0 0 0 1.221 1.752 1.505 1.505 0 0 0 1.743-1.227 1.51 1.51 0 0 0-1.22-1.752A1.505 1.505 0 0 0 5.84 17.22m11.555 1.752a1.51 1.51 0 0 0 1.221-1.752 1.505 1.505 0 0 0-1.743-1.227 1.51 1.51 0 0 0-1.22 1.752 1.505 1.505 0 0 0 1.742 1.227"
155
- }
156
- ) });
157
- }
158
- function vt(n) {
159
- return /* @__PURE__ */ g.jsx("svg", { ...n, children: /* @__PURE__ */ g.jsx(
160
- "path",
161
- {
162
- fill: "currentColor",
163
- d: "M11.91 4.025c-3.308 0-6 2.692-6 6 0 1.923.916 3.716 2.462 4.846v3.77c0 .763.621 1.384 1.385 1.384h4.308c.763 0 1.384-.62 1.384-1.384v-3.77a6 6 0 0 0 2.462-4.846c0-3.308-2.692-6-6-6m2.616 12.77v.615h-5.23v-.615zm-4.77 2.307a.46.46 0 0 1-.46-.461v-.308h5.23v.308a.46.46 0 0 1-.461.461zm4.77-4.471v1.24h-5.23v-1.24a.46.46 0 0 0-.205-.384 5.07 5.07 0 0 1-2.257-4.222c0-2.8 2.277-5.077 5.077-5.077s5.077 2.278 5.077 5.077a5.07 5.07 0 0 1-2.257 4.222.46.46 0 0 0-.205.384m-2.396-2.616a.56.56 0 0 0 .107-.348v-.068q.004-.237.076-.402a1 1 0 0 1 .235-.317q.165-.153.454-.35.462-.316.757-.724.294-.41.295-.97 0-.591-.283-.993a1.8 1.8 0 0 0-.76-.61 2.6 2.6 0 0 0-1.05-.208q-.629 0-1.151.279-.525.277-.78.825a1.2 1.2 0 0 0-.12.522.44.44 0 0 0 .105.303q.105.118.3.118.162 0 .271-.091a.5.5 0 0 0 .157-.247q.162-.518.471-.704.309-.187.718-.187.343 0 .62.119.28.118.443.339.164.22.164.53 0 .27-.104.467-.106.195-.28.35a5 5 0 0 1-.391.305q-.281.195-.516.419a1.9 1.9 0 0 0-.378.498 1.3 1.3 0 0 0-.143.613v.193q0 .213.114.346.114.134.338.133.224 0 .33-.14m.088 2.081a.6.6 0 0 0 .17-.426.6.6 0 0 0-.17-.428.57.57 0 0 0-.424-.177q-.242 0-.416.177a.59.59 0 0 0-.174.428.6.6 0 0 0 .174.426q.174.18.416.18.252 0 .424-.18"
164
- }
165
- ) });
166
- }
167
- function gt(n) {
168
- return /* @__PURE__ */ g.jsx("svg", { ...n, children: /* @__PURE__ */ g.jsx(
169
- "path",
170
- {
171
- d: "M18.06 4c.519 0 .94.479.94 1.075v13.85c0 .594-.419 1.075-.94 1.075H5.94c-.519 0-.94-.479-.94-1.075V5.075C5 4.48 5.419 4 5.94 4zM9.256 5H5.882v.184l-.001.1v.418l-.001.175-.001 1.113v1.429l-.001.314v2.024l-.001.352-.001 3.162v.335l-.001 4.386h.105l.08.001h.36l.157.001h.571l.221.001h.741l.27.001h1.174l.313.001h1.63l.332.001 2.61.001h.305l3.362.001h.012v-.184l.001-.1v-.418l.001-.175.001-1.113v-1.429l.001-.314v-2.024l.001-.352.001-3.162v-.335l.001-4.374v-.012h-.105l-.08-.001h-.36l-.157-.001h-.571l-.221-.001h-.741l-.27-.001h-1.174l-.313-.001h-1.63l-.332-.001-2.61-.001zm1.438 8c.238 0 .431.224.431.5s-.193.5-.431.5H8.056c-.238 0-.431-.224-.431-.5s.193-.5.431-.5zm5.198-3c.267 0 .483.224.483.5s-.216.5-.483.5H8.108a.49.49 0 0 1-.483-.5c0-.276.216-.5.483-.5zm0-3c.267 0 .483.224.483.5s-.216.5-.483.5H8.108a.49.49 0 0 1-.483-.5c0-.276.216-.5.483-.5z",
172
- fill: "currentColor"
173
- }
174
- ) });
175
- }
176
- const bt = "_topLeftContainer_z6mhb_1", xt = "_draft_z6mhb_7", Ot = "_badge_z6mhb_10", yt = "_svg_z6mhb_20", St = "_text_z6mhb_29", Et = "_sm_z6mhb_33", oe = {
177
- topLeftContainer: bt,
178
- draft: xt,
179
- badge: Ot,
180
- svg: yt,
181
- text: St,
182
- sm: Et
183
- }, Lt = "shared.typeBadge", be = Ge.encloseNamespace(Lt);
184
- function Nt(n) {
185
- switch (n) {
186
- case G.Clip:
187
- return be("clip");
188
- case G.Interactive:
189
- return be("interactive");
190
- case G.Resource:
191
- return be("resource");
192
- default:
193
- return "";
194
- }
195
- }
196
- function Tt(n) {
197
- switch (n) {
198
- case G.Clip:
199
- return mt;
200
- case G.Interactive:
201
- return vt;
202
- case G.Resource:
203
- return gt;
204
- default:
205
- return null;
206
- }
207
- }
208
- function At(n, t) {
209
- switch (n) {
210
- case G.Clip:
211
- return "bg-ultramarine";
212
- case G.Interactive:
213
- return t === rt.Draft ? oe.draft : "bg-green";
214
- case G.Resource:
215
- return "bg-indigo";
216
- default:
217
- return "";
218
- }
219
- }
220
- kt.default = {
221
- size: "md"
222
- };
223
- function kt(n) {
224
- const t = `${oe.badge} rounded-pill text-white ps-0 ${n.size === "sm" ? oe.sm : ""}`;
225
- return /* @__PURE__ */ g.jsx("div", { className: n.inContainer ? "" : oe.topLeftContainer, children: /* @__PURE__ */ g.jsxs("div", { className: `${t} ${At(n.typeId, n.status)}`, children: [
226
- /* @__PURE__ */ g.jsx(
227
- et,
228
- {
229
- className: `svg-container d-block ${oe.svg}`,
230
- size: n.size === "sm" ? Ae.Small : Ae.Standard,
231
- svg: Tt(n.typeId)
232
- }
233
- ),
234
- /* @__PURE__ */ g.jsx("span", { className: oe.text, children: Nt(n.typeId) })
235
- ] }) });
236
- }
237
- var Qe = /* @__PURE__ */ function() {
238
- var n = function(t, a) {
239
- return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
240
- e.__proto__ = r;
241
- } || function(e, r) {
242
- for (var u in r) r.hasOwnProperty(u) && (e[u] = r[u]);
243
- }, n(t, a);
244
- };
245
- return function(t, a) {
246
- n(t, a);
247
- function e() {
248
- this.constructor = t;
249
- }
250
- t.prototype = a === null ? Object.create(a) : (e.prototype = a.prototype, new e());
251
- };
252
- }(), Se = "html", Ee = "svg", Ct = "http://www.w3.org/2000/svg", Pt = function(n, t) {
253
- if (t === Se)
254
- return n instanceof HTMLElement;
255
- if (t === Ee)
256
- return n instanceof SVGElement;
257
- throw new Error('Unrecognized element type "' + t + '" for validateElementType.');
258
- }, We = function(n, t) {
259
- var a = {}, e, r, u;
260
- if (n === Se)
261
- u = document.createElement("div");
262
- else if (n === Ee)
263
- u = document.createElementNS(Ct, "g");
264
- else
265
- throw new Error('Invalid element type "' + n + '" for createPortalNode: must be "html" or "svg".');
266
- if (t && typeof t == "object")
267
- for (var o = 0, f = Object.entries(t.attributes); o < f.length; o++) {
268
- var i = f[o], l = i[0], s = i[1];
269
- u.setAttribute(l, s);
270
- }
271
- var c = {
272
- element: u,
273
- elementType: n,
274
- setPortalProps: function(d) {
275
- a = d;
276
- },
277
- getInitialPortalProps: function() {
278
- return a;
279
- },
280
- mount: function(d, m) {
281
- if (m !== r) {
282
- if (c.unmount(), d !== e && !Pt(d, n))
283
- throw new Error('Invalid element type for portal: "' + n + '" portalNodes must be used with ' + n + " elements, but OutPortal is within <" + d.tagName + ">.");
284
- d.replaceChild(c.element, m), e = d, r = m;
285
- }
286
- },
287
- unmount: function(d) {
288
- d && d !== r || e && r && (e.replaceChild(r, c.element), e = void 0, r = void 0);
289
- }
290
- };
291
- return c;
292
- }, $t = (
293
- /** @class */
294
- function(n) {
295
- Qe(t, n);
296
- function t(a) {
297
- var e = n.call(this, a) || this;
298
- return e.addPropsChannel = function() {
299
- Object.assign(e.props.node, {
300
- setPortalProps: function(r) {
301
- e.setState({ nodeProps: r });
302
- }
303
- });
304
- }, e.state = {
305
- nodeProps: e.props.node.getInitialPortalProps()
306
- }, e;
307
- }
308
- return t.prototype.componentDidMount = function() {
309
- this.addPropsChannel();
310
- }, t.prototype.componentDidUpdate = function() {
311
- this.addPropsChannel();
312
- }, t.prototype.render = function() {
313
- var a = this, e = this.props, r = e.children, u = e.node;
314
- return tt.createPortal(ee.Children.map(r, function(o) {
315
- return ee.isValidElement(o) ? ee.cloneElement(o, a.state.nodeProps) : o;
316
- }), u.element);
317
- }, t;
318
- }(ee.PureComponent)
319
- ), Yt = (
320
- /** @class */
321
- function(n) {
322
- Qe(t, n);
323
- function t(a) {
324
- var e = n.call(this, a) || this;
325
- return e.placeholderNode = ee.createRef(), e.passPropsThroughPortal(), e;
326
- }
327
- return t.prototype.passPropsThroughPortal = function() {
328
- var a = Object.assign({}, this.props, { node: void 0 });
329
- this.props.node.setPortalProps(a);
330
- }, t.prototype.componentDidMount = function() {
331
- var a = this.props.node;
332
- this.currentPortalNode = a;
333
- var e = this.placeholderNode.current, r = e.parentNode;
334
- a.mount(r, e), this.passPropsThroughPortal();
335
- }, t.prototype.componentDidUpdate = function() {
336
- var a = this.props.node;
337
- this.currentPortalNode && a !== this.currentPortalNode && (this.currentPortalNode.unmount(this.placeholderNode.current), this.currentPortalNode.setPortalProps({}), this.currentPortalNode = a);
338
- var e = this.placeholderNode.current, r = e.parentNode;
339
- a.mount(r, e), this.passPropsThroughPortal();
340
- }, t.prototype.componentWillUnmount = function() {
341
- var a = this.props.node;
342
- a.unmount(this.placeholderNode.current), a.setPortalProps({});
343
- }, t.prototype.render = function() {
344
- return ee.createElement("div", { ref: this.placeholderNode });
345
- }, t;
346
- }(ee.PureComponent)
347
- ), Ft = We.bind(null, Se);
348
- We.bind(null, Ee);
349
- const _t = $e.createContext({ hasProvider: !1 });
350
- function Qt() {
351
- return $e.useContext(_t);
352
- }
353
- var ue = {}, E = {}, fe = {}, ke;
354
- function pe() {
355
- if (ke) return fe;
356
- ke = 1, fe.__esModule = !0, fe.inherits = n;
357
- function n(t, a) {
358
- var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Object.create(t.prototype);
359
- for (var u in e)
360
- r[u] = e[u];
361
- return r.constructor = a, a.prototype = r, a;
362
- }
363
- return fe;
364
- }
365
- var re = {}, Ce;
366
- function Rt() {
367
- if (Ce) return re;
368
- Ce = 1, re.__esModule = !0;
369
- var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
370
- return typeof o;
371
- } : function(o) {
372
- return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
373
- }, t = {
374
- defaultProtocol: "http",
375
- events: null,
376
- format: r,
377
- formatHref: r,
378
- nl2br: !1,
379
- tagName: "a",
380
- target: u,
381
- validate: !0,
382
- ignoreTags: [],
383
- attributes: null,
384
- className: "linkified"
385
- // Deprecated value - no default class will be provided in the future
386
- };
387
- re.defaults = t, re.Options = a, re.contains = e;
388
- function a(o) {
389
- o = o || {}, this.defaultProtocol = o.hasOwnProperty("defaultProtocol") ? o.defaultProtocol : t.defaultProtocol, this.events = o.hasOwnProperty("events") ? o.events : t.events, this.format = o.hasOwnProperty("format") ? o.format : t.format, this.formatHref = o.hasOwnProperty("formatHref") ? o.formatHref : t.formatHref, this.nl2br = o.hasOwnProperty("nl2br") ? o.nl2br : t.nl2br, this.tagName = o.hasOwnProperty("tagName") ? o.tagName : t.tagName, this.target = o.hasOwnProperty("target") ? o.target : t.target, this.validate = o.hasOwnProperty("validate") ? o.validate : t.validate, this.ignoreTags = [], this.attributes = o.attributes || o.linkAttributes || t.attributes, this.className = o.hasOwnProperty("className") ? o.className : o.linkClass || t.className;
390
- for (var f = o.hasOwnProperty("ignoreTags") ? o.ignoreTags : t.ignoreTags, i = 0; i < f.length; i++)
391
- this.ignoreTags.push(f[i].toUpperCase());
392
- }
393
- a.prototype = {
394
- /**
395
- * Given the token, return all options for how it should be displayed
396
- */
397
- resolve: function(f) {
398
- var i = f.toHref(this.defaultProtocol);
399
- return {
400
- formatted: this.get("format", f.toString(), f),
401
- formattedHref: this.get("formatHref", i, f),
402
- tagName: this.get("tagName", i, f),
403
- className: this.get("className", i, f),
404
- target: this.get("target", i, f),
405
- events: this.getObject("events", i, f),
406
- attributes: this.getObject("attributes", i, f)
407
- };
408
- },
409
- /**
410
- * Returns true or false based on whether a token should be displayed as a
411
- * link based on the user options. By default,
412
- */
413
- check: function(f) {
414
- return this.get("validate", f.toString(), f);
415
- },
416
- // Private methods
417
- /**
418
- * Resolve an option's value based on the value of the option and the given
419
- * params.
420
- * @param {String} key Name of option to use
421
- * @param operator will be passed to the target option if it's method
422
- * @param {MultiToken} token The token from linkify.tokenize
423
- */
424
- get: function(f, i, l) {
425
- var s = void 0, c = this[f];
426
- if (!c)
427
- return c;
428
- switch (typeof c > "u" ? "undefined" : n(c)) {
429
- case "function":
430
- return c(i, l.type);
431
- case "object":
432
- return s = c.hasOwnProperty(l.type) ? c[l.type] : t[f], typeof s == "function" ? s(i, l.type) : s;
433
- }
434
- return c;
435
- },
436
- getObject: function(f, i, l) {
437
- var s = this[f];
438
- return typeof s == "function" ? s(i, l.type) : s;
439
- }
440
- };
441
- function e(o, f) {
442
- for (var i = 0; i < o.length; i++)
443
- if (o[i] === f)
444
- return !0;
445
- return !1;
446
- }
447
- function r(o) {
448
- return o;
449
- }
450
- function u(o, f) {
451
- return f === "url" ? "_blank" : null;
452
- }
453
- return re;
454
- }
455
- var j = {}, W = {}, Pe;
456
- function Ve() {
457
- if (Pe) return W;
458
- Pe = 1, W.__esModule = !0, W.stateify = W.TokenState = W.CharacterState = void 0;
459
- var n = pe();
460
- function t() {
461
- return function(o) {
462
- this.j = [], this.T = o || null;
463
- };
464
- }
465
- var a = t();
466
- a.prototype = {
467
- defaultTransition: !1,
468
- /**
469
- @method constructor
470
- @param {Class} tClass Pass in the kind of token to emit if there are
471
- no jumps after this state and the state is accepting.
472
- */
473
- /**
474
- On the given symbol(s), this machine should go to the given state
475
- @method on
476
- @param {Array|Mixed} symbol
477
- @param {BaseState} state Note that the type of this state should be the
478
- same as the current instance (i.e., don't pass in a different
479
- subclass)
480
- */
481
- on: function(f, i) {
482
- if (f instanceof Array) {
483
- for (var l = 0; l < f.length; l++)
484
- this.j.push([f[l], i]);
485
- return this;
486
- }
487
- return this.j.push([f, i]), this;
488
- },
489
- /**
490
- Given the next item, returns next state for that item
491
- @method next
492
- @param {Mixed} item Should be an instance of the symbols handled by
493
- this particular machine.
494
- @return {State} state Returns false if no jumps are available
495
- */
496
- next: function(f) {
497
- for (var i = 0; i < this.j.length; i++) {
498
- var l = this.j[i], s = l[0], c = l[1];
499
- if (this.test(f, s))
500
- return c;
501
- }
502
- return this.defaultTransition;
503
- },
504
- /**
505
- Does this state accept?
506
- `true` only of `this.T` exists
507
- @method accepts
508
- @return {Boolean}
509
- */
510
- accepts: function() {
511
- return !!this.T;
512
- },
513
- /**
514
- Determine whether a given item "symbolizes" the symbol, where symbol is
515
- a class of items handled by this state machine.
516
- This method should be overriden in extended classes.
517
- @method test
518
- @param {Mixed} item Does this item match the given symbol?
519
- @param {Mixed} symbol
520
- @return {Boolean}
521
- */
522
- test: function(f, i) {
523
- return f === i;
524
- },
525
- /**
526
- Emit the token for this State (just return it in this case)
527
- If this emits a token, this instance is an accepting state
528
- @method emit
529
- @return {Class} T
530
- */
531
- emit: function() {
532
- return this.T;
533
- }
534
- };
535
- var e = (0, n.inherits)(a, t(), {
536
- /**
537
- Does the given character match the given character or regular
538
- expression?
539
- @method test
540
- @param {String} char
541
- @param {String|RegExp} charOrRegExp
542
- @return {Boolean}
543
- */
544
- test: function(f, i) {
545
- return f === i || i instanceof RegExp && i.test(f);
546
- }
547
- }), r = (0, n.inherits)(a, t(), {
548
- /**
549
- * Similar to `on`, but returns the state the results in the transition from
550
- * the given item
551
- * @method jump
552
- * @param {Mixed} item
553
- * @param {Token} [token]
554
- * @return state
555
- */
556
- jump: function(f) {
557
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, l = this.next(new f(""));
558
- return l === this.defaultTransition ? (l = new this.constructor(i), this.on(f, l)) : i && (l.T = i), l;
559
- },
560
- /**
561
- Is the given token an instance of the given token class?
562
- @method test
563
- @param {TextToken} token
564
- @param {Class} tokenClass
565
- @return {Boolean}
566
- */
567
- test: function(f, i) {
568
- return f instanceof i;
569
- }
570
- });
571
- function u(o, f, i, l) {
572
- for (var s = 0, c = o.length, d = f, m = [], v = void 0; s < c && (v = d.next(o[s])); )
573
- d = v, s++;
574
- if (s >= c)
575
- return [];
576
- for (; s < c - 1; )
577
- v = new e(l), m.push(v), d.on(o[s], v), d = v, s++;
578
- return v = new e(i), m.push(v), d.on(o[c - 1], v), m;
579
- }
580
- return W.CharacterState = e, W.TokenState = r, W.stateify = u, W;
581
- }
582
- var h = {}, de = {}, _e;
583
- function Xe() {
584
- if (_e) return de;
585
- _e = 1, de.__esModule = !0;
586
- function n() {
587
- return function(t) {
588
- t && (this.v = t);
589
- };
590
- }
591
- return de.createTokenClass = n, de;
592
- }
593
- var Re;
594
- function Le() {
595
- if (Re) return h;
596
- Re = 1, h.__esModule = !0, h.AMPERSAND = h.CLOSEPAREN = h.CLOSEANGLEBRACKET = h.CLOSEBRACKET = h.CLOSEBRACE = h.OPENPAREN = h.OPENANGLEBRACKET = h.OPENBRACKET = h.OPENBRACE = h.WS = h.TLD = h.SYM = h.UNDERSCORE = h.SLASH = h.MAILTO = h.PROTOCOL = h.QUERY = h.POUND = h.PLUS = h.NUM = h.NL = h.LOCALHOST = h.PUNCTUATION = h.DOT = h.COLON = h.AT = h.DOMAIN = h.Base = void 0;
597
- var n = Xe(), t = pe(), a = (0, n.createTokenClass)();
598
- a.prototype = {
599
- toString: function() {
600
- return this.v + "";
601
- }
602
- };
603
- function e(F) {
604
- var S = F ? { v: F } : {};
605
- return (0, t.inherits)(a, (0, n.createTokenClass)(), S);
606
- }
607
- var r = e(), u = e("@"), o = e(":"), f = e("."), i = e(), l = e(), s = e(`
608
- `), c = e(), d = e("+"), m = e("#"), v = e(), b = e("mailto:"), p = e("?"), L = e("/"), _ = e("_"), k = e(), C = e(), R = e(), T = e("{"), y = e("["), I = e("<"), A = e("("), w = e("}"), $ = e("]"), Y = e(">"), q = e(")"), B = e("&");
609
- return h.Base = a, h.DOMAIN = r, h.AT = u, h.COLON = o, h.DOT = f, h.PUNCTUATION = i, h.LOCALHOST = l, h.NL = s, h.NUM = c, h.PLUS = d, h.POUND = m, h.QUERY = p, h.PROTOCOL = v, h.MAILTO = b, h.SLASH = L, h.UNDERSCORE = _, h.SYM = k, h.TLD = C, h.WS = R, h.OPENBRACE = T, h.OPENBRACKET = y, h.OPENANGLEBRACKET = I, h.OPENPAREN = A, h.CLOSEBRACE = w, h.CLOSEBRACKET = $, h.CLOSEANGLEBRACKET = Y, h.CLOSEPAREN = q, h.AMPERSAND = B, h;
610
- }
611
- var we;
612
- function wt() {
613
- if (we) return j;
614
- we = 1, j.__esModule = !0, j.start = j.run = j.TOKENS = j.State = void 0;
615
- var n = Ve(), t = Le(), a = e(t);
616
- function e(S) {
617
- if (S && S.__esModule)
618
- return S;
619
- var M = {};
620
- if (S != null)
621
- for (var V in S)
622
- Object.prototype.hasOwnProperty.call(S, V) && (M[V] = S[V]);
623
- return M.default = S, M;
624
- }
625
- var r = "aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"), u = "0123456789".split(""), o = "0123456789abcdefghijklmnopqrstuvwxyz".split(""), f = [" ", "\f", "\r", " ", "\v", " ", " ", "᠎"], i = [], l = function(M) {
626
- return new n.CharacterState(M);
627
- }, s = l(), c = l(t.NUM), d = l(t.DOMAIN), m = l(), v = l(t.WS);
628
- s.on("@", l(t.AT)).on(".", l(t.DOT)).on("+", l(t.PLUS)).on("#", l(t.POUND)).on("?", l(t.QUERY)).on("/", l(t.SLASH)).on("_", l(t.UNDERSCORE)).on(":", l(t.COLON)).on("{", l(t.OPENBRACE)).on("[", l(t.OPENBRACKET)).on("<", l(t.OPENANGLEBRACKET)).on("(", l(t.OPENPAREN)).on("}", l(t.CLOSEBRACE)).on("]", l(t.CLOSEBRACKET)).on(">", l(t.CLOSEANGLEBRACKET)).on(")", l(t.CLOSEPAREN)).on("&", l(t.AMPERSAND)).on([",", ";", "!", '"', "'"], l(t.PUNCTUATION)), s.on(`
629
- `, l(t.NL)).on(f, v), v.on(f, v);
630
- for (var b = 0; b < r.length; b++) {
631
- var p = (0, n.stateify)(r[b], s, t.TLD, t.DOMAIN);
632
- i.push.apply(i, p);
633
- }
634
- var L = (0, n.stateify)("file", s, t.DOMAIN, t.DOMAIN), _ = (0, n.stateify)("ftp", s, t.DOMAIN, t.DOMAIN), k = (0, n.stateify)("http", s, t.DOMAIN, t.DOMAIN), C = (0, n.stateify)("mailto", s, t.DOMAIN, t.DOMAIN);
635
- i.push.apply(i, L), i.push.apply(i, _), i.push.apply(i, k), i.push.apply(i, C);
636
- var R = L.pop(), T = _.pop(), y = k.pop(), I = C.pop(), A = l(t.DOMAIN), w = l(t.PROTOCOL), $ = l(t.MAILTO);
637
- T.on("s", A).on(":", w), y.on("s", A).on(":", w), i.push(A), R.on(":", w), A.on(":", w), I.on(":", $);
638
- var Y = (0, n.stateify)("localhost", s, t.LOCALHOST, t.DOMAIN);
639
- i.push.apply(i, Y), s.on(u, c), c.on("-", m).on(u, c).on(o, d), d.on("-", m).on(o, d);
640
- for (var q = 0; q < i.length; q++)
641
- i[q].on("-", m).on(o, d);
642
- m.on("-", m).on(u, d).on(o, d), s.defaultTransition = l(t.SYM);
643
- var B = function(M) {
644
- for (var V = M.replace(/[A-Z]/g, function(me) {
645
- return me.toLowerCase();
646
- }), H = M.length, te = [], P = 0; P < H; ) {
647
- for (var Q = s, ie = null, ne = 0, O = null, x = -1; P < H && (ie = Q.next(V[P])); )
648
- Q = ie, Q.accepts() ? (x = 0, O = Q) : x >= 0 && x++, ne++, P++;
649
- if (!(x < 0)) {
650
- P -= x, ne -= x;
651
- var X = O.emit();
652
- te.push(new X(M.substr(P - ne, ne)));
653
- }
654
- }
655
- return te;
656
- }, F = s;
657
- return j.State = n.CharacterState, j.TOKENS = a, j.run = B, j.start = F, j;
658
- }
659
- var z = {}, N = {}, Me;
660
- function Mt() {
661
- if (Me) return N;
662
- Me = 1, N.__esModule = !0, N.URL = N.TEXT = N.NL = N.EMAIL = N.MAILTOEMAIL = N.Base = void 0;
663
- var n = Xe(), t = pe(), a = Le();
664
- function e(s) {
665
- return s instanceof a.DOMAIN || s instanceof a.TLD;
666
- }
667
- var r = (0, n.createTokenClass)();
668
- r.prototype = {
669
- /**
670
- String representing the type for this token
671
- @property type
672
- @default 'TOKEN'
673
- */
674
- type: "token",
675
- /**
676
- Is this multitoken a link?
677
- @property isLink
678
- @default false
679
- */
680
- isLink: !1,
681
- /**
682
- Return the string this token represents.
683
- @method toString
684
- @return {String}
685
- */
686
- toString: function() {
687
- for (var c = [], d = 0; d < this.v.length; d++)
688
- c.push(this.v[d].toString());
689
- return c.join("");
690
- },
691
- /**
692
- What should the value for this token be in the `href` HTML attribute?
693
- Returns the `.toString` value by default.
694
- @method toHref
695
- @return {String}
696
- */
697
- toHref: function() {
698
- return this.toString();
699
- },
700
- /**
701
- Returns a hash of relevant values for this token, which includes keys
702
- * type - Kind of token ('url', 'email', etc.)
703
- * value - Original text
704
- * href - The value that should be added to the anchor tag's href
705
- attribute
706
- @method toObject
707
- @param {String} [protocol] `'http'` by default
708
- @return {Object}
709
- */
710
- toObject: function() {
711
- var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "http";
712
- return {
713
- type: this.type,
714
- value: this.toString(),
715
- href: this.toHref(c)
716
- };
717
- }
718
- };
719
- var u = (0, t.inherits)(r, (0, n.createTokenClass)(), {
720
- type: "email",
721
- isLink: !0
722
- }), o = (0, t.inherits)(r, (0, n.createTokenClass)(), {
723
- type: "email",
724
- isLink: !0,
725
- toHref: function() {
726
- return "mailto:" + this.toString();
727
- }
728
- }), f = (0, t.inherits)(r, (0, n.createTokenClass)(), { type: "text" }), i = (0, t.inherits)(r, (0, n.createTokenClass)(), { type: "nl" }), l = (0, t.inherits)(r, (0, n.createTokenClass)(), {
729
- type: "url",
730
- isLink: !0,
731
- /**
732
- Lowercases relevant parts of the domain and adds the protocol if
733
- required. Note that this will not escape unsafe HTML characters in the
734
- URL.
735
- @method href
736
- @param {String} protocol
737
- @return {String}
738
- */
739
- toHref: function() {
740
- for (var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "http", d = !1, m = !1, v = this.v, b = [], p = 0; v[p] instanceof a.PROTOCOL; )
741
- d = !0, b.push(v[p].toString().toLowerCase()), p++;
742
- for (; v[p] instanceof a.SLASH; )
743
- m = !0, b.push(v[p].toString()), p++;
744
- for (; e(v[p]); )
745
- b.push(v[p].toString().toLowerCase()), p++;
746
- for (; p < v.length; p++)
747
- b.push(v[p].toString());
748
- return b = b.join(""), d || m || (b = c + "://" + b), b;
749
- },
750
- hasProtocol: function() {
751
- return this.v[0] instanceof a.PROTOCOL;
752
- }
753
- });
754
- return N.Base = r, N.MAILTOEMAIL = u, N.EMAIL = o, N.NL = i, N.TEXT = f, N.URL = l, N;
755
- }
756
- var De;
757
- function Dt() {
758
- if (De) return z;
759
- De = 1, z.__esModule = !0, z.start = z.run = z.TOKENS = z.State = void 0;
760
- var n = Ve(), t = Mt(), a = r(t), e = Le();
761
- function r(K) {
762
- if (K && K.__esModule)
763
- return K;
764
- var D = {};
765
- if (K != null)
766
- for (var Z in K)
767
- Object.prototype.hasOwnProperty.call(K, Z) && (D[Z] = K[Z]);
768
- return D.default = K, D;
769
- }
770
- var u = function(D) {
771
- return new n.TokenState(D);
772
- }, o = u(), f = u(), i = u(), l = u(), s = u(), c = u(), d = u(), m = u(t.URL), v = u(), b = u(t.URL), p = u(t.URL), L = u(), _ = u(), k = u(), C = u(), R = u(), T = u(t.URL), y = u(t.URL), I = u(t.URL), A = u(t.URL), w = u(), $ = u(), Y = u(), q = u(), B = u(), F = u(), S = u(t.EMAIL), M = u(), V = u(t.EMAIL), H = u(t.MAILTOEMAIL), te = u(), P = u(), Q = u(), ie = u(), ne = u(t.NL);
773
- o.on(e.NL, ne).on(e.PROTOCOL, f).on(e.MAILTO, i).on(e.SLASH, l), f.on(e.SLASH, l), l.on(e.SLASH, s), o.on(e.TLD, c).on(e.DOMAIN, c).on(e.LOCALHOST, m).on(e.NUM, c), s.on(e.TLD, p).on(e.DOMAIN, p).on(e.NUM, p).on(e.LOCALHOST, p), c.on(e.DOT, d), B.on(e.DOT, F), d.on(e.TLD, m).on(e.DOMAIN, c).on(e.NUM, c).on(e.LOCALHOST, c), F.on(e.TLD, S).on(e.DOMAIN, B).on(e.NUM, B).on(e.LOCALHOST, B), m.on(e.DOT, d), S.on(e.DOT, F), m.on(e.COLON, v).on(e.SLASH, p), v.on(e.NUM, b), b.on(e.SLASH, p), S.on(e.COLON, M), M.on(e.NUM, V);
774
- var O = [e.DOMAIN, e.AT, e.LOCALHOST, e.NUM, e.PLUS, e.POUND, e.PROTOCOL, e.SLASH, e.TLD, e.UNDERSCORE, e.SYM, e.AMPERSAND], x = [e.COLON, e.DOT, e.QUERY, e.PUNCTUATION, e.CLOSEBRACE, e.CLOSEBRACKET, e.CLOSEANGLEBRACKET, e.CLOSEPAREN, e.OPENBRACE, e.OPENBRACKET, e.OPENANGLEBRACKET, e.OPENPAREN];
775
- p.on(e.OPENBRACE, _).on(e.OPENBRACKET, k).on(e.OPENANGLEBRACKET, C).on(e.OPENPAREN, R), L.on(e.OPENBRACE, _).on(e.OPENBRACKET, k).on(e.OPENANGLEBRACKET, C).on(e.OPENPAREN, R), _.on(e.CLOSEBRACE, p), k.on(e.CLOSEBRACKET, p), C.on(e.CLOSEANGLEBRACKET, p), R.on(e.CLOSEPAREN, p), T.on(e.CLOSEBRACE, p), y.on(e.CLOSEBRACKET, p), I.on(e.CLOSEANGLEBRACKET, p), A.on(e.CLOSEPAREN, p), w.on(e.CLOSEBRACE, p), $.on(e.CLOSEBRACKET, p), Y.on(e.CLOSEANGLEBRACKET, p), q.on(e.CLOSEPAREN, p), _.on(O, T), k.on(O, y), C.on(O, I), R.on(O, A), _.on(x, w), k.on(x, $), C.on(x, Y), R.on(x, q), T.on(O, T), y.on(O, y), I.on(O, I), A.on(O, A), T.on(x, T), y.on(x, y), I.on(x, I), A.on(x, A), w.on(O, T), $.on(O, y), Y.on(O, I), q.on(O, A), w.on(x, w), $.on(x, $), Y.on(x, Y), q.on(x, q), p.on(O, p), L.on(O, p), p.on(x, L), L.on(x, L), i.on(e.TLD, H).on(e.DOMAIN, H).on(e.NUM, H).on(e.LOCALHOST, H), H.on(O, H).on(x, te), te.on(O, H).on(x, te);
776
- var X = [e.DOMAIN, e.NUM, e.PLUS, e.POUND, e.QUERY, e.UNDERSCORE, e.SYM, e.AMPERSAND, e.TLD];
777
- c.on(X, P).on(e.AT, Q), m.on(X, P).on(e.AT, Q), d.on(X, P), P.on(X, P).on(e.AT, Q).on(e.DOT, ie), ie.on(X, P), Q.on(e.TLD, B).on(e.DOMAIN, B).on(e.LOCALHOST, S);
778
- var me = function(D) {
779
- for (var Z = D.length, U = 0, le = [], J = []; U < Z; ) {
780
- for (var se = o, ve = null, Ne = null, ce = 0, Te = null, ae = -1; U < Z && !(ve = se.next(D[U])); )
781
- J.push(D[U++]);
782
- for (; U < Z && (Ne = ve || se.next(D[U])); )
783
- ve = null, se = Ne, se.accepts() ? (ae = 0, Te = se) : ae >= 0 && ae++, U++, ce++;
784
- if (ae < 0)
785
- for (var ge = U - ce; ge < U; ge++)
786
- J.push(D[ge]);
787
- else {
788
- J.length > 0 && (le.push(new t.TEXT(J)), J = []), U -= ae, ce -= ae;
789
- var Ze = Te.emit();
790
- le.push(new Ze(D.slice(U - ce, U)));
791
- }
792
- }
793
- return J.length > 0 && le.push(new t.TEXT(J)), le;
794
- };
795
- return z.State = n.TokenState, z.TOKENS = a, z.run = me, z.start = o, z;
796
- }
797
- var Ue;
798
- function Ut() {
799
- if (Ue) return E;
800
- Ue = 1, E.__esModule = !0, E.tokenize = E.test = E.scanner = E.parser = E.options = E.inherits = E.find = void 0;
801
- var n = pe(), t = Rt(), a = f(t), e = wt(), r = f(e), u = Dt(), o = f(u);
802
- function f(c) {
803
- if (c && c.__esModule)
804
- return c;
805
- var d = {};
806
- if (c != null)
807
- for (var m in c)
808
- Object.prototype.hasOwnProperty.call(c, m) && (d[m] = c[m]);
809
- return d.default = c, d;
810
- }
811
- Array.isArray || (Array.isArray = function(c) {
812
- return Object.prototype.toString.call(c) === "[object Array]";
813
- });
814
- var i = function(d) {
815
- return o.run(r.run(d));
816
- }, l = function(d) {
817
- for (var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, v = i(d), b = [], p = 0; p < v.length; p++) {
818
- var L = v[p];
819
- L.isLink && (!m || L.type === m) && b.push(L.toObject());
820
- }
821
- return b;
822
- }, s = function(d) {
823
- var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, v = i(d);
824
- return v.length === 1 && v[0].isLink && (!m || v[0].type === m);
825
- };
826
- return E.find = l, E.inherits = n.inherits, E.options = a, E.parser = o, E.scanner = r, E.test = s, E.tokenize = i, E;
827
- }
828
- var Ie;
829
- function It() {
830
- if (Ie) return ue;
831
- Ie = 1, ue.__esModule = !0;
832
- var n = Ut(), t = a(n);
833
- function a(s) {
834
- if (s && s.__esModule)
835
- return s;
836
- var c = {};
837
- if (s != null)
838
- for (var d in s)
839
- Object.prototype.hasOwnProperty.call(s, d) && (c[d] = s[d]);
840
- return c.default = s, c;
841
- }
842
- var e = t.tokenize, r = t.options, u = r.Options;
843
- function o(s) {
844
- return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
845
- }
846
- function f(s) {
847
- return s.replace(/"/g, "&quot;");
848
- }
849
- function i(s) {
850
- if (!s)
851
- return "";
852
- var c = [];
853
- for (var d in s) {
854
- var m = s[d] + "";
855
- c.push(d + '="' + f(m) + '"');
856
- }
857
- return c.join(" ");
858
- }
859
- function l(s) {
860
- var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
861
- c = new u(c);
862
- for (var d = e(s), m = [], v = 0; v < d.length; v++) {
863
- var b = d[v];
864
- if (b.type === "nl" && c.nl2br) {
865
- m.push(`<br>
866
- `);
867
- continue;
868
- } else if (!b.isLink || !c.check(b)) {
869
- m.push(o(b.toString()));
870
- continue;
871
- }
872
- var p = c.resolve(b), L = p.formatted, _ = p.formattedHref, k = p.tagName, C = p.className, R = p.target, T = p.attributes, y = "<" + k + ' href="' + f(_) + '"';
873
- C && (y += ' class="' + f(C) + '"'), R && (y += ' target="' + f(R) + '"'), T && (y += " " + i(T)), y += ">" + o(L) + "</" + k + ">", m.push(y);
874
- }
875
- return m.join("");
876
- }
877
- if (!String.prototype.linkify)
878
- try {
879
- Object.defineProperty(String.prototype, "linkify", {
880
- set: function() {
881
- },
882
- get: function() {
883
- return function(d) {
884
- return l(this, d);
885
- };
886
- }
887
- });
888
- } catch {
889
- String.prototype.linkify || (String.prototype.linkify = function(c) {
890
- return l(this, c);
891
- });
892
- }
893
- return ue.default = l, ue;
894
- }
895
- var xe, qe;
896
- function qt() {
897
- return qe || (qe = 1, xe = It().default), xe;
898
- }
899
- var jt = qt();
900
- const zt = /* @__PURE__ */ nt(jt), je = {
901
- className: "info-link",
902
- defaultProtocol: "https"
903
- }, Wt = {
904
- /**
905
- * The underlying linkifyStr interface escapes text within the input string
906
- */
907
- linkifyText(n, t) {
908
- if (!n) return;
909
- const a = t ? at({}, je, t) : je;
910
- return zt(n, a);
911
- }
912
- };
913
- export {
914
- $t as I,
915
- Wt as L,
916
- Yt as O,
917
- gt as R,
918
- ft as S,
919
- kt as T,
920
- Gt as V,
921
- vt as a,
922
- Ye as b,
923
- Ft as c,
924
- Qt as u
925
- };