diy-template-components 2.0.52 → 2.0.53

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/build/index.js CHANGED
@@ -678,6 +678,14 @@ var calendar$1 = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%
678
678
 
679
679
  var video = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2219%22%20viewBox%3D%220%200%2018%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.8625%205.1275C15.555%204.9625%2014.91%204.79%2014.0325%205.405L12.93%206.185C12.8475%203.8525%2011.835%202.9375%209.375%202.9375H4.875C2.31%202.9375%201.3125%203.935%201.3125%206.5V12.5C1.3125%2014.225%202.25%2016.0625%204.875%2016.0625H9.375C11.835%2016.0625%2012.8475%2015.1475%2012.93%2012.815L14.0325%2013.595C14.4975%2013.925%2014.9025%2014.03%2015.225%2014.03C15.5025%2014.03%2015.72%2013.9475%2015.8625%2013.8725C16.17%2013.715%2016.6875%2013.2875%2016.6875%2012.215V6.785C16.6875%205.7125%2016.17%205.285%2015.8625%205.1275ZM8.25%209.035C7.4775%209.035%206.84%208.405%206.84%207.625C6.84%206.845%207.4775%206.215%208.25%206.215C9.0225%206.215%209.66%206.845%209.66%207.625C9.66%208.405%209.0225%209.035%208.25%209.035Z%22%20fill%3D%22%23589DF5%22%2F%3E%3C%2Fsvg%3E";
680
680
 
