@clickview/exchange 0.53.0-rc.3 → 0.53.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +1 -1
- package/dist/en.json +1 -1
- package/dist/scripts/{B6XPihYg.chunk.js → 2cWOXJSc.chunk.js} +2 -2
- package/dist/scripts/{B6XPihYg.chunk.js.map → 2cWOXJSc.chunk.js.map} +1 -1
- package/dist/scripts/{DKKFbyeH.chunk.js → B4V5N8Aj.chunk.js} +2 -2
- package/dist/scripts/{DKKFbyeH.chunk.js.map → B4V5N8Aj.chunk.js.map} +1 -1
- package/dist/scripts/{8LCfkX3v.chunk.js → B574uaRU.chunk.js} +2 -2
- package/dist/scripts/{8LCfkX3v.chunk.js.map → B574uaRU.chunk.js.map} +1 -1
- package/dist/scripts/{BEGjWnPj.chunk.js → B5ab16ux.chunk.js} +2 -2
- package/dist/scripts/{BEGjWnPj.chunk.js.map → B5ab16ux.chunk.js.map} +1 -1
- package/dist/scripts/{kUEqukPF.chunk.js → B9eYOwJp.chunk.js} +2 -2
- package/dist/scripts/{kUEqukPF.chunk.js.map → B9eYOwJp.chunk.js.map} +1 -1
- package/dist/scripts/{D4mm5Ivp.chunk.js → BDTzvMwe.chunk.js} +2 -2
- package/dist/scripts/{D4mm5Ivp.chunk.js.map → BDTzvMwe.chunk.js.map} +1 -1
- package/dist/scripts/{DEZb99RP.chunk.js → BHUkwlPw.chunk.js} +2 -2
- package/dist/scripts/{DEZb99RP.chunk.js.map → BHUkwlPw.chunk.js.map} +1 -1
- package/dist/scripts/{CK--g-b2.chunk.js → BK8xvE8O.chunk.js} +2 -2
- package/dist/scripts/{CK--g-b2.chunk.js.map → BK8xvE8O.chunk.js.map} +1 -1
- package/dist/scripts/{BsR7WkQ3.chunk.js → BUmvIVcf.chunk.js} +2 -2
- package/dist/scripts/{BsR7WkQ3.chunk.js.map → BUmvIVcf.chunk.js.map} +1 -1
- package/dist/scripts/{CR5m94hr.chunk.js → BVZ_6O_2.chunk.js} +2 -2
- package/dist/scripts/{CR5m94hr.chunk.js.map → BVZ_6O_2.chunk.js.map} +1 -1
- package/dist/scripts/{DAQLTaLS.chunk.js → BZ1tO2w1.chunk.js} +2 -2
- package/dist/scripts/{DAQLTaLS.chunk.js.map → BZ1tO2w1.chunk.js.map} +1 -1
- package/dist/scripts/{ClUsbA9Y.chunk.js → BZJ9wVLS.chunk.js} +2 -2
- package/dist/scripts/{ClUsbA9Y.chunk.js.map → BZJ9wVLS.chunk.js.map} +1 -1
- package/dist/scripts/{aNB3gltW.chunk.js → Bbct_sP7.chunk.js} +2 -2
- package/dist/scripts/{aNB3gltW.chunk.js.map → Bbct_sP7.chunk.js.map} +1 -1
- package/dist/scripts/{Bfe5ljlE.chunk.js → BcZspO6C.chunk.js} +2 -2
- package/dist/scripts/{Bfe5ljlE.chunk.js.map → BcZspO6C.chunk.js.map} +1 -1
- package/dist/scripts/{CCMRIPPt.chunk.js → BeJhgZUK.chunk.js} +2 -2
- package/dist/scripts/{CCMRIPPt.chunk.js.map → BeJhgZUK.chunk.js.map} +1 -1
- package/dist/scripts/{Dl3gfAlJ.chunk.js → BevPAwSq.chunk.js} +2 -2
- package/dist/scripts/{Dl3gfAlJ.chunk.js.map → BevPAwSq.chunk.js.map} +1 -1
- package/dist/scripts/{D_LdmZHS.chunk.js → BgKdA1OP.chunk.js} +2 -2
- package/dist/scripts/{D_LdmZHS.chunk.js.map → BgKdA1OP.chunk.js.map} +1 -1
- package/dist/scripts/{5GUueKJF.chunk.js → Bk8pUghK.chunk.js} +2 -2
- package/dist/scripts/{5GUueKJF.chunk.js.map → Bk8pUghK.chunk.js.map} +1 -1
- package/dist/scripts/{CxC74ItP.chunk.js → Bo3WoX3a.chunk.js} +2 -2
- package/dist/scripts/{CxC74ItP.chunk.js.map → Bo3WoX3a.chunk.js.map} +1 -1
- package/dist/scripts/{Cy7IUYF-.chunk.js → BqNxbGAd.chunk.js} +2 -2
- package/dist/scripts/{Cy7IUYF-.chunk.js.map → BqNxbGAd.chunk.js.map} +1 -1
- package/dist/scripts/BrXQ02P1.chunk.js +2 -0
- package/dist/scripts/{DmspKarQ.chunk.js.map → BrXQ02P1.chunk.js.map} +1 -1
- package/dist/scripts/{DTK-qxAt.chunk.js → BswyFk_N.chunk.js} +2 -2
- package/dist/scripts/{DTK-qxAt.chunk.js.map → BswyFk_N.chunk.js.map} +1 -1
- package/dist/scripts/{CfBC-dR0.chunk.js → Bx8ThkKE.chunk.js} +2 -2
- package/dist/scripts/{CfBC-dR0.chunk.js.map → Bx8ThkKE.chunk.js.map} +1 -1
- package/dist/scripts/{An2pqf2H.chunk.js → C0U8L3bs.chunk.js} +2 -2
- package/dist/scripts/{An2pqf2H.chunk.js.map → C0U8L3bs.chunk.js.map} +1 -1
- package/dist/scripts/{CShgo4dC.chunk.js → C1lszv3N.chunk.js} +2 -2
- package/dist/scripts/{CShgo4dC.chunk.js.map → C1lszv3N.chunk.js.map} +1 -1
- package/dist/scripts/{Dp5BFZBL.chunk.js → C5uDJfs-.chunk.js} +2 -2
- package/dist/scripts/{Dp5BFZBL.chunk.js.map → C5uDJfs-.chunk.js.map} +1 -1
- package/dist/scripts/{lHEf7Dbp.chunk.js → C6L3Q2Qr.chunk.js} +2 -2
- package/dist/scripts/{lHEf7Dbp.chunk.js.map → C6L3Q2Qr.chunk.js.map} +1 -1
- package/dist/scripts/{DqA_gGV1.chunk.js → CJZbn4PU.chunk.js} +2 -2
- package/dist/scripts/{DqA_gGV1.chunk.js.map → CJZbn4PU.chunk.js.map} +1 -1
- package/dist/scripts/{CPh1-eHt.chunk.js → CJfEp2eL.chunk.js} +2 -2
- package/dist/scripts/{CPh1-eHt.chunk.js.map → CJfEp2eL.chunk.js.map} +1 -1
- package/dist/scripts/{D8qOjT5-.chunk.js → CK7qxCzb.chunk.js} +2 -2
- package/dist/scripts/{D8qOjT5-.chunk.js.map → CK7qxCzb.chunk.js.map} +1 -1
- package/dist/scripts/{DclQzF2e.chunk.js → CQBoRtuI.chunk.js} +2 -2
- package/dist/scripts/{DclQzF2e.chunk.js.map → CQBoRtuI.chunk.js.map} +1 -1
- package/dist/scripts/{RTHvayT_.chunk.js → CSPZpMnD.chunk.js} +2 -2
- package/dist/scripts/{RTHvayT_.chunk.js.map → CSPZpMnD.chunk.js.map} +1 -1
- package/dist/scripts/{C3mFDLV3.chunk.js → CV5zDyPS.chunk.js} +2 -2
- package/dist/scripts/{C3mFDLV3.chunk.js.map → CV5zDyPS.chunk.js.map} +1 -1
- package/dist/scripts/{CRucttfI.chunk.js → CVYxTfiV.chunk.js} +2 -2
- package/dist/scripts/{CRucttfI.chunk.js.map → CVYxTfiV.chunk.js.map} +1 -1
- package/dist/scripts/{DdtN_4m8.chunk.js → CZHoEn2m.chunk.js} +2 -2
- package/dist/scripts/{DdtN_4m8.chunk.js.map → CZHoEn2m.chunk.js.map} +1 -1
- package/dist/scripts/CZVuzuXf.chunk.js +2 -0
- package/dist/scripts/{CvG9Rmqs.chunk.js.map → CZVuzuXf.chunk.js.map} +1 -1
- package/dist/scripts/{BSTOTvRj.chunk.js → CbEBLWWY.chunk.js} +2 -2
- package/dist/scripts/{BSTOTvRj.chunk.js.map → CbEBLWWY.chunk.js.map} +1 -1
- package/dist/scripts/{Dq6x6nwc.chunk.js → CeOQ6-zQ.chunk.js} +2 -2
- package/dist/scripts/{Dq6x6nwc.chunk.js.map → CeOQ6-zQ.chunk.js.map} +1 -1
- package/dist/scripts/CeXuvOA5.chunk.js +2 -0
- package/dist/scripts/{B6lOCBlR.chunk.js.map → CeXuvOA5.chunk.js.map} +1 -1
- package/dist/scripts/{CRLSpEeB.chunk.js → CjbS9gjG.chunk.js} +2 -2
- package/dist/scripts/{CRLSpEeB.chunk.js.map → CjbS9gjG.chunk.js.map} +1 -1
- package/dist/scripts/CjttP5Uk.chunk.js +2 -0
- package/dist/scripts/{BNoOPqTl.chunk.js.map → CjttP5Uk.chunk.js.map} +1 -1
- package/dist/scripts/{C6fO3h1r.chunk.js → Ck7ICj8m.chunk.js} +2 -2
- package/dist/scripts/{C6fO3h1r.chunk.js.map → Ck7ICj8m.chunk.js.map} +1 -1
- package/dist/scripts/{Cl6iPpcm.chunk.js → CllCtq0-.chunk.js} +2 -2
- package/dist/scripts/{Cl6iPpcm.chunk.js.map → CllCtq0-.chunk.js.map} +1 -1
- package/dist/scripts/{aKxmsW8B.chunk.js → CmFTfavO.chunk.js} +2 -2
- package/dist/scripts/{aKxmsW8B.chunk.js.map → CmFTfavO.chunk.js.map} +1 -1
- package/dist/scripts/{BMWm1pN1.chunk.js → CoJMfNPY.chunk.js} +2 -2
- package/dist/scripts/{BMWm1pN1.chunk.js.map → CoJMfNPY.chunk.js.map} +1 -1
- package/dist/scripts/{CkIeXG6b.chunk.js → CpLpE8Im.chunk.js} +3 -3
- package/dist/scripts/{CkIeXG6b.chunk.js.map → CpLpE8Im.chunk.js.map} +1 -1
- package/dist/scripts/{Bmmwb7k_.chunk.js → CqnxxpxX.chunk.js} +2 -2
- package/dist/scripts/{Bmmwb7k_.chunk.js.map → CqnxxpxX.chunk.js.map} +1 -1
- package/dist/scripts/{DmokEdyU.chunk.js → CrejgQYb.chunk.js} +2 -2
- package/dist/scripts/{DmokEdyU.chunk.js.map → CrejgQYb.chunk.js.map} +1 -1
- package/dist/scripts/{EuVY33AH.chunk.js → CsxfXB_f.chunk.js} +2 -2
- package/dist/scripts/{EuVY33AH.chunk.js.map → CsxfXB_f.chunk.js.map} +1 -1
- package/dist/scripts/{D0ez9lcb.chunk.js → Cwb-wgJ-.chunk.js} +2 -2
- package/dist/scripts/{D0ez9lcb.chunk.js.map → Cwb-wgJ-.chunk.js.map} +1 -1
- package/dist/scripts/{6a3imca3.chunk.js → D-4Cgpy-.chunk.js} +2 -2
- package/dist/scripts/{6a3imca3.chunk.js.map → D-4Cgpy-.chunk.js.map} +1 -1
- package/dist/scripts/{BdNTkb7P.chunk.js → D-hP0WNi.chunk.js} +2 -2
- package/dist/scripts/{BdNTkb7P.chunk.js.map → D-hP0WNi.chunk.js.map} +1 -1
- package/dist/scripts/{C1Qw3n1d.chunk.js → D0odoQbM.chunk.js} +2 -2
- package/dist/scripts/{C1Qw3n1d.chunk.js.map → D0odoQbM.chunk.js.map} +1 -1
- package/dist/scripts/D1g4_5rR.chunk.js +2 -0
- package/dist/scripts/{BjOBVQha.chunk.js.map → D1g4_5rR.chunk.js.map} +1 -1
- package/dist/scripts/D2Szos_W.chunk.js +2 -0
- package/dist/scripts/{CYOWjQoo.chunk.js.map → D2Szos_W.chunk.js.map} +1 -1
- package/dist/scripts/{CFW_ZII3.chunk.js → DCEbF62l.chunk.js} +2 -2
- package/dist/scripts/{CFW_ZII3.chunk.js.map → DCEbF62l.chunk.js.map} +1 -1
- package/dist/scripts/{DHRuhDvn.chunk.js → DDbz6pxh.chunk.js} +2 -2
- package/dist/scripts/{DHRuhDvn.chunk.js.map → DDbz6pxh.chunk.js.map} +1 -1
- package/dist/scripts/{B2N_hio2.chunk.js → DEH_8veD.chunk.js} +2 -2
- package/dist/scripts/{B2N_hio2.chunk.js.map → DEH_8veD.chunk.js.map} +1 -1
- package/dist/scripts/{BKjwB_St.chunk.js → DFLHDfV1.chunk.js} +2 -2
- package/dist/scripts/{BKjwB_St.chunk.js.map → DFLHDfV1.chunk.js.map} +1 -1
- package/dist/scripts/{DBXJjLCV.chunk.js → DOwzdCZ2.chunk.js} +2 -2
- package/dist/scripts/{DBXJjLCV.chunk.js.map → DOwzdCZ2.chunk.js.map} +1 -1
- package/dist/scripts/{CLHdZVLk.chunk.js → DQgnWU-I.chunk.js} +2 -2
- package/dist/scripts/{CLHdZVLk.chunk.js.map → DQgnWU-I.chunk.js.map} +1 -1
- package/dist/scripts/{B2noU3Ys.chunk.js → DQqQBQqj.chunk.js} +2 -2
- package/dist/scripts/{B2noU3Ys.chunk.js.map → DQqQBQqj.chunk.js.map} +1 -1
- package/dist/scripts/{Gz6brJ7U.chunk.js → DRF-fC47.chunk.js} +2 -2
- package/dist/scripts/{Gz6brJ7U.chunk.js.map → DRF-fC47.chunk.js.map} +1 -1
- package/dist/scripts/{C-LPkfPE.chunk.js → DSEhNJwx.chunk.js} +2 -2
- package/dist/scripts/{C-LPkfPE.chunk.js.map → DSEhNJwx.chunk.js.map} +1 -1
- package/dist/scripts/{BZpkTfVs.chunk.js → DbBmb_UT.chunk.js} +2 -2
- package/dist/scripts/{BZpkTfVs.chunk.js.map → DbBmb_UT.chunk.js.map} +1 -1
- package/dist/scripts/{Ui4fzBVF.chunk.js → DbhlPXNV.chunk.js} +2 -2
- package/dist/scripts/{Ui4fzBVF.chunk.js.map → DbhlPXNV.chunk.js.map} +1 -1
- package/dist/scripts/{CmOtOw_r.chunk.js → DcKDSzxe.chunk.js} +2 -2
- package/dist/scripts/{CmOtOw_r.chunk.js.map → DcKDSzxe.chunk.js.map} +1 -1
- package/dist/scripts/{wrAdddK5.chunk.js → DdtiM4q4.chunk.js} +2 -2
- package/dist/scripts/{wrAdddK5.chunk.js.map → DdtiM4q4.chunk.js.map} +1 -1
- package/dist/scripts/{BstEXc3S.chunk.js → DgCSpWkC.chunk.js} +2 -2
- package/dist/scripts/{BstEXc3S.chunk.js.map → DgCSpWkC.chunk.js.map} +1 -1
- package/dist/scripts/{BUa_jfSW.chunk.js → DnWI-onh.chunk.js} +2 -2
- package/dist/scripts/{BUa_jfSW.chunk.js.map → DnWI-onh.chunk.js.map} +1 -1
- package/dist/scripts/{DmRO_2e4.chunk.js → DqA_qmQz.chunk.js} +2 -2
- package/dist/scripts/{DmRO_2e4.chunk.js.map → DqA_qmQz.chunk.js.map} +1 -1
- package/dist/scripts/{BFHjGFiY.chunk.js → Dtb7_e7t.chunk.js} +2 -2
- package/dist/scripts/{BFHjGFiY.chunk.js.map → Dtb7_e7t.chunk.js.map} +1 -1
- package/dist/scripts/Dtn-5-Dc.chunk.js +2 -0
- package/dist/scripts/{BaIci_F5.chunk.js.map → Dtn-5-Dc.chunk.js.map} +1 -1
- package/dist/scripts/{DOaducO2.chunk.js → DuHONSHj.chunk.js} +2 -2
- package/dist/scripts/{DOaducO2.chunk.js.map → DuHONSHj.chunk.js.map} +1 -1
- package/dist/scripts/EXqfWnts.chunk.js +2 -0
- package/dist/scripts/{CsQeMool.chunk.js.map → EXqfWnts.chunk.js.map} +1 -1
- package/dist/scripts/{DOiD6is_.chunk.js → EZNN4Yu0.chunk.js} +2 -2
- package/dist/scripts/{DOiD6is_.chunk.js.map → EZNN4Yu0.chunk.js.map} +1 -1
- package/dist/scripts/{8VNRK8kQ.chunk.js → LHI3oaCV.chunk.js} +2 -2
- package/dist/scripts/{8VNRK8kQ.chunk.js.map → LHI3oaCV.chunk.js.map} +1 -1
- package/dist/scripts/{S3PkirNo.chunk.js → LvDJgDKk.chunk.js} +2 -2
- package/dist/scripts/{S3PkirNo.chunk.js.map → LvDJgDKk.chunk.js.map} +1 -1
- package/dist/scripts/{B83zQU6s.chunk.js → XZOjwf5m.chunk.js} +2 -2
- package/dist/scripts/{B83zQU6s.chunk.js.map → XZOjwf5m.chunk.js.map} +1 -1
- package/dist/scripts/{app-BPynVn5M.js → app-B9-iRU1r.js} +3 -3
- package/dist/scripts/{app-BPynVn5M.js.map → app-B9-iRU1r.js.map} +1 -1
- package/dist/scripts/{CChgvLUa.chunk.js → bTy6Dmvr.chunk.js} +2 -2
- package/dist/scripts/{CChgvLUa.chunk.js.map → bTy6Dmvr.chunk.js.map} +1 -1
- package/dist/scripts/{CUzXnfFV.chunk.js → e3PHoSfW.chunk.js} +2 -2
- package/dist/scripts/{CUzXnfFV.chunk.js.map → e3PHoSfW.chunk.js.map} +1 -1
- package/dist/scripts/{BywIfJt2.chunk.js → fXlIwRMe.chunk.js} +2 -2
- package/dist/scripts/{BywIfJt2.chunk.js.map → fXlIwRMe.chunk.js.map} +1 -1
- package/dist/scripts/{DK6DK5bG.chunk.js → jduQkbdO.chunk.js} +2 -2
- package/dist/scripts/{DK6DK5bG.chunk.js.map → jduQkbdO.chunk.js.map} +1 -1
- package/dist/scripts/{CnY4exCI.chunk.js → kRwTHNNb.chunk.js} +2 -2
- package/dist/scripts/{CnY4exCI.chunk.js.map → kRwTHNNb.chunk.js.map} +1 -1
- package/dist/scripts/{LLIxc2ur.chunk.js → oHfhDsTp.chunk.js} +2 -2
- package/dist/scripts/{LLIxc2ur.chunk.js.map → oHfhDsTp.chunk.js.map} +1 -1
- package/dist/scripts/{DUBTSAcY.chunk.js → ov91D2RT.chunk.js} +2 -2
- package/dist/scripts/{DUBTSAcY.chunk.js.map → ov91D2RT.chunk.js.map} +1 -1
- package/dist/scripts/{m2GRn15O.chunk.js → r83d385M.chunk.js} +2 -2
- package/dist/scripts/{m2GRn15O.chunk.js.map → r83d385M.chunk.js.map} +1 -1
- package/dist/scripts/{Gydr0_mB.chunk.js → rHycMxyI.chunk.js} +2 -2
- package/dist/scripts/{Gydr0_mB.chunk.js.map → rHycMxyI.chunk.js.map} +1 -1
- package/dist/scripts/{BcPl4b_u.chunk.js → rJhp74_5.chunk.js} +2 -2
- package/dist/scripts/{BcPl4b_u.chunk.js.map → rJhp74_5.chunk.js.map} +1 -1
- package/dist/scripts/{BqRp5o8i.chunk.js → rv4f8H6-.chunk.js} +2 -2
- package/dist/scripts/{BqRp5o8i.chunk.js.map → rv4f8H6-.chunk.js.map} +1 -1
- package/package.json +1 -1
- package/dist/scripts/B6lOCBlR.chunk.js +0 -2
- package/dist/scripts/BNoOPqTl.chunk.js +0 -2
- package/dist/scripts/BaIci_F5.chunk.js +0 -2
- package/dist/scripts/BjOBVQha.chunk.js +0 -2
- package/dist/scripts/CYOWjQoo.chunk.js +0 -2
- package/dist/scripts/CsQeMool.chunk.js +0 -2
- package/dist/scripts/CvG9Rmqs.chunk.js +0 -2
- package/dist/scripts/DmspKarQ.chunk.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as i,G as a}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{j as i,G as a}from"./app-B9-iRU1r.js";function s(e){return i.jsx("svg",{...e,children:i.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 1 1 1.414-1.414l2.244 2.244z",clipRule:"evenodd"})})}const l="_circle_15nxd_1",n="_img_15nxd_6",r={circle:l,img:n};t.defaultProps={textVariant:"white"};function t(e){return!e.imageUrl&&!e.svg?i.jsx(i.Fragment,{}):e.imageUrl?i.jsx("div",{className:`${r.img} rounded-circle h-100 w-100`,style:{backgroundImage:`url(${e.imageUrl})`},children:" "}):i.jsx("div",{className:`${r.circle} ${e.variant?`bg-${e.variant}`:""} text-${e.textVariant} rounded-circle h-100 w-100 ${e.svgWrapperClassName??""}`,children:i.jsx(a,{svg:e.svg,size:e.svgSize})})}export{s as C,t as I};
|
|
2
|
+
//# sourceMappingURL=CZHoEn2m.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CZHoEn2m.chunk.js","sources":["../../../../libs/shared/src/images/svg/status/CheckSvg.tsx","../../../../libs/shared/src/components/icon-circle/IconCircle.tsx"],"sourcesContent":["import React from 'react';\n\nexport function CheckSvg(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg {...props}>\n <path\n fill='currentColor'\n fillRule='evenodd'\n d='M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 1 1 1.414-1.414l2.244 2.244z'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","import React from 'react';\nimport { ButtonProps } from 'react-bootstrap';\n\nimport { SvgContainer, SvgContainerSize } from 'libs/shared/components/svg-container/SvgContainer';\nimport { SvgIcon } from 'libs/shared/utils/SvgHelper';\n\nimport styles from './icon-circle.module.scss';\n\ninterface IconCircleProps {\n svg?: SvgIcon;\n imageUrl?: string;\n svgSize?: SvgContainerSize;\n variant?: ButtonProps['variant'];\n textVariant?: ButtonProps['variant'];\n svgWrapperClassName?: string;\n}\n\nIconCircle.defaultProps = {\n textVariant: 'white'\n};\n\nexport function IconCircle(props: IconCircleProps): JSX.Element {\n if (!props.imageUrl && !props.svg)\n return <></>;\n\n if (props.imageUrl) {\n return (\n <div className={`${styles.img} rounded-circle h-100 w-100`} style={{ backgroundImage: `url(${props.imageUrl})` }}>\n \n </div>\n );\n }\n\n return (\n <div className={`${styles.circle} ${props.variant ? `bg-${props.variant}` : ''} text-${props.textVariant} rounded-circle h-100 w-100 ${props.svgWrapperClassName ?? ''}`}>\n <SvgContainer svg={props.svg} size={props.svgSize} />\n </div>\n );\n}"],"names":["CheckSvg","props","jsx","IconCircle","Fragment","styles","SvgContainer"],"mappings":"6CAEO,SAASA,EAASC,EAAsC,CAC7D,OACEC,EAAAA,IAAC,MAAA,CAAK,GAAGD,EACP,SAAAC,EAAAA,IAAC,OAAA,CACC,KAAK,eACL,SAAS,UACT,EAAE,sGACF,SAAS,SAAA,CAAA,EAEb,CAEJ,+DCIAC,EAAW,aAAe,CACxB,YAAa,OACf,EAEO,SAASA,EAAWF,EAAqC,CAC9D,MAAI,CAACA,EAAM,UAAY,CAACA,EAAM,IACrBC,EAAAA,IAAAE,EAAAA,SAAA,EAAE,EAEPH,EAAM,SAENC,EAAAA,IAAC,MAAA,CAAI,UAAW,GAAGG,EAAO,GAAG,8BAA+B,MAAO,CAAE,gBAAiB,OAAOJ,EAAM,QAAQ,GAAA,EAAO,SAAA,IAElH,EAKFC,EAAAA,IAAC,MAAA,CAAI,UAAW,GAAGG,EAAO,MAAM,IAAIJ,EAAM,QAAU,MAAMA,EAAM,OAAO,GAAK,EAAE,SAASA,EAAM,WAAW,+BAA+BA,EAAM,qBAAuB,EAAE,GACpK,SAAAC,MAACI,EAAA,CAAa,IAAKL,EAAM,IAAK,KAAMA,EAAM,QAAS,EACrD,CAEJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CZVuzuXf.chunk.js","sources":["../../src/apps/default/views/not-found/ExchangeNotFoundView.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ErrorPageError } from 'libs/shared/errors/primitives/ErrorPageError';\n\nimport { ErrorView } from 'apps/default/views/error/ExchangeErrorView';\n\ninterface NotFoundViewProps {\n error: ErrorPageError;\n}\n\n// eslint-disable-next-line rulesdir/require-view-title\nexport function NotFoundView({ error }: NotFoundViewProps): React.ReactElement {\n return <ErrorView error={error} />;\n}"],"names":["NotFoundView","error","jsx","ErrorView"],"mappings":"6CAWO,SAASA,EAAa,CAAE,MAAAC,GAAgD,CAC7E,OAAOC,MAACC,GAAU,MAAAF,EAAc,CAClC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as o,d,j as e,e as D,f as c,g as L,h as R,i as p,k as $,C as b,l as S}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{r as o,d,j as e,e as D,f as c,g as L,h as R,i as p,k as $,C as b,l as S}from"./app-B9-iRU1r.js";const g=D("h4");g.displayName="DivStyledAsH4";const N=o.forwardRef(({className:s,bsPrefix:a,as:r=g,...n},t)=>(a=d(a,"alert-heading"),e.jsx(r,{ref:t,className:c(s,a),...n})));N.displayName="AlertHeading";const A=o.forwardRef(({className:s,bsPrefix:a,as:r=L,...n},t)=>(a=d(a,"alert-link"),e.jsx(r,{ref:t,className:c(s,a),...n})));A.displayName="AlertLink";const C=o.forwardRef((s,a)=>{const{bsPrefix:r,show:n=!0,closeLabel:t="Close alert",closeVariant:k,className:w,children:y,variant:h="primary",onClose:m,dismissible:u,transition:f=p,...x}=R(s,{show:"onClose"}),l=d(r,"alert"),E=$(H=>{m&&m(!1,H)}),i=f===!0?p:f,j=e.jsxs("div",{role:"alert",...i?void 0:x,ref:a,className:c(w,l,h&&`${l}-${h}`,u&&`${l}-dismissible`),children:[u&&e.jsx(b,{onClick:E,"aria-label":t,variant:k}),y]});return i?e.jsx(i,{unmountOnExit:!0,...x,ref:void 0,in:n,children:j}):n?j:null});C.displayName="Alert";const v=Object.assign(C,{Link:A,Heading:N});function F({error:s}){return S({title:"Dev Error"}),s?e.jsxs("div",{className:"px-3",children:[e.jsx("h1",{children:s.name}),e.jsx(v,{variant:"danger",children:e.jsx("h2",{children:s.message})}),e.jsxs(v,{variant:"warning",children:[e.jsx("h3",{children:"Call stack"}),e.jsx("code",{children:s.stack})]})]}):e.jsx(e.Fragment,{})}export{F as DevErrorView};
|
|
2
|
+
//# sourceMappingURL=CbEBLWWY.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CbEBLWWY.chunk.js","sources":["../../../../../node_modules/react-bootstrap/esm/AlertHeading.js","../../../../../node_modules/react-bootstrap/esm/AlertLink.js","../../../../../node_modules/react-bootstrap/esm/Alert.js","../../../../libs/shared/src/views/dev-error/DevErrorView.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport divWithClassName from './divWithClassName';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DivStyledAsH4 = divWithClassName('h4');\nDivStyledAsH4.displayName = 'DivStyledAsH4';\nconst AlertHeading = /*#__PURE__*/React.forwardRef(({\n className,\n bsPrefix,\n as: Component = DivStyledAsH4,\n ...props\n}, ref) => {\n bsPrefix = useBootstrapPrefix(bsPrefix, 'alert-heading');\n return /*#__PURE__*/_jsx(Component, {\n ref: ref,\n className: classNames(className, bsPrefix),\n ...props\n });\n});\nAlertHeading.displayName = 'AlertHeading';\nexport default AlertHeading;","\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Anchor from '@restart/ui/Anchor';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst AlertLink = /*#__PURE__*/React.forwardRef(({\n className,\n bsPrefix,\n as: Component = Anchor,\n ...props\n}, ref) => {\n bsPrefix = useBootstrapPrefix(bsPrefix, 'alert-link');\n return /*#__PURE__*/_jsx(Component, {\n ref: ref,\n className: classNames(className, bsPrefix),\n ...props\n });\n});\nAlertLink.displayName = 'AlertLink';\nexport default AlertLink;","\"use client\";\n\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useUncontrolled } from 'uncontrollable';\nimport useEventCallback from '@restart/hooks/useEventCallback';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport AlertHeading from './AlertHeading';\nimport AlertLink from './AlertLink';\nimport Fade from './Fade';\nimport CloseButton from './CloseButton';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst Alert = /*#__PURE__*/React.forwardRef((uncontrolledProps, ref) => {\n const {\n bsPrefix,\n show = true,\n closeLabel = 'Close alert',\n closeVariant,\n className,\n children,\n variant = 'primary',\n onClose,\n dismissible,\n transition = Fade,\n ...props\n } = useUncontrolled(uncontrolledProps, {\n show: 'onClose'\n });\n const prefix = useBootstrapPrefix(bsPrefix, 'alert');\n const handleClose = useEventCallback(e => {\n if (onClose) {\n onClose(false, e);\n }\n });\n const Transition = transition === true ? Fade : transition;\n const alert = /*#__PURE__*/_jsxs(\"div\", {\n role: \"alert\",\n ...(!Transition ? props : undefined),\n ref: ref,\n className: classNames(className, prefix, variant && `${prefix}-${variant}`, dismissible && `${prefix}-dismissible`),\n children: [dismissible && /*#__PURE__*/_jsx(CloseButton, {\n onClick: handleClose,\n \"aria-label\": closeLabel,\n variant: closeVariant\n }), children]\n });\n if (!Transition) return show ? alert : null;\n return /*#__PURE__*/_jsx(Transition, {\n unmountOnExit: true,\n ...props,\n ref: undefined,\n in: show,\n children: alert\n });\n});\nAlert.displayName = 'Alert';\nexport default Object.assign(Alert, {\n Link: AlertLink,\n Heading: AlertHeading\n});","import * as React from 'react';\nimport { Alert } from 'react-bootstrap';\n\nimport { useSetPageMetadata } from 'libs/shared/hooks/useSetPageMetadata';\n\ninterface DevErrorViewProps {\n error: Error;\n}\n\nexport function DevErrorView({ error }: DevErrorViewProps): React.ReactElement {\n useSetPageMetadata({ title: 'Dev Error' });\n\n if (!error)\n return <></>;\n\n return (\n <div className='px-3'>\n <h1>{error.name}</h1>\n <Alert variant='danger'>\n <h2>{error.message}</h2>\n </Alert>\n <Alert variant='warning'>\n <h3>Call stack</h3>\n <code>{error.stack}</code>\n </Alert>\n </div>\n );\n}"],"names":["DivStyledAsH4","divWithClassName","AlertHeading","React.forwardRef","className","bsPrefix","Component","props","ref","useBootstrapPrefix","_jsx","classNames","AlertLink","Anchor","Alert","uncontrolledProps","show","closeLabel","closeVariant","children","variant","onClose","dismissible","transition","Fade","useUncontrolled","prefix","handleClose","useEventCallback","e","Transition","alert","_jsxs","CloseButton","Alert$1","DevErrorView","error","useSetPageMetadata","jsxs","jsx","Fragment"],"mappings":"uGAOA,MAAMA,EAAgBC,EAAiB,IAAI,EAC3CD,EAAc,YAAc,gBAC5B,MAAME,EAA4BC,EAAAA,WAAiB,CAAC,CAClD,UAAAC,EACA,SAAAC,EACA,GAAIC,EAAYN,EAChB,GAAGO,CACL,EAAGC,KACDH,EAAWI,EAAmBJ,EAAU,eAAe,EACnCK,EAAAA,IAAKJ,EAAW,CAClC,IAAKE,EACL,UAAWG,EAAWP,EAAWC,CAAQ,EACzC,GAAGE,CACP,CAAG,EACF,EACDL,EAAa,YAAc,eCf3B,MAAMU,EAAyBT,EAAAA,WAAiB,CAAC,CAC/C,UAAAC,EACA,SAAAC,EACA,GAAIC,EAAYO,EAChB,GAAGN,CACL,EAAGC,KACDH,EAAWI,EAAmBJ,EAAU,YAAY,EAChCK,EAAAA,IAAKJ,EAAW,CAClC,IAAKE,EACL,UAAWG,EAAWP,EAAWC,CAAQ,EACzC,GAAGE,CACP,CAAG,EACF,EACDK,EAAU,YAAc,YCPxB,MAAME,EAAqBX,EAAAA,WAAiB,CAACY,EAAmBP,IAAQ,CACtE,KAAM,CACJ,SAAAH,EACA,KAAAW,EAAO,GACP,WAAAC,EAAa,cACb,aAAAC,EACA,UAAAd,EACA,SAAAe,EACA,QAAAC,EAAU,UACV,QAAAC,EACA,YAAAC,EACA,WAAAC,EAAaC,EACb,GAAGjB,CACP,EAAMkB,EAAgBV,EAAmB,CACrC,KAAM,SACV,CAAG,EACKW,EAASjB,EAAmBJ,EAAU,OAAO,EAC7CsB,EAAcC,EAAiBC,GAAK,CACpCR,GACFA,EAAQ,GAAOQ,CAAC,CAEpB,CAAC,EACKC,EAAaP,IAAe,GAAOC,EAAOD,EAC1CQ,EAAqBC,EAAAA,KAAM,MAAO,CACtC,KAAM,QACN,GAAKF,EAAqB,OAARvB,EAClB,IAAKC,EACL,UAAWG,EAAWP,EAAWsB,EAAQN,GAAW,GAAGM,CAAM,IAAIN,CAAO,GAAIE,GAAe,GAAGI,CAAM,cAAc,EAClH,SAAU,CAACJ,GAA4BZ,EAAAA,IAAKuB,EAAa,CACvD,QAASN,EACT,aAAcV,EACd,QAASC,CACf,CAAK,EAAGC,CAAQ,CAChB,CAAG,EACD,OAAKW,EACepB,EAAAA,IAAKoB,EAAY,CACnC,cAAe,GACf,GAAGvB,EACH,IAAK,OACL,GAAIS,EACJ,SAAUe,CACd,CAAG,EAPuBf,EAAOe,EAAQ,IAQzC,CAAC,EACDjB,EAAM,YAAc,QACpB,MAAAoB,EAAe,OAAO,OAAOpB,EAAO,CAClC,KAAMF,EACN,QAASV,CACX,CAAC,ECnDM,SAASiC,EAAa,CAAE,MAAAC,GAAgD,CAG7E,OAFAC,EAAmB,CAAE,MAAO,YAAa,EAEpCD,EAIHE,EAAAA,KAAC,MAAA,CAAI,UAAU,OACb,SAAA,CAAAC,EAAAA,IAAC,KAAA,CAAI,WAAM,IAAA,CAAK,EAChBA,EAAAA,IAACzB,GAAM,QAAQ,SACb,eAAC,KAAA,CAAI,SAAAsB,EAAM,QAAQ,CAAA,CACrB,EACAE,EAAAA,KAACxB,EAAA,CAAM,QAAQ,UACb,SAAA,CAAAyB,EAAAA,IAAC,MAAG,SAAA,YAAA,CAAU,EACdA,EAAAA,IAAC,OAAA,CAAM,SAAAH,EAAM,KAAA,CAAM,CAAA,CAAA,CACrB,CAAA,EACF,EAZOG,EAAAA,IAAAC,EAAAA,SAAA,EAAE,CAcb","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as r}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{j as r}from"./app-B9-iRU1r.js";function s(l){return r.jsx("svg",{...l,children:r.jsx("path",{d:"m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z",fill:"currentColor"})})}export{s as C};
|
|
2
|
+
//# sourceMappingURL=CeOQ6-zQ.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CeOQ6-zQ.chunk.js","sources":["../../../../libs/shared/src/images/svg/actions/CloseSvg.tsx"],"sourcesContent":["import React from 'react';\n\nexport function CloseSvg(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg {...props}>\n <path\n d='m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z'\n fill='currentColor'\n />\n </svg>\n );\n}\n"],"names":["CloseSvg","props","jsx"],"mappings":"sCAEO,SAASA,EAASC,EAAsC,CAC7D,OACEC,EAAAA,IAAC,MAAA,CAAK,GAAGD,EACP,SAAAC,EAAAA,IAAC,OAAA,CACC,EAAE,+QACF,KAAK,cAAA,CAAA,EAET,CAEJ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{R as e,q as o,bL as i,aU as f}from"./app-B9-iRU1r.js";import{h as a}from"./kRwTHNNb.chunk.js";function l(t,r){e.useEffect(()=>{t.hasCompleted&&(t.data||(t.hasError&&a(t.statusCode),r?o.throw(new i):a(f.BadRequest)))},[t.hasCompleted,t.data])}export{l as u};
|
|
2
|
+
//# sourceMappingURL=CeXuvOA5.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CeXuvOA5.chunk.js","sources":["../../src/apps/tv/hooks/useHandleRegionError.ts"],"sourcesContent":["import React from 'react';\n\nimport { HttpStatus } from 'libs/common/backbone/enums/HttpStatus';\nimport { Core } from 'libs/common/backbone/index';\nimport { Flight } from 'libs/common/react/index';\n\nimport { UnspecifiedDialogError } from 'libs/shared/errors/general/unspecified-dialog/UnspecifiedDialogError';\nimport { handleHttpError } from 'libs/shared/errors/handlers/HttpErrorHandlers';\n\nimport { TvRegion } from 'apps/tv/interfaces/models/TvRegion';\n\nexport function useHandleRegionError(response: Flight.Response<TvRegion>, popup?: boolean): void {\n React.useEffect(() => {\n if (!response.hasCompleted)\n return;\n\n if (response.data)\n return;\n\n if (response.hasError) {\n handleHttpError(response.statusCode);\n }\n\n if (popup)\n Core.ErrorHelper.throw(new UnspecifiedDialogError());\n else {\n handleHttpError(HttpStatus.BadRequest);\n }\n }, [ response.hasCompleted, response.data ]);\n}"],"names":["useHandleRegionError","response","popup","React","handleHttpError","Core.ErrorHelper","UnspecifiedDialogError","HttpStatus"],"mappings":"qGAWO,SAASA,EAAqBC,EAAqCC,EAAuB,CAC/FC,EAAM,UAAU,IAAM,CACfF,EAAS,eAGVA,EAAS,OAGTA,EAAS,UACXG,EAAgBH,EAAS,UAAU,EAGjCC,EACFG,EAAiB,MAAM,IAAIC,CAAwB,EAEnDF,EAAgBG,EAAW,UAAU,GAEzC,EAAG,CAAEN,EAAS,aAAcA,EAAS,IAAK,CAAC,CAC7C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{I as o,L as n,q as t,aG as s,am as a}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{I as o,L as n,q as t,aG as s,am as a}from"./app-B9-iRU1r.js";const i="tv.getRegionInfo",e=n.encloseNamespace(i);function l(g){const r={[o.AU]:{tv:e("foxtel"),country:e("au"),requestProgram:!0,programGuidePhraseKey:"foxtelTvGuide",logo:a.ProgramLogos.FOXTEL,bgColor:"bg-light-yellow"},[o.UK]:{tv:e("bbcRes"),country:e("uk"),requestProgram:!0,programGuidePhraseKey:"bbcSearch",logo:a.ProgramLogos.BBC,bgColor:"bg-light-blue"},[o.NZ]:{country:e("nz"),requestProgram:!1}}[g];return r||t.throw(new s("No region info mapped for instance region")),r}export{l as g};
|
|
2
|
+
//# sourceMappingURL=CjbS9gjG.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CjbS9gjG.chunk.js","sources":["../../src/apps/tv/utils/getRegionInfo/getRegionInfo.ts"],"sourcesContent":["import { DevError } from 'libs/common/backbone/errors/DevError';\nimport { Core } from 'libs/common/backbone/index';\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\n\nimport { InstanceRegion } from 'libs/shared/enums/InstanceRegion';\n\nimport { ImageUrls } from 'shared/constants/ImageUrls';\n\nconst namespace = 'tv.getRegionInfo';\nconst getPhrase = LanguageService.encloseNamespace(namespace);\n\ntype RegionInfo = {\n country: string;\n requestProgram: boolean;\n tv?: string;\n programGuidePhraseKey?: string;\n logo?: string;\n bgColor?: string;\n}\n\nexport function getRegionInfo(instanceRegion: InstanceRegion): RegionInfo {\n const regionMap: Partial<Record<InstanceRegion, RegionInfo>> = {\n [InstanceRegion.AU]: {\n tv: getPhrase('foxtel'),\n country: getPhrase('au'),\n requestProgram: true,\n programGuidePhraseKey: 'foxtelTvGuide',\n logo: ImageUrls.ProgramLogos.FOXTEL,\n bgColor: 'bg-light-yellow'\n },\n [InstanceRegion.UK]: {\n tv: getPhrase('bbcRes'),\n country: getPhrase('uk'),\n requestProgram: true,\n programGuidePhraseKey: 'bbcSearch',\n logo: ImageUrls.ProgramLogos.BBC,\n bgColor: 'bg-light-blue'\n },\n [InstanceRegion.NZ]: {\n country: getPhrase('nz'),\n requestProgram: false\n }\n };\n\n const regionInfo = regionMap[instanceRegion];\n\n if (!regionInfo)\n Core.ErrorHelper.throw(new DevError('No region info mapped for instance region'));\n\n return regionInfo;\n}"],"names":["namespace","getPhrase","LanguageService","getRegionInfo","instanceRegion","regionInfo","InstanceRegion","ImageUrls","Core.ErrorHelper","DevError"],"mappings":"oEAQA,MAAMA,EAAY,mBACZC,EAAYC,EAAgB,iBAAiBF,CAAS,EAWrD,SAASG,EAAcC,EAA4C,CAwBxE,MAAMC,EAvByD,CAC7D,CAACC,EAAe,EAAE,EAAG,CACnB,GAAIL,EAAU,QAAQ,EACtB,QAASA,EAAU,IAAI,EACvB,eAAgB,GAChB,sBAAuB,gBACvB,KAAMM,EAAU,aAAa,OAC7B,QAAS,iBAAA,EAEX,CAACD,EAAe,EAAE,EAAG,CACnB,GAAKL,EAAU,QAAQ,EACvB,QAASA,EAAU,IAAI,EACvB,eAAgB,GAChB,sBAAuB,YACvB,KAAMM,EAAU,aAAa,IAC7B,QAAS,eAAA,EAEX,CAACD,EAAe,EAAE,EAAG,CACnB,QAASL,EAAU,IAAI,EACvB,eAAgB,EAAA,CAClB,EAG2BG,CAAc,EAE3C,OAAKC,GACHG,EAAiB,MAAM,IAAIC,EAAS,2CAA2C,CAAC,EAE3EJ,CACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CjttP5Uk.chunk.js","sources":["../../../../libs/shared/src/hooks/UseHandleDialogError.ts"],"sourcesContent":["import React from 'react';\n\nimport { HttpStatus } from 'libs/common/backbone/enums/HttpStatus';\nimport { Core } from 'libs/common/backbone/index';\n\nimport { UnspecifiedDialogError } from 'libs/shared/errors/general/unspecified-dialog/UnspecifiedDialogError';\n\nexport function useHandleDialogError(...statusCodes: HttpStatus[]): void {\n React.useEffect(() => {\n if (!statusCodes.length)\n return;\n\n const hasErrorCode = statusCodes.some(Core.ErrorHelper.isStatusCodeError);\n\n if (!hasErrorCode)\n return;\n\n Core.ErrorHelper.throw(new UnspecifiedDialogError());\n }, statusCodes);\n}"],"names":["useHandleDialogError","statusCodes","React","Core.ErrorHelper","UnspecifiedDialogError"],"mappings":"qDAOO,SAASA,KAAwBC,EAAiC,CACvEC,EAAM,UAAU,IAAM,CAChB,CAACD,EAAY,QAKb,CAFiBA,EAAY,KAAKE,EAAiB,iBAAiB,GAKxEA,EAAiB,MAAM,IAAIC,CAAwB,CACrD,EAAGH,CAAW,CAChB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as g,ad as l,ae as m,af as E,A as n,L as i,a as s,b as c}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{j as g,ad as l,ae as m,af as E,A as n,L as i,a as s,b as c}from"./app-B9-iRU1r.js";import{P as x}from"./DcKDSzxe.chunk.js";const r="exchange.exchangeTabs",e=i.encloseNamespace(r),a={categories:{application:c.EXCHANGE,action:s.Exchange.INDEX},mostRecent:{application:c.EXCHANGE,action:s.Exchange.MOST_RECENT}},o={actionType:E.Click,entity:m.Url,location:l.MagicTabs};function h(p){const{active:t}=p;return g.jsx(x,{tabs:[{name:e("categories"),appLink:a.categories,active:t==="categories",analyticsData:{name:e("categories"),url:n.getHref(a.categories)},analyticsOptions:o},{name:e("mostRecent"),appLink:a.mostRecent,active:t==="most-recent",analyticsData:{name:i.getPhrase(r,"mostRecent"),url:n.getHref(a.mostRecent)},analyticsOptions:o}]})}export{h as E};
|
|
2
|
+
//# sourceMappingURL=Ck7ICj8m.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"Ck7ICj8m.chunk.js","sources":["../../src/apps/exchange/components/exchange-tabs/ExchangeTabs.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Core } from 'libs/common/backbone/index';\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\n\nimport { EntityType, LocationContext, UserAction } from 'libs/analytics/interfaces';\n\nimport { PillTabSelector } from 'libs/shared/components/pill-tab-selector/PillTabSelector';\n\nimport { Actions } from 'shared/constants/ExchangeActions';\nimport { AppChannels } from 'shared/constants/ExchangeRadioChannels';\n\nconst namespace = 'exchange.exchangeTabs';\nconst getPhrase = LanguageService.encloseNamespace(namespace);\n\nconst APP_LINKS = {\n categories: {\n application: AppChannels.EXCHANGE,\n action: Actions.Exchange.INDEX\n },\n mostRecent: {\n application: AppChannels.EXCHANGE,\n action: Actions.Exchange.MOST_RECENT\n }\n};\n\nconst ANALYTICS_OPTIONS = {\n actionType: UserAction.Click,\n entity: EntityType.Url,\n location: LocationContext.MagicTabs\n};\n\ninterface ExchangeTabs {\n active: 'categories' | 'most-recent' | 'featured-channels';\n}\n\nexport function ExchangeTabs(props: ExchangeTabs): JSX.Element {\n const { active } = props;\n\n return (\n <PillTabSelector\n tabs={[{\n name: getPhrase('categories'),\n appLink: APP_LINKS.categories,\n active: active === 'categories',\n analyticsData: {\n name: getPhrase('categories'),\n url: Core.AppLinkHelper.getHref(APP_LINKS.categories)\n },\n analyticsOptions: ANALYTICS_OPTIONS\n }, {\n name: getPhrase('mostRecent'),\n appLink: APP_LINKS.mostRecent,\n active: active === 'most-recent',\n analyticsData: {\n name: LanguageService.getPhrase(namespace, 'mostRecent'),\n url: Core.AppLinkHelper.getHref(APP_LINKS.mostRecent)\n },\n analyticsOptions: ANALYTICS_OPTIONS\n }]}\n />\n );\n}"],"names":["namespace","getPhrase","LanguageService","APP_LINKS","AppChannels","Actions","ANALYTICS_OPTIONS","UserAction","EntityType","LocationContext","ExchangeTabs","props","active","jsx","PillTabSelector","Core.AppLinkHelper"],"mappings":"kIAYA,MAAMA,EAAY,wBACZC,EAAYC,EAAgB,iBAAiBF,CAAS,EAEtDG,EAAY,CAChB,WAAY,CACV,YAAaC,EAAY,SACzB,OAAQC,EAAQ,SAAS,KAAA,EAE3B,WAAY,CACV,YAAaD,EAAY,SACzB,OAAQC,EAAQ,SAAS,WAAA,CAE7B,EAEMC,EAAoB,CACxB,WAAYC,EAAW,MACvB,OAAQC,EAAW,IACnB,SAAUC,EAAgB,SAC5B,EAMO,SAASC,EAAaC,EAAkC,CAC7D,KAAM,CAAE,OAAAC,GAAWD,EAEnB,OACEE,EAAAA,IAACC,EAAA,CACC,KAAM,CAAC,CACL,KAAMb,EAAU,YAAY,EAC5B,QAASE,EAAU,WACnB,OAAQS,IAAW,aACnB,cAAe,CACb,KAAMX,EAAU,YAAY,EAC5B,IAAKc,EAAmB,QAAQZ,EAAU,UAAU,CAAA,EAEtD,iBAAkBG,CAAA,EACjB,CACD,KAAML,EAAU,YAAY,EAC5B,QAASE,EAAU,WACnB,OAAQS,IAAW,cACnB,cAAe,CACb,KAAMV,EAAgB,UAAUF,EAAW,YAAY,EACvD,IAAKe,EAAmB,QAAQZ,EAAU,UAAU,CAAA,EAEtD,iBAAkBG,CAAA,CACnB,CAAA,CAAA,CAGP"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a3 as s,j as a,P as g,L as h,x as i,B as u,aD as x}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{a3 as s,j as a,P as g,L as h,x as i,B as u,aD as x}from"./app-B9-iRU1r.js";import{T as j}from"./DOwzdCZ2.chunk.js";import{T as r}from"./DuHONSHj.chunk.js";import"./CJZbn4PU.chunk.js";const l="tv.radioDownload",d=h.encloseNamespace(l);function T(o){const t=s(x.config()),e=s(r.program(o.id)),c=s(r.region(o.region));function m(){var n;const p=(n=e.data)==null?void 0:n.globalId.split("-").join("");return`${t.data.tvPreviewUrls[c.data.code]}/audio/${p}.mp3`}return t.hasCompleted&&e.hasCompleted?a.jsxs(g,{title:d("title"),closePopup:o.closePopup,showLoadingSpinner:!e.hasCompleted,children:[e.data&&a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"fw-semibold mb-2",children:e.data.title}),a.jsx("div",{className:"d-flex mb-2",children:a.jsx(j,{program:e.data,showDate:!0,showEndTime:!0})}),a.jsx("p",{children:e.data.description})]}),a.jsxs(i,{children:[a.jsx(i.Cancel,{text:d("cancel"),onClick:o.closePopup,variant:"link"}),a.jsx("a",{target:"_blank",href:m(),className:"btn btn-dark",children:a.jsx(u,{namespace:l,phrase:"download"})})]})]}):a.jsx(a.Fragment,{})}export{T as TvRadioDownloadView};
|
|
2
|
+
//# sourceMappingURL=CllCtq0-.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CllCtq0-.chunk.js","sources":["../../src/apps/tv/views/tv-radio-download/TvRadioDownloadView.tsx"],"sourcesContent":["import React from 'react';\n\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\nimport { Flight } from 'libs/common/react/index';\n\nimport { Popup, PopupProps } from 'libs/shared/components/popup/Popup';\nimport { PopupButtons } from 'libs/shared/components/popup/PopupButtons';\nimport { Text } from 'libs/shared/components/text/Text';\nimport { ConfigRequests } from 'libs/shared/flight-requests/ConfigRequests';\nimport { Config } from 'libs/shared/interfaces';\n\nimport { TvProgramTimeBadge } from 'apps/tv/components/tv-program-time-badge/TvProgramTimeBadge';\nimport { TvRequests } from 'apps/tv/flight-requests/TvRequests';\nimport { TvProgram } from 'apps/tv/interfaces/models/TvProgram';\nimport { TvRegion } from 'apps/tv/interfaces/models/TvRegion';\n\nconst namespace = 'tv.radioDownload';\nconst getPhrase = LanguageService.encloseNamespace(namespace);\n\ninterface TvRadioDownloadProps extends PopupProps {\n id: string;\n region: string;\n}\n\nexport function TvRadioDownloadView(props: TvRadioDownloadProps) {\n const config = Flight.useBasicFetch<Config>(ConfigRequests.config());\n const program = Flight.useBasicFetch<TvProgram>(TvRequests.program(props.id));\n const region = Flight.useBasicFetch<TvRegion>(TvRequests.region(props.region));\n\n function getDownloadLink() {\n const globalId = program.data?.globalId.split('-').join('');\n return `${config.data.tvPreviewUrls[region.data.code]}/audio/${globalId}.mp3`;\n }\n\n const hasLoaded = (config.hasCompleted && program.hasCompleted);\n\n if (!hasLoaded) {\n return <></>;\n }\n\n return (\n <Popup\n title={getPhrase('title')}\n closePopup={props.closePopup}\n showLoadingSpinner={!program.hasCompleted}\n >\n {program.data &&\n <>\n <p className='fw-semibold mb-2'>{program.data.title}</p>\n <div className='d-flex mb-2'>\n <TvProgramTimeBadge program={program.data} showDate showEndTime />\n </div>\n <p>{program.data.description}</p>\n </>\n }\n <PopupButtons>\n <PopupButtons.Cancel\n text={getPhrase('cancel')}\n onClick={props.closePopup}\n variant='link'\n />\n <a target='_blank' href={getDownloadLink()} className='btn btn-dark'>\n <Text namespace={namespace} phrase='download' />\n </a>\n </PopupButtons>\n </Popup>\n );\n}"],"names":["namespace","getPhrase","LanguageService","TvRadioDownloadView","props","config","Flight.useBasicFetch","ConfigRequests","program","TvRequests","region","getDownloadLink","globalId","_a","jsxs","Popup","Fragment","jsx","TvProgramTimeBadge","PopupButtons","Text"],"mappings":"8LAgBA,MAAMA,EAAY,mBACZC,EAAYC,EAAgB,iBAAiBF,CAAS,EAOrD,SAASG,EAAoBC,EAA6B,CAC/D,MAAMC,EAASC,EAA6BC,EAAe,QAAQ,EAC7DC,EAAUF,EAAgCG,EAAW,QAAQL,EAAM,EAAE,CAAC,EACtEM,EAASJ,EAA+BG,EAAW,OAAOL,EAAM,MAAM,CAAC,EAE7E,SAASO,GAAkB,OACzB,MAAMC,GAAWC,EAAAL,EAAQ,OAAR,YAAAK,EAAc,SAAS,MAAM,KAAK,KAAK,IACxD,MAAO,GAAGR,EAAO,KAAK,cAAcK,EAAO,KAAK,IAAI,CAAC,UAAUE,CAAQ,MACzE,CAIA,OAFmBP,EAAO,cAAgBG,EAAQ,aAOhDM,EAAAA,KAACC,EAAA,CACC,MAAOd,EAAU,OAAO,EACxB,WAAYG,EAAM,WAClB,mBAAoB,CAACI,EAAQ,aAE5B,SAAA,CAAAA,EAAQ,MACPM,EAAAA,KAAAE,EAAAA,SAAA,CACE,SAAA,CAAAC,MAAC,IAAA,CAAE,UAAU,mBAAoB,SAAAT,EAAQ,KAAK,MAAM,QACnD,MAAA,CAAI,UAAU,cACb,eAACU,EAAA,CAAmB,QAASV,EAAQ,KAAM,SAAQ,GAAC,YAAW,EAAA,CAAC,EAClE,QACC,IAAA,CAAG,SAAAA,EAAQ,KAAK,YAAY,CAAA,EAC/B,SAEDW,EAAA,CACC,SAAA,CAAAF,EAAAA,IAACE,EAAa,OAAb,CACC,KAAMlB,EAAU,QAAQ,EACxB,QAASG,EAAM,WACf,QAAQ,MAAA,CAAA,QAET,IAAA,CAAE,OAAO,SAAS,KAAMO,IAAmB,UAAU,eACpD,SAAAM,EAAAA,IAACG,EAAA,CAAK,UAAApB,EAAsB,OAAO,UAAA,CAAW,EAChD,CAAA,EACF,CAAA,CAAA,CAAA,EA3BKiB,EAAAA,IAAAD,EAAAA,SAAA,EAAE,CA8Bb"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as r}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{j as r}from"./app-B9-iRU1r.js";function m(t){return r.jsx("svg",{...t,children:r.jsx("path",{d:"m8.305 11.267 5.906-5.963a1.046 1.046 0 0 1 1.473 0l.011.01a1.034 1.034 0 0 1 0 1.467L10.526 12l5.17 5.22c.406.41.406 1.055 0 1.465l-.012.011a1.046 1.046 0 0 1-1.473 0l-5.906-5.963a1.034 1.034 0 0 1 0-1.466",fill:"currentColor"})})}const o={numItems:5,minWidth:50,maxWidth:100},e={getPartialLoadingItems(t={}){const a={...o,...t},n=()=>Math.max(Math.floor(Math.random()*a.maxWidth),a.minWidth);return[...Array(a.numItems)].map(()=>({width:`${n()}px`}))}};export{m as C,e as P};
|
|
2
|
+
//# sourceMappingURL=CmFTfavO.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CmFTfavO.chunk.js","sources":["../../../../libs/shared/src/images/svg/arrows/ChevronLeftSvg.tsx","../../../../libs/shared/src/utils/PartialLoadingHelper.ts"],"sourcesContent":["import React from 'react';\n\nexport function ChevronLeftSvg(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg {...props}>\n <path\n d='m8.305 11.267 5.906-5.963a1.046 1.046 0 0 1 1.473 0l.011.01a1.034 1.034 0 0 1 0 1.467L10.526 12l5.17 5.22c.406.41.406 1.055 0 1.465l-.012.011a1.046 1.046 0 0 1-1.473 0l-5.906-5.963a1.034 1.034 0 0 1 0-1.466'\n fill='currentColor'\n />\n </svg>\n );\n}\n","const DEFAULT_PARTIAL_LOADING_OPTIONS: PartialLoadingOptions = {\n numItems: 5,\n minWidth: 50, // px\n maxWidth: 100 // px\n};\n\nexport interface PartialLoadingOptions {\n numItems?: number;\n minWidth?: number;\n maxWidth?: number;\n}\n\ninterface PartialLoadingItem {\n width: string;\n}\n\nexport const PartialLoadingHelper = {\n getPartialLoadingItems(options: PartialLoadingOptions = {}): PartialLoadingItem[] {\n const opts = {\n ...DEFAULT_PARTIAL_LOADING_OPTIONS,\n ...options\n };\n\n const getRandomFilterWidth = () => Math.max(Math.floor(Math.random() * opts.maxWidth), opts.minWidth);\n\n return [...Array(opts.numItems)].map(() => ({ width: `${getRandomFilterWidth()}px` }));\n }\n};"],"names":["ChevronLeftSvg","props","jsx","DEFAULT_PARTIAL_LOADING_OPTIONS","PartialLoadingHelper","options","opts","getRandomFilterWidth"],"mappings":"sCAEO,SAASA,EAAeC,EAAsC,CACnE,OACEC,EAAAA,IAAC,MAAA,CAAK,GAAGD,EACP,SAAAC,EAAAA,IAAC,OAAA,CACC,EAAE,iNACF,KAAK,cAAA,CAAA,EAET,CAEJ,CCXA,MAAMC,EAAyD,CAC7D,SAAU,EACV,SAAU,GACV,SAAU,GACZ,EAYaC,EAAuB,CAClC,uBAAuBC,EAAiC,GAA0B,CAChF,MAAMC,EAAO,CACX,GAAGH,EACH,GAAGE,CAAA,EAGCE,EAAuB,IAAM,KAAK,IAAI,KAAK,MAAM,KAAK,OAAA,EAAWD,EAAK,QAAQ,EAAGA,EAAK,QAAQ,EAEpG,MAAO,CAAC,GAAG,MAAMA,EAAK,QAAQ,CAAC,EAAE,IAAI,KAAO,CAAE,MAAO,GAAGC,EAAA,CAAsB,MAAO,CACvF,CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{H as c,R as s,a3 as r,ab as i,ac as l,ae as u,ad as f,af as w,j as p,aD as k}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{H as c,R as s,a3 as r,ab as i,ac as l,ae as u,ad as f,af as w,j as p,aD as k}from"./app-B9-iRU1r.js";import{D as y}from"./CsxfXB_f.chunk.js";const D={createDownloadToken(o){return{url:"/api/downloadproxy/api/tokens",key:`download:token:${o}`,data:{objectId:o},type:c.POST,normalize:!1}}};function R(o){const a=s.useRef(null),e=r(k.config()),t=r(D.createDownloadToken(o.id)),n=!!e.data&&!!t.data;return s.useEffect(()=>{if(!n||!a.current)return;const d=y.getVideoDownloadUrl(e.data.downloadProxy,t.data.token);a.current.src=d,i.logUserAction({id:o.id},{actionType:w.Download,location:f.Popup,entity:u.Video,workflowPhase:l.Complete})},[n,a.current]),p.jsx("iframe",{ref:a})}export{R as DownloadVideoView};
|
|
2
|
+
//# sourceMappingURL=CoJMfNPY.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CoJMfNPY.chunk.js","sources":["../../src/shared/flight-requests/DownloadRequests.ts","../../src/shared/views/download-video/DownloadVideoView.tsx"],"sourcesContent":["import { HttpVerbs } from 'libs/common/backbone/enums/HttpVerbs';\nimport { Flight } from 'libs/common/flight';\n\nexport const DownloadRequests = {\n createDownloadToken(videoId: string): Flight.Request {\n return {\n url: '/api/downloadproxy/api/tokens',\n key: `download:token:${videoId}`,\n data: { objectId: videoId },\n type: HttpVerbs.POST,\n normalize: false\n };\n }\n};","import React from 'react';\n\nimport { Flight } from 'libs/common/flight';\nimport { HashObject } from 'libs/common/react/interfaces';\n\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\nimport { EntityType, LocationContext, UserAction, WorkflowPhase } from 'libs/analytics/interfaces';\n\nimport { ConfigRequests } from 'libs/shared/flight-requests/ConfigRequests';\nimport { Config } from 'libs/shared/interfaces';\nimport { DownloadHelper } from 'libs/shared/utils/DownloadHelper';\n\nimport { DownloadRequests } from 'shared/flight-requests/DownloadRequests';\n\ninterface DownloadVideoViewProps {\n id: string;\n}\n\n// eslint-disable-next-line rulesdir/require-view-title\nexport function DownloadVideoView(props: DownloadVideoViewProps): JSX.Element {\n const ref = React.useRef(null);\n\n const config = Flight.useBasicFetch<Config>(ConfigRequests.config());\n const downloadToken = Flight.useBasicFetch<HashObject>(DownloadRequests.createDownloadToken(props.id));\n\n const dataLoaded = !!config.data && !!downloadToken.data;\n\n React.useEffect(() => {\n if (!dataLoaded || !ref.current)\n return;\n\n const url = DownloadHelper.getVideoDownloadUrl(config.data.downloadProxy, downloadToken.data.token);\n ref.current.src = url;\n\n AnalyticsHelper.logUserAction({\n id: props.id\n }, {\n actionType: UserAction.Download,\n location: LocationContext.Popup,\n entity: EntityType.Video,\n workflowPhase: WorkflowPhase.Complete\n });\n }, [ dataLoaded, ref.current ]);\n\n return (\n <iframe ref={ref} />\n );\n}"],"names":["DownloadRequests","videoId","HttpVerbs","DownloadVideoView","props","ref","React","config","Flight.useBasicFetch","ConfigRequests","downloadToken","dataLoaded","url","DownloadHelper","AnalyticsHelper","UserAction","LocationContext","EntityType","WorkflowPhase","jsx"],"mappings":"oJAGO,MAAMA,EAAmB,CAC9B,oBAAoBC,EAAiC,CACnD,MAAO,CACL,IAAK,gCACL,IAAK,kBAAkBA,CAAO,GAC9B,KAAM,CAAE,SAAUA,CAAA,EAClB,KAAMC,EAAU,KAChB,UAAW,EAAA,CAEf,CACF,ECMO,SAASC,EAAkBC,EAA4C,CAC5E,MAAMC,EAAMC,EAAM,OAAO,IAAI,EAEvBC,EAASC,EAA6BC,EAAe,QAAQ,EAC7DC,EAAgBF,EAAiCR,EAAiB,oBAAoBI,EAAM,EAAE,CAAC,EAE/FO,EAAa,CAAC,CAACJ,EAAO,MAAQ,CAAC,CAACG,EAAc,KAEpD,OAAAJ,EAAM,UAAU,IAAM,CACpB,GAAI,CAACK,GAAc,CAACN,EAAI,QACtB,OAEF,MAAMO,EAAMC,EAAe,oBAAoBN,EAAO,KAAK,cAAeG,EAAc,KAAK,KAAK,EAClGL,EAAI,QAAQ,IAAMO,EAElBE,EAAgB,cAAc,CAC5B,GAAIV,EAAM,EAAA,EACT,CACD,WAAYW,EAAW,SACvB,SAAUC,EAAgB,MAC1B,OAAQC,EAAW,MACnB,cAAeC,EAAc,QAAA,CAC9B,CACH,EAAG,CAAEP,EAAYN,EAAI,OAAQ,CAAC,EAG5Bc,MAAC,UAAO,IAAAd,EAAU,CAEtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Vi,b5 as mw,b6 as mt,T as gw,F as $b,as as jd,b7 as Jn,af as ni,ae as wi,b8 as gv,b9 as vw,ba as vv,bb as yw,ad as _l,bc as Cm,bd as we,be as We,bf as Ys,ac as Dl,bg as yv,bh as _w,bi as Tw,bj as bw,bk as Sw,bl as Cw,bm as Ew,bn as ww,bo as kw,bp as xw,bq as Aw,br as Pw,bs as Iw,bt as Dw,bu as Nw,bv as Lw,bw as Ow,bx as Mw,q as Rw,r as Us,by as Bw,R as It,c as Fw,j as oe,L as bh,K as Em,w as ja,G as _n,V as fp,ab as Zn,aI as Uw,W as $w,bz as Ru,aW as Bu,bA as jb,bB as jw,au as Na,ap as Vb,bC as Vw,aA as Hb,aJ as Hw,ar as cc,M as hc,bD as qw,A as zw,aq as Ww,at as Gw,ag as Kw,bE as _v,B as Tl,bF as Xw,Z as Qw}from"./app-
|
|
1
|
+
import{y as Vi,b5 as mw,b6 as mt,T as gw,F as $b,as as jd,b7 as Jn,af as ni,ae as wi,b8 as gv,b9 as vw,ba as vv,bb as yw,ad as _l,bc as Cm,bd as we,be as We,bf as Ys,ac as Dl,bg as yv,bh as _w,bi as Tw,bj as bw,bk as Sw,bl as Cw,bm as Ew,bn as ww,bo as kw,bp as xw,bq as Aw,br as Pw,bs as Iw,bt as Dw,bu as Nw,bv as Lw,bw as Ow,bx as Mw,q as Rw,r as Us,by as Bw,R as It,c as Fw,j as oe,L as bh,K as Em,w as ja,G as _n,V as fp,ab as Zn,aI as Uw,W as $w,bz as Ru,aW as Bu,bA as jb,bB as jw,au as Na,ap as Vb,bC as Vw,aA as Hb,aJ as Hw,ar as cc,M as hc,bD as qw,A as zw,aq as Ww,at as Gw,ag as Kw,bE as _v,B as Tl,bF as Xw,Z as Qw}from"./app-B9-iRU1r.js";import{r as qb,V as Yw}from"./BswyFk_N.chunk.js";import{S as Jw,l as Zw}from"./rHycMxyI.chunk.js";import{T as ek,d as tk,V as ik,L as rk}from"./EZNN4Yu0.chunk.js";import{C as wm}from"./CeOQ6-zQ.chunk.js";import{S as nk}from"./CqnxxpxX.chunk.js";import{C as sk}from"./DRF-fC47.chunk.js";import{s as ak,c as ok,a as Tv}from"./CVYxTfiV.chunk.js";import{u as zb,a as lk}from"./CV5zDyPS.chunk.js";import{D as uk,R as Za,B as bv,a as Sv}from"./DgCSpWkC.chunk.js";import{u as ck}from"./C1lszv3N.chunk.js";import{D as hk}from"./CsxfXB_f.chunk.js";import{M as Nl}from"./Cwb-wgJ-.chunk.js";import{B as dk}from"./DSEhNJwx.chunk.js";import{A as fk}from"./LvDJgDKk.chunk.js";import{B as pk}from"./DEH_8veD.chunk.js";import{T as Cv}from"./B668bf5B.chunk.js";import{V as Ev}from"./C6L3Q2Qr.chunk.js";import{b as mk}from"./BqNxbGAd.chunk.js";import{T as gk}from"./bTy6Dmvr.chunk.js";import{T as vk}from"./B4V5N8Aj.chunk.js";import{T as yk}from"./DOwzdCZ2.chunk.js";var Vd,wv;function bo(){if(wv)return Vd;wv=1;var s;return typeof window<"u"?s=window:typeof globalThis<"u"?s=globalThis:typeof self<"u"?s=self:s={},Vd=s,Vd}var _k=bo();const D=Vi(_k),Tk={},bk=Object.freeze(Object.defineProperty({__proto__:null,default:Tk},Symbol.toStringTag,{value:"Module"})),Sk=mw(bk);var Hd,kv;function Wb(){if(kv)return Hd;kv=1;var s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},e=Sk,t;return typeof document<"u"?t=document:(t=s["__GLOBAL_DOCUMENT_CACHE@4"],t||(t=s["__GLOBAL_DOCUMENT_CACHE@4"]=e)),Hd=t,Hd}var Ck=Wb();const le=Vi(Ck);var Fu={exports:{}},qd,xv;function Gb(){if(xv)return qd;xv=1,qd=e;var s=Object.prototype.toString;function e(t){if(!t)return!1;var i=s.call(t);return i==="[object Function]"||typeof t=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}return qd}var zd,Av;function Ek(){if(Av)return zd;Av=1;function s(r,n){var a=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(a)return(a=a.call(r)).next.bind(a);if(Array.isArray(r)||(a=e(r))||n){a&&(r=a);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e(r,n){if(r){if(typeof r=="string")return t(r,n);var a=Object.prototype.toString.call(r).slice(8,-1);if(a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set")return Array.from(r);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(r,n)}}function t(r,n){(n==null||n>r.length)&&(n=r.length);for(var a=0,o=new Array(n);a<n;a++)o[a]=r[a];return o}var i=(function(){function r(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var n=r.prototype;return n.getIsEnabled=function(){return this.enabled_},n.enable=function(){this.enabled_=!0},n.disable=function(){this.enabled_=!1},n.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},n.addInterceptor=function(o,l){this.typeToInterceptorsMap_.has(o)||this.typeToInterceptorsMap_.set(o,new Set);var u=this.typeToInterceptorsMap_.get(o);return u.has(l)?!1:(u.add(l),!0)},n.removeInterceptor=function(o,l){var u=this.typeToInterceptorsMap_.get(o);return u&&u.has(l)?(u.delete(l),!0):!1},n.clearInterceptorsByType=function(o){var l=this.typeToInterceptorsMap_.get(o);return l?(this.typeToInterceptorsMap_.delete(o),this.typeToInterceptorsMap_.set(o,new Set),!0):!1},n.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},n.getForType=function(o){return this.typeToInterceptorsMap_.get(o)||new Set},n.execute=function(o,l){for(var u=this.getForType(o),c=s(u),h;!(h=c()).done;){var f=h.value;try{l=f(l)}catch{}}return l},r})();return zd=i,zd}var Wd,Pv;function wk(){if(Pv)return Wd;Pv=1;var s=(function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var i=t.prototype;return i.getIsEnabled=function(){return this.enabled_},i.enable=function(){this.enabled_=!0},i.disable=function(){this.enabled_=!1},i.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},i.getMaxAttempts=function(){return this.maxAttempts_},i.setMaxAttempts=function(n){this.maxAttempts_=n},i.getDelayFactor=function(){return this.delayFactor_},i.setDelayFactor=function(n){this.delayFactor_=n},i.getFuzzFactor=function(){return this.fuzzFactor_},i.setFuzzFactor=function(n){this.fuzzFactor_=n},i.getInitialDelay=function(){return this.initialDelay_},i.setInitialDelay=function(n){this.initialDelay_=n},i.createRetry=function(n){var a=n===void 0?{}:n,o=a.maxAttempts,l=a.delayFactor,u=a.fuzzFactor,c=a.initialDelay;return new e({maxAttempts:o||this.maxAttempts_,delayFactor:l||this.delayFactor_,fuzzFactor:u||this.fuzzFactor_,initialDelay:c||this.initialDelay_})},t})(),e=(function(){function t(r){this.maxAttempts_=r.maxAttempts,this.delayFactor_=r.delayFactor,this.fuzzFactor_=r.fuzzFactor,this.currentDelay_=r.initialDelay,this.currentAttempt_=1}var i=t.prototype;return i.moveToNextAttempt=function(){this.currentAttempt_++;var n=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+n},i.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},i.getCurrentDelay=function(){return this.currentDelay_},i.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},i.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},i.getCurrentFuzzedDelay=function(){var n=this.getCurrentMinPossibleDelay(),a=this.getCurrentMaxPossibleDelay();return n+Math.random()*(a-n)},t})();return Wd=s,Wd}var Gd,Iv;function kk(){if(Iv)return Gd;Iv=1;var s=bo(),e=function(r,n){return n===void 0&&(n=!1),function(a,o,l){if(a){r(a);return}if(o.statusCode>=400&&o.statusCode<=599){var u=l;if(n)if(s.TextDecoder){var c=t(o.headers&&o.headers["content-type"]);try{u=new TextDecoder(c).decode(l)}catch{}}else u=String.fromCharCode.apply(null,new Uint8Array(l));r({cause:u});return}r(null,l)}};function t(i){return i===void 0&&(i=""),i.toLowerCase().split(";").reduce(function(r,n){var a=n.split("="),o=a[0],l=a[1];return o.trim()==="charset"?l.trim():r},"utf-8")}return Gd=e,Gd}var Dv;function xk(){if(Dv)return Fu.exports;Dv=1;var s=bo(),e=qb(),t=Gb(),i=Ek(),r=wk();u.httpHandler=kk(),u.requestInterceptorsStorage=new i,u.responseInterceptorsStorage=new i,u.retryManager=new r;/**
|
|
3
3
|
* @license
|
|
4
4
|
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
@@ -239,7 +239,7 @@ ${ka(e)}`),t.map&&!t.map.bytes&&(this.logger_("going to request init segment."),
|
|
|
239
239
|
</svg>
|
|
240
240
|
`;class pg extends GN{constructor(e,t){super(e,t)}createEl(){const e=KN.prototype.createEl.call(this,"button",{className:this.buildCSSClass()},{type:"button",title:this.controlText_});return e.innerHTML=XN,this.createControlTextEl(e),e}handleClick(e){var t;e.stopPropagation(),e.preventDefault(),(t=this.options_)!=null&&t.onClick&&this.options_.onClick()}buildCSSClass(){return"cv-remove-video-button"}}R.registerComponent("removeVideoButton",pg);pg.prototype.controlText_="Remove from watch history";class Bl{static getKnownProfiles(){return["1080","720","480","360","240"]}static enableProfileOrNextBest(e,t){let i=e.getQualityLevelById(t);if(i||(i=this.getNextBestQuality(e,t)),!i)return null;for(let r=0;r<e.length;r++){const n=e[r];n.enabled=i.id===n.id}return i}static getNextBestQuality(e,t){const i=this.getKnownProfiles(),r=i.indexOf(t);if(r>=0){for(let n=r+1;n<i.length;n++){const a=i[n],o=e.getQualityLevelById(a);if(o)return o}for(let n=r-1;n>0;n--){const a=i[n],o=e.getQualityLevelById(a);if(o)return o}}return null}}var mg=(s=>(s.Default="play",s.Hover="hover",s))(mg||{});const QN=R.getPlugin("plugin"),l_="cv-preview-mode",u_="cv-force-16-9";class YN extends QN{constructor(e,t){super(e),this.hasSeeked=!1,this.buttonAdded=!1,this.mode=null,this.defaultDisplayMode="normal",this.onQualityReady=null,t!=null&&t.defaultDisplayMode&&(this.defaultDisplayMode=t.defaultDisplayMode),t!=null&&t.startTime&&(this.startTime=t.startTime),this.onSeek=this.onSeek.bind(this),this.player.one("seeking",this.onSeek)}onSeek(){this.hasSeeked=!0}dispose(){this.cleanupQualityListener(),this.player.off("seeking",this.onSeek),super.dispose()}getMode(){return this.mode}isHovering(){return this.mode==="hover"}setPlayerMode(e,t,i){this.player.trigger("flushprogress");const r=this.mode;if(this.mode=e,e==="hover"){this.buttonAdded||this.addButtons(t,i),this.player.addClass(l_),this.applyAspectRatioFix(),this.enableSubtitles(),this.mute(),this.setLowQuality(),this.removeActivityTimeout(),this.player.trigger("resize");return}r==="hover"&&(this.applyDefaultModeLayout(),this.player.removeClass(l_),this.player.removeClass(u_),this.disableSubtitles(),this.unmute(),this.cleanupQualityListener(),this.restorePreviousQuality(),this.restoreActivityTimeout(),this.player.trigger("resize"),this.hasSeeked||(this.player.currentTime(this.startTime??0),this.hasSeeked=!1))}applyDefaultModeLayout(){var e,t;this.defaultDisplayMode==="theatre"?((e=this.player.theatreModePlugin())==null||e.toggleTheatreMode(!0),this.player.fill(!0)):((t=this.player.theatreModePlugin())==null||t.toggleTheatreMode(!1),this.player.fluid(!0))}applyAspectRatioFix(){const e=()=>{const t=this.player.videoWidth(),i=this.player.videoHeight();if(t>0&&i>0){const r=t/i;Math.abs(r-16/9)<.01||this.player.addClass(u_)}};this.player.readyState()>=1?e():this.player.one("loadedmetadata",e)}addButtons(e,t){const i=new fg(this.player),r=new L1(this.player,{onClickHandler:e}),n=new pg(this.player,{onClick:t});t&&$b.isFunction(t)&&this.player.addChild(n),this.player.addChild(i),this.player.addChild(r),this.buttonAdded=!0}enableSubtitles(){this.player.dataLoaded(()=>this.player.persistSubtitleSettingsPlugin().previewModeSubtitles())}disableSubtitles(){this.player.dataLoaded(()=>this.player.persistSubtitleSettingsPlugin().applyUserPreferences())}mute(){this.player.ready(()=>{this.player.persistVolumePlugin().disable(),this.player.muted(!0)})}unmute(){this.player.ready(()=>{this.player.persistVolumePlugin().applyUserPreferences(),this.player.persistVolumePlugin().enable()})}setLowQuality(){this.player.dataLoaded(()=>{this.player.persistQualitySettingsPlugin().disable();const e=this.player.qualityLevels();if(e.length>0){this.switchToLowestQuality(e);return}this.cleanupQualityListener(),this.onQualityReady=()=>{this.onQualityReady=null,this.switchToLowestQuality(e)},e.one("change",this.onQualityReady)})}cleanupQualityListener(){this.onQualityReady&&(this.player.qualityLevels().off("change",this.onQualityReady),this.onQualityReady=null)}switchToLowestQuality(e){const t=this.getLowestAvailableQuality(e);t&&Bl.enableProfileOrNextBest(e,t.id)}getLowestAvailableQuality(e){const t=[...Bl.getKnownProfiles()].reverse();for(const i of t){const r=e.getQualityLevelById(i);if(r)return r}return null}restorePreviousQuality(){this.player.dataLoaded(()=>{this.player.persistQualitySettingsPlugin().applyUserPreferences(),this.player.persistQualitySettingsPlugin().enable()})}removeActivityTimeout(){this.player.cache_.inactivityTimeout=this.player.options_.inactivityTimeout,this.player.options_.inactivityTimeout=0}restoreActivityTimeout(){this.player.options_.inactivityTimeout=this.player.cache_.inactivityTimeout}}R.registerPlugin("playerModePlugin",YN);class JN{constructor(e){this.options=e,this.initialize()}logStream(){const e=`v:${this.options.videoId}`;jd.cacheExists(e)||(this.collectionApiClient.log({type:ni.WebPlayerStream,actionContext:this.getActionContext(),data:this.getAnalyticsData(),eventVersion:Jn.V3}),jd&&jd.cacheSet(e,null,300))}logVideoProgress(e){const t=this.getAnalyticsData();this.collectionApiClient.log(e.map(i=>({type:ni.StreamProgress,actionContext:this.getActionContext(),data:{...t,progress:i},eventVersion:Jn.V2})))}logVideoPreviewProgress(e){const t=this.getAnalyticsData();this.collectionApiClient.log(e.map(i=>({type:ni.PreviewStreamProgress,actionContext:this.getActionContext(),data:{...t,progress:i},eventVersion:Jn.V2})))}logUserAction(e,t){const i={...this.getAnalyticsData(),...e},r={...this.getActionContext(),...t};this.collectionApiClient.log({type:t.actionType,data:i,actionContext:r,eventVersion:t.eventVersion||Jn.V2})}getAnalyticsData(){const e={video:{id:this.options.videoId},flags:{isUsingLocalCache:this.options.isUsingLocalCache},...this.options.additionalAnalyticsData||{}};this.options.shareId&&(e.video.shareId=this.options.shareId);const t=this.getEntityType();return t===wi.Interactive?e.interactive={id:+this.options.mediaId}:t===wi.Clip&&(e.clip={id:+this.options.mediaId}),e}initialize(){this.setupCollectionApiClient(),gv.lockWindowSession(),this.options.player.one("dispose",()=>gv.unlockWindowSession())}setupCollectionApiClient(){this.collectionApiClient=new vw({productName:"player.web",productVersion:this.options.productVersion,regionName:this.options.regionName,collectionApiUrls:this.options.collectionApiUrls,collectionApiClientId:this.options.collectionApiClientId,getUser:()=>this.getCurrentUser(),shouldLog:vv.shouldLog,formatData:vv.formatData})}async getCurrentUser(){return{id:this.options.userId,customerId:this.options.customerId,sessionId:this.options.authSessionId}}getActionContext(){return{entity:this.getEntityType(),location:this.getLocationContext(),productArea:void 0,descriptor:this.options.isEmbedded?yw.Embedded:void 0,workflowPhase:void 0}}getEntityType(){switch(this.options.mediaType){case"MasterVideo":return wi.Video;case"MasterInteractive":return wi.Interactive;case"MasterClip":return wi.Clip}}getLocationContext(){switch(this.options.playerType){case"player":return _l.Player;case"interactive-player":return _l.InteractivePlayer;case"create-clip-player":return _l.CreateClipPlayer}}}class Vp extends Error{constructor(e,t){super((t==null?void 0:t.title)||"Ajax error"),this.url=e,this.response=t}}class ZN{constructor(){this.tokens={gateway:null}}async get(e,t){return await this.parseResponse(await fetch(e,{method:"GET",mode:"cors",headers:this.getHeaders(t)}))}async delete(e,t){await fetch(e,{method:"DELETE",headers:this.getHeaders(t)})}async post(e,t,i,r=!0){const n=await fetch(e,{method:"POST",headers:this.getHeaders(i),body:t,mode:"cors"});if(r)return await this.parseResponse(n)}async put(e,t,i,r=!0){const n=await fetch(e,{method:"PUT",headers:this.getHeaders(i),body:t,mode:"cors"});if(r)return await this.parseResponse(n)}setToken(e,t){this.tokens[e]=t}hasToken(e){return!!this.tokens[e]}getHeaders(e={}){const t={"Content-Type":"application/json"};return this.tokens[e.tokenName]&&(t.authorization=`Bearer ${this.tokens[e.tokenName]}`),t}async parseResponse(e){if(e.status===404)return null;if(!e.ok){let i;try{i=await e.json()}catch{throw new Vp(e.url)}finally{throw new Vp(e.url,i)}}return await e.json()}}const Hp=new ZN;var Wu={exports:{}},c_;function eL(){return c_||(c_=1,(function(s,e){function t(l){if(l&&typeof l=="object"){var u=l.which||l.keyCode||l.charCode;u&&(l=u)}if(typeof l=="number")return a[l];var c=String(l),h=i[c.toLowerCase()];if(h)return h;var h=r[c.toLowerCase()];if(h)return h;if(c.length===1)return c.charCodeAt(0)}t.isEventKey=function(u,c){if(u&&typeof u=="object"){var h=u.which||u.keyCode||u.charCode;if(h==null)return!1;if(typeof c=="string"){var f=i[c.toLowerCase()];if(f)return f===h;var f=r[c.toLowerCase()];if(f)return f===h}else if(typeof c=="number")return c===h;return!1}},e=s.exports=t;var i=e.code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=e.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
|
|
241
241
|
* Programatically add the following
|
|
242
|
-
*/for(n=97;n<123;n++)i[String.fromCharCode(n)]=n-32;for(var n=48;n<58;n++)i[n-48]=n;for(n=1;n<13;n++)i["f"+n]=n+111;for(n=0;n<10;n++)i["numpad "+n]=n+96;var a=e.names=e.title={};for(n in i)a[i[n]]=n;for(var o in r)i[o]=r[o]})(Wu,Wu.exports)),Wu.exports}var tL=eL();const Ge=Vi(tL);function iL(s){document[s.fsApi_.fullscreenEnabled]&&(s.isFullscreen()?s.exitFullscreen():s.requestFullscreen())}function rL(s){const e=s.theatreModePlugin().getTheatreMode();s.theatreModePlugin().toggleTheatreMode(!e,{shouldLog:!0})}function nL(s){const e=s.volume(),t=s.lastVolume_();if(e===0){const i=t<.1?.1:t;s.volume(i),s.muted(!1)}else s.muted(!s.muted())}function h_(s){s.paused()?s.play():s.pause()}function Gu(s,e){s.currentTime(s.currentTime()+e)}function d_(s,e){e>0&&s.muted()&&s.muted(!1),s.volume(s.volume()+e)}function sL(s){const e=s.target,t=["video-js","vjs-tech"];return e.tagName.toLowerCase()==="video"||!!t.find(i=>e.classList.contains(i))}const f_={f:iL,m:nL,k:h_,space:h_,t:rL,left:s=>Gu(s,-5),right:s=>Gu(s,5),j:s=>Gu(s,-10),l:s=>Gu(s,10),up:s=>d_(s,.05),down:s=>d_(s,-.05)};function aL(s,e,t){if(s.ctrlKey||s.metaKey||s.altKey)return;const i=Ge(s),n=["up","down"].includes(i);if(n&&!s.shiftKey||!n&&s.shiftKey||i==="t"&&!t.allowTheatreMode||i==="f"&&!t.allowFullscreen||!f_[i])return;f_[i](e,s);const a=sL(s),o=["space"].includes(i);(a||o)&&(s.preventDefault(),s.stopPropagation())}var O1=(s=>(s.PhysicallyChapteredVideo="physically-chaptered-video",s))(O1||{});const oL="1.42.0-rc.
|
|
242
|
+
*/for(n=97;n<123;n++)i[String.fromCharCode(n)]=n-32;for(var n=48;n<58;n++)i[n-48]=n;for(n=1;n<13;n++)i["f"+n]=n+111;for(n=0;n<10;n++)i["numpad "+n]=n+96;var a=e.names=e.title={};for(n in i)a[i[n]]=n;for(var o in r)i[o]=r[o]})(Wu,Wu.exports)),Wu.exports}var tL=eL();const Ge=Vi(tL);function iL(s){document[s.fsApi_.fullscreenEnabled]&&(s.isFullscreen()?s.exitFullscreen():s.requestFullscreen())}function rL(s){const e=s.theatreModePlugin().getTheatreMode();s.theatreModePlugin().toggleTheatreMode(!e,{shouldLog:!0})}function nL(s){const e=s.volume(),t=s.lastVolume_();if(e===0){const i=t<.1?.1:t;s.volume(i),s.muted(!1)}else s.muted(!s.muted())}function h_(s){s.paused()?s.play():s.pause()}function Gu(s,e){s.currentTime(s.currentTime()+e)}function d_(s,e){e>0&&s.muted()&&s.muted(!1),s.volume(s.volume()+e)}function sL(s){const e=s.target,t=["video-js","vjs-tech"];return e.tagName.toLowerCase()==="video"||!!t.find(i=>e.classList.contains(i))}const f_={f:iL,m:nL,k:h_,space:h_,t:rL,left:s=>Gu(s,-5),right:s=>Gu(s,5),j:s=>Gu(s,-10),l:s=>Gu(s,10),up:s=>d_(s,.05),down:s=>d_(s,-.05)};function aL(s,e,t){if(s.ctrlKey||s.metaKey||s.altKey)return;const i=Ge(s),n=["up","down"].includes(i);if(n&&!s.shiftKey||!n&&s.shiftKey||i==="t"&&!t.allowTheatreMode||i==="f"&&!t.allowFullscreen||!f_[i])return;f_[i](e,s);const a=sL(s),o=["space"].includes(i);(a||o)&&(s.preventDefault(),s.stopPropagation())}var O1=(s=>(s.PhysicallyChapteredVideo="physically-chaptered-video",s))(O1||{});const oL="1.42.0-rc.2",lL={version:oL};var Cf,p_;function uL(){if(p_)return Cf;p_=1,Cf=s;function s(e,t){var i,r=null;try{i=JSON.parse(e,t)}catch(n){r=n}return[r,i]}return Cf}var cL=uL();const hL=Vi(cL);var Ku={exports:{}},Ef,m_;function dL(){if(m_)return Ef;m_=1;var s=bo(),e=function(r,n){return n===void 0&&(n=!1),function(a,o,l){if(a){r(a);return}if(o.statusCode>=400&&o.statusCode<=599){var u=l;if(n)if(s.TextDecoder){var c=t(o.headers&&o.headers["content-type"]);try{u=new TextDecoder(c).decode(l)}catch{}}else u=String.fromCharCode.apply(null,new Uint8Array(l));r({cause:u});return}r(null,l)}};function t(i){return i===void 0&&(i=""),i.toLowerCase().split(";").reduce(function(r,n){var a=n.split("="),o=a[0],l=a[1];return o.trim()==="charset"?l.trim():r},"utf-8")}return Ef=e,Ef}var g_;function fL(){if(g_)return Ku.exports;g_=1;var s=bo(),e=qb(),t=Gb();o.httpHandler=dL();/**
|
|
243
243
|
* @license
|
|
244
244
|
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
245
245
|
* Copyright (c) 2014 David Björklund
|
|
@@ -366,4 +366,4 @@ browserWorkerPolyFill(self);
|
|
|
366
366
|
${Xt.thumbnailContainer} ${s.titlePosition==="above"?Xt.titleAbove:""}
|
|
367
367
|
${Xt.imageStyle}
|
|
368
368
|
`,children:oe.jsx(aV,{resource:s.data,imageCdnUrl:s.imageCdnUrl,imageErrorFallbackUrl:s.imageErrorFallbackUrl,preloadImage:s.preloadImage})}),t&&s.onClickDownload&&s.actionBehaviour==="normal"&&oe.jsx("div",{className:Xt.actions,children:oe.jsx(ja,{onClick:o=>s.onClickDownload(o,s.data),className:`${Xt.download} d-flex align-items-center justify-content-center`,children:oe.jsx(_n,{svg:T2})})}),!s.hideTypeBadge&&t&&oe.jsx(ek,{typeId:hc.Resource})]})})}),s.titlePosition==="below"&&oe.jsxs("div",{className:`mt-1 ${Xt.titleBelow}`,children:[Nl.isType(s.data,hc.Resource)&&!!((a=(n=s.data)==null?void 0:n.metadata)!=null&&a.resourceType)&&oe.jsx(tk,{children:oV.getResourceTypeName(s.data.metadata.resourceType)}),oe.jsx("h3",{className:"h6 clamp-2",children:s.data.name})]})]})}It.memo(function(s){const e=AV(s.data,s.actionBehaviour);function t(){return s.location==="play-page"?Xt.playPage:Xt.dashboard}const i={...s.analyticsData,...s.data},r={...s.analyticsOptions,actionType:ni.Click,entity:s.data.typeId===hc.Resource?wi.Resource:wi.Link};function n(){Zn.logUserAction(i,r)}const a={...s,applyHoverState:e||!!s.data.url};return oe.jsx("div",{className:`px-1 flex-shrink-0 ${Xt.item} ${t()} ${qw.RESOURCE_ITEM_SELECTOR}`,children:(()=>{const o="d-block no-decoration";return s.data.type==="link"?oe.jsx("a",{href:s.data.url,target:"_blank",className:o,onClick:n,children:oe.jsx(Ls,{...a})}):e?s.actionBehaviour==="public"?oe.jsx("div",{className:`${o} cursor-pointer d-inline`,onClick:()=>{n(),zw.trigger(s.getAppLink(s.data))},children:oe.jsx(Ls,{...a})}):oe.jsx(Ww,{appLink:s.getAppLink(s.data),className:o,analyticsData:i,analyticsOptions:r,children:oe.jsx(Ls,{...a})}):s.data.url?oe.jsx("a",{href:s.data.url,className:o,onClick:n,children:oe.jsx(Ls,{...a})}):oe.jsx("div",{className:o,children:oe.jsx(Ls,{...a})})})()})});function PV(s){return oe.jsx("div",{className:"cv-resource-item",children:oe.jsx(Ls,{data:s.resource,imageCdnUrl:s.imageCdnUrl,titlePosition:"above",hideTypeBadge:!0})})}const IV=nd((s,e)=>oe.jsx(PV,{...e})),DV=R.getComponent("MenuItem");class NV extends DV{constructor(e,t){super(e,t);const i=new IV(e,{resource:t.resource,imageCdnUrl:t.imageCdnUrl});this.addChild(i)}createEl(e,t={},i){return super.createEl(e,{...t,className:`${t.className} cv-resource-menu-item`},i)}handleClick(e){e.stopImmediatePropagation(),this.options_.downloadResource(this.options_.resource)}}const LV=R.getComponent("MenuButton");class B2 extends LV{constructor(){super(...arguments),this.alwaysCollapsed=!1,this.isCollapsed=!1,this.isCollabsible=!0}buildWrapperCSSClass(){return`cv-menu-small cv-resources-button-wrapper ${super.buildWrapperCSSClass()}`}buildCSSClass(){return`cv-resources-button ${super.buildCSSClass()}`}update(){super.update()}createItems(){const e=[];return e.push(new Zs(this.player_,{label:"Resources"})),this.options_.resources.forEach(t=>{const i=new NV(this.player(),{resource:t,imageCdnUrl:this.options_.imageCdnUrl,downloadResource:r=>this.downloadResource(r),label:t.name});e.push(i)}),e}downloadResource(e){if(e.type==="link"){Kw.PageLoad(e.url,!0);return}this.getDownloadIframe().src=e.url}getDownloadIframe(){return this.downloadIframe?this.downloadIframe:(this.downloadIframe=R.dom.createEl("iframe"),this.downloadIframe.style.display="none",R.dom.appendContent(R.dom.$("body"),this.downloadIframe),this.downloadIframe)}getCollabsibleName(){return this.controlText_}getCollabsibleValue(){return""}showInCollabsibleMenu(){return!0}showCollapsibleMenu(){super.handleClick(null)}}B2.prototype.controlText_="Resources";R.registerComponent("ResourcesButton",B2);const OV=R.getPlugin("plugin");class MV extends OV{constructor(e,t){super(e,t),this.options=t,e.ready(()=>this.onReady())}onReady(){if(!this.options.resources.length)return;const e=this.player.getChild("collapserator");e.addChild("ResourcesButton",{resources:this.options.resources,imageCdnUrl:this.options.imageCdnUrl},e.children_.length-4)}}R.registerPlugin("resourcesPlugin",MV);const RV=R.getPlugin("plugin");class BV extends RV{constructor(e){super(e),this.player.dataLoaded(()=>this.initialize())}initialize(){_v.setCanReload(!1)}dispose(){_v.setCanReload(!0),super.dispose()}}R.registerPlugin("oldVersionRefreshPlugin",BV);function sz(s){const{className:e="",playerApi:t,onReady:i,onDispose:r,...n}=s,a=It.useRef(null);return It.useEffect(()=>{if(!a)return;const o=new lj(a.current,{...n,playerApi:t});return i&&o.ready(()=>{i(uj(o))}),r&&o.one("dispose",r),()=>{o==null||o.dispose()}},[s.viewKey]),oe.jsx("div",{ref:a,className:e})}const FV="_overlay_rtlcs_1",UV="_close_rtlcs_10",$V="_preview_rtlcs_15",oc={overlay:FV,close:UV,preview:$V};function az(s){return oe.jsxs(oe.Fragment,{children:[oe.jsx("div",{className:`${oc.overlay} ${oc.preview} d-flex align-items-center justify-content-start`,children:oe.jsx(_n,{svg:Yw,size:fp.Large})}),oe.jsx(ja,{className:`${oc.overlay} ${oc.close} d-flex align-items-center justify-content-center`,onClick:s.closePopup,children:oe.jsx(_n,{svg:wm,size:fp.Large})})]})}const jV="_copyrightDisclaimer_yyjul_1",VV="_overlayContainer_yyjul_4",Bb={copyrightDisclaimer:jV,overlayContainer:VV},dp="shared.copyrightDisclaimer",HV=150;function qV(s){const[e,t]=lk({});function i(){var n;return document.documentElement.clientHeight-((n=e.current)==null?void 0:n.getBoundingClientRect().bottom)<HV}return oe.jsxs("div",{ref:e,className:s.className,children:[oe.jsx("p",{className:`${Bb.copyrightDisclaimer} ${s.phraseClassName??"mb-1"}`,children:oe.jsx(Tl,{namespace:dp,phrase:"copyrightDisclaimer"})}),oe.jsx(Xw,{target:e.current,show:t,placement:s.overflowPlacement&&i()?s.overflowPlacement:s.placement,children:oe.jsxs("div",{className:`${Bb.overlayContainer} mw-100 bg-white border rounded-3 p-2`,children:[oe.jsx("p",{children:oe.jsx(Tl,{namespace:dp,phrase:"warning"})}),oe.jsx("p",{className:"fw-semibold mb-0",children:oe.jsx(Tl,{namespace:dp,phrase:"sharing"})})]})})]})}function zV(s){const{page:e,totalPages:t}=s,i=Cv.isNumber(e)&&e>0&&e<t&&e+1,r=Cv.isNumber(e)&&e>1&&e-1,n={};if(i&&i<=t&&(n.next=i.toString()),r&&(n.previous=r.toString()),!Qw.isEmpty(n))return n}const F2={isEmpty(s){return s&&!(s.data&&s.data.length)},length(s){return s&&s.data&&s.data.length},at(s,e){if(!(!s||!s.data||!s.data.length||e>s.data.length))return s.data[e]},get(s,e){if(!(!s||!s.data||!s.data.length))return s.data.find(t=>t.id&&t.id.toString()===e)},flattenCollections(s){if(!s||!s.length)return;let e=[];return s.forEach(t=>{e=[...e,...t.data]}),e},getNextCursor(s){return s.pagination&&s.pagination.cursors&&s.pagination.cursors.next},convertLegacyPaginatedCollection(s){if(s)return{data:s.data,pagination:{cursors:zV(s.pagination),limit:s.pagination.pageSize}}},hasData(s){return!F2.isEmpty(s)}};function Fb(s){var e;switch((e=s.tagType)==null?void 0:e.toLowerCase()){case Tv.Pedagogy:return 0;case Tv.Skill:return 1;default:return 2}}function WV(s){if(!s.tags)return oe.jsx(oe.Fragment,{});const e=[...s.tags].sort((t,i)=>Fb(t)-Fb(i));return oe.jsx("div",{className:`${ak.tagList} ${s.className}`,children:e.map(t=>{const i=typeof s.getAppLink=="function"?s.getAppLink(t):null,r=typeof s.onRemove=="function"?()=>s.onRemove(t):null,n=typeof s.onClick=="function"?()=>s.onClick(t):null;return oe.jsx(ok,{tag:t,appLink:i,themeColours:s.themeColours,onRemove:r,onClick:n},t.id||t.name)})})}function lc(s){const{label:e,items:t}=s;if(!(t&&t.data&&t.data.length))return oe.jsx(oe.Fragment,{});const r=t.data.map(n=>n.name).join(", ");return oe.jsxs("div",{className:"mb-2",children:[e,": ",r]})}const U2="exchange.detailsSection",uc=bh.encloseNamespace(U2);function GV(s){var r,n,a,o,l,u,c,h,f,g;const{video:e,hasPPDD:t,description:i}=s;return oe.jsxs("div",{className:i?"col-md-5 ps-md-3 pt-3 pt-md-0":"col-12",children:[oe.jsx("h2",{className:"h6 mb-2",children:oe.jsx(Tl,{namespace:U2,phrase:"details"})}),t&&oe.jsxs("div",{children:[oe.jsx(lc,{label:uc("productionCompanies",{smartCount:(n=(r=e.productionCompanies)==null?void 0:r.data)==null?void 0:n.length}),items:e.productionCompanies}),oe.jsx(lc,{label:uc("distributors",{smartCount:(o=(a=e.distributors)==null?void 0:a.data)==null?void 0:o.length}),items:e.distributors}),oe.jsx(lc,{label:uc("producers",{smartCount:(u=(l=e.producers)==null?void 0:l.data)==null?void 0:u.length}),items:e.producers}),oe.jsx(lc,{label:uc("directors",{smartCount:(h=(c=e.directors)==null?void 0:c.data)==null?void 0:h.length}),items:e.directors})]}),!!((g=(f=e.tags)==null?void 0:f.data)!=null&&g.length)&&oe.jsx(WV,{tags:e.tags.data})]})}const KV="_previewBadge_1mq7j_1",Ub={previewBadge:KV},XV="exchange.previewVideoDetails",QV=200;function oz(s){var h,f,g,C,p;const{title:e,description:t,video:i,videoActions:r}=s,n=b=>b?!F2.isEmpty(b):!1,a=!!(i!=null&&i.series),o=!!((h=Ev.getRating(i))!=null&&h.value)||!!(i!=null&&i.productionYear)||s.program,l=n(i==null?void 0:i.productionCompanies)||n(i==null?void 0:i.producers)||n(i==null?void 0:i.distributors)||n(i==null?void 0:i.directors),u=!!t,c=l||!!((g=(f=i==null?void 0:i.tags)==null?void 0:f.data)!=null&&g.length);return oe.jsxs("div",{className:"p-3",children:[oe.jsxs("div",{className:`${!a&&!o?"mb-2":"mb-3"} position-relative`,children:[oe.jsxs("div",{className:"w-100",children:[oe.jsx("div",{className:"ms-2 float-end",children:oe.jsx(fk,{actions:r,actionsDropdownClassName:"btn btn-outline-dark px-1"})}),!!i&&oe.jsx(ik,{type:"series",video:i,appLink:mk(i.series),className:"text-wrap",analyticsOptions:{location:_l.PlayPage}}),oe.jsx("h1",{className:`h4 mb-1 ${!a&&!o?"mb-0 pt-2":""}`,children:oe.jsx("span",{className:"align-self-center",children:e})})]}),o&&oe.jsxs(pk,{children:[oe.jsx(bv,{type:Sv.Rating,data:Ev.getRating(i),className:`${Ub.previewBadge} fw-semibold py-0 font-size-normal align-items-center px-2`}),oe.jsx(bv,{type:Sv.ProductionYear,data:i==null?void 0:i.productionYear,className:`${Ub.previewBadge} fw-semibold font-size-sm align-items-center px-1`}),((C=s.program)==null?void 0:C.channelLogoUrl)&&oe.jsx(vk,{logoUrl:s.program.channelLogoUrl,className:"me-1"}),((p=s.program)==null?void 0:p.hasAdsFree)&&oe.jsx(gk,{className:"me-1"}),s.program&&oe.jsx(yk,{program:s.program,showDate:!0,showEndTime:!0})]})]}),oe.jsxs("div",{children:[oe.jsx(Zw.Scrollbars,{autoHeight:!0,autoHeightMax:QV,children:oe.jsxs("div",{className:"row g-0",children:[u&&oe.jsxs("div",{className:c?"border-end pe-3 col-md-7":"col-12",children:[oe.jsx("div",{className:"d-flex align-items-center",children:oe.jsx("h2",{className:"h6 mb-2",children:oe.jsx(Tl,{namespace:XV,phrase:"description"})})}),oe.jsx("p",{className:"mb-2",dangerouslySetInnerHTML:{__html:rk.linkifyText(t,{nl2br:!0})}})]}),c&&oe.jsx(GV,{video:i,hasPPDD:l,description:t})]})}),s.video&&oe.jsxs("div",{className:"row",children:[oe.jsx("div",{className:`${l?"d-md-block col-7":""} d-none`}),oe.jsx("div",{className:`${l?"col-md-5 ps-md-3":"ps-2 "} `,children:oe.jsx(qV,{placement:l?"bottom-end":"bottom-start",overflowPlacement:l?"top-end":"top-start"})})]})]})]})}export{sz as C,oz as P,az as a};
|
|
369
|
-
//# sourceMappingURL=
|
|
369
|
+
//# sourceMappingURL=CpLpE8Im.chunk.js.map
|