diy-template-components 2.0.46 → 2.0.47
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.es.js +468 -67
- package/build/index.es.js.map +1 -1
- package/build/index.js +468 -67
- package/build/index.js.map +1 -1
- package/package.json +1 -1
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) => {
|
|
@@ -2159,28 +2171,29 @@ function NanumSquare() {
|
|
|
2159
2171
|
}
|
|
2160
2172
|
|
|
2161
2173
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
2162
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2163
|
-
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2164
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2165
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2166
|
-
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2167
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2168
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2169
|
-
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2170
|
-
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2171
|
-
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2172
|
-
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2173
|
-
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2174
|
-
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2175
|
-
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2176
|
-
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2177
|
-
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2178
|
-
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2179
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2180
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2181
|
-
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2182
|
-
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2183
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2174
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$m; })),
|
|
2175
|
+
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
|
|
2176
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
2177
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
2178
|
+
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
2179
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
2180
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
2181
|
+
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
2182
|
+
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
2183
|
+
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
2184
|
+
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
2185
|
+
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
2186
|
+
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
2187
|
+
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
2188
|
+
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
2189
|
+
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
2190
|
+
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
2191
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
2192
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
2193
|
+
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
2194
|
+
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
2195
|
+
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
2196
|
+
ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2184
2197
|
};
|
|
2185
2198
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
2186
2199
|
const MemoisedSection$1 = /*#__PURE__*/React.memo(({
|
|
@@ -2930,7 +2943,7 @@ function BannerCarouselRight({
|
|
|
2930
2943
|
})))));
|
|
2931
2944
|
}
|
|
2932
2945
|
|
|
2933
|
-
var index$
|
|
2946
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
2934
2947
|
__proto__: null,
|
|
2935
2948
|
'default': BannerCarouselRight
|
|
2936
2949
|
});
|
|
@@ -3154,7 +3167,7 @@ function List({
|
|
|
3154
3167
|
}))));
|
|
3155
3168
|
}
|
|
3156
3169
|
|
|
3157
|
-
var index$
|
|
3170
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
3158
3171
|
__proto__: null,
|
|
3159
3172
|
'default': List
|
|
3160
3173
|
});
|
|
@@ -3448,7 +3461,7 @@ function BannerCarouselCenter({
|
|
|
3448
3461
|
}))));
|
|
3449
3462
|
}
|
|
3450
3463
|
|
|
3451
|
-
var index$
|
|
3464
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
3452
3465
|
__proto__: null,
|
|
3453
3466
|
'default': BannerCarouselCenter
|
|
3454
3467
|
});
|
|
@@ -3677,7 +3690,7 @@ function BannerCarouselLeft({
|
|
|
3677
3690
|
})))));
|
|
3678
3691
|
}
|
|
3679
3692
|
|
|
3680
|
-
var index$
|
|
3693
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
3681
3694
|
__proto__: null,
|
|
3682
3695
|
'default': BannerCarouselLeft
|
|
3683
3696
|
});
|
|
@@ -4073,7 +4086,7 @@ function SubscribeToNewsletter({
|
|
|
4073
4086
|
})))))));
|
|
4074
4087
|
}
|
|
4075
4088
|
|
|
4076
|
-
var index$
|
|
4089
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
4077
4090
|
__proto__: null,
|
|
4078
4091
|
'default': SubscribeToNewsletter
|
|
4079
4092
|
});
|
|
@@ -4361,7 +4374,7 @@ function Testimonials({
|
|
|
4361
4374
|
}));
|
|
4362
4375
|
}
|
|
4363
4376
|
|
|
4364
|
-
var index$
|
|
4377
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
4365
4378
|
__proto__: null,
|
|
4366
4379
|
'default': Testimonials
|
|
4367
4380
|
});
|
|
@@ -4765,7 +4778,7 @@ function VideoTestimonial({
|
|
|
4765
4778
|
}))))));
|
|
4766
4779
|
}
|
|
4767
4780
|
|
|
4768
|
-
var index$
|
|
4781
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
4769
4782
|
__proto__: null,
|
|
4770
4783
|
'default': VideoTestimonial
|
|
4771
4784
|
});
|
|
@@ -5001,7 +5014,7 @@ function Video({
|
|
|
5001
5014
|
}, carouselContent))));
|
|
5002
5015
|
}
|
|
5003
5016
|
|
|
5004
|
-
var index$
|
|
5017
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
5005
5018
|
__proto__: null,
|
|
5006
5019
|
'default': Video
|
|
5007
5020
|
});
|
|
@@ -5237,7 +5250,7 @@ function Info({
|
|
|
5237
5250
|
}, carouselContent))));
|
|
5238
5251
|
}
|
|
5239
5252
|
|
|
5240
|
-
var index$
|
|
5253
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
5241
5254
|
__proto__: null,
|
|
5242
5255
|
'default': Info
|
|
5243
5256
|
});
|
|
@@ -5356,7 +5369,7 @@ const TextSection = ({
|
|
|
5356
5369
|
})))));
|
|
5357
5370
|
};
|
|
5358
5371
|
|
|
5359
|
-
var index$
|
|
5372
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
5360
5373
|
__proto__: null,
|
|
5361
5374
|
'default': TextSection
|
|
5362
5375
|
});
|
|
@@ -5579,7 +5592,7 @@ function PhotoGallery({
|
|
|
5579
5592
|
}, carouselContent))));
|
|
5580
5593
|
}
|
|
5581
5594
|
|
|
5582
|
-
var index$
|
|
5595
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
5583
5596
|
__proto__: null,
|
|
5584
5597
|
'default': PhotoGallery
|
|
5585
5598
|
});
|
|
@@ -5762,7 +5775,7 @@ const Accordion = ({
|
|
|
5762
5775
|
})));
|
|
5763
5776
|
};
|
|
5764
5777
|
|
|
5765
|
-
var index$
|
|
5778
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
5766
5779
|
__proto__: null,
|
|
5767
5780
|
'default': FAQListing
|
|
5768
5781
|
});
|
|
@@ -5933,7 +5946,7 @@ const TextGrid = ({
|
|
|
5933
5946
|
}, carouselContent))));
|
|
5934
5947
|
};
|
|
5935
5948
|
|
|
5936
|
-
var index$
|
|
5949
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
5937
5950
|
__proto__: null,
|
|
5938
5951
|
'default': TextGrid
|
|
5939
5952
|
});
|
|
@@ -6460,7 +6473,7 @@ function SimpleCardsContainer({
|
|
|
6460
6473
|
}, children);
|
|
6461
6474
|
}
|
|
6462
6475
|
|
|
6463
|
-
var index$
|
|
6476
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
6464
6477
|
__proto__: null,
|
|
6465
6478
|
'default': courses
|
|
6466
6479
|
});
|
|
@@ -6512,22 +6525,23 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6512
6525
|
margin: '0 -20px'
|
|
6513
6526
|
},
|
|
6514
6527
|
contentRow: {
|
|
6515
|
-
display: '
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
} = {}) =>
|
|
6528
|
+
display: 'flex',
|
|
6529
|
+
justifyContent: 'center',
|
|
6530
|
+
gap: '20px'
|
|
6531
|
+
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6532
|
+
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6519
6533
|
},
|
|
6520
6534
|
singleSlideContainer: {
|
|
6521
6535
|
backgroundColor: theme?.palette?.background?.default,
|
|
6522
|
-
margin: '20px',
|
|
6523
|
-
width: 'calc(100% - 24px)',
|
|
6536
|
+
margin: '20px 0',
|
|
6524
6537
|
borderRadius: theme?.shape?.borderRadius?.large,
|
|
6525
6538
|
boxShadow: theme?.shadows?.primary,
|
|
6526
6539
|
minHeight: '385px'
|
|
6527
6540
|
},
|
|
6528
6541
|
imageContainer: {
|
|
6529
6542
|
minWidth: '100%',
|
|
6530
|
-
position: 'relative'
|
|
6543
|
+
position: 'relative',
|
|
6544
|
+
height: '208px'
|
|
6531
6545
|
},
|
|
6532
6546
|
image: {
|
|
6533
6547
|
width: '100%',
|
|
@@ -6559,7 +6573,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6559
6573
|
fontSize: '14px',
|
|
6560
6574
|
lineHeight: '18px',
|
|
6561
6575
|
color: theme?.palette?.font?.primary,
|
|
6562
|
-
fontWeight: '
|
|
6576
|
+
fontWeight: '400',
|
|
6563
6577
|
textOverflow: 'ellipsis',
|
|
6564
6578
|
overflow: 'hidden',
|
|
6565
6579
|
display: '-webkit-box',
|
|
@@ -6580,7 +6594,8 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6580
6594
|
marginTop: '16px',
|
|
6581
6595
|
background: 'rgba(22, 118, 243, 1)',
|
|
6582
6596
|
borderRadius: '0px 6px 6px 0px',
|
|
6583
|
-
padding: '2px 16px'
|
|
6597
|
+
padding: '2px 16px',
|
|
6598
|
+
zIndex: '1'
|
|
6584
6599
|
},
|
|
6585
6600
|
starTagText: {
|
|
6586
6601
|
color: 'white',
|
|
@@ -6608,7 +6623,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6608
6623
|
},
|
|
6609
6624
|
singleSlideContainer: {
|
|
6610
6625
|
padding: '24px',
|
|
6611
|
-
width: 'calc(100% - 16px)',
|
|
6626
|
+
// width: 'calc(100% - 16px)',
|
|
6612
6627
|
margin: '12px 4px',
|
|
6613
6628
|
minHeight: '260px'
|
|
6614
6629
|
},
|
|
@@ -6639,14 +6654,23 @@ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22
|
|
|
6639
6654
|
|
|
6640
6655
|
const SingleSlide = ({
|
|
6641
6656
|
data,
|
|
6642
|
-
sectionIndex
|
|
6657
|
+
sectionIndex,
|
|
6658
|
+
fullWidth,
|
|
6659
|
+
isMobile
|
|
6643
6660
|
}) => {
|
|
6644
6661
|
const classes = useTeamStyles();
|
|
6645
6662
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6646
|
-
className: classes.singleSlideContainer
|
|
6663
|
+
className: classes.singleSlideContainer,
|
|
6664
|
+
style: isMobile ? {
|
|
6665
|
+
width: 'calc(100% - 16px)'
|
|
6666
|
+
} : fullWidth ? {
|
|
6667
|
+
width: 'calc(100% - 24px)'
|
|
6668
|
+
} : {
|
|
6669
|
+
width: 'calc(25% - 24px)'
|
|
6670
|
+
}
|
|
6647
6671
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6648
6672
|
className: classes.imageContainer
|
|
6649
|
-
}, data?.teamSlideStarTutor?.metadata?.value
|
|
6673
|
+
}, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6650
6674
|
className: classes.starTag
|
|
6651
6675
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
6652
6676
|
src: StarIcon
|
|
@@ -6666,7 +6690,13 @@ const SingleSlide = ({
|
|
|
6666
6690
|
dangerouslySetInnerHTML: {
|
|
6667
6691
|
__html: data.teamSlideTitle.metadata.value
|
|
6668
6692
|
}
|
|
6669
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6693
|
+
}), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6694
|
+
ref: data?.teamSlideSubTitle?.refSetter,
|
|
6695
|
+
className: classes.teamDetailsSubHeading,
|
|
6696
|
+
dangerouslySetInnerHTML: {
|
|
6697
|
+
__html: data.teamSlideSubTitle.metadata.value
|
|
6698
|
+
}
|
|
6699
|
+
}) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6670
6700
|
className: classes.subHeadingWrapper
|
|
6671
6701
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
6672
6702
|
src: RankIcon
|
|
@@ -6676,7 +6706,7 @@ const SingleSlide = ({
|
|
|
6676
6706
|
dangerouslySetInnerHTML: {
|
|
6677
6707
|
__html: data.teamSlideYearOfExperience.metadata.value
|
|
6678
6708
|
}
|
|
6679
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6709
|
+
})) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6680
6710
|
className: classes.subHeadingWrapper
|
|
6681
6711
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
6682
6712
|
src: Book
|
|
@@ -6686,7 +6716,7 @@ const SingleSlide = ({
|
|
|
6686
6716
|
dangerouslySetInnerHTML: {
|
|
6687
6717
|
__html: data.teamSlideSpecialisation.metadata.value
|
|
6688
6718
|
}
|
|
6689
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6719
|
+
})) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6690
6720
|
className: classes.subHeadingWrapper
|
|
6691
6721
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
6692
6722
|
src: Teacher
|
|
@@ -6696,7 +6726,7 @@ const SingleSlide = ({
|
|
|
6696
6726
|
dangerouslySetInnerHTML: {
|
|
6697
6727
|
__html: data.teamSlideQualification.metadata.value
|
|
6698
6728
|
}
|
|
6699
|
-
}))));
|
|
6729
|
+
})) : null));
|
|
6700
6730
|
};
|
|
6701
6731
|
|
|
6702
6732
|
function TeamCard({
|
|
@@ -6726,11 +6756,13 @@ function TeamCard({
|
|
|
6726
6756
|
centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
|
|
6727
6757
|
centerMode: true
|
|
6728
6758
|
};
|
|
6729
|
-
const
|
|
6759
|
+
const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
|
|
6730
6760
|
return /*#__PURE__*/React__default["default"].createElement(SingleSlide, {
|
|
6731
6761
|
key: idx,
|
|
6732
6762
|
data: data,
|
|
6733
|
-
sectionIndex: sectionIndex
|
|
6763
|
+
sectionIndex: sectionIndex,
|
|
6764
|
+
fullWidth: fullWidth,
|
|
6765
|
+
isMobile: isMobile
|
|
6734
6766
|
});
|
|
6735
6767
|
});
|
|
6736
6768
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
@@ -6754,12 +6786,12 @@ function TeamCard({
|
|
|
6754
6786
|
})), cardsCount > slidesToShow ? /*#__PURE__*/React__default["default"].createElement(Carousel, {
|
|
6755
6787
|
hideArrow: isMobile,
|
|
6756
6788
|
settings: settings
|
|
6757
|
-
},
|
|
6789
|
+
}, getCarouselContent(true)) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6758
6790
|
className: classes.contentRow
|
|
6759
|
-
}, " ",
|
|
6791
|
+
}, " ", getCarouselContent())));
|
|
6760
6792
|
}
|
|
6761
6793
|
|
|
6762
|
-
var index$
|
|
6794
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
6763
6795
|
__proto__: null,
|
|
6764
6796
|
'default': TeamCard
|
|
6765
6797
|
});
|
|
@@ -7180,7 +7212,7 @@ function FormEnquiry({
|
|
|
7180
7212
|
})))))));
|
|
7181
7213
|
}
|
|
7182
7214
|
|
|
7183
|
-
var index$
|
|
7215
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
7184
7216
|
__proto__: null,
|
|
7185
7217
|
'default': FormEnquiry
|
|
7186
7218
|
});
|
|
@@ -7602,7 +7634,7 @@ function Contact({
|
|
|
7602
7634
|
})))))));
|
|
7603
7635
|
}
|
|
7604
7636
|
|
|
7605
|
-
var index$
|
|
7637
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
7606
7638
|
__proto__: null,
|
|
7607
7639
|
'default': Contact
|
|
7608
7640
|
});
|
|
@@ -8079,7 +8111,7 @@ function CoursePromotionPage$1({
|
|
|
8079
8111
|
}))));
|
|
8080
8112
|
}
|
|
8081
8113
|
|
|
8082
|
-
var index$
|
|
8114
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
8083
8115
|
__proto__: null,
|
|
8084
8116
|
'default': CoursePromotionPage$1
|
|
8085
8117
|
});
|
|
@@ -8666,7 +8698,7 @@ function CoursePromotionPage({
|
|
|
8666
8698
|
}))));
|
|
8667
8699
|
}
|
|
8668
8700
|
|
|
8669
|
-
var index$
|
|
8701
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
8670
8702
|
__proto__: null,
|
|
8671
8703
|
'default': CoursePromotionPage
|
|
8672
8704
|
});
|
|
@@ -9029,7 +9061,7 @@ const FormPage = ({
|
|
|
9029
9061
|
})))));
|
|
9030
9062
|
};
|
|
9031
9063
|
|
|
9032
|
-
var index$
|
|
9064
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
9033
9065
|
__proto__: null,
|
|
9034
9066
|
'default': FormPage
|
|
9035
9067
|
});
|
|
@@ -9177,7 +9209,7 @@ function Tiles({
|
|
|
9177
9209
|
}, TileDiv)));
|
|
9178
9210
|
}
|
|
9179
9211
|
|
|
9180
|
-
var index$
|
|
9212
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
9181
9213
|
__proto__: null,
|
|
9182
9214
|
'default': Tiles
|
|
9183
9215
|
});
|
|
@@ -9650,11 +9682,379 @@ function EmailDripMarket({
|
|
|
9650
9682
|
})));
|
|
9651
9683
|
}
|
|
9652
9684
|
|
|
9653
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
9685
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
9654
9686
|
__proto__: null,
|
|
9655
9687
|
'default': EmailDripMarket
|
|
9656
9688
|
});
|
|
9657
9689
|
|
|
9690
|
+
const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
9691
|
+
aboutInstText: {
|
|
9692
|
+
alignSelf: 'center',
|
|
9693
|
+
color: 'var(--Black, #0A1629)',
|
|
9694
|
+
fontSize: '24px',
|
|
9695
|
+
fontWeight: '400',
|
|
9696
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9697
|
+
},
|
|
9698
|
+
metaChild: {
|
|
9699
|
+
fontSize: '16px',
|
|
9700
|
+
fontStyle: 'normal',
|
|
9701
|
+
fontWeight: '400',
|
|
9702
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9703
|
+
},
|
|
9704
|
+
aboutInstWrapper: {
|
|
9705
|
+
padding: '64px 128px',
|
|
9706
|
+
display: 'flex',
|
|
9707
|
+
justifyContent: 'center',
|
|
9708
|
+
flexDirection: 'column',
|
|
9709
|
+
background: '#FFF',
|
|
9710
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9711
|
+
},
|
|
9712
|
+
abtoutInstText: {
|
|
9713
|
+
color: theme?.palette?.font?.secondary,
|
|
9714
|
+
fontWeight: '400',
|
|
9715
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
9716
|
+
lineHeight: '20px',
|
|
9717
|
+
textAlign: 'center',
|
|
9718
|
+
textTransform: 'uppercase',
|
|
9719
|
+
wordBreak: 'break-word'
|
|
9720
|
+
},
|
|
9721
|
+
aboutInstHeader: {
|
|
9722
|
+
fontSize: theme.typography.fontSize.h2,
|
|
9723
|
+
color: theme?.palette?.font?.default,
|
|
9724
|
+
margin: '0px',
|
|
9725
|
+
marginBottom: '56px',
|
|
9726
|
+
textAlign: 'center'
|
|
9727
|
+
},
|
|
9728
|
+
imageContainer: {
|
|
9729
|
+
width: '240px',
|
|
9730
|
+
height: '240px',
|
|
9731
|
+
position: 'relative'
|
|
9732
|
+
// borderRadius: '16px',
|
|
9733
|
+
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
9734
|
+
},
|
|
9735
|
+
image: {
|
|
9736
|
+
width: '100%',
|
|
9737
|
+
height: '100%',
|
|
9738
|
+
borderRadius: '16px',
|
|
9739
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9740
|
+
},
|
|
9741
|
+
infoContainer: {
|
|
9742
|
+
padding: '24px',
|
|
9743
|
+
gap: '16px',
|
|
9744
|
+
display: 'flex',
|
|
9745
|
+
flexDirection: 'column',
|
|
9746
|
+
borderRadius: '16px',
|
|
9747
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
9748
|
+
flex: 1
|
|
9749
|
+
},
|
|
9750
|
+
metaInfo: {
|
|
9751
|
+
display: 'flex',
|
|
9752
|
+
gap: '24px',
|
|
9753
|
+
flexWrap: 'wrap'
|
|
9754
|
+
},
|
|
9755
|
+
metaInfoChild: {
|
|
9756
|
+
display: 'flex',
|
|
9757
|
+
justifyContent: 'center',
|
|
9758
|
+
alignItems: 'center',
|
|
9759
|
+
gap: '6px'
|
|
9760
|
+
},
|
|
9761
|
+
contentWrapper: {
|
|
9762
|
+
display: 'flex',
|
|
9763
|
+
gap: '24px',
|
|
9764
|
+
marginBottom: '24px'
|
|
9765
|
+
},
|
|
9766
|
+
cardWrapper: {
|
|
9767
|
+
// display: 'flex',
|
|
9768
|
+
// width: '100%',
|
|
9769
|
+
// gap: '24px'
|
|
9770
|
+
display: 'flex',
|
|
9771
|
+
gap: '24px',
|
|
9772
|
+
flex: 1,
|
|
9773
|
+
lineHeight: 'normal'
|
|
9774
|
+
},
|
|
9775
|
+
card: {
|
|
9776
|
+
padding: '24px',
|
|
9777
|
+
display: 'flex',
|
|
9778
|
+
justifyContent: 'space-between',
|
|
9779
|
+
alignItems: 'center',
|
|
9780
|
+
borderRadius: '16px',
|
|
9781
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
9782
|
+
flexGrow: 1
|
|
9783
|
+
},
|
|
9784
|
+
cardDesc: {
|
|
9785
|
+
display: 'flex',
|
|
9786
|
+
flexDirection: 'column'
|
|
9787
|
+
},
|
|
9788
|
+
infoDetails: {
|
|
9789
|
+
display: 'flex',
|
|
9790
|
+
flexDirection: 'Column',
|
|
9791
|
+
gap: '10px',
|
|
9792
|
+
lineHeight: 'normal'
|
|
9793
|
+
},
|
|
9794
|
+
infoContent: {
|
|
9795
|
+
display: 'flex',
|
|
9796
|
+
flexDirection: 'Column',
|
|
9797
|
+
gap: '8px'
|
|
9798
|
+
},
|
|
9799
|
+
instHeading: {
|
|
9800
|
+
color: 'var(--Black, #0A1629)',
|
|
9801
|
+
fontSize: '32px',
|
|
9802
|
+
fontStyle: 'normal',
|
|
9803
|
+
fontWeight: '600'
|
|
9804
|
+
},
|
|
9805
|
+
aboutText: {
|
|
9806
|
+
fontSize: '24px',
|
|
9807
|
+
fontStyle: 'normal',
|
|
9808
|
+
fontWeight: '600'
|
|
9809
|
+
},
|
|
9810
|
+
instAbout: {
|
|
9811
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
9812
|
+
lineHeight: '22px',
|
|
9813
|
+
fontSize: '14px',
|
|
9814
|
+
fontStyle: 'normal',
|
|
9815
|
+
fontWeight: '400',
|
|
9816
|
+
wordBreak: 'break-word'
|
|
9817
|
+
},
|
|
9818
|
+
highlightText: {
|
|
9819
|
+
color: 'var(--Black, #0A1629)',
|
|
9820
|
+
fontSize: '24px',
|
|
9821
|
+
fontStyle: 'normal',
|
|
9822
|
+
fontWeight: '600',
|
|
9823
|
+
wordBreak: 'break-word'
|
|
9824
|
+
},
|
|
9825
|
+
highlightHeading: {
|
|
9826
|
+
fontSize: '16px',
|
|
9827
|
+
fontStyle: 'normal',
|
|
9828
|
+
fontWeight: '400'
|
|
9829
|
+
},
|
|
9830
|
+
// SMALL SCREEN
|
|
9831
|
+
'@media screen and (max-width: 767px)': {
|
|
9832
|
+
aboutInstText: {
|
|
9833
|
+
fontSize: '16px'
|
|
9834
|
+
},
|
|
9835
|
+
imageContainer: {
|
|
9836
|
+
height: '150px',
|
|
9837
|
+
width: '150px'
|
|
9838
|
+
},
|
|
9839
|
+
image: {
|
|
9840
|
+
borderRadius: '10px',
|
|
9841
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9842
|
+
},
|
|
9843
|
+
infoContainer: {
|
|
9844
|
+
gap: '16px'
|
|
9845
|
+
},
|
|
9846
|
+
instHeading: {
|
|
9847
|
+
fontSize: '24px'
|
|
9848
|
+
},
|
|
9849
|
+
cardWrapper: {
|
|
9850
|
+
flexDirection: 'column',
|
|
9851
|
+
gap: '8px',
|
|
9852
|
+
lineHeight: 'normal'
|
|
9853
|
+
},
|
|
9854
|
+
aboutInstWrapper: {
|
|
9855
|
+
padding: '16px'
|
|
9856
|
+
},
|
|
9857
|
+
aboutInstHeader: {
|
|
9858
|
+
color: theme?.palette?.font?.default,
|
|
9859
|
+
margin: '0px 0 24px 0',
|
|
9860
|
+
textAlign: 'center',
|
|
9861
|
+
fontSize: '20px'
|
|
9862
|
+
},
|
|
9863
|
+
contentWrapper: {
|
|
9864
|
+
gap: '8px'
|
|
9865
|
+
},
|
|
9866
|
+
card: {
|
|
9867
|
+
padding: '16px'
|
|
9868
|
+
},
|
|
9869
|
+
infoDetails: {
|
|
9870
|
+
gap: '8px',
|
|
9871
|
+
lineHeight: 'normal'
|
|
9872
|
+
},
|
|
9873
|
+
metaInfo: {
|
|
9874
|
+
gap: '8px'
|
|
9875
|
+
},
|
|
9876
|
+
infoContent: {
|
|
9877
|
+
gap: '8px'
|
|
9878
|
+
},
|
|
9879
|
+
metaChild: {
|
|
9880
|
+
fontSize: '12px'
|
|
9881
|
+
},
|
|
9882
|
+
aboutText: {
|
|
9883
|
+
fontSize: '16px'
|
|
9884
|
+
},
|
|
9885
|
+
instAbout: {
|
|
9886
|
+
fontSize: '12px'
|
|
9887
|
+
},
|
|
9888
|
+
highlightText: {
|
|
9889
|
+
fontSize: '16px'
|
|
9890
|
+
},
|
|
9891
|
+
highlightHeading: {
|
|
9892
|
+
fontSize: '12px'
|
|
9893
|
+
}
|
|
9894
|
+
}
|
|
9895
|
+
}));
|
|
9896
|
+
|
|
9897
|
+
function ABOUT_INSTITUTE({
|
|
9898
|
+
sectionData,
|
|
9899
|
+
sectionIndex
|
|
9900
|
+
}) {
|
|
9901
|
+
const {
|
|
9902
|
+
layout: {
|
|
9903
|
+
containerWidth
|
|
9904
|
+
},
|
|
9905
|
+
isMobile
|
|
9906
|
+
} = React.useContext(PageContext);
|
|
9907
|
+
const classes = useAboutInstituteStyles({
|
|
9908
|
+
containerWidth,
|
|
9909
|
+
isMobile
|
|
9910
|
+
});
|
|
9911
|
+
const [nodeData] = sectionData?.components;
|
|
9912
|
+
const [highlightNodeData] = nodeData?.highlight?.components;
|
|
9913
|
+
const theme = useTheme();
|
|
9914
|
+
const ImageJSX = () => {
|
|
9915
|
+
if (!nodeData?.image?.metadata?.value) {
|
|
9916
|
+
return null;
|
|
9917
|
+
}
|
|
9918
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9919
|
+
className: classes.imageContainer
|
|
9920
|
+
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
9921
|
+
className: classes.image,
|
|
9922
|
+
alt: "logo",
|
|
9923
|
+
src: nodeData?.image?.metadata?.value
|
|
9924
|
+
}));
|
|
9925
|
+
};
|
|
9926
|
+
const ContentJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9927
|
+
className: classes.infoContainer
|
|
9928
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9929
|
+
className: classes.infoDetails
|
|
9930
|
+
}, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9931
|
+
className: classes.instHeading,
|
|
9932
|
+
ref: nodeData?.instName?.refSetter,
|
|
9933
|
+
dangerouslySetInnerHTML: {
|
|
9934
|
+
__html: nodeData?.instName?.metadata?.value
|
|
9935
|
+
}
|
|
9936
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9937
|
+
className: classes.metaInfo
|
|
9938
|
+
}, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9939
|
+
className: classes.metaInfoChild
|
|
9940
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9941
|
+
name: 'BookSaved',
|
|
9942
|
+
color: theme.palette.font.primary,
|
|
9943
|
+
width: '20px',
|
|
9944
|
+
height: '20px'
|
|
9945
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9946
|
+
className: classes.metaChild,
|
|
9947
|
+
ref: nodeData?.spec?.refSetter,
|
|
9948
|
+
dangerouslySetInnerHTML: {
|
|
9949
|
+
__html: nodeData?.spec?.metadata?.value
|
|
9950
|
+
}
|
|
9951
|
+
})) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9952
|
+
className: classes.metaInfoChild
|
|
9953
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9954
|
+
name: 'Teacher',
|
|
9955
|
+
color: theme.palette.font.primary,
|
|
9956
|
+
width: '20px',
|
|
9957
|
+
height: '20px'
|
|
9958
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9959
|
+
className: classes.metaChild,
|
|
9960
|
+
ref: nodeData?.qual?.refSetter,
|
|
9961
|
+
dangerouslySetInnerHTML: {
|
|
9962
|
+
__html: nodeData?.qual?.metadata?.value
|
|
9963
|
+
}
|
|
9964
|
+
})) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9965
|
+
className: classes.metaInfoChild
|
|
9966
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9967
|
+
name: 'Medal',
|
|
9968
|
+
color: theme.palette.font.primary,
|
|
9969
|
+
width: '20px',
|
|
9970
|
+
height: '20px'
|
|
9971
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9972
|
+
className: classes.metaChild,
|
|
9973
|
+
ref: nodeData?.exp?.refSetter,
|
|
9974
|
+
dangerouslySetInnerHTML: {
|
|
9975
|
+
__html: nodeData?.exp?.metadata?.value
|
|
9976
|
+
}
|
|
9977
|
+
})) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9978
|
+
className: classes.infoContent
|
|
9979
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9980
|
+
className: classes.aboutText
|
|
9981
|
+
}, "About"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9982
|
+
className: classes.instAbout,
|
|
9983
|
+
ref: nodeData?.content?.refSetter,
|
|
9984
|
+
dangerouslySetInnerHTML: {
|
|
9985
|
+
__html: nodeData?.content?.metadata?.value
|
|
9986
|
+
}
|
|
9987
|
+
})) : null);
|
|
9988
|
+
const HighlightJSX = () => {
|
|
9989
|
+
if (!nodeData?.highlight?.metadata?.value) {
|
|
9990
|
+
return null;
|
|
9991
|
+
}
|
|
9992
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9993
|
+
className: classes.cardWrapper
|
|
9994
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9995
|
+
className: classes.card
|
|
9996
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9997
|
+
className: classes.cardDesc
|
|
9998
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9999
|
+
className: classes.highlightText,
|
|
10000
|
+
ref: highlightNodeData?.courses?.refSetter,
|
|
10001
|
+
dangerouslySetInnerHTML: {
|
|
10002
|
+
__html: highlightNodeData?.courses?.metadata?.value
|
|
10003
|
+
}
|
|
10004
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10005
|
+
className: classes.highlightHeading
|
|
10006
|
+
}, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
10007
|
+
name: 'BookSaved',
|
|
10008
|
+
color: theme.palette.font.primary,
|
|
10009
|
+
width: '32px',
|
|
10010
|
+
height: '32px'
|
|
10011
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10012
|
+
className: classes.card
|
|
10013
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10014
|
+
className: classes.cardDesc
|
|
10015
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10016
|
+
className: classes.highlightText,
|
|
10017
|
+
ref: highlightNodeData?.students?.refSetter,
|
|
10018
|
+
dangerouslySetInnerHTML: {
|
|
10019
|
+
__html: highlightNodeData?.students?.metadata?.value
|
|
10020
|
+
}
|
|
10021
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10022
|
+
className: classes.highlightHeading
|
|
10023
|
+
}, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
10024
|
+
name: 'GroupProfile',
|
|
10025
|
+
color: theme.palette.font.primary,
|
|
10026
|
+
width: '32px',
|
|
10027
|
+
height: '32px'
|
|
10028
|
+
})));
|
|
10029
|
+
};
|
|
10030
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10031
|
+
className: classes.aboutInstWrapper
|
|
10032
|
+
}, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10033
|
+
className: classes.aboutInstText
|
|
10034
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10035
|
+
ref: nodeData?.heading?.refSetter,
|
|
10036
|
+
dangerouslySetInnerHTML: {
|
|
10037
|
+
__html: nodeData?.heading?.metadata?.value
|
|
10038
|
+
}
|
|
10039
|
+
})) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
10040
|
+
className: classes.aboutInstHeader
|
|
10041
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10042
|
+
ref: nodeData?.title?.refSetter,
|
|
10043
|
+
dangerouslySetInnerHTML: {
|
|
10044
|
+
__html: nodeData?.title?.metadata?.value
|
|
10045
|
+
}
|
|
10046
|
+
})) : null, isMobile ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10047
|
+
className: classes.contentWrapper
|
|
10048
|
+
}, /*#__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", {
|
|
10049
|
+
className: classes.contentWrapper
|
|
10050
|
+
}, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)));
|
|
10051
|
+
}
|
|
10052
|
+
|
|
10053
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
10054
|
+
__proto__: null,
|
|
10055
|
+
'default': ABOUT_INSTITUTE
|
|
10056
|
+
});
|
|
10057
|
+
|
|
9658
10058
|
const TYPE_TO_COMPONENT_MAP = {
|
|
9659
10059
|
BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
|
|
9660
10060
|
GRID_CARD: List,
|
|
@@ -9677,7 +10077,8 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
9677
10077
|
COURSE_LANDING_PAGE: CoursePromotionPage,
|
|
9678
10078
|
FORM_LANDING_PAGE: FormPage,
|
|
9679
10079
|
TILES_SECTION: Tiles,
|
|
9680
|
-
EMAIL_DRIP_MARKET: EmailDripMarket
|
|
10080
|
+
EMAIL_DRIP_MARKET: EmailDripMarket,
|
|
10081
|
+
ABOUT_INSTITUTE
|
|
9681
10082
|
};
|
|
9682
10083
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
9683
10084
|
const MemoisedSection = /*#__PURE__*/React.memo(({
|