681
+ var bookSavedIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fbook-saved%22%3E%3Cg%20id%3D%22book-saved%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M9.9998%2018.4C9.7498%2018.4%209.49982%2018.3417%209.29148%2018.225C7.73315%2017.375%204.9998%2016.475%203.28313%2016.25L3.04148%2016.2167C1.94982%2016.0834%201.0498%2015.0583%201.0498%2013.95V3.88333C1.0498%203.225%201.30814%202.62503%201.78314%202.19169C2.25814%201.75836%202.87478%201.55002%203.52478%201.60835C5.34978%201.75835%208.11646%202.67503%209.68313%203.65003L9.88312%203.76671C9.94145%203.79171%2010.0665%203.80004%2010.1165%203.76671L10.2498%203.68334C10.8081%203.33334%2011.5081%202.99166%2012.2748%202.68333C12.4664%202.60833%2012.6831%202.63335%2012.8581%202.75001C13.0331%202.86668%2013.1331%203.05834%2013.1331%203.26667V5.5L13.8248%205.04168C14.0332%204.90001%2014.3081%204.90001%2014.5164%205.04168L15.2081%205.5V2.31671C15.2081%202.01671%2015.4248%201.75834%2015.7165%201.7C15.9581%201.65834%2016.1998%201.62502%2016.4165%201.60835C16.4331%201.60835%2016.4998%201.60835%2016.5165%201.60835C17.1248%201.55835%2017.7498%201.7667%2018.2165%202.20003C18.6915%202.63337%2018.9498%203.23334%2018.9498%203.89167V13.95C18.9498%2015.0667%2018.0498%2016.0834%2016.9498%2016.2167L16.6748%2016.25C14.9581%2016.475%2012.2081%2017.3834%2010.6831%2018.225C10.4998%2018.3417%2010.2498%2018.4%209.9998%2018.4ZM3.31645%202.84167C3.04978%202.84167%202.80814%202.93334%202.61648%203.10834C2.40814%203.30001%202.29146%203.575%202.29146%203.88333V13.95C2.29146%2014.4417%202.71648%2014.9167%203.19148%2014.9833L3.44147%2015.0167C5.31647%2015.2667%208.19148%2016.2083%209.85814%2017.125C9.93314%2017.1583%2010.0414%2017.1667%2010.0831%2017.15C11.7581%2016.225%2014.6415%2015.275%2016.5248%2015.025L16.8081%2014.9917C17.2831%2014.9333%2017.7081%2014.45%2017.7081%2013.9584V3.90002C17.7081%203.59168%2017.5915%203.32502%2017.3831%203.12502C17.1748%202.93336%2016.8832%202.84168%2016.5832%202.85835C16.5582%202.85835%2016.4831%202.85835%2016.4665%202.85835V6.66669C16.4665%206.90002%2016.3415%207.10833%2016.1331%207.21667C15.9248%207.325%2015.6832%207.31669%2015.4915%207.18335L14.1748%206.30836L12.8581%207.18335C12.6665%207.30835%2012.4248%207.325%2012.2164%207.21667C12.0164%207.10833%2011.8831%206.90002%2011.8831%206.66669V4.22503C11.5248%204.40003%2011.1998%204.57502%2010.9164%204.74169L10.7831%204.825C10.3248%205.10834%209.67481%205.10835%209.23314%204.83335L9.03315%204.70838C7.62482%203.82504%205.05812%202.975%203.42478%202.84167C3.38312%202.84167%203.34978%202.84167%203.31645%202.84167Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M10%2017.7002C9.65833%2017.7002%209.375%2017.4169%209.375%2017.0752V4.5752C9.375%204.23353%209.65833%203.9502%2010%203.9502C10.3417%203.9502%2010.625%204.23353%2010.625%204.5752V17.0752C10.625%2017.4252%2010.3417%2017.7002%2010%2017.7002Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M15.8333%207.29166C15.7083%207.29166%2015.5917%207.25832%2015.4833%207.18332L14.1667%206.30833L12.85%207.18332C12.6583%207.30832%2012.4167%207.32497%2012.2084%207.21664C12.0084%207.1083%2011.875%206.89999%2011.875%206.66666V3.26664C11.875%203.00831%2012.0333%202.7833%2012.2666%202.6833C13.4166%202.22497%2014.675%201.86664%2015.7333%201.69997C15.9167%201.66664%2016.1%201.72501%2016.2417%201.84168C16.3833%201.95834%2016.4583%202.13335%2016.4583%202.31668V6.66666C16.4583%206.89999%2016.3333%207.1083%2016.125%207.21664C16.0333%207.26663%2015.9333%207.29166%2015.8333%207.29166ZM14.1667%204.93331C14.2833%204.93331%2014.4083%204.96665%2014.5167%205.04165L15.2083%205.49997V3.07499C14.5417%203.22499%2013.8167%203.44166%2013.125%203.69999V5.49997L13.8167%205.04165C13.925%204.96665%2014.05%204.93331%2014.1667%204.93331Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
682
+
683
+ var teacherIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fteacher%22%3E%3Cg%20id%3D%22teacher%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0083%2014.1669C9.29994%2014.1669%208.58327%2013.9836%208.02494%2013.6252L3.00827%2010.3502C2.07493%209.74191%201.5166%208.71691%201.5166%207.60024C1.5166%206.48358%202.07493%205.45858%203.00827%204.85024L8.03327%201.58358C9.14994%200.858576%2010.8916%200.858576%2011.9999%201.59191L16.9916%204.86691C17.9166%205.47524%2018.4749%206.50024%2018.4749%207.60858C18.4749%208.71691%2017.9166%209.74191%2016.9916%2010.3502L11.9999%2013.6252C11.4416%2013.9919%2010.7249%2014.1669%2010.0083%2014.1669ZM10.0083%202.29191C9.53327%202.29191%209.05827%202.40024%208.7166%202.63358L3.69993%205.90024C3.1166%206.28358%202.77493%206.90024%202.77493%207.60024C2.77493%208.30024%203.10827%208.91691%203.69993%209.30024L8.7166%2012.5752C9.40827%2013.0252%2010.6249%2013.0252%2011.3166%2012.5752L16.3083%209.30024C16.8916%208.91691%2017.2249%208.30024%2017.2249%207.60024C17.2249%206.90024%2016.8916%206.28358%2016.3083%205.90024L11.3166%202.62524C10.9666%202.40858%2010.4916%202.29191%2010.0083%202.29191Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M10.0003%2018.9584C9.63365%2018.9584%209.25865%2018.9084%208.95865%2018.8084L6.30031%2017.925C5.04198%2017.5084%204.05031%2016.1334%204.05865%2014.8084L4.06698%2010.9C4.06698%2010.5584%204.35031%2010.275%204.69198%2010.275C5.03365%2010.275%205.31698%2010.5584%205.31698%2010.9L5.30865%2014.8084C5.30865%2015.5917%205.95865%2016.4917%206.70031%2016.7417L9.35865%2017.625C9.69198%2017.7334%2010.3086%2017.7334%2010.642%2017.625L13.3003%2016.7417C14.042%2016.4917%2014.692%2015.5917%2014.692%2014.8167V10.95C14.692%2010.6084%2014.9753%2010.325%2015.317%2010.325C15.6586%2010.325%2015.942%2010.6084%2015.942%2010.95V14.8167C15.942%2016.1417%2014.9586%2017.5084%2013.7003%2017.9334L11.042%2018.8167C10.742%2018.9084%2010.367%2018.9584%2010.0003%2018.9584Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M17.834%2013.125C17.4923%2013.125%2017.209%2012.8417%2017.209%2012.5V7.5C17.209%207.15833%2017.4923%206.875%2017.834%206.875C18.1757%206.875%2018.459%207.15833%2018.459%207.5V12.5C18.459%2012.8417%2018.1757%2013.125%2017.834%2013.125Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
684
+
685
+ var medalIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fmedal-star%22%3E%3Cg%20id%3D%22medal-star%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0003%2013.9583C9.66699%2013.9583%209.33366%2013.9333%209.01699%2013.875C7.25033%2013.6167%205.64199%2012.6%204.62533%2011.0917C3.91699%2010.025%203.54199%208.78332%203.54199%207.49999C3.54199%203.94166%206.44199%201.04166%2010.0003%201.04166C13.5587%201.04166%2016.4587%203.94166%2016.4587%207.49999C16.4587%208.78332%2016.0837%2010.025%2015.3753%2011.0917C14.3503%2012.6083%2012.742%2013.6167%2010.9587%2013.8833C10.667%2013.9333%2010.3337%2013.9583%2010.0003%2013.9583ZM10.0003%202.29166C7.12533%202.29166%204.79199%204.62499%204.79199%207.49999C4.79199%208.54166%205.09199%209.54166%205.65866%2010.3917C6.48366%2011.6083%207.77533%2012.425%209.20866%2012.6333C9.74199%2012.725%2010.267%2012.725%2010.7587%2012.6333C12.217%2012.425%2013.5087%2011.6%2014.3337%2010.3833C14.9003%209.53332%2015.2003%208.53332%2015.2003%207.49165C15.2087%204.62498%2012.8753%202.29166%2010.0003%202.29166Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M5.39111%2018.825C5.27444%2018.825%205.16611%2018.8083%205.04944%2018.7833C4.50777%2018.6583%204.09111%2018.2416%203.96611%2017.7L3.67444%2016.475C3.65777%2016.4%203.59944%2016.3416%203.51611%2016.3166L2.14111%2015.9917C1.62444%2015.8667%201.21611%2015.4833%201.07444%2014.975C0.932774%2014.4667%201.07444%2013.9167%201.44944%2013.5417L4.69944%2010.2917C4.83277%2010.1583%205.01611%2010.0917%205.19944%2010.1083C5.38277%2010.125%205.54944%2010.225%205.65777%2010.3833C6.48277%2011.6%207.77444%2012.425%209.21611%2012.6333C9.74944%2012.725%2010.2744%2012.725%2010.7661%2012.6333C12.2244%2012.425%2013.5161%2011.6%2014.3411%2010.3833C14.4411%2010.225%2014.6161%2010.125%2014.7994%2010.1083C14.9828%2010.0917%2015.1661%2010.1583%2015.2994%2010.2917L18.5494%2013.5417C18.9244%2013.9167%2019.0661%2014.4667%2018.9244%2014.975C18.7828%2015.4833%2018.3661%2015.875%2017.8578%2015.9917L16.4828%2016.3166C16.4078%2016.3333%2016.3494%2016.3916%2016.3244%2016.475L16.0328%2017.7C15.9078%2018.2416%2015.4911%2018.6583%2014.9494%2018.7833C14.4078%2018.9167%2013.8494%2018.725%2013.4994%2018.3L9.99944%2014.275L6.49944%2018.3083C6.21611%2018.6417%205.81611%2018.825%205.39111%2018.825ZM5.07444%2011.6916L2.33277%2014.4333C2.25777%2014.5083%202.26611%2014.5917%202.28277%2014.6417C2.29111%2014.6833%202.33277%2014.7666%202.43277%2014.7833L3.80777%2015.1083C4.34944%2015.2333%204.76611%2015.65%204.89111%2016.1916L5.18277%2017.4166C5.20777%2017.525%205.29111%2017.5583%205.34111%2017.575C5.39111%2017.5833%205.47444%2017.5917%205.54944%2017.5083L8.74111%2013.8333C7.32444%2013.5583%206.02444%2012.8%205.07444%2011.6916ZM11.2578%2013.825L14.4494%2017.4916C14.5244%2017.5833%2014.6161%2017.5833%2014.6661%2017.5666C14.7161%2017.5583%2014.7911%2017.5167%2014.8244%2017.4083L15.1161%2016.1833C15.2411%2015.6417%2015.6578%2015.225%2016.1994%2015.1L17.5744%2014.775C17.6744%2014.75%2017.7161%2014.675%2017.7244%2014.6333C17.7411%2014.5916%2017.7494%2014.5%2017.6744%2014.425L14.9328%2011.6833C13.9744%2012.7916%2012.6828%2013.55%2011.2578%2013.825Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M11.5753%2010.7419C11.3586%2010.7419%2011.1003%2010.6835%2010.7919%2010.5002L10.0003%2010.0252L9.20861%2010.4919C8.48361%2010.9252%208.00861%2010.6752%207.83361%2010.5502C7.65861%2010.4252%207.28361%2010.0502%207.47528%209.22521L7.67528%208.36688L7.00861%207.75019C6.64195%207.38353%206.50861%206.94188%206.63361%206.54188C6.75861%206.14188%207.12528%205.85853%207.64195%205.7752L8.53361%205.6252L8.95861%204.69187C9.20028%204.21687%209.57528%203.9502%2010.0003%203.9502C10.4253%203.9502%2010.8086%204.22522%2011.0419%204.70022L11.5336%205.68354L12.3586%205.78354C12.8669%205.86687%2013.2336%206.15019%2013.3669%206.55019C13.4919%206.95019%2013.3586%207.39187%2012.9919%207.75853L12.3003%208.45022L12.5169%209.22521C12.7086%2010.0502%2012.3336%2010.4252%2012.1586%2010.5502C12.0669%2010.6252%2011.8669%2010.7419%2011.5753%2010.7419ZM8.00861%206.99188L8.58361%207.56686C8.85028%207.83353%208.98361%208.28354%208.90028%208.65021L8.74195%209.31686L9.40861%208.9252C9.76695%208.71686%2010.2503%208.71686%2010.6003%208.9252L11.2669%209.31686L11.1169%208.65021C11.0336%208.27521%2011.1586%207.83353%2011.4253%207.56686L12.0003%206.99188L11.2753%206.86686C10.9253%206.80853%2010.5753%206.55021%2010.4169%206.23355L10.0003%205.41687L9.58361%206.2502C9.43361%206.55854%209.08361%206.82521%208.73361%206.88355L8.00861%206.99188Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
686
+
687
+ var groupProfile = "data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fprofile-2user%22%3E%3Cg%20id%3D%22profile-2user%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M12.2124%2015.4933C12.1724%2015.4933%2012.1458%2015.4933%2012.1058%2015.4933C12.0391%2015.48%2011.9458%2015.48%2011.8658%2015.4933C7.9991%2015.3733%205.0791%2012.3333%205.0791%208.58666C5.0791%204.77332%208.18577%201.66666%2011.9991%201.66666C15.8124%201.66666%2018.9191%204.77332%2018.9191%208.58666C18.9058%2012.3333%2015.9724%2015.3733%2012.2524%2015.4933C12.2391%2015.4933%2012.2258%2015.4933%2012.2124%2015.4933ZM11.9991%203.66666C9.29244%203.66666%207.0791%205.87999%207.0791%208.58666C7.0791%2011.2533%209.1591%2013.4%2011.8124%2013.4933C11.8924%2013.48%2012.0658%2013.48%2012.2391%2013.4933C14.8524%2013.3733%2016.9058%2011.2267%2016.9191%208.58666C16.9191%205.87999%2014.7058%203.66666%2011.9991%203.66666Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M22.0522%2015.6667C22.0122%2015.6667%2021.9722%2015.6667%2021.9322%2015.6533C21.3855%2015.7067%2020.8255%2015.32%2020.7722%2014.7733C20.7188%2014.2267%2021.0522%2013.7333%2021.5988%2013.6667C21.7588%2013.6533%2021.9322%2013.6533%2022.0788%2013.6533C24.0255%2013.5467%2025.5455%2011.9467%2025.5455%209.98668C25.5455%207.96001%2023.9055%206.32001%2021.8788%206.32001C21.3322%206.33334%2020.8788%205.88001%2020.8788%205.33334C20.8788%204.78668%2021.3322%204.33334%2021.8788%204.33334C24.9988%204.33334%2027.5455%206.88001%2027.5455%2010C27.5455%2013.0667%2025.1455%2015.5467%2022.0922%2015.6667C22.0788%2015.6667%2022.0655%2015.6667%2022.0522%2015.6667Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M12.2261%2030.0666C9.61281%2030.0666%206.98615%2029.4%204.99948%2028.0666C3.14615%2026.84%202.13281%2025.16%202.13281%2023.3333C2.13281%2021.5066%203.14615%2019.8133%204.99948%2018.5733C8.99948%2015.92%2015.4795%2015.92%2019.4528%2018.5733C21.2928%2019.8%2022.3195%2021.48%2022.3195%2023.3066C22.3195%2025.1333%2021.3061%2026.8266%2019.4528%2028.0666C17.4528%2029.4%2014.8395%2030.0666%2012.2261%2030.0666ZM6.10615%2020.2533C4.82615%2021.1066%204.13281%2022.2%204.13281%2023.3466C4.13281%2024.48%204.83948%2025.5733%206.10615%2026.4133C9.42615%2028.64%2015.0261%2028.64%2018.3461%2026.4133C19.6261%2025.56%2020.3195%2024.4666%2020.3195%2023.32C20.3195%2022.1866%2019.6128%2021.0933%2018.3461%2020.2533C15.0261%2018.04%209.42615%2018.04%206.10615%2020.2533Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_4%22%20d%3D%22M24.4526%2027.6667C23.9859%2027.6667%2023.5726%2027.3467%2023.4792%2026.8667C23.3726%2026.32%2023.7192%2025.8%2024.2526%2025.68C25.0926%2025.5067%2025.8659%2025.1734%2026.4659%2024.7067C27.2259%2024.1334%2027.6392%2023.4134%2027.6392%2022.6534C27.6392%2021.8934%2027.2259%2021.1734%2026.4792%2020.6134C25.8926%2020.16%2025.1592%2019.84%2024.2926%2019.64C23.7592%2019.52%2023.4126%2018.9867%2023.5326%2018.44C23.6526%2017.9067%2024.1859%2017.56%2024.7326%2017.68C25.8792%2017.9334%2026.8792%2018.3867%2027.6926%2019.0134C28.9326%2019.9467%2029.6392%2021.2667%2029.6392%2022.6534C29.6392%2024.04%2028.9192%2025.36%2027.6792%2026.3067C26.8526%2026.9467%2025.8126%2027.4134%2024.6659%2027.64C24.5859%2027.6667%2024.5192%2027.6667%2024.4526%2027.6667Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
688
+
681
689
  /** @returns {import('./types').IconData} */
