@platform-x/hcltechx-mfe-wrapper 3.0.12 → 3.0.13
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/{ArticleVodList-C65Ln8eR.mjs → ArticleVodList-JsmzfN2W.mjs} +2 -2
- package/{ArticleVodListComponent-CJaJnuna.mjs → ArticleVodListComponent-BySgNZl5.mjs} +3 -3
- package/{ChallengeDetailComponent-DRrmBkea.mjs → ChallengeDetailComponent-Ds7UViAD.mjs} +1 -1
- package/{CommonContentComponent-C_2OR8z3.mjs → CommonContentComponent-HcpJR_Mj.mjs} +2 -2
- package/{DailyMotion-BhiH1hsa.mjs → DailyMotion-BXV52l8j.mjs} +1 -1
- package/{EngagementHomeComponent-Cz0bC-Cc.mjs → EngagementHomeComponent-B7ZB-d7j.mjs} +1 -1
- package/{EventDetailComponent-5fcS_atQ.mjs → EventDetailComponent-BqdHwL-J.mjs} +1 -1
- package/EventList-DyzhCIo9.mjs +741 -0
- package/{EventListComponent-CrVPyY0Q.mjs → EventListComponent-DZchSdiA.mjs} +3 -3
- package/{Facebook-eSGZ0AKJ.mjs → Facebook-DGpXktN5.mjs} +1 -1
- package/{FilePlayer-C6vN-ohc.mjs → FilePlayer-Dw_r7Dt9.mjs} +1 -1
- package/{FilterModal-Bg4rtDV9.mjs → FilterModal-DLsBy_bt.mjs} +19 -19
- package/{IndividualChallengeComponent-CXBValRD.mjs → IndividualChallengeComponent-C4Wwx9WO.mjs} +1 -1
- package/{Kaltura-C2Duv3rj.mjs → Kaltura-OVuSLLAP.mjs} +1 -1
- package/{Mixcloud-BbmteRhY.mjs → Mixcloud-DDhokP2d.mjs} +1 -1
- package/{Mux-CcZEercK.mjs → Mux-xfDxcioz.mjs} +1 -1
- package/{PageComponent-CmQtEVuE.mjs → PageComponent-Cafft3gW.mjs} +2 -2
- package/{Preview-1zX3opMv.mjs → Preview-BIx6uBnq.mjs} +1 -1
- package/{RecentCarousel-Mum1Wndo.mjs → RecentCarousel-BIRvKY0Z.mjs} +1 -1
- package/{Share-ChJjAs0A.mjs → Share-COAcrURU.mjs} +1 -1
- package/{SoundCloud-BAz6nPA0.mjs → SoundCloud-CRuNPbyU.mjs} +1 -1
- package/{Streamable-CJfcIlT2.mjs → Streamable-BWBPeo65.mjs} +1 -1
- package/{Twitch-DgNr5tNp.mjs → Twitch-COtpSx4k.mjs} +1 -1
- package/{Vidyard-D7j0fBTe.mjs → Vidyard-Bt5tgm84.mjs} +1 -1
- package/{Vimeo-DpF61dj0.mjs → Vimeo-CMlJtbL_.mjs} +1 -1
- package/{Wistia-BAJuupto.mjs → Wistia-CcOfvq7n.mjs} +1 -1
- package/{YouTube-gpKdzwgi.mjs → YouTube-CTvEb5Ue.mjs} +1 -1
- package/{index-DKK-JRJj.mjs → index-C8pAGaWW.mjs} +17535 -16170
- package/{index-BhjNg2G0.mjs → index-D1FksJTJ.mjs} +75 -73
- package/index.mjs +1 -1
- package/lib/Components/SkeltonLoaders/SportsFacilities/SportsSkeltonLoader.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/SportsFacilities/SportsSkeltonLoader.style.d.ts +2 -0
- package/lib/contentTypes/Components/SportsFacilityDetailComponent.d.ts +2 -0
- package/lib/prelems/Components/SportsFacilitiesComponent.d.ts +2 -0
- package/lib/services/fetchApi.d.ts +1 -0
- package/lib/services/fetchQueries.d.ts +1 -0
- package/lib/services/mutateApi.d.ts +2 -0
- package/lib/services/mutateQueries.d.ts +2 -0
- package/lib/utils/componentMapping.d.ts +3 -1
- package/package.json +1 -1
- package/EventList-Cj4laQ-i.mjs +0 -843
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p, useEffect as R } from "react";
|
|
3
|
+
import { aQ as X2, B as t, aR as D2, T as u, aS as A2, aT as j2, aU as $2, aV as O2, K as G2, aW as U2, ag as z2, aX as K2, aY as c2, aZ as Q2, a7 as J2, a_ as h2, a$ as Y2, b0 as e0, b1 as a0, b2 as s0, b3 as l0, b4 as o2, b5 as m2, G as g, ai as H, S as d, b6 as N, b7 as t0, b8 as r0, b9 as g2, ba as i0, bb as d0, X as x2, bc as p2, M as n0 } from "./index-C8pAGaWW.mjs";
|
|
4
|
+
import { F as C0, a as c0, b as u2 } from "./FilterModal-DLsBy_bt.mjs";
|
|
5
|
+
const w2 = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.24158%209.93167H7.89249C7.87804%209.92702%207.86407%209.91967%207.84937%209.91771C7.36678%209.85476%206.97996%209.62646%206.67914%209.24604C6.65758%209.21861%206.60883%209.19926%206.57257%209.19877C6.17155%209.19558%205.77028%209.19681%205.36926%209.19656C5.21934%209.19656%205.06917%209.19705%204.91925%209.19607C4.84257%209.19558%204.77128%209.16521%204.75291%209.09123C4.73846%209.03293%204.74066%208.9494%204.77349%208.90629C4.80705%208.8622%204.88691%208.83305%204.94693%208.83232C5.41213%208.82644%205.87758%208.82913%206.34303%208.82889C6.37463%208.82889%206.40648%208.82595%206.43196%208.82472C6.39399%208.6508%206.35798%208.48522%206.32074%208.31473H6.21222C4.64757%208.31473%203.08292%208.31473%201.51852%208.31473C1.31275%208.31473%201.25983%208.26108%201.25983%208.05238C1.25983%206.65639%201.25983%205.26015%201.25983%203.86415C1.25983%203.66843%201.31593%203.61185%201.50995%203.6116C3.74509%203.6116%205.98023%203.6116%208.21536%203.6116C8.40448%203.6116%208.46205%203.66917%208.46205%203.85827C8.46205%204.70949%208.46205%205.56046%208.46205%206.41168V6.50917C8.63941%206.58339%208.80624%206.6532%208.96915%206.72105V3.09744H8.84274C6.60148%203.09744%204.36022%203.09744%202.11895%203.09744C2.08221%203.09744%202.04497%203.09965%202.00896%203.09499C1.91538%203.08275%201.84777%203.00338%201.8485%202.91177C1.84948%202.82015%201.91857%202.74299%202.01263%202.73197C2.04595%202.72805%202.08%202.73001%202.11356%202.73001C4.36095%202.73001%206.60834%202.73001%208.85573%202.73001H8.9765C8.9765%202.43019%208.97699%202.14286%208.9765%201.85552C8.97601%201.69875%208.9035%201.62796%208.74377%201.62796C8.33957%201.62747%207.93536%201.62796%207.5314%201.62796C7.50788%201.62796%207.48412%201.62796%207.45178%201.62796C7.45178%201.6941%207.45252%201.75166%207.45178%201.80898C7.44664%202.12203%207.20313%202.36454%206.89643%202.36258C6.59462%202.36062%206.35479%202.11811%206.34989%201.80947C6.34891%201.74995%206.34989%201.69018%206.34989%201.63311H3.37273C3.37273%201.70194%203.37444%201.76563%203.37248%201.82907C3.36244%202.12473%203.11943%202.36086%202.82497%202.36233C2.52634%202.3638%202.28015%202.12546%202.27157%201.82564C2.26986%201.7622%202.27133%201.69875%202.27133%201.62772H2.16256C1.77991%201.62772%201.39702%201.62772%201.01437%201.62772C0.80418%201.62772%200.746122%201.68528%200.746122%201.89349C0.746122%204.11621%200.746122%206.33892%200.746122%208.56164C0.746122%208.77083%200.80418%208.82913%201.0129%208.82938C1.81519%208.82938%202.61723%208.82913%203.41952%208.82987C3.54298%208.82987%203.62824%208.90801%203.62726%209.01432C3.62628%209.11769%203.54323%209.19607%203.42613%209.19632C2.59322%209.19705%201.76056%209.19803%200.927647%209.19558C0.688798%209.19485%200.48596%209.04004%200.408058%208.81296C0.399239%208.78749%200.388705%208.76275%200.378906%208.73776C0.378906%206.39845%200.378906%204.05913%200.378906%201.71982C0.383806%201.71247%200.39091%201.70561%200.393605%201.69753C0.483755%201.40407%200.675324%201.26102%200.981541%201.26077C1.34533%201.26028%201.70911%201.26077%202.0729%201.26077C2.13635%201.26077%202.19955%201.26077%202.27133%201.26077C2.27133%201.20664%202.2728%201.16157%202.27108%201.1165C2.26569%200.963155%202.31052%200.82794%202.41072%200.710852C2.49597%200.6114%202.61086%200.564614%202.73065%200.525666C2.7919%200.525666%202.85314%200.525666%202.91438%200.525666C2.92541%200.53081%202.9357%200.537669%202.94721%200.540853C3.21962%200.618504%203.3715%200.816917%203.37371%201.09837C3.3742%201.14957%203.37371%201.20052%203.37371%201.25588H6.35014C6.35014%201.20052%206.35087%201.14932%206.35014%201.09812C6.34744%200.93719%206.39448%200.789727%206.5177%200.687336C6.60075%200.617524%206.71025%200.578331%206.80848%200.525421C6.86973%200.525421%206.93097%200.525421%206.99221%200.525421C7.00324%200.530565%207.01353%200.537424%207.02504%200.540608C7.29745%200.618504%207.44933%200.816672%207.45154%201.09861C7.45203%201.14981%207.45154%201.20101%207.45154%201.26028H7.55957C7.95128%201.26028%208.343%201.26028%208.73471%201.26053C8.78052%201.26053%208.82706%201.26028%208.87189%201.26812C9.16096%201.31883%209.34396%201.54615%209.34396%201.85528C9.3442%203.55649%209.34445%205.2577%209.34298%206.9589C9.34298%207.02382%209.35915%207.0733%209.40128%207.12376C9.57031%207.32683%209.68031%207.56051%209.74131%207.81722C9.75747%207.88483%209.7707%207.95317%209.78516%208.02103V8.38846C9.77952%208.40512%209.77119%208.42153%209.7685%208.43867C9.65238%209.12798%209.26557%209.5951%208.61149%209.83785C8.49292%209.8817%208.36529%209.90105%208.24182%209.93167H8.24158ZM6.69824%208.20523C6.69824%208.95504%207.30994%209.56522%208.06054%209.56424C8.80624%209.56326%209.41574%208.9543%209.41721%208.20866C9.41868%207.45788%208.80918%206.84598%208.05932%206.84525C7.30872%206.84476%206.698%207.45494%206.69824%208.20499V8.20523ZM3.00061%203.98173V5.05757H3.9881V3.98173H3.00061ZM6.72372%203.98418H5.73329V5.05855H6.72372V3.98418ZM3.99031%206.86827H2.99963V7.94264H3.99031V6.86827ZM2.99914%205.43504V6.48835H3.98884V5.43504H2.99914ZM6.72372%205.43553H5.73329V6.49153H6.72372V5.43553ZM2.61821%205.06026V3.98491H1.63391V5.06026H2.61821ZM5.3526%205.06051V3.98516H4.36928V5.06051H5.3526ZM7.10367%203.98222V5.05757H8.08798V3.98222H7.10367ZM2.6209%206.86999H1.6344V7.94117H2.6209V6.86999ZM4.3661%207.94166H5.3526V6.8695H4.3661V7.94166ZM1.63391%205.43357V6.49055H2.61821V5.43357H1.63391ZM5.35603%205.43651H4.36928V6.49055H5.35603V5.43651ZM8.08798%206.48467V5.43627H7.10392V6.48467H8.08798ZM6.34916%207.94534C6.3957%207.67221%206.48659%207.41893%206.65586%207.20459C6.74136%207.09632%206.73132%206.9883%206.72274%206.87023H5.73427V7.94534H6.34916ZM2.63781%201.43739C2.63781%201.55643%202.63634%201.67548%202.6383%201.79453C2.64001%201.9126%202.71497%201.99343%202.81958%201.99441C2.92443%201.99539%203.00355%201.9148%203.00453%201.7982C3.00649%201.56329%203.00625%201.32814%203.00453%201.09323C3.0038%200.975157%202.92786%200.894567%202.82325%200.893343C2.71522%200.892118%202.63952%200.974913%202.63805%201.09861C2.63658%201.21154%202.63781%201.32446%202.63781%201.43739ZM7.08408%201.44914C7.08408%201.3301%207.08555%201.21105%207.08359%201.092C7.08163%200.974423%207.00569%200.893833%206.90084%200.893588C6.79599%200.893343%206.71809%200.973933%206.71735%201.09102C6.71564%201.32593%206.71564%201.56109%206.71735%201.796C6.71833%201.91358%206.79501%201.99417%206.89986%201.99466C7.00471%201.9949%207.08163%201.91431%207.08359%201.79722C7.08579%201.68136%207.08408%201.56525%207.08408%201.44939V1.44914Z'%20fill='%23303030'/%3e%3c/svg%3e", f2 = "data:image/svg+xml,%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.09785%2010.9199C2.92152%2010.8871%202.74278%2010.864%202.56912%2010.8199C1.22766%2010.4815%200.180088%209.2778%200.0200536%207.86741C-0.0678453%207.09139%200.129326%206.40053%200.688513%205.84387C0.916676%205.6168%201.12854%205.36988%201.37113%205.161C1.92497%204.68481%202.57313%204.51864%203.27498%204.668C4.73533%204.97857%205.66455%205.89182%206.02817%207.38212C6.24778%208.2816%206.02817%209.07856%205.37841%209.7358C5.16868%209.94799%204.96777%2010.1704%204.74762%2010.3702C4.40805%2010.6785%204.00543%2010.8513%203.55444%2010.9026C3.53547%2010.9048%203.51704%2010.9139%203.49834%2010.9199H3.09758H3.09785ZM5.76554%208.01319C5.76207%207.94788%205.761%207.88229%205.75459%207.81753C5.6747%207.036%205.35383%206.37793%204.80079%205.83864C4.25042%205.30209%203.6028%204.99125%202.84083%204.9827C2.10425%204.97444%201.53224%205.29355%201.17022%205.96871C0.939652%206.3986%200.893432%206.86074%200.979194%207.33969C1.22659%208.72169%202.30275%209.76501%203.65276%209.93256C4.79678%2010.0745%205.761%209.19705%205.76527%208.01291L5.76554%208.01319ZM0.631071%206.47521C0.602217%206.52454%200.584584%206.5521%200.569622%206.58131C0.338787%207.03297%200.282147%207.51633%200.385542%208.00602C0.647368%209.245%201.38449%2010.0588%202.54508%2010.4523C3.10319%2010.6416%203.66398%2010.6149%204.19886%2010.3338C4.23145%2010.3167%204.26164%2010.2949%204.30225%2010.2693C3.2317%2010.3853%202.34042%2010.0309%201.59956%209.26677C0.860036%208.50399%200.514852%207.5855%200.631071%206.47494V6.47521Z'%20fill='black'/%3e%3cpath%20d='M4.21997%200.337952C4.30546%200.401885%204.33085%200.488415%204.3255%200.595613C4.31829%200.739463%204.3255%200.884139%204.32283%201.02826C4.32096%201.14235%204.25203%201.21841%204.15558%201.21951C4.05994%201.22061%203.9854%201.14428%203.98299%201.03157C3.97952%200.863471%203.98272%200.695095%203.98165%200.52672C3.98112%200.436607%204.03402%200.383421%204.09921%200.337952H4.21944L4.21997%200.337952Z'%20fill='black'/%3e%3cpath%20d='M4.83895%203.88759C4.84643%203.51584%205.01288%203.07492%205.26455%202.6712C5.73023%201.92385%206.35541%201.37353%207.19432%201.12138C7.38909%201.06296%207.60202%201.04504%207.80614%201.04752C8.10965%201.05111%208.37655%201.17153%208.59216%201.40109C8.7383%201.55678%208.88658%201.71083%209.03833%201.86102C9.33943%202.15864%209.43641%202.52873%209.39794%202.94292C9.3397%203.56709%209.05757%204.0882%208.6699%204.5531C8.22613%205.08551%207.69687%205.49446%207.03001%205.6813C6.64422%205.78932%206.25736%205.80806%205.89588%205.58595C5.80504%205.53028%205.72061%205.45973%205.6434%205.38505C5.49753%205.24368%205.36287%205.08991%205.21673%204.9491C4.9509%204.69281%204.83708%204.37508%204.83869%203.88759H4.83895ZM6.0145%204.8678C6.06767%204.8645%206.12164%204.86532%206.17427%204.85733C6.25335%204.84521%206.33377%204.83473%206.40964%204.81048C7.3402%204.51011%207.9945%203.89007%208.38804%202.97461C8.49437%202.72715%208.55769%202.46811%208.547%202.19391C8.5299%201.75685%208.2777%201.45179%207.8569%201.41183C7.66588%201.39364%207.46203%201.42038%207.27554%201.47191C6.70674%201.62871%206.25308%201.98144%205.86542%202.42649C5.51543%202.82828%205.27364%203.29042%205.19135%203.83027C5.09757%204.44673%205.43314%204.86642%206.01477%204.86835L6.0145%204.8678ZM8.89913%202.23745C8.84062%203.04984%208.49357%203.69965%207.95415%204.24914C7.41634%204.79698%206.79945%205.18885%206.0145%205.24176C6.07381%205.28282%206.13286%205.31837%206.19644%205.34069C6.47831%205.43852%206.7591%205.40297%207.03135%205.30652C7.83767%205.02075%208.41956%204.46381%208.81604%203.69496C8.98276%203.37144%209.08348%203.02725%209.04955%202.65384C9.03619%202.50586%208.99692%202.3667%208.89913%202.23745Z'%20fill='black'/%3e%3cpath%20d='M3.44835%203.37609C3.44701%204.03389%202.96129%204.45634%202.31822%204.35961C1.87471%204.29293%201.49854%204.08294%201.15977%203.79138C0.739243%203.4301%200.4336%202.98808%200.279978%202.44217C0.212651%202.20353%200.196621%201.96074%200.259138%201.71852C0.378831%201.25555%200.810043%200.979978%201.30831%201.0508C1.91132%201.1365%202.39329%201.45148%202.79672%201.90673C3.11278%202.26332%203.34816%202.66566%203.42724%203.15067C3.43926%203.22508%203.44167%203.30114%203.44861%203.37637L3.44835%203.37609ZM0.565849%202.05334C0.567452%202.07649%200.56959%202.12113%200.573597%202.1655C0.575735%202.18947%200.580009%202.21317%200.585086%202.23659C0.694625%202.7431%200.961528%203.14902%201.33824%203.48301C1.6388%203.74977%201.9725%203.94818%202.37325%204.00771C2.75103%204.06392%203.04305%203.87819%203.089%203.52821C3.1069%203.3918%203.09755%203.24354%203.06549%203.10961C2.93752%202.57279%202.62252%202.16054%202.20975%201.82516C1.93349%201.60085%201.62277%201.44652%201.26877%201.40105C0.84424%201.34677%200.563445%201.59947%200.566117%202.05306L0.565849%202.05334Z'%20fill='black'/%3e%3cpath%20d='M4.75%201.57378C4.66984%201.57378%204.58969%201.57654%204.50954%201.57295C4.3992%201.56799%204.3252%201.49442%204.3252%201.39576C4.3252%201.296%204.39893%201.2238%204.51008%201.22215C4.67358%201.21967%204.83736%201.21939%205.00087%201.22215C5.10693%201.22408%205.17693%201.2938%205.17987%201.3908C5.18254%201.48615%205.11335%201.56469%205.01022%201.5713C4.92366%201.57709%204.83656%201.5724%204.75%201.5724V1.57295V1.57378Z'%20fill='black'/%3e%3cpath%20d='M3.559%201.22221C3.64235%201.22221%203.72598%201.21945%203.80907%201.22276C3.91139%201.22689%203.97605%201.2911%203.98059%201.38617C3.9854%201.4851%203.92101%201.56723%203.81815%201.57081C3.64155%201.57715%203.46442%201.57715%203.28809%201.56998C3.18977%201.56585%203.12885%201.48593%203.13152%201.39058C3.13393%201.29468%203.19832%201.22992%203.29877%201.22221C3.30545%201.22166%203.31213%201.22138%203.31881%201.22138C3.39896%201.22138%203.47884%201.22138%203.559%201.22138C3.559%201.22138%203.559%201.22166%203.559%201.22193V1.22221Z'%20fill='black'/%3e%3cpath%20d='M4.32307%202.01785C4.32307%202.10383%204.32574%202.19009%204.32253%202.27579C4.31852%202.38078%204.25574%202.44692%204.1625%202.45078C4.06578%202.45491%203.98804%202.38877%203.98483%202.28213C3.97922%202.10328%203.97922%201.92416%203.98483%201.74559C3.98804%201.63921%204.06525%201.57225%204.1617%201.57556C4.25841%201.57886%204.32039%201.64721%204.3236%201.75964C4.32601%201.84562%204.32414%201.9316%204.32414%202.01758C4.32414%202.01758%204.32414%202.01758%204.32387%202.01758L4.32307%202.01785Z'%20fill='black'/%3e%3cpath%20d='M7.18792%207.41353C7.12674%207.37522%207.07678%207.35455%207.04018%207.319C6.93545%207.21787%206.83499%207.11177%206.73507%207.00568C6.65064%206.91584%206.6469%206.81608%206.72118%206.74085C6.79198%206.66892%206.88896%206.67085%206.97098%206.75242C7.08159%206.86238%207.18926%206.97509%207.29639%207.08862C7.35036%207.14567%207.37067%207.21925%207.32792%207.28649C7.29666%207.33554%207.24029%207.3675%207.18792%207.41353Z'%20fill='black'/%3e%3cpath%20d='M7.68405%207.54828C7.74469%207.58383%207.78985%207.60036%207.82191%207.6315C7.93305%207.7398%208.04152%207.85113%208.14678%207.9655C8.22453%208.0501%208.22293%208.14986%208.15079%208.22178C8.0816%208.29067%207.98675%208.29205%207.90954%208.21627C7.79652%208.10521%207.68699%207.99002%207.57798%207.87483C7.52481%207.81862%207.5005%207.74559%207.54352%207.67835C7.57638%207.62709%207.63462%207.59292%207.68405%207.54883V7.54828Z'%20fill='black'/%3e%3cpath%20d='M7.36726%207.73237C7.33707%207.793%207.32398%207.84178%207.29432%207.87429C7.18478%207.99389%207.07204%208.11074%206.95609%208.22372C6.88048%208.2973%206.78136%208.29234%206.71483%208.22179C6.64751%208.15042%206.64564%208.05287%206.71938%207.9735C6.82945%207.85445%206.94353%207.73899%207.05788%207.62435C7.11292%207.56923%207.18372%207.54719%207.24891%207.59293C7.29593%207.626%207.32719%207.6836%207.36753%207.73265L7.36726%207.73237Z'%20fill='black'/%3e%3cpath%20d='M8.05061%206.67252C8.09309%206.70641%208.15855%206.73369%208.17805%206.78082C8.19916%206.8318%208.2005%206.92246%208.16977%206.95966C8.05329%207.10021%207.92397%207.23028%207.79199%207.35622C7.72707%207.41822%207.62474%207.40113%207.5665%207.33582C7.5104%207.27299%207.50078%207.17544%207.56009%207.11013C7.68085%206.9773%207.80749%206.85026%207.9352%206.7246C7.95951%206.70063%208.00038%206.69429%208.05061%206.67224V6.67252Z'%20fill='black'/%3e%3cpath%20d='M1.27789%206.93848C1.28457%205.95634%201.97948%205.27402%202.93061%205.33437C3.74734%205.38617%204.37599%205.80146%204.87106%206.44851C5.22185%206.90707%205.42357%207.42983%205.41822%208.02093C5.40941%208.99977%204.66427%209.67052%203.71849%209.58454C2.42806%209.46715%201.50205%208.34528%201.32358%207.33779C1.30034%207.20634%201.29285%207.07186%201.27789%206.93848ZM1.62308%206.97844C1.62735%207.02997%201.62922%207.11319%201.64231%207.19449C1.80903%208.23395%202.69443%209.10807%203.70967%209.23732C4.33298%209.31668%204.87213%208.96477%205.0311%208.37339C5.09361%208.14026%205.09575%207.90409%205.0506%207.66792C4.8585%206.66401%204.03776%205.85493%203.0535%205.69757C2.24505%205.56833%201.61319%206.12058%201.62334%206.97871L1.62308%206.97844Z'%20fill='black'/%3e%3cpath%20d='M7.79202%202.45683C7.78855%202.55934%207.7263%202.60592%207.63973%202.6354C7.28253%202.75693%206.92585%202.88066%206.56892%203.00357C6.45831%203.0416%206.34823%203.08073%206.23682%203.116C6.13289%203.1488%206.04126%203.1025%206.01053%203.0066C5.98141%202.91566%206.02603%202.81894%206.12381%202.78504C6.60311%202.61777%207.08322%202.45215%207.56412%202.28983C7.68622%202.2485%207.79362%202.33227%207.79202%202.45683Z'%20fill='black'/%3e%3cpath%20d='M6.31134%204.00028C6.20821%203.99808%206.1497%203.95288%206.12886%203.86635C6.10775%203.77817%206.14195%203.69991%206.22077%203.67042C6.47404%203.5759%206.73026%203.48909%206.98728%203.40559C7.0685%203.37914%207.1588%203.44252%207.18231%203.52602C7.20876%203.61944%207.16494%203.7101%207.06556%203.7462C6.84888%203.82446%206.6306%203.89777%206.41259%203.97217C6.37492%203.98512%206.33592%203.99367%206.31134%204.00056V4.00028Z'%20fill='black'/%3e%3cpath%20d='M2.77297%207.92304C2.62496%207.91973%202.54587%207.81667%202.56965%207.70975C2.57553%207.68329%202.58648%207.65766%202.59824%207.63314C2.81518%207.18478%203.03239%206.73614%203.25067%206.28834C3.30811%206.17039%203.40028%206.13098%203.49379%206.17866C3.58677%206.22606%203.61268%206.3283%203.55631%206.44486C3.3383%206.89653%203.12109%207.34875%202.89694%207.79738C2.86755%207.85635%202.80075%207.89576%202.77297%207.92277V7.92304Z'%20fill='black'/%3e%3cpath%20d='M3.44325%208.45021C3.29924%208.45021%203.21054%208.32758%203.26237%208.21212C3.37405%207.96327%203.49535%207.71856%203.61958%207.47606C3.66393%207.38953%203.76652%207.37134%203.84587%207.41901C3.92335%207.46531%203.95381%207.55901%203.90999%207.65215C3.79992%207.88666%203.68504%208.11897%203.57149%208.35183C3.56401%208.36699%203.55519%208.38435%203.54237%208.39289C3.50416%208.41769%203.46382%208.43864%203.44325%208.45021Z'%20fill='black'/%3e%3c/svg%3e", h0 = ({ content: s, onCardClick: b, secondaryArgs: n }) => {
|
|
6
|
+
var w, h;
|
|
7
|
+
const o = X2(), v = s == null ? void 0 : s.reward;
|
|
8
|
+
return /* @__PURE__ */ r(
|
|
9
|
+
t,
|
|
10
|
+
{
|
|
11
|
+
className: `${o.XCard9Wrapper} XCard9innderBox`,
|
|
12
|
+
onClick: () => b(s),
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ e(t, { className: "imgWrapper", children: /* @__PURE__ */ e(
|
|
15
|
+
D2,
|
|
16
|
+
{
|
|
17
|
+
originalImage: (w = s == null ? void 0 : s.content_image) == null ? void 0 : w.original_image,
|
|
18
|
+
publishedImages: (h = s == null ? void 0 : s.content_image) == null ? void 0 : h.published_images,
|
|
19
|
+
secondaryArgs: n,
|
|
20
|
+
imgOrder: {
|
|
21
|
+
1440: "square",
|
|
22
|
+
1280: "square",
|
|
23
|
+
1024: "square",
|
|
24
|
+
768: "square",
|
|
25
|
+
600: "square",
|
|
26
|
+
320: "square"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
) }),
|
|
30
|
+
/* @__PURE__ */ r(t, { className: "contentBox", children: [
|
|
31
|
+
/* @__PURE__ */ e(u, { variant: "h6bold", className: "title", children: (s == null ? void 0 : s.title) || (s == null ? void 0 : s.challenge_name) }),
|
|
32
|
+
/* @__PURE__ */ e(t, { className: "EarnRewardWp", children: v && v.length > 0 ? /* @__PURE__ */ r(S, { children: [
|
|
33
|
+
/* @__PURE__ */ e(t, { className: "IconWp", children: /* @__PURE__ */ e("img", { src: f2, alt: "Icon" }) }),
|
|
34
|
+
/* @__PURE__ */ e(u, { variant: "h7regular", m: 0, children: v })
|
|
35
|
+
] }) : null }),
|
|
36
|
+
/* @__PURE__ */ r(t, { className: "bottomWrapper", children: [
|
|
37
|
+
/* @__PURE__ */ e(t, { className: "IconWp", children: /* @__PURE__ */ e("img", { src: w2, alt: "Icon" }) }),
|
|
38
|
+
/* @__PURE__ */ e(u, { variant: "h7light", className: "publish", children: A2(s == null ? void 0 : s.start_date, s == null ? void 0 : s.end_date) })
|
|
39
|
+
] })
|
|
40
|
+
] })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}, o0 = ({ content: s, onCardClick: b, secondaryArgs: n }) => {
|
|
45
|
+
var w, h, B;
|
|
46
|
+
const o = j2(), v = (h = (w = s == null ? void 0 : s.rewards) == null ? void 0 : w[0]) == null ? void 0 : h.option;
|
|
47
|
+
return /* @__PURE__ */ r(
|
|
48
|
+
t,
|
|
49
|
+
{
|
|
50
|
+
className: `${o.XCard9Wrapper} XCard9innderBox`,
|
|
51
|
+
onClick: () => b(s),
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ e(t, { className: "imgWrapper", children: /* @__PURE__ */ e(
|
|
54
|
+
$2,
|
|
55
|
+
{
|
|
56
|
+
originalImage: (B = s == null ? void 0 : s.verticalBanner) == null ? void 0 : B.original_image,
|
|
57
|
+
secondaryArgs: n
|
|
58
|
+
}
|
|
59
|
+
) }),
|
|
60
|
+
/* @__PURE__ */ r(t, { className: "contentBox", children: [
|
|
61
|
+
/* @__PURE__ */ e(u, { variant: "h6bold", className: "title", children: s.Title }),
|
|
62
|
+
/* @__PURE__ */ e(t, { className: "EarnRewardWp", children: v && v.length > 0 ? /* @__PURE__ */ r(S, { children: [
|
|
63
|
+
/* @__PURE__ */ e(t, { className: "IconWp", children: /* @__PURE__ */ e("img", { src: f2, alt: "Icon" }) }),
|
|
64
|
+
/* @__PURE__ */ e(u, { variant: "h7regular", m: 0, children: v })
|
|
65
|
+
] }) : null }),
|
|
66
|
+
/* @__PURE__ */ r(t, { className: "bottomWrapper", children: [
|
|
67
|
+
/* @__PURE__ */ e(t, { className: "IconWp", children: /* @__PURE__ */ e("img", { src: w2, alt: "Icon" }) }),
|
|
68
|
+
/* @__PURE__ */ e(u, { variant: "h7light", className: "publish", children: O2(s == null ? void 0 : s.start_date, s == null ? void 0 : s.end_date) })
|
|
69
|
+
] })
|
|
70
|
+
] })
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
}, w0 = ({
|
|
75
|
+
content: s,
|
|
76
|
+
analytics: b,
|
|
77
|
+
authoringHelper: n,
|
|
78
|
+
secondaryArgs: o,
|
|
79
|
+
stepsDetails: v,
|
|
80
|
+
filters: w,
|
|
81
|
+
individualChallengeInfo: h = {},
|
|
82
|
+
commonInfo: B = {},
|
|
83
|
+
userId: I,
|
|
84
|
+
constants: k,
|
|
85
|
+
streaksCount: b2
|
|
86
|
+
}) => {
|
|
87
|
+
var t2, r2, i2, d2, n2, C2;
|
|
88
|
+
const v2 = I || localStorage.getItem("userId"), S2 = G2();
|
|
89
|
+
U2({ ...b, pageTitle: "Events&Challenges" }, !0);
|
|
90
|
+
const [y, O] = p("Events"), [f, Z] = p(""), [L, y2] = p([]), [P, G] = p(!1), [U, _] = p(!1), [m0, W] = p(!1), [z, q] = p(!1), [k2, T] = p(!1), [M, K] = p([]), [L2, _2] = p([]), { triggerClickAnalyticsForContentType: T2 } = z2(), {
|
|
91
|
+
prelemBaseEndpoint: { site_host: Q, language: J }
|
|
92
|
+
} = o, M2 = K2(), [X, D] = p([]), Y = () => {
|
|
93
|
+
var l;
|
|
94
|
+
const a = (l = n == null ? void 0 : n.filterItems) == null ? void 0 : l.map((C) => ({ [C]: !1 }));
|
|
95
|
+
D(a);
|
|
96
|
+
}, N2 = () => {
|
|
97
|
+
!U && j(), q(!1);
|
|
98
|
+
};
|
|
99
|
+
R(() => {
|
|
100
|
+
Y();
|
|
101
|
+
}, []);
|
|
102
|
+
const i = {
|
|
103
|
+
background: "#e0e0e0",
|
|
104
|
+
animation: "none",
|
|
105
|
+
backgroundSize: "200% 100%"
|
|
106
|
+
}, Z2 = {
|
|
107
|
+
slidesToShow: 3,
|
|
108
|
+
slidesToScroll: 1,
|
|
109
|
+
infinite: !1,
|
|
110
|
+
autoPlay: !1,
|
|
111
|
+
dots: !1,
|
|
112
|
+
arrow: !0,
|
|
113
|
+
touchMove: !1,
|
|
114
|
+
responsive: [
|
|
115
|
+
{
|
|
116
|
+
breakpoint: 1024,
|
|
117
|
+
settings: {
|
|
118
|
+
slidesToShow: 2,
|
|
119
|
+
slidesToScroll: 1
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
breakpoint: 900,
|
|
124
|
+
settings: {
|
|
125
|
+
slidesToShow: 2,
|
|
126
|
+
slidesToScroll: 1,
|
|
127
|
+
infinite: !0,
|
|
128
|
+
autoPlay: !0
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
breakpoint: 600,
|
|
133
|
+
settings: {
|
|
134
|
+
slidesToShow: 1,
|
|
135
|
+
slidesToScroll: 1,
|
|
136
|
+
dots: !0,
|
|
137
|
+
arrow: !1,
|
|
138
|
+
touchMove: !0,
|
|
139
|
+
infinite: !0,
|
|
140
|
+
autoPlay: !0
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}, V2 = {
|
|
145
|
+
slidesToShow: 2,
|
|
146
|
+
slidesToScroll: 1,
|
|
147
|
+
autoPlay: !0,
|
|
148
|
+
dots: !1,
|
|
149
|
+
arrow: !0,
|
|
150
|
+
infinite: !1,
|
|
151
|
+
touchMove: !1,
|
|
152
|
+
responsive: [
|
|
153
|
+
{
|
|
154
|
+
breakpoint: 1024,
|
|
155
|
+
settings: {
|
|
156
|
+
slidesToShow: 2,
|
|
157
|
+
slidesToScroll: 1,
|
|
158
|
+
dots: !1,
|
|
159
|
+
arrow: !0
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
breakpoint: 900,
|
|
164
|
+
settings: {
|
|
165
|
+
slidesToShow: 1,
|
|
166
|
+
slidesToScroll: 1,
|
|
167
|
+
dots: !1,
|
|
168
|
+
arrow: !1
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
breakpoint: 600,
|
|
173
|
+
settings: {
|
|
174
|
+
slidesToShow: 1,
|
|
175
|
+
slidesToScroll: 1,
|
|
176
|
+
dots: !0,
|
|
177
|
+
arrow: !1,
|
|
178
|
+
touchMove: !0
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}, e2 = { ...Z2 }, a2 = { ...V2 }, V = () => {
|
|
183
|
+
const a = X.filter((c) => Object.keys(c).find((m) => c[m] === !0)), l = y === "Events" ? ["wellnessevent"] : [], C = a.map((c) => Object.keys(c)[0]);
|
|
184
|
+
return { arrayToFilter: l, tagsToFilter: C };
|
|
185
|
+
}, s2 = async () => {
|
|
186
|
+
var a, l, C;
|
|
187
|
+
try {
|
|
188
|
+
const c = {
|
|
189
|
+
user_id: localStorage.getItem("userId") || I
|
|
190
|
+
}, m = await p2.getPastIndividualChallengeList(
|
|
191
|
+
c,
|
|
192
|
+
J,
|
|
193
|
+
Q,
|
|
194
|
+
k == null ? void 0 : k.graphqlEndpoint
|
|
195
|
+
);
|
|
196
|
+
(a = m == null ? void 0 : m.data) != null && a.community_myChallenges && K((C = (l = m == null ? void 0 : m.data) == null ? void 0 : l.community_myChallenges) == null ? void 0 : C.records);
|
|
197
|
+
} catch (c) {
|
|
198
|
+
console.error("Error in past individual challenge API:", c), K([]);
|
|
199
|
+
}
|
|
200
|
+
}, A = async (a, l) => {
|
|
201
|
+
var m;
|
|
202
|
+
T2(b, o, {
|
|
203
|
+
Button_Name: l
|
|
204
|
+
}), W(!0), Z(""), O(l), _(!1), T(!1);
|
|
205
|
+
const C = new URLSearchParams((m = window == null ? void 0 : window.location) == null ? void 0 : m.search), c = C == null ? void 0 : C.get("type");
|
|
206
|
+
if (c && c.toLowerCase() !== l.toLowerCase()) {
|
|
207
|
+
const E = new URL(window.location.href);
|
|
208
|
+
E.searchParams.set("type", l.toLowerCase()), window.history.pushState({}, "", E);
|
|
209
|
+
}
|
|
210
|
+
await n.handleCallBack("", l.toLocaleLowerCase()), l === "Challenges" && s2(), W(!1);
|
|
211
|
+
}, E2 = async (a) => {
|
|
212
|
+
W(!0), Z(""), O(a), _(!1), T(!1), await n.handleCallBack("", a.toLocaleLowerCase()), s2(), W(!1);
|
|
213
|
+
};
|
|
214
|
+
R(() => {
|
|
215
|
+
localStorage.getItem("challengesListCall") === "challenges" && (E2("Challenges"), localStorage.removeItem("challengesListCall")), c2.removeItem("derived_challenge_id");
|
|
216
|
+
}, []), Q2(S2.breakpoints.down("md"));
|
|
217
|
+
const F = (a) => {
|
|
218
|
+
x2(a, w, o);
|
|
219
|
+
}, R2 = (a) => {
|
|
220
|
+
const C = { content_type: "individualchallenge", current_page_url: `/${a == null ? void 0 : a.challenge_name}` };
|
|
221
|
+
c2.setItem(
|
|
222
|
+
"derived_challenge_id",
|
|
223
|
+
JSON.stringify((a == null ? void 0 : a.derived_challenge_id) || "")
|
|
224
|
+
), x2(C, w, o);
|
|
225
|
+
}, B2 = (a) => {
|
|
226
|
+
T(!1), _(!1);
|
|
227
|
+
const l = a.replace(/[^a-zA-Z0-9_ ]/g, "");
|
|
228
|
+
if (l === a) {
|
|
229
|
+
l === "" ? setTimeout(() => Z(""), 700) : Z(l);
|
|
230
|
+
const { tagsToFilter: C, arrayToFilter: c } = V();
|
|
231
|
+
n.handleSearchCallBack(l, y, C, c);
|
|
232
|
+
}
|
|
233
|
+
}, I2 = () => {
|
|
234
|
+
Z(""), T(!1), _(!1);
|
|
235
|
+
const { tagsToFilter: a, arrayToFilter: l } = V(), C = y === "Challenges" ? "challenges" : "ALL";
|
|
236
|
+
f && n.handleCallBack("", C, a, l);
|
|
237
|
+
};
|
|
238
|
+
R(() => {
|
|
239
|
+
y2(s), U || Y(), f != null && f.length || k2 ? G(!0) : G(!1);
|
|
240
|
+
}, [s]);
|
|
241
|
+
const l2 = async () => {
|
|
242
|
+
T(!0);
|
|
243
|
+
const { tagsToFilter: a, arrayToFilter: l } = V();
|
|
244
|
+
_(!0), q(!1), await n.handleCallBack(f, "ALL", a, l);
|
|
245
|
+
}, j = async () => {
|
|
246
|
+
T(!1);
|
|
247
|
+
const { arrayToFilter: a } = V();
|
|
248
|
+
await n.handleCallBack(f, "ALL", [], a), _(!1);
|
|
249
|
+
}, P2 = () => {
|
|
250
|
+
const { tagsToFilter: a } = V();
|
|
251
|
+
return (a == null ? void 0 : a.length) === 0 ? /* @__PURE__ */ e("img", { src: u2, width: "16", alt: "icon" }) : /* @__PURE__ */ r(S, { children: [
|
|
252
|
+
/* @__PURE__ */ e("img", { src: u2, width: "16", alt: "icon", style: { marginRight: "3px" } }),
|
|
253
|
+
" (",
|
|
254
|
+
a == null ? void 0 : a.length,
|
|
255
|
+
")"
|
|
256
|
+
] });
|
|
257
|
+
}, W2 = async (a) => {
|
|
258
|
+
var l, C, c, m, E;
|
|
259
|
+
try {
|
|
260
|
+
const $ = {
|
|
261
|
+
challenge_id: a,
|
|
262
|
+
user_id: localStorage.getItem("userId") || I
|
|
263
|
+
}, x = await p2.getReceivedRequestList(
|
|
264
|
+
$,
|
|
265
|
+
J,
|
|
266
|
+
Q,
|
|
267
|
+
k == null ? void 0 : k.graphqlEndpoint
|
|
268
|
+
);
|
|
269
|
+
if (((l = x == null ? void 0 : x.errors) == null ? void 0 : l.length) > 0)
|
|
270
|
+
n0((C = x == null ? void 0 : x.errors[0]) == null ? void 0 : C.message);
|
|
271
|
+
else if ((m = (c = x == null ? void 0 : x.data) == null ? void 0 : c.community_receivedRequests) != null && m.records) {
|
|
272
|
+
const { records: q2 } = (E = x == null ? void 0 : x.data) == null ? void 0 : E.community_receivedRequests;
|
|
273
|
+
_2(q2);
|
|
274
|
+
} else
|
|
275
|
+
console.error("GetReceivedRequestList API failed");
|
|
276
|
+
} catch ($) {
|
|
277
|
+
console.error("Error in GetReceivedRequestList API:", $);
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
R(() => {
|
|
281
|
+
var a;
|
|
282
|
+
if (h && Object.keys(h).length > 0) {
|
|
283
|
+
const l = (a = h == null ? void 0 : h.current_page_url) == null ? void 0 : a.split("/")[1];
|
|
284
|
+
W2(l);
|
|
285
|
+
}
|
|
286
|
+
}, [h]), R(() => {
|
|
287
|
+
var C;
|
|
288
|
+
const a = new URLSearchParams((C = window == null ? void 0 : window.location) == null ? void 0 : C.search), l = a == null ? void 0 : a.get("type");
|
|
289
|
+
l && (l.toLowerCase() === "challenges" ? A(null, "Challenges") : A(null, "Events"));
|
|
290
|
+
}, []);
|
|
291
|
+
const F2 = () => /* @__PURE__ */ r(t, { sx: { borderRadius: 2, display: "flex", gap: 2 }, children: [
|
|
292
|
+
/* @__PURE__ */ e(t, { sx: { width: "35%" }, children: /* @__PURE__ */ e(
|
|
293
|
+
d,
|
|
294
|
+
{
|
|
295
|
+
variant: "rectangular",
|
|
296
|
+
width: "100%",
|
|
297
|
+
height: 120,
|
|
298
|
+
sx: { borderRadius: 3, ...i }
|
|
299
|
+
}
|
|
300
|
+
) }),
|
|
301
|
+
/* @__PURE__ */ r(t, { sx: { width: "65%" }, children: [
|
|
302
|
+
/* @__PURE__ */ r(t, { sx: { width: "100%", display: "flex", gap: 1 }, children: [
|
|
303
|
+
/* @__PURE__ */ e(d, { width: "40%", height: "35px", sx: { borderRadius: "15px", ...i } }),
|
|
304
|
+
/* @__PURE__ */ e(d, { width: "40%", height: "35px", sx: { borderRadius: "15px", ...i } })
|
|
305
|
+
] }),
|
|
306
|
+
/* @__PURE__ */ r(t, { sx: { mt: 0.5 }, children: [
|
|
307
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "80%", sx: { ...i } }),
|
|
308
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "75%", sx: { ...i } }),
|
|
309
|
+
/* @__PURE__ */ e(
|
|
310
|
+
d,
|
|
311
|
+
{
|
|
312
|
+
variant: "text",
|
|
313
|
+
width: "75%",
|
|
314
|
+
height: "10px",
|
|
315
|
+
sx: { mt: 0.5, ...i }
|
|
316
|
+
}
|
|
317
|
+
),
|
|
318
|
+
/* @__PURE__ */ r(t, { sx: { display: "flex", alignItems: "center", mt: 0.2 }, children: [
|
|
319
|
+
/* @__PURE__ */ e(t, { width: "20%", children: /* @__PURE__ */ e(d, { variant: "circular", width: 28, height: 28, sx: { ...i } }) }),
|
|
320
|
+
/* @__PURE__ */ e(t, { width: "80%", children: /* @__PURE__ */ e(d, { variant: "text", width: "75%", sx: { ...i } }) })
|
|
321
|
+
] })
|
|
322
|
+
] })
|
|
323
|
+
] })
|
|
324
|
+
] }), H2 = () => /* @__PURE__ */ r(t, { sx: { borderRadius: 2, display: "flex", flexDirection: "column", gap: 1.5, m: 2 }, children: [
|
|
325
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(
|
|
326
|
+
d,
|
|
327
|
+
{
|
|
328
|
+
variant: "rectangular",
|
|
329
|
+
width: "100%",
|
|
330
|
+
sx: {
|
|
331
|
+
borderRadius: 3,
|
|
332
|
+
height: { xs: "167px", sm: "200px", md: "240px" },
|
|
333
|
+
...i
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
) }),
|
|
337
|
+
/* @__PURE__ */ r(t, { sx: { width: "100%" }, children: [
|
|
338
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "90%", sx: { ...i } }),
|
|
339
|
+
/* @__PURE__ */ r(t, { sx: { width: "100%", display: "flex", gap: 1, mt: 0.7 }, children: [
|
|
340
|
+
/* @__PURE__ */ e(
|
|
341
|
+
d,
|
|
342
|
+
{
|
|
343
|
+
variant: "rectangular",
|
|
344
|
+
width: 28,
|
|
345
|
+
height: 28,
|
|
346
|
+
sx: { borderRadius: "5px", ...i }
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "80%", sx: { ...i } })
|
|
350
|
+
] }),
|
|
351
|
+
/* @__PURE__ */ r(t, { sx: { width: "100%", display: "flex", gap: 1, mt: 0.5 }, children: [
|
|
352
|
+
/* @__PURE__ */ e(
|
|
353
|
+
d,
|
|
354
|
+
{
|
|
355
|
+
variant: "rectangular",
|
|
356
|
+
width: 28,
|
|
357
|
+
height: 28,
|
|
358
|
+
sx: { borderRadius: "5px", ...i }
|
|
359
|
+
}
|
|
360
|
+
),
|
|
361
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "80%", sx: { ...i } })
|
|
362
|
+
] })
|
|
363
|
+
] })
|
|
364
|
+
] });
|
|
365
|
+
return /* @__PURE__ */ e("div", { ref: n == null ? void 0 : n.innerRef, className: `${M2.EventListWrapper} EventListBox `, children: /* @__PURE__ */ r(
|
|
366
|
+
J2,
|
|
367
|
+
{
|
|
368
|
+
className: n != null && n.isEditPage ? "grid_full_width prelem-py" : "grid_container prelem-py",
|
|
369
|
+
children: [
|
|
370
|
+
/* @__PURE__ */ r(t, { className: "searchBox", component: "form", children: [
|
|
371
|
+
/* @__PURE__ */ e(h2, { className: "iconSearch", children: /* @__PURE__ */ e(Y2, {}) }),
|
|
372
|
+
/* @__PURE__ */ e(
|
|
373
|
+
e0,
|
|
374
|
+
{
|
|
375
|
+
sx: { ml: 1, flex: 1 },
|
|
376
|
+
placeholder: `Search your ${y == null ? void 0 : y.toLowerCase()}`,
|
|
377
|
+
value: f,
|
|
378
|
+
onChange: (a) => B2(a.target.value),
|
|
379
|
+
onKeyDown: (a) => a.key === "Enter" && a.preventDefault()
|
|
380
|
+
}
|
|
381
|
+
),
|
|
382
|
+
f && /* @__PURE__ */ e(h2, { className: "buttonIcon", onClick: I2, children: /* @__PURE__ */ e(a0, {}) })
|
|
383
|
+
] }),
|
|
384
|
+
/* @__PURE__ */ r(s0, { value: y, children: [
|
|
385
|
+
/* @__PURE__ */ r(
|
|
386
|
+
l0,
|
|
387
|
+
{
|
|
388
|
+
className: "TabListBox",
|
|
389
|
+
onChange: A,
|
|
390
|
+
TabIndicatorProps: {
|
|
391
|
+
style: { display: "none" }
|
|
392
|
+
},
|
|
393
|
+
children: [
|
|
394
|
+
/* @__PURE__ */ e(o2, { label: "Events", value: "Events" }),
|
|
395
|
+
/* @__PURE__ */ e(o2, { label: "Challenges", value: "Challenges" })
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
),
|
|
399
|
+
/* @__PURE__ */ r(t, { className: "EventListinnderBox", children: [
|
|
400
|
+
/* @__PURE__ */ r(m2, { value: "Events", className: "TabPanelBox", children: [
|
|
401
|
+
/* @__PURE__ */ e(t, { className: "mobFilterCta", onClick: () => q(!0), children: P2() }),
|
|
402
|
+
/* @__PURE__ */ r(g, { container: !0, children: [
|
|
403
|
+
/* @__PURE__ */ e(
|
|
404
|
+
g,
|
|
405
|
+
{
|
|
406
|
+
item: !0,
|
|
407
|
+
xs: 12,
|
|
408
|
+
md: 3,
|
|
409
|
+
lg: 2.6,
|
|
410
|
+
sx: {
|
|
411
|
+
paddingRight: "15px",
|
|
412
|
+
boxSizing: "border-box",
|
|
413
|
+
display: { xs: "none", md: "block" }
|
|
414
|
+
},
|
|
415
|
+
children: /* @__PURE__ */ e(
|
|
416
|
+
C0,
|
|
417
|
+
{
|
|
418
|
+
items: X,
|
|
419
|
+
setItems: D,
|
|
420
|
+
onTagFilter: l2,
|
|
421
|
+
handleReset: j,
|
|
422
|
+
isLoading: n == null ? void 0 : n.loader
|
|
423
|
+
}
|
|
424
|
+
)
|
|
425
|
+
}
|
|
426
|
+
),
|
|
427
|
+
/* @__PURE__ */ e(g, { item: !0, xs: 12, md: 9, lg: 9.4, children: n.loader ? /* @__PURE__ */ r(S, { children: [
|
|
428
|
+
/* @__PURE__ */ e(H, { ...e2, className: "EventSlider PX-arrowDotSlider", children: [...Array(3)].map((a, l) => /* @__PURE__ */ r(t, { children: [
|
|
429
|
+
/* @__PURE__ */ e(
|
|
430
|
+
d,
|
|
431
|
+
{
|
|
432
|
+
variant: "rectangular",
|
|
433
|
+
width: "100%",
|
|
434
|
+
sx: {
|
|
435
|
+
borderRadius: 3,
|
|
436
|
+
height: {
|
|
437
|
+
xs: "164px",
|
|
438
|
+
sm: "130px"
|
|
439
|
+
},
|
|
440
|
+
...i
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
),
|
|
444
|
+
/* @__PURE__ */ r(t, { sx: { mt: 1, display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
445
|
+
/* @__PURE__ */ e(
|
|
446
|
+
d,
|
|
447
|
+
{
|
|
448
|
+
width: "30%",
|
|
449
|
+
height: "35px",
|
|
450
|
+
sx: { borderRadius: "15px", ...i }
|
|
451
|
+
}
|
|
452
|
+
),
|
|
453
|
+
/* @__PURE__ */ e(
|
|
454
|
+
d,
|
|
455
|
+
{
|
|
456
|
+
width: "30%",
|
|
457
|
+
height: "35px",
|
|
458
|
+
sx: { borderRadius: "15px", ...i }
|
|
459
|
+
}
|
|
460
|
+
)
|
|
461
|
+
] }),
|
|
462
|
+
/* @__PURE__ */ r(t, { sx: { mt: 0.5 }, children: [
|
|
463
|
+
/* @__PURE__ */ e(d, { variant: "text", width: "80%", sx: { ...i } }),
|
|
464
|
+
/* @__PURE__ */ r(t, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
465
|
+
/* @__PURE__ */ r(t, { width: "90%", children: [
|
|
466
|
+
/* @__PURE__ */ e(
|
|
467
|
+
d,
|
|
468
|
+
{
|
|
469
|
+
variant: "text",
|
|
470
|
+
width: "75%",
|
|
471
|
+
sx: { ...i }
|
|
472
|
+
}
|
|
473
|
+
),
|
|
474
|
+
/* @__PURE__ */ e(
|
|
475
|
+
d,
|
|
476
|
+
{
|
|
477
|
+
variant: "text",
|
|
478
|
+
width: "75%",
|
|
479
|
+
height: "10px",
|
|
480
|
+
sx: { mt: 0.5, ...i }
|
|
481
|
+
}
|
|
482
|
+
)
|
|
483
|
+
] }),
|
|
484
|
+
/* @__PURE__ */ e(t, { width: "10%", children: /* @__PURE__ */ e(
|
|
485
|
+
d,
|
|
486
|
+
{
|
|
487
|
+
variant: "circular",
|
|
488
|
+
width: 28,
|
|
489
|
+
height: 28,
|
|
490
|
+
sx: { ...i }
|
|
491
|
+
}
|
|
492
|
+
) })
|
|
493
|
+
] })
|
|
494
|
+
] })
|
|
495
|
+
] }, l)) }),
|
|
496
|
+
/* @__PURE__ */ r(
|
|
497
|
+
t,
|
|
498
|
+
{
|
|
499
|
+
sx: {
|
|
500
|
+
display: "flex",
|
|
501
|
+
justifyContent: "center",
|
|
502
|
+
margin: "40px 0",
|
|
503
|
+
gap: 2,
|
|
504
|
+
alignItems: "center"
|
|
505
|
+
},
|
|
506
|
+
children: [
|
|
507
|
+
/* @__PURE__ */ e(
|
|
508
|
+
d,
|
|
509
|
+
{
|
|
510
|
+
variant: "text",
|
|
511
|
+
width: "20%",
|
|
512
|
+
height: 2,
|
|
513
|
+
sx: { ...i }
|
|
514
|
+
}
|
|
515
|
+
),
|
|
516
|
+
/* @__PURE__ */ e(
|
|
517
|
+
d,
|
|
518
|
+
{
|
|
519
|
+
variant: "rectangular",
|
|
520
|
+
width: "35%",
|
|
521
|
+
height: 28,
|
|
522
|
+
sx: { ...i }
|
|
523
|
+
}
|
|
524
|
+
),
|
|
525
|
+
/* @__PURE__ */ e(
|
|
526
|
+
d,
|
|
527
|
+
{
|
|
528
|
+
variant: "text",
|
|
529
|
+
width: "20%",
|
|
530
|
+
height: 2,
|
|
531
|
+
sx: { ...i }
|
|
532
|
+
}
|
|
533
|
+
)
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
),
|
|
537
|
+
/* @__PURE__ */ e(g, { container: !0, children: Array.from({ length: 6 }).map((a, l) => /* @__PURE__ */ e(g, { item: !0, xs: 12, md: 6, em: 6, lg: 4, mb: "20px", children: F2() }, l)) })
|
|
538
|
+
] }) : /* @__PURE__ */ r(S, { children: [
|
|
539
|
+
!P && /* @__PURE__ */ e(H, { ...e2, className: "EventSlider PX-arrowDotSlider", children: L.length > 0 ? (t2 = N(L, "start_date", "end_date", !0)) == null ? void 0 : t2.map((a) => /* @__PURE__ */ e(
|
|
540
|
+
t0,
|
|
541
|
+
{
|
|
542
|
+
content: a,
|
|
543
|
+
secondaryArgs: o,
|
|
544
|
+
analytics: b,
|
|
545
|
+
onCardClick: F
|
|
546
|
+
},
|
|
547
|
+
a
|
|
548
|
+
)) : null }),
|
|
549
|
+
/* @__PURE__ */ r(t, { className: "bottomSliderWp", children: [
|
|
550
|
+
L.length > 0 && !P && ((r2 = N(L, "start_date", "end_date", !0)) == null ? void 0 : r2.length) > 0 && /* @__PURE__ */ e(t, { className: "headingWithLine", children: /* @__PURE__ */ e(u, { variant: "h2light", children: "ALL EVENTS" }) }),
|
|
551
|
+
/* @__PURE__ */ e(g, { container: !0, children: L.length > 0 ? /* @__PURE__ */ r(S, { children: [
|
|
552
|
+
(i2 = N(L, "start_date", "end_date", !1)) == null ? void 0 : i2.map(
|
|
553
|
+
(a, l) => /* @__PURE__ */ e(
|
|
554
|
+
g,
|
|
555
|
+
{
|
|
556
|
+
item: !0,
|
|
557
|
+
xs: 12,
|
|
558
|
+
md: 6,
|
|
559
|
+
em: 6,
|
|
560
|
+
lg: 4,
|
|
561
|
+
mb: "20px",
|
|
562
|
+
children: /* @__PURE__ */ e(
|
|
563
|
+
r0,
|
|
564
|
+
{
|
|
565
|
+
content: a,
|
|
566
|
+
secondaryArgs: o,
|
|
567
|
+
analytics: b,
|
|
568
|
+
onCardClick: F
|
|
569
|
+
}
|
|
570
|
+
)
|
|
571
|
+
},
|
|
572
|
+
`${a + l}`
|
|
573
|
+
)
|
|
574
|
+
),
|
|
575
|
+
/* @__PURE__ */ e(g2, { contentType: "event" })
|
|
576
|
+
] }) : /* @__PURE__ */ e(g, { item: !0, xs: 12, md: 8, lg: 8.7, children: /* @__PURE__ */ e(u, { variant: "h5regular", sx: { textAlign: "center" }, children: "No Result found" }) }) })
|
|
577
|
+
] })
|
|
578
|
+
] }) })
|
|
579
|
+
] })
|
|
580
|
+
] }),
|
|
581
|
+
/* @__PURE__ */ e(m2, { value: "Challenges", className: "TabPanelBox", children: n.loader ? /* @__PURE__ */ r(t, { className: "bottomSliderWp", children: [
|
|
582
|
+
/* @__PURE__ */ e(H, { ...a2, className: "ChallengesSlider PX-arrowDotSlider", children: [...Array(2)].map((a, l) => /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
583
|
+
d,
|
|
584
|
+
{
|
|
585
|
+
variant: "rectangular",
|
|
586
|
+
sx: {
|
|
587
|
+
height: {
|
|
588
|
+
xs: "164px",
|
|
589
|
+
sm: "308px",
|
|
590
|
+
md: "398px",
|
|
591
|
+
em: "260px",
|
|
592
|
+
lg: "275px",
|
|
593
|
+
xl: "340px"
|
|
594
|
+
},
|
|
595
|
+
width: "100%",
|
|
596
|
+
borderRadius: "10px",
|
|
597
|
+
...i
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
) }, l)) }),
|
|
601
|
+
/* @__PURE__ */ r(
|
|
602
|
+
t,
|
|
603
|
+
{
|
|
604
|
+
sx: {
|
|
605
|
+
display: "flex",
|
|
606
|
+
justifyContent: "center",
|
|
607
|
+
margin: "40px 0",
|
|
608
|
+
gap: 2,
|
|
609
|
+
alignItems: "center"
|
|
610
|
+
},
|
|
611
|
+
children: [
|
|
612
|
+
/* @__PURE__ */ e(
|
|
613
|
+
d,
|
|
614
|
+
{
|
|
615
|
+
variant: "text",
|
|
616
|
+
width: "20%",
|
|
617
|
+
height: 2,
|
|
618
|
+
sx: {
|
|
619
|
+
...i
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
),
|
|
623
|
+
/* @__PURE__ */ e(
|
|
624
|
+
d,
|
|
625
|
+
{
|
|
626
|
+
variant: "rectangular",
|
|
627
|
+
width: "35%",
|
|
628
|
+
height: 28,
|
|
629
|
+
sx: {
|
|
630
|
+
...i
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
),
|
|
634
|
+
/* @__PURE__ */ e(
|
|
635
|
+
d,
|
|
636
|
+
{
|
|
637
|
+
variant: "text",
|
|
638
|
+
width: "20%",
|
|
639
|
+
height: 2,
|
|
640
|
+
sx: {
|
|
641
|
+
...i
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
)
|
|
645
|
+
]
|
|
646
|
+
}
|
|
647
|
+
),
|
|
648
|
+
/* @__PURE__ */ e(
|
|
649
|
+
g,
|
|
650
|
+
{
|
|
651
|
+
container: !0,
|
|
652
|
+
justifyContent: "center",
|
|
653
|
+
sx: { width: "calc(100% + 20px)", marginLeft: "-10px" },
|
|
654
|
+
children: Array.from({ length: 8 }).map((a, l) => /* @__PURE__ */ e(g, { item: !0, xs: 6, md: 6, em: 3, lg: 3, children: H2() }, l))
|
|
655
|
+
}
|
|
656
|
+
)
|
|
657
|
+
] }) : /* @__PURE__ */ r(S, { children: [
|
|
658
|
+
!P && /* @__PURE__ */ r(H, { ...a2, className: "ChallengesSlider PX-arrowDotSlider", children: [
|
|
659
|
+
Object.keys(h).length > 0 && /* @__PURE__ */ e(
|
|
660
|
+
i0,
|
|
661
|
+
{
|
|
662
|
+
individualChallengeInfo: h,
|
|
663
|
+
commonInfo: B,
|
|
664
|
+
currentUserId: v2,
|
|
665
|
+
secondaryArgs: o,
|
|
666
|
+
filters: w,
|
|
667
|
+
streaksCount: b2,
|
|
668
|
+
receivedRequestList: L2,
|
|
669
|
+
userId: I
|
|
670
|
+
}
|
|
671
|
+
),
|
|
672
|
+
(s == null ? void 0 : s.length) > 0 ? (d2 = N(s, "start_date", "end_date", !0)) == null ? void 0 : d2.map((a) => /* @__PURE__ */ e(
|
|
673
|
+
d0,
|
|
674
|
+
{
|
|
675
|
+
content: a,
|
|
676
|
+
secondaryArgs: o,
|
|
677
|
+
onCardClick: F
|
|
678
|
+
},
|
|
679
|
+
a
|
|
680
|
+
)) : null
|
|
681
|
+
] }),
|
|
682
|
+
/* @__PURE__ */ r(t, { className: "bottomSliderWp", children: [
|
|
683
|
+
s.length > 0 && !P && (((n2 = N(s, "start_date", "end_date", !0)) == null ? void 0 : n2.length) > 0 || Object.keys(h).length > 0) && /* @__PURE__ */ e(t, { className: "headingWithLine", children: /* @__PURE__ */ e(u, { variant: "h2light", sx: { letterSpacing: "6px" }, children: "ALL CHALLENGES" }) }),
|
|
684
|
+
/* @__PURE__ */ e(
|
|
685
|
+
g,
|
|
686
|
+
{
|
|
687
|
+
container: !0,
|
|
688
|
+
justifyContent: "center",
|
|
689
|
+
sx: { width: "calc(100% + 20px)", marginLeft: "-10px" },
|
|
690
|
+
children: s.length > 0 ? /* @__PURE__ */ r(S, { children: [
|
|
691
|
+
(C2 = N(s, "start_date", "end_date", !1)) == null ? void 0 : C2.map(
|
|
692
|
+
(a, l) => /* @__PURE__ */ e(g, { item: !0, xs: 6, md: 6, em: 3, lg: 3, children: /* @__PURE__ */ e(
|
|
693
|
+
o0,
|
|
694
|
+
{
|
|
695
|
+
content: a,
|
|
696
|
+
secondaryArgs: o,
|
|
697
|
+
onCardClick: F
|
|
698
|
+
}
|
|
699
|
+
) }, `${a + l}`)
|
|
700
|
+
),
|
|
701
|
+
(M == null ? void 0 : M.length) > 0 && f === "" && (M == null ? void 0 : M.map((a, l) => /* @__PURE__ */ e(g, { item: !0, xs: 6, md: 6, em: 3, lg: 3, children: /* @__PURE__ */ e(
|
|
702
|
+
h0,
|
|
703
|
+
{
|
|
704
|
+
content: a,
|
|
705
|
+
secondaryArgs: o,
|
|
706
|
+
onCardClick: R2
|
|
707
|
+
}
|
|
708
|
+
) }, `${a + l}`))),
|
|
709
|
+
/* @__PURE__ */ e(g2, { contentType: "challenge" })
|
|
710
|
+
] }) : /* @__PURE__ */ e(
|
|
711
|
+
u,
|
|
712
|
+
{
|
|
713
|
+
variant: "h5regular",
|
|
714
|
+
sx: { textAlign: "center", marginTop: "30px" },
|
|
715
|
+
children: "No Result found"
|
|
716
|
+
}
|
|
717
|
+
)
|
|
718
|
+
}
|
|
719
|
+
)
|
|
720
|
+
] })
|
|
721
|
+
] }) })
|
|
722
|
+
] })
|
|
723
|
+
] }),
|
|
724
|
+
z && /* @__PURE__ */ e(
|
|
725
|
+
c0,
|
|
726
|
+
{
|
|
727
|
+
isDialogOpen: z,
|
|
728
|
+
closeButtonHandle: N2,
|
|
729
|
+
items: X,
|
|
730
|
+
setItems: D,
|
|
731
|
+
onTagFilter: l2,
|
|
732
|
+
handleReset: j
|
|
733
|
+
}
|
|
734
|
+
)
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
) });
|
|
738
|
+
};
|
|
739
|
+
export {
|
|
740
|
+
w0 as E
|
|
741
|
+
};
|