@clickview/exchange 0.54.0 → 0.54.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.
- package/dist/bundles.json +1 -1
- package/dist/en.json +1 -1
- package/dist/scripts/-rc15O6e.chunk.js +2 -0
- package/dist/scripts/{RR_Npo-u.chunk.js.map → -rc15O6e.chunk.js.map} +1 -1
- package/dist/scripts/{BMV1koDe.chunk.js → 8cN0DOAw.chunk.js} +2 -2
- package/dist/scripts/{BMV1koDe.chunk.js.map → 8cN0DOAw.chunk.js.map} +1 -1
- package/dist/scripts/{B4-7nU0g.chunk.js → 93Mytmux.chunk.js} +2 -2
- package/dist/scripts/{B4-7nU0g.chunk.js.map → 93Mytmux.chunk.js.map} +1 -1
- package/dist/scripts/{DH2yRBmA.chunk.js → 9YLXxYYH.chunk.js} +2 -2
- package/dist/scripts/{DH2yRBmA.chunk.js.map → 9YLXxYYH.chunk.js.map} +1 -1
- package/dist/scripts/{S8s7mgrG.chunk.js → B77TOWer.chunk.js} +2 -2
- package/dist/scripts/{S8s7mgrG.chunk.js.map → B77TOWer.chunk.js.map} +1 -1
- package/dist/scripts/{D5fWDfWb.chunk.js → BB_Ud-Dl.chunk.js} +2 -2
- package/dist/scripts/{D5fWDfWb.chunk.js.map → BB_Ud-Dl.chunk.js.map} +1 -1
- package/dist/scripts/{C7s6znQN.chunk.js → BCGCl500.chunk.js} +2 -2
- package/dist/scripts/{C7s6znQN.chunk.js.map → BCGCl500.chunk.js.map} +1 -1
- package/dist/scripts/{CZ0_WZo1.chunk.js → BEonThYO.chunk.js} +2 -2
- package/dist/scripts/{CZ0_WZo1.chunk.js.map → BEonThYO.chunk.js.map} +1 -1
- package/dist/scripts/{DfkRK80r.chunk.js → BFAbrH3V.chunk.js} +2 -2
- package/dist/scripts/{DfkRK80r.chunk.js.map → BFAbrH3V.chunk.js.map} +1 -1
- package/dist/scripts/{fG3bu7tL.chunk.js → BIciRJHg.chunk.js} +2 -2
- package/dist/scripts/{fG3bu7tL.chunk.js.map → BIciRJHg.chunk.js.map} +1 -1
- package/dist/scripts/{CDuLjvaV.chunk.js → BJX7CePa.chunk.js} +2 -2
- package/dist/scripts/{CDuLjvaV.chunk.js.map → BJX7CePa.chunk.js.map} +1 -1
- package/dist/scripts/{wE4X9qJj.chunk.js → BL0xk5Hs.chunk.js} +2 -2
- package/dist/scripts/{wE4X9qJj.chunk.js.map → BL0xk5Hs.chunk.js.map} +1 -1
- package/dist/scripts/{DKvNIqD3.chunk.js → BN_hH3oW.chunk.js} +2 -2
- package/dist/scripts/{DKvNIqD3.chunk.js.map → BN_hH3oW.chunk.js.map} +1 -1
- package/dist/scripts/{mj_NgNWo.chunk.js → BWmMHnFV.chunk.js} +2 -2
- package/dist/scripts/{mj_NgNWo.chunk.js.map → BWmMHnFV.chunk.js.map} +1 -1
- package/dist/scripts/{BHTzCeKb.chunk.js → BapvLPQ5.chunk.js} +2 -2
- package/dist/scripts/{BHTzCeKb.chunk.js.map → BapvLPQ5.chunk.js.map} +1 -1
- package/dist/scripts/{vQs65oQi.chunk.js → Bbc1-POn.chunk.js} +2 -2
- package/dist/scripts/{vQs65oQi.chunk.js.map → Bbc1-POn.chunk.js.map} +1 -1
- package/dist/scripts/{CSuv1QVm.chunk.js → Bel5ImAj.chunk.js} +2 -2
- package/dist/scripts/{CSuv1QVm.chunk.js.map → Bel5ImAj.chunk.js.map} +1 -1
- package/dist/scripts/{CiTtDJue.chunk.js → BfWmIKU0.chunk.js} +2 -2
- package/dist/scripts/{CiTtDJue.chunk.js.map → BfWmIKU0.chunk.js.map} +1 -1
- package/dist/scripts/{BO7wPiFy.chunk.js → BhJEiLr0.chunk.js} +2 -2
- package/dist/scripts/{BO7wPiFy.chunk.js.map → BhJEiLr0.chunk.js.map} +1 -1
- package/dist/scripts/{DHx8qw7h.chunk.js → Bi_rU-SG.chunk.js} +2 -2
- package/dist/scripts/{DHx8qw7h.chunk.js.map → Bi_rU-SG.chunk.js.map} +1 -1
- package/dist/scripts/BldjpTLL.chunk.js +2 -0
- package/dist/scripts/{BMOkpx9W.chunk.js.map → BldjpTLL.chunk.js.map} +1 -1
- package/dist/scripts/Bm0DywXr.chunk.js +2 -0
- package/dist/scripts/{kjcQ0DHK.chunk.js.map → Bm0DywXr.chunk.js.map} +1 -1
- package/dist/scripts/BpFMqrCw.chunk.js +2 -0
- package/dist/scripts/{D1kNrE2G.chunk.js.map → BpFMqrCw.chunk.js.map} +1 -1
- package/dist/scripts/{B2psHTnp.chunk.js → Bw042tZ_.chunk.js} +2 -2
- package/dist/scripts/{B2psHTnp.chunk.js.map → Bw042tZ_.chunk.js.map} +1 -1
- package/dist/scripts/{DMCTlX1N.chunk.js → ByCaE7oT.chunk.js} +2 -2
- package/dist/scripts/{DMCTlX1N.chunk.js.map → ByCaE7oT.chunk.js.map} +1 -1
- package/dist/scripts/{BTGAV-7R.chunk.js → BzJeV-bU.chunk.js} +2 -2
- package/dist/scripts/{BTGAV-7R.chunk.js.map → BzJeV-bU.chunk.js.map} +1 -1
- package/dist/scripts/{Ca7s6d3a.chunk.js → BzOUcl19.chunk.js} +2 -2
- package/dist/scripts/{Ca7s6d3a.chunk.js.map → BzOUcl19.chunk.js.map} +1 -1
- package/dist/scripts/{C_b02Pfv.chunk.js → C7x-ikz8.chunk.js} +2 -2
- package/dist/scripts/{C_b02Pfv.chunk.js.map → C7x-ikz8.chunk.js.map} +1 -1
- package/dist/scripts/{Bk6B0Pga.chunk.js → C8gLKdt2.chunk.js} +2 -2
- package/dist/scripts/{Bk6B0Pga.chunk.js.map → C8gLKdt2.chunk.js.map} +1 -1
- package/dist/scripts/{BNdvuAqI.chunk.js → CA1kXo4c.chunk.js} +2 -2
- package/dist/scripts/{BNdvuAqI.chunk.js.map → CA1kXo4c.chunk.js.map} +1 -1
- package/dist/scripts/{2RtgJciS.chunk.js → CBpplRfy.chunk.js} +2 -2
- package/dist/scripts/{2RtgJciS.chunk.js.map → CBpplRfy.chunk.js.map} +1 -1
- package/dist/scripts/{CwGJynkF.chunk.js → CFHfdzmN.chunk.js} +2 -2
- package/dist/scripts/{CwGJynkF.chunk.js.map → CFHfdzmN.chunk.js.map} +1 -1
- package/dist/scripts/{DtIAQEde.chunk.js → CI1-zjtc.chunk.js} +2 -2
- package/dist/scripts/{DtIAQEde.chunk.js.map → CI1-zjtc.chunk.js.map} +1 -1
- package/dist/scripts/{CaXurNVJ.chunk.js → CLeOFM0_.chunk.js} +2 -2
- package/dist/scripts/{CaXurNVJ.chunk.js.map → CLeOFM0_.chunk.js.map} +1 -1
- package/dist/scripts/{CfG52a2J.chunk.js → CLzmMPfE.chunk.js} +2 -2
- package/dist/scripts/{CfG52a2J.chunk.js.map → CLzmMPfE.chunk.js.map} +1 -1
- package/dist/scripts/{BeYBU_45.chunk.js → CMVCOZiH.chunk.js} +2 -2
- package/dist/scripts/{BeYBU_45.chunk.js.map → CMVCOZiH.chunk.js.map} +1 -1
- package/dist/scripts/{-IJi77po.chunk.js → CRiSdltq.chunk.js} +2 -2
- package/dist/scripts/{-IJi77po.chunk.js.map → CRiSdltq.chunk.js.map} +1 -1
- package/dist/scripts/{C6Lm5-pG.chunk.js → CUcESh7x.chunk.js} +2 -2
- package/dist/scripts/{C6Lm5-pG.chunk.js.map → CUcESh7x.chunk.js.map} +1 -1
- package/dist/scripts/{BVtgkXbb.chunk.js → CWEHmLar.chunk.js} +2 -2
- package/dist/scripts/{BVtgkXbb.chunk.js.map → CWEHmLar.chunk.js.map} +1 -1
- package/dist/scripts/{BknFbNFb.chunk.js → CYnIJ9Yj.chunk.js} +2 -2
- package/dist/scripts/{BknFbNFb.chunk.js.map → CYnIJ9Yj.chunk.js.map} +1 -1
- package/dist/scripts/{BM1pKS1x.chunk.js → CeNnu9Uy.chunk.js} +2 -2
- package/dist/scripts/{BM1pKS1x.chunk.js.map → CeNnu9Uy.chunk.js.map} +1 -1
- package/dist/scripts/{C_N8YDNG.chunk.js → CeWNxrfN.chunk.js} +2 -2
- package/dist/scripts/{C_N8YDNG.chunk.js.map → CeWNxrfN.chunk.js.map} +1 -1
- package/dist/scripts/{CIC6c94H.chunk.js → Cf7gumlK.chunk.js} +2 -2
- package/dist/scripts/{CIC6c94H.chunk.js.map → Cf7gumlK.chunk.js.map} +1 -1
- package/dist/scripts/{BeUtct-n.chunk.js → CgYXk-MC.chunk.js} +2 -2
- package/dist/scripts/{BeUtct-n.chunk.js.map → CgYXk-MC.chunk.js.map} +1 -1
- package/dist/scripts/{CZWyo3vU.chunk.js → ChQd3LFA.chunk.js} +2 -2
- package/dist/scripts/{CZWyo3vU.chunk.js.map → ChQd3LFA.chunk.js.map} +1 -1
- package/dist/scripts/{Cvh5d6g-.chunk.js → CidOInHw.chunk.js} +2 -2
- package/dist/scripts/{Cvh5d6g-.chunk.js.map → CidOInHw.chunk.js.map} +1 -1
- package/dist/scripts/{KD76wo2O.chunk.js → CjZVCWS_.chunk.js} +2 -2
- package/dist/scripts/{KD76wo2O.chunk.js.map → CjZVCWS_.chunk.js.map} +1 -1
- package/dist/scripts/{DllPblbJ.chunk.js → CmFgCSCA.chunk.js} +2 -2
- package/dist/scripts/{DllPblbJ.chunk.js.map → CmFgCSCA.chunk.js.map} +1 -1
- package/dist/scripts/{D2hwqbbK.chunk.js → CzgpQODl.chunk.js} +2 -2
- package/dist/scripts/{D2hwqbbK.chunk.js.map → CzgpQODl.chunk.js.map} +1 -1
- package/dist/scripts/{BZDBKDNB.chunk.js → D1uOyG2F.chunk.js} +2 -2
- package/dist/scripts/{BZDBKDNB.chunk.js.map → D1uOyG2F.chunk.js.map} +1 -1
- package/dist/scripts/D2Qdtc-z.chunk.js +2 -0
- package/dist/scripts/{Nx5VrW1O.chunk.js.map → D2Qdtc-z.chunk.js.map} +1 -1
- package/dist/scripts/{CvC-3rY8.chunk.js → D6Y1z38S.chunk.js} +2 -2
- package/dist/scripts/{CvC-3rY8.chunk.js.map → D6Y1z38S.chunk.js.map} +1 -1
- package/dist/scripts/{DVGSZWvj.chunk.js → DAYsHx3K.chunk.js} +2 -2
- package/dist/scripts/{DVGSZWvj.chunk.js.map → DAYsHx3K.chunk.js.map} +1 -1
- package/dist/scripts/DAlXOlyw.chunk.js +2 -0
- package/dist/scripts/{PTNYkU4e.chunk.js.map → DAlXOlyw.chunk.js.map} +1 -1
- package/dist/scripts/{C6jzSlOK.chunk.js → DBXgmgfs.chunk.js} +2 -2
- package/dist/scripts/{C6jzSlOK.chunk.js.map → DBXgmgfs.chunk.js.map} +1 -1
- package/dist/scripts/{DNv0G8YQ.chunk.js → DFV1HGGE.chunk.js} +2 -2
- package/dist/scripts/{DNv0G8YQ.chunk.js.map → DFV1HGGE.chunk.js.map} +1 -1
- package/dist/scripts/{BaII1chU.chunk.js → DKgBjNhk.chunk.js} +2 -2
- package/dist/scripts/{BaII1chU.chunk.js.map → DKgBjNhk.chunk.js.map} +1 -1
- package/dist/scripts/{6nLsdj_T.chunk.js → DNamqvBL.chunk.js} +2 -2
- package/dist/scripts/{6nLsdj_T.chunk.js.map → DNamqvBL.chunk.js.map} +1 -1
- package/dist/scripts/{BoCJPJD9.chunk.js → DS9FoZYs.chunk.js} +2 -2
- package/dist/scripts/{BoCJPJD9.chunk.js.map → DS9FoZYs.chunk.js.map} +1 -1
- package/dist/scripts/{BARMSVib.chunk.js → DU7fsRWl.chunk.js} +2 -2
- package/dist/scripts/{BARMSVib.chunk.js.map → DU7fsRWl.chunk.js.map} +1 -1
- package/dist/scripts/{yAkKLflS.chunk.js → DXukh64m.chunk.js} +2 -2
- package/dist/scripts/{yAkKLflS.chunk.js.map → DXukh64m.chunk.js.map} +1 -1
- package/dist/scripts/{QBPzgKy4.chunk.js → D_UfRtxO.chunk.js} +2 -2
- package/dist/scripts/{QBPzgKy4.chunk.js.map → D_UfRtxO.chunk.js.map} +1 -1
- package/dist/scripts/{DPzpHWBx.chunk.js → Da4lOHud.chunk.js} +2 -2
- package/dist/scripts/{DPzpHWBx.chunk.js.map → Da4lOHud.chunk.js.map} +1 -1
- package/dist/scripts/{RFnuS4NM.chunk.js → DbQAirTe.chunk.js} +2 -2
- package/dist/scripts/{RFnuS4NM.chunk.js.map → DbQAirTe.chunk.js.map} +1 -1
- package/dist/scripts/{wrxKHqa_.chunk.js → DbjqMrGm.chunk.js} +2 -2
- package/dist/scripts/{wrxKHqa_.chunk.js.map → DbjqMrGm.chunk.js.map} +1 -1
- package/dist/scripts/{DW6Dbl7f.chunk.js → DiYMwIEW.chunk.js} +2 -2
- package/dist/scripts/{DW6Dbl7f.chunk.js.map → DiYMwIEW.chunk.js.map} +1 -1
- package/dist/scripts/{ZQ2N8RIM.chunk.js → DjZMDa7F.chunk.js} +2 -2
- package/dist/scripts/{ZQ2N8RIM.chunk.js.map → DjZMDa7F.chunk.js.map} +1 -1
- package/dist/scripts/{D0g725Qb.chunk.js → DmsvtP5R.chunk.js} +2 -2
- package/dist/scripts/{D0g725Qb.chunk.js.map → DmsvtP5R.chunk.js.map} +1 -1
- package/dist/scripts/{BVFJa4eN.chunk.js → Du1vfrL1.chunk.js} +2 -2
- package/dist/scripts/{BVFJa4eN.chunk.js.map → Du1vfrL1.chunk.js.map} +1 -1
- package/dist/scripts/{BIM7E_uq.chunk.js → HgZI7ZJw.chunk.js} +2 -2
- package/dist/scripts/{BIM7E_uq.chunk.js.map → HgZI7ZJw.chunk.js.map} +1 -1
- package/dist/scripts/{De6u_51f.chunk.js → Idf_wk4z.chunk.js} +2 -2
- package/dist/scripts/{De6u_51f.chunk.js.map → Idf_wk4z.chunk.js.map} +1 -1
- package/dist/scripts/{BzWiry9B.chunk.js → IoMSsrGB.chunk.js} +2 -2
- package/dist/scripts/{BzWiry9B.chunk.js.map → IoMSsrGB.chunk.js.map} +1 -1
- package/dist/scripts/{BOgut51m.chunk.js → JVtTNBu8.chunk.js} +2 -2
- package/dist/scripts/{BOgut51m.chunk.js.map → JVtTNBu8.chunk.js.map} +1 -1
- package/dist/scripts/{B6MzAKwF.chunk.js → Jh9dsBNz.chunk.js} +2 -2
- package/dist/scripts/{B6MzAKwF.chunk.js.map → Jh9dsBNz.chunk.js.map} +1 -1
- package/dist/scripts/{C3DMM71j.chunk.js → L4fynSOH.chunk.js} +2 -2
- package/dist/scripts/{C3DMM71j.chunk.js.map → L4fynSOH.chunk.js.map} +1 -1
- package/dist/scripts/{DcNBkQk2.chunk.js → L8c9vJSE.chunk.js} +2 -2
- package/dist/scripts/{DcNBkQk2.chunk.js.map → L8c9vJSE.chunk.js.map} +1 -1
- package/dist/scripts/{RkGsyr47.chunk.js → LSG3wJaJ.chunk.js} +2 -2
- package/dist/scripts/{RkGsyr47.chunk.js.map → LSG3wJaJ.chunk.js.map} +1 -1
- package/dist/scripts/{BBGrb01P.chunk.js → Nb05HQ70.chunk.js} +2 -2
- package/dist/scripts/{BBGrb01P.chunk.js.map → Nb05HQ70.chunk.js.map} +1 -1
- package/dist/scripts/{D7ex9pZI.chunk.js → NnLpFayg.chunk.js} +2 -2
- package/dist/scripts/{D7ex9pZI.chunk.js.map → NnLpFayg.chunk.js.map} +1 -1
- package/dist/scripts/{BObzbMyv.chunk.js → TBgyZjiu.chunk.js} +2 -2
- package/dist/scripts/{BObzbMyv.chunk.js.map → TBgyZjiu.chunk.js.map} +1 -1
- package/dist/scripts/UAhbVZA6.chunk.js +2 -0
- package/dist/scripts/{Cusf4uQr.chunk.js.map → UAhbVZA6.chunk.js.map} +1 -1
- package/dist/scripts/{EP_6ctCd.chunk.js → UPyh9hOq.chunk.js} +2 -2
- package/dist/scripts/{EP_6ctCd.chunk.js.map → UPyh9hOq.chunk.js.map} +1 -1
- package/dist/scripts/{5ulU64GY.chunk.js → aUcmweZz.chunk.js} +2 -2
- package/dist/scripts/{5ulU64GY.chunk.js.map → aUcmweZz.chunk.js.map} +1 -1
- package/dist/scripts/{BIqgfuNp.chunk.js → afx3pyqK.chunk.js} +2 -2
- package/dist/scripts/{BIqgfuNp.chunk.js.map → afx3pyqK.chunk.js.map} +1 -1
- package/dist/scripts/{app-BeXfSt3Z.js → app-DQUfzK7M.js} +3 -3
- package/dist/scripts/{app-BeXfSt3Z.js.map → app-DQUfzK7M.js.map} +1 -1
- package/dist/scripts/{DGZafYHS.chunk.js → ebPScdjM.chunk.js} +2 -2
- package/dist/scripts/{DGZafYHS.chunk.js.map → ebPScdjM.chunk.js.map} +1 -1
- package/dist/scripts/{kIpQ7ATK.chunk.js → exCRX_FQ.chunk.js} +2 -2
- package/dist/scripts/{kIpQ7ATK.chunk.js.map → exCRX_FQ.chunk.js.map} +1 -1
- package/dist/scripts/{B_RnEy2g.chunk.js → g-ukO43h.chunk.js} +2 -2
- package/dist/scripts/{B_RnEy2g.chunk.js.map → g-ukO43h.chunk.js.map} +1 -1
- package/dist/scripts/{DSjj9Urk.chunk.js → rV0ZG7Fa.chunk.js} +2 -2
- package/dist/scripts/{DSjj9Urk.chunk.js.map → rV0ZG7Fa.chunk.js.map} +1 -1
- package/dist/scripts/{CuymzQcn.chunk.js → rY6Lh6jX.chunk.js} +2 -2
- package/dist/scripts/{CuymzQcn.chunk.js.map → rY6Lh6jX.chunk.js.map} +1 -1
- package/dist/scripts/{DyEyo6rX.chunk.js → uJkDFf2N.chunk.js} +2 -2
- package/dist/scripts/{DyEyo6rX.chunk.js.map → uJkDFf2N.chunk.js.map} +1 -1
- package/package.json +1 -1
- package/dist/scripts/BMOkpx9W.chunk.js +0 -2
- package/dist/scripts/Cusf4uQr.chunk.js +0 -2
- package/dist/scripts/D1kNrE2G.chunk.js +0 -2
- package/dist/scripts/Nx5VrW1O.chunk.js +0 -2
- package/dist/scripts/PTNYkU4e.chunk.js +0 -2
- package/dist/scripts/RR_Npo-u.chunk.js +0 -2
- package/dist/scripts/kjcQ0DHK.chunk.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{H as v,a3 as p,j as o,P as y,aD as h,A as w,a as f,b as g}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{H as v,a3 as p,j as o,P as y,aD as h,A as w,a as f,b as g}from"./app-DQUfzK7M.js";import{S as P}from"./-rc15O6e.chunk.js";import{V as x}from"./CidOInHw.chunk.js";import{u as j}from"./BpFMqrCw.chunk.js";import{C as A,P as C,a as E}from"./8cN0DOAw.chunk.js";import{a as V}from"./DbjqMrGm.chunk.js";import{u as S}from"./NnLpFayg.chunk.js";import"./BlDVEZsX.chunk.js";import"./pkzD5BEm.chunk.js";import"./DmsvtP5R.chunk.js";import"./CI1-zjtc.chunk.js";import"./afx3pyqK.chunk.js";import"./CLzmMPfE.chunk.js";import"./BCGCl500.chunk.js";import"./BFAbrH3V.chunk.js";import"./DS9FoZYs.chunk.js";import"./Cf7gumlK.chunk.js";import"./CFHfdzmN.chunk.js";import"./Kj832An8.chunk.js";import"./CLeOFM0_.chunk.js";import"./ebPScdjM.chunk.js";import"./BzOUcl19.chunk.js";import"./Bel5ImAj.chunk.js";import"./JVtTNBu8.chunk.js";import"./CUcESh7x.chunk.js";import"./UPyh9hOq.chunk.js";import"./BapvLPQ5.chunk.js";import"./CYnIJ9Yj.chunk.js";import"./CWEHmLar.chunk.js";import"./B668bf5B.chunk.js";import"./LSG3wJaJ.chunk.js";import"./DKgBjNhk.chunk.js";import"./CjZVCWS_.chunk.js";import"./BzJeV-bU.chunk.js";import"./L8c9vJSE.chunk.js";import"./BB_Ud-Dl.chunk.js";var c=(e=>(e.Share="share",e.MasterObject="masterobject",e))(c||{});const b={createViewKey(e,t,r,a,s){const i={mediaId:e.toString(),mediaIdType:t};return r&&(i.shareContextId=r),{url:"/api/player/create-view-key",key:`view:key:${e}:${t}`,type:v.POST,data:i,cacheDuration:28800,success:a,error:s}}};function de(e){var l;const t=p(x.video(e.videoId)),r=p(h.config()),a=p(b.createViewKey(e.videoId,c.MasterObject)),s=V("preview");j(t.statusCode);const{previewContext:i,clearPreviewContext:d}=S(e.videoId,!0);function u(k){}function n(){e.closePopup(),P.preventScrollTop(),w.trigger((i==null?void 0:i.appLink)??{application:g.EXCHANGE,action:f.Exchange.INDEX}),d()}const m=t.data&&r.hasCompleted&&a.hasCompleted;return o.jsx(y,{title:(l=t.data)==null?void 0:l.name,hideTitle:!0,closePopup:n,showLoadingSpinner:!m,size:"lg",bodyClassName:"p-0 rounded-3 position-relative",children:m&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"overflow-hidden rounded-top-lg",children:o.jsx(A,{viewKey:a.data.viewKey,playerApi:new URL(r.data.playerApiUrl),autoplay:!0,hotkeyElQuerySelector:"body",onReady:u,allowFullscreen:!1})}),o.jsx(C,{video:t.data,title:t.data.name,description:t.data.description,videoActions:s.getVideoActions(t.data)}),o.jsx(E,{closePopup:n})]})})}export{de as ExchangePreviewView};
|
|
2
|
+
//# sourceMappingURL=aUcmweZz.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"aUcmweZz.chunk.js","sources":["../../../../libs/shared/src/enums/MediaIdType.ts","../../../../libs/shared/src/flight-requests/PlayerRequests.ts","../../src/apps/exchange/views/exchange-preview/ExchangePreviewView.tsx"],"sourcesContent":["export enum MediaIdType {\n Share = 'share',\n MasterObject = 'masterobject'\n}","import { HttpVerbs } from 'libs/common/backbone/enums/HttpVerbs';\nimport { Xhr } from 'libs/common/backbone/interfaces';\nimport { Flight } from 'libs/common/flight';\nimport { HashObject } from 'libs/common/react/interfaces';\n\nimport { MediaIdType } from 'libs/shared/enums/MediaIdType';\nimport { PlayerViewKey } from 'libs/shared/interfaces';\n\nexport const PlayerRequests = {\n createViewKey(\n mediaId: string,\n mediaIdType: MediaIdType,\n shareContextId?: string,\n success?: (viewKey: PlayerViewKey) => void,\n error?: (xhr: Xhr) => void\n ): Flight.Request {\n const data: HashObject = {\n mediaId: mediaId.toString(),\n mediaIdType\n };\n\n if (shareContextId)\n data.shareContextId = shareContextId;\n\n return {\n url: `/api/player/create-view-key`,\n key: `view:key:${mediaId}:${mediaIdType}`,\n type: HttpVerbs.POST,\n data,\n /**\n * A view key is valid for 8 hours, at that point we need refetch the view key\n */\n cacheDuration: 28800,\n success,\n error\n };\n }\n};","import React from 'react';\n\nimport { Core } from 'libs/common/backbone/index';\nimport { ScrollHelper } from 'libs/common/backbone/utils/ScrollHelper';\nimport { Flight } from 'libs/common/flight';\n\nimport { Popup } from 'libs/shared/components/popup/Popup';\nimport { PlayerReference } from 'libs/shared/context/player-context/interfaces/PlayerReference';\nimport { MediaIdType } from 'libs/shared/enums/MediaIdType';\nimport { ConfigRequests } from 'libs/shared/flight-requests/ConfigRequests';\nimport { PlayerRequests } from 'libs/shared/flight-requests/PlayerRequests';\nimport { VideoRequests } from 'libs/shared/flight-requests/VideoRequests';\nimport { useHandleDialogError } from 'libs/shared/hooks/UseHandleDialogError';\nimport { Config, PlayerViewKey, PopupViewProps, Video } from 'libs/shared/interfaces';\n\nimport { ClickViewPlayer } from 'projects/player/react/Player';\n\nimport { PlayerOverlayButtons } from 'shared/components/player-overlay-buttons/PlayerOverlayButtons';\nimport { PreviewVideoDetails } from 'shared/components/preview-video-details/PreviewVideoDetails';\nimport { Actions } from 'shared/constants/ExchangeActions';\nimport { AppChannels } from 'shared/constants/ExchangeRadioChannels';\n\nimport { useGetExchangeActions } from 'apps/exchange/hooks/useGetExchangeActions';\nimport { usePreviewContext } from 'apps/exchange/hooks/usePreviewContext';\n\ninterface ExchangePreviewViewProps extends PopupViewProps {\n videoId: string;\n currentTime: number;\n}\n\nexport function ExchangePreviewView(props: ExchangePreviewViewProps): JSX.Element {\n // const analyticsTracker = React.useRef<PlayerAnalyticsTracker>(null);\n const video = Flight.useBasicFetch<Video>(VideoRequests.video(props.videoId));\n const config = Flight.useBasicFetch<Config>(ConfigRequests.config());\n const viewKey = Flight.useBasicFetch<PlayerViewKey>(\n PlayerRequests.createViewKey(props.videoId, MediaIdType.MasterObject)\n );\n\n const videoActions = useGetExchangeActions('preview');\n useHandleDialogError(video.statusCode);\n\n const { previewContext, clearPreviewContext } = usePreviewContext(props.videoId, true);\n\n // TODO: Solve analytics collection\n function onReady(player: PlayerReference): void {\n player;\n // setupAnalytics(player);\n }\n\n // function setupAnalytics(player: PlayerReference): void {\n // analyticsTracker.current = new PlayerAnalyticsTracker({\n // player,\n // video: props.video,\n // analyticsLocation: props.embed ?\n // LocationContext.EmbeddedPlayer :\n // LocationContext.PlayPage,\n // shareId: props.shareLink?.id\n // });\n // }\n\n function onClose(): void {\n props.closePopup();\n\n ScrollHelper.preventScrollTop();\n Core.AppLinkHelper.trigger(previewContext?.appLink ?? {\n application: AppChannels.EXCHANGE,\n action: Actions.Exchange.INDEX\n });\n clearPreviewContext();\n }\n\n const hasLoaded = (\n video.data &&\n config.hasCompleted &&\n viewKey.hasCompleted\n );\n\n return (\n <Popup\n title={video.data?.name}\n hideTitle\n closePopup={onClose}\n showLoadingSpinner={!hasLoaded}\n size='lg'\n bodyClassName='p-0 rounded-3 position-relative'\n >\n {hasLoaded &&\n <>\n <div className='overflow-hidden rounded-top-lg'>\n <ClickViewPlayer\n viewKey={viewKey.data.viewKey}\n playerApi={new URL(config.data.playerApiUrl)}\n autoplay\n hotkeyElQuerySelector='body'\n onReady={onReady}\n allowFullscreen={false}\n />\n </div>\n <PreviewVideoDetails\n video={video.data}\n title={video.data.name}\n description={video.data.description}\n videoActions={videoActions.getVideoActions(video.data)}\n />\n <PlayerOverlayButtons closePopup={onClose} />\n </>\n }\n </Popup>\n );\n}"],"names":["MediaIdType","PlayerRequests","mediaId","mediaIdType","shareContextId","success","error","data","HttpVerbs","ExchangePreviewView","props","video","Flight.useBasicFetch","VideoRequests","config","ConfigRequests","viewKey","videoActions","useGetExchangeActions","useHandleDialogError","previewContext","clearPreviewContext","usePreviewContext","onReady","player","onClose","ScrollHelper","Core.AppLinkHelper","AppChannels","Actions","hasLoaded","jsx","Popup","_a","jsxs","Fragment","ClickViewPlayer","PreviewVideoDetails","PlayerOverlayButtons"],"mappings":"moCAAO,IAAKA,GAAAA,IACVA,EAAA,MAAQ,QACRA,EAAA,aAAe,eAFLA,IAAAA,GAAA,CAAA,CAAA,ECQL,MAAMC,EAAiB,CAC5B,cACEC,EACAC,EACAC,EACAC,EACAC,EACgB,CAChB,MAAMC,EAAmB,CACvB,QAASL,EAAQ,SAAA,EACjB,YAAAC,CAAA,EAGF,OAAIC,IACFG,EAAK,eAAiBH,GAEjB,CACL,IAAK,8BACL,IAAK,YAAYF,CAAO,IAAIC,CAAW,GACvC,KAAMK,EAAU,KAChB,KAAAD,EAIA,cAAe,MACf,QAAAF,EACA,MAAAC,CAAA,CAEJ,CACF,ECPO,SAASG,GAAoBC,EAA8C,OAEhF,MAAMC,EAAQC,EAA4BC,EAAc,MAAMH,EAAM,OAAO,CAAC,EACtEI,EAASF,EAA6BG,EAAe,QAAQ,EAC7DC,EAAUJ,EACdX,EAAe,cAAcS,EAAM,QAASV,EAAY,YAAY,CAAA,EAGhEiB,EAAeC,EAAsB,SAAS,EACpDC,EAAqBR,EAAM,UAAU,EAErC,KAAM,CAAE,eAAAS,EAAgB,oBAAAC,CAAA,EAAwBC,EAAkBZ,EAAM,QAAS,EAAI,EAGrF,SAASa,EAAQC,EAA+B,CAGhD,CAaA,SAASC,GAAgB,CACvBf,EAAM,WAAA,EAENgB,EAAa,iBAAA,EACbC,EAAmB,SAAQP,GAAA,YAAAA,EAAgB,UAAW,CACpD,YAAaQ,EAAY,SACzB,OAAQC,EAAQ,SAAS,KAAA,CAC1B,EACDR,EAAA,CACF,CAEA,MAAMS,EACJnB,EAAM,MACNG,EAAO,cACPE,EAAQ,aAGV,OACEe,EAAAA,IAACC,EAAA,CACC,OAAOC,EAAAtB,EAAM,OAAN,YAAAsB,EAAY,KACnB,UAAS,GACT,WAAYR,EACZ,mBAAoB,CAACK,EACrB,KAAK,KACL,cAAc,kCAEb,YACCI,EAAAA,KAAAC,EAAAA,SAAA,CACE,SAAA,CAAAJ,EAAAA,IAAC,MAAA,CAAI,UAAU,iCACb,SAAAA,EAAAA,IAACK,EAAA,CACC,QAASpB,EAAQ,KAAK,QACtB,UAAW,IAAI,IAAIF,EAAO,KAAK,YAAY,EAC3C,SAAQ,GACR,sBAAsB,OACtB,QAAAS,EACA,gBAAiB,EAAA,CAAA,EAErB,EACAQ,EAAAA,IAACM,EAAA,CACC,MAAO1B,EAAM,KACb,MAAOA,EAAM,KAAK,KAClB,YAAaA,EAAM,KAAK,YACxB,aAAcM,EAAa,gBAAgBN,EAAM,IAAI,CAAA,CAAA,EAEvDoB,EAAAA,IAACO,EAAA,CAAqB,WAAYb,CAAA,CAAS,CAAA,CAAA,CAC7C,CAAA,CAAA,CAIR"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{M as G,j as g,aq as Je,T as ze,aw as Be,af as He,ae as Ke,L as Ge,G as et,Q as Ae,by as tt,r as ee,R as $e,y as nt,bG as at}from"./app-BeXfSt3Z.js";import{V as Oe}from"./CfG52a2J.chunk.js";import{C as rt}from"./BlDVEZsX.chunk.js";const he={padNumber(n,t){let a=n.toString();if(a.length>=t)return a;for(t=t-a.length;t>0;)a="0"+a,t--;return a}},ot={isSeries(n){return(n==null?void 0:n.typeId)===G.Series},buildSeriesSeasonEpisodeText(n,t,a){if(!n)return"";if(!t||!a)return n.toUpperCase();const e=he.padNumber(t,2),r=he.padNumber(a,2);return`${n.toUpperCase()} S${e} • E${r}`},getRating(n){var t;return(t=n._rating)==null?void 0:t.value}},it="_subText_5u663_1",st={subText:it};function Ye(n){const t=`text-uppercase text-truncate mb-0 ${st.subText} ${n.className}`;return n.appLink?g.jsx(Je,{className:t,appLink:n.appLink,analyticsData:n.analyticsData,analyticsOptions:n.analyticsOptions,title:n.title,ariaLabel:n.ariaLabel,children:n.children}):g.jsx("div",{className:t,title:n.title,"aria-label":n.ariaLabel,children:n.children})}const lt="_appLink_1owb0_1",ct="_hoverUnderline_1owb0_4",ye={appLink:lt,hoverUnderline:ct},ut="shared.videoSubText",Fe=Ge.encloseNamespace(ut);function ft(n){const{video:t}=n,{season:a}=t;if(!t.episodeNumber||!a)return g.jsx(g.Fragment,{});const e=he.padNumber(a.number,2),r=he.padNumber(t.episodeNumber,2);return g.jsxs("span",{className:`d-inline-block ${n.appLink?ye.hoverUnderline:""}`,children:[n.withSeriesTitle&&g.jsx(g.Fragment,{children:" "}),!!e&&`S${e} • `,"E",r]})}function dt(n){const t=Oe.getReleaseDate(n.video);return t?Oe.hasSeries(n.video)?g.jsx(g.Fragment,{children:` • ${t}`}):g.jsx(g.Fragment,{children:t}):g.jsx(g.Fragment,{})}function ht(n){var s;const{appLink:t,video:a,className:e=""}=n,r=a==null?void 0:a.series,u=Oe.getReleaseDate(n.video);if(!(r!=null&&r.id)&&!u)return g.jsx(g.Fragment,{});const o=(r==null?void 0:r.id)&&t&&{...t,args:[r.id,ze.slugify(r.name)]},f={...n.analyticsData,id:r==null?void 0:r.id,name:r==null?void 0:r.name,videoId:a==null?void 0:a.id,videoName:a==null?void 0:a.name},i={...n.analyticsOptions,entity:Ke.Series,actionType:He.Click,descriptor:Be.Title},l=ot.buildSeriesSeasonEpisodeText(r==null?void 0:r.name,(s=a.season)==null?void 0:s.number,a.episodeNumber);return g.jsxs(Ye,{appLink:o,className:`d-block ${ye.appLink} ${e}`,analyticsData:f,analyticsOptions:i,title:l,ariaLabel:`${Fe("ariaSeries")} ${l}`,children:[(r==null?void 0:r.name)&&r.name,g.jsx(ft,{...n,withSeriesTitle:!0}),g.jsx(dt,{...n})]})}function pt(n){var i,l;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];if(!(r!=null&&r.id))return g.jsx(g.Fragment,{});const u=(r==null?void 0:r.id)&&t&&{...t,args:[r.id,ze.slugify(r.name)]},o={...n.analyticsData,id:r==null?void 0:r.id,name:r==null?void 0:r.name,videoId:a==null?void 0:a.id,videoName:a==null?void 0:a.name},f={...n.analyticsOptions,entity:Ke.Company,actionType:He.Click,descriptor:Be.Title};return g.jsx(Ye,{appLink:u,className:`d-block ${ye.appLink} ${e}`,analyticsData:o,analyticsOptions:f,title:r.name,ariaLabel:`${Fe("ariaCompany")} ${r.name}`,children:r.name})}function Gt(n){const{type:t="series"}=n;return t==="none"?g.jsx(g.Fragment,{}):t==="series"?g.jsx(ht,{...n}):g.jsx(pt,{...n})}function mt(n){return g.jsx("svg",{...n,children:g.jsx("path",{fill:"currentColor",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"})})}function vt(n){return g.jsx("svg",{...n,children:g.jsx("path",{fill:"currentColor",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"})})}function gt(n){return g.jsx("svg",{...n,children:g.jsx("path",{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",fill:"currentColor"})})}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={topLeftContainer:bt,draft:xt,badge:Ot,svg:yt,text:St,sm:Et},Lt="shared.typeBadge",be=Ge.encloseNamespace(Lt);function Nt(n){switch(n){case G.Clip:return be("clip");case G.Interactive:return be("interactive");case G.Resource:return be("resource");default:return""}}function Tt(n){switch(n){case G.Clip:return mt;case G.Interactive:return vt;case G.Resource:return gt;default:return null}}function At(n,t){switch(n){case G.Clip:return"bg-ultramarine";case G.Interactive:return t===rt.Draft?oe.draft:"bg-green";case G.Resource:return"bg-indigo";default:return""}}kt.default={size:"md"};function kt(n){const t=`${oe.badge} rounded-pill text-white ps-0 ${n.size==="sm"?oe.sm:""}`;return g.jsx("div",{className:n.inContainer?"":oe.topLeftContainer,children:g.jsxs("div",{className:`${t} ${At(n.typeId,n.status)}`,children:[g.jsx(et,{className:`svg-container d-block ${oe.svg}`,size:n.size==="sm"?Ae.Small:Ae.Standard,svg:Tt(n.typeId)}),g.jsx("span",{className:oe.text,children:Nt(n.typeId)})]})})}var Qe=(function(){var n=function(t,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var u in r)r.hasOwnProperty(u)&&(e[u]=r[u])},n(t,a)};return function(t,a){n(t,a);function e(){this.constructor=t}t.prototype=a===null?Object.create(a):(e.prototype=a.prototype,new e)}})(),Se="html",Ee="svg",Ct="http://www.w3.org/2000/svg",Pt=function(n,t){if(t===Se)return n instanceof HTMLElement;if(t===Ee)return n instanceof SVGElement;throw new Error('Unrecognized element type "'+t+'" for validateElementType.')},We=function(n,t){var a={},e,r,u;if(n===Se)u=document.createElement("div");else if(n===Ee)u=document.createElementNS(Ct,"g");else throw new Error('Invalid element type "'+n+'" for createPortalNode: must be "html" or "svg".');if(t&&typeof t=="object")for(var o=0,f=Object.entries(t.attributes);o<f.length;o++){var i=f[o],l=i[0],s=i[1];u.setAttribute(l,s)}var c={element:u,elementType:n,setPortalProps:function(d){a=d},getInitialPortalProps:function(){return a},mount:function(d,m){if(m!==r){if(c.unmount(),d!==e&&!Pt(d,n))throw new Error('Invalid element type for portal: "'+n+'" portalNodes must be used with '+n+" elements, but OutPortal is within <"+d.tagName+">.");d.replaceChild(c.element,m),e=d,r=m}},unmount:function(d){d&&d!==r||e&&r&&(e.replaceChild(r,c.element),e=void 0,r=void 0)}};return c},$t=(function(n){Qe(t,n);function t(a){var e=n.call(this,a)||this;return e.addPropsChannel=function(){Object.assign(e.props.node,{setPortalProps:function(r){e.setState({nodeProps:r})}})},e.state={nodeProps:e.props.node.getInitialPortalProps()},e}return t.prototype.componentDidMount=function(){this.addPropsChannel()},t.prototype.componentDidUpdate=function(){this.addPropsChannel()},t.prototype.render=function(){var a=this,e=this.props,r=e.children,u=e.node;return tt.createPortal(ee.Children.map(r,function(o){return ee.isValidElement(o)?ee.cloneElement(o,a.state.nodeProps):o}),u.element)},t})(ee.PureComponent),Yt=(function(n){Qe(t,n);function t(a){var e=n.call(this,a)||this;return e.placeholderNode=ee.createRef(),e.passPropsThroughPortal(),e}return t.prototype.passPropsThroughPortal=function(){var a=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(a)},t.prototype.componentDidMount=function(){var a=this.props.node;this.currentPortalNode=a;var e=this.placeholderNode.current,r=e.parentNode;a.mount(r,e),this.passPropsThroughPortal()},t.prototype.componentDidUpdate=function(){var a=this.props.node;this.currentPortalNode&&a!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=a);var e=this.placeholderNode.current,r=e.parentNode;a.mount(r,e),this.passPropsThroughPortal()},t.prototype.componentWillUnmount=function(){var a=this.props.node;a.unmount(this.placeholderNode.current),a.setPortalProps({})},t.prototype.render=function(){return ee.createElement("div",{ref:this.placeholderNode})},t})(ee.PureComponent),Ft=We.bind(null,Se);We.bind(null,Ee);const _t=$e.createContext({hasProvider:!1});function Qt(){return $e.useContext(_t)}var ue={},E={},fe={},ke;function pe(){if(ke)return fe;ke=1,fe.__esModule=!0,fe.inherits=n;function n(t,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Object.create(t.prototype);for(var u in e)r[u]=e[u];return r.constructor=a,a.prototype=r,a}return fe}var re={},Ce;function Rt(){if(Ce)return re;Ce=1,re.__esModule=!0;var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t={defaultProtocol:"http",events:null,format:r,formatHref:r,nl2br:!1,tagName:"a",target:u,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};re.defaults=t,re.Options=a,re.contains=e;function a(o){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;for(var f=o.hasOwnProperty("ignoreTags")?o.ignoreTags:t.ignoreTags,i=0;i<f.length;i++)this.ignoreTags.push(f[i].toUpperCase())}a.prototype={resolve:function(f){var i=f.toHref(this.defaultProtocol);return{formatted:this.get("format",f.toString(),f),formattedHref:this.get("formatHref",i,f),tagName:this.get("tagName",i,f),className:this.get("className",i,f),target:this.get("target",i,f),events:this.getObject("events",i,f),attributes:this.getObject("attributes",i,f)}},check:function(f){return this.get("validate",f.toString(),f)},get:function(f,i,l){var s=void 0,c=this[f];if(!c)return c;switch(typeof c>"u"?"undefined":n(c)){case"function":return c(i,l.type);case"object":return s=c.hasOwnProperty(l.type)?c[l.type]:t[f],typeof s=="function"?s(i,l.type):s}return c},getObject:function(f,i,l){var s=this[f];return typeof s=="function"?s(i,l.type):s}};function e(o,f){for(var i=0;i<o.length;i++)if(o[i]===f)return!0;return!1}function r(o){return o}function u(o,f){return f==="url"?"_blank":null}return re}var j={},W={},Pe;function Ve(){if(Pe)return W;Pe=1,W.__esModule=!0,W.stateify=W.TokenState=W.CharacterState=void 0;var n=pe();function t(){return function(o){this.j=[],this.T=o||null}}var a=t();a.prototype={defaultTransition:!1,on:function(f,i){if(f instanceof Array){for(var l=0;l<f.length;l++)this.j.push([f[l],i]);return this}return this.j.push([f,i]),this},next:function(f){for(var i=0;i<this.j.length;i++){var l=this.j[i],s=l[0],c=l[1];if(this.test(f,s))return c}return this.defaultTransition},accepts:function(){return!!this.T},test:function(f,i){return f===i},emit:function(){return this.T}};var e=(0,n.inherits)(a,t(),{test:function(f,i){return f===i||i instanceof RegExp&&i.test(f)}}),r=(0,n.inherits)(a,t(),{jump:function(f){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,l=this.next(new f(""));return l===this.defaultTransition?(l=new this.constructor(i),this.on(f,l)):i&&(l.T=i),l},test:function(f,i){return f instanceof i}});function u(o,f,i,l){for(var s=0,c=o.length,d=f,m=[],v=void 0;s<c&&(v=d.next(o[s]));)d=v,s++;if(s>=c)return[];for(;s<c-1;)v=new e(l),m.push(v),d.on(o[s],v),d=v,s++;return v=new e(i),m.push(v),d.on(o[c-1],v),m}return W.CharacterState=e,W.TokenState=r,W.stateify=u,W}var h={},de={},_e;function Xe(){if(_e)return de;_e=1,de.__esModule=!0;function n(){return function(t){t&&(this.v=t)}}return de.createTokenClass=n,de}var Re;function Le(){if(Re)return h;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;var n=Xe(),t=pe(),a=(0,n.createTokenClass)();a.prototype={toString:function(){return this.v+""}};function e(F){var S=F?{v:F}:{};return(0,t.inherits)(a,(0,n.createTokenClass)(),S)}var r=e(),u=e("@"),o=e(":"),f=e("."),i=e(),l=e(),s=e(`
|
|
1
|
+
import{M as G,j as g,aq as Je,T as ze,aw as Be,af as He,ae as Ke,L as Ge,G as et,Q as Ae,by as tt,r as ee,R as $e,y as nt,bG as at}from"./app-DQUfzK7M.js";import{V as Oe}from"./CLzmMPfE.chunk.js";import{C as rt}from"./BlDVEZsX.chunk.js";const he={padNumber(n,t){let a=n.toString();if(a.length>=t)return a;for(t=t-a.length;t>0;)a="0"+a,t--;return a}},ot={isSeries(n){return(n==null?void 0:n.typeId)===G.Series},buildSeriesSeasonEpisodeText(n,t,a){if(!n)return"";if(!t||!a)return n.toUpperCase();const e=he.padNumber(t,2),r=he.padNumber(a,2);return`${n.toUpperCase()} S${e} • E${r}`},getRating(n){var t;return(t=n._rating)==null?void 0:t.value}},it="_subText_5u663_1",st={subText:it};function Ye(n){const t=`text-uppercase text-truncate mb-0 ${st.subText} ${n.className}`;return n.appLink?g.jsx(Je,{className:t,appLink:n.appLink,analyticsData:n.analyticsData,analyticsOptions:n.analyticsOptions,title:n.title,ariaLabel:n.ariaLabel,children:n.children}):g.jsx("div",{className:t,title:n.title,"aria-label":n.ariaLabel,children:n.children})}const lt="_appLink_1owb0_1",ct="_hoverUnderline_1owb0_4",ye={appLink:lt,hoverUnderline:ct},ut="shared.videoSubText",Fe=Ge.encloseNamespace(ut);function ft(n){const{video:t}=n,{season:a}=t;if(!t.episodeNumber||!a)return g.jsx(g.Fragment,{});const e=he.padNumber(a.number,2),r=he.padNumber(t.episodeNumber,2);return g.jsxs("span",{className:`d-inline-block ${n.appLink?ye.hoverUnderline:""}`,children:[n.withSeriesTitle&&g.jsx(g.Fragment,{children:" "}),!!e&&`S${e} • `,"E",r]})}function dt(n){const t=Oe.getReleaseDate(n.video);return t?Oe.hasSeries(n.video)?g.jsx(g.Fragment,{children:` • ${t}`}):g.jsx(g.Fragment,{children:t}):g.jsx(g.Fragment,{})}function ht(n){var s;const{appLink:t,video:a,className:e=""}=n,r=a==null?void 0:a.series,u=Oe.getReleaseDate(n.video);if(!(r!=null&&r.id)&&!u)return g.jsx(g.Fragment,{});const o=(r==null?void 0:r.id)&&t&&{...t,args:[r.id,ze.slugify(r.name)]},f={...n.analyticsData,id:r==null?void 0:r.id,name:r==null?void 0:r.name,videoId:a==null?void 0:a.id,videoName:a==null?void 0:a.name},i={...n.analyticsOptions,entity:Ke.Series,actionType:He.Click,descriptor:Be.Title},l=ot.buildSeriesSeasonEpisodeText(r==null?void 0:r.name,(s=a.season)==null?void 0:s.number,a.episodeNumber);return g.jsxs(Ye,{appLink:o,className:`d-block ${ye.appLink} ${e}`,analyticsData:f,analyticsOptions:i,title:l,ariaLabel:`${Fe("ariaSeries")} ${l}`,children:[(r==null?void 0:r.name)&&r.name,g.jsx(ft,{...n,withSeriesTitle:!0}),g.jsx(dt,{...n})]})}function pt(n){var i,l;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];if(!(r!=null&&r.id))return g.jsx(g.Fragment,{});const u=(r==null?void 0:r.id)&&t&&{...t,args:[r.id,ze.slugify(r.name)]},o={...n.analyticsData,id:r==null?void 0:r.id,name:r==null?void 0:r.name,videoId:a==null?void 0:a.id,videoName:a==null?void 0:a.name},f={...n.analyticsOptions,entity:Ke.Company,actionType:He.Click,descriptor:Be.Title};return g.jsx(Ye,{appLink:u,className:`d-block ${ye.appLink} ${e}`,analyticsData:o,analyticsOptions:f,title:r.name,ariaLabel:`${Fe("ariaCompany")} ${r.name}`,children:r.name})}function Gt(n){const{type:t="series"}=n;return t==="none"?g.jsx(g.Fragment,{}):t==="series"?g.jsx(ht,{...n}):g.jsx(pt,{...n})}function mt(n){return g.jsx("svg",{...n,children:g.jsx("path",{fill:"currentColor",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"})})}function vt(n){return g.jsx("svg",{...n,children:g.jsx("path",{fill:"currentColor",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"})})}function gt(n){return g.jsx("svg",{...n,children:g.jsx("path",{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",fill:"currentColor"})})}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={topLeftContainer:bt,draft:xt,badge:Ot,svg:yt,text:St,sm:Et},Lt="shared.typeBadge",be=Ge.encloseNamespace(Lt);function Nt(n){switch(n){case G.Clip:return be("clip");case G.Interactive:return be("interactive");case G.Resource:return be("resource");default:return""}}function Tt(n){switch(n){case G.Clip:return mt;case G.Interactive:return vt;case G.Resource:return gt;default:return null}}function At(n,t){switch(n){case G.Clip:return"bg-ultramarine";case G.Interactive:return t===rt.Draft?oe.draft:"bg-green";case G.Resource:return"bg-indigo";default:return""}}kt.default={size:"md"};function kt(n){const t=`${oe.badge} rounded-pill text-white ps-0 ${n.size==="sm"?oe.sm:""}`;return g.jsx("div",{className:n.inContainer?"":oe.topLeftContainer,children:g.jsxs("div",{className:`${t} ${At(n.typeId,n.status)}`,children:[g.jsx(et,{className:`svg-container d-block ${oe.svg}`,size:n.size==="sm"?Ae.Small:Ae.Standard,svg:Tt(n.typeId)}),g.jsx("span",{className:oe.text,children:Nt(n.typeId)})]})})}var Qe=(function(){var n=function(t,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var u in r)r.hasOwnProperty(u)&&(e[u]=r[u])},n(t,a)};return function(t,a){n(t,a);function e(){this.constructor=t}t.prototype=a===null?Object.create(a):(e.prototype=a.prototype,new e)}})(),Se="html",Ee="svg",Ct="http://www.w3.org/2000/svg",Pt=function(n,t){if(t===Se)return n instanceof HTMLElement;if(t===Ee)return n instanceof SVGElement;throw new Error('Unrecognized element type "'+t+'" for validateElementType.')},We=function(n,t){var a={},e,r,u;if(n===Se)u=document.createElement("div");else if(n===Ee)u=document.createElementNS(Ct,"g");else throw new Error('Invalid element type "'+n+'" for createPortalNode: must be "html" or "svg".');if(t&&typeof t=="object")for(var o=0,f=Object.entries(t.attributes);o<f.length;o++){var i=f[o],l=i[0],s=i[1];u.setAttribute(l,s)}var c={element:u,elementType:n,setPortalProps:function(d){a=d},getInitialPortalProps:function(){return a},mount:function(d,m){if(m!==r){if(c.unmount(),d!==e&&!Pt(d,n))throw new Error('Invalid element type for portal: "'+n+'" portalNodes must be used with '+n+" elements, but OutPortal is within <"+d.tagName+">.");d.replaceChild(c.element,m),e=d,r=m}},unmount:function(d){d&&d!==r||e&&r&&(e.replaceChild(r,c.element),e=void 0,r=void 0)}};return c},$t=(function(n){Qe(t,n);function t(a){var e=n.call(this,a)||this;return e.addPropsChannel=function(){Object.assign(e.props.node,{setPortalProps:function(r){e.setState({nodeProps:r})}})},e.state={nodeProps:e.props.node.getInitialPortalProps()},e}return t.prototype.componentDidMount=function(){this.addPropsChannel()},t.prototype.componentDidUpdate=function(){this.addPropsChannel()},t.prototype.render=function(){var a=this,e=this.props,r=e.children,u=e.node;return tt.createPortal(ee.Children.map(r,function(o){return ee.isValidElement(o)?ee.cloneElement(o,a.state.nodeProps):o}),u.element)},t})(ee.PureComponent),Yt=(function(n){Qe(t,n);function t(a){var e=n.call(this,a)||this;return e.placeholderNode=ee.createRef(),e.passPropsThroughPortal(),e}return t.prototype.passPropsThroughPortal=function(){var a=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(a)},t.prototype.componentDidMount=function(){var a=this.props.node;this.currentPortalNode=a;var e=this.placeholderNode.current,r=e.parentNode;a.mount(r,e),this.passPropsThroughPortal()},t.prototype.componentDidUpdate=function(){var a=this.props.node;this.currentPortalNode&&a!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=a);var e=this.placeholderNode.current,r=e.parentNode;a.mount(r,e),this.passPropsThroughPortal()},t.prototype.componentWillUnmount=function(){var a=this.props.node;a.unmount(this.placeholderNode.current),a.setPortalProps({})},t.prototype.render=function(){return ee.createElement("div",{ref:this.placeholderNode})},t})(ee.PureComponent),Ft=We.bind(null,Se);We.bind(null,Ee);const _t=$e.createContext({hasProvider:!1});function Qt(){return $e.useContext(_t)}var ue={},E={},fe={},ke;function pe(){if(ke)return fe;ke=1,fe.__esModule=!0,fe.inherits=n;function n(t,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Object.create(t.prototype);for(var u in e)r[u]=e[u];return r.constructor=a,a.prototype=r,a}return fe}var re={},Ce;function Rt(){if(Ce)return re;Ce=1,re.__esModule=!0;var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t={defaultProtocol:"http",events:null,format:r,formatHref:r,nl2br:!1,tagName:"a",target:u,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};re.defaults=t,re.Options=a,re.contains=e;function a(o){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;for(var f=o.hasOwnProperty("ignoreTags")?o.ignoreTags:t.ignoreTags,i=0;i<f.length;i++)this.ignoreTags.push(f[i].toUpperCase())}a.prototype={resolve:function(f){var i=f.toHref(this.defaultProtocol);return{formatted:this.get("format",f.toString(),f),formattedHref:this.get("formatHref",i,f),tagName:this.get("tagName",i,f),className:this.get("className",i,f),target:this.get("target",i,f),events:this.getObject("events",i,f),attributes:this.getObject("attributes",i,f)}},check:function(f){return this.get("validate",f.toString(),f)},get:function(f,i,l){var s=void 0,c=this[f];if(!c)return c;switch(typeof c>"u"?"undefined":n(c)){case"function":return c(i,l.type);case"object":return s=c.hasOwnProperty(l.type)?c[l.type]:t[f],typeof s=="function"?s(i,l.type):s}return c},getObject:function(f,i,l){var s=this[f];return typeof s=="function"?s(i,l.type):s}};function e(o,f){for(var i=0;i<o.length;i++)if(o[i]===f)return!0;return!1}function r(o){return o}function u(o,f){return f==="url"?"_blank":null}return re}var j={},W={},Pe;function Ve(){if(Pe)return W;Pe=1,W.__esModule=!0,W.stateify=W.TokenState=W.CharacterState=void 0;var n=pe();function t(){return function(o){this.j=[],this.T=o||null}}var a=t();a.prototype={defaultTransition:!1,on:function(f,i){if(f instanceof Array){for(var l=0;l<f.length;l++)this.j.push([f[l],i]);return this}return this.j.push([f,i]),this},next:function(f){for(var i=0;i<this.j.length;i++){var l=this.j[i],s=l[0],c=l[1];if(this.test(f,s))return c}return this.defaultTransition},accepts:function(){return!!this.T},test:function(f,i){return f===i},emit:function(){return this.T}};var e=(0,n.inherits)(a,t(),{test:function(f,i){return f===i||i instanceof RegExp&&i.test(f)}}),r=(0,n.inherits)(a,t(),{jump:function(f){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,l=this.next(new f(""));return l===this.defaultTransition?(l=new this.constructor(i),this.on(f,l)):i&&(l.T=i),l},test:function(f,i){return f instanceof i}});function u(o,f,i,l){for(var s=0,c=o.length,d=f,m=[],v=void 0;s<c&&(v=d.next(o[s]));)d=v,s++;if(s>=c)return[];for(;s<c-1;)v=new e(l),m.push(v),d.on(o[s],v),d=v,s++;return v=new e(i),m.push(v),d.on(o[c-1],v),m}return W.CharacterState=e,W.TokenState=r,W.stateify=u,W}var h={},de={},_e;function Xe(){if(_e)return de;_e=1,de.__esModule=!0;function n(){return function(t){t&&(this.v=t)}}return de.createTokenClass=n,de}var Re;function Le(){if(Re)return h;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;var n=Xe(),t=pe(),a=(0,n.createTokenClass)();a.prototype={toString:function(){return this.v+""}};function e(F){var S=F?{v:F}:{};return(0,t.inherits)(a,(0,n.createTokenClass)(),S)}var r=e(),u=e("@"),o=e(":"),f=e("."),i=e(),l=e(),s=e(`
|
|
2
2
|
`),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("&");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}var we;function wt(){if(we)return j;we=1,j.__esModule=!0,j.start=j.run=j.TOKENS=j.State=void 0;var n=Ve(),t=Le(),a=e(t);function e(S){if(S&&S.__esModule)return S;var M={};if(S!=null)for(var V in S)Object.prototype.hasOwnProperty.call(S,V)&&(M[V]=S[V]);return M.default=S,M}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){return new n.CharacterState(M)},s=l(),c=l(t.NUM),d=l(t.DOMAIN),m=l(),v=l(t.WS);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(`
|
|
3
3
|
`,l(t.NL)).on(f,v),v.on(f,v);for(var b=0;b<r.length;b++){var p=(0,n.stateify)(r[b],s,t.TLD,t.DOMAIN);i.push.apply(i,p)}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);i.push.apply(i,L),i.push.apply(i,_),i.push.apply(i,k),i.push.apply(i,C);var R=L.pop(),T=_.pop(),y=k.pop(),I=C.pop(),A=l(t.DOMAIN),w=l(t.PROTOCOL),$=l(t.MAILTO);T.on("s",A).on(":",w),y.on("s",A).on(":",w),i.push(A),R.on(":",w),A.on(":",w),I.on(":",$);var Y=(0,n.stateify)("localhost",s,t.LOCALHOST,t.DOMAIN);i.push.apply(i,Y),s.on(u,c),c.on("-",m).on(u,c).on(o,d),d.on("-",m).on(o,d);for(var q=0;q<i.length;q++)i[q].on("-",m).on(o,d);m.on("-",m).on(u,d).on(o,d),s.defaultTransition=l(t.SYM);var B=function(M){for(var V=M.replace(/[A-Z]/g,function(me){return me.toLowerCase()}),H=M.length,te=[],P=0;P<H;){for(var Q=s,ie=null,ne=0,O=null,x=-1;P<H&&(ie=Q.next(V[P]));)Q=ie,Q.accepts()?(x=0,O=Q):x>=0&&x++,ne++,P++;if(!(x<0)){P-=x,ne-=x;var X=O.emit();te.push(new X(M.substr(P-ne,ne)))}}return te},F=s;return j.State=n.CharacterState,j.TOKENS=a,j.run=B,j.start=F,j}var z={},N={},Me;function Mt(){if(Me)return N;Me=1,N.__esModule=!0,N.URL=N.TEXT=N.NL=N.EMAIL=N.MAILTOEMAIL=N.Base=void 0;var n=Xe(),t=pe(),a=Le();function e(s){return s instanceof a.DOMAIN||s instanceof a.TLD}var r=(0,n.createTokenClass)();r.prototype={type:"token",isLink:!1,toString:function(){for(var c=[],d=0;d<this.v.length;d++)c.push(this.v[d].toString());return c.join("")},toHref:function(){return this.toString()},toObject:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(c)}}};var u=(0,t.inherits)(r,(0,n.createTokenClass)(),{type:"email",isLink:!0}),o=(0,t.inherits)(r,(0,n.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),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)(),{type:"url",isLink:!0,toHref:function(){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;)d=!0,b.push(v[p].toString().toLowerCase()),p++;for(;v[p]instanceof a.SLASH;)m=!0,b.push(v[p].toString()),p++;for(;e(v[p]);)b.push(v[p].toString().toLowerCase()),p++;for(;p<v.length;p++)b.push(v[p].toString());return b=b.join(""),d||m||(b=c+"://"+b),b},hasProtocol:function(){return this.v[0]instanceof a.PROTOCOL}});return N.Base=r,N.MAILTOEMAIL=u,N.EMAIL=o,N.NL=i,N.TEXT=f,N.URL=l,N}var De;function Dt(){if(De)return z;De=1,z.__esModule=!0,z.start=z.run=z.TOKENS=z.State=void 0;var n=Ve(),t=Mt(),a=r(t),e=Le();function r(K){if(K&&K.__esModule)return K;var D={};if(K!=null)for(var Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&(D[Z]=K[Z]);return D.default=K,D}var u=function(D){return new n.TokenState(D)},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);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);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];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);var X=[e.DOMAIN,e.NUM,e.PLUS,e.POUND,e.QUERY,e.UNDERSCORE,e.SYM,e.AMPERSAND,e.TLD];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);var me=function(D){for(var Z=D.length,U=0,le=[],J=[];U<Z;){for(var se=o,ve=null,Ne=null,ce=0,Te=null,ae=-1;U<Z&&!(ve=se.next(D[U]));)J.push(D[U++]);for(;U<Z&&(Ne=ve||se.next(D[U]));)ve=null,se=Ne,se.accepts()?(ae=0,Te=se):ae>=0&&ae++,U++,ce++;if(ae<0)for(var ge=U-ce;ge<U;ge++)J.push(D[ge]);else{J.length>0&&(le.push(new t.TEXT(J)),J=[]),U-=ae,ce-=ae;var Ze=Te.emit();le.push(new Ze(D.slice(U-ce,U)))}}return J.length>0&&le.push(new t.TEXT(J)),le};return z.State=n.TokenState,z.TOKENS=a,z.run=me,z.start=o,z}var Ue;function Ut(){if(Ue)return E;Ue=1,E.__esModule=!0,E.tokenize=E.test=E.scanner=E.parser=E.options=E.inherits=E.find=void 0;var n=pe(),t=Rt(),a=f(t),e=wt(),r=f(e),u=Dt(),o=f(u);function f(c){if(c&&c.__esModule)return c;var d={};if(c!=null)for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(d[m]=c[m]);return d.default=c,d}Array.isArray||(Array.isArray=function(c){return Object.prototype.toString.call(c)==="[object Array]"});var i=function(d){return o.run(r.run(d))},l=function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=i(d),b=[],p=0;p<v.length;p++){var L=v[p];L.isLink&&(!m||L.type===m)&&b.push(L.toObject())}return b},s=function(d){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=i(d);return v.length===1&&v[0].isLink&&(!m||v[0].type===m)};return E.find=l,E.inherits=n.inherits,E.options=a,E.parser=o,E.scanner=r,E.test=s,E.tokenize=i,E}var Ie;function It(){if(Ie)return ue;Ie=1,ue.__esModule=!0;var n=Ut(),t=a(n);function a(s){if(s&&s.__esModule)return s;var c={};if(s!=null)for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(c[d]=s[d]);return c.default=s,c}var e=t.tokenize,r=t.options,u=r.Options;function o(s){return s.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function f(s){return s.replace(/"/g,""")}function i(s){if(!s)return"";var c=[];for(var d in s){var m=s[d]+"";c.push(d+'="'+f(m)+'"')}return c.join(" ")}function l(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=new u(c);for(var d=e(s),m=[],v=0;v<d.length;v++){var b=d[v];if(b.type==="nl"&&c.nl2br){m.push(`<br>
|
|
4
4
|
`);continue}else if(!b.isLink||!c.check(b)){m.push(o(b.toString()));continue}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(_)+'"';C&&(y+=' class="'+f(C)+'"'),R&&(y+=' target="'+f(R)+'"'),T&&(y+=" "+i(T)),y+=">"+o(L)+"</"+k+">",m.push(y)}return m.join("")}if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{set:function(){},get:function(){return function(d){return l(this,d)}}})}catch{String.prototype.linkify||(String.prototype.linkify=function(c){return l(this,c)})}return ue.default=l,ue}var xe,qe;function qt(){return qe||(qe=1,xe=It().default),xe}var jt=qt();const zt=nt(jt),je={className:"info-link",defaultProtocol:"https"},Wt={linkifyText(n,t){if(!n)return;const a=t?at({},je,t):je;return zt(n,a)}};export{$t as I,Wt as L,Yt as O,gt as R,ot as S,kt as T,Gt as V,ft as a,vt as b,Ft as c,Ye as d,Qt as u};
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=afx3pyqK.chunk.js.map
|