682
690
  const getConfiguredIcon1 = url => ({
683
691
  url,
@@ -778,7 +786,11 @@ const icons = {
778
786
  'Book Saved': getConfiguredIcon2(bookSaved, false, true),
779
787
  Certificate: getConfiguredIcon2(certificate, false, true),
780
788
  Calendar: getConfiguredIcon2(calendar$1, false, true),
781
- Video: getConfiguredIcon2(video, false, true)
789
+ Video: getConfiguredIcon2(video, false, true),
790
+ BookSaved: getConfiguredIcon2(bookSavedIcon, false, true),
791
+ Teacher: getConfiguredIcon2(teacherIcon, false, true),
792
+ Medal: getConfiguredIcon2(medalIcon, false, true),
793
+ GroupProfile: getConfiguredIcon2(groupProfile, false, true)
782
794
  };
783
795
 
784
796
  const someMethod1 = ( /** @type {import('./types').IconData["svgChildrenConfigs"]} */svgChildrenConfigs, color, hoverColor) => {
@@ -1077,12 +1089,23 @@ function OptionList({
1077
1089
  isPreview,
1078
1090
  countryCode
1079
1091
  } = React.useContext(PageContext);
1092
+ function checkIsActiveTab(slug = '') {
1093
+ if (typeof window !== 'undefined') {
1094
+ const pathname = window.location.pathname;
1095
+ const slugFromPathname = pathname?.split('/')[1];
1096
+ if (slug && slugFromPathname.includes(slug)) {
1097
+ return true;
1098
+ } else {
1099
+ return false;
1100
+ }
1101
+ }
1102
+ }
1080
1103
  const tabsDataModifier = () => {
1081
1104
  return optionsData?.map(dt => {
1082
1105
  return {
1083
1106
  value: dt.title,
1084
1107
  link: dt.slug,
1085
- active: dt.active,
1108
+ active: checkIsActiveTab(dt.slug),
1086
1109
  isLink: true,
1087
1110
  isExternal: 0
1088
1111
  };
@@ -1563,13 +1586,13 @@ function Header({
1563
1586
  header: data,
1564
1587
  isTutorWebsite: isTutorWebsite,
1565
1588
  isLandingPage: isLandingPage,
1566
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1589
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1567
1590
  }) : /*#__PURE__*/React__default["default"].createElement(DesktopHeader, {
1568
1591
  navData: filterHiddenNavs(),
1569
1592
  header: data,
1570
1593
  isTutorWebsite: isTutorWebsite,
1571
1594
  isLandingPage: isLandingPage,
1572
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1595
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1573
1596
  });
1574
1597
  }
1575
1598
 
@@ -2161,28 +2184,29 @@ function NanumSquare() {
2161
2184
  }
2162
2185
 
2163
2186
  const TYPE_TO_COMPONENT_MAP$1 = {
2164
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
2165
- GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
2166
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
2167
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
2168
- FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
2169
- TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
2170
- VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
2171
- VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
2172
- INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
2173
- TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
2174
- IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
2175
- FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
2176
- COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
2177
- TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
2178
- TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
2179
- CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
2180
- FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
2181
- WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
2182
- COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
2183
- FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
2184
- TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
2185
- EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
2187
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$m; })),
2188
+ GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
2189
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
2190
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
2191
+ FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
2192
+ TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
2193
+ VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
2194
+ VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
2195
+ INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
2196
+ TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
2197
+ IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
2198
+ FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
2199
+ COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
2200
+ TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
2201
+ TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
2202
+ CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
2203
+ FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
2204
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
2205
+ COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
2206
+ FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
2207
+ TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
2208
+ EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
2209
+ ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
2186
2210
  };
2187
2211
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
2188
2212
  const MemoisedSection$1 = /*#__PURE__*/React.memo(({
@@ -2933,7 +2957,7 @@ function BannerCarouselRight({
2933
2957
  })))));
2934
2958
  }
2935
2959
 
2936
- var index$l = /*#__PURE__*/Object.freeze({
2960
+ var index$m = /*#__PURE__*/Object.freeze({
2937
2961
  __proto__: null,
2938
2962
  'default': BannerCarouselRight
2939
2963
  });
@@ -3159,7 +3183,7 @@ function List({
3159
3183
  }))));
3160
3184
  }
3161
3185
 
3162
- var index$k = /*#__PURE__*/Object.freeze({
3186
+ var index$l = /*#__PURE__*/Object.freeze({
3163
3187
  __proto__: null,
3164
3188
  'default': List
3165
3189
  });
@@ -3344,8 +3368,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3344
3368
  paddingBottom: '0'
3345
3369
  },
3346
3370
  centerBgImageContainerWithMobile: {
3347
- height: '40rem',
3348
- width: '100%'
3371
+ // height: '40rem',
3372
+ width: '100%',
3373
+ aspectRatio: '1/2'
3349
3374
  },
3350
3375
  sectionContainer: {
3351
3376
  position: 'unset'
@@ -3453,7 +3478,7 @@ function BannerCarouselCenter({
3453
3478
  }))));
3454
3479
  }
3455
3480
 
3456
- var index$j = /*#__PURE__*/Object.freeze({
3481
+ var index$k = /*#__PURE__*/Object.freeze({
3457
3482
  __proto__: null,
3458
3483
  'default': BannerCarouselCenter
3459
3484
  });
@@ -3685,7 +3710,7 @@ function BannerCarouselLeft({
3685
3710
  })))));
3686
3711
  }
3687
3712
 
3688
- var index$i = /*#__PURE__*/Object.freeze({
3713
+ var index$j = /*#__PURE__*/Object.freeze({
3689
3714
  __proto__: null,
3690
3715
  'default': BannerCarouselLeft
3691
3716
  });
@@ -4081,7 +4106,7 @@ function SubscribeToNewsletter({
4081
4106
  })))))));
4082
4107
  }
4083
4108
 
4084
- var index$h = /*#__PURE__*/Object.freeze({
4109
+ var index$i = /*#__PURE__*/Object.freeze({
4085
4110
  __proto__: null,
4086
4111
  'default': SubscribeToNewsletter
4087
4112
  });
@@ -4369,7 +4394,7 @@ function Testimonials({
4369
4394
  }));
4370
4395
  }
4371
4396
 
4372
- var index$g = /*#__PURE__*/Object.freeze({
4397
+ var index$h = /*#__PURE__*/Object.freeze({
4373
4398
  __proto__: null,
4374
4399
  'default': Testimonials
4375
4400
  });
@@ -4775,7 +4800,7 @@ function VideoTestimonial({
4775
4800
  }))))));
4776
4801
  }
4777
4802
 
4778
- var index$f = /*#__PURE__*/Object.freeze({
4803
+ var index$g = /*#__PURE__*/Object.freeze({
4779
4804
  __proto__: null,
4780
4805
  'default': VideoTestimonial
4781
4806
  });
@@ -5011,7 +5036,7 @@ function Video({
5011
5036
  }, carouselContent))));
5012
5037
  }
5013
5038
 
5014
- var index$e = /*#__PURE__*/Object.freeze({
5039
+ var index$f = /*#__PURE__*/Object.freeze({
5015
5040
  __proto__: null,
5016
5041
  'default': Video
5017
5042
  });
@@ -5248,7 +5273,7 @@ function Info({
5248
5273
  }, carouselContent))));
5249
5274
  }
5250
5275
 
5251
- var index$d = /*#__PURE__*/Object.freeze({
5276
+ var index$e = /*#__PURE__*/Object.freeze({
5252
5277
  __proto__: null,
5253
5278
  'default': Info
5254
5279
  });
@@ -5367,7 +5392,7 @@ const TextSection = ({
5367
5392
  })))));
5368
5393
  };
5369
5394
 
5370
- var index$c = /*#__PURE__*/Object.freeze({
5395
+ var index$d = /*#__PURE__*/Object.freeze({
5371
5396
  __proto__: null,
5372
5397
  'default': TextSection
5373
5398
  });
@@ -5592,7 +5617,7 @@ function PhotoGallery({
5592
5617
  }, carouselContent))));
5593
5618
  }
5594
5619
 
5595
- var index$b = /*#__PURE__*/Object.freeze({
5620
+ var index$c = /*#__PURE__*/Object.freeze({
5596
5621
  __proto__: null,
5597
5622
  'default': PhotoGallery
5598
5623
  });
@@ -5775,7 +5800,7 @@ const Accordion = ({
5775
5800
  })));
5776
5801
  };
5777
5802
 
5778
- var index$a = /*#__PURE__*/Object.freeze({
5803
+ var index$b = /*#__PURE__*/Object.freeze({
5779
5804
  __proto__: null,
5780
5805
  'default': FAQListing
5781
5806
  });
@@ -5946,7 +5971,7 @@ const TextGrid = ({
5946
5971
  }, carouselContent))));
5947
5972
  };
5948
5973
 
5949
- var index$9 = /*#__PURE__*/Object.freeze({
5974
+ var index$a = /*#__PURE__*/Object.freeze({
5950
5975
  __proto__: null,
5951
5976
  'default': TextGrid
5952
5977
  });
@@ -6478,7 +6503,7 @@ function SimpleCardsContainer({
6478
6503
  }, children);
6479
6504
  }
6480
6505
 
6481
- var index$8 = /*#__PURE__*/Object.freeze({
6506
+ var index$9 = /*#__PURE__*/Object.freeze({
6482
6507
  __proto__: null,
6483
6508
  'default': courses
6484
6509
  });
@@ -6512,7 +6537,8 @@ const useTeamStyles = createUseStyles(theme => {
6512
6537
  marginBottom: '8px',
6513
6538
  color: theme?.colors?.font2,
6514
6539
  // wordBreak: 'break-word',
6515
- position: 'relative'
6540
+ position: 'relative',
6541
+ textAlign: 'center'
6516
6542
  },
6517
6543
  teamTitle: {
6518
6544
  fontSize: theme.typography.fontSize.h2,
@@ -6521,47 +6547,44 @@ const useTeamStyles = createUseStyles(theme => {
6521
6547
  letterSpacing: '-3px',
6522
6548
  wordBreak: 'break-word',
6523
6549
  color: theme?.colors?.font2,
6524
- position: 'relative'
6550
+ position: 'relative',
6551
+ textAlign: 'center',
6552
+ marginBottom: '10px !important'
6525
6553
  },
6526
6554
  sliderContainer: {
6527
6555
  margin: '0 -20px'
6528
6556
  },
6529
6557
  contentRow: {
6530
- display: 'grid',
6531
- gridTemplateColumns: ({
6532
- slidesToShow
6533
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6558
+ display: 'flex',
6559
+ justifyContent: 'center',
6560
+ gap: '20px'
6561
+ // gridTemplateColumns: ({ slidesToShow } = {}) =>
6562
+ // `repeat(${slidesToShow},minmax(0, 1fr))`
6534
6563
  },
6564
+
6535
6565
  singleSlideContainer: {
6536
6566
  backgroundColor: theme?.palette?.background?.default,
6537
- margin: '20px',
6538
- width: 'calc(100% - 24px)',
6539
- // height: 'calc(100% - 40px)',
6540
- border: '3px solid #D8E0F0',
6541
- borderRadius: theme?.shape?.borderRadius?.regular,
6542
- padding: theme.spacing.padding.tiny,
6567
+ margin: '20px 0',
6568
+ borderRadius: theme?.shape?.borderRadius?.large,
6543
6569
  boxShadow: theme?.shadows?.primary,
6544
- minHeight: '320px'
6570
+ minHeight: '385px'
6545
6571
  },
6546
6572
  imageContainer: {
6547
6573
  minWidth: '100%',
6548
- borderRadius: theme?.shape?.borderRadius?.regular,
6549
- paddingBottom: '100%',
6550
- position: 'relative'
6574
+ position: 'relative',
6575
+ height: '208px'
6551
6576
  },
6552
6577
  image: {
6553
6578
  width: '100%',
6554
- height: '100%',
6555
- position: 'absolute',
6556
- borderRadius: '50%',
6579
+ height: '208px',
6557
6580
  top: '0',
6558
6581
  left: '0',
6559
- borderRadius: '50%',
6582
+ borderRadius: '12px 12px 0px 0px',
6560
6583
  objectFit: 'cover'
6561
6584
  },
6562
6585
  teamDetailsContainer: {
6563
- textAlign: 'center',
6564
- margin: '20px 0 0'
6586
+ textAlign: 'left',
6587
+ padding: '24px'
6565
6588
  // overflowWrap: 'break-word'
6566
6589
  },
6567
6590
 
@@ -6570,13 +6593,45 @@ const useTeamStyles = createUseStyles(theme => {
6570
6593
  fontWeight: theme.typography.fontWeight.bold,
6571
6594
  lineHeight: '24px',
6572
6595
  margin: '0',
6573
- color: theme?.palette?.font?.default
6596
+ color: theme?.palette?.font?.default,
6597
+ textOverflow: 'ellipsis',
6598
+ overflow: 'hidden',
6599
+ display: '-webkit-box',
6600
+ WebkitLineClamp: 2,
6601
+ WebkitBoxOrient: 'vertical',
6602
+ minHeight: '2.1em'
6574
6603
  },
6575
6604
  teamDetailsSubHeading: {
6576
- fontSize: theme.typography.fontSize.body,
6577
- lineHeight: '24px',
6578
- margin: '6px 0 0',
6579
- color: theme?.palette?.font?.primary
6605
+ fontSize: '14px',
6606
+ lineHeight: '18px',
6607
+ color: theme?.palette?.font?.primary,
6608
+ fontWeight: '400',
6609
+ textOverflow: 'ellipsis',
6610
+ overflow: 'hidden',
6611
+ display: '-webkit-box',
6612
+ WebkitLineClamp: 1,
6613
+ WebkitBoxOrient: 'vertical'
6614
+ },
6615
+ subHeadingWrapper: {
6616
+ display: 'flex',
6617
+ alignItems: 'center',
6618
+ margin: '10px 0px 0px',
6619
+ gap: '6px'
6620
+ },
6621
+ starTag: {
6622
+ display: 'flex',
6623
+ alignItems: 'center',
6624
+ gap: '6px',
6625
+ position: 'absolute',
6626
+ marginTop: '16px',
6627
+ background: 'rgba(22, 118, 243, 1)',
6628
+ borderRadius: '0px 6px 6px 0px',
6629
+ padding: '2px 16px'
6630
+ },
6631
+ starTagText: {
6632
+ color: 'white',
6633
+ fontSize: '12px',
6634
+ lineHeight: '20px'
6580
6635
  },
6581
6636
  '@media (max-width: 767px)': {
6582
6637
  // teamSuperContainer: {
@@ -6599,16 +6654,15 @@ const useTeamStyles = createUseStyles(theme => {
6599
6654
  },
6600
6655
  singleSlideContainer: {
6601
6656
  padding: '24px',
6602
- width: 'calc(100% - 16px)',
6657
+ // width: 'calc(100% - 16px)',
6603
6658
  margin: '12px 4px',
6604
6659
  minHeight: '260px'
6605
6660
  },
6606
6661
  teamDetailsContainer: {
6607
- textAlign: 'center'
6662
+ // textAlign: 'center'
6608
6663
  // margin: '15px 0 0',
6609
6664
  // paddingBottom: '0'
6610
6665
  },
6611
-
6612
6666
  teamDetailsHeading: {
6613
6667
  fontSize: '16px',
6614
6668
  lineHeight: '24px',
@@ -6621,16 +6675,39 @@ const useTeamStyles = createUseStyles(theme => {
6621
6675
  };
6622
6676
  });
6623
6677
 
6678
+ var RankIcon = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00033%209.77085C6.76699%209.77085%206.53366%209.75335%206.31199%209.71252C5.07533%209.53168%203.94949%208.82002%203.23783%207.76419C2.74199%207.01752%202.47949%206.14835%202.47949%205.25002C2.47949%202.75919%204.50949%200.729187%207.00033%200.729187C9.49116%200.729187%2011.5212%202.75919%2011.5212%205.25002C11.5212%206.14835%2011.2587%207.01752%2010.7628%207.76419C10.0453%208.82585%208.91949%209.53169%207.67116%209.71836C7.46699%209.75336%207.23366%209.77085%207.00033%209.77085ZM7.00033%201.60419C4.98783%201.60419%203.35449%203.23752%203.35449%205.25002C3.35449%205.97919%203.56449%206.67919%203.96116%207.27419C4.53866%208.12585%205.44283%208.69752%206.44616%208.84336C6.81949%208.90752%207.18699%208.90752%207.53116%208.84336C8.55199%208.69752%209.45616%208.12002%2010.0337%207.26835C10.4303%206.67335%2010.6403%205.97335%2010.6403%205.24418C10.6462%203.23751%209.01283%201.60419%207.00033%201.60419Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M3.77426%2013.1775C3.6926%2013.1775%203.61676%2013.1658%203.5351%2013.1483C3.15593%2013.0608%202.86426%2012.7691%202.77676%2012.39L2.5726%2011.5325C2.56093%2011.48%202.5201%2011.4391%202.46176%2011.4216L1.49926%2011.1941C1.1376%2011.1066%200.851764%2010.8383%200.752597%2010.4825C0.65343%2010.1266%200.752597%209.74163%201.0151%209.47913L3.2901%207.20413C3.38343%207.1108%203.51176%207.06413%203.6401%207.0758C3.76843%207.08746%203.8851%207.15746%203.96093%207.26829C4.53843%208.11996%205.4426%208.69746%206.45176%208.8433C6.8251%208.90746%207.1926%208.90746%207.53676%208.8433C8.5576%208.69746%209.46176%208.11996%2010.0393%207.26829C10.1093%207.15746%2010.2318%207.08746%2010.3601%207.0758C10.4884%207.06413%2010.6168%207.1108%2010.7101%207.20413L12.9851%209.47913C13.2476%209.74163%2013.3468%2010.1266%2013.2476%2010.4825C13.1484%2010.8383%2012.8568%2011.1125%2012.5009%2011.1941L11.5384%2011.4216C11.4859%2011.4333%2011.4451%2011.4741%2011.4276%2011.5325L11.2234%2012.39C11.1359%2012.7691%2010.8443%2013.0608%2010.4651%2013.1483C10.0859%2013.2416%209.6951%2013.1075%209.4501%2012.81L7.0001%209.99246L4.5501%2012.8158C4.35176%2013.0491%204.07176%2013.1775%203.77426%2013.1775ZM3.5526%208.18413L1.63343%2010.1033C1.58093%2010.1558%201.58676%2010.2141%201.59843%2010.2491C1.60426%2010.2783%201.63343%2010.3366%201.70343%2010.3483L2.66593%2010.5758C3.0451%2010.6633%203.33676%2010.955%203.42426%2011.3341L3.62843%2012.1916C3.64593%2012.2675%203.70426%2012.2908%203.73926%2012.3025C3.77426%2012.3083%203.8326%2012.3141%203.8851%2012.2558L6.11926%209.6833C5.1276%209.4908%204.2176%208.95996%203.5526%208.18413ZM7.88093%209.67746L10.1151%2012.2441C10.1676%2012.3083%2010.2318%2012.3083%2010.2668%2012.2966C10.3018%2012.2908%2010.3543%2012.2616%2010.3776%2012.1858L10.5818%2011.3283C10.6693%2010.9491%2010.9609%2010.6575%2011.3401%2010.57L12.3026%2010.3425C12.3726%2010.325%2012.4018%2010.2725%2012.4076%2010.2433C12.4193%2010.2141%2012.4251%2010.15%2012.3726%2010.0975L10.4534%208.17829C9.7826%208.95412%208.87843%209.48496%207.88093%209.67746Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M8.1025%207.51932C7.95083%207.51932%207.77%207.47848%207.55417%207.35015L7%207.01764L6.44583%207.34431C5.93833%207.64764%205.60583%207.47264%205.48333%207.38514C5.36083%207.29764%205.09833%207.03515%205.2325%206.45765L5.3725%205.85681L4.90583%205.42514C4.64917%205.16847%204.55583%204.85931%204.64333%204.57931C4.73083%204.29931%204.9875%204.10097%205.34917%204.04264L5.97333%203.93764L6.27083%203.28431C6.44%202.95181%206.7025%202.76514%207%202.76514C7.2975%202.76514%207.56583%202.95765%207.72917%203.29015L8.07333%203.97848L8.65083%204.04848C9.00667%204.10681%209.26334%204.30513%209.35667%204.58513C9.44417%204.86513%209.35083%205.17431%209.09417%205.43097L8.61%205.91515L8.76167%206.45765C8.89584%207.03515%208.63333%207.29764%208.51083%207.38514C8.44667%207.43764%208.30667%207.51932%208.1025%207.51932ZM5.60583%204.89432L6.00833%205.2968C6.195%205.48347%206.28833%205.79848%206.23%206.05515L6.11917%206.52181L6.58583%206.24764C6.83667%206.1018%207.175%206.1018%207.42%206.24764L7.88667%206.52181L7.78167%206.05515C7.72333%205.79265%207.81083%205.48347%207.9975%205.2968L8.4%204.89432L7.8925%204.8068C7.6475%204.76597%207.4025%204.58515%207.29167%204.36348L7%203.79181L6.70833%204.37514C6.60333%204.59098%206.35833%204.77765%206.11333%204.81848L5.60583%204.89432Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6679
+
6680
+ var Book = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2215%22%20viewBox%3D%220%200%2014%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00035%2013.38C6.82535%2013.38%206.65036%2013.3392%206.50453%2013.2575C5.41369%2012.6625%203.50035%2012.0325%202.29868%2011.875L2.12953%2011.8517C1.36536%2011.7583%200.735352%2011.0408%200.735352%2010.265V3.21831C0.735352%202.75747%200.916188%202.33749%201.24869%202.03416C1.58119%201.73082%202.01283%201.58498%202.46783%201.62582C3.74533%201.73082%205.68201%202.37249%206.77868%203.05499L6.91867%203.13667C6.9595%203.15417%207.04702%203.16%207.08202%203.13667L7.17534%203.07831C7.56617%202.83331%208.05617%202.59414%208.59284%202.3783C8.727%202.3258%208.87868%202.34331%209.00118%202.42498C9.12368%202.50665%209.19369%202.64081%209.19369%202.78664V4.34997L9.67786%204.02915C9.8237%203.92998%2010.0162%203.92998%2010.162%204.02915L10.6462%204.34997V2.12167C10.6462%201.91167%2010.7978%201.73081%2011.002%201.68998C11.1712%201.66081%2011.3404%201.63748%2011.492%201.62582C11.5037%201.62582%2011.5504%201.62582%2011.562%201.62582C11.9879%201.59082%2012.4253%201.73666%2012.752%202.04C13.0845%202.34333%2013.2653%202.76331%2013.2653%203.22414V10.265C13.2653%2011.0466%2012.6354%2011.7583%2011.8654%2011.8517L11.6729%2011.875C10.4712%2012.0325%208.54618%2012.6683%207.47868%2013.2575C7.35035%2013.3392%207.17535%2013.38%207.00035%2013.38ZM2.322%202.48914C2.13533%202.48914%201.96619%202.55331%201.83202%202.67581C1.68619%202.80998%201.60451%203.00247%201.60451%203.21831V10.265C1.60451%2010.6091%201.90202%2010.9416%202.23452%2010.9883L2.40952%2011.0117C3.72202%2011.1867%205.73452%2011.8458%206.90119%2012.4875C6.95369%2012.5108%207.0295%2012.5167%207.05867%2012.505C8.23117%2011.8575%2010.2495%2011.1925%2011.5679%2011.0175L11.7662%2010.9942C12.0987%2010.9533%2012.3962%2010.615%2012.3962%2010.2708V3.22998C12.3962%203.01415%2012.3145%202.82749%2012.1687%202.68749C12.0228%202.55332%2011.8187%202.48915%2011.6087%202.50082C11.5912%202.50082%2011.5387%202.50082%2011.527%202.50082V5.16666C11.527%205.32999%2011.4395%205.47581%2011.2937%205.55164C11.1478%205.62747%2010.9787%205.62165%2010.8445%205.52832L9.92285%204.91583L9.00118%205.52832C8.86701%205.61582%208.69783%205.62747%208.552%205.55164C8.412%205.47581%208.31869%205.32999%208.31869%205.16666V3.45749C8.06785%203.57999%207.84033%203.70249%207.642%203.81916L7.54868%203.87748C7.22785%204.07581%206.77286%204.07581%206.46369%203.88331L6.3237%203.79584C5.33786%203.1775%203.54117%202.58247%202.39784%202.48914C2.36867%202.48914%202.34533%202.48914%202.322%202.48914Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M7%2012.8901C6.76083%2012.8901%206.5625%2012.6918%206.5625%2012.4526V3.70264C6.5625%203.46347%206.76083%203.26514%207%203.26514C7.23917%203.26514%207.4375%203.46347%207.4375%203.70264V12.4526C7.4375%2012.6976%207.23917%2012.8901%207%2012.8901Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M11.0833%205.60416C10.9958%205.60416%2010.9142%205.58082%2010.8383%205.52832L9.91667%204.91583L8.99499%205.52832C8.86082%205.61582%208.69168%205.62748%208.54585%205.55164C8.40585%205.47581%208.3125%205.32999%208.3125%205.16666V2.78665C8.3125%202.60582%208.42332%202.44831%208.58665%202.37831C9.39165%202.05748%2010.2725%201.80665%2011.0133%201.68998C11.1417%201.66665%2011.27%201.70751%2011.3692%201.78917C11.4683%201.87084%2011.5208%201.99334%2011.5208%202.12168V5.16666C11.5208%205.32999%2011.4333%205.47581%2011.2875%205.55164C11.2233%205.58664%2011.1533%205.60416%2011.0833%205.60416ZM9.91667%203.95332C9.99833%203.95332%2010.0858%203.97665%2010.1617%204.02915L10.6458%204.34998V2.65249C10.1792%202.75749%209.67167%202.90916%209.1875%203.08999V4.34998L9.67168%204.02915C9.74751%203.97665%209.835%203.95332%209.91667%203.95332Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6681
+
6682
+ var Teacher = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00569%209.91681C6.50986%209.91681%206.00819%209.78848%205.61736%209.53764L2.10569%207.24514C1.45236%206.81931%201.06152%206.10181%201.06152%205.32014C1.06152%204.53848%201.45236%203.82098%202.10569%203.39514L5.62319%201.10848C6.40486%200.600976%207.62402%200.600976%208.39986%201.11431L11.894%203.40681C12.5415%203.83264%2012.9324%204.55014%2012.9324%205.32598C12.9324%206.10181%2012.5415%206.81931%2011.894%207.24514L8.39986%209.53764C8.00902%209.79431%207.50736%209.91681%207.00569%209.91681ZM7.00569%201.60431C6.67319%201.60431%206.34069%201.68014%206.10152%201.84348L2.58986%204.13014C2.18152%204.39848%201.94236%204.83014%201.94236%205.32014C1.94236%205.81014%202.17569%206.24181%202.58986%206.51014L6.10152%208.80264C6.58569%209.11764%207.43736%209.11764%207.92152%208.80264L11.4157%206.51014C11.824%206.24181%2012.0574%205.81014%2012.0574%205.32014C12.0574%204.83014%2011.824%204.39848%2011.4157%204.13014L7.92152%201.83764C7.67652%201.68598%207.34402%201.60431%207.00569%201.60431Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M7.00002%2013.2708C6.74336%2013.2708%206.48086%2013.2358%206.27086%2013.1658L4.41002%2012.5475C3.52919%2012.2558%202.83502%2011.2933%202.84086%2010.3658L2.84669%207.63C2.84669%207.39084%203.04502%207.1925%203.28419%207.1925C3.52336%207.1925%203.72169%207.39084%203.72169%207.63L3.71586%2010.3658C3.71586%2010.9142%204.17086%2011.5442%204.69002%2011.7192L6.55086%2012.3375C6.78419%2012.4133%207.21586%2012.4133%207.44919%2012.3375L9.31002%2011.7192C9.82919%2011.5442%2010.2842%2010.9142%2010.2842%2010.3717V7.66501C10.2842%207.42584%2010.4825%207.22751%2010.7217%207.22751C10.9609%207.22751%2011.1592%207.42584%2011.1592%207.66501V10.3717C11.1592%2011.2992%2010.4709%2012.2558%209.59002%2012.5533L7.72919%2013.1717C7.51919%2013.2358%207.25669%2013.2708%207.00002%2013.2708Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M12.4834%209.1875C12.2442%209.1875%2012.0459%208.98917%2012.0459%208.75V5.25C12.0459%205.01083%2012.2442%204.8125%2012.4834%204.8125C12.7226%204.8125%2012.9209%205.01083%2012.9209%205.25V8.75C12.9209%208.98917%2012.7226%209.1875%2012.4834%209.1875Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6683
+
6684
+ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.33006%2011.8352C9.06506%2011.8352%208.72506%2011.7502%208.30006%2011.5002L6.80506%2010.6152C6.65006%2010.5252%206.35006%2010.5252%206.20006%2010.6152L4.70006%2011.5002C3.81506%2012.0252%203.29506%2011.8152%203.06006%2011.6452C2.83006%2011.4752%202.47006%2011.0402%202.70506%2010.0402L3.06006%208.50516C3.10006%208.34516%203.02006%208.07016%202.90006%207.95016L1.66006%206.71016C1.04006%206.09016%201.09006%205.56016%201.17506%205.30016C1.26006%205.04016%201.53006%204.58016%202.39006%204.43516L3.98506%204.17016C4.13506%204.14516%204.35006%203.98516%204.41506%203.85016L5.30006%202.08516C5.70006%201.28016%206.22506%201.16016%206.50006%201.16016C6.77506%201.16016%207.30006%201.28016%207.70006%202.08516L8.58006%203.84516C8.65006%203.98016%208.86506%204.14016%209.01506%204.16516L10.6101%204.43016C11.4751%204.57516%2011.7451%205.03516%2011.8251%205.29516C11.9051%205.55516%2011.9551%206.08516%2011.3401%206.70516L10.1001%207.95016C9.98006%208.07016%209.90506%208.34016%209.94006%208.50516L10.2951%2010.0402C10.5251%2011.0402%2010.1701%2011.4752%209.94006%2011.6452C9.81506%2011.7352%209.61506%2011.8352%209.33006%2011.8352ZM6.50006%209.79516C6.74506%209.79516%206.99006%209.85516%207.18506%209.97016L8.68006%2010.8552C9.11506%2011.1152%209.39006%2011.1152%209.49506%2011.0402C9.60006%2010.9652%209.67506%2010.7002%209.56506%2010.2102L9.21006%208.67516C9.11506%208.26016%209.27006%207.72516%209.57006%207.42016L10.8101%206.18016C11.0551%205.93516%2011.1651%205.69516%2011.1151%205.53016C11.0601%205.36516%2010.8301%205.23016%2010.4901%205.17516L8.89506%204.91016C8.51006%204.84516%208.09006%204.53516%207.91506%204.18516L7.03506%202.42516C6.87506%202.10516%206.67506%201.91516%206.50006%201.91516C6.32506%201.91516%206.12506%202.10516%205.97006%202.42516L5.08506%204.18516C4.91006%204.53516%204.49006%204.84516%204.10506%204.91016L2.51506%205.17516C2.17506%205.23016%201.94506%205.36516%201.89006%205.53016C1.83506%205.69516%201.95006%205.94016%202.19506%206.18016L3.43506%207.42016C3.73506%207.72016%203.89006%208.26016%203.79506%208.67516L3.44006%2010.2102C3.32506%2010.7052%203.40506%2010.9652%203.51006%2011.0402C3.61506%2011.1152%203.88506%2011.1102%204.32506%2010.8552L5.82006%209.97016C6.01006%209.85516%206.25506%209.79516%206.50006%209.79516Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";
6685
+
6624
6686
  const SingleSlide = ({
6625
6687
  data,
6626
- sectionIndex
6688
+ sectionIndex,
6689
+ fullWidth,
6690
+ isMobile
6627
6691
  }) => {
6628
6692
  const classes = useTeamStyles();
6629
6693
  return /*#__PURE__*/React__default["default"].createElement("div", {
6630
- className: classes.singleSlideContainer
6694
+ className: classes.singleSlideContainer,
6695
+ style: isMobile ? {
6696
+ width: 'calc(100% - 16px)'
6697
+ } : fullWidth ? {
6698
+ width: 'calc(100% - 24px)'
6699
+ } : {
6700
+ width: 'calc(25% - 24px)'
6701
+ }
6631
6702
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6632
6703
  className: classes.imageContainer
6633
- }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
6704
+ }, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("span", {
6705
+ className: classes.starTag
6706
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6707
+ src: StarIcon
6708
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
6709
+ className: classes.starTagText
6710
+ }, "Star Tutor")) : null, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
6634
6711
  ref: data?.image?.refSetter,
6635
6712
  className: classes.image,
6636
6713
  alt: "Hero Image",
@@ -6644,13 +6721,43 @@ const SingleSlide = ({
6644
6721
  dangerouslySetInnerHTML: {
6645
6722
  __html: data.teamSlideTitle.metadata.value
6646
6723
  }
6647
- }), /*#__PURE__*/React__default["default"].createElement("div", {
6724
+ }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6648
6725
  ref: data?.teamSlideSubTitle?.refSetter,
6649
6726
  className: classes.teamDetailsSubHeading,
6650
6727
  dangerouslySetInnerHTML: {
6651
6728
  __html: data.teamSlideSubTitle.metadata.value
6652
6729
  }
6653
- })));
6730
+ }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6731
+ className: classes.subHeadingWrapper
6732
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6733
+ src: RankIcon
6734
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6735
+ ref: data?.teamSlideYearOfExperience?.refSetter,
6736
+ className: classes.teamDetailsSubHeading,
6737
+ dangerouslySetInnerHTML: {
6738
+ __html: data.teamSlideYearOfExperience.metadata.value
6739
+ }
6740
+ })) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6741
+ className: classes.subHeadingWrapper
6742
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6743
+ src: Book
6744
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6745
+ ref: data?.teamSlideSpecialisation?.refSetter,
6746
+ className: classes.teamDetailsSubHeading,
6747
+ dangerouslySetInnerHTML: {
6748
+ __html: data.teamSlideSpecialisation.metadata.value
6749
+ }
6750
+ })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6751
+ className: classes.subHeadingWrapper
6752
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6753
+ src: Teacher
6754
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6755
+ ref: data?.teamSlideQualification?.refSetter,
6756
+ className: classes.teamDetailsSubHeading,
6757
+ dangerouslySetInnerHTML: {
6758
+ __html: data.teamSlideQualification.metadata.value
6759
+ }
6760
+ })) : null));
6654
6761
  };
6655
6762
 
6656
6763
  function TeamCard({
@@ -6680,11 +6787,13 @@ function TeamCard({
6680
6787
  centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
6681
6788
  centerMode: true
6682
6789
  };
6683
- const carouselContent = teamData.teamCarousel.components.map((data, idx) => {
6790
+ const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
6684
6791
  return /*#__PURE__*/React__default["default"].createElement(SingleSlide, {
6685
6792
  key: idx,
6686
6793
  data: data,
6687
- sectionIndex: sectionIndex
6794
+ sectionIndex: sectionIndex,
6795
+ fullWidth: fullWidth,
6796
+ isMobile: isMobile
6688
6797
  });
6689
6798
  });
6690
6799
  return /*#__PURE__*/React__default["default"].createElement("section", {
@@ -6708,12 +6817,12 @@ function TeamCard({
6708
6817
  })), cardsCount > slidesToShow ? /*#__PURE__*/React__default["default"].createElement(Carousel, {
6709
6818
  hideArrow: isMobile,
6710
6819
  settings: settings
6711
- }, carouselContent) : /*#__PURE__*/React__default["default"].createElement("div", {
6820
+ }, getCarouselContent(true)) : /*#__PURE__*/React__default["default"].createElement("div", {
6712
6821
  className: classes.contentRow
6713
- }, " ", carouselContent)));
6822
+ }, " ", getCarouselContent())));
6714
6823
  }
6715
6824
 
6716
- var index$7 = /*#__PURE__*/Object.freeze({
6825
+ var index$8 = /*#__PURE__*/Object.freeze({
6717
6826
  __proto__: null,
6718
6827
  'default': TeamCard
6719
6828
  });
@@ -7138,7 +7247,7 @@ function FormEnquiry({
7138
7247
  })))))));
7139
7248
  }
7140
7249
 
7141
- var index$6 = /*#__PURE__*/Object.freeze({
7250
+ var index$7 = /*#__PURE__*/Object.freeze({
7142
7251
  __proto__: null,
7143
7252
  'default': FormEnquiry
7144
7253
  });
@@ -7562,7 +7671,7 @@ function Contact({
7562
7671
  })))))));
7563
7672
  }
7564
7673
 
7565
- var index$5 = /*#__PURE__*/Object.freeze({
7674
+ var index$6 = /*#__PURE__*/Object.freeze({
7566
7675
  __proto__: null,
7567
7676
  'default': Contact
7568
7677
  });
@@ -8041,7 +8150,7 @@ function CoursePromotionPage$1({
8041
8150
  }))));
8042
8151
  }
8043
8152
 
8044
- var index$4 = /*#__PURE__*/Object.freeze({
8153
+ var index$5 = /*#__PURE__*/Object.freeze({
8045
8154
  __proto__: null,
8046
8155
  'default': CoursePromotionPage$1
8047
8156
  });
@@ -8629,7 +8738,7 @@ function CoursePromotionPage({
8629
8738
  }))));
8630
8739
  }
8631
8740
 
8632
- var index$3 = /*#__PURE__*/Object.freeze({
8741
+ var index$4 = /*#__PURE__*/Object.freeze({
8633
8742
  __proto__: null,
8634
8743
  'default': CoursePromotionPage
8635
8744
  });
@@ -8994,7 +9103,7 @@ const FormPage = ({
8994
9103
  })))));
8995
9104
  };
8996
9105
 
8997
- var index$2 = /*#__PURE__*/Object.freeze({
9106
+ var index$3 = /*#__PURE__*/Object.freeze({
8998
9107
  __proto__: null,
8999
9108
  'default': FormPage
9000
9109
  });
@@ -9142,7 +9251,7 @@ function Tiles({
9142
9251
  }, TileDiv)));
9143
9252
  }
9144
9253
 
9145
- var index$1 = /*#__PURE__*/Object.freeze({
9254
+ var index$2 = /*#__PURE__*/Object.freeze({
9146
9255
  __proto__: null,
9147
9256
  'default': Tiles
9148
9257
  });
@@ -9617,11 +9726,380 @@ function EmailDripMarket({
9617
9726
  })));
9618
9727
  }
9619
9728
 
9620
- var index = /*#__PURE__*/Object.freeze({
9729
+ var index$1 = /*#__PURE__*/Object.freeze({
9621
9730
  __proto__: null,
9622
9731
  'default': EmailDripMarket
9623
9732
  });
9624
9733
 
9734
+ const useAboutInstituteStyles = createUseStyles(theme => ({
9735
+ aboutInstText: {
9736
+ alignSelf: 'center',
9737
+ color: 'var(--Black, #0A1629)',
9738
+ fontSize: '24px',
9739
+ fontWeight: '400',
9740
+ fontFamily: theme?.typography?.fontFamily
9741
+ },
9742
+ metaChild: {
9743
+ fontSize: '16px',
9744
+ fontStyle: 'normal',
9745
+ fontWeight: '400',
9746
+ fontFamily: theme?.typography?.fontFamily
9747
+ },
9748
+ aboutInstWrapper: {
9749
+ padding: '64px 128px',
9750
+ display: 'flex',
9751
+ justifyContent: 'center',
9752
+ flexDirection: 'column',
9753
+ background: '#FFF',
9754
+ fontFamily: theme?.typography?.fontFamily
9755
+ },
9756
+ abtoutInstText: {
9757
+ color: theme?.palette?.font?.secondary,
9758
+ fontWeight: '400',
9759
+ fontSize: theme.typography.fontSize.subHead,
9760
+ lineHeight: '20px',
9761
+ textAlign: 'center',
9762
+ textTransform: 'uppercase',
9763
+ wordBreak: 'break-word'
9764
+ },
9765
+ aboutInstHeader: {
9766
+ fontSize: theme.typography.fontSize.h2,
9767
+ color: theme?.palette?.font?.default,
9768
+ margin: '0px',
9769
+ marginBottom: '56px',
9770
+ textAlign: 'center'
9771
+ },
9772
+ imageContainer: {
9773
+ width: '240px',
9774
+ height: '240px',
9775
+ position: 'relative'
9776
+ // borderRadius: '16px',
9777
+ // border: '1px solid var(--stroke, #D8E0F0)',
9778
+ },
9779
+
9780
+ image: {
9781
+ width: '100%',
9782
+ height: '100%',
9783
+ borderRadius: '16px',
9784
+ border: '1px solid var(--stroke, #D8E0F0)'
9785
+ },
9786
+ infoContainer: {
9787
+ padding: '24px',
9788
+ gap: '16px',
9789
+ display: 'flex',
9790
+ flexDirection: 'column',
9791
+ borderRadius: '16px',
9792
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9793
+ flex: 1
9794
+ },
9795
+ metaInfo: {
9796
+ display: 'flex',
9797
+ gap: '24px',
9798
+ flexWrap: 'wrap'
9799
+ },
9800
+ metaInfoChild: {
9801
+ display: 'flex',
9802
+ justifyContent: 'center',
9803
+ alignItems: 'center',
9804
+ gap: '6px'
9805
+ },
9806
+ contentWrapper: {
9807
+ display: 'flex',
9808
+ gap: '24px',
9809
+ marginBottom: '24px'
9810
+ },
9811
+ cardWrapper: {
9812
+ // display: 'flex',
9813
+ // width: '100%',
9814
+ // gap: '24px'
9815
+ display: 'flex',
9816
+ gap: '24px',
9817
+ flex: 1,
9818
+ lineHeight: 'normal'
9819
+ },
9820
+ card: {
9821
+ padding: '24px',
9822
+ display: 'flex',
9823
+ justifyContent: 'space-between',
9824
+ alignItems: 'center',
9825
+ borderRadius: '16px',
9826
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9827
+ flexGrow: 1
9828
+ },
9829
+ cardDesc: {
9830
+ display: 'flex',
9831
+ flexDirection: 'column'
9832
+ },
9833
+ infoDetails: {
9834
+ display: 'flex',
9835
+ flexDirection: 'Column',
9836
+ gap: '10px',
9837
+ lineHeight: 'normal'
9838
+ },
9839
+ infoContent: {
9840
+ display: 'flex',
9841
+ flexDirection: 'Column',
9842
+ gap: '8px'
9843
+ },
9844
+ instHeading: {
9845
+ color: 'var(--Black, #0A1629)',
9846
+ fontSize: '32px',
9847
+ fontStyle: 'normal',
9848
+ fontWeight: '600'
9849
+ },
9850
+ aboutText: {
9851
+ fontSize: '24px',
9852
+ fontStyle: 'normal',
9853
+ fontWeight: '600'
9854
+ },
9855
+ instAbout: {
9856
+ fontFamily: theme?.typography?.fontFamily,
9857
+ lineHeight: '22px',
9858
+ fontSize: '14px',
9859
+ fontStyle: 'normal',
9860
+ fontWeight: '400',
9861
+ wordBreak: 'break-word'
9862
+ },
9863
+ highlightText: {
9864
+ color: 'var(--Black, #0A1629)',
9865
+ fontSize: '24px',
9866
+ fontStyle: 'normal',
9867
+ fontWeight: '600',
9868
+ wordBreak: 'break-word'
9869
+ },
9870
+ highlightHeading: {
9871
+ fontSize: '16px',
9872
+ fontStyle: 'normal',
9873
+ fontWeight: '400'
9874
+ },
9875
+ // SMALL SCREEN
9876
+ '@media screen and (max-width: 767px)': {
9877
+ aboutInstText: {
9878
+ fontSize: '16px'
9879
+ },
9880
+ imageContainer: {
9881
+ height: '150px',
9882
+ width: '150px'
9883
+ },
9884
+ image: {
9885
+ borderRadius: '10px',
9886
+ border: '1px solid var(--stroke, #D8E0F0)'
9887
+ },
9888
+ infoContainer: {
9889
+ gap: '16px'
9890
+ },
9891
+ instHeading: {
9892
+ fontSize: '24px'
9893
+ },
9894
+ cardWrapper: {
9895
+ flexDirection: 'column',
9896
+ gap: '8px',
9897
+ lineHeight: 'normal'
9898
+ },
9899
+ aboutInstWrapper: {
9900
+ padding: '16px'
9901
+ },
9902
+ aboutInstHeader: {
9903
+ color: theme?.palette?.font?.default,
9904
+ margin: '0px 0 24px 0',
9905
+ textAlign: 'center',
9906
+ fontSize: '20px'
9907
+ },
9908
+ contentWrapper: {
9909
+ gap: '8px'
9910
+ },
9911
+ card: {
9912
+ padding: '16px'
9913
+ },
9914
+ infoDetails: {
9915
+ gap: '8px',
9916
+ lineHeight: 'normal'
9917
+ },
9918
+ metaInfo: {
9919
+ gap: '8px'
9920
+ },
9921
+ infoContent: {
9922
+ gap: '8px'
9923
+ },
9924
+ metaChild: {
9925
+ fontSize: '12px'
9926
+ },
9927
+ aboutText: {
9928
+ fontSize: '16px'
9929
+ },
9930
+ instAbout: {
9931
+ fontSize: '12px'
9932
+ },
9933
+ highlightText: {
9934
+ fontSize: '16px'
9935
+ },
9936
+ highlightHeading: {
9937
+ fontSize: '12px'
9938
+ }
9939
+ }
9940
+ }));
9941
+
9942
+ function ABOUT_INSTITUTE({
9943
+ sectionData,
9944
+ sectionIndex
9945
+ }) {
9946
+ const {
9947
+ layout: {
9948
+ containerWidth
9949
+ },
9950
+ isMobile
9951
+ } = React.useContext(PageContext);
9952
+ const classes = useAboutInstituteStyles({
9953
+ containerWidth,
9954
+ isMobile
9955
+ });
9956
+ const [nodeData] = sectionData?.components;
9957
+ const [highlightNodeData] = nodeData?.highlight?.components;
9958
+ const theme = useTheme();
9959
+ const ImageJSX = () => {
9960
+ if (!nodeData?.image?.metadata?.value) {
9961
+ return null;
9962
+ }
9963
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9964
+ className: classes.imageContainer
9965
+ }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
9966
+ className: classes.image,
9967
+ alt: "logo",
9968
+ src: nodeData?.image?.metadata?.value
9969
+ }));
9970
+ };
9971
+ const ContentJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
9972
+ className: classes.infoContainer
9973
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9974
+ className: classes.infoDetails
9975
+ }, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9976
+ className: classes.instHeading,
9977
+ ref: nodeData?.instName?.refSetter,
9978
+ dangerouslySetInnerHTML: {
9979
+ __html: nodeData?.instName?.metadata?.value
9980
+ }
9981
+ }) : null, /*#__PURE__*/React__default["default"].createElement("div", {
9982
+ className: classes.metaInfo
9983
+ }, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9984
+ className: classes.metaInfoChild
9985
+ }, /*#__PURE__*/React__default["default"].createElement(Icon, {
9986
+ name: 'BookSaved',
9987
+ color: theme.palette.font.primary,
9988
+ width: '20px',
9989
+ height: '20px'
9990
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
9991
+ className: classes.metaChild,
9992
+ ref: nodeData?.spec?.refSetter,
9993
+ dangerouslySetInnerHTML: {
9994
+ __html: nodeData?.spec?.metadata?.value
9995
+ }
9996
+ })) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9997
+ className: classes.metaInfoChild
9998
+ }, /*#__PURE__*/React__default["default"].createElement(Icon, {
9999
+ name: 'Teacher',
10000
+ color: theme.palette.font.primary,
10001
+ width: '20px',
10002
+ height: '20px'
10003
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
10004
+ className: classes.metaChild,
10005
+ ref: nodeData?.qual?.refSetter,
10006
+ dangerouslySetInnerHTML: {
10007
+ __html: nodeData?.qual?.metadata?.value
10008
+ }
10009
+ })) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10010
+ className: classes.metaInfoChild
10011
+ }, /*#__PURE__*/React__default["default"].createElement(Icon, {
10012
+ name: 'Medal',
10013
+ color: theme.palette.font.primary,
10014
+ width: '20px',
10015
+ height: '20px'
10016
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
10017
+ className: classes.metaChild,
10018
+ ref: nodeData?.exp?.refSetter,
10019
+ dangerouslySetInnerHTML: {
10020
+ __html: nodeData?.exp?.metadata?.value
10021
+ }
10022
+ })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10023
+ className: classes.infoContent
10024
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10025
+ className: classes.aboutText
10026
+ }, "About"), /*#__PURE__*/React__default["default"].createElement("div", {
10027
+ className: classes.instAbout,
10028
+ ref: nodeData?.content?.refSetter,
10029
+ dangerouslySetInnerHTML: {
10030
+ __html: nodeData?.content?.metadata?.value
10031
+ }
10032
+ })) : null);
10033
+ const HighlightJSX = () => {
10034
+ if (!nodeData?.highlight?.metadata?.value) {
10035
+ return null;
10036
+ }
10037
+ return /*#__PURE__*/React__default["default"].createElement("div", {
10038
+ className: classes.cardWrapper
10039
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10040
+ className: classes.card
10041
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10042
+ className: classes.cardDesc
10043
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
10044
+ className: classes.highlightText,
10045
+ ref: highlightNodeData?.courses?.refSetter,
10046
+ dangerouslySetInnerHTML: {
10047
+ __html: highlightNodeData?.courses?.metadata?.value
10048
+ }
10049
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10050
+ className: classes.highlightHeading
10051
+ }, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10052
+ name: 'BookSaved',
10053
+ color: theme.palette.font.primary,
10054
+ width: '32px',
10055
+ height: '32px'
10056
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
10057
+ className: classes.card
10058
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10059
+ className: classes.cardDesc
10060
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
10061
+ className: classes.highlightText,
10062
+ ref: highlightNodeData?.students?.refSetter,
10063
+ dangerouslySetInnerHTML: {
10064
+ __html: highlightNodeData?.students?.metadata?.value
10065
+ }
10066
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10067
+ className: classes.highlightHeading
10068
+ }, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10069
+ name: 'GroupProfile',
10070
+ color: theme.palette.font.primary,
10071
+ width: '32px',
10072
+ height: '32px'
10073
+ })));
10074
+ };
10075
+ return /*#__PURE__*/React__default["default"].createElement("div", {
10076
+ className: classes.aboutInstWrapper
10077
+ }, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10078
+ className: classes.aboutInstText
10079
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
10080
+ ref: nodeData?.heading?.refSetter,
10081
+ dangerouslySetInnerHTML: {
10082
+ __html: nodeData?.heading?.metadata?.value
10083
+ }
10084
+ })) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("h2", {
10085
+ className: classes.aboutInstHeader
10086
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
10087
+ ref: nodeData?.title?.refSetter,
10088
+ dangerouslySetInnerHTML: {
10089
+ __html: nodeData?.title?.metadata?.value
10090
+ }
10091
+ })) : null, isMobile ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
10092
+ className: classes.contentWrapper
10093
+ }, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
10094
+ className: classes.contentWrapper
10095
+ }, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)));
10096
+ }
10097
+
10098
+ var index = /*#__PURE__*/Object.freeze({
10099
+ __proto__: null,
10100
+ 'default': ABOUT_INSTITUTE
10101
+ });
10102
+
9625
10103
  const TYPE_TO_COMPONENT_MAP = {
9626
10104
  BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
9627
10105
  GRID_CARD: List,
@@ -9644,7 +10122,8 @@ const TYPE_TO_COMPONENT_MAP = {
9644
10122
  COURSE_LANDING_PAGE: CoursePromotionPage,
9645
10123
  FORM_LANDING_PAGE: FormPage,
9646
10124
  TILES_SECTION: Tiles,
9647
- EMAIL_DRIP_MARKET: EmailDripMarket
10125
+ EMAIL_DRIP_MARKET: EmailDripMarket,
10126
+ ABOUT_INSTITUTE
9648
10127
  };
9649
10128
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
9650
10129
  const MemoisedSection = /*#__PURE__*/React.memo(({