(self.webpackChunkspayee_micro_frontend=self.webpackChunkspayee_micro_frontend||[]).push([[9608],{446:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/adminAccount6_59096c91392e1b2b4aab.png"},457:function(e,t,a){"use strict";a.d(t,{By:function(){return d},ac:function(){return c},h9:function(){return E},k7:function(){return u},vg:function(){return s}});var n=a(3406),r=a(72635);const l=[{uuid:"asset-type-text",label:(0,r.t)("ASSETLIBRARY:TEXT"),value:"article"},{uuid:"asset-type-file",label:(0,r.t)("ASSETLIBRARY:FILE"),value:"file"},{uuid:"asset-type-link",label:(0,r.t)("ASSETLIBRARY:LINK"),value:"link"},{uuid:"asset-type-pdf",label:(0,r.t)("ASSETLIBRARY:PDF"),value:"pdf"},{uuid:"asset-type-form",label:(0,r.t)("ASSETLIBRARY:FORM"),value:"form"},{uuid:"asset-type-video",label:(0,r.t)("ASSETLIBRARY:VIDEO"),value:"video"},{uuid:"asset-type-assessment",label:(0,r.t)("ASSETLIBRARY:QUIZ"),value:"assessment"},{uuid:"asset-type-audio",label:(0,r.t)("ASSETLIBRARY:AUDIO"),value:"audio"},{uuid:"asset-type-live-test",label:(0,r.t)("ASSETLIBRARY:LIVE_TEST"),value:"livetest"},{uuid:"asset-type-live-class",label:(0,r.t)("ASSETLIBRARY:LIVE_CLASS"),value:"liveclass"},{uuid:"asset-type-assignment",label:(0,r.t)("ASSETLIBRARY:ASSIGNMENT"),value:"assignment"},{uuid:"asset-type-scorm",label:(0,r.t)("ASSETLIBRARY:SCORM"),value:"scorm"}],s=[{uuid:"date-modified-select",label:(0,r.t)("ASSETLIBRARY:ON"),type:n.a.SELECT,list:[{label:(0,r.t)("ASSETLIBRARY:AFTER")},{label:(0,r.t)("ASSETLIBRARY:BEFORE")},{label:(0,r.t)("ASSETLIBRARY:BETWEEN")},{label:(0,r.t)("ASSETLIBRARY:ON")}]},{uuid:"date-modified-date",label:(0,r.t)("ASSETLIBRARY:DATE"),type:n.a.DATE}],i=[{uuid:"video-type-link",label:(0,r.t)("ASSETLIBRARY:LINK"),value:"link"},{uuid:"video-type-youtube",label:(0,r.t)("ASSETLIBRARY:YOUTUBE"),value:"youtube"},{uuid:"video-type-vimeo",label:(0,r.t)("ASSETLIBRARY:VIMEO"),value:"vimeo"},{uuid:"video-type-sproutvideo",label:(0,r.t)("ASSETLIBRARY:SPROUTVIDEO"),value:"sproutvideo"},{uuid:"video-type-embedCode",label:(0,r.t)("ASSETLIBRARY:EMBED_CODE"),value:"embedCode"},{uuid:"video-type-secured",label:(0,r.t)("ASSETLIBRARY:SECURED"),value:"upload"}],o=[{uuid:"upload-status-under-process",label:(0,r.t)("ASSETLIBRARY:UNDER_PROCESS"),value:!0},{uuid:"upload-status-completed",label:(0,r.t)("ASSETLIBRARY:COMPLETED"),value:!1}],c=[{label:(0,r.t)("ASSETLIBRARY:COURSE"),list:[],type:n.a.MULTI_SELECT,search:!0,apiKey:"from.courseIds",multiple:!0,operator:n.we.IN},{label:(0,r.t)("ASSETLIBRARY:WEBINAR"),list:[],type:n.a.MULTI_SELECT,search:!0,apiKey:"from.live-sessions",multiple:!0,operator:n.we.IN,searchInputType:"livesessions"},{label:(0,r.t)("ASSETLIBRARY:ASSET_TYPE"),list:l,type:n.a.MULTI_SELECT,apiKey:"spayee:resource.spayee:courseAssetType",multiple:!1,operator:n.we.IN},{label:(0,r.t)("ASSETLIBRARY:DATE_MODIFIED"),type:n.a.DATE,list:s,apiKey:"modifiedDate",multiple:!1,operator:n.we.AFTER},{label:(0,r.t)("ASSETLIBRARY:DATE_CREATED"),type:n.a.DATE,list:s,apiKey:"createdDate",multiple:!1,operator:n.we.AFTER},{label:(0,r.t)("ASSETLIBRARY:TAGS"),type:n.a.MULTI_SELECT,search:!0,list:[],apiKey:"spayee:resource.spayee:tags",multiple:!0,operator:n.we.IN},{label:(0,r.t)("ASSETLIBRARY:VIDEO_TYPE"),type:n.a.MULTI_SELECT,list:i,apiKey:"spayee:resource.spayee:type",multiple:!1,operator:n.we.IN},{label:(0,r.t)("ASSETLIBRARY:PROCESSING_STATUS"),type:n.a.MULTI_SELECT,list:o,apiKey:"spayee:resource.spayee:underProcess",multiple:!1,operator:n.we.IN},{label:(0,r.t)("ASSETLIBRARY:ASSET_ID"),type:n.a.TEXT,apiKey:"assetId",multiple:!1,operator:n.we.IN,placeholder:(0,r.t)("ASSETLIBRARY:ASSET_ID")}],E="asset-type-video",d="assetId",u=[{label:(0,r.t)("Used for training"),type:n.a.MULTI_SELECT,list:[{uuid:"used-for-training",label:"Used for training",value:!0},{uuid:"not-used-for-training",label:"Not used for training",value:!1}],apiKey:"usedForTraining",multiple:!1,operator:n.we.IN}]},589:function(e,t,a){"use strict";a.d(t,{P:function(){return n}});const n=a(69833)},608:function(e,t,a){"use strict";var n=a(16128);const r={get:({id:e})=>new Promise((async(t,a)=>{try{t((await n.F.feature.telegramCommunity.get({id:e})).data)}catch(e){a(e)}})),verifybotAdded:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.telegramCommunity.verifybotAdded()).data)}catch(e){t(e)}})),getAllTelegramCommuities:({sortBy:e,sortDirection:t,pageNum:a,userId:r,filters:l,pageLength:s,query:i,scroll:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.telegramCommunity.getAllTelegramCommunities({pageLength:s,pageNum:a,filters:l,sortBy:e,sortDirection:t,userId:r,query:i,scroll:o});c({communities:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}})),getOverview:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.telegramCommunity.getOverview()).data)}catch(e){t(e)}})),update:(e,t)=>new Promise((async(a,r)=>{try{const r=new FormData;t.entities?.forEach(((e,t)=>{r.append(`entities[${t}]`,e)})),t.title&&r.append("title",t.title),t.description&&r.append("description",t.description),r.append("isPaid",t.isPaid?"true":"false"),t.coverImg?.file?r.append("coverImg",t.coverImg.file):t.coverImage&&r.append("coverImage",t.coverImage),t.currency&&r.append("currency",t.currency),t.faq?.forEach(((e,t)=>{r.append(`faq[${t}].question`,e.question),r.append(`faq[${t}].answer`,e.answer)})),t.pricings?.forEach(((e,t)=>{r.append(`pricings[${t}].enabled`,e.enabled),r.append(`pricings[${t}].mrp`,e.mrp),r.append(`pricings[${t}].price`,e.price),r.append(`pricings[${t}].isSubscription`,e.isSubscription),r.append(`pricings[${t}].subscriptionRecurPeriod`,e.subscriptionRecurPeriod),r.append(`pricings[${t}].subscriptionInterval`,e.subscriptionInterval)})),r.append("pgChargesLearner",t.pgChargesLearner?"true":"false"),a((await n.F.feature.telegramCommunity.update(e,r)).data)}catch(e){r(e)}})),delete:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.telegramCommunity.delete(e)).data)}catch(e){a(e)}})),create:e=>new Promise((async(t,a)=>{try{const a=new FormData;a.append("communityType",e.communityType),a.append("title",e.title),a.append("description",e.description),a.append("isPaid",e.isPaid?"true":"false"),e.coverImg?.file&&a.append("coverImg",e.coverImg.file),e.coverImage&&a.append("coverImage",e.coverImage),e.currency&&a.append("currency",e.currency),e.faq.forEach(((e,t)=>{a.append(`faq[${t}].question`,e.question),a.append(`faq[${t}].answer`,e.answer)})),e.pricings.forEach(((e,t)=>{a.append(`pricings[${t}].enabled`,e.enabled),a.append(`pricings[${t}].mrp`,e.mrp),a.append(`pricings[${t}].price`,e.price),a.append(`pricings[${t}].isSubscription`,e.isSubscription),a.append(`pricings[${t}].subscriptionRecurPeriod`,e.subscriptionRecurPeriod),a.append(`pricings[${t}].subscriptionInterval`,e.subscriptionInterval)})),a.append("pgChargesLearner",e.pgChargesLearner?"true":"false"),t((await n.F.feature.telegramCommunity.create(a)).data)}catch(e){a(e)}})),createPackage:e=>new Promise((async(t,a)=>{try{const a=new FormData;e.entities?.forEach(((e,t)=>{a.append(`entities[${t}]`,e)})),t((await n.F.feature.telegramCommunity.createPackage(a)).data)}catch(e){a(e)}})),getInviteLink:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.telegramCommunity.getInviteLink(e)).data)}catch(e){a(e)}})),getCommunitySuggestions:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.telegramCommunity.getCommunitySuggest(e)).data)}catch(e){a(e)}})),getAllEntities:({sortBy:e,sortDirection:t,pageNum:a,userId:r,filters:l,pageLength:s,query:i,scroll:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.telegramCommunity.getAllEntities({pageLength:s,pageNum:a,filters:l,sortBy:e,sortDirection:t,userId:r,query:i,scroll:o});c({communities:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}}))};t.A=r},976:function(e,t,a){"use strict";a.d(t,{_:function(){return s}});var n=a(16128),r=a(27893),l=a(77399);const s={liveSessionSuggestions:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.sessionSuggestions(e)).data)}catch(e){a(e)}})),learnersLiveSessionJoin:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.learnersLivesessionJoin(e)).data)}catch(e){a(e)}})),sessionPageSuggestions:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.sessionPageSuggestions(e)).data)}catch(e){a(e)}})),downloadSessionInfo:(e,t)=>new Promise((async(a,r)=>{try{a((await n.F.feature.liveSessions.downloadSessionInfo(e,t)).data)}catch(e){r(e)}})),getAllLiveSessions:({sortBy:e,sortDirection:t,pageNum:a,userId:r,filters:l,pageLength:s,query:i,scroll:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.liveSessions.getAllSessions({pageLength:s,pageNum:a,filters:l,sortBy:e,sortDirection:t,userId:r,query:i,scroll:o});c({liveSessions:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}})),getLearnerLiveSessions:({sortBy:e,sortDirection:t,pageNum:a,userId:r,filters:l,pageLength:s,query:i,scroll:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.liveSessions.getLearnerLiveSessions({pageLength:s,pageNum:a,filters:l,sortBy:e,sortDirection:t,userId:r,query:i,scroll:o});c({liveSessions:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}})),getSessionPage:({sortBy:e,sortDirection:t,pageNum:a,userId:r,filters:l,pageLength:s,query:i,sessionId:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.liveSessions.getSessionPageTable({pageLength:s,pageNum:a,filters:l,sortBy:e,sortDirection:t,userId:r,query:i,sessionId:o});c({liveSessions:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}})),deleteSession:({notify:e,id:t})=>new Promise((async(a,r)=>{try{a(await n.F.feature.liveSessions.deleteSession({notify:e,id:t}))}catch(e){r(e)}})),startSession:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.startSession(e)).data.url)}catch(e){a(e)}})),getSessionOverview:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.sessionOverview(e)).data)}catch(e){l.oR.error((0,r.U)(e)),a(e)}})),otpLogin:e=>new Promise((async(t,a)=>{try{t((await n.F.account.otpLogin(e)).data.response)}catch(e){l.oR.error((0,r.U)(e)),a(e)}})),otpVerification:e=>new Promise((async(t,a)=>{try{t((await n.F.account.otpVerification(e)).data.response)}catch(e){l.oR.error((0,r.U)(e)),a(e)}})),liveSessionRegistration:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.liveSessions.liveSessionRegistration(e)).data)}catch(e){l.oR.error((0,r.U)(e)),a(e)}})),getAllSessionsPublic:({sortBy:e,sortDirection:t,pageNum:a,filters:r,pageLength:l,query:s,scroll:i,orgId:o})=>new Promise((async(c,E)=>{try{e||(e="createdDate"),null==t&&(t=-1);const E=await n.F.feature.liveSessions.getAllSessionsPublic({pageLength:l,pageNum:a,filters:r,sortBy:e,sortDirection:t,query:s,scroll:i,orgId:o});c({liveSessions:E.data.data,count:E.data.total,hasMore:E.data.hasMore})}catch(e){E(e)}})),checkout:(e,t)=>new Promise((async(a,r)=>{try{a((await n.F.feature.liveSessions.checkout(e,t)).data)}catch(e){r(e)}}))}},1229:function(e,t,a){"use strict";a.d(t,{A:function(){return g}});var n=a(49456),r=a(96614),l=a(42496),s=a(31387),i=a(7833);var o=a(11090),c=a(76740),E=a(11889),d=a(6305),u=a(96540);const m=({searchedResult:e,inputValue:t,onSearchedAssetSelected:a})=>u.createElement(u.Fragment,null,e?.map((e=>{let n=t?e.title.toLowerCase().replace(`${t}`,`${t.toLowerCase()}`):`${e.title.toLowerCase()}`;return u.createElement(s.A,{key:e.id,className:"py-3 px-4 cursor-pointer hover:bg-selection01 capitalize",onClick:()=>a(e)},u.createElement("span",{dangerouslySetInnerHTML:{__html:n}}))})));m.displayName="SearchInputSearchedList";var p=m,A=a(31163),S=a(19273),_=a(75113),C=a(10204);const I=({searchedResult:e,onSearchedAssetSelected:t})=>u.createElement(u.Fragment,null,e?.map((e=>u.createElement("div",{className:"flex py-3 px-4 cursor-pointer hover:bg-selection01",key:e.id,onClick:()=>t(e)},u.createElement("div",{className:"mr-3"},u.createElement(C.A,{width:"w-9",height:"h-9",showName:!1,name:`${e.fname??e.name}`,userId:e.id,profilePicVersion:e.profilePicVersion,showRoundedImages:!1})),u.createElement("div",null,u.createElement(s.A,{className:"mb-1 capitalize"},e.fname??e.name," ","no"===e.isActive?u.createElement("span",{className:"text-errorDark"},"(",S.m.DEACTIVATED,")"):""),u.createElement(s.A,{size:A.p.CAPTION,color:"text-darkSlate02",className:"flex items-center"},u.createElement("span",null,(0,_.hS)(e.email)),Boolean(e.phone||e.mobile)&&u.createElement("i",{className:"w-1 h-1 inline-block bg-darkSlate02 rounded-full mx-2"}),u.createElement("span",null,e.phone??e.mobile)))))));I.displayName="SearchedUsersList";var T=I;const N=({type:e,value:t,placeholder:a,hasInputBorder:m,noPadding:A,className:S,hasBorder:_,showReset:C,standAlone:I,inputClassName:N,resetClassName:g,containerClassName:R,placeholderLight:f,showNoResultFound:h,searchAPIInputKey:L="query",maxHeight:O,sendAmplitudeEvent:b,isListTop:D,isForm:y,showIcon:M,searchAPI:v,searchParams:P,closeClassName:w,onSelected:x,submitCallback:U,onChange:F,onClear:B,showSearchResults:G,onResetClick:k,searchedResultCallback:H,countryCode:V,classname:Y,customCrossButton:W,hideCross:$=!1})=>{const j=(0,o.A)((e=>e.cache)),K=(0,o.A)((e=>e.setCache)),[X,z]=u.useState(!1),[Z,Q]=u.useState([]),[q,J]=u.useState(!1),[ee,te]=u.useState(),[ae,ne]=u.useState(),[re,le]=u.useState(),se=(0,i.A)(ae,500),ie=u.useRef(null);u.useEffect((()=>{se?ce(se):(Q([]),te([]),H&&H([]))}),[se]);const oe=async e=>await(0,E.yR)({api:v||(()=>{}),params:e,cache:j,setCache:K}),ce=u.useCallback((async t=>{if(v){const a={...P,countryCode:V,[L]:t};let n;if(b&&b(t),e===c.V.ASSET?(n=await oe(a),ie.current?.focus&&Q(n)):e===c.V.LIVESESSION?(n=await oe(a),ie.current?.focus&&Q(n.data)):e===c.V.TELEGRAM_COMMUNITIES?(n=await oe(a.query),ie.current?.focus&&Q(n.data)):e===c.V.EMAIL_CAMPAIGNS?(n=await oe(a.query),ie.current?.focus&&Q(n)):(n=await oe(a),ie.current?.focus&&te(n.data)),0===n?.data?.length&&J(!0),H){const e=0===n.length||0===n?.data?.length?[{id:"empty"}]:n;H(e)}}}),[P,H,V]),Ee=u.useMemo((()=>_?X?" border border-primary":" border border-slate":""),[X,X]),de=e=>{Q([]),te([]),ne(""),le({...e}),x&&x(e)},ue=()=>{I&&z(!0)},me=()=>{I&&z(!1)},pe=u.useCallback((()=>{ne(""),B&&B(),ie.current?.focus()}),[]),Ae=u.useCallback((e=>{e.preventDefault(),void 0!==ae&&(le({id:`${ae}`,title:`${ae}`}),U?U(Z,ae):x&&x({title:ae}),Q([]),te([]),ne(""),z(!1))}),[ae,U,Z]),Se=()=>u.createElement(r.A,{ref:ie,value:t||ae,onChange:e=>(e=>{ne(e),J(!1),F&&F(e)})(e),onFocus:ue,onBlur:me,noBorder:!m,noPadding:A,className:N,placeholderLight:f,containerMargin:"m-0",containerClassName:`border-none ${R}`,type:l.nl.TEXT,placeholder:a}),_e=u.useCallback((()=>{const t="user"===e?ee:Z;return(Z?.length||ee?.length)&&G?u.createElement("div",{className:`absolute py-2 shadow-elevationLow ${D?"bottom-16":"top-[3.25rem]"} w-full bg-white z-10 ${O} overflow-auto`},e===c.V.ASSET||e===c.V.LIVESESSION||e===c.V.TELEGRAM_COMMUNITIES||e===c.V.EMAIL_CAMPAIGNS?u.createElement(p,{searchedResult:t,inputValue:ae,onSearchedAssetSelected:de}):u.createElement(T,{searchedResult:t,onSearchedAssetSelected:de})):null}),[Z,ee,G]);return u.createElement(u.Fragment,null,u.createElement("div",{className:`flex-center relative h-full w-full ${Y} rounded-[12px] ${X?"shadow-elevationPrimary":""} ${S}${_?Ee:""} ${Boolean(re?.id&&C)?"bg-slate05":""}`},M&&(0,d.s)(n.MjD,"text-slateDark02"),"boolean"==typeof $?W?Boolean(t?.trim())&&!$&&!re?.id&&u.createElement("div",{className:w,onClick:pe},(0,d.s)(n.GRI)):Boolean(void 0===re&&ae&&""!==ae?.trim()&&!$)&&u.createElement("div",{className:w,onClick:pe},(0,d.s)(n.GRI)):W?Boolean(t?.trim())&&u.createElement("div",{className:w,onClick:pe},(0,d.s)(n.GRI)):Boolean(void 0===re&&ae&&""!==ae?.trim())&&u.createElement("div",{className:w,onClick:pe},(0,d.s)(n.GRI)),_e(),Boolean(re?.id&&C)?u.createElement("div",{className:"w-full p-[0.5rem] ml-2 flex items-center h-full"},u.createElement(s.A,{color:"text-slate03",className:"flex-grow"},re?.title??re?.fname??re?.name),u.createElement("div",null,u.createElement("div",{tabIndex:0,role:"button",className:`text-primary text-[1rem] font-semibold cursor-pointer ${g}`,onClick:()=>{le(void 0),k&&k()}},"Reset"))):y?u.createElement("form",{onSubmit:Ae,className:"w-full p-0 search-input"},Se()):Se(),Boolean(h&&q)&&u.createElement("div",{className:"absolute p-4 -bottom-14 w-full bg-white shadow-elevationLow"},u.createElement(s.A,{color:"text-slate03",className:"flex-grow"},"No result found"))))};N.defaultProps={hasBorder:!0,hasInputBorder:!1,noPadding:!1,className:"px-[0.5rem] py-[0.25rem]",resetClassName:"",inputClassName:"pl-[0.5rem]",containerClassName:"",placeholderLight:!1,showSearchResults:!0,standAlone:!0,showReset:!0,showIcon:!0,closeClassName:"absolute z-10 bg-white right-px top-px cursor-pointer h-[97%] p-4 flex-center",maxHeight:"max-h-96",isListTop:!1,isForm:!0,type:c.V.ASSET,value:"",showNoResultFound:!1},N.displayName="SearchInput";var g=N},1757:function(e,t,a){"use strict";a.d(t,{U:function(){return c},y:function(){return o}});var n=a(49456),r=a(29099),l=a(6305),s=a(72635),i=a(96540);const o={SAVING:"Saving",SAVED:"Changes saved",FAILED:"Failed to save",IDLE:"Idle"},c=({savingStatus:e,setSavingStatus:t,lastModifiedString:a})=>{const c=e===o.SAVING?(0,s.t)("SETTINGS:SAVING"):e===o.SAVED?(0,s.t)("SETTINGS:SAVED"):e===o.FAILED?(0,s.t)("SETTINGS:FAILED"):(0,s.t)("SETTINGS:IDLE");return i.createElement(i.Fragment,null,(()=>{let E;return e===o.SAVED||e===o.FAILED?E=setTimeout((()=>t(o.IDLE)),3e3):clearTimeout(E),e===o.SAVING?i.createElement(i.Fragment,null,i.createElement("p",{className:"text-caption mr-4"},c)," ",i.createElement(r.A,{size:16})):e===o.SAVED?i.createElement(i.Fragment,null,i.createElement("p",{className:"text-caption mr-4"},c)," ",(0,l.s)(n.e68,"text-black")):e===o.FAILED?i.createElement("p",{className:"text-caption"},c):i.createElement(i.Fragment,null,a&&i.createElement("p",{className:"text-caption"},(0,s.t)("SETTINGS:LAST_MODIFIED",{dateString:a})))})())}},2641:function(e,t,a){"use strict";a.d(t,{o:function(){return n},q:function(){return r}});const n=[1e4,2e4,5e4],r={WALLET_PLAN_DETAILS:"walletPlanDetails"}},2765:function(e,t,a){"use strict";a.d(t,{k:function(){return n}});let n=function(e){return e.SUCCESS="success",e.ERROR="error",e.DEFAULT="default",e}({})},2988:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/activeLearners50k_78b05c61820252113ae6.png"},3406:function(e,t,a){"use strict";a.d(t,{BQ:function(){return o},CS:function(){return l},_H:function(){return s},a:function(){return n},we:function(){return r},yb:function(){return i}});let n=function(e){return e.DATE="date",e.SELECT="select",e.MULTI_SELECT="multi-select",e.TEXT="text",e.TEXT_LIST="text-list",e.CHECKBOX="checkbox",e.SEARCH="search",e.CATEGORY_HEADING="category-heading",e.HORIZONTAL_RULE="horizontal-rule",e}({}),r=function(e){return e.IN="IN",e.NOT_IN="NOT_IN",e.EQUALS="EQUALS",e.EQUALS_IGNORE_CASE="EQUALS_IGNORE_CASE",e.NOT_EQUALS="NOT_EQUALS",e.AFTER="AFTER",e.BEFORE="BEFORE",e.DATE_EQUALS="DATE_EQUALS",e.DATE_RANGE="DATE_RANGE",e}({}),l=function(e){return e.EMAIL="email",e.PHONE="phone",e.PASSWORD="password",e.REQUIRED="required",e}({}),s=function(e){return e.STARTER="starter",e.LITE="LITE",e.BASIC="basic",e.PRO="pro",e.BUSINESS="business",e.ADVANCED="advanced",e.SME="sme",e.APPSUMO_SPAYEE_TIER1="appsumo_spayee_tier1",e.APPSUMO_SPAYEE_TIER2="appsumo_spayee_tier2",e.APPSUMO_SPAYEE_TIER3="appsumo_spayee_tier3",e.TRIAL="trial",e.LAUNCH="launch",e.RISE="rise",e.SCALE="scale",e.FREE="free",e.APPSUMO_MATCH_STRING="appsumo_",e}({}),i=function(e){return e.APPSUMO_TIER1="launch-yearly-appsumo",e.APPSUMO_TIER2="rise-yearly-appsumo",e.APPSUMO_TIER3="scale-yearly-appsumo",e.APPSUMO_TIER4="scale-yearly-2-appsumo",e}({});const o=[s.TRIAL,s.LAUNCH,s.RISE,s.SCALE,s.FREE]},3616:function(e,t,a){"use strict";a.d(t,{Bb:function(){return o},U$:function(){return c},UX:function(){return p},bM:function(){return s},df:function(){return d},eT:function(){return E},kb:function(){return m},tz:function(){return i},zo:function(){return u}});var n=a(66449),r=a(92728),l=a(72635);const s={"01":"Success",123456:"Initiated payment",REFUND:(0,l.t)("COMMON:STATUSES.REFUND"),NOT_LISTED:(0,l.t)("COMMON:STATUSES.NOT_LISTED"),COMPLETED:(0,l.t)("COMMON:STATUSES.COMPLETED"),UPDATING:(0,l.t)("COMMON:STATUSES.UPDATING"),FAILED:(0,l.t)("COMMON:STATUSES.FAILED"),EXPIRED:(0,l.t)("COMMON:STATUSES.EXPIRED"),IN_REVIEW:(0,l.t)("COMMON:STATUSES.IN_REVIEW"),LIVE:(0,l.t)("COMMON:STATUSES.LIVE"),REJECTED:(0,l.t)("COMMON:STATUSES.REJECTED"),VERIFYING:(0,l.t)("COMMON:STATUSES.VERIFYING"),UPLOADING:(0,l.t)("COMMON:STATUSES.UPLOADING"),RUNNING:(0,l.t)("COMMON:STATUSES.RUNNING"),QUEUED:(0,l.t)("COMMON:STATUSES.QUEUED"),UPLOADED:(0,l.t)("COMMON:STATUSES.UPLOADED"),PENDING:(0,l.t)("COMMON:STATUSES.PENDING"),ON_HOLD:(0,l.t)("COMMON:STATUSES.ON_HOLD")},i={YES:"yes_remove_access",NO:"no_dont_remove_access"},o={WAP:"Android",WEB:"Web",iOS:"iOS"},c={"7DAYS":{durationUnit:"days",durationPeriod:6},"30DAYS":{durationUnit:"days",durationPeriod:29},"90DAYS":{durationUnit:"days",durationPeriod:89},YEAR:{durationUnit:"days",durationPeriod:364},CUSTOM:{durationUnit:"year",durationPeriod:0}},E={graph:{data:[],labels:[]},total:0,percentageChange:0},d=e=>({borderColor:"#5361E9",label:e,fill:!0,backgroundColor:e=>(0,n.F)(e,"rgb(210, 214, 255,0)","rgb(210, 214, 255,1)")}),u={showXAxis:!0,showYAxis:!1,showXAxisLabels:!0,showYAxisLabels:!0,maintainAspectRatio:!1,responsive:!0,height:"h-[16.5rem]"},m={showXAxis:!1,showYAxis:!1,showXAxisLabels:!1,showYAxisLabels:!1,maintainAspectRatio:!1,responsive:!0,height:"h-9",tooltip:{showTooltip:!1}},p={...u,tooltip:{showTooltipBox:!1,tooltipLabelCb:e=>(0,r.hX)(e.parsed.y)?"0":e.parsed.y.toString()}}},3653:function(e,t,a){"use strict";var n=a(16128);const r={getChecklist:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.gettingStarted.checklist()).data)}catch(e){t(e)}})),getSchoolImage:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.gettingStarted.getSchoolImage()).data)}catch(e){t(e)}}))};t.A=r},3785:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/revSharePaymentGateways_406c94c86698c6ec9587.png"},3969:function(e,t,a){"use strict";a.d(t,{r:function(){return l}});var n=a(63032),r=a(14622);const l={getTemplateCategories:e=>new Promise((e=>{const t=[{id:"MARKETING",name:"Marketing",description:"Templates for marketing campaigns and promotions"},{id:"UTILITY",name:"Utility",description:"Templates for utility and service notifications"}];setTimeout((()=>{e(t)}),500)})),getLanguages:()=>new Promise((e=>{const t=[{code:"af",name:"Afrikaans"},{code:"sq",name:"Albanian"},{code:"ar",name:"Arabic"},{code:"az",name:"Azerbaijani"},{code:"bn",name:"Bengali"},{code:"bg",name:"Bulgarian"},{code:"ca",name:"Catalan"},{code:"zh_CN",name:"Chinese (CHN)"},{code:"zh_HK",name:"Chinese (HKG)"},{code:"zh_TW",name:"Chinese (TAI)"},{code:"hr",name:"Croatian"},{code:"cs",name:"Czech"},{code:"da",name:"Danish"},{code:"nl",name:"Dutch"},{code:"en",name:"English"},{code:"en_GB",name:"English (UK)"},{code:"en_US",name:"English (US)"},{code:"et",name:"Estonian"},{code:"fil",name:"Filipino"},{code:"fi",name:"Finnish"},{code:"fr",name:"French"},{code:"ka",name:"Georgian"},{code:"de",name:"German"},{code:"el",name:"Greek"},{code:"gu",name:"Gujarati"},{code:"ha",name:"Hausa"},{code:"he",name:"Hebrew"},{code:"hi",name:"Hindi"},{code:"hu",name:"Hungarian"},{code:"id",name:"Indonesian"},{code:"ga",name:"Irish"},{code:"it",name:"Italian"},{code:"ja",name:"Japanese"},{code:"kn",name:"Kannada"},{code:"kk",name:"Kazakh"},{code:"rw_RW",name:"Kinyarwanda"},{code:"ko",name:"Korean"},{code:"ky_KG",name:"Kyrgyz (Kyrgyzstan)"},{code:"lo",name:"Lao"},{code:"lv",name:"Latvian"},{code:"lt",name:"Lithuanian"},{code:"mk",name:"Macedonian"},{code:"ms",name:"Malay"},{code:"ml",name:"Malayalam"},{code:"mr",name:"Marathi"},{code:"nb",name:"Norwegian"},{code:"fa",name:"Persian"},{code:"pl",name:"Polish"},{code:"pt_BR",name:"Portuguese (BR)"},{code:"pt_PT",name:"Portuguese (POR)"},{code:"pa",name:"Punjabi"},{code:"ro",name:"Romanian"},{code:"ru",name:"Russian"},{code:"sr",name:"Serbian"},{code:"sk",name:"Slovak"},{code:"sl",name:"Slovenian"},{code:"es",name:"Spanish"},{code:"es_AR",name:"Spanish (ARG)"},{code:"es_ES",name:"Spanish (SPA)"},{code:"es_MX",name:"Spanish (MEX)"},{code:"sw",name:"Swahili"},{code:"sv",name:"Swedish"},{code:"ta",name:"Tamil"},{code:"te",name:"Telugu"},{code:"th",name:"Thai"},{code:"tr",name:"Turkish"},{code:"uk",name:"Ukrainian"},{code:"ur",name:"Urdu"},{code:"uz",name:"Uzbek"},{code:"vi",name:"Vietnamese"},{code:"zu",name:"Zulu"}];setTimeout((()=>{e(t)}),500)})),getTemplateTypes:()=>new Promise((e=>{const t=[{id:"text",type:"text"},{id:"image",type:"image"},{id:"video",type:"video"},{id:"document",type:"document"}];setTimeout((()=>{e(t)}),500)})),uploadMedia:e=>new Promise((t=>{const a=e.type.split("/")[0],n=e.name,r=e.size,l={title:n,url:URL.createObjectURL(e),type:"application"===a?"document":a,size:r};setTimeout((()=>{t(l)}),1e3)})),whiteLabel:async e=>{try{return(await n.L.whiteLabel(e)).data}catch(e){throw(0,r.uG)(e),new Error("Failed to fetch wallet usage results")}},whiteLabelFinalCheckout:async e=>{try{return(await n.L.whiteLabelFinalCheckout(e)).data}catch(e){throw(0,r.uG)(e),new Error("Failed to fetch wallet usage results")}},getWABAdetails:async e=>{try{return(await n.L.getWABAdetails(e)).data}catch(e){throw(0,r.uG)(e),new Error("Failed to fetch wallet usage results")}},makePhonePrimary:async e=>{try{return(await n.L.makePhonePrimary(e)).data}catch(e){throw(0,r.uG)(e),new Error("Failed to fetch wallet usage results")}},unlinkMetaAccount:async e=>{try{return(await n.L.unlinkMetaAccount(e)).data}catch(e){throw(0,r.uG)(e),new Error("Failed to unlink meta account")}},linkMetaAccount:async()=>{try{return(await n.L.linkMetaAccount()).data}catch(e){throw(0,r.uG)(e),new Error("Failed to link meta account")}}}},4251:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/success-icon_d25e8e9a4ccfd599ac1e.png"},4346:function(e,t,a){"use strict";a.d(t,{$:function(){return r},N:function(){return n}});let n=function(e){return e.FORWARD="forward",e.BACKWARD="backward",e}({}),r=function(e){return e.SIGNUP="signup",e.SIGNIN="signin",e}({})},5340:function(e,t,a){"use strict";a.d(t,{Y:function(){return r}});var n=a(14816);function r(...e){let t=t=>(...a)=>{e.forEach((e=>{(0,n.Tn)(e[t])&&e[t](...a)}))};return{onChange:t("onChange"),onFocus:t("onFocus"),onBlur:t("onBlur")}}},5377:function(e,t,a){"use strict";a.d(t,{MH:function(){return l},X_:function(){return r},Zx:function(){return i},be:function(){return s},j5:function(){return E},kf:function(){return d},wg:function(){return o},ye:function(){return c}});var n=a(72635);const r="spayee:resource.spayee:title",l="spayee:resource.spayee:filter1",s="spamDetected",i="https://help.graphy.com/support/solutions/articles/1060000119087-understanding-spam-and-phishing-emails",o={ASSET_LIBRARY:"https://help.graphy.com/support/solutions/articles/1060000142825-how-to-create-a-course-using-already-uploaded-content-",LEARNERS:"https://help.graphy.com/support/solutions/folders/1060000461138",ADMINS:"https://help.graphy.com/support/solutions/articles/1060000133384-how-to-set-up-a-super-admin-and-sub-admin-account-",INSTRUCTORS:"https://help.graphy.com/support/solutions/articles/1060000133400-how-to-create-assign-instructors-to-your-course-",AFFILIATES:"https://help.graphy.com/support/solutions/articles/1060000133401-how-to-add-new-affiliates-in-your-course-platform-",SUBSCRIBERS:"https://help.graphy.com/support/solutions/articles/1060000133408-how-to-view-contact-form-details-on-your-course-platform-",APP_BUILDER_BEFORE_LAUNCH:"https://help.graphy.com/support/solutions/folders/1060000458796",APP_BUILDER_AFTER_LAUNCH:"https://help.graphy.com/support/solutions/folders/1060000458796",APP_BUILDER_CONFIGURATIONS:"https://help.graphy.com/support/solutions/folders/1060000458796",BUILD_HISTORY:"",WEBHOOKS:"https://help.graphy.com/support/solutions/articles/1060000131907-how-to-integrate-webhooks-within-your-course-platform-",LOGS:"",REPORTS:"https://help.graphy.com/support/solutions/articles/1060000132277-reports",SETTLEMENTS:"",TRANSACTIONS:"",COURSES:"https://help.graphy.com/support/solutions/articles/1060000132411-how-to-create-a-course-"},c={ASSET_LIBRARY:(0,n.t)("ASSETLIBRARY:REUSE_COURSE_CONTENT"),LEARNERS:(0,n.t)("USER:LEARNERS_SUBTITLE"),ADMINS:(0,n.t)("USER:ADMINS_SUBTITLE"),INSTRUCTORS:(0,n.t)("USER:INSTRUCTORS_SUBTITLE"),AFFILIATES:(0,n.t)("USER:AFFILATORS_SUBTITLE"),SUBSCRIBERS:(0,n.t)("USER:SUBSCRIBER_SUBTITLE"),APP_BUILDER_CONFIGURATIONS:"WEBSITE:APP_BUILDER_CONFIGURATIONS",APP_BUILDER_BEFORE_LAUNCH:"WEBSITE:APP_BUILDER_BEFORE_LAUNCH",APP_BUILDER_AFTER_LAUNCH:"WEBSITE:APP_BUILDER_AFTER_LAUNCH",BUILD_HISTORY:"WEBSITE:BUILD_HISTORY",WEBHOOKS:"WEBSITE:WEBHOOKS",LOGS:"WEBSITE:LOGS",REPORTS:(0,n.t)("REPORT:INSIGHT_SALES_METRICS"),SETTLEMENTS:(0,n.t)("REPORT:TRACK_EARNINGS_STATUS"),TRANSACTIONS:(0,n.t)("REPORT:BREAKDOWN_EACH_SALE"),REFERRALS:(0,n.t)("REFERRAL:REFERRAL_SUBTITLE"),WEBSITE_PAGES:(0,n.t)("USER:WEBSITE_PAGES_SUBTITLE")},E={DEFAULT_GOOGLE_CLIENT_ID:"771122676243-cb11avd40vp8p9mblpks64a2efll2jou.apps.googleusercontent.com",NODE_ENV_PROD:"production"},d={COURSES_AND_PACKAGES:"course-package",LIVE_SESSIONS:"livesession",DIGITAL_PRODUCT:"digital-product",TELEGRAM:"telegram-community",COURSE:"course",EMAIL_CAMPAIGN:"email-campaign",LIVE_CLASS:"live-class"}},5558:function(e,t,a){"use strict";var n=a(15384),r=a(23550),l=a(48017),s=a(82104),i=a(46942),o=a.n(i),c=a(96540);const E=(0,c.forwardRef)((({label:e,description:t,value:a,onChange:i,isTextArea:E=!1,maxLength:d,disabled:u=!1,loading:m=!1,isBlurred:p=!1,dummyTextLength:A=20,placeholder:S="Type here",minRows:_=6,renderPrefixIcon:C,onFocus:I,onBlur:T,containerClassName:N=""},g)=>{const[R,f]=(0,c.useState)(!1),h=(0,c.useRef)(null),{selectedAvatar:L}=(0,l.Q)(),O=(0,r.A)(),b=g||h,D=p?(0,s.ou)(A):a,y=u||m||p,M=(0,c.useRef)(!1),v=(0,c.useRef)(!1),P=e=>{y||(d&&e.target.value.length>d?i(e.target.value.slice(0,d)):i(e.target.value))},w=()=>{f(!0),I?.(),e&&e.toLowerCase().includes("headline")&&!M.current&&L?.org_id&&L?.avatar_id&&(O({type:n.L.HEADLINE_CLICKED.LABEL,properties:{[n.L.HEADLINE_CLICKED.PROPERTIES.ORG_ID]:L.org_id,[n.L.HEADLINE_CLICKED.PROPERTIES.AVATAR_ID]:L.avatar_id}}),M.current=!0),e&&(e.toLowerCase().includes("about me")||e.toLowerCase().includes("about"))&&!v.current&&L?.org_id&&L?.avatar_id&&(O({type:n.L.ABOUT_ME_CLICKED.LABEL,properties:{[n.L.ABOUT_ME_CLICKED.PROPERTIES.ORG_ID]:L.org_id,[n.L.ABOUT_ME_CLICKED.PROPERTIES.AVATAR_ID]:L.avatar_id}}),v.current=!0)},x=()=>{f(!1),T?.()},U=()=>{b.current&&!y&&b.current.focus()},F=`w-full rounded-[12px] px-4 py-[14px] text-[14px] leading-[1.43] tracking-[0.015em] font-normal outline-none ${y&&!p?"bg-gray-100 text-gray-500":"bg-white"} ${C?"!pl-0":""}`,B=`relative rounded-[12px] ${R?"border-[#4E5DE0] shadow-elevationPrimary":"border-[#E5E5E5]"} border ${C?"flex items-center":""} `,G=p?"[filter:blur(4px)]":"text-[#232228]";return c.createElement("div",{className:o()(C?"":"mb-6",N)},(e||t)&&c.createElement("div",{className:"mb-3"},c.createElement("h3",{className:"text-[14px] font-medium text-[#232228] tracking-wider leading-5"},e),t&&c.createElement("p",{className:"text-[14px] text-[#878C90] mt-1 tracking-wider leading-5"},t)),E?c.createElement("div",{className:B,onClick:U},c.createElement("textarea",{ref:b,value:D,onChange:P,onFocus:w,onBlur:x,disabled:y,placeholder:p?"":S,className:`${F} ${G} ${d?"pr-16":""} resize-none`,rows:_}),d&&c.createElement("div",{className:"absolute right-4 bottom-4 text-[12px] text-[#878C90]"},a.length,"/",d)):c.createElement("div",{className:B,onClick:U},C&&c.createElement("div",{className:""},C()),c.createElement("input",{ref:b,type:"text",value:D,onChange:P,onFocus:w,onBlur:x,disabled:y,placeholder:p?"":S,className:`${F} ${G} ${d?"pr-16":""}`}),d&&c.createElement("div",{className:"absolute right-4 top-1/2 transform -translate-y-1/2 text-[12px] text-[#878C90]"},a.length,"/",d)))}));E.displayName="FormField",t.A=E},5760:function(e,t,a){"use strict";a.d(t,{P:function(){return r}});var n=a(95039);const r={getSearchResults:e=>n.L.get("/s/v1/users/circleData/search/get",{params:{searchQuery:e.searchTermEncoded}})}},5778:function(e,t,a){"use strict";a.d(t,{G5:function(){return L},GU:function(){return C},I:function(){return N},KK:function(){return D},bi:function(){return T},c_:function(){return I},d_:function(){return h},f1:function(){return M},gH:function(){return f},i7:function(){return g},k:function(){return O},l:function(){return _},l1:function(){return S},pd:function(){return b},pf:function(){return y},tR:function(){return R}});var n=a(96540);const r=a(98688),l=a(67876),s=a(77088),i=a(22138),o=a(48557),c=a(57101),E=a(66342),d=a(56664),u=a(57669),m=a(71765),p=a(82661),A=a(53508),S=()=>n.createElement("img",{src:A}),_=()=>n.createElement("img",{src:s,className:""}),C=()=>n.createElement("img",{src:i,className:""}),I=()=>n.createElement("img",{src:l}),T=()=>n.createElement("img",{src:o}),N=()=>n.createElement("img",{src:c}),g=()=>n.createElement("img",{src:u}),R=()=>n.createElement("img",{src:m}),f=()=>n.createElement("img",{src:E}),h=()=>n.createElement("img",{src:d}),L=()=>n.createElement("img",{src:p}),O=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M26.1953 11.3828C26.6641 13.0234 26.6641 16.5391 26.6641 16.5391C26.6641 16.5391 26.6641 20.0156 26.1953 21.6953C25.9609 22.6328 25.2188 23.3359 24.3203 23.5703C22.6406 24 16 24 16 24C16 24 9.32031 24 7.64062 23.5703C6.74219 23.3359 6 22.6328 5.76562 21.6953C5.29688 20.0156 5.29688 16.5391 5.29688 16.5391C5.29688 16.5391 5.29688 13.0234 5.76562 11.3828C6 10.4453 6.74219 9.70312 7.64062 9.46875C9.32031 9 16 9 16 9C16 9 22.6406 9 24.3203 9.46875C25.2188 9.70312 25.9609 10.4453 26.1953 11.3828ZM13.8125 19.7031L19.3594 16.5391L13.8125 13.375V19.7031Z",fill:"#FA4D56"})),b=()=>n.createElement("img",{src:r,className:"w-[20px] h-[20px] ml-2 mr-1"}),D=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{x:"6",y:"6",width:"20",height:"20",rx:"2",fill:"black"}),n.createElement("path",{d:"M10.0301 10L14.81 16.391L10 21.5873H11.0826L15.2939 17.0378L18.6963 21.5873H22.3803L17.3314 14.8368L21.8085 10H20.7259L16.8477 14.1898L13.7141 10H10.0301ZM11.6222 10.7974H13.3146L20.788 20.7899H19.0956L11.6222 10.7974Z",fill:"white"})),y=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M23.5 7.75C24.1641 7.75 24.75 8.33594 24.75 9.03906V24C24.75 24.7031 24.1641 25.25 23.5 25.25H8.46094C7.79688 25.25 7.25 24.7031 7.25 24V9.03906C7.25 8.33594 7.79688 7.75 8.46094 7.75H23.5ZM12.5234 22.75V14.4297H9.94531V22.75H12.5234ZM11.2344 13.2578C12.0547 13.2578 12.7188 12.5938 12.7188 11.7734C12.7188 10.9531 12.0547 10.25 11.2344 10.25C10.375 10.25 9.71094 10.9531 9.71094 11.7734C9.71094 12.5938 10.375 13.2578 11.2344 13.2578ZM22.25 22.75V18.1797C22.25 15.9531 21.7422 14.1953 19.125 14.1953C17.875 14.1953 17.0156 14.8984 16.6641 15.5625H16.625V14.4297H14.1641V22.75H16.7422V18.6484C16.7422 17.5547 16.9375 16.5 18.3047 16.5C19.6328 16.5 19.6328 17.75 19.6328 18.6875V22.75H22.25Z",fill:"#2580D3"})),M=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M25.6875 16.5C25.6875 21.3438 22.1328 25.3672 17.4844 26.0703V19.3125H19.75L20.1797 16.5H17.4844V14.7031C17.4844 13.9219 17.875 13.1797 19.0859 13.1797H20.2969V10.7969C20.2969 10.7969 19.2031 10.6016 18.1094 10.6016C15.9219 10.6016 14.4766 11.9688 14.4766 14.3906V16.5H12.0156V19.3125H14.4766V26.0703C9.82812 25.3672 6.3125 21.3438 6.3125 16.5C6.3125 11.1484 10.6484 6.8125 16 6.8125C21.3516 6.8125 25.6875 11.1484 25.6875 16.5Z",fill:"#1778F2"}))},5836:function(e,t,a){"use strict";var n=a(16128),r=a(90724),l=a(27893),s=a(77399);const i={getAllTransactions:({sortBy:e,sortDirection:t,...a})=>new Promise((async(i,o)=>{try{e||(e="date"),null==t&&(t=-1);const l=await n.F.feature.reports.getTransactions({sortBy:e,sortDirection:t,...a});i({count:l.data.count,transactions:(0,r.O)(l.data.results)})}catch(e){s.oR.error((0,l.U)(e)),o(e)}})),addFunds:(e,t)=>new Promise((async(a,r)=>{try{a(await n.F.feature.reports.addFunds(e,t))}catch(e){e?.response&&e?.response?.status&&(404===e?.response?.status||400===e?.response?.status||500===e?.response?.status)?a({data:{isFailed:!0}}):(s.oR.error((0,l.U)(e)),r(e))}})),initiateRefund:(e,t,a)=>new Promise((async(r,i)=>{try{r(await n.F.feature.reports.initiateRefund(e,t,a))}catch(e){e?.response&&e?.response?.status&&(404===e?.response?.status||400===e?.response?.status||500===e?.response?.status)?r({data:{isFailed:!0}}):(s.oR.error((0,l.U)(e)),i(e))}})),getTransactionDetails:(e,t)=>new Promise((async(a,r)=>{try{a(await n.F.feature.reports.getTransactionDetails(e,t))}catch(e){e?.response&&e?.response?.status&&(404===e?.response?.status||400===e?.response?.status||500===e?.response?.status)?a({data:{isFailed:!0}}):(s.oR.error((0,l.U)(e)),r(e))}})),saveComment:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.reports.saveComment(e)).data)}catch(e){s.oR.error((0,l.U)(e)),a(e)}})),deleteComment:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.reports.deleteComment(e)).data)}catch(e){s.oR.error((0,l.U)(e)),a(e)}})),checkStatus:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.reports.checkStatus(e)).data)}catch(e){s.oR.error((0,l.U)(e)),a(e)}})),getSettlementsOverview:()=>new Promise((async(e,t)=>{try{const t=await n.F.feature.reports.getSettlementsOverview();e({totalSettledAmount:t.data.totalSettledAmount,toBeSettledAmount:t.data.toBeSettledAmount})}catch(e){t(e)}})),getSettlements:({sortBy:e,sortDirection:t,...a})=>new Promise((async(i,o)=>{try{e||(e="createdDate"),null==t&&(t=-1);const l=await n.F.feature.reports.getSettlements({sortBy:e,sortDirection:t,...a});i({count:l.data.total,settlements:(0,r.O)(l.data.data)})}catch(e){s.oR.error((0,l.U)(e)),o(e)}})),getSettlementTransactions:({sortBy:e,sortDirection:t,...a})=>new Promise((async(i,o)=>{try{e||(e="createdDate"),null==t&&(t=-1);const l=await n.F.feature.reports.getSettlementTransactions({sortBy:e,sortDirection:t,...a});i({count:l.data.total,transactions:(0,r.O)(l.data.data)})}catch(e){s.oR.error((0,l.U)(e)),o(e)}})),getSearchedTransaction:({settleId:e,query:t})=>new Promise((async(a,r)=>{try{a(await n.F.feature.reports.getSearchedTransaction({query:t,settleId:e}))}catch(e){s.oR.error((0,l.U)(e)),r(e)}})),getSearchedSettlement:({query:e})=>new Promise((async(t,a)=>{try{t(await n.F.feature.reports.getSearchedSettlement({query:e}))}catch(e){s.oR.error((0,l.U)(e)),a(e)}})),getLiveSessionsOverview:(e,t)=>new Promise((async(a,r)=>{try{const{data:r}=await n.F.feature.reports.getLiveSessionsOverview(e,t);a({live_session_revenue:r.results.live_session_revenue,live_session_participants:r.results.live_session_participants,live_session_registrations:r.results.live_session_registrations,report_last_cached_at:r.results?.report_last_cached_at})}catch(e){r(e)}})),getLiveSessionsReports:({sortBy:e,sortDirection:t,...a})=>new Promise((async(i,o)=>{try{e||(e="createdDate"),null==t&&(t=-1);const l=await n.F.feature.reports.getLiveSessionsReports({sortBy:e,sortDirection:t,...a});i({count:l.data.total,liveSessions:(0,r.O)(l.data.data)})}catch(e){s.oR.error((0,l.U)(e)),o(e)}}))};t.A=i},6012:function(e,t,a){"use strict";a.d(t,{Ce:function(){return r},Re:function(){return l},nm:function(){return s},o8:function(){return n}});const n=14,r={ALERT_LOW_START:1,ALERT_LOW_END:6,ALERT_MEDIUM_START:7,ALERT_MEDIUM_END:13,ALERT_HIGH_START:14,ALERT_HIGH_END:20,DUE_MODAL_V1_START:21,DUE_MODAL_V1_END:28,DUE_MODAL_V2_START:29},l="showTrialAlert",s="showPaymentAlert"},6305:function(e,t,a){"use strict";a.d(t,{s:function(){return l}});var n=a(96540),r=a(20982);const l=(e,t)=>n.createElement(r.g,{icon:e,className:t})},6572:function(e,t,a){"use strict";a.d(t,{A:function(){return A}});var n=a(48903),r=a(43755),l=a(66159),s=a(48669),i=a(77129),o=a(93995),c=a(21525),E=a(29099),d=a(96540);const u=({isPageLoading:e})=>d.createElement(d.Fragment,null,e&&d.createElement(o.K,null,d.createElement(r.A,{className:"inset-0 absolute h-screen flex justify-center items-center z-100 bg-white bg-opacity-80"},d.createElement(E.A,{color:"#152561"}))));var m=a(68154);const p=({pageTitle:e,editableTitle:t,pageSubtitle:a,pageIcon:E,pageIconWidth:p,pageIconHeight:A,showBack:S,handleBack:_,contentBackground:C,pageLearnMoreLink:I,isPageLoading:T,extraCta:N,children:g,containerSpacing:R,route:f,subRoute:h,renderLearnMore:L,customPageTitle:O,statusPill:b,truncateTitle:D,titleFontSize:y,headerbg:M,backButtonClass:v})=>{const P=n.cq.use.isSidebarEnabled(),w=(0,s.g)(),x=`pt-16 pb-8 min-h-screen ${R||(P?"dashboard-container-spacing ":"lc-sidebar-logo lc-dashboard-container-spacing")} ${f!==i.fp.APP_BUILDER||h&&"dashboard"===h?"":"pr-0"} ${C} ${w?"sm:mt-11 sm:h-[calc(100vh - 44px)]":""} `;return d.createElement(r.A,{className:T?"overflow-hidden max-h-screen":"max-h-full"},d.createElement(m.m,null,d.createElement("title",null,O||e),d.createElement("script",{async:!0,src:"https://js.chargebee.com/v2/chargebee.js",type:"text/javascript"}),d.createElement("script",{async:!0,src:"https://checkout.razorpay.com/v1/checkout.js"}),d.createElement("link",{rel:"stylesheet",href:"https://js.chargebee.com/v2/animation.css",type:"text/css"})),d.createElement(u,{isPageLoading:T}),d.createElement(o.K,{className:"top-0"},d.createElement(c.A,{title:e||"",editableTitle:t,subtitle:a,learnMoreLink:I,extraCTAPosition:"right",headerContainerClassName:`items-center ${M||""}`,showBack:S,handleBack:_,extraCtaRenderer:()=>N,renderLearnMore:L,statusPill:b,truncateTitle:D,titleFontSize:y,backButtonClass:`${v}`,logo:E&&d.createElement(l.A,{src:E,alt:e||"",width:p,height:A})})),d.createElement(r.A,{className:x},g))};p.displayName="Dashboard Layout",p.defaultProps={extraCta:null,showBack:!1,pageIconWidth:"w-[1.8rem]",pageIconHeight:"h-5",containerSpacing:void 0,contentBackground:"bg-white"};var A=p},7331:function(e,t,a){"use strict";a.d(t,{$5:function(){return C},I5:function(){return R},Le:function(){return I},VW:function(){return _},Y5:function(){return p},Yj:function(){return m},ch:function(){return T},dq:function(){return u},hA:function(){return N},kb:function(){return g},l:function(){return h},r:function(){return A},rG:function(){return S},u4:function(){return d},ug:function(){return f}});var n=a(50772),r=a(55359),l=a(75573),s=a(96675),i=a(11388),o=a(9852),c=a(979),E=a(10842);const d=e=>{e&&e.style.setProperty("padding","0","important")},u=(e,t)=>{document.getElementById(t)?.click()},m=e=>{document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"},p=(0,i.A)(),A=()=>"production"===(0,r.Jd)()?"https://d502jbuhuh9wk.cloudfront.net/":"https://d1lhfd3j3c8egz.cloudfront.net/",S=()=>"production"===(0,r.Jd)()?["5d32b29ce4b056e9464d94c8","5fbe028e0cf2052e17e4a57d","5f0e968a0cf27c6d9942426f","5fb76cd90cf2861d8c5312b4","5df124f9e4b094730829bce4","5e74a9700cf26e5484763b9b","63877d7ae4b0715e599aa5a1","5eb1d3490cf257614dcdde5f","626c074c0cf2adbf86fcbd32"]:["655b2c53e4b0c09dd751b905","63344fafe4b05ac10f2f5bff"],_=e=>{const t=document.getElementById(e);t?.scrollIntoView({behavior:"smooth"})},C=e=>{if(!e)return"";const t=e.split("@"),a=t[1].split(".");return`${t[0].charAt(0)}${"*".repeat(t[0].length-1)}@${a[0].charAt(0)}${"*".repeat(a[0].length-2)}.${a[1]}`},I=e=>{const t=localStorage.getItem("ipInfo");if(e){const t=l.gI.find((t=>t.value===e));return t?{label:t.label,value:t.value}:void 0}if(!n.lq)return{value:"Outside India",label:"Outside India"};if(t){let e=null;try{e=JSON.parse(t)}catch(e){}if(e?.region){const t=l.gI.find((t=>t.label===e?.region));if(t)return{label:t.label,value:t.value}}}},T=()=>"abcdefghijklmnopqrstuvwxyz".charAt(Math.floor(100*Math.random())%26),N=(e,t)=>{for(;e.length{const t=e?.split("-"),a=t?.slice(1)?.join("-");return a};function R(e="",t=[]){e=(e=e.toLowerCase()).replace(/<.*?>/g," ").replace(/&.*?;?/g," ");for(const a of t){let t=e,n=t.indexOf(a);for(;-1!==n;){const e=n+a.length;if((0===n||/\s|[\p{P}]/u.test(t[n-1]))&&(e===t.length||/\s|[\p{P}]/u.test(t[e])))return!0;t=t.slice(n+a.length),n=t.indexOf(a)}}return!1}const f=e=>{const t=60*e,a=Math.floor(t/86400),n=Math.floor(t%86400/3600),r=Math.floor(t%3600/60),l=Math.floor(t%60);let s=[];return a>0&&s.push(`${a} day(s)`),n>0&&s.push(`${n} hour(s)`),r>0&&s.push(`${r} minute(s)`),(l>0||0===s.length)&&s.push(`${l} second(s)`),s.join(" ")},h=e=>{const t=new Date;switch(e){case s.D["7DAYS"]:return(0,o.A)((0,c.A)(t,6),"yyyy-MM-dd");case s.D["30DAYS"]:return(0,o.A)((0,c.A)(t,29),"yyyy-MM-dd");case s.D["90DAYS"]:return(0,o.A)((0,c.A)(t,89),"yyyy-MM-dd");case s.D.YEAR:return(0,o.A)((0,E.A)(t,1),"yyyy-MM-dd");case s.D.CUSTOM:default:return(0,o.A)(t,"yyyy-MM-dd")}}},7416:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/singleSignOn_8e4be6580f497a6e1f1f.png"},7615:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/twitterNew_e1871d9bd8fed849b220.svg"},7641:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/youTube_92653adb91b4beb5afce.svg"},7833:function(e,t,a){"use strict";var n=a(96540);t.A=(e,t)=>{const[a,r]=n.useState(e);return n.useEffect((()=>{const a=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(a)}}),[e,t]),a}},8e3:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/muscle_3cfb8c0ae00661f719b5.png"},8104:function(e,t,a){"use strict";a.d(t,{o:function(){return s}});var n=a(96614),r=a(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let E=e?.toString();t&&E?.includes(".")&&(E=E.replace(/\./g,""));const d=`!rounded-none py-3 !text-body px-4 ${a?"cursor-not-allowed":""} ${s}`;return r.createElement(r.Fragment,null,r.createElement(n.A,l({},o,{disabled:a,value:E,className:d,maxLength:i,ref:c})))}));n.A.displayName="Input"},8676:function(e,t,a){"use strict";a.d(t,{o:function(){return r}});var n=a(60071);const r=(0,a(82084).A)((e=>({tab:localStorage.getItem("campaign-tab")||"email",setTab:t=>{localStorage.setItem("campaign-tab",t),e({tab:t})},activeEmulator:"mobile",setActiveEmulator:t=>e((e=>{e.activeEmulator=t})),activeFormPage:"Details",setActiveFormPage:t=>{e({activeFormPage:t})},emailStatus:!1,setEmailStatus:t=>{e({emailStatus:t})},webPushStatus:!1,setWebPushStatus:t=>{e({webPushStatus:t})},mobilePushStatus:!1,setMobilePushStatus:t=>{e({mobilePushStatus:t})},campaignDetails:null,setCampaignDetails:t=>{e({campaignDetails:t})},emailTemplate:null,setEmailTemplate:t=>{e({emailTemplate:t})},webPushTemplate:null,setWebPushTemplate:t=>{e({webPushTemplate:t})},mobilePushTemplate:null,setMobilePushTemplate:t=>{e({mobilePushTemplate:t})},isPreviewExpanded:!1,setIsPreviewExpanded:t=>{e({isPreviewExpanded:t})},popularCourses:null,setPopularCourses:t=>{e({popularCourses:t})},popularLiveSessions:null,setPopularLiveSessions:t=>{e({popularLiveSessions:t})},popularDigitalProducts:null,setPopularDigitalProducts:t=>{e({popularDigitalProducts:t})},toggleSubmissionStatus:{state:n.Vm.Idle},setToggleSubmissionStatus:t=>{e({toggleSubmissionStatus:t})}})))},10204:function(e,t,a){"use strict";var n=a(66159),r=a(31387),l=a(99380),s=a(55250),i=a(96540);const o=({userId:e,assetId:t,name:a,width:o,height:c,showName:E,className:d,isLink:u,profilePicVersion:m,imgUrl:p,showRoundedImages:A=!0,profileVersionCheck:S=!0})=>{const _=i.useCallback((()=>{const a=document.querySelector(`.avatar-${e}-${t}`);a?.classList.remove("hidden"),a?.classList.add("flex-center"),document.querySelector(`.avatar-image-${e}-${t}`)?.classList.add("hidden")}),[e,t]),C=i.useCallback((t=>{t.preventDefault(),t.stopPropagation(),window.open(`${(0,s.$z)()}/s/learners/${e}/details`)}),[e]),I=!S||m&&m>0,T=p??`${l.VB}/users/${e}/thumbnail.jpg`,N=i.createElement(i.Fragment,null,i.createElement("div",null,I?i.createElement(i.Fragment,null,i.createElement("div",{className:`${o} ${c} bg-primary bg-opacity-70 text-footnote hidden avatar-${e}-${t} avatar-${e}-${t} ${A?"rounded-full":""}`},a?.substring(0,1).toUpperCase()),i.createElement(n.A,{className:`avatar-image-${e}-${t} ${A?"rounded-full":""}`,onError:_,src:T,alt:a??"",width:o,height:c})):i.createElement("div",{className:`${o} ${c} flex-center bg-primary bg-opacity-70 text-footnote ${A?"rounded-full":""} `},a?.substring(0,1).toUpperCase())),E&&i.createElement("div",{className:"w-11/12"},i.createElement(r.A,{className:"ml-[0.5rem] w-11/12 leading-none"},a)));return u?i.createElement("a",{href:`${(0,s.$z)()}/s/learners/${e}/details`,onClick:C,className:d},N):i.createElement("div",{className:d},N)};o.displayName="UserAvatar",o.defaultProps={width:"w-4",height:"h-4",showName:!0,isLink:!0,className:"w-full flex items-start"},t.A=o},10560:function(e,t,a){"use strict";a.d(t,{$V:function(){return D},CS:function(){return b},Gj:function(){return p},SB:function(){return L},SO:function(){return d},WN:function(){return O},Yy:function(){return S},_V:function(){return T},_w:function(){return A},aQ:function(){return m},o5:function(){return u}});var n=a(79656),r=a(15685),l=a(77129),s=a(47171),i=a(30654),o=a(28021),c=a(33898);const E={subHeaderName:"SIDEBAR:AI_AVATAR",roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],navItems:[c.Nl,c.qH,c.l$]},d={name:"SIDEBAR:HOME",link:`/t/${l.fp.HOME}`,id:o.C.HOME,...o.j,icon:n.aTc,selectedIcon:r.aTc,roles:[i.tX.COURSE_ADMIN]},u={name:"SIDEBAR:AI_AVATAR",id:o.C.AI_AVATAR,link:`/t/${l.fp.AI_AVATAR}`,...o.j,icon:n.p7g,selectedIcon:r.p7g,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.AI_AVATARS],isNew:!0,secondaryNav:E},m={name:"SIDEBAR:ASSET_LIBRARY",id:o.C.ASSET_LIBRARY,...o.j,link:`/t/${l.fp.ASSET_LIBRARY}`,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN,i.tX.INSTRUCTOR],subAdminRoles:[i.Xg.COURSES]},p={name:"SIDEBAR:COMMUNITY",id:o.C.COMMUNITY_CHAT,...o.j,link:`/t/${l.fp.COMMUNITY_CHAT}`,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN,i.tX.INSTRUCTOR,i.tX.ADMIN],icon:n.q9p,selectedIcon:r.q9p,orgProperties:[s.GV.ORG_COMMUNITY_ENABLED,s.GV.OPEN_COMMINITY_ENABLED]},A=[d,m,p],S=[d.id,u.id,o.C.COURSES,o.C.MEMBERSHIPS,o.C.COMMUNITY_CHAT],_={subHeaderName:"SIDEBAR:PRODUCTS",roles:[i.tX.COURSE_ADMIN],navItems:[c.dN,c.wK,c.kZ,c.lp,c.TB,c.Vy]},C={roles:[i.tX.COURSE_ADMIN],navItems:[{...c.kZ}]},I={subHeaderName:"SIDEBAR:MANAGE",roles:[i.tX.COURSE_ADMIN],navItems:[m,c.oP,c.rF,c.rs,c.Xg,c.II,c.UW,c.kD]},T={subHeaderName:"SIDEBAR:REPORTS",roles:[i.tX.COURSE_ADMIN],navItems:[c.Fe,c.tt,c.u3,c.UY,c.ZP]},N={subHeaderName:"SIDEBAR:USERS",roles:[i.tX.COURSE_ADMIN],navItems:[c.Sp,c.m8,c.sH,c.wF,c.l9]},g={roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],primaryName:"Website & Apps",navItems:[{id:"websiteSubHeader",...o.j,name:"SIDEBAR:WEBSITE",isSubheader:!0,roles:[i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI]},c.Pr,c.T6,{id:"websiteDivider",...o.j,isDivider:!0,name:"website-divider",roles:[i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI]},{id:"appSettingsDivider",...o.j,isDivider:!0,name:"apps-divider",roles:[i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI_LANGUAGE]},{id:"settingsSubHeader",...o.j,name:"SIDEBAR:SETTINGS",isSubheader:!0,roles:[i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI_LANGUAGE]},c.vH,c.fc]},R={roles:[i.tX.COURSE_ADMIN],navItems:[{id:"engageSubHeader",...o.j,name:"SIDEBAR:ENGAGE",isSubheader:!0,roles:[i.tX.SUB_ADMIN,i.tX.INSTRUCTOR],subAdminRoles:[i.Xg.MESSENGER,i.Xg.BLOGS]},c.K7,c.mP,c.YJ,c.m1,{id:"engageDivider",isDivider:!0,...o.j,name:"engage-divider",roles:[i.tX.SUB_ADMIN,i.tX.AFFILIATE],subAdminRoles:[i.Xg.BLOGS,i.Xg.MESSENGER]},{id:"acquireSubHeader",name:"SIDEBAR:ACQUIRE",...o.j,isSubheader:!0,roles:[i.tX.SUB_ADMIN,i.tX.AFFILIATE],subAdminRoles:[i.Xg.PROMO_CODES,i.Xg.WALLET_REFER_EARN]},c.O4,c.dt,c.ku]},f={roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],primaryName:"Mobile App",navItems:[c.Bs,c.is,c.Rb]},h={subHeaderName:"SIDEBAR:INTEGRATIONS",roles:[i.tX.COURSE_ADMIN],navItems:[c.iC,c.Ot,c.Vw,c.Sm]},L={subHeaderName:"SIDEBAR:WEBSITE_MANAGEMENT",roles:[i.tX.COURSE_ADMIN],navItems:[c.Bl,c.D4,c.xW,c.$R,c.h2,c.xG,{id:"settingsDivider",isDivider:!0,...o.j,name:"settings-divider"},{id:"customizationSubHeader",...o.j,name:"SIDEBAR:CUSTOMIZATION",isSubheader:!0},c._E,c.Zm,c.A5]},O={openInSecondary:"accountNavigation",roles:[i.tX.COURSE_ADMIN],navItems:[{id:"accountSettings",parentNavId:o.C.ACCOUNT,...o.j,name:"SIDEBAR:ACCOUNT_SETTINGS",link:`/t/${l.Yk.MYPROFILE}`,roles:[],icon:n.BH7},{id:"billingAndUsage",parentNavId:o.C.ACCOUNT,...o.j,name:"Billing and usage",link:`/t/${l.fp.BILLING_AND_USAGE}`,roles:[],icon:r.Vpi},{id:"accountReferrals",parentNavId:o.C.ACCOUNT,...o.j,name:"SIDEBAR:REFERRALS",link:`/t/${l.fp.REFERRALS}`,roles:[i.tX.COURSE_ADMIN],icon:n.pO7},{id:"notifications",parentNavId:o.C.ACCOUNT,...o.j,name:"SIDEBAR:NOTIFICATIONS",link:`/t/${l.pm.NOTIFICATIONS}`,roles:[],icon:n.z$e},{id:"helpCenter",parentNavId:o.C.ACCOUNT,...o.j,name:"SIDEBAR:HELP_CENTER",link:`/t/${l.pm.HELPCENTER}`,nonAdminOrgProperties:[s.GV.SHOW_HELP_CENTER],icon:n.mEO}]},b=[d,u,{name:"SIDEBAR:PRODUCTS",id:o.C.COURSES,...o.j,icon:n.LX6,selectedIcon:r.LX6,secondaryNav:_,roles:[i.tX.COURSE_ADMIN,i.tX.INSTRUCTOR,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.COURSES,i.Xg.COURSE_DISCUSS,i.Xg.COURSE_DISCUSS_SP,i.Xg.QUIZ_REVIEW,i.Xg.ASSIGNMENT,i.Xg.LIVE_CLASS,i.Xg.LIVE_TEST],subAdminOrgProperties:{[i.Xg.ASSIGNMENT]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN],[i.Xg.LIVE_CLASS]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN],[i.Xg.LIVE_TEST]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN]},isNew:!1},{name:"SIDEBAR:MANAGE",id:o.C.MANAGE,...o.j,icon:n.f2_,selectedIcon:r.f2_,secondaryNav:I,roles:[i.tX.COURSE_ADMIN,i.tX.INSTRUCTOR,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.COURSES,i.Xg.COURSE_DISCUSS,i.Xg.COURSE_DISCUSS_SP,i.Xg.QUIZ_REVIEW,i.Xg.ASSIGNMENT,i.Xg.LIVE_CLASS,i.Xg.LIVE_TEST],subAdminOrgProperties:{[i.Xg.ASSIGNMENT]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN],[i.Xg.LIVE_CLASS]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN],[i.Xg.LIVE_TEST]:[s.GV.IS_NON_LITE_SUBSCRIPTION_PLAN]}},p,{name:"SIDEBAR:USERS",id:o.C.USERS,...o.j,icon:n.X46,selectedIcon:r.X46,secondaryNav:N,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.LEARNERS,i.Xg.INSTRUCTORS,i.Xg.AFFILIATES,i.Xg.SUBSCRIBERS,i.Xg.LEARNER_VIEW],subAdminOrgProperties:{[i.Xg.INSTRUCTORS]:[s.GV.IS_NON_SME_SUBSCRIPTION_PLAN]}},{name:"SIDEBAR:REPORTS",id:o.C.REPORTS,...o.j,icon:n._w9,match:`/t/${l.fp.SETTLEMENT_TRANSACTIONS}`,selectedIcon:r._w9,secondaryNav:T,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN,i.tX.INSTRUCTOR]},{name:"SIDEBAR:WEBSITE_APPS",id:o.C.WEBSITE_APP,...o.j,icon:n.Bwz,selectedIcon:r.Bwz,secondaryNav:g,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI,i.Xg.WEBSITE_APP_UI_LANGUAGE]},{name:"SIDEBAR:MOBILE_APP",id:o.C.MOBILE_APP,...o.j,icon:n.GrJ,selectedIcon:r.GrJ,secondaryNav:f,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN],subAdminRoles:[i.Xg.WEBSITE_APP_UI,i.Xg.WEBSITE_APP_UI_LANGUAGE]},{name:"SIDEBAR:MARKETING",id:o.C.MARKETING,...o.j,icon:n.e4L,selectedIcon:r.e4L,secondaryNav:R,roles:[i.tX.COURSE_ADMIN,i.tX.SUB_ADMIN,i.tX.AFFILIATE,i.tX.INSTRUCTOR],subAdminRoles:[i.Xg.MESSENGER,i.Xg.BLOGS,i.Xg.PROMO_CODES,i.Xg.WALLET_REFER_EARN],instructorUserProperties:[s.X2.MESSENGER_ACCESS],userAccessProperties:[s.X2.IS_AFFILIATE],isNew:!1},{name:"SIDEBAR:INTEGRATIONS",id:o.C.INTEGRATION,...o.j,icon:n.b6I,selectedIcon:r.b6I,secondaryNav:h,roles:[i.tX.COURSE_ADMIN]},{name:"SIDEBAR:SETTINGS",id:o.C.SETTINGS,...o.j,secondaryNav:L,icon:n.BH7,selectedIcon:r.BH7,roles:[i.tX.COURSE_ADMIN]}],D={[o.C.AI_AVATAR]:E,[o.C.COURSES]:_,[o.C.MANAGE]:I,[o.C.MEMBERSHIPS]:C,[o.C.REPORTS]:T,[o.C.USERS]:N,[o.C.WEBSITE_APP]:g,[o.C.MOBILE_APP]:f,[o.C.MARKETING]:R,[o.C.INTEGRATION]:h,[o.C.ACCOUNT]:O,[o.C.SETTINGS]:L},y=[];[..._.navItems.map((e=>e.link)),...I.navItems.map((e=>e.link)),...C.navItems.map((e=>e.link)),...T.navItems.map((e=>e.link)),...N.navItems.map((e=>e.link)),...g.navItems.map((e=>"link"in e&&e.link)),...f.navItems.map((e=>"link"in e&&e.link)),...R.navItems.map((e=>"link"in e&&e.link)),...h.navItems.map((e=>"link"in e&&e.link)),...O.navItems.map((e=>"link"in e&&e.link)),...L.navItems.map((e=>{"link"in e&&e.link}))].forEach((e=>{"string"==typeof e&&y.push(e)})),b.slice(0,3),b.slice(3)},11090:function(e,t,a){"use strict";const n=(0,a(82084).A)(((e,t)=>({showHeaderMoreMenu:!1,previouslyUsedIconNames:JSON.parse(localStorage.getItem("previouslyUsedIcons")||"[]"),setCache:(a,n)=>{const r=t().cache||{};r[a]=n,e((e=>{e.cache={...r}}))},setCacheGlobal:t=>{e((e=>{e.cache={...t}}))},setShowHeaderMoreMenu:t=>{e((e=>{e.showHeaderMoreMenu=t}))},setPreviouslyUsedIconNames:t=>{e((e=>{e.previouslyUsedIconNames=t}))}})));t.A=n},11290:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/adminAccount2_64711fcb4ef44c029657.png"},11411:function(e,t,a){"use strict";a.d(t,{b:function(){return M}});var n=a(15384),r=a(37875),l=a(66188),s=a(15685),i=a(20982),o=a(33919),c=a(23550),E=a(89707),d=a(48287),u=a(84796),m=a(64982),p=a(61110),A=a(77129),S=a(68338),_=a(37832),C=a(86162),I=a(80579),T=a(96540),N=a(32389),g=a(56347),R=a(50856),f=a(56769),h=a(60156),L=a(49456),O=(e,t=50,a=!0)=>{const[n,r]=(0,T.useState)(""),[l,s]=(0,T.useState)(a);return(0,T.useEffect)((()=>{if(!e||!l)return;let a=0;const n=()=>{a<=e.length?(r(e.slice(0,a)),a++,setTimeout(n,t)):s(!1)};return n(),()=>{s(!1)}}),[e,t,l]),{displayedText:n,isTyping:l,startTyping:()=>{s(!0),r("")}}},b=a(98533),D=a(7331);const y=()=>{const[e]=(0,E.i)(),{avatarId:t}=(0,_.f)(),a=(0,T.useRef)(null),n=(0,T.useRef)(null),r=(0,T.useRef)(null),l=(0,T.useRef)(null),s=(0,T.useRef)(null),[o,c]=(0,T.useState)("name"),[d,u]=(0,T.useState)(0),[m,p]=(0,T.useState)({name:"",description:"",headline:"",image:"",questions:[]}),A=(0,T.useRef)(!0),{displayedText:S,isTyping:C,startTyping:I}=O(m.name,30,"name"===o&&""!==m.name),{displayedText:N,isTyping:g,startTyping:R}=O(m.headline,30,!1),{displayedText:f,isTyping:h,startTyping:y}=O(m.description,25,!1),M=m.questions[d]?.value||"",{displayedText:v,isTyping:P,startTyping:w}=O(M,20,!1);(0,T.useEffect)((()=>{(C||g||h||P)&&(()=>{let e=null;C&&n.current?e=n.current:g&&r.current?e=r.current:h&&l.current?e=l.current:P&&s.current&&(e=s.current),e&&e.scrollIntoView({behavior:"smooth",block:"nearest"})})()}),[S,N,f,v,C,g,h,P]),(0,T.useEffect)((()=>{"name"===o&&!C&&m.name?(c("headline"),R()):"headline"===o&&!g&&m.headline?(c("description"),y()):"description"===o&&!h&&m.description?(c("questions"),m.questions.length>0?w():c("done")):"questions"===o&&(P||(de+1)),setTimeout((()=>{w()}),300)):c("done")))}),[o,C,g,h,P,m.name,m.headline,m.description,m.questions,d,R,y,w]),(0,T.useEffect)((()=>{m.name&&m.headline&&m.description&&(A.current=!1)}),[m.name,m.headline,m.description]),(0,T.useEffect)((()=>{m.name&&"name"===o&&I()}),[m.name,o,I]),(0,T.useEffect)((()=>{const e=async()=>{if(A.current)try{const e=await b.X.retrieveAvatar(t??"");console.log("Avatar data:",e),e.bio&&p({name:e.bio.name||"",description:e.bio.description||"",headline:e.bio.headline||"",image:e.bio.image||"",questions:e.questions||[]})}catch(e){console.error("Error polling avatar data:",e)}};e();const a=setInterval(e,4e3);return()=>{clearInterval(a),A.current=!1}}),[t]);const x={backgroundImage:"linear-gradient(90deg, #FFE7F9 0%, #FFE5B5 33%, #B4D5FA 64%, #939EF8 100%)",backgroundSize:"200% 100%"};return T.createElement("div",{ref:a,className:"w-[564px] h-full rounded-r-[24px] p-8 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-[#E5E5E5] hover:scrollbar-thumb-[#D1D5DB] scrollbar-thumb-rounded-full",style:{background:"linear-gradient(135deg, #FBFBFB 0%, #FFFAF3 45.29%, #EBEDFF 86.63%)",boxShadow:"0px 1px 4px 0px rgba(0, 122, 255, 0.16)"}},T.createElement("div",{style:{borderRadius:"50%",width:"128px",height:"128px"},className:"relative mb-2 overflow-hidden"},m.image?T.createElement("img",{src:(U=m.image,(0,D.r)()+U),alt:"Avatar",className:"w-full h-full object-cover rounded-full"}):T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x})),T.createElement("div",{className:"flex-1 space-y-2 mb-2 mt-7"},m.name?T.createElement("div",{className:"relative ] truncate rounded-lg"},T.createElement("span",{ref:n,className:"font-inter text-[32px] font-normal leading-[100%] tracking-[-0.5px]",style:{background:"linear-gradient(90deg, rgba(81, 96, 229, 0.2) 0%, #5160E5 44.96%, rgba(81, 96, 229, 0.2) 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}},S,C&&T.createElement("span",{className:"inline-block w-1 h-8 ml-1 bg-[#4E5DE0] animate-blink"}))):T.createElement("div",{className:"relative h-[32px] w-[200px] rounded-lg overflow-hidden"},T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x})),T.createElement("div",{className:"relative"},"headline"===o||"description"===o||"questions"===o||"done"===o?T.createElement("p",{ref:r,className:"text-[15px] text-[#6C7275]"},N,g&&T.createElement("span",{className:"inline-block w-1 h-4 ml-1 bg-[#4E5DE0] animate-blink"})):T.createElement("div",{className:"h-[15px] w-[75%] rounded-lg overflow-hidden"},T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x})))),T.createElement("div",{className:"space-y-4 mt-8"},T.createElement("h3",{className:"text-[16px] font-medium text-[#44403C] leading-[1.15] tracking-[-1.5%]"},"About me:"),T.createElement("div",{className:"space-y-2"},"description"===o||"questions"===o||"done"===o?T.createElement("p",{ref:l,className:"text-[15px] text-[#6C7275] leading-[1.5]"},f,h&&T.createElement("span",{className:"inline-block w-1 h-4 ml-1 bg-[#4E5DE0] animate-blink"})):T.createElement(T.Fragment,null,T.createElement("div",{className:"relative h-[15px] w-full rounded-lg overflow-hidden"},T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x})),T.createElement("div",{className:"relative h-[15px] rounded-lg overflow-hidden"},T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x})),T.createElement("div",{className:"relative h-[15px] w-[75%] rounded-lg overflow-hidden"},T.createElement("div",{className:"absolute inset-0 animate-shimmer",style:x}))))),T.createElement("div",{className:"mt-8 space-y-3"},T.createElement("h3",{className:"text-[16px] font-medium text-[#44403C] leading-[1.15] tracking-[-1.5%]"},"Suggested"),T.createElement("div",{className:"flex flex-col gap-3 mt-3"},m.questions.length>0?m.questions.map(((e,t)=>T.createElement("div",{key:e.id,className:"flex gap-3 items-center min-h-[40px] w-full rounded-xl overflow-hidden border border-[#E5E5E5] bg-white/10 p-3"},T.createElement(i.g,{icon:L.uts,className:"flex-shrink-0 text-[#4E5DE0]"}),T.createElement("div",{className:"flex-1"},"questions"===o&&t===d?T.createElement("p",{ref:t===d?s:null,className:"text-[14px] text-[#6C7275]"},tT.createElement("div",{key:e,className:"flex gap-3 items-center h-[40px] w-full rounded-xl overflow-hidden border border-[#E5E5E5] bg-white/10 p-3"},T.createElement(i.g,{icon:L.uts,className:"text-[#4E5DE0]"}),T.createElement("div",{className:"flex-1 h-4 relative"},T.createElement("div",{className:"absolute inset-0 animate-shimmer rounded-lg",style:x}))))))));var U},M=({onBoardingPage:e=!1,onComplete:t,industry:a})=>{const{t:L}=(0,N.Bd)(),{websiteUrl:O,socialLinks:b,avatarId:D,bio:M,setCurrentStep:v,purpose:P}=(0,_.f)(),{filesCount:w}=(0,_.f)(),x=(0,T.useRef)(null),[U,F]=(0,T.useState)(!1),[B]=(0,E.i)(),G=B?.org?.id,k=(0,g.zy)(),H=k.pathname.includes("/t/onboarding")?"account_creation_onboarding":"avatar_creation",V=(0,T.useRef)(Date.now()),Y=(0,c.A)(),W=()=>{const e=B||p.vB;return{[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.CURRENT_URL]:window.location.href,[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.SCREEN_WIDTH]:window.innerWidth,[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.REFERRER]:document.referrer,[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.SOURCE]:"onboarding",[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.UTM_PARAMS]:(0,I.O)(Object.fromEntries(new URLSearchParams(window.location.search))),[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.METHOD]:e?.phone?"phone":"email",[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.BRAND_NAME]:e?.org?.name||"",[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.INDUSTRY]:[a||""],[u.c.NEW_ONB_PROFILE_GENERATED.PROPERTIES.PURPOSE]:P||""}},$=(0,d.U)("(max-width: 640px)"),j=(0,d.U)("(max-width: 1024px)");(0,T.useEffect)((()=>{V.current=Date.now()}),[]),(0,T.useEffect)((()=>{const e=setTimeout((()=>{F(!0),setTimeout((()=>{x.current&&x.current.scrollIntoView({behavior:"smooth"})}),100)}),5e3);return()=>clearTimeout(e)}),[]),(0,T.useEffect)((()=>{Y({type:n.L.TRAINING_AVATAR.LABEL,properties:{[n.L.TRAINING_AVATAR.PROPERTIES.ORG_ID]:G,[n.L.TRAINING_AVATAR.PROPERTIES.SOURCE]:H}})}),[G,H]);const K=(e,t)=>{const a=t.replace(/^(https?:\/\/)?(www\.)?[^/]+\//,"");return`${{youtube:"youtube.com/",twitter:"x.com/",instagram:"instagram.com/",linkedin:"linkedin.com/in/",facebook:"facebook.com/",tiktok:"tiktok.com/"}[e]}${a}`},X=[...O?[{title:L(m.C.EXPLORING_SITE),subtitle:O,icon:l.Bwz,iconColor:"#393F41"}]:[],...(()=>{const e=[];return b?.youtube&&e.push({title:L(m.C.WATCHING_VIDEOS),subtitle:K("youtube",b.youtube),icon:r.B4m,iconColor:"#FA4D56"}),b?.twitter&&e.push({title:L(m.C.READING_TWEETS),subtitle:K("twitter",b.twitter),svg:h.A,iconColor:"#1DA1F2"}),[{key:"instagram",svg:f.A,color:"#E1306C"},{key:"linkedin",icon:r.IAJ,color:"#0A66C2"},{key:"facebook",icon:r.aUl,color:"#1877F2"},{key:"tiktok",icon:r.AIX,color:"#000000"}].forEach((t=>{const a=t.key;b?.[a]&&e.push({title:L(m.C[`READING_${a.toUpperCase()}`]),subtitle:K(a,b[a]),icon:t?.icon,svg:t?.svg,iconColor:t?.color})})),e})(),...w>0?[{title:L(m.C.PROCESSING_UPLOADS),subtitle:`${w} files`,icon:l.JmV,iconColor:"#393F41"}]:[]];return T.createElement("div",{className:"flex flex-col items-center pt-auto sm:pt-[50px] md:pt-auto"},T.createElement("div",{className:(0,R.QP)("flex rounded-[24px] overflow-hidden",$?"flex-col w-full max-w-[320px] h-auto min-h-[500px] mx-4":j?"flex-col w-full max-w-[600px] h-auto min-h-[600px] mx-6":"w-[1084px] h-[578px]"),style:{boxShadow:"0px 1px 4px 0px rgba(0, 122, 255, 0.16)"}},T.createElement("div",{className:(0,R.QP)("flex-shrink-0 bg-white flex flex-col",$||j?"w-full rounded-t-[20px] border-b border-[#E5E5E5]":"w-[520px] rounded-l-[20px] border-r border-[#E5E5E5]")},T.createElement("div",{className:(0,R.QP)("sticky top-0 z-10 bg-white",$?"p-3 pb-2":j?"p-5 pb-3":"p-6 pb-4")},T.createElement("h2",{className:(0,R.QP)("font-normal leading-[36px]",$?"text-[20px] leading-[24px]":j?"text-[24px] leading-[28px]":"text-[32px]"),style:S.$w},L(m.C.TRAINING_TITLE))),T.createElement("div",{className:(0,R.QP)("flex-1 overflow-y-auto space-y-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-[#E5E5E5] hover:scrollbar-thumb-[#D1D5DB] scrollbar-thumb-rounded-full",$?"px-3 py-2":j?"px-5 py-4":"px-6 py-4")},M.description&&T.createElement("div",{className:(0,R.QP)("flex flex-col gap-3 bg-white border border-[#E5E5E5] rounded-2xl",$?"p-2":"p-4")},T.createElement("div",{className:"flex items-center gap-2"},M.image&&T.createElement("img",{src:M.image,alt:M.name||"Avatar",className:(0,R.QP)("rounded-full object-cover",$?"w-10 h-10":j?"w-11 h-11":"w-12 h-12")}),T.createElement("div",null,M.name&&T.createElement("h3",{className:(0,R.QP)("font-medium text-[#1B1918]",$?"text-[14px]":j?"text-[15px]":"text-[16px]")},M.name),M.headline&&T.createElement("p",{className:(0,R.QP)("text-[#6C7275]",$?"text-[12px]":j?"text-[13px]":"text-[14px]")},M.headline))),T.createElement("p",{className:(0,R.QP)("text-[#393F41] leading-[1.5]",$?"text-[12px]":j?"text-[13px]":"text-[14px]")},M.description),M.interests&&M.interests.length>0&&T.createElement("div",{className:"flex flex-wrap gap-2"},M.interests.map(((e,t)=>T.createElement("span",{key:t,className:(0,R.QP)("px-2 py-1 text-[#4E5DE0] bg-[#F2F4FF] rounded-full",$?"text-[10px]":j?"text-[11px]":"text-[12px]")},e))))),X.map(((e,t)=>T.createElement("div",{key:t,className:(0,R.QP)("flex items-center gap-3 bg-white border border-[#E5E5E5] rounded-2xl transition-all duration-300","shadow-[0_1px_2px_rgba(16,24,40,0.05)]",$?"p-2 gap-2":"p-3")},T.createElement("div",{className:(0,R.QP)("flex items-center justify-center bg-[#F7F9FA] rounded-lg",$?"w-8 h-8":j?"w-9 h-9":"w-10 h-10")},e.icon&&T.createElement(i.g,{icon:e.icon,className:(0,R.QP)("animate-pulse",$||j?"w-4 h-4":"w-5 h-5"),style:{color:e.iconColor}}),e.svg&&T.createElement(e.svg,{width:$?14:j?15:16,height:$?14:j?15:16})),T.createElement("div",{className:"flex-1 min-w-0"},T.createElement("div",{className:(0,R.QP)("leading-5 tracking-[0.24px] text-[#1B1918] whitespace-nowrap overflow-hidden text-ellipsis",$||j?"text-sm":"text-base")},e.title),T.createElement("div",{className:(0,R.QP)("leading-5 tracking-[0.21px] text-[#6C7275] whitespace-nowrap overflow-hidden text-ellipsis",$||j?"text-xs":"text-sm")},e.subtitle)),T.createElement("div",{className:"flex items-center"},T.createElement(i.g,{icon:s.z1G,className:(0,R.QP)("text-[#4E5DE0] animate-spin",$||j?"w-4 h-4":"w-5 h-5")}))))))),T.createElement("div",{className:(0,R.QP)($||j?"w-full rounded-b-[20px]":"w-[564px] rounded-r-[20px]")},T.createElement(y,null))),U&&T.createElement("div",{className:(0,R.QP)("flex flex-col items-center gap-6 mt-8 animate-fadeIn",$?"w-full px-4 max-w-[320px]":j?"w-full max-w-[600px] px-6":"!w-[720px]")},T.createElement("div",{className:"text-center"},e?T.createElement("h2",{className:(0,R.QP)("font-normal leading-[36px] mb-2",$?"text-[20px] leading-[24px]":j?"text-[24px] leading-[28px]":"text-[32px]"),style:{background:"linear-gradient(90deg, #838690 0%, #1B1918 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}},"Your AI is getting ready! Meanwhile, feel free to explore Graphy."):T.createElement("h2",{className:(0,R.QP)("font-normal leading-[36px] mb-2",$?"text-[20px] leading-[24px]":j?"text-[24px] leading-[28px]":"text-[32px]"),style:{background:"linear-gradient(90deg, #838690 0%, #1B1918 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}},L(m.C.WHILE_GENERATING),T.createElement("div",{className:(0,R.QP)("font-normal leading-[36px] text-[#1B1918]",$?"text-[20px] leading-[24px]":j?"text-[24px] leading-[28px]":"text-[32px]")},L(m.C.BEHIND_SCENES)))),T.createElement(o.A,{ref:x,className:(0,R.QP)("h-[56px] px-6 flex items-center justify-center rounded-[200px] text-white font-medium transition-all duration-300 hover:opacity-90 active:scale-95",$?"w-full max-w-[240px]":j?"w-[280px]":"w-[252px]"),style:{background:"linear-gradient(135deg, #4E5DE0 0%, #5868F6 100%)"},onClick:a=>{a.preventDefault();const r=Date.now()-(()=>{const e=sessionStorage.getItem("onboardingStartTime");return e?parseInt(e,10):V.current})(),l=Math.round(r/1e3),s=l<1?1:l;k.pathname.includes("/t/onboarding")&&(new C.Ay).sendEvent({type:u.c.NEW_ONB_PROFILE_GENERATED.LABEL,properties:W()});const i={name:M?.name,about_me:M?.description,image:M?.image,ques_count:M?.interests?.length||0,topic_names:M?.interests||[]};Y({type:n.L.AVATAR_PROFILE_GENERATED.LABEL,properties:{[n.L.AVATAR_PROFILE_GENERATED.PROPERTIES.ORG_ID]:G,[n.L.AVATAR_PROFILE_GENERATED.PROPERTIES.GENERATED_ELEMENTS]:JSON.stringify(i),[n.L.AVATAR_PROFILE_GENERATED.PROPERTIES.ONBOARDING_TIME_SPENT]:s,[n.L.AVATAR_PROFILE_GENERATED.PROPERTIES.SOURCE]:H}}),e?(v(3),t&&t()):(v(3),window.location.href=`${window.location.origin}/t/${A.fp.AI_AVATAR_PROFILE}?avatar=${D}`)}},L(m.C.CONTINUE_BUTTON))))}},11562:function(e,t,a){"use strict";a.d(t,{A:function(){return p}});var n=a(66188),r=a(20982),l=a(64982),s=a(68338),i=a(82104),o=a(96540),c=a(32389),E=a(77399),d=a(79656);const u=({status:e})=>o.createElement("div",{className:"flex items-center"},"pending"===e&&o.createElement("div",{className:"w-5 h-5 text-[#878C90]"},o.createElement(r.g,{icon:d.bnw,color:"#FA4D56"})),"uploading"===e&&o.createElement("div",{className:"w-5 h-5 mr-2"},o.createElement(r.g,{icon:d.z1G,className:"animate-spin text-[#4E5DE0]"})),"completed"===e&&o.createElement("div",{className:"w-5 h-5 text-green-500"},o.createElement(r.g,{icon:d.QRE,color:"#42BE65"})),"error"===e&&o.createElement("div",{className:"w-5 h-5 text-red-500"},o.createElement(r.g,{icon:d.bnw,color:"#FA4D56"})));function m(){return o.createElement("svg",{width:"18",height:"13",viewBox:"0 0 18 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("foreignObject",{x:"-155.75",y:"-155.375",width:"329.5",height:"324.25"},o.createElement("div",{style:{backdropFilter:"blur(78px)",clipPath:"url(#bgblur_0_1318_9291_clip_path)",height:"100%",width:"100%"}})),o.createElement("path",{"data-figma-bg-blur-radius":"156",d:"M17.0938 9.375C17.4948 9.41146 17.7135 9.63021 17.75 10.0312V10.4688C17.7318 11.1432 17.4948 11.7083 17.0391 12.1641C16.5833 12.6198 16.0182 12.8568 15.3438 12.875H2.65625C1.98177 12.8568 1.41667 12.6198 0.960938 12.1641C0.505208 11.7083 0.268229 11.1432 0.25 10.4688V10.0312C0.286458 9.63021 0.505208 9.41146 0.90625 9.375H17.0938ZM15.3438 11.5625C15.6172 11.5625 15.8451 11.4805 16.0273 11.3164C16.2279 11.1523 16.3555 10.9427 16.4102 10.6875H1.58984C1.64453 10.9427 1.77214 11.1523 1.97266 11.3164C2.15495 11.4805 2.38281 11.5625 2.65625 11.5625H15.3438ZM3.3125 2.15625V8.5H2V2.15625C2.01823 1.71875 2.16406 1.35417 2.4375 1.0625C2.72917 0.789062 3.09375 0.643229 3.53125 0.625H14.4688C14.9062 0.643229 15.2708 0.789062 15.5625 1.0625C15.8359 1.35417 15.9818 1.71875 16 2.15625V8.5H14.6875V2.15625C14.6693 2.02865 14.5964 1.95573 14.4688 1.9375H3.53125C3.40365 1.95573 3.33073 2.02865 3.3125 2.15625Z",fill:"#393F41"}),o.createElement("defs",null,o.createElement("clipPath",{id:"bgblur_0_1318_9291_clip_path",transform:"translate(155.75 155.375)"},o.createElement("path",{d:"M17.0938 9.375C17.4948 9.41146 17.7135 9.63021 17.75 10.0312V10.4688C17.7318 11.1432 17.4948 11.7083 17.0391 12.1641C16.5833 12.6198 16.0182 12.8568 15.3438 12.875H2.65625C1.98177 12.8568 1.41667 12.6198 0.960938 12.1641C0.505208 11.7083 0.268229 11.1432 0.25 10.4688V10.0312C0.286458 9.63021 0.505208 9.41146 0.90625 9.375H17.0938ZM15.3438 11.5625C15.6172 11.5625 15.8451 11.4805 16.0273 11.3164C16.2279 11.1523 16.3555 10.9427 16.4102 10.6875H1.58984C1.64453 10.9427 1.77214 11.1523 1.97266 11.3164C2.15495 11.4805 2.38281 11.5625 2.65625 11.5625H15.3438ZM3.3125 2.15625V8.5H2V2.15625C2.01823 1.71875 2.16406 1.35417 2.4375 1.0625C2.72917 0.789062 3.09375 0.643229 3.53125 0.625H14.4688C14.9062 0.643229 15.2708 0.789062 15.5625 1.0625C15.8359 1.35417 15.9818 1.71875 16 2.15625V8.5H14.6875V2.15625C14.6693 2.02865 14.5964 1.95573 14.4688 1.9375H3.53125C3.40365 1.95573 3.33073 2.02865 3.3125 2.15625Z"}))))}var p=({uploadedFiles:e,addUploadedFile:t,removeUploadedFile:a,showWarning:d=!0,maxFiles:p=10,reUploadFlow:A=!1})=>{const{t:S}=(0,c.Bd)(),_=(0,o.useRef)(null),C=e=>new Promise((t=>{if(e.type.startsWith("video/")||e.type.startsWith("audio/")){const a=document.createElement(e.type.startsWith("video/")?"video":"audio");a.preload="metadata",a.onloadedmetadata=()=>{window.URL.revokeObjectURL(a.src),t(I(a.duration))},a.onerror=()=>{window.URL.revokeObjectURL(a.src),t("")},a.src=URL.createObjectURL(e)}else t("")})),I=e=>e?`${Math.round(e)} sec`:"";return o.createElement("div",{className:"flex flex-col gap-4"},o.createElement("div",{className:"relative border border-[#E5E5E5] rounded-xl bg-white overflow-hidden"},o.createElement("div",{className:"flex items-center p-3 gap-3"},o.createElement("div",{className:"w-10 h-10 flex items-center justify-center bg-[#F7F9FA] rounded-lg"},o.createElement(m,null)),o.createElement("div",{className:"flex flex-col gap-1"},o.createElement("h3",{className:"text-[14px] font-medium text-[#393F41] leading-[1.43em] tracking-[0.15%]"},S(l.C.UPLOAD_DESKTOP_TITLE)),A?o.createElement("p",{className:"text-[12px] text-[#878C90] leading-[1.5em] tracking-[0.15%]"},S(l.C.UPLOAD_DESKTOP_DESCRIPTION_RE_UPLOAD)):o.createElement("p",{className:"text-[12px] text-[#878C90] leading-[1.5em] tracking-[0.15%]"},S(l.C.UPLOAD_DESKTOP_DESCRIPTION))),o.createElement("input",{ref:_,type:"file",multiple:!0,onChange:async a=>{if(!a.target.files)return;const n=Array.from(a.target.files);if(e.length+n.length>p)E.oR.error(`You can upload a maximum of ${p} files`);else{for(const a of n){if(e.some((e=>e.name===a.name&&e.size===a.size))){E.oR.error(`File "${a.name}" is already selected`);continue}if(a.size>52428800){E.oR.error("File too large. Please upload a file smaller than 50MB.");continue}if(!Object.values(s.a0).includes(a.type)){const e=Math.random().toString(36).substr(2,9);t({id:e,name:a.name,size:a.size,type:a.type,progress:0,status:"error",error:"Invalid file type",file:a});continue}const n=await C(a),r=Math.random().toString(36).substr(2,9);t({id:r,name:a.name,size:a.size,type:a.type,progress:0,status:"pending",file:a,duration:n})}_.current&&(_.current.value="")}},accept:Object.values(s.a0).join(","),className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"}))),e.length>0?o.createElement("div",{className:"mt-2"},o.createElement("h3",{className:"text-[12px] font-medium text-[#393F41] px-1 mb-3"},`${e.length} ${1===e.length?"file":"files"} added`),o.createElement("div",{className:"space-y-4 "+(A?"max-h-[360px] overflow-y-auto ":"")},e.map((e=>o.createElement("div",{key:e.id,className:"flex items-center justify-between bg-white rounded-xl"},o.createElement("div",{className:"flex items-center gap-3"},o.createElement("div",{className:"w-10 h-10 bg-[#F7F9FA] rounded-lg flex items-center justify-center"},o.createElement(r.g,{icon:s.AG[e.type],className:"w-4 h-4",color:"#393F41"})),o.createElement("div",{className:"flex flex-col gap-1"},o.createElement("div",{className:"text-[14px] font-normal text-[#393F41] truncate max-w-[220px]"},e.name),o.createElement("div",{className:"text-[12px] text-[#878C90]"},o.createElement("span",{className:"uppercase"},e?.name?.split(".")[1]||e.type.split("/")[1])," file | ",(0,i.z3)(e.size),e.duration?` | ${e.duration}`:""))),o.createElement("div",{className:"flex items-center gap-2"},o.createElement("button",{onClick:()=>{"pending"===e.status&&a(e.id)},className:"text-[#878C90] hover:text-[#1B1918] transition-colors"},o.createElement(u,{status:e.status})))))))):A?o.createElement("div",{className:" "}):null,d&&o.createElement("div",{className:"flex items-center gap-1.5 text-[12px] text-[#AAB1B7] leading-[1.5] tracking-[0.15%]"},o.createElement(r.g,{icon:n.lEd,className:"w-3 h-3"}),o.createElement("span",null,S(l.C.PRIVACY_DISCLAIMER))))}},11889:function(e,t,a){"use strict";a.d(t,{gm:function(){return s},x:function(){return r},yR:function(){return l}});const n=(0,a(2543).memoize)(JSON.stringify),r=({params:e,cache:t,setCache:a,api:r,ignoreCache:l=!1})=>new Promise((async(s,i)=>{try{let i;t?.[n(e)]&&!l?i=JSON.parse(t?.[n(e)]):(i=await r(e),a(n(e),n(i))),s(i)}catch(e){i(e)}})),l=({params:e,cache:t,setCache:a,api:n,ignoreCache:r=!1})=>new Promise((async(l,s)=>{try{let s;t?.[JSON.stringify(e)]&&!r?s=JSON.parse(t?.[JSON.stringify(e)]):(s=await n(e),a(JSON.stringify(e),JSON.stringify(s))),l(s)}catch(e){s(e)}})),s=({cache:e,setCacheGlobal:t,type:a})=>{const n=Object.keys(e);for(let t of n)t.includes(a)&&delete e[t];t(e)}},12163:function(e,t,a){"use strict";a.d(t,{Cc:function(){return O},F7:function(){return C},FY:function(){return T},O8:function(){return N},Uk:function(){return I},gG:function(){return f},j2:function(){return S},kj:function(){return h},qH:function(){return L},sv:function(){return R},u5:function(){return _}});var n=a(39238),r=a(92187),l=a(41999),s=a(47428),i=a(44867),o=a(68613),c=a(72505),E=a.n(c),d=a(38556),u=a(53122),m=a(14622),p=a(49414),A=a(76063);const S=({domain:e,email:t,password:a,type:n})=>{const l=document.getElementById(`spayee-${n}-form`),s=g();let i=`https://${e}/s/authenticate`;if(s&&s.hasOwnProperty("skipOnboarding")&&s.hasOwnProperty("destination")){let e="";switch(s.destination){case r.Wd.PRODUCTS:e="/t/products";break;case r.Wd.COURSES:e="/t/allcourses";break;case r.Wd.MEMBERSHIP:e="/t/dashboard-membership";break;case r.Wd.WEBINAR:e="/t/live-sessions";break;case r.Wd.TELEGRAM:e="/t/telegram"}i=`${i}?url=${e}&hideSecNav=true`}l&&(l.setAttribute("action",i),document.getElementById(`spayee-${n}-form-email`)?.setAttribute("value",t),document.getElementById(`spayee-${n}-form-password`)?.setAttribute("value",a),setTimeout((function(){l.submit()}),2e3))},_=async({domain:e,socialToken:t,userId:a,type:n})=>{const r=document.getElementById("spayee-social-form");r&&(r.setAttribute("action",`https://${e}/s/creator/social/login`),n===s.$9.FACEBOOK&&(document.getElementById("spayee-social-form-access_token")?.setAttribute("value",t),a&&document.getElementById("spayee-social-form-userID")?.setAttribute("value",a),document.getElementById("spayee-social-form-type")?.setAttribute("value",s.$9.FACEBOOK)),n===s.$9.GOOGLE&&(document.getElementById("spayee-social-form-id_token")?.setAttribute("value",t),document.getElementById("spayee-social-form-type")?.setAttribute("value",s.$9.GOOGLE)),setTimeout((function(){r.submit()}),2e3))},C=(e,t,a=!1)=>{let s="";const i=l.A.getState().setSignUpInputsErrors,o=l.A.getState().signUpInputsErrors,c=(e||"").trim();if(""!==c?(t===r.mY.EMAIL&&(d.t(c)||(s=n.u.INVALID_EMAIL)),t===r.mY.PASSWORD&&c.length<6&&(s=n.u.INVALID_PASSWORD),t===r.mY.ABOUT_CREATOR&&400===c.length&&(s=n.u.CHARACTER_LIMIT_EXCEEDED),t===r.mY.ORG_DESCRIPTION&&350===c.length&&(s=n.u.CHARACTER_LIMIT_EXCEEDED)):s=t===r.mY.ORG_NAME?n.u.REQUIRED_BRAND_NAME:t===r.mY.COURSE_CATEGORY?n.u.REQUIRED_COURSE_CATEGORY:t===r.mY.PHONE?n.u.REQUIRED_PHONE:t===r.mY.ABOUT_CREATOR||r.mY.ORG_DESCRIPTION?"":n.u.REQUIRED_INPUT,s&&!a&&i({...o,[t]:s}),a)return s},I=e=>{const t=l.A.getState().setSignUpInputsErrors,a=l.A.getState().signUpInputsErrors;let n=a?(0,m.fi)(a):{};n[e]&&delete n[e],t(n)},T=()=>{const e=localStorage.getItem("ipInfo");let t={};t={agreeTC:!0},e&&(t.ipInfo=e),t.signupParams=window.parent.signupParams||(0,o.j)();const a=(0,A.qj)("utmSource");null!==a&&""!==a&&(t.utmSource=a);const n=(0,A.qj)("utmMedium");null!==n&&""!==n&&(t.utmMedium=n);const r=(0,A.qj)("utmCampaign");null!==r&&""!==r&&(t.utmCampaign=r);const l=(0,A.qj)("utmTerm");null!==l&&""!==l&&(t.utmTerm=l);const s=(0,A.qj)("utmContent");return null!==s&&""!==s&&(t.utmContent=s),t},N=()=>{let e={},t={};if((0,p.VS)(i.O.LOCAL_STORAGE)){const a=localStorage.getItem("QUERY_PARAMS");if(a){try{e=JSON.parse(a)}catch(e){}if("skipOnboarding"in e){const a=e.skipOnboarding;t.skipOnboarding=a}if("destination"in e){const a=e.destination;t.destination=a}}return t}return{}},g=()=>{const e=window.location.search,t=new URLSearchParams(e),a=t.has("skipOnboarding")?t.get("skipOnboarding"):null,n=t.has("destination")?t.get("destination"):null;return null!==a&&null!==n?{skipOnboarding:a,destination:n}:{}},R=async()=>{try{await E()("/s/session",{method:"GET"})}catch(e){}},f=(e,t)=>{const{variables:a,isIndia:n}=t??{};return{collectPhone:[r.Qt.PLEASE_VERIFY_YOUR_PHONE_NUMBER,r.Qt.THIS_HELPS_US_ENSURE_YOUR_ACCOUNT_S_SECURITY_AND_SEND_IMPORTANT_UPDATES],otp:[r.Qt.loginToTitle(a?.orgName)],email:[r.Qt.LOGIN_USING_EMAIL],forgotMail:[],mobileWithEmail:[r.Qt.CHOOSE_YOUR_PRIMARY_EMAIL,r.Qt.YOUR_PHONE_IS_LINKED_TO_MULTIPLE_EMAILS],signupForm:n?[r.Qt.CREATE_AN_ACCOUNT]:[r.Qt.SIGN_UP_WITH_EMAIL],signupgetstarted:[r.Qt.LET_S_SETUP_YOUR_ACCOUNT],signupOptions:[r.Qt.CREATE_AN_ACCOUNT],social:[r.Qt.loginToTitle(a?.orgName)],socialTNC:[],verifyOtp:[r.Qt.ENTER_THE_OTP,r.Qt.otpSentDescription(a?.channel)],collectEmail:[r.Qt.PLEASE_VERIFY_YOUR_EMAIL,r.Qt.THIS_HELPS_US_ENSURE_YOUR_ACCOUNT_S_SECURITY_AND_SEND_IMPORTANT_UPDATES],"":[]}[e]||[]},h=e=>e?4!==e.length?"Please enter vaild otp":void 0:"Please enter otp",L=e=>{if(!e)return;const t=(0,u.lq)(e);return`+${t?.countryCallingCode}-${t?.nationalNumber}`},O=()=>{const e=window?.top?.location.pathname;return["/telegram/","/sessions/","/products/"].some((t=>e?.startsWith(t)))?`${e}?showPurchaseSuccess=true`:"/s/mycourses"}},12247:function(e,t,a){"use strict";var n=a(49456),r=a(45011),l=a(43755),s=a(8191),i=a(55843),o=a(42496),c=a(33919),E=a(31163),d=a(89707),u=a(49548),m=a(63219),p=a(2641),A=a(41999),S=a(89043),_=a(64119),C=a(8104),I=a(96540),T=a(32389),N=a(77399);const g=({onClose:e,isOpen:t,fetchWalletUsage:a,isInr:g,className:R,initialAmount:f})=>{const{t:h}=(0,T.Bd)(),[L]=(0,d.i)(),O=L,{contactNumber:b,callingCode:D}=(0,A.A)(),[y,M]=(0,I.useState)(f||null),[v,P]=(0,I.useState)(!1),w=O?.org?.currencyCode===S.U.INR,x=async(t,n)=>{let r;if(t&&(r={requestId:t,...n&&{paymentId:n}}),r)try{const t=await(0,_.lh)(r);console.log("response",t),t?.success?(a(),e(),N.oR.success("Funds Added Successfully")):N.oR.error("Error verifying payment. Please try again!")}catch(e){console.error("Failed to fetch wallet usage:",e),N.oR.error("Error verifying payment. Please try again!")}finally{P(!0)}else console.error("Missing orderId or paymentId")},U=(e=>e?p.o:[100,500,1e3])(w);return I.createElement(I.Fragment,null,I.createElement(r.A,{className:`rounded-[22px] ${R}`,showFooter:!1,showHeader:!1,showClose:!1,width:"form-modal w-[50vw] max-w-xl min-w-[24rem]",isVisible:t,onClose:e,isBackgroundClosable:!0},I.createElement("div",null,I.createElement(l.A,{className:"sticky top-0 flex items-center p-5 border-b border-b-slateStroke bg-white z-50"},I.createElement(l.A,{className:"w-full flex justify-between !items-center"},I.createElement(s.A,{className:"text-darkSlate01"},h("BILLING_USAGE:ADD_FUNDS")),I.createElement("div",{className:"w-8 h-8 bg-[#F7F9FA] rounded-full flex items-center justify-center"},I.createElement(i.A,{icon:n.GRI,onClick:e,className:"w-4 h-4 text-[#393F41] cursor-pointer"})))),I.createElement("div",{className:"py-5 border-b border-b-slateStroke !px-4"},I.createElement(l.A,{className:"flex items-center justify-center w-full"},I.createElement("div",{className:"space-y-6 w-full"},I.createElement("div",{className:"flex items-center text-5xl font-medium text-gray-800"},I.createElement("span",{className:"text-[42px] text-black90"},h(g?"BILLING_USAGE:RUPEES":"BILLING_USAGE:DOLLAR")),I.createElement(C.o,{containerWidth:"w-full",type:o.nl.NUMBER,containerMargin:"mt-0",placeholder:"0",className:"!text-[42px] placeholder:text-[42px] placeholder:text-black40 font-medium text-black90 border-none focus:ring-0 focus:outline-none",value:y,onChange:e=>M(e)})),y&&(g&&(Number(y)<500||Number(y)>5e4)?I.createElement("span",{className:"text-errorMid text-caption block ml-[10px]"},h("Enter an amount between ₹500 and ₹50,000",{min:"500",max:"50,000"})):!g&&(Number(y)<10||Number(y)>1e3)?I.createElement("span",{className:"text-errorMid text-caption block ml-[10px]"},h("Enter an amount between $10 and $1000",{min:"10",max:"1,000"})):null),I.createElement("div",{className:"flex gap-4 mt-3"},U.map((e=>I.createElement("button",{key:e,type:"button",onClick:()=>M((t=>`${Number(t||0)+e}`)),className:"text-black90 font-medium px-4 py-2 border border-slateStroke rounded-md text-sm hover:bg-gray-100"},"+",e.toLocaleString("en-IN"))))),I.createElement("div",{className:"space-y-3 text-sm text-gray-600 mt-6"},g&&I.createElement("div",{className:"flex justify-between font-light text-darkSlate04 pb-1"},I.createElement("span",{className:"uppercase"},h("BILLING_USAGE:TAX_GST_18")),I.createElement("span",{className:"text-black90 font-medium"}," ",I.createElement("span",{className:"mr-2"},h("BILLING_USAGE:RUPEES")),(.18*Number(y||0)).toLocaleString("en-IN"))),I.createElement("div",{className:"flex justify-between font-light text-darkSlate04 border-t border-t-slateStroke pt-4"},I.createElement("span",null,h("BILLING_USAGE:NET_AMOUNT_PAYABLE")),I.createElement("span",{className:"text-black90 font-medium"},I.createElement("span",{className:"mr-2"},h(g?"BILLING_USAGE:RUPEES":"BILLING_USAGE:DOLLAR")),(Number(y||0)*(g?1.18:1)).toLocaleString(g?"en-IN":"en-US",{minimumFractionDigits:2,maximumFractionDigits:2}))))))),I.createElement("div",{className:"sticky bottom-0 w-full bg-white border-t border-t-slateStroke left-0 flex items-end justify-end p-4 z-100"},I.createElement("div",{className:"flex items-center"},I.createElement(c.A,{className:"!bg-bluePrimary !font-medium !text-slate05 !text-body !w-full md:!w-fit !px-10 rounded-[33px]",isLoading:v,onClick:async()=>{const e={amount:y?parseFloat(parseFloat(y).toFixed(2)):0};let t=!1;try{P(!0);const a=await(0,_.z7)(e);console.log("res",a);const n=a?.data;if(n?.payment_gateway===u.uW.RAZORPAY&&n?.gateway_key&&n?.order_id){const e={key:n.gateway_key,name:"Graphy",description:"Test Plan",order_id:n.order_id,prefill:{email:O.email?O.email.replace(`${O?.org?.alias}-`||"",""):void 0,name:O.name||"",contact:D&&b?`+${D}${b}`:void 0},theme:{color:m.WJ,backdrop_color:m.Tn},handler(e){x(e.razorpay_order_id,e.razorpay_payment_id)},modal:{escape:!1,onDismiss:function(){P(!1)}}},a=new window.Razorpay(e);a.on("payment.failed",(e=>{console.log("Error Response:",e),t||(t=!0,N.oR.error("Error Adding Funds!"))})),a.open()}else if(n?.payment_gateway===u.uW.CHARGEBEE&&n?.order_id)x(n.order_id);else if(n?.payment_gateway===u.uW.STRIPE&&n?.gateway_key&&n?.order_id){const e=document.createElement("script");e.src="https://js.stripe.com/v3/",e.onload=()=>{window.Stripe(n.gateway_key).redirectToCheckout({sessionId:n?.order_id}).then((e=>{e.error&&alert(e.error.message)}))},document.body.appendChild(e)}}catch(e){console.error("Failed to fetch wallet usage:",e),N.oR.error("Error Adding Funds!")}},disabled:!y||isNaN(Number(y))||Number(y)<=0||g&&(Number(y)<500||Number(y)>5e4)||!g&&(Number(y)<10||Number(y)>1e3),size:E.v.MD},h("BILLING_USAGE:PROCEED_TO_PAY")))))))};g.displayName="AddFundsModal",t.A=g},12390:function(e,t,a){"use strict";a.d(t,{$o:function(){return H},JO:function(){return C},MC:function(){return I},PW:function(){return L},Rq:function(){return P},Rv:function(){return M},WI:function(){return v},YQ:function(){return g},_D:function(){return h},ak:function(){return Y},ax:function(){return F},b6:function(){return U},bu:function(){return y},cD:function(){return G},do:function(){return B},ex:function(){return O},ez:function(){return k},jg:function(){return w},k6:function(){return x},nk:function(){return K},no:function(){return N},po:function(){return D},re:function(){return R},sG:function(){return V},uC:function(){return T},z4:function(){return b}});var n=a(6012),r=a(3616),l=a(9852),s=a(90244),i=a(74353),o=a.n(i),c=a(6279),E=a.n(c),d=a(83826),u=a.n(d),m=a(72635),p=a(2543),A=a(84743),S=a.n(A);o().extend(u()),o().extend(E());const _=a(90445);o().extend(_);const C=(e,t="YYYY-MM-DD")=>o().utc(e).local().format(t),I=(e,t,a="YYYY-MM-DD")=>o()(e).add(t,"day").format(a),T=()=>o()(new Date).add(1,"day").format("YYYY-MM-DD"),N=()=>(new Intl.DateTimeFormat)?.resolvedOptions()?.timeZone,g=e=>{const t=(0,s.A)(new Date,{[r.U$[e].durationUnit]:r.U$[e].durationPeriod});return{start_date:(0,l.A)((0,s.A)(new Date,{[r.U$[e].durationUnit]:r.U$[e].durationPeriod}),"yyyy-MM-dd"),timezone_offset:t.getTimezoneOffset(),...N()?{timezone:N()}:{}}},R=(e,t="DD MMM YYYY, h:mm A",a=!0)=>{return e||""===e?(n=o()(),r=o()(e),o()(n).diff(o()(r),"day")>2?C(e,t):`${(e=>{const t=o().utc(e).local().format();return o()().to(o()(t))})(e)}${a?`, ${o().utc(e).local().format("h:mm A")}`:""}`):"-";var n,r},f=[{label:"COMMON:INTERVALS.YEAR",seconds:31536e3},{label:"COMMON:INTERVALS.MONTH",seconds:2592e3},{label:"COMMON:INTERVALS.DAY",seconds:86400},{label:"COMMON:INTERVALS.HOUR",seconds:3600},{label:"COMMON:INTERVALS.MINUTE",seconds:60},{label:"COMMON:INTERVALS.SECOND",seconds:1}],h=e=>{const t=Math.floor((Date.now()-e.getTime())/1e3),a=0===t?f[5]:f.find((e=>e.seconds{if(e){const t=o()();return(e?o()(e).diff(t,"millisecond"):0)<=0}},O=e=>e<0,b=({planCancellationDate:e,daysAfterTrial:t})=>{const a=n.o8-Number(t);return e&&L(e)||O(a)},D=e=>o()(e).format("DD MMM YYYY"),y=e=>{const t=o()(),a=t.date();let n=t.month(),r=t.year();if(a>e){const e=t.add(1,"month");n=e.month(),r=e.year()}const l=o()(`${r}-${n+1}`,"YYYY-M").daysInMonth(),s=Math.min(e,l);return o()().year(r).month(n).date(s).format("MMM D, YYYY")},M=()=>o()().add(1,"month").startOf("month").format("MMM D, YYYY"),v=(e,t="DD/MM/YYYY")=>o()(e).format(t),P=e=>Math.floor(((new Date).getTime()-e)/864e5)+1,w=e=>e<10?`0${e}`:e,x=(e,t)=>"string"==typeof e||"string"==typeof t?new Date(e)>new Date(t):e>t,U=e=>{const t=new Date(e),a=new Date;let n;return n=Math.abs(t.getTime()-a.getTime())/36e5<24,n},F=e=>{const t=new Date(e),a=new Date;let n;return n=Math.abs(t.getTime()-a.getTime())/6e4<10,n},B=(e,t)=>{const a=new Date(e);return(0,p.isObject)(t)&&t.hasOwnProperty("time")?a{const t=e?new Date(e):new Date;return`${t.getFullYear()}/${String(t.getMonth()+1).padStart(2,"0")}/${String(t.getDate()).padStart(2,"0")} ${String(t.getHours()).padStart(2,"0")}:${String(t.getMinutes()).padStart(2,"0")}:${String(t.getSeconds()).padStart(2,"0")}`},k=e=>{const t=new Date(e),a=new Date-t;return Math.floor(a/864e5)},H=e=>S().utc(e,"YYYY-MM-DD HH:mm:ss.SSSSSS").local().format("DD MMM, hh:mm A"),V=e=>e?S()(e).format("MMMM DD, YYYY hh:mm A"):"",Y=e=>{const t=new Date,a=new Date(e),n=Math.floor((t.getTime()-a.getTime())/1e3);if(n<60)return`${n}s ago`;const r=Math.floor(n/60);if(r<60)return`${r}m ago`;const l=Math.floor(r/60);if(l<24)return`${l}h ago`;const s=Math.floor(l/24);if(s<7)return`${s}d ago`;const i=Math.floor(s/7);if(i<4)return`${i}w ago`;const o=Math.floor(s/30);return o<12?`${o}mo ago`:`${Math.floor(s/365)}y ago`},W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,j=(e,t)=>`${W[e]} ${t}`,K=()=>{const e=new Date,t=e.getMonth(),a=e.getFullYear(),n=[];for(let e=0;e<12;e++){let r=t-e,l=a;r<0&&(r+=12,l--);const s=new Date(l,r,1),i=0===e?"Current month":j(r,l),o=$(s),c=$(new Date(l,r+1,0));n.push({label:i,value:o,endDate:c})}return n}},12841:function(e,t,a){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}a.d(t,{ZH:function(){return n}})},12888:function(e,t,a){"use strict";a.d(t,{n:function(){return r}});var n=a(96540);function r(){let[e,t]=(0,n.useState)(navigator.onLine);return(0,n.useEffect)((()=>{let e=()=>t(!1),a=()=>t(!0);return window.addEventListener("offline",e),window.addEventListener("online",a),()=>{window.removeEventListener("offline",e),window.removeEventListener("online",a)}}),[]),e}},12967:function(e,t,a){"use strict";var n=a(96540);const r=({children:e,color:t,bgColor:a,containerClassName:r,className:l})=>n.createElement("span",{className:`flex ${r}`},n.createElement("span",{className:`${a} py-[2px] px-1 text-caption ${t} ${l}`},e));r.displayName="Pill",r.defaultProps={color:"text-warningDark",bgColor:"bg-warningLight",className:"",containerClassName:""},t.A=r},14622:function(e,t,a){"use strict";a.d(t,{Dg:function(){return I},O:function(){return x},Rk:function(){return T},VM:function(){return w},VT:function(){return M},WI:function(){return P},WW:function(){return f},bE:function(){return y},fi:function(){return b},id:function(){return G},ke:function(){return U},m$:function(){return L},n4:function(){return F},qV:function(){return C},qZ:function(){return O},u1:function(){return N},uG:function(){return D},vP:function(){return R},vb:function(){return h},yy:function(){return B}});var n=a(31163),r=a(58973),l=a(5377),s=a(48818),i=a(94798),o=a(40841),c=a(976),E=a(38419),d=a(72505),u=a.n(d),m=a(72635),p=a(96540),A=a(77399),S=a(49414);const _=(e,t)=>{let a,n;return"Course"===e||e===s.y.COURSES_PACKAGES||t===l.kf.COURSES_AND_PACKAGES?(a=i.A.getCourseAndAssetSuggestions,n={key:"spayee:resource.spayee:title",type:"course+package"}):"Tags"===e?(a=i.A.getTagsSuggestions,n={key:"spayee:resource.spayee:tags",type:"courseasset"}):"Webinar"===e?(a=c._.liveSessionSuggestions,n={isPast:!0,isAsset:!0}):t===l.kf.LIVE_SESSIONS?(a=c._.liveSessionSuggestions,n={}):t===l.kf.DIGITAL_PRODUCT?(a=i.A.getDigitalProductSuggestions,n={limit:50}):t===l.kf.EMAIL_CAMPAIGN?(a=o.A.campaignsListSuggesstions,n={}):t===l.kf.COURSE?(a=i.A.getCourseAndAssetSuggestions,n={key:"spayee:resource.spayee:title",type:"course"}):t===l.kf.LIVE_CLASS&&(a=i.A.getCourseAndAssetSuggestions,n={key:"spayee:resource.spayee:title",type:"courseasset",emailCampaignLiveClass:!0}),{searchAPI:a,searchParams:n}},C=({type:e,filter:t,filterList:a,selectedFilterObjCopy:r,isFilterDrawerOpen:l,getFilterLabel:i,showApplyButton:o,onFilterSelected:c,onApplyClick:E,onResetClick:d,newUI:u})=>{const m={items:a,onSelected:(e,a,n)=>c({isChecked:a,selectedItems:e,key:n,multiple:t.multiple??!1,operator:t.operator}),onApplyClick:E,onResetClick:d,searchAPI:_(t.label,t.searchApiKey).searchAPI,searchParams:_(t.label,t.searchApiKey).searchParams,multiple:t.multiple,hideSearch:!t.search,apiKey:t.apiKey,searchInputType:t.searchInputType,searchApiKey:t?.searchApiKey,label:i({label:t.label,key:t.apiKey,selectedFilterObjCopy:r}),excludeSearchedItemId:t?.excludeSearchedItemId},p=[s.y.COURSES_PACKAGES_API_KEY,s.y.MEMBERSHIP_API_KEY];if("row"===e){const e=r?.[t.apiKey];return{...m,className:"mr-4",key:t.label,disabled:l,showApply:o?o(t.apiKey):()=>{},inputClassName:"pl-[0.5rem]",closeClassName:"absolute z-10 bg-transparent right-px top-px ,cursor-pointer flex-center h-[97%]",inputContainerClassName:"bg-white [0.5rem] pr-6",listPadding:"px-5 py-4",showReset:!p.includes(e?.[0])&&void 0!==e,...u&&{newUiTriggerBtnClassNames:"rounded-lg",newUiListClassNames:"!px-4 !py-5 !rounded-lg border border-slate",newUiBtnContainerClassNames:"!px-0",newUiApplyBtnClassNames:"!h-10 !rounded-full !text-body !font-medium",newUiResetBtnClassNames:"!h-10 !rounded-full !text-body !font-medium",newUiApplyBtnText:"Apply changes"}}}return{...m,isCenter:!1,isAbsoluteList:!1,hasElevation:!1,padding:"py-4",margin:"mx-6",border:t?.hideBorderBottom?"":"border-b border-b-slateStroke",listBgColor:"bg-slateLight",inputBgColor:"bg-transparent",labelSize:n.p.BODY,listPadding:"px-5 py-4",listMargin:"mx-5",listWidth:"w-[21.5rem]",inputClassName:"bg-slateLight pr-6",closeClassName:"absolute z-10 bg-slateLight right-px top-px cursor-pointer flex-center h-[97%]",canMultipleMultiSelectOpen:!0}},I=({apiKey:e,multiSelectOpenLabel:t,setMultiSelectOpenLabel:a})=>{let n=JSON.parse(JSON.stringify(t));if(n.includes(e)){const t=n.indexOf(e);n.splice(t,1)}else n.push(e);a(n)},T=(e,t)=>{let a,n=t?.[e]?.[0]?.operator?.toLowerCase();const r="date_range"===n?t?.[e]?.[0]?.value[0]:t?.[e]?.[0]?.value,l="date_range"===n?t?.[e]?.[0]?.value[1]:null;return a="date_equals"===n?{label:(0,m.t)("COMMON:ON"),value:"on"}:"date_range"===n?{label:(0,m.t)("COMMON:BETWEEN"),value:"between"}:"before"===n?{label:(0,m.t)("COMMON:BEFORE"),value:"before"}:"after"===n?{label:(0,m.t)("COMMON:AFTER"),value:"after"}:{label:(0,m.t)("COMMON:ON"),value:"on"},{date:r?new Date(r):null,prefix:a,endDate:l?new Date(l):null}},N=({selectedFilter:e,selectedFilterObj:t,key:a,prefix:n,date:r,endDate:l})=>{let s={...e},i={...t};s[a]||(s[a]={}),i||(i={});let o="";return o="on"===n.value?"DATE_EQUALS":"between"===n.value?"DATE_RANGE":n.value.toUpperCase(),s[a]="DATE_RANGE"===o?[{value:[r?.format("YYYY-MM-DD")??"",l?.format("YYYY-MM-DD")??""],operator:o}]:[{value:r?.format("YYYY-MM-DD"),operator:o}],i[a]=[],r&&(i[a].push(o),i[a].push(r?.format("DD MMM YYYY"))),l&&i[a].push(l?.format("DD MMM YYYY")),{updatedSelectedFilter:s,updatedSelectedFilterObj:i}},g=e=>e.replace(/[A-Z]/g,(e=>`_${e.toLowerCase()}`)),R=e=>{if(e){const t=Object.keys(e);let a=[];for(let n of t)"createdDate"===n||"modifiedDate"===n||"lastLoginAt"===n||"timePeriod"===n?a.push(e[n].slice(0,1)):a.push(e[n]);return[].concat.apply([],a).length}return 0},f=e=>e?Object.keys(e).length:0,h=({label:e,key:t,selectedFilterObjCopy:a})=>{if(a){let n=a[t]?.length??0;if("courses"===t)a.enrolled?n=a.enrolled.length:a.notenrolled&&(n=a.notenrolled.length);else if("liveSession"===t)a.enrolled?n=a.enrolled.length:a.notenrolled&&(n=a.notenrolled.length);else if("createdDate"===t||"modifiedDate"===t||"lastLoginAt"===t||"timePeriod"===t||"startTime"===t||"timePeriodTypes"===t){const r={DATE_EQUALS:(0,m.t)("COMMON:ON"),AFTER:(0,m.t)("COMMON:AFTER"),BEFORE:(0,m.t)("COMMON:BEFORE")};if(2===n)return`${e} : ${r[a[t][0]]} ${a[t][1]}`;if(3===n)return`${e} : ${a[t][1]} - ${a[t][2]}`}return n>0?`${e} : (${n})`:e}return e},L=({label:e,key:t,selectedFilterObjCopy:a})=>{if(a){let n=a[t]?.length??0;if("courses"===t)a.enrolled?n=a.enrolled.length:a.notenrolled&&(n=a.notenrolled.length);else if("liveSession"===t)a.enrolled?n=a.enrolled.length:a.notenrolled&&(n=a.notenrolled.length);else if("createdDate"===t||"modifiedDate"===t||"lastLoginAt"===t||"timePeriod"===t||"startTime"===t||"timePeriodTypes"===t){const r={DATE_EQUALS:(0,m.t)("COMMON:ON"),AFTER:(0,m.t)("COMMON:AFTER"),BEFORE:(0,m.t)("COMMON:BEFORE")};if(2===n)return p.createElement("span",null,e," : ",r[a[t][0]]," ",a[t][1]);if(3===n)return p.createElement("span",null,e," : ",a[t][1]," - ",a[t][2])}return n>0?p.createElement("span",null,e," : ",p.createElement("span",{className:"text-primary"},"(",n,")")):e}return e},O=e=>{const t=Object.keys(e);let a="";for(let n of t){const r=e[n];if("type"!==n)if("startDate"===n&&t.includes("timePeriod"))delete e.startDate;else if("timePeriod"===n)e.startDate&&delete e.startDate,e.endDate&&delete e.endDate,"object"==typeof r?a+=`start_date=${r[0]}&end_date=${r[1]}&`:("before"===e.timePeriodType&&(a+=`end_date=${r}&`),"after"!==e.timePeriodType&&"on"!==e.timePeriodType||(a+=`start_date=${r}&`));else if("object"==typeof r)for(let e of r)a+=`${g(n)}=${e}&`;else a+=`${g(n)}=${r}&`}return a=a.slice(0,-1),a},b=e=>JSON.parse(JSON.stringify(e)),D=(e,t)=>{let a="";u().isAxiosError(e)&&(a=e.response?.data?.message),A.oR.error(a||"Something went wrong. Please try again later.",{bodyClassName:"toastSpanContainer",...t})},y=e=>{let t="Something went wrong. Please try again.";return u().isAxiosError(e)&&(e.response?.data?.message?t=e.response?.data?.message:e.response?.data?.msg?t=e.response?.data?.msg:e.response?.data?.error?.message&&(t=e.response?.data?.error?.message)),t},M=(e,t)=>{const a=new RegExp(Object.keys(t).join("|"),"gi");return e.replace(a,(e=>t[e]))},v=!("undefined"==typeof window||!window.document||!window.document.createElement),P=e=>!(!v||!(0,S.VS)("sessionStorage")||(sessionStorage?.getItem(e)?"true"!==sessionStorage.getItem(e):(sessionStorage?.setItem(e,"true"),0))),w=(e,t,a,n=!1)=>{const l=encodeURIComponent(t),s=n?((e,t)=>{switch(t){case r.TC:return`${e}&${E.kU.ShareType}=${E.LN.Whatsapp}`;case r.cy:return`${e}&${E.kU.ShareType}=${E.LN.Telegram}`;case r.rt:return`${e}&${E.kU.ShareType}=${E.LN.Facebook}`;case r.Cq:return`${e}&${E.kU.ShareType}=${E.LN.Twitter}`;case r.RB:return`${e}&${E.kU.ShareType}=${E.LN.Linkedin}`}})(a,e):a;switch(e){case r.TC:return`https://api.whatsapp.com/send?text=${l}`;case r.cy:return`https://t.me/share/url?url=${s}&text=${l}`;case r.rt:return`http://www.facebook.com/share.php?u=${s}`;case r.Cq:return`https://twitter.com/share?url=${s}&text=${l}`;case r.RB:return`https://www.linkedin.com/sharing/share-offsite?url=${s}&title=${l}`}},x=({text:e})=>{navigator.clipboard.writeText(e)},U=e=>e.reduce(((e,t)=>(e.some((e=>e.id===t.id))||e.push(t),e)),[]);function F(e){if(!e)return"";const t=e.replace(/\D/g,"");return t.startsWith("+")?t:10===t.length?`+91${t}`:12===t.length&&t.startsWith("91")?`+91${t.slice(2)}`:t}const B=e=>new Promise((t=>setTimeout(t,e))),G=e=>{const t=e?.recurSubscriptionPlan2;return t?"team@graphy.com":"care@graphy.com"}},14842:function(e,t,a){"use strict";var n=a(16128),r=a(90724),l=a(39238),s=a(27893),i=a(77399);const o={doesDomainExists:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.doesDomainExists(e)).data)}catch(e){i.oR.error((0,s.U)(e)),a(e)}})),editDefaultDomain:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.editDefaultDomain(e)).data)}catch(e){a(e)}})),createCustomDomain:e=>new Promise((async(t,a)=>{try{let s=await n.F.feature.settings.createCustomDomain(e);s.data?(s=(0,r.O)(s.data),t(s)):a(l.u.SOMETHING_WENT_WRONG)}catch(e){i.oR.error((0,s.U)(e)),a(e)}})),verifyCustomDomain:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.verifyCustomDomain(e)).data)}catch(e){i.oR.error((0,s.U)(e)),a(e)}})),setPrimaryDomain:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.setPrimaryDomain(e)).data)}catch(e){i.oR.error((0,s.U)(e)),a(e)}})),deleteCustomDomain:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.deleteCustomDomain(e)).data)}catch(e){i.oR.error((0,s.U)(e)),a(e)}})),verifyCustomEmailDomain:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.settings.verifyCustomEmailDomain()).data)}catch(e){t(e)}})),getOrgSettings(){return new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getOrgSettings()).data)}catch(e){i.oR.error((0,s.U)(e)),t(e)}}))},updateOrgSettings(e){return new Promise((async(t,a)=>{try{const a=await n.F.feature.settings.updateOrgSettings(e);if(200!==a.status){const e=new Error("Email already exists");throw e.status=400,e}t(a.data)}catch(e){a(e)}}))},updateMultipleOrgSettings(e){return new Promise((async(t,a)=>{try{t((await n.F.feature.settings.updateOrgSettings(e)).data)}catch(e){a(e)}}))},updateSecureVideoSupportIOS(e){return new Promise((async(t,a)=>{try{t((await n.F.feature.settings.updateSecureVideoSupportIOS(e)).data)}catch(e){a(e)}}))},captureMarketingConsent(e){return new Promise((async(t,a)=>{try{t((await n.F.feature.settings.captureMarketingConsent(e)).data)}catch(e){a(e)}}))},getCustomiseTemplates(){return new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getCustomiseTemplates()).data.templates)}catch(e){t(e)}}))},changeTemplateStatus(e,t){return new Promise((async(a,r)=>{try{await n.F.feature.settings.changeTemplateStatus(e,t),a()}catch(e){r(e)}}))},createCustomEmailDomain(e){return new Promise((async(t,a)=>{try{const a=await n.F.feature.settings.createCustomEmailDomain(e);t((0,r.O)(a.data))}catch(e){a(e)}}))},getDomainDNSRecords(e){return new Promise((async(t,a)=>{try{const a=await n.F.feature.settings.getDomainDNSRecords(e);t((0,r.O)(a.data))}catch(e){a(e)}}))},deleteCustomEmailDomain(){return new Promise((async(e,t)=>{try{await n.F.feature.settings.deleteCustomEmailDomain(),e()}catch(e){t(e)}}))},downloadLicenseUsageData(){return new Promise((async(e,t)=>{try{e((await n.F.feature.settings.downloadLicenseUsageData()).data)}catch(e){t(e)}}))},deleteUserProfileFields(e){return new Promise((async(t,a)=>{try{t((await n.F.feature.settings.deleteUserProfileFields(e)).data)}catch(e){a(e)}}))},getLicenseCount(){return new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getLicenseCount()).data)}catch(e){t(e)}}))},resetAllLoginDevices(){return new Promise((async(e,t)=>{try{await n.F.feature.settings.resetAllLoginDevices(),e()}catch(e){t(e)}}))},saveTemplate(e){return new Promise((async(t,a)=>{try{await n.F.feature.settings.saveTemplate(e),t()}catch(e){a(e)}}))},testTemplate(e,t){return new Promise((async(a,r)=>{try{a((await n.F.feature.settings.testTemplate(e,t)).data)}catch(e){r(e)}}))},getTemplateInfo:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.getTemplateInfo(e)).data.template)}catch(e){a(e)}})),getDefaultTemplate:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.getDefaultTemplate(e)).data.template)}catch(e){a(e)}})),getInvoiceNumber:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getInvoiceNumber()).data)}catch(e){t(e)}})),getGloginLearners:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getGloginLearners()).data)}catch(e){t(e)}})),getPaymentConfig:()=>new Promise((async(e,t)=>{try{e((await n.F.feature.settings.getPaymentConfig()).data)}catch(e){t(e)}})),deleteCountryPaymentConfig:e=>new Promise((async(t,a)=>{try{await n.F.feature.settings.deleteCountryPaymentConfig(e),t()}catch(e){a(e)}})),deletePaymentGatewayRevSharePlan:e=>new Promise((async(t,a)=>{try{t((await n.F.feature.settings.deletePaymentGatewayRevSharePlan(e)).data)}catch(e){a(e)}})),createCashfreeKyc:(e,t,a,r)=>new Promise((async l=>{try{l(await n.F.feature.settings.createCashfreeKyc(e,t,a,r))}catch(e){i.oR.error((0,s.U)(e)),l({data:{isFailed:!0}})}})),uploadCashfreeKycDocs:e=>new Promise((async(t,a)=>{try{t(await n.F.feature.settings.uploadCashfreeKycDocs(e))}catch(e){a(e)}})),getCashfreeKyc:()=>new Promise((async(e,t)=>{try{const t=await n.F.feature.settings.getCashfreeKyc();e(t?.data)}catch(e){t(e)}}))};t.A=o},14889:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/liveLearners300_57a6f16ee70daf57b0f0.png"},15384:function(e,t,a){"use strict";a.d(t,{L:function(){return r}});const n={ORG_ID:"org_id",AVATAR_ID:"avatar_id",PURPOSE:"purpose"},r={CREATE_AVATAR_TAPPED:{LABEL:"avatar_creation_started",PROPERTIES:{ORG_ID:"org_id",TIMESTAMP:"timestamp"}},AVATAR_CREATION_CONTINUE:{LABEL:"knowledge_provided",PROPERTIES:{SOCIALS_CONNECTED:"socials_connected",SOCIAL_TYPE:"social_type",WEBSITE_URL_ADDED:"website_url_added",SCRAPE_ENTIRE_DOMAIN:"scrape_entire_domain",SYNC_ASSET_LIB:"sync_asset_lib",UPLOAD_FILES:"upload_files",UPLOAD_TYPE:"upload_type",SOURCE:"source",ORG_ID:"org_id",TIMESTAMP:"timestamp"}},AVATAR_PROFILE_GENERATED:{LABEL:"avatar_profile_generated",PROPERTIES:{ORG_ID:"org_id",GENERATED_ELEMENTS:"generated_elements",ONBOARDING_TIME_SPENT:"onboarding_time_spent",SOURCE:"source"}},PROFILE_PIC_UPLOADED:{LABEL:"profile_pic_uploaded",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},AVATAR_NAME_CLICKED:{LABEL:"avatar_name_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},TRAINING_AVATAR:{LABEL:"training_avatar",PROPERTIES:{ORG_ID:"org_id",SOURCE:"source"}},HEADLINE_CLICKED:{LABEL:"headline_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},AVATAR_URL_CLICKED:{LABEL:"avatar_url_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},ABOUT_ME_CLICKED:{LABEL:"about_me_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},TOPICS_ADDED:{LABEL:"topics_added",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",TOPICS_ADDED:"topics_added",TOPICS_COUNT:"topics_count"}},TOPICS_SELECTED:{LABEL:"topics_selected",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",TOPICS_DESELECTED:"topics_deselected",TOPICS_SELECTED:"topics_selected"}},SUGGESTED_QUESTIONS_EDITED:{LABEL:"suggested_questions_edited",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",QUESTIONS_ADDED:"questions_added",QUESTIONS_REMOVED:"questions_removed",TOTAL_SELECTED:"total_selected"}},SUGGESTED_QUESTIONS_ADDED:{LABEL:"suggested_questions_added",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CHAR_LENGTH:"char_length"}},LANGUAGE_SELECTED:{LABEL:"language_selected",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id"}},RESPONSE_LENGTH_SET:{LABEL:"response_length_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",RESPONSE_TYPE:"response_type"}},CREATIVITY_LEVEL_SET:{LABEL:"creativity_level_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CREATIVITY_LEVEL:"creativity_level"}},DYNAMIC_QUES_SET:{LABEL:"dynamic_ques_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",STATUS:"status"}},PERSONALISED_RESPONSES_SET:{LABEL:"personalised_responses_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",STATUS:"status"}},RECENCY_BIAS_SET:{LABEL:"recency_bias_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",STATUS:"status"}},FAVOR_NEW_CONTENT_SET:{LABEL:"favor_new_content_set",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",STATUS:"status"}},WRITING_STYLE_EDITED:{LABEL:"writing_style_edited",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CHAR_COUNT:"char_count"}},ALL_CONVERSATIONS:{LABEL:"all_conversations",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CONVERSATION_COUNT:"conversation_count"}},NOTIFICATIONS_VIEWED:{LABEL:"notifications_viewed",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",UNANSWERED_COUNT:"unanswered_count"}},CREATOR_MESSAGE_SENT:{LABEL:"creator_message_sent",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",LEARNER_ID:"learner_id",CONVERSATION_ID:"conversation_id",CHARACTER_COUNT:"character_count"}},MESSAGE_SKIPPED:{LABEL:"message_skipped",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",LEARNER_ID:"learner_id",QUESTION_TEXT:"question_text"}},MESSAGE_COPIED:{LABEL:"message_copied",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",LEARNER_ID:"learner_id",QUESTION_TEXT:"question_text"}},CUSTOM_INSTRUCTION_ADDED:{LABEL:"custom_instruction_added",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",INSTRUCTIONS_COUNT:"instructions_count",PURPOSE:"purpose"}},CUSTOM_INSTRUCTION_DELETED:{LABEL:"custom_instruction_deleted",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",INSTRUCTIONS_LEFT:"instructions_left",PURPOSE:"purpose"}},DISABLE_CONTENT:{LABEL:"disable_content",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",ITEMS_COUNT:"items_count"}},ADD_CONTENT:{LABEL:"add_content",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",TAB:"tab",WEBSITE_URL:"website_url",URLS:"urls",FILES_UPLOADED:"files_uploaded",SNIPPET_COUNTS_ADDED:"snippet_counts_added",SOURCE:"source"}},INITIAL_MESSAGE_EDITED:{LABEL:"initial_message_edited",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CHAR_COUNT:"char_count"}},NO_ANSWER_MESSAGE_EDITED:{LABEL:"no_answer_message_edited",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",CHAR_COUNT:"char_count"}},AVATAR_PUBLIC_LINK_COPY:{LABEL:"avatar_public_link_copy",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},EMBED_CODE_CLICKED:{LABEL:"embed_code_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},EMBED_CODE_COPIED:{LABEL:"embed_code_copied",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},AVATAR_PUBLISH_CLICKED:{LABEL:"avatar_publish_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},AVATAR_PUBLISH_CONFIRMATION:{LABEL:"avatar_publish_confirmation",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},AVATAR_PUBLISH_LATER_CLICKED:{LABEL:"avatar_publish_later_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},AVATAR_DEPLOYED:{LABEL:"avatar_deployed",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose",WEBSITE_LOGGEDIN:"website_loggedin",WEBSITE_LOGGEDOUT:"website_loggedout",LEARNER_DASHBOARD:"learner_dashboard",ANDROID_LOGGEDOUT:"android_loggedout",ANDROID_LOGGEDIN:"android_loggedin",IOS_LOGGEDOUT:"ios_loggedout",IOS_LOGGEDIN:"ios_loggedin"}},AVATAR_UNPUBLISH_CLICKED:{LABEL:"avatar_unpublish_clicked",PROPERTIES:{ORG_ID:"org_id",AVATAR_NAME:"avatar_name",AVATAR_PURPOSE:"avatar_purpose"}},VOICE_ENABLED:{LABEL:"voice_enabled",PROPERTIES:{...n}},VOICE_DISABLED:{LABEL:"voice_disabled",PROPERTIES:{...n}},VOICE_UPLOAD_CLICK:{LABEL:"voice_upload_click",PROPERTIES:{...n}},VOICE_SAMPLE_ADDED:{LABEL:"voice_sample_added",PROPERTIES:{...n,SAMPLE_COUNT:"sample_count"}},VOICE_INITIAL_MSG:{LABEL:"voice_initial_msg",PROPERTIES:{...n}},VOICE_FALLBACK_MSG:{LABEL:"voice_fallback_msg",PROPERTIES:{...n}},VOICE_SETUP_CONTINUE:{LABEL:"voice_setup_continue",PROPERTIES:{...n}},VOICE_SETUP_NEXT:{LABEL:"voice_setup_next",PROPERTIES:{...n,SAMPLE_COUNT:"sample_count"}},AVATAR_PAGE_VIEW:{LABEL:"avatar_page_view",PROPERTIES:{ORG_ID:"org_id",AVATAR_ID:"avatar_id",TAB_NAME:"tab_name",PAGE_NAME:"page_name"}}}},15406:function(e,t,a){"use strict";a.d(t,{A:function(){return S}});var n=a(43755),r=a(40841),l=a(8676),s=a(96540),i=a(38433),o=a(62371),c=a(33919),E=a(89707),d=a(61110),u=a(32389),m=a(56347),p=a(17634),A=({handleGetStartedClick:e,campaignType:t})=>{const{t:a}=(0,u.Bd)(),[r]=(0,E.i)(),[l,A]=((0,m.W6)(),(0,s.useState)(!1)),S=r;let{org:_}=S||d.vB;return s.createElement(n.A,{className:"flex flex-col gap-[24px] items-center justify-center w-[1100px]"},s.createElement("div",null,s.createElement(i.A,{className:"text-[28px] font-600 text-[#232228]"},"Get started with ","email"===t?"email":"WhatsApp"," campaigns"),s.createElement("p",{className:"text-[16px] font-400 text-[#878C90] mt-3 text-center"},"Let your audience feel the magic of your brand in their inbox")),s.createElement(n.A,{className:"flex gap-[24px] p-10"},s.createElement("div",{className:"bg-white rounded-[16px] p-[20px] gap-[16px] flex flex-col w-full"},s.createElement("div",{className:"mt-[40px] mb-[8px]"},s.createElement(p.ip,null)),s.createElement("div",{className:"mb-6"},s.createElement(o.A,{className:"text-[14px] font-500 text-[#393F41] m-0"},"Drive more sales"),s.createElement("p",{className:"text-[14px] font-400 text-[#AAB1B7] m-0 !mt-2"},"Send targeted offers and product drops that convert better."))),s.createElement("div",{className:"bg-white rounded-[16px] p-[20px] gap-[16px] flex flex-col w-full"},s.createElement("div",{className:"mt-[40px] mb-[4px]"},"email"===t?s.createElement(p.p3,null):s.createElement(p.V,{className:"h-[34px]"})),s.createElement("div",{className:"mb-6"},s.createElement(o.A,{className:"text-[14px] font-500 text-[#393F41] m-0"},"email"===t?"Easily nurture and convert leads":"Pick a Template or Start Fresh"),s.createElement("p",{className:"text-[14px] font-400 text-[#AAB1B7] m-0 !mt-2"},"Stay engaged with your contacts and turn leads into customers."))),s.createElement("div",{className:"bg-white rounded-[16px] p-[20px] gap-[16px] flex flex-col w-full"},s.createElement("div",{className:"mt-[40px] mb-[8px]"},s.createElement(p.wF,null)),s.createElement("div",{className:"mb-6"},s.createElement(o.A,{className:"text-[14px] font-500 text-[#393F41] m-0"},"Automate workflows"),s.createElement("p",{className:"text-[14px] font-400 text-[#AAB1B7] m-0 !mt-2"},"Never miss a chance to nudge — live class, course launches & more.")))),s.createElement(c.A,{as:"button",type:"button",className:"flex w-fit bg-[#4E5DE0] items-baseline rounded-[33px] px-6 py-3.5 [&>*]:leading-numb "+(l?"cursor-not-allowed opacity-50":""),onClick:()=>{A(!0),e()},disabled:l},a("EMAIL_CAMPAIGN:GET_STARTED")))},S=({campaignType:e})=>{(0,l.o)((e=>e.tab));const t=(0,l.o)((e=>e.setTab));return(0,s.useEffect)((()=>{const e=localStorage.getItem("campaign-tab");e&&(t(e),localStorage.removeItem("campaign-tab"))}),[]),s.createElement(n.A,{className:"mt-20 mb-6 flex flex-col gap-8 items-center justify-center"},s.createElement(A,{campaignType:e,handleGetStartedClick:async()=>{try{await r.A.updateFirstTimeVisit(e),localStorage.setItem("campaign-tab",e),window.location.reload()}catch(e){}}}))}},15692:function(e,t,a){"use strict";a.d(t,{u:function(){return c}});var n=a(33919),r=a(74036),l=a(31387),s=a(51748),i=a(23302),o=a(96540);const c=({confirmMessage:e,title:t,ctaLabel:a,ctaColor:c,modalLoading:E=!1,onClose:d,onCtaClick:u,isVisible:m,extraCtaLabel:p,ctaClasses:A,descriptionTextClasses:S="",icon:_,iconBg:C,modalWidthClass:I,ctaEndIcon:T,extraCTAVariant:N,bodyClasses:g="",showExtraCTA:R=!0,onExtraCtaClick:f=null,ctaButtonType:h="BUTTON",extraCTAClasses:L="",additionalElements:O})=>o.createElement(i.A,{isForm:!1,title:t,icon:_,iconBg:C,width:I,ctaLabel:a,ctaColor:c,loading:E,onClose:d,isVisible:m,ctaClasses:A,onCtaClick:u,ctaEndIcon:T,bodyClasses:g,ctaButtonType:h,extraCtaRenderer:()=>R?o.createElement(n.A,{variant:N||r.Vt.STROKE,className:`mr-2 whitespace-nowrap ${L}`,color:r.jL.SECONDARY,type:r.II.BUTTON,onClick:()=>f?f():d(),disabled:!1},p||s.cf.CANCEL):null},o.createElement(l.A,{className:S},e),O||null);c.defaultProps={ctaClasses:""}},16101:function(e,t,a){"use strict";a.d(t,{AB:function(){return I},CU:function(){return v},Ce:function(){return W},DC:function(){return G},FV:function(){return F},Fr:function(){return x},GC:function(){return L},GF:function(){return M},GQ:function(){return T},HH:function(){return k},Ig:function(){return f},ND:function(){return w},Qb:function(){return B},R8:function(){return P},UL:function(){return g},V7:function(){return O},Zq:function(){return R},eE:function(){return C},ek:function(){return b},hC:function(){return N},j8:function(){return D},qe:function(){return y},s$:function(){return U},tk:function(){return Y},x3:function(){return h}});var n=a(49456),r=a(74036),l=a(64557),s=a(5377),i=a(19273),o=a(65391),c=a(60582),E=a(3406),d=a(82173),u=a(76740),m=a(30654),p=a(93139),A=a(72635),S=a(49190);const _=[{txt:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_TABS.ANALYTICS"),filter:d.rg.ANALYTICS,itemOptions:{}},{txt:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_TABS.DETAILS"),filter:d.rg.DETAILS,itemOptions:{}}],C=[..._],I=[..._,{txt:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_TABS.EMAIL_SEQUENCE"),filter:d.rg.EMAIL_SEQUENCE,itemOptions:{}}],T=[{label:(0,A.t)("EMAIL_CAMPAIGN:EMAIL_SCHEDULER.NOW"),value:"immediate"},{label:(0,A.t)("EMAIL_CAMPAIGN:EMAIL_SCHEDULER.SCHEDULE"),value:"schedule"}],N=[{label:"Duplicate",key:"duplicate",icon:n.$3n},{label:"Edit Campaign",key:"edit_campaign",icon:n.hpd},{label:"Pause",key:"paused",icon:n.M6O},{label:"Resume",key:"resume",icon:n.ijD},{label:"Delete",key:"delete",icon:n.yLS}],g=[{label:"Edit Template",key:"edit_template",icon:n.hpd},{label:"Duplicate",key:"duplicate",icon:n.$3n},{label:"Delete",key:"delete",icon:n.yLS}],R=[{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_DESCRIPTION"),value:"",key:o.tR.CAMPAIGN_NAME,placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_PLACEHOLDER"),errGetter:p.LN.validateCampaignName},{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_DESCRIPTION"),placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_PLACEHOLDER"),value:"",key:o.tR.FROM_NAME,errGetter:p.LN.validateFromName},{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_DESCRIPTION"),placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_PLACEHOLDER"),value:"",key:o.tR.FROM_EMAIL,errGetter:p.LN.validateFromEmail},{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_DESCRIPTION"),placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_PLACEHOLDER"),value:"",key:o.tR.REPLY_EMAIL,errGetter:p.LN.validateReplyEmail},{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.RECIPIENT_QUERY_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.RECIPIENT_QUERY_DESCRIPTION"),placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.RECIPIENT_QUERY_PLACEHOLDER"),value:"",key:o.tR.RECIPIENT_QUERY,errGetter:p.LN.validateRecipientsQuery,extraLabel:!0},{label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.SCHEDULED_AT_LABEL"),placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.SCHEDULED_AT_PLACEHOLDER"),value:"",key:o.tR.START_AT,errGetter:p.LN.validateStartAt}],f=((0,A.t)("Email"),d.rg.ALL,(0,A.t)("EMAIL_CAMPAIGN:TABS.SETTINGS"),d.rg.SETTINGS,[{txt:(0,A.t)("EMAIL_CAMPAIGN:TABS.EMAIL_WISE"),filter:d.rg.EMAIL_WISE,itemOptions:{}},{txt:(0,A.t)("EMAIL_CAMPAIGN:TABS.LEARNER_WISE"),filter:d.rg.LEARNER_WISE,itemOptions:{}}]),h=[{label:"Status",list:[{uuid:"email-campaign-draft",label:"Draft",value:"draft"},{uuid:"email-campaign-scheduled",label:"Scheduled",value:"scheduled"},{uuid:"email-campaign-inprogress",label:"In Progress",value:"in_progress"},{uuid:"email-campaign-completed",label:"Completed",value:"completed"},{uuid:"email-campaign-running",label:"Running",value:"running"},{uuid:"email-campaign-paused",label:"Paused",value:"paused"},{uuid:"email-campaign-failed",label:"Failed",value:"failed"}],type:E.a.MULTI_SELECT,apiKey:"status",operator:E.we.IN,multiple:!0},{label:"Created On",list:S.v,type:E.a.DATE,apiKey:"createdDate",operator:E.we.AFTER}],L=[{label:"Status",list:[{uuid:"email-campaign-draft",label:"Draft",value:"draft"},{uuid:"email-campaign-inprogress",label:"In Progress",value:"in_progress"},{uuid:"email-campaign-completed",label:"Completed",value:"completed"},{uuid:"email-campaign-failed",label:"Failed",value:"failed"}],type:E.a.MULTI_SELECT,apiKey:"status",operator:E.we.IN,multiple:!0},{label:"Created On",list:S.v,type:E.a.DATE,apiKey:"createdDate",operator:E.we.AFTER}],O=[{label:"Tags",list:[{uuid:"analytics-sent",label:"Delivered",value:"sent"},{uuid:"analytics-bounced",label:"Bounced",value:"bounced"},{uuid:"analytics-failed",label:"Failed",value:"failed"},{uuid:"analytics-opened",label:"Opened",value:"email_opened"},{uuid:"analytics-link-clicked",label:"Link Clicked",value:"link_clicked"},{uuid:"analytics-unsubscribed",label:"Unsubscribed",value:"unsubscribed"}],type:E.a.MULTI_SELECT,apiKey:"tags",operator:E.we.IN,multiple:!0}],b=[{label:"Email tags",list:[{uuid:"analytics-delivered",label:"Delivered",value:"sent"},{uuid:"analytics-bounced",label:"Bounced",value:"bounced"},{uuid:"analytics-failed",label:"Failed",value:"failed"},{uuid:"analytics-opened",label:"Opened",value:"email_opened"},{uuid:"analytics-link-clicked",label:"Link Clicked",value:"link_clicked"},{uuid:"analytics-unsubscribed",label:"Unsubscribed",value:"unsubscribed"},{uuid:"analytics-marked-as-spam",label:"Marked as spam",value:"spam"},{uuid:"analytics-stopped",label:"Stopped",value:"stopped"}],type:E.a.MULTI_SELECT,apiKey:"tags",operator:E.we.IN,multiple:!0},{label:"Status",list:[{uuid:"email-campaign-inprogress",label:"In Progress",value:"in_progress"},{uuid:"email-campaign-completed",label:"Completed",value:"completed"}],type:E.a.MULTI_SELECT,apiKey:"status",operator:E.we.IN,multiple:!0},{label:"Last Activity",list:S.v,type:E.a.DATE,apiKey:"latestActivity",operator:E.we.AFTER}],D=[{id:"confirm-btn",label:(0,A.t)("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.CONFIRM"),showUnder:"ftue",type:"submit",classNames:"!w-auto !text-body !font-medium text-white !py-2.5 !px-4 !bg-sapphire01"},{id:"skipForNow-btn",label:(0,A.t)("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.SKIP_FOR_NOW"),showUnder:"ftue",type:"button",classNames:"!w-auto !text-body !font-medium !text-sapphire01 !py-2.5 !px-4",variant:r.Vt.GHOST},{id:"save-btn",label:(0,A.t)("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.SAVE"),showUnder:"settings",type:"submit",classNames:"!w-auto !text-body !font-medium text-white !py-2.5 !px-4 !bg-sapphire01"},{id:"modal-confirm-btn",label:(0,A.t)("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.CONFIRM"),showUnder:"modal",type:"submit",classNames:"!w-auto !text-body !font-medium text-white !py-2.5 !px-4 !bg-sapphire01"}],y=[{id:"whatsapp",title:"WhatsApp"},{id:"email",title:"Email"}],M=[{id:"broadcast",title:(0,A.t)("EMAIL_CAMPAIGN:CREATE_CAMPAIGN_MODAL.BROADCAST_TITLE"),description:(0,A.t)("EMAIL_CAMPAIGN:CREATE_CAMPAIGN_MODAL.BROADCAST_DESC")},{id:"sequence",title:(0,A.t)("EMAIL_CAMPAIGN:CREATE_CAMPAIGN_MODAL.SEQUENCE_TITLE"),description:(0,A.t)("EMAIL_CAMPAIGN:CREATE_CAMPAIGN_MODAL.SEQUENCE_DESC")}],v=[{label:(0,A.t)("EMAIL_CAMPAIGN:EMAIL_CONTENT_FORM.SUBJECT_LABEL"),value:"",key:o.tR.EMAIL_TEMPLATE.SUBJECT,placeholder:(0,A.t)("EMAIL_CAMPAIGN:EMAIL_CONTENT_FORM.SUBJECT_PLACEHOLDER"),errGetter:p.LN.validateEmailSubject},{label:"",placeholder:(0,A.t)("EMAIL_CAMPAIGN:EMAIL_CONTENT_FORM.BODY_TEXT_PLACEHOLDER"),value:"",key:o.tR.EMAIL_TEMPLATE.BODY,errGetter:p.LN.validateEmailBody}],P=[{id:1,value:"{{user_name}}",description:(0,A.t)("EMAIL_CAMPAIGN:KEYWORDS_LIST.FULL_NAME_OF_THE_LEARNER")},{id:2,value:"{{user_email}}",description:(0,A.t)("EMAIL_CAMPAIGN:KEYWORDS_LIST.EMAIL_OF_THE_LEARNER")}],w=[{id:"sequence_started",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.SEQ_STARTED_TITLE"),stats:128,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.SEQ_STARTED_INFO"),showDownload:!0,icon:n.cIp},{id:"delivered",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.DELIVERED_TITLE"),stats:128,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.DELIVERED_INFO"),showDownload:!1,icon:n.rke},{id:"unique_opens",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNIQUE_OPENS_TITLE"),stats:23,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNIQUE_OPENS_INFO"),showDownload:!1,icon:n.pS3},{id:"total_clicks",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.CLICKS_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.CLICKS_INFO"),showDownload:!1,icon:n.qyE},{id:"sequence_completed",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.SEQ_COMPLETED_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.SEQ_COMPLETED_INFO"),showDownload:!1,icon:n.T6g},{id:"bounced",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.BOUNCED_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.BOUNCED_INFO"),showDownload:!1,icon:n.e6X},{id:"unsubscribed",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNSUBSCRIBED_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNSUBSCRIBED_INFO"),showDownload:!1,icon:n.Dfk},{id:"spam",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.MARKED_SPAM_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.MARKED_SPAM_INFO"),showDownload:!1,icon:n._6d}],x=[{id:"total_recipients",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.RECIPIENTS_TITLE"),stats:128,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.RECIPIENTS_INFO"),showDownload:!0,icon:n.USd},{id:"delivered",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.DELIVERED_TITLE"),stats:128,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.DELIVERED_INFO"),showDownload:!1,icon:n.rke},{id:"unique_opens",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNIQUE_OPENS_TITLE"),stats:23,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.UNIQUE_OPENS_INFO"),showDownload:!1,icon:n.pS3},{id:"total_clicks",title:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.CLICKS_TITLE"),stats:7,info:(0,A.t)("EMAIL_CAMPAIGN:ANALYTICS_STATS.CLICKS_INFO"),showDownload:!1,icon:n.qyE}],U=[{label:"Email",value:"email"},{label:"Name",value:"name"}],F=[{label:o.Z3.TYPES_OF_LEARNERS,type:E.a.MULTI_SELECT,apiKey:o.Cu.LEARNER_TYPE,operator:E.we.EQUALS,list:[{uuid:"learner-all",label:"All learners",value:"all"},{uuid:"learner-paid",label:"All paid learners",value:"paid"},{uuid:"learner-non-paid",label:"Non-paying learners",value:"nonPaid"}],hideBorderBottom:!0},{label:"",type:E.a.HORIZONTAL_RULE,apiKey:"",operator:E.we.EQUALS},{label:o.Z3.SIGN_UP_DATE,type:E.a.DATE,list:S.v,apiKey:o.Cu.CREATED_DATE,operator:E.we.AFTER,hideBorderBottom:!0},{label:"",type:E.a.HORIZONTAL_RULE,apiKey:"",operator:E.we.EQUALS},{label:o.Z3.COURSE_FILTERS,type:E.a.CATEGORY_HEADING,apiKey:"course-filters",operator:E.we.EQUALS},{label:o.Z3.ENROLLED_IN_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.Z3.NOT_ENROLLED_IN_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_NOT_ENROLLED,search:!0,multiple:!0,operator:E.we.NOT_IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.Z3.COMPLETED_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_COMPLETED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.Z3.NOT_COMPLETED_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_NOT_COMPLETED,search:!0,multiple:!0,operator:E.we.NOT_IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.Z3.VALIDITY_IS_ACTIVE_FOR_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_ACTIVE,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.Z3.VALIDITY_EXPIRED_FOR_COURSES,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_EXPIRED,search:!0,multiple:!0,operator:E.we.NOT_IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:"",type:E.a.HORIZONTAL_RULE,apiKey:"",operator:E.we.EQUALS},{label:o.Z3.MEMBERSHIP_STATUS,type:E.a.MULTI_SELECT,apiKey:o.Cu.MEMBERSHIP_STATUS,operator:E.we.EQUALS,roles:[m.tX.STUDENT,m.tX.AFFILIATE,m.tX.SUB_ADMIN,m.tX.SUPER_ADMIN,m.tX.INSTRUCTOR],list:[{uuid:"membership-status-yes",label:i.m.ACTIVE,value:"Active",operator:E.we.EQUALS},{uuid:"membership-status-SCHEDULE",label:i.m.SCHEDULE_FOR_CANCELLATION,value:"Schedule for cancellation",operator:E.we.EQUALS},{uuid:"membership-status-no",label:i.m.INACTIVE,value:"Inactive",operator:E.we.EQUALS}],hideBorderBottom:!0},{label:"",type:E.a.HORIZONTAL_RULE,apiKey:"",operator:E.we.EQUALS},{label:o.Z3.WEBINAR_FILTERS,type:E.a.CATEGORY_HEADING,apiKey:"webinar-filters",operator:E.we.EQUALS},{label:o.Z3.REGISTERED_IN_WEBINARS,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.Z3.NOT_REGISTERED_IN_WEBINARS,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_NOT_ENROLLED,search:!0,multiple:!0,operator:E.we.NOT_IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.Z3.ATTENDED_WEBINARS,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ATTENDED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.Z3.NOT_ATTENDED_WEBINARS,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_NOT_ATTENDED,search:!0,multiple:!0,operator:E.we.NOT_IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:"",type:E.a.HORIZONTAL_RULE,apiKey:"",operator:E.we.EQUALS}],B=((0,l.s)(n.x0T),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE1_TITLE"),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE1_DESC"),(0,l.s)(n.LFz),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE2_TITLE"),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE2_DESC"),(0,l.s)(n.wLd),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE3_TITLE"),(0,A.t)("EMAIL_CAMPAIGN:FEATURE.FEATURE3_DESC"),[{label:"Alabama",value:"AL"},{label:"Alaska",value:"AK"},{label:"Arizona",value:"AZ"},{label:"Arkansas",value:"AR"},{label:"California",value:"CA"},{label:"Colorado",value:"CO"},{label:"Connecticut",value:"CT"},{label:"Delaware",value:"DE"},{label:"Florida",value:"FL"},{label:"Georgia",value:"GA"},{label:"Hawaii",value:"HI"},{label:"Idaho",value:"ID"},{label:"Illinois",value:"IL"},{label:"Indiana",value:"IN"},{label:"Iowa",value:"IA"},{label:"Kansas",value:"KS"},{label:"Kentucky",value:"KY"},{label:"Louisiana",value:"LA"},{label:"Maine",value:"ME"},{label:"Maryland",value:"MD"},{label:"Massachusetts",value:"MA"},{label:"Michigan",value:"MI"},{label:"Minnesota",value:"MN"},{label:"Mississippi",value:"MS"},{label:"Missouri",value:"MO"},{label:"Montana",value:"MT"},{label:"Nebraska",value:"NE"},{label:"Nevada",value:"NV"},{label:"New Hampshire",value:"NH"},{label:"New Jersey",value:"NJ"},{label:"New Mexico",value:"NM"},{label:"New York",value:"NY"},{label:"North Carolina",value:"NC"},{label:"North Dakota",value:"ND"},{label:"Ohio",value:"OH"},{label:"Oklahoma",value:"OK"},{label:"Oregon",value:"OR"},{label:"Pennsylvania",value:"PA"},{label:"Rhode Island",value:"RI"},{label:"South Carolina",value:"SC"},{label:"South Dakota",value:"SD"},{label:"Tennessee",value:"TN"},{label:"Texas",value:"TX"},{label:"Utah",value:"UT"},{label:"Vermont",value:"VT"},{label:"Virginia",value:"VA"},{label:"Washington",value:"WA"},{label:"West Virginia",value:"WV"},{label:"Wisconsin",value:"WI"},{label:"Wyoming",value:"WY"}]),G=[{label:"Andhra Pradesh",value:"AP"},{label:"Arunachal Pradesh",value:"AR"},{label:"Assam",value:"AS"},{label:"Bihar",value:"BR"},{label:"Chhattisgarh",value:"CT"},{label:"Delhi",value:"DL"},{label:"Goa",value:"GA"},{label:"Gujarat",value:"GJ"},{label:"Haryana",value:"HR"},{label:"Himachal Pradesh",value:"HP"},{label:"Jharkhand",value:"JH"},{label:"Karnataka",value:"KA"},{label:"Kerala",value:"KL"},{label:"Madhya Pradesh",value:"MP"},{label:"Maharashtra",value:"MH"},{label:"Manipur",value:"MN"},{label:"Meghalaya",value:"ML"},{label:"Mizoram",value:"MZ"},{label:"Nagaland",value:"NL"},{label:"Odisha",value:"OR"},{label:"Punjab",value:"PB"},{label:"Rajasthan",value:"RJ"},{label:"Sikkim",value:"SK"},{label:"Tamil Nadu",value:"TN"},{label:"Telangana",value:"TG"},{label:"Tripura",value:"TR"},{label:"Uttar Pradesh",value:"UP"},{label:"Uttarakhand",value:"UT"},{label:"West Bengal",value:"WB"}],k=[{label:"Afghanistan",value:"Afghanistan"},{label:"Albania",value:"Albania"},{label:"Algeria",value:"Algeria"},{label:"Andorra",value:"Andorra"},{label:"Angola",value:"Angola"},{label:"Antigua and Barbuda",value:"Antigua and Barbuda"},{label:"Argentina",value:"Argentina"},{label:"Armenia",value:"Armenia"},{label:"Australia",value:"Australia"},{label:"Austria",value:"Austria"},{label:"Azerbaijan",value:"Azerbaijan"},{label:"Bahamas",value:"Bahamas"},{label:"Bahrain",value:"Bahrain"},{label:"Bangladesh",value:"Bangladesh"},{label:"Barbados",value:"Barbados"},{label:"Belarus",value:"Belarus"},{label:"Belgium",value:"Belgium"},{label:"Belize",value:"Belize"},{label:"Benin",value:"Benin"},{label:"Bhutan",value:"Bhutan"},{label:"Bolivia",value:"Bolivia"},{label:"Bosnia and Herzegovina",value:"Bosnia and Herzegovina"},{label:"Botswana",value:"Botswana"},{label:"Brazil",value:"Brazil"},{label:"Brunei",value:"Brunei"},{label:"Bulgaria",value:"Bulgaria"},{label:"Burkina Faso",value:"Burkina Faso"},{label:"Burundi",value:"Burundi"},{label:"Cabo Verde",value:"Cabo Verde"},{label:"Cambodia",value:"Cambodia"},{label:"Cameroon",value:"Cameroon"},{label:"Canada",value:"Canada"},{label:"Central African Republic",value:"Central African Republic"},{label:"Chad",value:"Chad"},{label:"Chile",value:"Chile"},{label:"China",value:"China"},{label:"Colombia",value:"Colombia"},{label:"Comoros",value:"Comoros"},{label:"Congo, Democratic Republic of the",value:"Congo, Democratic Republic of the"},{label:"Congo, Republic of the",value:"Congo, Republic of the"},{label:"Costa Rica",value:"Costa Rica"},{label:"Croatia",value:"Croatia"},{label:"Cuba",value:"Cuba"},{label:"Cyprus",value:"Cyprus"},{label:"Czech Republic",value:"Czech Republic"},{label:"Denmark",value:"Denmark"},{label:"Djibouti",value:"Djibouti"},{label:"Dominica",value:"Dominica"},{label:"Dominican Republic",value:"Dominican Republic"},{label:"Ecuador",value:"Ecuador"},{label:"Egypt",value:"Egypt"},{label:"El Salvador",value:"El Salvador"},{label:"Equatorial Guinea",value:"Equatorial Guinea"},{label:"Eritrea",value:"Eritrea"},{label:"Estonia",value:"Estonia"},{label:"Eswatini",value:"Eswatini"},{label:"Ethiopia",value:"Ethiopia"},{label:"Fiji",value:"Fiji"},{label:"Finland",value:"Finland"},{label:"France",value:"France"},{label:"Gabon",value:"Gabon"},{label:"Gambia",value:"Gambia"},{label:"Georgia",value:"Georgia"},{label:"Germany",value:"Germany"},{label:"Ghana",value:"Ghana"},{label:"Greece",value:"Greece"},{label:"Grenada",value:"Grenada"},{label:"Guatemala",value:"Guatemala"},{label:"Guinea",value:"Guinea"},{label:"Guinea-Bissau",value:"Guinea-Bissau"},{label:"Guyana",value:"Guyana"},{label:"Haiti",value:"Haiti"},{label:"Honduras",value:"Honduras"},{label:"Hungary",value:"Hungary"},{label:"Iceland",value:"Iceland"},{label:"India",value:"India"},{label:"Indonesia",value:"Indonesia"},{label:"Iran",value:"Iran"},{label:"Iraq",value:"Iraq"},{label:"Ireland",value:"Ireland"},{label:"Israel",value:"Israel"},{label:"Italy",value:"Italy"},{label:"Jamaica",value:"Jamaica"},{label:"Japan",value:"Japan"},{label:"Jordan",value:"Jordan"},{label:"Kazakhstan",value:"Kazakhstan"},{label:"Kenya",value:"Kenya"},{label:"Kiribati",value:"Kiribati"},{label:"Kuwait",value:"Kuwait"},{label:"Kyrgyzstan",value:"Kyrgyzstan"},{label:"Laos",value:"Laos"},{label:"Latvia",value:"Latvia"},{label:"Lebanon",value:"Lebanon"},{label:"Lesotho",value:"Lesotho"},{label:"Liberia",value:"Liberia"},{label:"Libya",value:"Libya"},{label:"Liechtenstein",value:"Liechtenstein"},{label:"Lithuania",value:"Lithuania"},{label:"Luxembourg",value:"Luxembourg"},{label:"Madagascar",value:"Madagascar"},{label:"Malawi",value:"Malawi"},{label:"Malaysia",value:"Malaysia"},{label:"Maldives",value:"Maldives"},{label:"Mali",value:"Mali"},{label:"Malta",value:"Malta"},{label:"Marshall Islands",value:"Marshall Islands"},{label:"Mauritania",value:"Mauritania"},{label:"Mauritius",value:"Mauritius"},{label:"Mexico",value:"Mexico"},{label:"Micronesia",value:"Micronesia"},{label:"Moldova",value:"Moldova"},{label:"Monaco",value:"Monaco"},{label:"Mongolia",value:"Mongolia"},{label:"Montenegro",value:"Montenegro"},{label:"Morocco",value:"Morocco"},{label:"Mozambique",value:"Mozambique"},{label:"Myanmar",value:"Myanmar"},{label:"Namibia",value:"Namibia"},{label:"Nauru",value:"Nauru"},{label:"Nepal",value:"Nepal"},{label:"Netherlands",value:"Netherlands"},{label:"New Zealand",value:"New Zealand"},{label:"Nicaragua",value:"Nicaragua"},{label:"Niger",value:"Niger"},{label:"Nigeria",value:"Nigeria"},{label:"North Korea",value:"North Korea"},{label:"North Macedonia",value:"North Macedonia"},{label:"Norway",value:"Norway"},{label:"Oman",value:"Oman"},{label:"Pakistan",value:"Pakistan"},{label:"Palau",value:"Palau"},{label:"Palestine",value:"Palestine"},{label:"Panama",value:"Panama"},{label:"Papua New Guinea",value:"Papua New Guinea"},{label:"Paraguay",value:"Paraguay"},{label:"Peru",value:"Peru"},{label:"Philippines",value:"Philippines"},{label:"Poland",value:"Poland"},{label:"Portugal",value:"Portugal"},{label:"Qatar",value:"Qatar"},{label:"Romania",value:"Romania"},{label:"Russia",value:"Russia"},{label:"Rwanda",value:"Rwanda"},{label:"Saint Kitts and Nevis",value:"Saint Kitts and Nevis"},{label:"Saint Lucia",value:"Saint Lucia"},{label:"Saint Vincent and the Grenadines",value:"Saint Vincent and the Grenadines"},{label:"Samoa",value:"Samoa"},{label:"San Marino",value:"San Marino"},{label:"Sao Tome and Principe",value:"Sao Tome and Principe"},{label:"Saudi Arabia",value:"Saudi Arabia"},{label:"Senegal",value:"Senegal"},{label:"Serbia",value:"Serbia"},{label:"Seychelles",value:"Seychelles"},{label:"Sierra Leone",value:"Sierra Leone"},{label:"Singapore",value:"Singapore"},{label:"Slovakia",value:"Slovakia"},{label:"Slovenia",value:"Slovenia"},{label:"Solomon Islands",value:"Solomon Islands"},{label:"Somalia",value:"Somalia"},{label:"South Africa",value:"South Africa"},{label:"South Korea",value:"South Korea"},{label:"South Sudan",value:"South Sudan"},{label:"Spain",value:"Spain"},{label:"Sri Lanka",value:"Sri Lanka"},{label:"Sudan",value:"Sudan"},{label:"Suriname",value:"Suriname"},{label:"Sweden",value:"Sweden"},{label:"Switzerland",value:"Switzerland"},{label:"Syria",value:"Syria"},{label:"Taiwan",value:"Taiwan"},{label:"Tajikistan",value:"Tajikistan"},{label:"Tanzania",value:"Tanzania"},{label:"Thailand",value:"Thailand"},{label:"Timor-Leste",value:"Timor-Leste"},{label:"Togo",value:"Togo"},{label:"Tonga",value:"Tonga"},{label:"Trinidad and Tobago",value:"Trinidad and Tobago"},{label:"Tunisia",value:"Tunisia"},{label:"Turkey",value:"Turkey"},{label:"Turkmenistan",value:"Turkmenistan"},{label:"Tuvalu",value:"Tuvalu"},{label:"Uganda",value:"Uganda"},{label:"Ukraine",value:"Ukraine"},{label:"United Arab Emirates",value:"United Arab Emirates"},{label:"United Kingdom",value:"United Kingdom"},{label:"United States",value:"United States"},{label:"Uruguay",value:"Uruguay"},{label:"Uzbekistan",value:"Uzbekistan"},{label:"Vanuatu",value:"Vanuatu"},{label:"Vatican City",value:"Vatican City"},{label:"Venezuela",value:"Venezuela"},{label:"Vietnam",value:"Vietnam"},{label:"Yemen",value:"Yemen"},{label:"Zambia",value:"Zambia"},{label:"Zimbabwe",value:"Zimbabwe"}],H=[{label:o.UV.onSignUp,type:E.a.CHECKBOX,apiKey:o.Cu.SIGN_UP,operator:E.we.IN,hideBorderBottom:!0},{label:o.UV.onMembershipPurchase,type:E.a.CHECKBOX,apiKey:o.Cu.membershipPurchased,operator:E.we.IN,hideBorderBottom:!0},{label:o.UV.onMembershipRenewal,type:E.a.CHECKBOX,apiKey:o.Cu.membershipRenewal,operator:E.we.IN,hideBorderBottom:!0},{label:o.UV.enrolsInCourses,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.UV.completesCourses,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_COMPLETED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSE,hideBorderBottom:!0},{label:o.UV.attendsLiveClasss,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.liveClassAttended,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_CLASS,hideBorderBottom:!0},{label:o.UV.registersForWebinars,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.UV.attendsWebinars,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ATTENDED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.UV.buysDigitalProducts,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.digitalProductPurchased,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.DIGITAL_PRODUCT,hideBorderBottom:!0},{label:o.UV.opensEmailInCampaign,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.campaignEmailOpened,searchInputType:u.V.EMAIL_CAMPAIGNS,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.EMAIL_CAMPAIGN,hideBorderBottom:!0},{label:o.UV.clicksLinkInAnyEmailInCampaign,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.campaignEmailClicked,searchInputType:u.V.EMAIL_CAMPAIGNS,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.EMAIL_CAMPAIGN,hideBorderBottom:!0}],V=[{label:o.UV.onMembershipPurchase,type:E.a.CHECKBOX,apiKey:o.Cu.membershipPurchased,operator:E.we.IN,hideBorderBottom:!0},{label:o.UV.onMembershipRenewal,type:E.a.CHECKBOX,apiKey:o.Cu.membershipRenewal,operator:E.we.IN,hideBorderBottom:!0},{label:o.UV.enrolsInCourses,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSES_AND_PACKAGES,hideBorderBottom:!0},{label:o.UV.completesCourses,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.COURSES_COMPLETED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.COURSE,hideBorderBottom:!0},{label:o.UV.attendsLiveClasss,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.liveClassAttended,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_CLASS,hideBorderBottom:!0},{label:o.UV.registersForWebinars,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ENROLLED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.UV.attendsWebinars,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.LIVE_SESSION_ATTENDED,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.LIVE_SESSIONS,hideBorderBottom:!0},{label:o.UV.buysDigitalProducts,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.digitalProductPurchased,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.DIGITAL_PRODUCT,hideBorderBottom:!0},{label:o.UV.opensEmailInCampaign,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.campaignEmailOpened,searchInputType:u.V.EMAIL_CAMPAIGNS,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.EMAIL_CAMPAIGN,hideBorderBottom:!0},{label:o.UV.clicksLinkInAnyEmailInCampaign,list:[],type:E.a.MULTI_SELECT,apiKey:o.Cu.campaignEmailClicked,searchInputType:u.V.EMAIL_CAMPAIGNS,search:!0,multiple:!0,operator:E.we.IN,searchApiKey:s.kf.EMAIL_CAMPAIGN,hideBorderBottom:!0}],Y=[{fieldName:o.tR.CAMPAIGN_NAME,placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_PLACEHOLDER"),label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.CAMPAIGN_NAME_DESCRIPTION"),validate:p.LN.validateCampaignName},{fieldName:o.tR.FROM_NAME,placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_PLACEHOLDER"),label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_NAME_DESCRIPTION"),validate:p.LN.validateFromName},{fieldName:o.tR.FROM_EMAIL,placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_PLACEHOLDER"),label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.FROM_EMAIL_DESCRIPTION"),validate:p.LN.validateFromEmail},{fieldName:o.tR.REPLY_EMAIL,placeholder:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_PLACEHOLDER"),label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.REPLY_TO_EMAIL_DESCRIPTION"),validate:p.LN.validateReplyEmail},{fieldName:o.tR.ENTRY_CONDITIONS,label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.ENTRY_CONDITIONS_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.ENTRY_CONDITIONS_DESCRIPTION"),validate:p.LN.validateCondition,addButtonText:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.ADD_CONDITION"),editButtonText:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.EDIT_CONDITION"),storeId:c.k.EMAIL_CAMPAIGN_SEQUENCE_ENTRY_CONDITIONS_FILTER,availableConditions:H},{fieldName:o.tR.EXIT_CONDITIONS,label:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.EXIT_CONDITIONS_LABEL"),description:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.EXIT_CONDITIONS_DESCRIPTION"),validate:()=>"",addButtonText:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.ADD_CONDITION"),editButtonText:(0,A.t)("EMAIL_CAMPAIGN:DETAILS_FORM.EDIT_CONDITION"),storeId:c.k.EMAIL_CAMPAIGN_SEQUENCE_EXIT_CONDITIONS_FILTER,availableConditions:V}],W=[{label:"immediately",value:"immediately"},{label:"on day",value:"on_day"}]},16128:function(e,t,a){"use strict";a.d(t,{F:function(){return v}});var n=a(99380),r=a(69200),l=a(4346),s=a(47428),i=a(30654),o=a(14622),c=a(72505),E=a.n(c),d=a(2543),u=a(84743),m=a.n(u),p=a(12390),A=a(95039);const S="/appbuilder",_={appDetails:()=>A.L.get(`${S}/details`),appSettings:e=>A.L.get(`${S}/app/settings?orgId=${e}`),buildStatus:()=>A.L.get(`${S}/pipeline/latest`),suggestions:({key:e,query:t,type:a,limit:n,offset:r})=>{const l={params:{key:e,type:a,limit:n,skip:r,_:(new Date).getTime()}},s="category"===a||"androidcourse"===a||"ioscourse"===a;return A.L.get(`/content${s?"/category/suggestions":"/suggestions"}?value=${encodeURIComponent(t)}`,l)},signedUrl:e=>A.L.get(`${S}/doc/get?file=${e}`),createBuild:e=>A.L.post(`${S}/build/pipeline/add?type=${e}`),verifyAppEntry:e=>A.L.get(`${S}/verify/app-entry/ios?pipelineId=${e}`),uploadDocument:({file:e,type:t,name:a})=>A.L.post("appbuilder/doc/upload",e,{params:{name:a,type:t}}),deleteDocument(e){return A.L.get(`appbuilder/delete/document?fileName=${e.fileName}&fieldKey=${e.fieldKey}`)},updateAppDetails:e=>A.L.patch(`${S}/update`,{...e}),updateAppSettings:e=>A.L.post(`${S}/update/app/settings?orgId=5aa272d4e4b0ca3f9cd83819`,{...e}),saveServiceAccount:({json:e})=>A.L.patch(`${S}/update/playstore/config`,{json:e}),releaseNotes:({pipelineId:e,changeLogs:t,forceUpdate:a})=>A.L.post(`${S}/playstore/upload`,{pipelineId:e,changeLogs:t,forceUpdate:a}),getAndroidChangeLog:({pipelineId:e})=>{let t="";return e&&(t=`?pipelineId=${e}`),A.L.get(`${S}/android/versions${t}`)},getBuildHistory:({pageLength:e,pageNum:t})=>{let a={p:t,s:e,sort:{field:"createdDate",order:"descend"},timeZone:(0,p.no)()};return A.L.post(`${S}/pipeline/table`,a)},getColorPalette:e=>A.L.get(`${S}/get/colors?hashColor=${e.replace("#","")}`),evaluatePlayIntegrityStatus:e=>A.L.post(`${S}/android/play-integrity/evaluate?orgId=${e}`),getAndroidDataSafetyCSV:e=>A.L.get(`${S}/playstore/data-safety?orgId=${e}`),getMobileScreenshots:async e=>{try{const t=await A.L.get(`${S}/app/screenshots?orgId=${e}`);return Promise.resolve(t.data)}catch{return Promise.reject()}},triggerScreenshots:async e=>{try{const t=await A.L.post(`${S}/app/screenshots/generate?orgId=${e}`);return Promise.resolve(t.data)}catch{return Promise.reject()}},getInAppPurchaseSyncStatus:async()=>{try{const e=await A.L.get(`${S}/play-store/products/sync`);return Promise.resolve(e.data)}catch{return Promise.reject()}},triggerInAppPurchaseSyncStatus:async()=>{try{const e=await A.L.post(`${S}/play-store/products`);return Promise.resolve(e.data)}catch{return Promise.reject()}}},C={get:e=>A.L.get(`campaign/campaignConfig?campaignId=${e}`),getTemplate:(e,t)=>A.L.get(`campaign/campaignConfig/${t}?campaignId=${e}`,{headers:{auth:"252de255-dc95-4122-ba27-c4dc1166c561"}}),getAllCampaigns:({orgId:e})=>{let t={orgId:e};return A.L.get("campaign/listCampaign",{params:t})},updateCampaign:(e,t,a)=>a?A.L.patch(`campaign/campaignConfig/${a}?campaignId=${e}`,t):A.L.patch(`campaign/campaignConfig?campaignId=${e}`,t),campaignClicks:e=>A.L.get("/campaign/public/campaignClicks",{params:e}),getPopularCourses:(e,t)=>A.L.get(`/s/store/subfilters/courses?page=${e}&limit=${t}&occ=&sortBy=recommended`),getPopularLiveSessions:(e,t)=>A.L.post("content/public/livesession/homepage",{sort:{field:"startTime",order:"descend"},scroll:!0,p:e,s:t,query:"",timeZone:"Asia/Calcutta",filters:{pastSessions:[{operator:"EQUALS",value:!1}]}}),getPopularDigitalProducts:(e,t,a)=>A.L.post(`content/public/products/get/all?orgId=${e}`,{sort:{field:"views",order:"descend"},scroll:!0,p:t,s:a,query:"",timeZone:"Asia/Calcutta",filters:{}})},I={courseDetails:({courseId:e,planId:t,paymentGateway:a,type:n,plan:r})=>{let l=`pid=${t}&pg=${a}${"membership"===n?`&type=${n}&plan=${r}`:"membership"!==n?`&type=${n}`:""}`;return A.L.get(`/s/newCheckout/single-checkout/courses/${e}/get?${l}`)},getOrderDetails(e){return A.L.get(`/s/single-checkout/newCheckout/${e}`)},billingDetails:({paymentGateway:e,orderId:t,transactionId:a,userName:n,userEmail:r,userPhone:l,state:s,pan:i,dob:o,promoCode:c,originalAmount:E,finalDiscountAmount:d,promoDescription:u,discountValue:m,couponId:p,credits:S,creditsValue:_,isStripePg:C,aiAssist:I,referrer:T,isRecurSubscriptionPlan2:N,isOrgPrimaryFieldPhone:g})=>{let R;return R=!C||N||g?{...n&&{userName:n},...r&&{userEmail:r},...l&&{userPhone:l},...s&&{gstState:s},...i&&{pan:i},...o&&{dob:o},TXNAMOUNT:d}:{TXNAMOUNT:d},c&&(R={...R,promocode:c,totalWOPromo:E,TXNAMOUNT:d,promoDescription:u,promoDiscount:m,promocodeId:p}),S&&(R={...R,TXNAMOUNT:d,creditsUsed:S,creditsValue:_}),A.L.post(`/s/${e}/single-checkout/new/precheckout/init?orderId=${t}&transactionId=${a}&aiAssist=${I}&referrer=${T}`,R)},utmData:e=>{let t=new URLSearchParams(e);return A.L.post(`/s/transaction/utmfields/update?${t}`)},redeemCoupon:(e,t)=>A.L.post(`/s/new/checkout/single-checkout/promocode/${e}/redeem?applyCredits=${t}`),removeCoupon:e=>A.L.post(`/s/new/checkout/single-checkout/promocode/remove?applyCredits=${e}`),couponList:({currencyCode:e,courseId:t,orgId:a,planId:n,courseAmount:r,userId:l})=>{let s=`/s/new/checkout/single-checkout/coupon/best/get?currencyCode=${e}&courseId=${t}&orgId=${a}&pid=${n}&amount=${r}`;return l&&(s+=`&userId=${l}`),A.L.get(s)},toggleWalletCredits:e=>A.L.get(`/s/new/checkout/single-checkout/credits/toggle?applyCredits=${e}`)},T={create:e=>{let t=new URLSearchParams(e);return e.highlights&&e.highlights.length>0&&t.set("highlights",JSON.stringify(e.highlights)),e.features&&e.features.length>0&&t.set("features",JSON.stringify(e.features)),e.seoKeywords&&e.seoKeywords.length>0&&t.set("seoKeywords",e.seoKeywords.join(",")),e.aiGeneratedSections&&e.aiGeneratedSections.length>0&&t.set("aiGeneratedSections",JSON.stringify(e.aiGeneratedSections)),A.L.post("/s/courses/create",t,{})},getAIContent:e=>{let t=new URLSearchParams({product_type:"course",template:e.template,query_text:e.courseName});return A.L.post("/content/getAIContent",t)},updateCourse:(e,t)=>A.L.patch(`/content/course/update/${t}`,{...e,courseId:t}),getCourseInfo:(e,t)=>A.L.get(`/s/store/courses/description/json/${e}`),uploadMedia:(e,t)=>A.L.post(`/content/course/upload/cover/${t}`,e)};var N=a(95093),g=a.n(N);const R={get:({id:e})=>A.L.get(`content/products/get/${e}`),getOverview:()=>A.L.get("content/products/overview"),validateLink:e=>A.L.post("content/products/validate",null,{params:{link:e}}),create:e=>A.L.post("/content/products/create",e,{headers:{"Content-Type":"multipart/form-data"}}),update:(e,t)=>A.L.patch(`/content/products/update/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}}),getAllDigitalProducts:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:g().tz.guess()};return t&&(i={...i,filters:t}),A.L.post("content/products/get/all",i)},getAIContent:e=>{let t=new URLSearchParams({product_type:"digital-product",template:e.template,query_text:e.courseName});return A.L.post("/content/getAIContent",t)},uploadCoverImage:e=>A.L.post("content/digital_products/upload",e)};var f=a(3406);const h={get:(e,t)=>A.L.get(`campaign/email_campaigns/${e}?channel=${t}`),create:e=>A.L.post(`campaign/email_campaigns?channel=${e.channel}`,e),update:(e,t,a)=>A.L.put(`campaign/email_campaigns/${e}?channel=${a}`,t),updateEmailCampaignConfigured:()=>{},getContactAddress:e=>A.L.get(`/campaign/email_campaign_configs?channel=${e}`),createContactAddress:e=>A.L.post("/campaign/email_campaign_configs",{contactAddress:{...e}}),updateContactAddress:e=>A.L.put("/campaign/email_campaign_configs",{contactAddress:{...e}}),getCampaignsList:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,channel:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},p:r,s:e,query:l,timeZone:g().tz.guess(),channel:s};return t&&(i={...i,filters:t}),A.L.post(`/campaign/email_campaigns/list?channel=${s}`,i)},deleteCampaign:e=>A.L.delete(`/campaign/email_campaigns/${e}`),duplicateCampaign:(e,t)=>{const a=t?"?channel=whatsapp":"";return A.L.post(`/campaign/email_campaigns/${e}/duplicate${a}`)},duplicateWhatsappCampaign:e=>A.L.post(`/campaign/campaigns/whatsapp/templates/${e}/duplicate`),deleteWhatsappTemplate:e=>A.L.delete(`/campaign/campaigns/whatsapp/templates/${e}`),updateFirstTimeVisit:e=>A.L.post(`/campaign/email_campaign_configs/skip?channel=${e}`),getRecipientsList:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,fromService:s})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},p:r,s:e,query:l,fromService:s,timeZone:g().tz.guess()};return t.role=[{operator:f.we.EQUALS,value:i.tX.STUDENT}],t&&(o={...o,filters:t}),A.L.post("/user/get",o)},getCampaignsAnalyticsList:({id:e,pageLength:t,filters:a,sortBy:n,sortDirection:r,pageNum:l,query:s})=>{let i={sort:{field:n,order:-1===r?"descend":"ascend"},p:l,s:t,query:s,timeZone:g().tz.guess()};return a&&(i={...i,filters:a}),A.L.post(`/campaign/email_campaigns_logs/${e}/list`,i)},getEmailWiseLogsList:({id:e,sortBy:t,sortDirection:a,pageNum:n,pageLength:r,query:l,filters:s})=>{let i={sort:{field:t,order:-1===a?"descend":"ascend"},p:n,s:r,query:l,timeZone:g().tz.guess(),filters:s};return A.L.post(`campaign/email_campaigns/${e}/sequences/list`,i)},updateEmailCampaignSequences:(e,t)=>A.L.put(`campaign/email_campaigns/${e}/sequences`,t),getLearnerWiseLogsList:({id:e,pageLength:t,filters:a,sortBy:n,sortDirection:r,pageNum:l,query:s})=>{let i={sort:{field:n,order:-1===r?"descend":"ascend"},p:l,s:t,query:s,timeZone:g().tz.guess()};return a&&(i={...i,filters:a}),A.L.post(`campaign/email_campaigns/${e}/sequences/user_logs`,i)},downloadRecipientCSV:()=>A.L.post("/user/export"),downloadAnalyticsCSV:e=>A.L.post(`/campaign/export/${e}`),campaignsListSuggesstions:e=>A.L.get(`/campaign/suggestions?type=emailCampaign&key=campaignName&value=${e}`),getRecipientsCount:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,fromService:s})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},p:r,s:e,query:l,timeZone:g().tz.guess(),fromService:s};return t.role=[{operator:f.we.EQUALS,value:i.tX.STUDENT}],t&&(o={...o,filters:t}),A.L.post("user/get?countOnly=true",o)},sendOtp:e=>A.L.post(`/campaign/whatsapp/send-otp?phone=${e}`),verifyOtp:(e,t)=>A.L.post(`/campaign/whatsapp/verify-otp?phone=${e}&otp=${t}`)},L={classEnd:e=>A.L.post(`content/liveclass/${e}/end`),goLive:e=>A.L.post(`content/liveclass/${e}/go-live`),extend:(e,t)=>A.L.post(`content/liveclass/${e}/extend`,null,{params:{time:t}}),fetchUrlMetaInfo:e=>A.L.post("content/links/preview",{urls:e})},O={getLogsApi:e=>{const t={s:e.pageLength,p:e.pageNum,query:e.query,filters:e.filters,timeZone:e.timeZone};return A.L.post("webhook/logs/table",t)},retryLogsApi:e=>A.L.get("webhook/logs/retry",{params:{id:e}})};var b=a(80585),D=a(5760);const y={get:({id:e})=>A.L.get(`content/telegram/get/${e}`),verifybotAdded(){return A.L.get("/content/telegram/latest")},getOverview:()=>A.L.get("content/telegram/overview"),getAllTelegramCommunities:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:g().tz.guess()};return t&&(i={...i,filters:t}),A.L.post("content/telegram/get/all",i)},getAllEntities:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:g().tz.guess()};return t&&(i={...i,filters:t}),A.L.post("content/telegram/get/all/entities",i)},update:(e,t)=>A.L.patch(`/content/telegram/update/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}}),delete:e=>A.L.delete(`/content/telegram/delete/${e}`),create:e=>A.L.post("/content/telegram/create",e,{headers:{"Content-Type":"multipart/form-data"}}),createPackage:e=>A.L.post("/content/telegram/create/package",e,{headers:{"Content-Type":"multipart/form-data"}}),getInviteLink:e=>A.L.get(`content/telegram/create/inviteLink?communityId=${e}`),getCommunitySuggest:e=>A.L.get(`content/telegram/suggest?value=${e}`)},M={getWebhookDataApi:({pageNum:e,pageLength:t,filters:a,query:n})=>{let r={p:e,s:t,filters:a,sort:{field:"createdDate",order:"ascend"},query:n,timeZone:(0,p.no)()};return A.L.post("webhook/table",r)},createWebhookApi:e=>A.L.post("webhook/create",e),updateWebhookApi:e=>A.L.post("webhook/update",e),deletWebhookApi:e=>A.L.get("webhook/delete",{params:{id:e}}),testWebhookApi:(e,t)=>A.L.post("webhook/test",e,{params:{id:t}}),triggerPerformApi:e=>A.L.get("webhook/trigger/perform",{params:e}),courseSearchApi:e=>A.L.get("webhook/courses/search",{params:e})},v={users:{session(){return A.L.get("user/session/get")},getStoryData:e=>A.L.get("user/org/recap",{params:{orgId:e}})},calls:{post(e){return A.L.post(e.url)}},account:{organization(){return A.L.get("account/org/get?page=home")},getCSM(){return A.L.get("user/org/csm")},validateAccount(e){return A.L.get(`account/validate?phone=${encodeURIComponent(e.phone)}`)},validateAccountV4(e){return e.email?A.L.get(`account/validate/?email=${encodeURIComponent(e.email)}&loginV4=true`):e.phone?A.L.get(`account/validate/?phone=${encodeURIComponent(e.phone)}&loginV4=true`):Promise.reject(new Error("Neither email nor phone provided"))},verifyV4(e){return A.L.post("signup/verify/v4",null,{params:e})},sendOtp(e,t){const a=new URLSearchParams;return e&&a.append("phone",e),t&&a.append("email",t),A.L.get(`account/send/otp?${a.toString()}`)},emailVerificationSendCode(e){return A.L.post(`/s/emailVerification/sendCode?email=${encodeURIComponent(e)}`,null,{headers:{"x-requested-with":""}})},emailVerificationVerifyCode(e){return A.L.post(`/s/emailVerification/verifyCode?code=${e}`,null,{headers:{"x-requested-with":""}})},validateOtp(e,t,a,n){return A.L.get(`account/validate/otp?phone=${encodeURIComponent(e)}&otp=${t}&url=${encodeURIComponent(a)}&flow=${n}`)},login(e,t){return A.L.post("authenticate",e,{params:t})},otpMultiAccountLogin(e){return A.L.post(`account/otp/login?email=${encodeURIComponent(e.email)}&phone=${encodeURIComponent(e.phone)}&otpLoginToken=${encodeURIComponent(e.token)}`)},socialLogin(e){return A.L.post("social/login",null,{params:e})},create(e){return A.L.post("myprofile/create",null,{params:e})},update(e,t){return A.L.post("/s/signup/complete",e,{params:t,headers:{"x-requested-with":""}})},verify(e){return A.L.post("signup/verify",null,{params:e})},forgotPassword(e){return A.L.post("password/resetv2",null,{params:e})},upload(e){return A.L.post("myprofile/upload/cupload",e)},deleteUser:({otp:e,isEuropean:t})=>A.L.post("/s/user/modifyOrgDeletion",null,{params:{toDelete:"true",otp:e,isEuropean:t}}),signupUpdateUpload(e,t){return A.L.post(`/s/users/images/${e}/upload`,t,{headers:{"x-requested-with":""}})},otpLogin:({email:e,name:t,type:a,userData:n})=>{if(a===l.$.SIGNUP)return A.L.post(`/s/authenticate/otp?name=${encodeURIComponent(t)}&email=${encodeURIComponent(e)}&type=${a}&userData=${encodeURIComponent(JSON.stringify(n))}`);let r=`/s/authenticate/otp?email=${encodeURIComponent(e)}&type=${a}`;return t&&(r+=`&name=${encodeURIComponent(t)}`),A.L.post(r)},otpVerification:({email:e,code:t})=>A.L.post(`/s/authenticate/otp/verify?code=${t}&email=${encodeURIComponent(e)}`)},design:{appbuilder:{getdetails(){return A.L.get("appbuilder/get/details")},updatedetails(e){return A.L.post("appbuilder/update",e)},uploaddocument(e,t){return A.L.post("appbuilder/doc/upload",e,{params:t})},uploadjenkinsdocument(e,t){return A.L.post("appbuilder/doc/jenkins/upload",e,{params:t})},deleteonboardimage(e){return A.L.get(`appbuilder/delete/onboard/document?fileName=${e.fileName}`)},deletedocument(e){return A.L.get(`appbuilder/delete/document?fileName=${e.fileName}&fieldKey=${e.fieldKey}`)},getsignedurl(e){return A.L.get(`appbuilder/doc/get?file=${e.fileName}`)},addbuildinpipeline(e){return A.L.get(`appbuilder/build/pipeline/add?type=${e}`)},pipelinetable(e){return A.L.post("appbuilder/pipeline/table",e)}}},feature:{assetLibrary:{courseAssets:({pageLength:e,filters:t,sortBy:a,sortDir:n,pageNum:r,query:l})=>{let s={sort:{field:a,order:-1===n?"descend":"ascend"},p:r,s:e,query:l,timeZone:m().tz.guess()};return t&&(s={...s,filters:t}),A.L.post("content/courseassets",s)},courseAssetSuggest:({key:e,query:t,type:a,limit:n,offset:r,countryCode:l,sortBy:s,emailCampaignLiveClass:i})=>{const o={params:{key:e,type:a,limit:n,skip:r,countryCode:l,_:(new Date).getTime(),sortBy:s,emailCampaignLiveClass:i}};return A.L.get(`content/suggestions?value=${encodeURIComponent(t)}`,o)},tagsSuggestion:({key:e,query:t,type:a,limit:n,offset:r})=>{const l={params:{key:e,value:t,type:a,limit:n,skip:r,_:(new Date).getTime()}};return A.L.get("content/key-suggestions",l)},deleteAsset:({assetId:e})=>A.L.delete(`content/courseasset/${e}/delete`),downloadAsset:({assetId:e,assetType:t})=>A.L.get(`content/courseasset/${e}/download`,{params:{assetType:t}}),exportAsset:({assetId:e,assetType:t})=>A.L.get(`content/assessments/${e}/export`,{params:{assetType:t}})},users:{getAllUsers:({pageLength:e,pageNum:t,sortBy:a,sortDir:n,query:r,filters:l,role:s})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},p:t,s:e,query:r,timeZone:m().tz.guess()};return l&&(o={...o,filters:l},s===i.tX.SUBSCRIBER)?A.L.post("user/subscribers",o):A.L.post("user/get",o)},getLearnerCount:({pageLength:e,pageNum:t,sortBy:a,sortDir:n,query:r,filters:l,role:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},p:t,s:e,query:r,timeZone:m().tz.guess()};return l&&(i={...i,filters:l}),A.L.post("user/get?countOnly=true",i)},createUser:({name:e,role:t,email:a,password:n,mobile:r,sendEmail:l,instructorPermissions:s,...i})=>{let o={role:t,fname:e,email:a,password:n,phone:r,...i};return s&&(o={...o,...s}),A.L.post(`user/create?sendEmail=${l}`,o)},searchUser:({name:e,role:t})=>t===i.tX.SUBSCRIBER?A.L.get(`user/subscribers/suggest?name=${encodeURIComponent(e)}&role=${t}`):A.L.get(`user/suggest?name=${encodeURIComponent(e)}&role=${t}`),importLearners:({formData:e})=>A.L.post("user/import",e),exportUsers:({role:e,sortBy:t,sortDir:a,pageNum:n,pageLength:r,query:l,filters:s})=>{let o={sort:{field:t,order:-1===a?"descend":"ascend"},p:n,s:r,query:l,timeZone:m().tz.guess()};return s&&(o={...o,filters:s},e===i.tX.SUBSCRIBER)?A.L.post("user/subscribers/export",o):A.L.post("user/export",o)},downloadTemplate:e=>A.L.get(`user/import/template?fields=${e}`),getAdminInfo:()=>A.L.get("user/get/admin/info")},reports:{getTransactionsOverview:()=>{},getTransactions:e=>{const t=(0,o.qZ)(e);return A.L.get(`reports/sales/transactions?${t}`)},addFunds:(e,t)=>A.L.post("settings/cashfree/refund/addFunds",{orderId:e,amount:t}),initiateRefund:(e,t,a)=>A.L.post("settings/cashfree/refund/initiate",{orderId:e,removeAccess:t,reason:a}),getTransactionDetails:(e,t)=>A.L.get(`settings/cashfree/vendor/addFunds/final?cfOrderId=${e}&orderId=${t}`),saveComment:({transactionId:e,text:t})=>A.L.patch(`reports/sales/transactions/${e}/comment/add`,{text:t}),deleteComment:({transactionId:e,commentId:t})=>A.L.delete(`reports/sales/transactions/${e}/comment/${t}/delete`),checkStatus:({transactionId:e,paymentGateway:t})=>A.L.get(`/s/${t}/transactions/${e}/status/check`),getSettlementsOverview:()=>A.L.get("settings/settlements/overview"),getLiveSessionsOverview:(e,t)=>{const a=new Date,n=new Date((new Date).setDate(a.getDate()-30)).toISOString().slice(0,10);return A.L.get(`/reports/dashboard/overview?start_date=${n}&timezone_offset=${e}&timezone=${t}&metric=live_session_revenue&metric=live_session_participants&metric=live_session_registrations`)},getSettlements:({pageLength:e,pageNum:t,sortBy:a,sortDirection:n,timeZone:r,query:l,filters:s,exportCsv:i})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},p:t,s:e,query:l,timeZone:r};return s&&(o={...o,filters:s}),A.L.post(`settings/settlements/get?export=${Boolean(i)}`,o)},getLiveSessionsReports:({pageLength:e,pageNum:t,sortBy:a,sortDirection:n,timeZone:r,query:l,filters:s,type:i})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},p:t,s:e,query:l,timeZone:r,type:i};return s&&(o={...o,filters:s}),A.L.post(`content/livesession/report?type=${i}`,o)},getSearchedSettlement:({query:e})=>A.L.get(`settings/settlements/suggest?key=${e}`),getSettlementTransactions:({pageLength:e,pageNum:t,sortBy:a,sortDirection:n,timeZone:r,query:l,filters:s,exportCsv:i,settleId:o})=>{let c={sort:{field:a,order:-1===n?"descend":"ascend"},p:t,s:e,query:l,timeZone:r};return s&&(c={...c,filters:s}),A.L.post(`settings/settlements/transactions/get?settleId=${o}&export=${Boolean(i)}`,c)},getSearchedTransaction:({query:e,settleId:t})=>A.L.get(`settings/settlements/transactions/suggest?key=${e}&settleId=${t}`)},settings:{editDefaultDomain:e=>A.L.post(`settings/org/domain/edit?domainName=${e}`),doesDomainExists:e=>A.L.get(`settings/org/domain/exists?domain=${e}`),createCustomDomain:({domain:e,type:t,apiKey:a,email:n})=>A.L.post(`settings/org/domain/create?type=${t}`,{domain:e,apiKey:a,email:n}),verifyCustomDomain:e=>A.L.put("settings/org/domain/verify",{domainType:e}),setPrimaryDomain:e=>A.L.put(`settings/org/domain/primary/set?domain=${e}`),deleteCustomDomain:({domain:e,domainType:t})=>A.L.delete(`settings/org/domain/delete?domain=${e}&type=${t}`),getOrgSettings:()=>A.L.get("settings/org/get"),updateOrgSettings:e=>A.L.put("settings/org/update",e),updateSecureVideoSupportIOS:e=>A.L.put("settings/org/update",e),captureMarketingConsent:e=>A.L.put("settings/org/update",e),getCustomiseTemplates:()=>A.L.get("settings/org/email/templates/getall"),changeTemplateStatus:(e,t)=>A.L.put(`settings/org/email/templates/changestatus?enabled=${t}&type=${e}`),createCustomEmailDomain:e=>A.L.post(`settings/org/email/domain/create?domain=${e}`),deleteCustomEmailDomain:()=>A.L.delete("settings/org/email/domain/delete"),verifyCustomEmailDomain:()=>A.L.put("settings/org/email/domain/verify"),downloadLicenseUsageData:()=>A.L.get("settings/org/drm/licence/usage/export"),getLicenseCount:()=>A.L.get("settings/org/drm/licence/usage/count"),deleteUserProfileFields:e=>A.L.delete("settings/org/customfield/delete",{params:{key:e}}),resetAllLoginDevices:()=>A.L.post("users/logindevices/reset"),getTemplateInfo:e=>A.L.get("settings/org/email/templates/get",{params:{type:e}}),getDefaultTemplate:e=>A.L.get("settings/org/email/templates/default",{params:{type:e}}),testTemplate:(e,t)=>A.L.post(`settings/org/email/templates/test?templateId=${e}`,t),saveTemplate:e=>A.L.post("settings/org/email/templates/save",e),getInvoiceNumber:()=>A.L.get("settings/org/invoicenumber/get"),getGloginLearners:()=>A.L.get("settings/org/google/login/learners/get"),getPaymentConfig:()=>A.L.get("settings/payment/getCSPConfig"),deleteCountryPaymentConfig:e=>A.L.delete(`settings/org/pg/delete?countryCode=${e}`),getDomainDNSRecords:e=>A.L.get(`settings/org/email/domain/get?sendEmailFromPrefix=${e}`),deletePaymentGatewayRevSharePlan:e=>A.L.post(`auth/${e}/disconnect`),createCashfreeKyc:(e,t,a,n)=>A.L.post("settings/cashfree/kyc",{pan:e,bankAccount:t,ifsc:a,phone:n}),uploadCashfreeKycDocs:e=>A.L.post("settings/cashfree/kyc/upload",e),getCashfreeKyc:()=>A.L.get("settings/cashfree/kyc/get")},signup:{emailSignup:e=>{const{email:t,password:a,phone:n,countryCode:r,name:l,recaptchaToken:i,_fprom_code:o,_fprom_track:c,utmFields:E,planName:d,planType:u,gref:m,skipOnboarding:p,destination:S}=e,_={signup_type:s.G5.NORMAL,token:i,email:t,phone:n,name:l,password:a};return r&&(_.countryCode=r),E&&0!==Object.keys(E).length&&(_.utmFields=JSON.stringify(E),"string"!=typeof E&&E.hasOwnProperty("skipOnboarding")&&(_.skipOnboarding=E.skipOnboarding),"string"!=typeof E&&E.hasOwnProperty("destination")&&(_.destination=E.destination)),o&&(_._fprom_code=o),c&&(_._fprom_track=c),d&&u&&(_.planParam=`${u}_${d}`),m&&(_.gref=m),e.hasOwnProperty("skipOnboarding")&&(_.skipOnboarding=p),e.hasOwnProperty("destination")&&(_.destination=S),A.L.post("/creator/public/courseplatform/signup/v2",_)},googleSignup:({socialToken:e,recaptchaToken:t,_fprom_code:a,_fprom_track:n,utmFields:r,gref:l})=>{const i={signup_type:s.G5.GOOGLE,token:t,socialToken:e};return r&&0!==Object.keys(r).length&&(i.utmFields=JSON.stringify(r),"string"!=typeof r&&r.hasOwnProperty("skipOnboarding")),a&&(i._fprom_code=a),n&&(i._fprom_track=n),l&&(i.gref=l),A.L.post("/creator/public/courseplatform/signup/v2",i)},facebookSignup:({socialToken:e,socialUserId:t,recaptchaToken:a,_fprom_code:n,_fprom_track:r,utmFields:l,planName:i,planType:o,gref:c})=>{const E={signup_type:s.G5.FACEBOOK,token:a,socialToken:e,socialUserId:t};return l&&0!==Object.keys(l).length&&(E.utmFields=JSON.stringify(l),"string"!=typeof l&&l.hasOwnProperty("skipOnboarding")),n&&(E._fprom_code=n),r&&(E._fprom_track=r),i&&o&&(E.planParam=`${o}_${i}`),c&&(E.gref=c),A.L.post("/creator/public/courseplatform/signup/v2",E)},getReferrerName(e){return A.L.get(`/creator/public/org/get/name?alias=${e}`)}},reauthenticate:{sendReauthenticateOtp(){return A.L.get("/s/reauthenticate/otp/send")},verifyReauthenticateOtp(e){return A.L.post(`/s/reauthenticate/otp/verify?code=${e}`)}},onboarding:{onboardingDetails:()=>A.L.get("/creator/v2/onboardingStage"),allPlans:e=>{let t="";return e===r.DF.REV_SHARE&&(t="revSharePlansV2=true"),e===r.DF.YEARLY&&(t="revShareYearlyPlans=true"),e===r.DF.ONE_TIME&&(t="revSharePlans=true"),e===r.DF.RECUR_SUBS2&&(t="recurSubscriptionPlan2=true"),A.L.post(`plan/getall?${t}`)},chargebee:e=>A.L.get(`chargebee/portal/new-upgrade?planId=${e}`,{headers:{"X-Requested-With":"XMLHttpRequest"}}),chargebeeSuccess:e=>A.L.get(`chargebee/portal/success?pageId=${e}`,{headers:{"X-Requested-With":"XMLHttpRequest"}}),chargebeeUpgrade:e=>A.L.get(`chargebee/portal/subscription/upgrade?planId=${e}`,{headers:{"X-Requested-With":"XMLHttpRequest"}}),chargebeeManageSubscription:()=>A.L.get("chargebee/portal",{headers:{"X-Requested-With":"XMLHttpRequest"}}),chargebeeValidateCoupon:({amount:e,coupon:t,planId:a})=>{let n={amount:e,coupon:t,planId:a};return A.L.post("creator/chargebee/validate/coupon",n)},razorpay:(e,t,a,n,r)=>{let l={amount:t,discount:r.discount||0,discountPercent:r.discountPercent||0,plan:e,billing:{address:n.address,city:n.city,state:a,country:"IN",firstName:n.firstName,lastName:n.lastName,zipCode:n.zipCode}};return r.coupon&&(l.coupon=r.coupon),n.gstNo&&(l.billing.gstNo=n.gstNo),A.L.post("creator/rzp/order/create",l)},razorpaySuccess:({paymentId:e,requestId:t})=>A.L.post(`creator/rzp/checkout/final?paymentId=${e}&requestId=${t}`),sendBasicInfo:({creatorType:e,phone:t,countryCode:a})=>{const n={creatorType:e,phone:t};return a&&(n.countryCode=a),A.L.patch("/creator/basic/info",n)},sendOrgInfo:({courseCategory:e,orgName:t,stage:a,aboutCreator:n,destination:r,orgDescription:l,footerOptions:s})=>{let i={};e&&(i.courseCategory=encodeURIComponent(e)),t&&(i.orgName=encodeURIComponent(t)),l&&(i.orgDescription=encodeURIComponent(l)),n&&(i.aboutCreator=encodeURIComponent(n)),r&&(i.destination=r),a&&(i.stage=a),s&&!(0,d.isEmpty)(s)&&(i.footerOptions=encodeURIComponent(JSON.stringify(s)));let o=Object.entries(i).reduce(((e,[t,a])=>[...e,`${t}=${a}`]),[]).join("&"),c="/creator/org/info";return o&&(c+="?"+o),A.L.patch(c)},sendAdditionalInfo:({alreadyTeaching:e,audienceSize:t,profession:a})=>{const n={alreadyTeaching:e,audienceSize:t,profession:a};return A.L.patch("/creator/userpersona",n)}},gettingStarted:{checklist:()=>A.L.get("creator/checklist"),getSchoolImage:()=>A.L.get("/creator/org/logo")},homepageAnyfeed:{homepage:({limit:e,offset:t})=>A.L.get(`/creator/home/feed?offset=${t}&limit=${e||20}`),removeHomepageCard:({id:e,name:t})=>A.L.patch(`/creator/home/remove/card?id=${e}&name=${t}`)},appBuilder:_,checkout:I,digitalProduct:R,telegramCommunity:y,campaigns:C,emailCampaigns:h,referrals:{getReferredUsers:({pageLength:e,sortBy:t,sortDir:a,pageNum:n})=>{let r={sort:{field:t,order:-1===a?"descend":"ascend"},p:n,s:e,query:"",timeZone:m().tz.guess(),filters:{}};return A.L.post("creator/referral/get",r)},getReferralEarnings:({pageLength:e,sortBy:t,sortDir:a,pageNum:n})=>{let r={sort:{field:t,order:-1===a?"descend":"ascend"},p:n,s:e,query:"",timeZone:m().tz.guess(),filters:{}};return A.L.post("creator/referral/earnings",r)},getOverview:()=>A.L.get("creator/referral/overview")},courses:T,liveSessions:{downloadSessionInfo:(e,t)=>A.L.get(`/content/livesession/report/${e}?type=${t}`),upload:e=>A.L.post("/content/livesession/upload",e),create:e=>A.L.post("/content/livesession/create",e),update:(e,t)=>A.L.patch(`/content/livesession/update/${e}`,t),get:e=>A.L.get(`/content/livesession/get/${e}`),publicGet:(e,t)=>A.L.get(`/content/public/livesession/get/${e}?orgId=${t}`),getCurrencies:()=>A.L.get("/settings/org/currency"),sessionSuggestions:e=>{const{query:t,isPast:a,isAsset:n}=e;let r="&type="+(a&&n?"asset":a?"pastSessions":"upcoming");return a||n||(r=""),A.L.get(`content/livesession/suggest?value=${encodeURIComponent(t)}${r}`)},sessionPageSuggestions:({userName:e,sessionId:t})=>A.L.get(`content/livesession/suggest/${t}?value=${encodeURIComponent(e)}`),getAllSessions:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:m().tz.guess()};return t&&(i={...i,filters:t}),A.L.post("content/livesession/get/all",i)},deleteSession:({id:e,notify:t})=>t?A.L.delete(`content/livesession/delete/${e}?notify=${t}`):A.L.delete(`content/livesession/delete/${e}`),startSession:e=>A.L.get(`/s/livesession/${e}/stream`),sessionOverview:e=>A.L.get(`/content/livesession/overview/${e}`),getSessionPageTable:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s,sessionId:i})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:m().tz.guess()};return t&&(o={...o,filters:t}),A.L.post(`content/livesession/get/${i}/all`,o)},getAllSessionsPublic:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s,orgId:i})=>{let o={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:m().tz.guess()};return t&&(o={...o,filters:t}),A.L.post(`/content/public/livesession/get/all?orgId=${i}`,o)},getLearnerLiveSessions:({pageLength:e,filters:t,sortBy:a,sortDirection:n,pageNum:r,query:l,scroll:s})=>{let i={sort:{field:a,order:-1===n?"descend":"ascend"},scroll:s,p:r,s:e,query:l,timeZone:m().tz.guess()};return t&&(i={...i,filters:t}),A.L.post("content/livesession/get/all?page=library",i)},liveSessionRegistration:({liveSessionId:e,registrationMode:t})=>A.L.post(`/s/users/livesession/free/add/${e}?registrationMode=${t}`),learnersLivesessionJoin:e=>A.L.get(`/content/livesession/${e}/join`),checkout:(e,t)=>E().get(`/single-checkout/init/livesession/${e}`,{params:t})},CreatorsInfo:{upsertCreatorInfo:e=>A.L.post("/content/creator/update",e),getAllCreators:()=>A.L.post("/content/creators",{sort:{field:"createdDate",order:"descend"},p:0,s:1e3,query:"",timeZone:"Asia/Calcutta",filters:{}}),getCreatorInfo:e=>A.L.get(`/content/creators/${e}`),deleteCreator:e=>A.L.delete(`/content/creator/delete/${e}`)},WebsitePages:{uploadMedia:e=>A.L.post("settings/website/org/upload",e),updateWebsiteLandingPage:e=>A.L.post("/settings/website/org/update",e),getWebsiteLandingPage:e=>A.L.get(`/settings/public/website?orgId=${e}`),deleteMedia:(e,t)=>A.L.delete(`/settings/website/org/delete?path=${e}&type=${t}`),updateWebsitePage:e=>A.L.post("/settings/website/org/page/update",e),getWebsitePage:e=>A.L.get(`/settings/public/website/org/page/get/${e}`)},hlsLiveClasss:L,courseSearch:D.P,quizReport:b.z},webHookIntegration:M,logsIntegration:O,integration:{webhook:{table(e){return A.L.post("webhook/table",e)},add(e){return A.L.post("webhook/create",e)},update(e){return A.L.post("webhook/update",e)},delete(e){return A.L.get("webhook/delete",{params:{id:e}})},logs(e){return A.L.post("webhook/logs/table",e)},retry(e){return A.L.get("webhook/logs/retry",{params:{id:e}})},courseSearch(e){return A.L.get("webhook/courses/search",{params:e})},triggerPerform(e){return A.L.get("webhook/trigger/perform",{params:e})},testWebhook(e,t){return A.L.post("webhook/test",e,{params:{id:t}})},testPabbly(e,t){return A.L.post("webhook/test/pabbly",e,{params:t})},pabbly:{get(){return A.L.get("webhook/pabbly/get")},sync(e){return A.L.post("webhook/pabbly/sync",e)}}},gtm:{get(){return A.L.get("integrations/gtm/")},update(e){return A.L.post("integrations/gtm/",e)},delete(){return A.L.delete("integrations/gtm/")}},whatsappWidget:{get(){return A.L.get("integrations/wawidget/")},update(e){return A.L.post("integrations/wawidget/",e)},delete(){return A.L.delete("integrations/wawidget/")}}},community:{getToken(){return A.L.get("community/token")},getCommunityActivityStatus(e){return A.L.get(`${n.VE}/api/v1/web/user/activity-status`,{headers:{Authorization:`Bearer ${e}`}})}},codingAssessment:{getAssessmentById:(e,t,a)=>A.L.get(`/content/courses/${e}/codes/${t}/get/report?userId=${a}`),getPublicAssessmentById:(e,t)=>A.L.get(`/s/preview/courses/${e}/codes/${t}/get`),assessmentReview:(e,t,a)=>A.L.post(`/s/codes/${e}/submissions/${t}/status/update`,"status="+(a?"reviewed":"rejected")),assessmentSubmit:(e,t,a)=>A.L.post(`/content/courses/${t}/code/${a}/save`,e)},Theme:{updateThemeDetails:e=>A.L.post("/settings/website/org/update",e)},downloadMemberData:{downloadMemberData:e=>A.L.post(`/user/export/telegram?telegramCommunityId=${e}`)},ShareModal:{fetchShareImage:(e,t)=>A.L.get(`content/share/get?productId=${e}&productType=${t}`)},unsplashIntegration:{fetchImages:(e,t)=>A.L.get(`content/image/unsplash?query=${e}&page=${t}`,{headers:{Authorization:`${localStorage.getItem("microserviceAuthToken")}`}}),downloadLink:e=>A.L.post(`content/image/download?link=${e}`),fetchRandomImages:()=>A.L.get("content/unsplash/random")},scenesCommunity:{getScenesCommunityUrl(){return A.L.get("/user/create/scenes/url")}},dyteIntegration:{uploadDocSharePDF:(e,t,a,n)=>A.L.post(`content/dyte/${e}/docshare/doc/upload?isWebinar=${n}`,{file:t,file1:a})},profanity:{getProfaneWordsList:()=>A.L.get("content/profanity")},fcm:{getFCMConfig:()=>A.L.get("account/org/fcm")},attendees:{getLiveClassAttendees:(e,t)=>A.L.get(`content/liveclass/${e}/suggest?q=${t}`)}}},16204:function(e,t,a){"use strict";a.d(t,{H:function(){return n}});const n=(0,a(67747).WS)({IN:{name:"India"},AF:{name:"Afghanistan"},AX:{name:"Åland Islands"},AL:{name:"Albania"},DZ:{name:"Algeria"},AS:{name:"American Samoa"},AD:{name:"Andorra"},AO:{name:"Angola"},AI:{name:"Anguilla"},AQ:{name:"Antarctica"},AG:{name:"Antigua and Barbuda"},AR:{name:"Argentina"},AM:{name:"Armenia"},AW:{name:"Aruba"},AU:{name:"Australia"},AT:{name:"Austria"},AZ:{name:"Azerbaijan"},BS:{name:"Bahamas"},BH:{name:"Bahrain"},BD:{name:"Bangladesh"},BB:{name:"Barbados"},BY:{name:"Belarus"},BE:{name:"Belgium"},BZ:{name:"Belize"},BJ:{name:"Benin"},BM:{name:"Bermuda"},BT:{name:"Bhutan"},BO:{name:"Bolivia, Plurinational State of"},BQ:{name:"Bonaire, Sint Eustatius and Saba"},BA:{name:"Bosnia and Herzegovina"},BW:{name:"Botswana"},BV:{name:"Bouvet Island"},BR:{name:"Brazil"},IO:{name:"British Indian Ocean Territory"},BN:{name:"Brunei Darussalam"},BG:{name:"Bulgaria"},BF:{name:"Burkina Faso"},BI:{name:"Burundi"},KH:{name:"Cambodia"},CM:{name:"Cameroon"},CA:{name:"Canada"},CV:{name:"Cape Verde"},KY:{name:"Cayman Islands"},CF:{name:"Central African Republic"},TD:{name:"Chad"},CL:{name:"Chile"},CN:{name:"China"},CX:{name:"Christmas Island"},CC:{name:"Cocos (Keeling) Islands"},CO:{name:"Colombia"},KM:{name:"Comoros"},CG:{name:"Congo"},CD:{name:"Congo, the Democratic Republic of the"},CK:{name:"Cook Islands"},CR:{name:"Costa Rica"},CI:{name:"Côte d'Ivoire"},HR:{name:"Croatia"},CU:{name:"Cuba"},CW:{name:"Curaçao"},CY:{name:"Cyprus"},CZ:{name:"Czech Republic"},DK:{name:"Denmark"},DJ:{name:"Djibouti"},DM:{name:"Dominica"},DO:{name:"Dominican Republic"},EC:{name:"Ecuador"},EG:{name:"Egypt"},SV:{name:"El Salvador"},GQ:{name:"Equatorial Guinea"},ER:{name:"Eritrea"},EE:{name:"Estonia"},ET:{name:"Ethiopia"},FK:{name:"Falkland Islands (Malvinas)"},FO:{name:"Faroe Islands"},FJ:{name:"Fiji"},FI:{name:"Finland"},FR:{name:"France"},GF:{name:"French Guiana"},PF:{name:"French Polynesia"},TF:{name:"French Southern Territories"},GA:{name:"Gabon"},GM:{name:"Gambia"},GE:{name:"Georgia"},DE:{name:"Germany"},GH:{name:"Ghana"},GI:{name:"Gibraltar"},GR:{name:"Greece"},GL:{name:"Greenland"},GD:{name:"Grenada"},GP:{name:"Guadeloupe"},GU:{name:"Guam"},GT:{name:"Guatemala"},GG:{name:"Guernsey"},GN:{name:"Guinea"},GW:{name:"Guinea-Bissau"},GY:{name:"Guyana"},HT:{name:"Haiti"},HM:{name:"Heard Island and McDonald Islands"},VA:{name:"Holy See (Vatican City State)"},HN:{name:"Honduras"},HK:{name:"Hong Kong"},HU:{name:"Hungary"},IS:{name:"Iceland"},ID:{name:"Indonesia"},IR:{name:"Iran, Islamic Republic of"},IQ:{name:"Iraq"},IE:{name:"Ireland"},IM:{name:"Isle of Man"},IL:{name:"Israel"},IT:{name:"Italy"},JM:{name:"Jamaica"},JP:{name:"Japan"},JE:{name:"Jersey"},JO:{name:"Jordan"},KZ:{name:"Kazakhstan"},KE:{name:"Kenya"},KI:{name:"Kiribati"},KP:{name:"Korea, Democratic People's Republic of"},KR:{name:"Korea, Republic of"},KW:{name:"Kuwait"},KG:{name:"Kyrgyzstan"},LA:{name:"Lao People's Democratic Republic"},LV:{name:"Latvia"},LB:{name:"Lebanon"},LS:{name:"Lesotho"},LR:{name:"Liberia"},LY:{name:"Libya"},LI:{name:"Liechtenstein"},LT:{name:"Lithuania"},LU:{name:"Luxembourg"},MO:{name:"Macao"},MK:{name:"Macedonia, the former Yugoslav Republic of"},MG:{name:"Madagascar"},MW:{name:"Malawi"},MY:{name:"Malaysia"},MV:{name:"Maldives"},ML:{name:"Mali"},MT:{name:"Malta"},MH:{name:"Marshall Islands"},MQ:{name:"Martinique"},MR:{name:"Mauritania"},MU:{name:"Mauritius"},YT:{name:"Mayotte"},MX:{name:"Mexico"},FM:{name:"Micronesia, Federated States of"},MD:{name:"Moldova, Republic of"},MC:{name:"Monaco"},MN:{name:"Mongolia"},ME:{name:"Montenegro"},MS:{name:"Montserrat"},MA:{name:"Morocco"},MZ:{name:"Mozambique"},MM:{name:"Myanmar"},NA:{name:"Namibia"},NR:{name:"Nauru"},NP:{name:"Nepal"},NL:{name:"Netherlands"},NC:{name:"New Caledonia"},NZ:{name:"New Zealand"},NI:{name:"Nicaragua"},NE:{name:"Niger"},NG:{name:"Nigeria"},NU:{name:"Niue"},NF:{name:"Norfolk Island"},MP:{name:"Northern Mariana Islands"},NO:{name:"Norway"},OM:{name:"Oman"},PK:{name:"Pakistan"},PW:{name:"Palau"},PS:{name:"Palestinian Territory, Occupied"},PA:{name:"Panama"},PG:{name:"Papua New Guinea"},PY:{name:"Paraguay"},PE:{name:"Peru"},PH:{name:"Philippines"},PN:{name:"Pitcairn"},PL:{name:"Poland"},PT:{name:"Portugal"},PR:{name:"Puerto Rico"},QA:{name:"Qatar"},RE:{name:"Réunion"},RO:{name:"Romania"},RU:{name:"Russian Federation"},RW:{name:"Rwanda"},BL:{name:"Saint Barthélemy"},SH:{name:"Saint Helena, Ascension and Tristan da Cunha"},KN:{name:"Saint Kitts and Nevis"},LC:{name:"Saint Lucia"},MF:{name:"Saint Martin (French part)"},PM:{name:"Saint Pierre and Miquelon"},VC:{name:"Saint Vincent and the Grenadines"},WS:{name:"Samoa"},SM:{name:"San Marino"},ST:{name:"Sao Tome and Principe"},SA:{name:"Saudi Arabia"},SN:{name:"Senegal"},RS:{name:"Serbia"},SC:{name:"Seychelles"},SL:{name:"Sierra Leone"},SG:{name:"Singapore"},SX:{name:"Sint Maarten (Dutch part)"},SK:{name:"Slovakia"},SI:{name:"Slovenia"},SB:{name:"Solomon Islands"},SO:{name:"Somalia"},ZA:{name:"South Africa"},GS:{name:"South Georgia and the South Sandwich Islands"},SS:{name:"South Sudan"},ES:{name:"Spain"},LK:{name:"Sri Lanka"},SD:{name:"Sudan"},SR:{name:"Suriname"},SJ:{name:"Svalbard and Jan Mayen"},SZ:{name:"Swaziland"},SE:{name:"Sweden"},CH:{name:"Switzerland"},SY:{name:"Syrian Arab Republic"},TW:{name:"Taiwan, Province of China"},TJ:{name:"Tajikistan"},TZ:{name:"Tanzania, United Republic of"},TH:{name:"Thailand"},TL:{name:"Timor-Leste"},TG:{name:"Togo"},TK:{name:"Tokelau"},TO:{name:"Tonga"},TT:{name:"Trinidad and Tobago"},TN:{name:"Tunisia"},TR:{name:"Turkey"},TM:{name:"Turkmenistan"},TC:{name:"Turks and Caicos Islands"},TV:{name:"Tuvalu"},UG:{name:"Uganda"},UA:{name:"Ukraine"},AE:{name:"United Arab Emirates"},GB:{name:"United Kingdom"},US:{name:"United States"},UM:{name:"United States Minor Outlying Islands"},UY:{name:"Uruguay"},UZ:{name:"Uzbekistan"},VU:{name:"Vanuatu"},VE:{name:"Venezuela, Bolivarian Republic of"},VN:{name:"Viet Nam"},VG:{name:"Virgin Islands, British"},VI:{name:"Virgin Islands, U.S."},WF:{name:"Wallis and Futuna"},EH:{name:"Western Sahara"},YE:{name:"Yemen"},ZM:{name:"Zambia"},ZW:{name:"Zimbabwe"}})},16621:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/no-data_813c0429e69f51ac68d3.png"},16684:function(e,t,a){"use strict";a.d(t,{A:function(){return N}});var n=a(54022),r=a(11030),l=a(31387),s=a(31163),i=a(33919),o=a(89707),c=a(40841),E=a(16101),d=a(2765);var u=a(26264),m=a(7331),p=a(74893),A=a(72505),S=a.n(A),_=a(96540),C=a(90952),I=a(32389);function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{t:D}=(0,I.Bd)(),[y,M]=(0,o.i)(),v=y,P=M,w=!v.org.emailCampaignConfigCreated,[x,U]=(0,_.useState)(""),[F,B]=(0,_.useState)(""),[G,k]=(0,_.useState)(""),[H,V]=(0,_.useState)(""),[Y,W]=(0,_.useState)(""),[$,j]=(0,_.useState)("");(0,_.useEffect)((()=>{R&&R(x)}),[x,R]),(0,_.useEffect)((()=>{f&&f(F)}),[F,f]),(0,_.useEffect)((()=>{h&&h(G)}),[G,h]),(0,_.useEffect)((()=>{L&&L(H)}),[H,L]),(0,_.useEffect)((()=>{O&&O(Y)}),[Y,O]),(0,_.useEffect)((()=>{b&&$&&b($)}),[$,b]);const[K,X]=(0,_.useState)(null),[z,Z]=(0,_.useState)(null),[Q,q]=(0,_.useState)(null),[J,ee]=(0,_.useState)(!1),[te,ae]=(0,_.useState)(!1);(0,_.useEffect)((()=>{re()}),[]),(0,_.useEffect)((()=>()=>{N(!1)}),[]),(0,_.useEffect)((()=>{const e=document.createElement("script");return e.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAhhW-hNXDyEMHTEBx1ZQ7IMBKAVZoWlLU&libraries=places",e.async=!0,document.body.appendChild(e),e.onload=()=>{const e=document.getElementById("companyName"),t=document.getElementById("address"),a=new window.google.maps.places.Autocomplete(t,{fields:["address_components","geometry"],types:["address"]});return a.addListener("place_changed",(()=>{const t=a.getPlace();let n="",r="";t.address_components.forEach((t=>{switch(t.types[0]){case"street_number":n=`${t.long_name} ${n}`;break;case"route":n+=t.short_name;break;case"postal_code":r=`${t.long_name}${r}`;break;case"postal_code_suffix":r=`${r}-${t.long_name}`;break;case"locality":k(t.long_name);break;case"administrative_area_level_1":V(t.short_name);break;case"country":j(t.long_name);const e=E.HH.find((e=>e.value===t.long_name));e&&Z(e)}U(e?.value),B(n),W(r)}))})),window.addEventListener("popstate",ne),()=>{window.removeEventListener("popstate",ne)}},()=>{document.body.removeChild(e)}}),[]);const ne=()=>{const e=document.getElementById("address");e&&e.blur()};(0,_.useEffect)((()=>{setTimeout((()=>{le()}),100)}),[]),(0,_.useEffect)((()=>{if("United States"===$||"India"===$||""===$){ee(!0);const e=E.HH.find((e=>e.value===$));let t;e&&Z(e),t="India"===$?E.DC.find((e=>e.value===H)):E.Qb.find((e=>e.value===H)),t&&q(t)}else ee(!1)}),[$,K]);const re=async()=>{try{const e=await c.A.getAddress("email");if(e){const{address:t,city:a,companyName:n,state:r,zipCode:l,country:s}=e;Boolean(n)&&ae(!0),U(n),B(t),k(a),V(r),W(l),j(s);const i=E.HH.find((e=>e.value===s));i&&Z(i),s&&ee("United States"===s||"India"===s)}}catch(e){}},le=async()=>{try{const e=await S().get("https://ipapi.co/json/"),{country_name:t}=e.data;X("United States"===t||"India"===t?t:null)}catch(e){console.error("Error fetching user location",e)}},se=()=>{if(w){const e={...v};e.org.emailCampaignConfigCreated=!0,P(e)}};return _.createElement(C.lV,{initialValues:{companyName:x,address:F,city:G,state:H,zipCode:Y,country:$},onSubmit:async e=>{try{const t={...e};te?(await c.A.updateAddress(t),(0,u.A)({toastType:d.k.SUCCESS,message:D("EMAIL_CAMPAIGN:TOAST_MESSAGES.ADDRESS_CREATE")}),a?.(),setTimeout((()=>{se()}),1e3)):(await c.A.createAddress(t),(0,u.A)({toastType:d.k.SUCCESS,message:D("EMAIL_CAMPAIGN:TOAST_MESSAGES.ADDRESS_UPDATE")}),a?.(),setTimeout((()=>{se()}),1e3))}catch(e){}},decorators:[m.Y5],mutators:p.rf},(({handleSubmit:a,dirty:o,submitSucceeded:c,submitting:d,form:u})=>{(0,_.useEffect)((()=>{Q&&u.mutators.setFieldValue("state",Q.value)}),[Q?.value]),(0,_.useEffect)((()=>{if(z)if(u.mutators.setFieldValue("country",z.value),"United States"===z.value||"India"===z.value){ee(!0);const e=E.HH.find((e=>e.value===z.value));let t;e&&Z(e),t="India"===z.value?E.DC.find((e=>e.value===H)):E.Qb.find((e=>e.value===H)),t?q(t):(q(null),u.mutators.setFieldValue("state",""))}else ee(!1)}),[z?.value]),(0,_.useEffect)((()=>{A(c)}),[c]),(0,_.useEffect)((()=>{const e=!c&&Boolean(m());N(e)}));const m=()=>!c&&o;return _.createElement("form",{className:`flex flex-col gap-3 ${g} `,id:"email-campaigns-form",onSubmit:a},_.createElement("div",{className:"flex flex-col gap-3 "},_.createElement("div",{className:"flex flex-col gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"companyName"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.NAME_OR_COMPANY")),_.createElement(C.D0,{name:"companyName",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>_.createElement(n.A,T({},e,{placeholder:"Enter your name or your company's name",className:"text-darkSlate01 !rounded-[8px]",id:"companyName",type:"text",disabled:d,error:Boolean(t.touched&&t.error),message:t.touched&&t.error,onChange:t=>{e.onChange(t),U(t.target.value)}}))))),_.createElement("div",{className:"flex flex-col gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"address"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.ADDRESS")),_.createElement(C.D0,{name:"address",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>_.createElement(n.A,T({},e,{placeholder:"eg 333, main st",className:"text-darkSlate01 !rounded-[8px]",id:"address",type:"text",autoComplete:"off",disabled:d,error:Boolean(t.touched&&t.error),message:t.touched&&t.error,onChange:t=>{e.onChange(t),B(t.target.value)}}))))),_.createElement("div",{className:"flex flex-col gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"city"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.CITY")),_.createElement(C.D0,{name:"city",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>_.createElement(n.A,T({},e,{placeholder:"eg Chicago",className:"text-darkSlate01 !rounded-[8px]",id:"city",type:"text",disabled:d,error:Boolean(t.touched&&t.error),message:t.touched&&t.error,onChange:t=>{e.onChange(t),k(t.target.value)}}))))),_.createElement("div",{className:"flex gap-3"},_.createElement("div",{className:"flex flex-col flex-1 gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"state"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.STATE")),_.createElement(C.D0,{name:"state",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>J?_.createElement(_.Fragment,null,_.createElement(r.A,T({},e,{buttonType:"button",inputClassName:`border outline-none border-slate04 focus:border-juneBlue pl-4 pr-4 py-3.5 w-full text-body !rounded-[8px] bg-white transition-border duration-200 ${Boolean(Q)?"!text-darkSlate01":"!text-[#9ca3af]"} !font-normal`,selected:Q,placeHolder:"eg Illinois",itemSelectedCallback:e=>{q(e),V(e.value)},list:"India"===z?.value?E.DC:E.Qb,required:!0,requiredErrorMessage:"This field can't be empty"})),t.error&&t.touched&&_.createElement(l.A,{size:s.p.FOOTNOTE,color:"text-errorMid",className:"my-1"},"This field can't be empty")):_.createElement(n.A,T({},e,{placeholder:"eg Illinois",className:"text-darkSlate01 !rounded-[8px]",id:"state",type:"text",disabled:d,error:Boolean(t.touched&&t.error),message:t.touched&&t.error,onChange:t=>{e.onChange(t),V(t.target.value)}}))))),_.createElement("div",{className:"flex flex-col flex-1 gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"zipCode"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.ZIP_CODE")),_.createElement(C.D0,{name:"zipCode",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>_.createElement(n.A,T({},e,{placeholder:"eg 60007",className:"text-darkSlate01 !rounded-[8px]",id:"zipCode",type:"text",disabled:d,error:Boolean(t.touched&&t.error),message:t.touched&&t.error,onChange:t=>{e.onChange(t),W(t.target.value)}})))))),_.createElement("div",{className:"flex flex-col gap-[10px]"},_.createElement("label",{className:"text-body font-500 text-darkSlate01",htmlFor:"country"},D("EMAIL_CAMPAIGN:CONTACT_FORM_LABEL.COUNTRY")),_.createElement(C.D0,{name:"country",validate:e=>(e=>{if(!e)return"This field can't be empty"})(e)},(({input:e,meta:t})=>_.createElement(_.Fragment,null,_.createElement(r.A,T({},e,{buttonType:"button",inputClassName:`border outline-none border-slate04 focus:border-juneBlue pl-4 pr-4 py-3.5 w-full text-body !rounded-[8px] bg-white transition-border duration-200 ${Boolean(z)?"!text-darkSlate01":"!text-[#9ca3af]"} !font-normal`,selected:z,placeHolder:"eg United States of America",itemSelectedCallback:e=>{Z(e),j(e.value),b&&b(e.value)},list:E.HH,required:!0,requiredErrorMessage:"This field can't be empty"})),t.error&&t.touched&&_.createElement(l.A,{size:s.p.FOOTNOTE,color:"text-errorMid",className:"my-1"},"This field can't be empty"))))),_.createElement("div",{className:"pt-5 flex gap-4 justify-end "+("modal"===t?"sticky bottom-0 left-0 -mx-6 right-0 bg-white pb-5 px-6 border-t border-slateStroke justify-end":"")},e.map((e=>_.createElement(_.Fragment,null,e.showUnder===t&&_.createElement(i.A,{as:"button",id:e.id,hidden:e.hidden,type:e.type,className:"flex w-fit bg-[#4E5DE0] items-baseline rounded-[33px] px-6 py-3.5 [&>*]:leading-numb !font-500",variant:e.variant,onClick:()=>{"skipForNow-btn"===e.id&&se()}},e.label)))))))}))}},17634:function(e,t,a){"use strict";a.d(t,{$g:function(){return d},Il:function(){return i},N0:function(){return l},O4:function(){return m},SZ:function(){return p},Sb:function(){return N},Ss:function(){return o},V:function(){return _},WB:function(){return u},Y4:function(){return I},aZ:function(){return T},eZ:function(){return c},hw:function(){return s},ip:function(){return A},n7:function(){return g},p3:function(){return S},sq:function(){return E},wF:function(){return C}});var n=a(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"48",height:"48",rx:"10.6667",fill:"none"}),n.createElement("path",{d:"M22.4961 20.25C23.4622 20.25 24.3828 20.0677 25.2578 19.7031C26.1328 19.3385 26.9076 18.819 27.582 18.1445L28.6211 17.1055C28.931 16.832 29.25 16.7682 29.5781 16.9141C29.9062 17.0417 30.0885 17.306 30.125 17.707V21.6719C30.3802 21.7995 30.5898 22.0091 30.7539 22.3008C30.918 22.5924 31 22.9297 31 23.3125C31 23.6953 30.918 24.0326 30.7539 24.3242C30.5898 24.6159 30.3802 24.8255 30.125 24.9531V28.918C30.0885 29.319 29.9062 29.5833 29.5781 29.7109C29.25 29.8568 28.931 29.793 28.6211 29.5195L27.582 28.4805C26.9258 27.8242 26.1784 27.3138 25.3398 26.9492C24.5013 26.5846 23.6172 26.3932 22.6875 26.375V29.2188C22.6693 29.6562 22.5234 30.0208 22.25 30.3125C21.9583 30.5859 21.5938 30.7318 21.1562 30.75H20.2812C19.8438 30.7318 19.4792 30.5859 19.1875 30.3125C18.9141 30.0208 18.7682 29.6562 18.75 29.2188V26.375C18.2578 26.3568 17.8477 26.1836 17.5195 25.8555C17.1914 25.5273 17.0182 25.1172 17 24.625V22C17.0182 21.5078 17.1914 21.0977 17.5195 20.7695C17.8477 20.4414 18.2578 20.2682 18.75 20.25H22.4961ZM28.8125 18.7734L28.5117 19.0742C27.7279 19.8398 26.8346 20.4414 25.832 20.8789C24.8477 21.2982 23.7995 21.526 22.6875 21.5625V25.0625C23.7995 25.0807 24.8477 25.3086 25.832 25.7461C26.8346 26.1836 27.7279 26.7852 28.5117 27.5508L28.8125 27.8516V18.7734ZM20.0625 29.2188C20.0807 29.3464 20.1536 29.4193 20.2812 29.4375H21.1562C21.2839 29.4193 21.3568 29.3464 21.375 29.2188V26.375H20.0625V29.2188ZM18.3125 22V24.625C18.3307 24.8802 18.4766 25.0169 18.75 25.0352H21.375V21.5625H18.75C18.4766 21.5807 18.3307 21.7266 18.3125 22Z",fill:"#393F41"})),s=e=>n.createElement("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"48",height:"48",rx:"8",fill:"none"}),n.createElement("path",{d:"M29.4414 24.625C29.806 24.7891 29.9427 25.0716 29.8516 25.4727C29.4505 26.7852 28.7122 27.8424 27.6367 28.6445C26.5794 29.4466 25.3581 29.8568 23.9727 29.875C22.8789 29.8568 21.8763 29.5833 20.9648 29.0547C20.0534 28.5078 19.3151 27.7786 18.75 26.8672V29.6562C18.7135 30.0573 18.4948 30.276 18.0938 30.3125C17.6927 30.276 17.474 30.0573 17.4375 29.6562V25.2812C17.474 24.8802 17.6927 24.6615 18.0938 24.625H22.4688C22.8516 24.6615 23.0612 24.8802 23.0977 25.2812C23.0612 25.6823 22.8424 25.901 22.4414 25.9375H19.707C20.1263 26.7396 20.7096 27.3776 21.457 27.8516C22.2044 28.3073 23.043 28.5443 23.9727 28.5625C25.0664 28.5443 26.0326 28.2253 26.8711 27.6055C27.7279 26.9674 28.3112 26.1198 28.6211 25.0625C28.7669 24.6979 29.0404 24.5521 29.4414 24.625ZM29.9062 17.1875C30.3073 17.224 30.526 17.4427 30.5625 17.8438V22.2188C30.526 22.6198 30.3073 22.8385 29.9062 22.875H25.5312C25.1302 22.8385 24.9115 22.6198 24.875 22.2188C24.9115 21.8177 25.1302 21.599 25.5312 21.5625H28.293C27.8555 20.7604 27.263 20.1224 26.5156 19.6484C25.7682 19.1927 24.9297 18.9557 24 18.9375C22.9062 18.9557 21.9401 19.2747 21.1016 19.8945C20.2812 20.5326 19.707 21.3711 19.3789 22.4102C19.2331 22.7747 18.9596 22.9206 18.5586 22.8477C18.194 22.7018 18.0482 22.4284 18.1211 22.0273C18.5221 20.7148 19.2604 19.6576 20.3359 18.8555C21.3932 18.0534 22.6146 17.6432 24 17.625C25.112 17.6432 26.1237 17.9167 27.0352 18.4453C27.9466 18.9922 28.6849 19.7214 29.25 20.6328V17.8438C29.2865 17.4427 29.5052 17.224 29.9062 17.1875Z",fill:"#393F41"})),i=e=>n.createElement("svg",r({width:14,height:11,viewBox:"0 0 14 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M0 2.25012C0.0182292 1.75793 0.191406 1.34778 0.519531 1.01965C0.847656 0.691528 1.25781 0.518351 1.75 0.500122H12.25C12.7422 0.518351 13.1523 0.691528 13.4805 1.01965C13.8086 1.34778 13.9818 1.75793 14 2.25012V9.25012C13.9818 9.74231 13.8086 10.1525 13.4805 10.4806C13.1523 10.8087 12.7422 10.9819 12.25 11.0001H1.75C1.25781 10.9819 0.847656 10.8087 0.519531 10.4806C0.191406 10.1525 0.0182292 9.74231 0 9.25012V2.25012ZM1.3125 2.25012V2.85168L6.04297 6.7345C6.33464 6.95325 6.65365 7.06262 7 7.06262C7.34635 7.06262 7.67448 6.95325 7.98438 6.7345L12.6875 2.85168V2.22278C12.6693 1.96757 12.5234 1.82174 12.25 1.78528H1.75C1.47656 1.82174 1.33073 1.96757 1.3125 2.22278V2.25012ZM1.3125 4.547V9.25012C1.33073 9.52356 1.47656 9.66939 1.75 9.68762H12.25C12.5234 9.66939 12.6693 9.52356 12.6875 9.25012V4.547L8.80469 7.74622C8.25781 8.16549 7.65625 8.37512 7 8.37512C6.34375 8.37512 5.73307 8.16549 5.16797 7.74622L1.3125 4.547Z",fill:"#393F41"})),o=e=>n.createElement("svg",r({width:16,height:13,viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M14.125 0.625122C14.6172 0.643351 15.0273 0.816528 15.3555 1.14465C15.6836 1.47278 15.8568 1.88293 15.875 2.37512V8.50012C15.8568 8.99231 15.6836 9.40247 15.3555 9.73059C15.0273 10.0587 14.6172 10.2319 14.125 10.2501H4.5C4.00781 10.2319 3.59766 10.0587 3.26953 9.73059C2.94141 9.40247 2.76823 8.99231 2.75 8.50012V2.37512C2.76823 1.88293 2.94141 1.47278 3.26953 1.14465C3.59766 0.816528 4.00781 0.643351 4.5 0.625122H14.125ZM14.5625 8.50012V4.17981L11.2812 6.91418C10.6979 7.38814 10.0417 7.62512 9.3125 7.62512C8.58333 7.62512 7.92708 7.38814 7.34375 6.91418L4.0625 4.17981V8.50012C4.08073 8.77356 4.22656 8.91939 4.5 8.93762H14.125C14.3984 8.91939 14.5443 8.77356 14.5625 8.50012ZM14.5625 2.45715V2.37512C14.5443 2.10168 14.3984 1.95585 14.125 1.93762H4.5C4.22656 1.95585 4.08073 2.10168 4.0625 2.37512V2.45715L8.19141 5.90247C8.51953 6.15767 8.89323 6.28528 9.3125 6.28528C9.73177 6.28528 10.1055 6.15767 10.4336 5.90247L14.5625 2.45715ZM12.5938 12.8751C12.9948 12.8387 13.2135 12.6199 13.25 12.2189C13.2135 11.8178 12.9948 11.5991 12.5938 11.5626H3.40625C2.84115 11.5444 2.3763 11.353 2.01172 10.9884C1.64714 10.6238 1.45573 10.159 1.4375 9.59387V3.03137C1.40104 2.63033 1.18229 2.41158 0.78125 2.37512C0.380208 2.41158 0.161458 2.63033 0.125 3.03137V9.59387C0.143229 10.5236 0.46224 11.2983 1.08203 11.9181C1.70182 12.5379 2.47656 12.8569 3.40625 12.8751H12.5938Z",fill:"#393F41"})),c=e=>{const{pathFill:t="black",...a}=e;return n.createElement("svg",r({width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M12.25 0.5C12.6719 0.515625 13.0234 0.664062 13.3047 0.945312C13.5859 1.22656 13.7344 1.57812 13.75 2V8.75C13.7344 9.17188 13.5859 9.52344 13.3047 9.80469C13.0234 10.0859 12.6719 10.2344 12.25 10.25H8.73438L9.20312 11.75H10.375C10.6094 11.7656 10.7344 11.8906 10.75 12.125C10.7344 12.3594 10.6094 12.4844 10.375 12.5H3.625C3.39062 12.4844 3.26562 12.3594 3.25 12.125C3.26562 11.8906 3.39062 11.7656 3.625 11.75H4.82031L5.26562 10.25H1.75C1.32812 10.2344 0.976562 10.0859 0.695312 9.80469C0.414062 9.52344 0.265625 9.17188 0.25 8.75V2C0.265625 1.57812 0.414062 1.22656 0.695312 0.945312C0.976562 0.664062 1.32812 0.515625 1.75 0.5H12.25ZM5.59375 11.75H8.40625L7.96094 10.25H6.03906L5.59375 11.75ZM13 8.75V7.25H1V8.75C1 8.96875 1.07031 9.14844 1.21094 9.28906C1.35156 9.42969 1.53125 9.5 1.75 9.5H12.25C12.4688 9.5 12.6484 9.42969 12.7891 9.28906C12.9297 9.14844 13 8.96875 13 8.75ZM13 6.5V2C13 1.78125 12.9297 1.60156 12.7891 1.46094C12.6484 1.32031 12.4688 1.25 12.25 1.25H1.75C1.53125 1.25 1.35156 1.32031 1.21094 1.46094C1.07031 1.60156 1 1.78125 1 2V6.5H13Z",fill:t||"#fff"}))},E=e=>{const{pathFill:t="black",...a}=e;return n.createElement("svg",r({width:"8",height:"11",viewBox:"0 0 8 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M5.875 0.25C6.22656 0.263021 6.51953 0.386719 6.75391 0.621094C6.98828 0.855469 7.11198 1.14844 7.125 1.5V9C7.11198 9.35156 6.98828 9.64453 6.75391 9.87891C6.51953 10.1133 6.22656 10.237 5.875 10.25H2.125C1.77344 10.237 1.48047 10.1133 1.24609 9.87891C1.01172 9.64453 0.888021 9.35156 0.875 9V1.5C0.888021 1.14844 1.01172 0.855469 1.24609 0.621094C1.48047 0.386719 1.77344 0.263021 2.125 0.25H5.875ZM6.5 9V1.5C6.5 1.31771 6.44141 1.16797 6.32422 1.05078C6.20703 0.933594 6.05729 0.875 5.875 0.875H2.125C1.94271 0.875 1.79297 0.933594 1.67578 1.05078C1.55859 1.16797 1.5 1.31771 1.5 1.5V9C1.5 9.18229 1.55859 9.33203 1.67578 9.44922C1.79297 9.56641 1.94271 9.625 2.125 9.625H5.875C6.05729 9.625 6.20703 9.56641 6.32422 9.44922C6.44141 9.33203 6.5 9.18229 6.5 9ZM4.625 8.0625C4.82031 8.07552 4.92448 8.17969 4.9375 8.375C4.92448 8.57031 4.82031 8.67448 4.625 8.6875H3.375C3.17969 8.67448 3.07552 8.57031 3.0625 8.375C3.07552 8.17969 3.17969 8.07552 3.375 8.0625H4.625Z",fill:t||"#fff"}))},d=e=>{const{pathFill:t="black",...a}=e;return n.createElement("svg",r({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M14.2266 0.859375C14.4453 1.02344 14.5273 1.24219 14.4727 1.51562L12.7227 13.3281C12.6862 13.5286 12.5768 13.6836 12.3945 13.793C12.2852 13.8477 12.1758 13.875 12.0664 13.875C11.9753 13.875 11.8932 13.8568 11.8203 13.8203L9.11328 12.6992L6.07812 14.6406C5.96875 14.7135 5.85026 14.75 5.72266 14.75C5.63151 14.75 5.54036 14.7227 5.44922 14.668C5.21224 14.5404 5.09375 14.349 5.09375 14.0938V10.9766L0.910156 9.22656C0.654948 9.11719 0.518229 8.92578 0.5 8.65234C0.5 8.39714 0.609375 8.19661 0.828125 8.05078L13.5156 0.832031C13.7526 0.704427 13.9896 0.713542 14.2266 0.859375ZM10.5898 4.00391L2.63281 8.54297L5.47656 9.71875L10.5898 4.00391ZM6.37891 12.8906L7.66406 12.0703L6.37891 11.5508V12.8906ZM11.5742 12.2891L12.8867 3.42969L6.73438 10.2656L11.5742 12.2891Z",fill:t||"#fff"}))},u=e=>{const{pathFill:t,...a}=e;return n.createElement("svg",r({width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M6.375 7.75C5.39062 7.73177 4.5612 7.39453 3.88672 6.73828C3.23047 6.0638 2.89323 5.23438 2.875 4.25C2.89323 3.26562 3.23047 2.4362 3.88672 1.76172C4.5612 1.10547 5.39062 0.768229 6.375 0.75C7.35938 0.768229 8.1888 1.10547 8.86328 1.76172C9.51953 2.4362 9.85677 3.26562 9.875 4.25C9.85677 5.23438 9.51953 6.0638 8.86328 6.73828C8.1888 7.39453 7.35938 7.73177 6.375 7.75ZM7.76953 9.0625C9.10026 9.09896 10.2122 9.5638 11.1055 10.457C11.9987 11.3503 12.4635 12.4622 12.5 13.793C12.5 14.0664 12.4089 14.2943 12.2266 14.4766C12.0443 14.6589 11.8164 14.75 11.543 14.75H1.20703C0.933594 14.75 0.705729 14.6589 0.523438 14.4766C0.341146 14.2943 0.25 14.0664 0.25 13.793C0.286458 12.4622 0.751302 11.3503 1.64453 10.457C2.53776 9.5638 3.64974 9.09896 4.98047 9.0625H7.76953ZM13.3477 9.5C14.6055 9.53646 15.6445 9.96484 16.4648 10.7852C17.2852 11.6055 17.7135 12.6263 17.75 13.8477C17.75 14.1029 17.668 14.3125 17.5039 14.4766C17.3398 14.6589 17.1302 14.75 16.875 14.75H13.1016C13.2839 14.4766 13.375 14.1576 13.375 13.793C13.375 12.9362 13.1927 12.1341 12.8281 11.3867C12.4635 10.6576 11.9622 10.0286 11.3242 9.5H13.3477ZM12.0625 7.75C11.1875 7.73177 10.4583 7.43099 9.875 6.84766C10.4401 6.10026 10.7318 5.23438 10.75 4.25C10.7318 3.52083 10.5586 2.85547 10.2305 2.25391C10.7591 1.85286 11.3698 1.64323 12.0625 1.625C12.9375 1.64323 13.6576 1.94401 14.2227 2.52734C14.806 3.09245 15.1068 3.8125 15.125 4.6875C15.1068 5.5625 14.806 6.28255 14.2227 6.84766C13.6576 7.43099 12.9375 7.73177 12.0625 7.75Z",fill:"url(#paint0_linear_775_25921)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_775_25921",x1:"-0.6",y1:"8",x2:"21",y2:"8",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{"stop-color":"#4E5DE0"}),n.createElement("stop",{offset:"1","stop-color":"#5868F7"}))))},m=e=>{const{pathFill:t,...a}=e;return n.createElement("svg",r({width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M7 14.75C5.6875 14.7318 4.51172 14.4128 3.47266 13.793C2.41536 13.1732 1.57682 12.3346 0.957031 11.2773C0.33724 10.2383 0.0182292 9.0625 0 7.75C0.0182292 6.4375 0.33724 5.26172 0.957031 4.22266C1.57682 3.16536 2.41536 2.32682 3.47266 1.70703C4.51172 1.08724 5.6875 0.768229 7 0.75C8.3125 0.768229 9.48828 1.08724 10.5273 1.70703C11.5846 2.32682 12.4232 3.16536 13.043 4.22266C13.6628 5.26172 13.9818 6.4375 14 7.75C13.9818 9.0625 13.6628 10.2383 13.043 11.2773C12.4232 12.3346 11.5846 13.1732 10.5273 13.793C9.48828 14.4128 8.3125 14.7318 7 14.75ZM6.34375 7.75C6.34375 7.98698 6.44401 8.16016 6.64453 8.26953L9.26953 10.0195C9.61589 10.2383 9.90755 10.1836 10.1445 9.85547C10.3633 9.50911 10.3086 9.20833 9.98047 8.95312L7.65625 7.39453V4.03125C7.61979 3.63021 7.39193 3.41146 6.97266 3.375C6.79036 3.375 6.63542 3.4388 6.50781 3.56641C6.38021 3.69401 6.31641 3.84896 6.31641 4.03125L6.34375 7.75Z",fill:"url(#paint0_linear_775_21282)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_775_21282",x1:"-2.6",y1:"8",x2:"19",y2:"8",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{"stop-color":"#4E5DE0"}),n.createElement("stop",{offset:"1","stop-color":"#5868F7"}))))},p=e=>{const{pathFill:t,...a}=e;return n.createElement("svg",r({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),n.createElement("path",{d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM6.00084 12C6.00084 15.3132 8.68675 17.9992 12 17.9992C15.3132 17.9992 17.9992 15.3132 17.9992 12C17.9992 8.68675 15.3132 6.00084 12 6.00084C8.68675 6.00084 6.00084 8.68675 6.00084 12Z",fill:"#FA4D56"}),n.createElement("path",{d:"M12 0C14.6435 3.15234e-08 17.213 0.872892 19.3095 2.48311C21.406 4.09333 22.9121 6.35076 23.594 8.90481L17.797 10.4524C17.4561 9.17538 16.703 8.04667 15.6548 7.24156C14.6065 6.43645 13.3217 6 12 6V0Z",fill:"#FA4D56"}),n.createElement("g",{filter:"url(#filter0_d_1124_39296)"},n.createElement("circle",{cx:"20.5",cy:9,r:3,fill:"#FA4D56"})),n.createElement("defs",null,n.createElement("filter",{id:"filter0_d_1124_39296",x:"16.5",y:6,width:8,height:8,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:1}),n.createElement("feGaussianBlur",{stdDeviation:"0.5"}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),n.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1124_39296"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1124_39296",result:"shape"}))))},A=e=>n.createElement("svg",{width:"33",height:"28",viewBox:"0 0 33 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("foreignObject",{x:"-155.5",y:"-156",width:"344",height:"340"},n.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml"})),n.createElement("path",{"data-figma-bg-blur-radius":"156",d:"M3.5 23.5C3.58333 24.4167 4.08333 24.9167 5 25H31C31.9167 25.0833 32.4167 25.5833 32.5 26.5C32.4167 27.4167 31.9167 27.9167 31 28H5C3.70833 27.9583 2.64583 27.5208 1.8125 26.6875C0.979167 25.8542 0.541667 24.7917 0.5 23.5V1.5C0.583333 0.583333 1.08333 0.0833333 2 0C2.91667 0.0833333 3.41667 0.583333 3.5 1.5V23.5ZM22 6H29C29.9167 6.08333 30.4167 6.58333 30.5 7.5V14.5C30.4167 15.4167 29.9167 15.9167 29 16C28.0833 15.9167 27.5833 15.4167 27.5 14.5V11.125L20.5 18C19.8333 18.625 19.1458 18.625 18.4375 18L13.4375 13.125L9.5 17C8.83333 17.625 8.14583 17.625 7.4375 17C6.85417 16.3333 6.85417 15.6458 7.4375 14.9375L12.4375 9.9375C13.1458 9.35417 13.8333 9.35417 14.5 9.9375L19.5 14.875L25.375 9H22C21.0833 8.91667 20.5833 8.41667 20.5 7.5C20.5833 6.58333 21.0833 6.08333 22 6Z",fill:"#393F41"}),n.createElement("defs",null,n.createElement("clipPath",{id:"bgblur_0_165_101746_clip_path",transform:"translate(155.5 156)"},n.createElement("path",{d:"M3.5 23.5C3.58333 24.4167 4.08333 24.9167 5 25H31C31.9167 25.0833 32.4167 25.5833 32.5 26.5C32.4167 27.4167 31.9167 27.9167 31 28H5C3.70833 27.9583 2.64583 27.5208 1.8125 26.6875C0.979167 25.8542 0.541667 24.7917 0.5 23.5V1.5C0.583333 0.583333 1.08333 0.0833333 2 0C2.91667 0.0833333 3.41667 0.583333 3.5 1.5V23.5ZM22 6H29C29.9167 6.08333 30.4167 6.58333 30.5 7.5V14.5C30.4167 15.4167 29.9167 15.9167 29 16C28.0833 15.9167 27.5833 15.4167 27.5 14.5V11.125L20.5 18C19.8333 18.625 19.1458 18.625 18.4375 18L13.4375 13.125L9.5 17C8.83333 17.625 8.14583 17.625 7.4375 17C6.85417 16.3333 6.85417 15.6458 7.4375 14.9375L12.4375 9.9375C13.1458 9.35417 13.8333 9.35417 14.5 9.9375L19.5 14.875L25.375 9H22C21.0833 8.91667 20.5833 8.41667 20.5 7.5C20.5833 6.58333 21.0833 6.08333 22 6Z"})))),S=e=>n.createElement("svg",{width:"41",height:"32",viewBox:"0 0 41 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("foreignObject",{x:"-155.834",y:"-156",width:"352",height:"344"},n.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml"})),n.createElement("path",{"data-figma-bg-blur-radius":"156",d:"M4.16602 1.5C4.24935 0.583333 4.74935 0.0833333 5.66602 0H10.166C10.9577 0.0416667 11.4577 0.458333 11.666 1.25L11.7285 2H38.041C38.7077 2.04167 39.2285 2.3125 39.6035 2.8125C39.9785 3.3125 40.1035 3.89583 39.9785 4.5625L36.6035 16.5625C36.2702 17.4792 35.6243 17.9583 34.666 18H14.8535L15.416 21H34.666C35.5827 21.0833 36.0827 21.5833 36.166 22.5C36.0827 23.4167 35.5827 23.9167 34.666 24H14.1035C13.3535 23.9583 12.8743 23.5625 12.666 22.8125L8.91602 3H5.66602C4.74935 2.91667 4.24935 2.41667 4.16602 1.5ZM12.3535 5L14.291 15H33.916L36.7285 5H12.3535ZM18.166 29C18.1243 29.8333 17.8327 30.5417 17.291 31.125C16.7077 31.6667 15.9993 31.9583 15.166 32C14.3327 31.9583 13.6243 31.6667 13.041 31.125C12.4993 30.5417 12.2077 29.8333 12.166 29C12.2077 28.1667 12.4993 27.4583 13.041 26.875C13.6243 26.3333 14.3327 26.0417 15.166 26C15.9993 26.0417 16.7077 26.3333 17.291 26.875C17.8327 27.4583 18.1243 28.1667 18.166 29ZM30.166 29C30.2077 28.1667 30.4993 27.4583 31.041 26.875C31.6243 26.3333 32.3327 26.0417 33.166 26C33.9993 26.0417 34.7077 26.3333 35.291 26.875C35.8327 27.4583 36.1243 28.1667 36.166 29C36.1243 29.8333 35.8327 30.5417 35.291 31.125C34.7077 31.6667 33.9993 31.9583 33.166 32C32.3327 31.9583 31.6243 31.6667 31.041 31.125C30.4993 30.5417 30.2077 29.8333 30.166 29ZM6.66602 6C7.58268 6.08333 8.08268 6.58333 8.16602 7.5C8.08268 8.41667 7.58268 8.91667 6.66602 9H1.66602C0.749349 8.91667 0.249349 8.41667 0.166016 7.5C0.249349 6.58333 0.749349 6.08333 1.66602 6H6.66602ZM7.66602 11C8.58268 11.0833 9.08268 11.5833 9.16602 12.5C9.08268 13.4167 8.58268 13.9167 7.66602 14H1.66602C0.749349 13.9167 0.249349 13.4167 0.166016 12.5C0.249349 11.5833 0.749349 11.0833 1.66602 11H7.66602ZM8.66602 16C9.58268 16.0833 10.0827 16.5833 10.166 17.5C10.0827 18.4167 9.58268 18.9167 8.66602 19H1.66602C0.749349 18.9167 0.249349 18.4167 0.166016 17.5C0.249349 16.5833 0.749349 16.0833 1.66602 16H8.66602Z",fill:"#393F41"}),n.createElement("defs",null,n.createElement("clipPath",{id:"bgblur_0_165_101751_clip_path",transform:"translate(155.834 156)"},n.createElement("path",{d:"M4.16602 1.5C4.24935 0.583333 4.74935 0.0833333 5.66602 0H10.166C10.9577 0.0416667 11.4577 0.458333 11.666 1.25L11.7285 2H38.041C38.7077 2.04167 39.2285 2.3125 39.6035 2.8125C39.9785 3.3125 40.1035 3.89583 39.9785 4.5625L36.6035 16.5625C36.2702 17.4792 35.6243 17.9583 34.666 18H14.8535L15.416 21H34.666C35.5827 21.0833 36.0827 21.5833 36.166 22.5C36.0827 23.4167 35.5827 23.9167 34.666 24H14.1035C13.3535 23.9583 12.8743 23.5625 12.666 22.8125L8.91602 3H5.66602C4.74935 2.91667 4.24935 2.41667 4.16602 1.5ZM12.3535 5L14.291 15H33.916L36.7285 5H12.3535ZM18.166 29C18.1243 29.8333 17.8327 30.5417 17.291 31.125C16.7077 31.6667 15.9993 31.9583 15.166 32C14.3327 31.9583 13.6243 31.6667 13.041 31.125C12.4993 30.5417 12.2077 29.8333 12.166 29C12.2077 28.1667 12.4993 27.4583 13.041 26.875C13.6243 26.3333 14.3327 26.0417 15.166 26C15.9993 26.0417 16.7077 26.3333 17.291 26.875C17.8327 27.4583 18.1243 28.1667 18.166 29ZM30.166 29C30.2077 28.1667 30.4993 27.4583 31.041 26.875C31.6243 26.3333 32.3327 26.0417 33.166 26C33.9993 26.0417 34.7077 26.3333 35.291 26.875C35.8327 27.4583 36.1243 28.1667 36.166 29C36.1243 29.8333 35.8327 30.5417 35.291 31.125C34.7077 31.6667 33.9993 31.9583 33.166 32C32.3327 31.9583 31.6243 31.6667 31.041 31.125C30.4993 30.5417 30.2077 29.8333 30.166 29ZM6.66602 6C7.58268 6.08333 8.08268 6.58333 8.16602 7.5C8.08268 8.41667 7.58268 8.91667 6.66602 9H1.66602C0.749349 8.91667 0.249349 8.41667 0.166016 7.5C0.249349 6.58333 0.749349 6.08333 1.66602 6H6.66602ZM7.66602 11C8.58268 11.0833 9.08268 11.5833 9.16602 12.5C9.08268 13.4167 8.58268 13.9167 7.66602 14H1.66602C0.749349 13.9167 0.249349 13.4167 0.166016 12.5C0.249349 11.5833 0.749349 11.0833 1.66602 11H7.66602ZM8.66602 16C9.58268 16.0833 10.0827 16.5833 10.166 17.5C10.0827 18.4167 9.58268 18.9167 8.66602 19H1.66602C0.749349 18.9167 0.249349 18.4167 0.166016 17.5C0.249349 16.5833 0.749349 16.0833 1.66602 16H8.66602Z"})))),_=e=>{const{className:t}=e;return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",className:t},n.createElement("path",{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7 .9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}))},C=e=>n.createElement("svg",{width:"25",height:"32",viewBox:"0 0 25 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("foreignObject",{x:"-155.166",y:"-156",width:"336",height:"344"},n.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml"})),n.createElement("path",{"data-figma-bg-blur-radius":"156",d:"M18.959 0C19.5423 0.0416667 20.0215 0.270833 20.3965 0.6875C20.7298 1.14583 20.8132 1.6875 20.6465 2.3125L17.334 14H22.6465C23.2715 14 23.7923 14.2083 24.209 14.625C24.6257 15.0417 24.834 15.5625 24.834 16.1875C24.834 16.8542 24.584 17.4167 24.084 17.875L7.89648 31.5625C7.56315 31.8542 7.16732 32 6.70898 32C6.12565 31.9583 5.64648 31.7292 5.27148 31.3125C4.93815 30.8542 4.85482 30.3125 5.02148 29.6875L8.33398 18H2.95898C2.33398 18 1.83398 17.7917 1.45898 17.375C1.04232 17 0.833984 16.5 0.833984 15.875C0.833984 15.25 1.08398 14.7292 1.58398 14.3125L17.7715 0.4375C18.1048 0.145833 18.5007 0 18.959 0ZM16.709 5.3125L5.33398 15H10.334C10.834 15 11.2298 15.2083 11.5215 15.625C11.8132 16 11.8965 16.4375 11.7715 16.9375L8.95898 26.75L20.459 17H15.334C14.834 17 14.4382 16.8125 14.1465 16.4375C13.8548 16.0208 13.7715 15.5625 13.8965 15.0625L16.709 5.3125Z",fill:"#393F41"}),n.createElement("defs",null,n.createElement("clipPath",{id:"bgblur_0_165_101756_clip_path",transform:"translate(155.166 156)"},n.createElement("path",{d:"M18.959 0C19.5423 0.0416667 20.0215 0.270833 20.3965 0.6875C20.7298 1.14583 20.8132 1.6875 20.6465 2.3125L17.334 14H22.6465C23.2715 14 23.7923 14.2083 24.209 14.625C24.6257 15.0417 24.834 15.5625 24.834 16.1875C24.834 16.8542 24.584 17.4167 24.084 17.875L7.89648 31.5625C7.56315 31.8542 7.16732 32 6.70898 32C6.12565 31.9583 5.64648 31.7292 5.27148 31.3125C4.93815 30.8542 4.85482 30.3125 5.02148 29.6875L8.33398 18H2.95898C2.33398 18 1.83398 17.7917 1.45898 17.375C1.04232 17 0.833984 16.5 0.833984 15.875C0.833984 15.25 1.08398 14.7292 1.58398 14.3125L17.7715 0.4375C18.1048 0.145833 18.5007 0 18.959 0ZM16.709 5.3125L5.33398 15H10.334C10.834 15 11.2298 15.2083 11.5215 15.625C11.8132 16 11.8965 16.4375 11.7715 16.9375L8.95898 26.75L20.459 17H15.334C14.834 17 14.4382 16.8125 14.1465 16.4375C13.8548 16.0208 13.7715 15.5625 13.8965 15.0625L16.709 5.3125Z"})))),I=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"32",height:"32",rx:"8",fill:"none"}),n.createElement("path",{d:"M21.4844 10.6953C22.9609 12.1719 23.875 14.1055 23.875 16.2148C23.875 20.5039 20.2891 24.0195 15.9648 24.0195C14.6641 24.0195 13.3984 23.668 12.2383 23.0703L8.125 24.125L9.21484 20.082C8.54688 18.9219 8.16016 17.5859 8.16016 16.1797C8.16016 11.8906 11.6758 8.375 15.9648 8.375C18.0742 8.375 20.043 9.21875 21.4844 10.6953ZM15.9648 22.6836C19.5508 22.6836 22.5391 19.7656 22.5391 16.2148C22.5391 14.457 21.8008 12.8398 20.5703 11.6094C19.3398 10.3789 17.7227 9.71094 16 9.71094C12.4141 9.71094 9.49609 12.6289 9.49609 16.1797C9.49609 17.4102 9.84766 18.6055 10.4805 19.6602L10.6562 19.9062L9.98828 22.2969L12.4492 21.6289L12.6602 21.7695C13.6797 22.3672 14.8047 22.6836 15.9648 22.6836ZM19.5508 17.832C19.7266 17.9375 19.8672 17.9727 19.9023 18.0781C19.9727 18.1484 19.9727 18.5352 19.7969 18.9922C19.6211 19.4492 18.8477 19.8711 18.4961 19.9062C17.8633 20.0117 17.3711 19.9766 16.1406 19.4141C14.1719 18.5703 12.9062 16.6016 12.8008 16.4961C12.6953 16.3555 12.0273 15.4414 12.0273 14.457C12.0273 13.5078 12.5195 13.0508 12.6953 12.8398C12.8711 12.6289 13.082 12.5938 13.2227 12.5938C13.3281 12.5938 13.4688 12.5938 13.5742 12.5938C13.7148 12.5938 13.8555 12.5586 14.0312 12.9453C14.1719 13.332 14.5938 14.2812 14.6289 14.3867C14.6641 14.4922 14.6992 14.5977 14.6289 14.7383C14.2773 15.4766 13.8555 15.4414 14.0664 15.793C14.8398 17.0938 15.5781 17.5508 16.7383 18.1133C16.9141 18.2188 17.0195 18.1836 17.1602 18.0781C17.2656 17.9375 17.6523 17.4805 17.7578 17.3047C17.8984 17.0938 18.0391 17.1289 18.2148 17.1992C18.3906 17.2695 19.3398 17.7266 19.5508 17.832Z",fill:"#393F41"})),T=()=>n.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"32",height:"32",rx:"8",fill:"none"}),n.createElement("path",{d:"M7 11.75C7.02344 11.1172 7.24609 10.5898 7.66797 10.168C8.08984 9.74609 8.61719 9.52344 9.25 9.5H22.75C23.3828 9.52344 23.9102 9.74609 24.332 10.168C24.7539 10.5898 24.9766 11.1172 25 11.75V20.75C24.9766 21.3828 24.7539 21.9102 24.332 22.332C23.9102 22.7539 23.3828 22.9766 22.75 23H9.25C8.61719 22.9766 8.08984 22.7539 7.66797 22.332C7.24609 21.9102 7.02344 21.3828 7 20.75V11.75ZM8.125 11.75V13.1562L15.0156 18.1836C15.6719 18.6289 16.3281 18.6289 16.9844 18.1836L23.875 13.1562V11.75C23.875 11.4219 23.7695 11.1523 23.5586 10.9414C23.3477 10.7305 23.0781 10.625 22.75 10.625H9.21484C8.91016 10.625 8.65234 10.7305 8.44141 10.9414C8.23047 11.1523 8.11328 11.4219 8.08984 11.75H8.125ZM8.125 14.5625V20.75C8.125 21.0781 8.23047 21.3477 8.44141 21.5586C8.65234 21.7695 8.92188 21.875 9.25 21.875H22.75C23.0781 21.875 23.3477 21.7695 23.5586 21.5586C23.7695 21.3477 23.875 21.0781 23.875 20.75V14.5625L17.6523 19.0977C17.1602 19.4727 16.6094 19.6602 16 19.6602C15.3906 19.6602 14.8398 19.4727 14.3477 19.0977L8.125 14.5625Z",fill:"#393F41"})),N=()=>n.createElement("svg",{width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.3841 4.05292C7.42078 4.28278 8.96036 6.00498 8.96143 8.05459V8.3097C8.07627 7.24339 6.76974 6.61661 5.3841 6.59356V7.93871C5.38406 8.13388 5.27249 8.31187 5.09686 8.39698C4.92122 8.48209 4.71239 8.45936 4.55918 8.33846L1.22862 5.70861C1.11037 5.61542 1.04137 5.47317 1.04137 5.32262C1.04137 5.17206 1.11037 5.02981 1.22862 4.93662L4.55918 2.30678C4.71239 2.18587 4.92122 2.16314 5.09686 2.24826C5.27249 2.33337 5.38406 2.51136 5.3841 2.70653V4.05292Z",stroke:"#1B8755",strokeWidth:.625,strokeLinecap:"round",strokeLinejoin:"round"})),g=()=>n.createElement("svg",{width:105,height:104,viewBox:"0 0 105 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{filter:"url(#filter0_d_2409_139936)"},n.createElement("rect",{x:16.5,y:16,width:72,height:72,rx:20,fill:"white"}),n.createElement("g",{filter:"url(#filter1_i_2409_139936)"},n.createElement("path",{d:"M64.3057 39.6064C65.9098 41.2106 67.138 43.0153 67.9902 45.0205C68.8926 47.0257 69.3438 49.1562 69.3438 51.4121C69.2936 54.5202 68.5166 57.3275 67.0127 59.834C65.5088 62.3405 63.4785 64.3457 60.9219 65.8496C58.4154 67.3034 55.6081 68.0553 52.5 68.1055C49.6426 68.1055 46.9857 67.4287 44.5293 66.0752L35.6562 68.4062L37.9873 59.7588C36.5335 57.2021 35.8066 54.4199 35.8066 51.4121C35.8568 48.304 36.6087 45.4967 38.0625 42.9902C39.5664 40.4837 41.5716 38.4785 44.0781 36.9746C46.5846 35.5208 49.3919 34.7689 52.5 34.7188C57.0618 34.7689 60.9971 36.3981 64.3057 39.6064ZM52.5 65.3232C56.4102 65.223 59.6937 63.8695 62.3506 61.2627C65.0075 58.6058 66.4111 55.3223 66.5615 51.4121C66.4613 47.6022 65.0326 44.3438 62.2754 41.6367C59.5684 38.9297 56.3099 37.5762 52.5 37.5762C48.5898 37.6263 45.3314 38.9798 42.7246 41.6367C40.0677 44.2435 38.6891 47.502 38.5889 51.4121C38.639 54.069 39.3659 56.5254 40.7695 58.7812L41.0703 59.3076L39.6416 64.4209L44.9053 63.0674L45.4316 63.3682C47.5872 64.6214 49.9434 65.2731 52.5 65.3232ZM60.0947 54.9463C60.1449 54.9463 60.2201 54.9714 60.3203 55.0215C60.6211 55.1217 60.8216 55.2471 60.9219 55.3975C61.0723 55.6481 60.972 56.3249 60.6211 57.4277C60.4206 57.929 60.0195 58.3551 59.418 58.7061C58.8164 59.057 58.29 59.2826 57.8389 59.3828C57.2373 59.4831 56.5605 59.4831 55.8086 59.3828C55.1068 59.2324 54.1042 58.8815 52.8008 58.3301C50.8457 57.3776 49.2666 56.2246 48.0635 54.8711C46.8102 53.5176 46.0583 52.6152 45.8076 52.1641C45.7575 52.1139 45.7324 52.0638 45.7324 52.0137C45.6823 52.0137 45.6572 52.0137 45.6572 52.0137C45.5068 51.8132 45.2061 51.3118 44.7549 50.5098C44.3037 49.6576 44.0531 48.7301 44.0029 47.7275C44.0531 46.7751 44.2285 46.0231 44.5293 45.4717C44.8301 44.9202 45.1058 44.5443 45.3564 44.3438C45.4066 44.2936 45.4316 44.2435 45.4316 44.1934C45.8828 43.8424 46.2588 43.6921 46.5596 43.7422C46.8604 43.7422 47.1361 43.7422 47.3867 43.7422C47.3867 43.7422 47.4118 43.7422 47.4619 43.7422C47.7126 43.5918 47.9883 43.8174 48.2891 44.4189C48.3893 44.6696 48.5397 44.9954 48.7402 45.3965C48.9408 45.8978 49.1162 46.349 49.2666 46.75C49.417 47.2012 49.5173 47.4518 49.5674 47.502C49.7178 47.7526 49.7428 48.0033 49.6426 48.2539C49.2415 48.9557 48.9157 49.4069 48.665 49.6074C48.3141 49.9082 48.2389 50.209 48.4395 50.5098C49.1914 51.8633 50.0186 52.891 50.9209 53.5928C51.8232 54.2946 52.876 54.9212 54.0791 55.4727C54.4801 55.7233 54.7809 55.6982 54.9814 55.3975C55.1318 55.2471 55.3574 54.9964 55.6582 54.6455C55.9089 54.2946 56.1344 53.9938 56.335 53.7432C56.5856 53.3923 56.8864 53.3421 57.2373 53.5928C57.488 53.693 57.9642 53.8936 58.666 54.1943C59.3678 54.5452 59.8441 54.7959 60.0947 54.9463Z",fill:"#EAEAEC"}))),n.createElement("defs",null,n.createElement("filter",{id:"filter0_d_2409_139936",x:.5,y:0,width:104,height:104,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",null),n.createElement("feGaussianBlur",{stdDeviation:8}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),n.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_2409_139936"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_2409_139936",result:"shape"})),n.createElement("filter",{id:"filter1_i_2409_139936",x:35.6562,y:34.7188,width:33.6875,height:35.6875,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:2}),n.createElement("feGaussianBlur",{stdDeviation:3}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"}),n.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_2409_139936"}))))},18197:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/default-user-avatar_fdbd4620c6b83170313f.png"},18415:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/liveLearners500_e01a90b40a4475320f86.png"},18583:function(e,t,a){"use strict";var n=a(74036),r=a(96540),l=a(14622),s=a(49456),i=a(31387),o=a(33919),c=a(94798),E=a(976),d=a(608),u=a(64493),m=a(76740),p=a(6305),A=a(76299),S=a(35751),_=a(1229),C=a(32389);function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{t:b}=(0,C.Bd)(),{multiSelectOpenLabel:D,setMultiSelectOpenLabel:y}=(0,u.A)(O),{selectedFilter:M,selectedFilterObj:v,selectedFilterObjCopy:P}=(0,u.A)(O),[w,x]=r.useState(),[U,F]=r.useState(!1),B=r.useMemo((()=>"row"===e),[e]);let G="",k="";"liveSession"===t?(G="liveSession-enrolled",k="liveSession-notenrolled"):"courses"===t?(G=T[0].toLowerCase().replace(/\s/g,""),k=T[1].toLowerCase().replace(/\s/g,"")):"telegramCommunity"===t&&(G="telegram-"+T[0].toLowerCase().replace(/\s/g,""),k="telegram-"+T[1].toLowerCase().replace(/\s/g,"")),r.useEffect((()=>{!D?.includes(t)&&w?.length&&x([])}),[D,w]);const H=r.useCallback((e=>JSON.stringify(v?.[e])!==JSON.stringify(P?.[e])),[{...M},{...v},{...P}]),V=r.useMemo((()=>H(G)||H(k)),[G,k,M,v,P]),Y=r.useCallback((e=>{""===e?x([]):U||F(!0)}),[U]),W=r.useCallback((e=>{"data"in e?"liveSession"!==t&&"telegramCommunity"!==t||e?.data?.length&&x(e?.data?.[0]?.id?e?.data:e?.data.map((e=>({id:`${e}`,title:`${e}`})))):e.length&&x(e?.[0]?.id?e:e.map((e=>({id:`${e}`,title:`${e}`})))),F(!1)}),[]),$=({isChecked:e,value:t,key:a})=>{h&&h(t,e,a)},j=r.useCallback((()=>{const e="liveSession"===t,a="telegramCommunity"===t,n={standAlone:!1,hasInputBorder:!1,showSearchResults:!1,onChange:Y,placeholder:"Search "+(e?"webinar":"course"),onSelected:()=>{},inputClassName:B?"":"bg-slateLight",searchedResultCallback:W,searchAPI:e?E._.liveSessionSuggestions:a?d.A.getCommunitySuggestions:c.A.getCourseAndAssetSuggestions,searchParams:e||a?{}:{key:"spayee:resource.spayee:title",type:"course"}};return e&&(n.type=m.V.LIVESESSION),a&&(n.type=m.V.TELEGRAM_COMMUNITIES),r.createElement("div",{className:B?"p-4":"mt-4"},r.createElement(_.A,n),K(T[0],G),K(T[1],k))}),[w,U,t,M]),K=r.useCallback(((e,a)=>{const n=Boolean(w?.length||U);return r.createElement("div",{className:"w-[21.5rem]"},n&&r.createElement(i.A,{weight:"font-semibold",className:"py-4"},e),r.createElement(S.A,{keyLabel:e,subApiKey:a,hideSearch:!0,className:n?"bg-slateLight p-4":"",searchedResults:w,loader:U,onCheckboxClicked:$,apiKey:t,selectedFilter:M}))}),[w,U,t,M]);return r.createElement("div",{key:t,className:"relative rounded-[12px] "+(B?"mr-4 flex item-center justify-center p-3 cursor-pointer border border-slateStroke":"flex flex-col item-center mx-6 cursor-pointer border-b border-b-slateStroke")},r.createElement("div",{className:"flex item-center cursor-pointer "+(B?"":"py-4"),onClick:()=>(0,l.Dg)({apiKey:t,setMultiSelectOpenLabel:y,multiSelectOpenLabel:D})},r.createElement(i.A,{className:"flex-grow leading-none"},(0,l.vb)({label:a,selectedFilterObjCopy:P,key:t})),r.createElement("div",{className:"ml-[0.5rem] transition-all flex "+(D?.includes(t)?"rotate-180":"")},(0,p.s)(s.tdl))),Boolean((!g||"drawer"===e)&&D?.includes(t))&&r.createElement("div",{className:B?"absolute left-0 top-10 bg-white overflow-auto max-h-[36rem] z-10 shadow-elevationHigh":""},j(),Boolean(!(U||w&&0!==w?.length))&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement(i.A,{weight:"font-semibold",className:"p-4"},T[0]),r.createElement(A.A,I({subApiKey:G},L,{filterStoreId:O}))),r.createElement("div",null,r.createElement(i.A,{weight:"font-semibold",className:"p-4"},T[1]),r.createElement(A.A,I({subApiKey:k},L,{filterStoreId:O})))),Boolean("row"===e&&(V||M?.[G]||M?.[G]))&&r.createElement("div",{className:"p-4 sticky bottom-0 bg-white shadow-elevationLow"},V&&r.createElement(o.A,{onClick:R,className:"shadow-elevationLow bg-primary w-full"},b("COMMON:APPLY")),N&&r.createElement(o.A,{onClick:f,variant:n.Vt.BASE,className:"w-full"},b("COMMON:RESET")))))};T.displayName="TwoMultiSelect",t.A=T},18778:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/error-icon_23bec1b07241edc27515.png"},18897:function(e,t,a){"use strict";a.d(t,{RI:function(){return s},Te:function(){return r},nM:function(){return l},tD:function(){return n}});const n="https://use.typekit.net/eod4gtu.css",r="care@graphy.com",l="https://help.graphy.com/support/solutions/articles/1060000132685-how-does-graphy-assists-benefit-you-",s="https://calendly.com/ankit-sood-kvw/30min"},19273:function(e,t,a){"use strict";a.d(t,{m:function(){return r}});var n=a(72635);const r={VERIFIED_EMAIL:(0,n.t)("USER:VERIFIED_EMAIL"),VERIFIED_MOBILE:(0,n.t)("USER:VERIFIED_MOBILE"),DEACTIVATED_ACCOUNTS:(0,n.t)("USER:DEACTIVATED_ACCOUNTS"),TELEGRAM:(0,n.t)("USER:TELEGRAM"),COURSES:(0,n.t)("USER:COURSES"),LIVE_SESSION:(0,n.t)("USER:LIVE_SESSION"),LAST_LOGIN:(0,n.t)("USER:LAST_LOGIN"),DATE_JOINED:(0,n.t)("USER:DATE_JOINED"),DEVICE_ID:(0,n.t)("USER:DEVICE_ID"),ENTER_DEVICE_ID:(0,n.t)("USER:ENTER_DEVICE_ID"),SOURCE:(0,n.t)("USER:SOURCE"),ENTER_SOURCE_ID:(0,n.t)("USER:ENTER_SOURCE_ID"),MEDIUM:(0,n.t)("USER:MEDIUM"),ENTER_MEDIUM_ID:(0,n.t)("USER:ENTER_MEDIUM_ID"),CAMPAIGN:(0,n.t)("USER:CAMPAIGN"),ENTER_CAMPAIGN_ID:(0,n.t)("USER:ENTER_CAMPAIGN_ID"),TERM:(0,n.t)("USER:TERM"),ENTER_TERM_ID:(0,n.t)("USER:ENTER_TERM_ID"),CONTENT:(0,n.t)("USER:CONTENT"),MEMBERSHIP_AND_COMMUNITY:(0,n.t)("USER:MEMBERSHIP_AND_COMMUNITY"),ENTER_CONTENT_ID:(0,n.t)("USER:ENTER_CONTENT_ID"),REFER_CODE:(0,n.t)("USER:REFER_CODE"),ENTER_REFER_CODE:(0,n.t)("USER:ENTER_REFER_CODE"),UTM:(0,n.t)("USER:UTM"),LEAD_STATUS:(0,n.t)("USER:LEAD_STATUS"),SEGMENT:(0,n.t)("USER:SEGMENT"),BLOCKED_LEARNER_DISCUSSION:(0,n.t)("USER:BLOCKED_LEARNER_DISCUSSION"),BLOCKED_LEARNER_IOS:(0,n.t)("USER:BLOCKED_LEARNER_IOS"),REFERRAL:(0,n.t)("USER:REFERRAL"),OPEN:(0,n.t)("USER:OPEN"),FOLLOW_UP:(0,n.t)("USER:FOLLOW_UP"),CONVERTED:(0,n.t)("USER:CONVERTED"),NOT_INTERESTED:(0,n.t)("USER:NOT_INTERESTED"),SELECT_ALL:(0,n.t)("USER:SELECT_ALL"),FREE:(0,n.t)("USER:FREE"),TRIAL:(0,n.t)("USER:TRIAL"),PAID:(0,n.t)("USER:PAID"),RETURNING:(0,n.t)("USER:RETURNING"),IOS:(0,n.t)("USER:IOS"),IN_DISCUSSION:(0,n.t)("USER:IN_DISCUSSION"),ADD_ADMIN:(0,n.t)("USER:ADD_ADMIN"),ADD:(0,n.t)("USER:ADD"),ENTER_ADMIN_DETAILS:(0,n.t)("USER:ENTER_ADMIN_DETAILS"),NAME:(0,n.t)("USER:NAME"),ENTER_ADMIN_NAME:(0,n.t)("USER:ENTER_ADMIN_NAME"),EMAIL:(0,n.t)("USER:EMAIL"),ENTER_ADMIN_EMAIL:(0,n.t)("USER:ENTER_ADMIN_EMAIL"),MOBILE:(0,n.t)("USER:MOBILE"),ENTER_ADMIN_MOBILE:(0,n.t)("USER:ENTER_ADMIN_MOBILE"),SET_PASSWORD_FOR_ADMIN:(0,n.t)("USER:SET_PASSWORD_FOR_ADMIN"),PASSWORD:(0,n.t)("USER:PASSWORD"),SEND_EMAIL_TO_USER:(0,n.t)("USER:SEND_EMAIL_TO_USER"),SELECT_ROLE:(0,n.t)("USER:SELECT_ROLE"),SUPER_ADMIN:(0,n.t)("USER:SUPER_ADMIN"),SUB_ADMIN:(0,n.t)("USER:SUB_ADMIN"),GRANT_COMPLETE_ACCESS:(0,n.t)("USER:GRANT_COMPLETE_ACCESS"),LIMITED_ACCESS_WITH_CUSTOMISABLE_PERMISSION:(0,n.t)("USER:LIMITED_ACCESS_WITH_CUSTOMISABLE_PERMISSION"),SET_PERMISSION:(0,n.t)("USER:SET_PERMISSION"),NOTIFY_USER:(0,n.t)("USER:NOTIFY_USER"),SUPPORT:(0,n.t)("USER:SUPPORT"),VIEWING_ACCESS:(0,n.t)("USER:VIEWING_ACCESS"),EDIT_ACCESS:(0,n.t)("USER:EDIT_ACCESS"),COURSE_PROGRESS_ACCESS:(0,n.t)("USER:COURSE_PROGRESS_ACCESS"),LEARNER_TRANSACTION_ACCESS:(0,n.t)("USER:LEARNER_TRANSACTION_ACCESS"),ENROLL_LEARNERS:(0,n.t)("USER:ENROLL_LEARNERS"),DESIGN:(0,n.t)("USER:DESIGN"),CAN_CHANGE_WEBSITE:(0,n.t)("USER:CAN_CHANGE_WEBSITE"),DISCUSSIONS:(0,n.t)("USER:DISCUSSIONS"),PUBLIC_FORM_ACCESS:(0,n.t)("USER:PUBLIC_FORM_ACCESS"),COURSE_WISE_DISCUSSION_ACCESS:(0,n.t)("USER:COURSE_WISE_DISCUSSION_ACCESS"),SPECIFIC_COURSE_DISCUSSION_ACCESS:(0,n.t)("USER:SPECIFIC_COURSE_DISCUSSION_ACCESS"),MESSENGER:(0,n.t)("USER:MESSENGER"),SMS_ACCESS:(0,n.t)("USER:SMS_ACCESS"),MARKETING:(0,n.t)("USER:MARKETING"),PROMO_CODE_ACCESS:(0,n.t)("USER:PROMO_CODE_ACCESS"),WALLET_ACCESS:(0,n.t)("USER:WALLET_ACCESS"),BLOGS_ACCESS:(0,n.t)("USER:BLOGS_ACCESS"),REPORTS:(0,n.t)("USER:REPORTS"),VIEW_BANDWIDTH_REPORTS_ACCESS:(0,n.t)("USER:VIEW_BANDWIDTH_REPORTS_ACCESS"),VIEW_USAGE_REPORTS_ACCESS:(0,n.t)("USER:VIEW_USAGE_REPORTS_ACCESS"),VIEW_LIVE_TEST_REPORTS_ACCESS:(0,n.t)("USER:VIEW_LIVE_TEST_REPORTS_ACCESS"),VIEW_LIVE_CLASS_ACCESS:(0,n.t)("USER:VIEW_LIVE_CLASS_ACCESS"),USERS:(0,n.t)("USER:USERS"),VIEW_INSTRUCTORS:(0,n.t)("USER:VIEW_INSTRUCTORS"),VIEW_AFFILIATES:(0,n.t)("USER:VIEW_AFFILIATES"),VIEW_SUBSCRIBERS:(0,n.t)("USER:VIEW_SUBSCRIBERS"),VIEW_MEMBERS:(0,n.t)("USER:VIEW_MEMBERS"),COURSES_ACCESS:(0,n.t)("USER:COURSES_ACCESS"),LIVE_CLASSES_ACCESS:(0,n.t)("USER:LIVE_CLASSES_ACCESS"),ASSIGNMENTS_ACCESS:(0,n.t)("USER:ASSIGNMENTS_ACCESS"),LIVE_TESTS_ACCESS:(0,n.t)("USER:LIVE_TESTS_ACCESS"),QUIZ_REVIEWS_ACCESS:(0,n.t)("USER:QUIZ_REVIEWS_ACCESS"),SALES:(0,n.t)("USER:SALES"),VIEW_SALES_DASHBOARD_ACCESS:(0,n.t)("USER:VIEW_SALES_DASHBOARD_ACCESS"),SPECIFIC_COURSE_SALES_ACCESS:(0,n.t)("USER:SPECIFIC_COURSE_SALES_ACCESS"),SPECIFIC_COURSE_SALES_WITH_LEARNER_INFO_ACCESS:(0,n.t)("USER:SPECIFIC_COURSE_SALES_WITH_LEARNER_INFO_ACCESS"),CAN_EXPORT_SALES_DATA:(0,n.t)("USER:CAN_EXPORT_SALES_DATA"),ENTER_LEARNER_NAME:(0,n.t)("USER:ENTER_LEARNER_NAME"),ENTER_LEARNER_EMAIL:(0,n.t)("USER:ENTER_LEARNER_EMAIL"),ENTER_LEARNER_MOBILE:(0,n.t)("USER:ENTER_LEARNER_MOBILE"),SET_PASSWORD_FOR_LEARNER:(0,n.t)("USER:SET_PASSWORD_FOR_LEARNER"),ADD_LEARNER:(0,n.t)("USER:ADD_LEARNER"),ENTER_LEARNER_DETAILS:(0,n.t)("USER:ENTER_LEARNER_DETAILS"),ADD_AFFILIATE:(0,n.t)("USER:ADD_AFFILIATE"),ADD_SUBSCRIBER:(0,n.t)("USER:ADD_SUBSCRIBER"),ENTER_AFFILIATE_DETAILS:(0,n.t)("USER:ENTER_AFFILIATE_DETAILS"),ENTER_AFFILIATE_NAME:(0,n.t)("USER:ENTER_AFFILIATE_NAME"),ENTER_AFFILIATE_EMAIL:(0,n.t)("USER:ENTER_AFFILIATE_EMAIL"),ENTER_AFFILIATE_MOBILE:(0,n.t)("USER:ENTER_AFFILIATE_MOBILE"),SET_PASSWORD_FOR_AFFILIATE:(0,n.t)("USER:SET_PASSWORD_FOR_AFFILIATE"),COMMISSION_RATE:(0,n.t)("USER:COMMISSION_RATE"),SET_COMMISSION_RATE:(0,n.t)("USER:SET_COMMISSION_RATE"),ALLOW_COMMISSION_ON_ALL_COURSE:(0,n.t)("USER:ALLOW_COMMISSION_ON_ALL_COURSE"),ALLOW_COMMISSION_ON_SELECTED_COURSE:(0,n.t)("USER:ALLOW_COMMISSION_ON_SELECTED_COURSE"),SEARCH_AND_SELECT_COURSE:(0,n.t)("USER:SEARCH_AND_SELECT_COURSE"),SEARCH_BY_COURSE_TITLE:(0,n.t)("USER:SEARCH_BY_COURSE_TITLE"),LINK_AFFILIATE_TO_LIMITED_DAYS:(0,n.t)("USER:LINK_AFFILIATE_TO_LIMITED_DAYS"),DAYS_ARE_COUNTED_BASED_ON_COOKIE:(0,n.t)("USER:DAYS_ARE_COUNTED_BASED_ON_COOKIE"),ENTER_NUMBER_OF_DAYS:(0,n.t)("USER:ENTER_NUMBER_OF_DAYS"),ADD_INSTRUCTOR:(0,n.t)("USER:ADD_INSTRUCTOR"),ENTER_INSTRUCTOR_DETAILS:(0,n.t)("USER:ENTER_INSTRUCTOR_DETAILS"),ENTER_INSTRUCTOR_NAME:(0,n.t)("USER:ENTER_INSTRUCTOR_NAME"),ENTER_INSTRUCTOR_EMAIL:(0,n.t)("USER:ENTER_INSTRUCTOR_EMAIL"),ENTER_INSTRUCTOR_MOBILE:(0,n.t)("USER:ENTER_INSTRUCTOR_MOBILE"),SET_PASSWORD_FOR_INSTRUCTOR:(0,n.t)("USER:SET_PASSWORD_FOR_INSTRUCTOR"),ASSIGN_COURSES:(0,n.t)("USER:ASSIGN_COURSES"),ACCESS_TO_ONLY_ASSIGN_COURSES:(0,n.t)("USER:ACCESS_TO_ONLY_ASSIGN_COURSES"),EDITING_OF_PUBLISHED_COURSES:(0,n.t)("USER:EDITING_OF_PUBLISHED_COURSES"),ASK_FOR_APPROVAL:(0,n.t)("USER:ASK_FOR_APPROVAL"),LIVE_RECORDINGS_ACCESS:(0,n.t)("USER:LIVE_RECORDINGS_ACCESS"),SALES_DASHBOARD_ACCESS:(0,n.t)("USER:SALES_DASHBOARD_ACCESS"),MESSENGER_ACCESS:(0,n.t)("USER:MESSENGER_ACCESS"),BANDWIDTH_REPORTS_ACCESS:(0,n.t)("USER:BANDWIDTH_REPORTS_ACCESS"),USAGE_REPORTS_ACCESS:(0,n.t)("USER:USAGE_REPORTS_ACCESS"),LIVE_TEST_REPORTS_ACCESS:(0,n.t)("USER:LIVE_TEST_REPORTS_ACCESS"),LIVE_CLASS_REPORTS_ACCESS:(0,n.t)("USER:LIVE_CLASS_REPORTS_ACCESS"),DOWNLOAD_QUIZ_LIVE_TEST_ACCESS:(0,n.t)("USER:DOWNLOAD_QUIZ_LIVE_TEST_ACCESS"),ENROLL_LEARNERS_ACCESS:(0,n.t)("USER:ENROLL_LEARNERS_ACCESS"),VIEW_ENROLLED_LEARNER_COUNT_AND_ACCESS_DETAILS:(0,n.t)("USER:VIEW_ENROLLED_LEARNER_COUNT_AND_ACCESS_DETAILS"),LEARNER_DETAILS_ACCESS:(0,n.t)("USER:LEARNER_DETAILS_ACCESS"),IMPORT_LEARNER_DATA:(0,n.t)("USER:IMPORT_LEARNER_DATA"),ADD_LEARNERS:(0,n.t)("USER:ADD_LEARNERS"),CREATE_USER:(0,n.t)("USER:CREATE_USER"),EXPORT:(0,n.t)("USER:EXPORT"),DOWNLOAD_DATA:(0,n.t)("USER:DOWNLOAD_DATA"),IMPORT_LEARNERS:(0,n.t)("USER:IMPORT_LEARNERS"),IMPORT:(0,n.t)("USER:IMPORT"),GENERATE_SPREADSHEET_TEMPLATE:(0,n.t)("USER:GENERATE_SPREADSHEET_TEMPLATE"),SELECT_COLUMNS:(0,n.t)("USER:SELECT_COLUMNS"),ROLE:(0,n.t)("USER:ROLE"),ROLE_STUDENT:(0,n.t)("USER:ROLE_STUDENT"),STUDENT:(0,n.t)("USER:STUDENT"),NUMBER:(0,n.t)("USER:NUMBER"),SEND_WELCOME_EMAIL_YES_NO:(0,n.t)("USER:SEND_WELCOME_EMAIL_YES_NO"),DOWNLOAD_TEMPLATE:(0,n.t)("USER:DOWNLOAD_TEMPLATE"),DRAG_AND_DROP_CSV_XLXS:(0,n.t)("USER:DRAG_AND_DROP_CSV_XLXS"),ENROLLED:(0,n.t)("USER:ENROLLED"),NOT_ENROLLED:(0,n.t)("USER:NOT_ENROLLED"),YES:(0,n.t)("USER:YES"),NO:(0,n.t)("USER:NO"),ACCESS_TO_EDIT_LANGUAGES:(0,n.t)("USER:ACCESS_TO_EDIT_LANGUAGES"),CUSTOM:(0,n.t)("USER:CUSTOM"),LEARNER_VIEW:"learner-view",LEARNERS:"learners",LEARNER_DETAILS:"learner-details",LEARNER_FAILED_SALE:"learner-failed-sale",LEARNER_COURSE_ENROLL:"learner-course-enroll",WEBSITE_APP_UI:"websiteAppUI",WEBSITE_APP_UI_LANGUAGE:"websiteAppUI-language",COURSE_DISCUSS_ALL:"course-discuss-all",COURSE_DISCUSS_SP:"course-discuss-sp",PROMO_CODES:"promocodes",WALLET_REFER_EARN:"walletReferEarn",BLOGS:"blogs",ACTIVE:(0,n.t)("USER:ACTIVE"),INACTIVE:(0,n.t)("USER:INACTIVE"),SCHEDULE_FOR_CANCELLATION:(0,n.t)("USER:SCHEDULE_FOR_CANCELLATION"),REPORTS_BANDWIDTH:"reports-bandwidth",REPORTS_USAGE:"reports-usage",REPORTS_LIVETESTS:"reports-livetests",REPORTS_LIVE_TESTS:"reports-live-tests",REPORTS_LIVECLASSES:"reports-liveclasses",REPORTS_LIVE_CLASSES:"reports-live-classes",INSTRUCTORS:"instructors",AFFILIATE:"affiliate",AFFILIATES:"affiliates",SUBSCRIBERS:"subscribers",MEMBERS:"members-all",LIVE_CLASS:"liveclass",ASSIGNMENT:"assignment",LIVE_TEST:"livetest",QUIZ_REVIEW:"quizreview",COURSE_SALE:"course-sale",SALES_DATA:"sales-data",AI_AVATARS:"ai-avatars",COURSE_SALE_INFO:"course-sale-info",EDIT_PUBLISHED_COURSES:"editPublishedCourses",PUBLISH_APPROVAL:"publishApproval",RECORDING_ACCESS:"recordingsAccess",STUDENT:"student",VIEW_SALES:"viewSales",MESSENGER_ACCESS_INSTRUCTOR:"messengerAccess",BANDWIDTH_ACCESS:"bandwidthAccess",USAGE_REPORTS_ACCESS_INSTRUCTOR:"usageReportsAccess",LIVE_TESTS_REPORTS_ACCESS:"livetestsReportsAccess",LIVE_CLASS_REPORTS_ACCESS_INSTRUCTOR:"liveclassReportsAccess",LEARNER_DETAILS_ACCESS_INSTRUCTOR:"learnerDetailsAccess",INSTRUCTOR_ASSETS_EXPORT_ACCESS:"instructorAssetsExportAccess",INSTRUCTOR_COURSE_ENROLL_ACCESS:"instructorCourseEnrollAccess",VIEW_ENROLLED_LEARNER_COUNT_AND_ACCESS_DETAILS_INSTRUCTOR:"instructorViewLearnerCount",USER_CREATED_SUCCESSFULLY:(0,n.t)("USER:USER_CREATED_SUCCESSFULLY"),IMPORTED_SUCCESS_MSG:(0,n.t)("USER:IMPORTED_SUCCESS_MSG"),EXPORT_SUCCESS_MSG:(0,n.t)("USER:EXPORT_SUCCESS_MSG"),EMAIL_NEEDS_TO_BE_SELECTED:(0,n.t)("USER:EMAIL_NEEDS_TO_BE_SELECTED"),DATE:(0,n.t)("USER:DATE"),DEACTIVATED:(0,n.t)("USER:DEACTIVATED"),SEARCH_PLACEHOLDER:(0,n.t)("USER:SEARCH_PLACEHOLDER"),EMPTY_STATE_COPY:(0,n.t)("USER:EMPTY_STATE_COPY"),LEARNER_EMPTY_STATE_DESC:(0,n.t)("USER:LEARNER_EMPTY_STATE_DESC"),ADMIN_EMPTY_STATE_DESC:(0,n.t)("USER:ADMIN_EMPTY_STATE_DESC"),INSTRUCTOR_EMPTY_STATE_DESC:(0,n.t)("USER:INSTRUCTOR_EMPTY_STATE_DESC"),AFFILIATES_EMPTY_STATE_DESC:(0,n.t)("USER:AFFILIATES_EMPTY_STATE_DESC"),SUBSCRIBERS_EMPTY_STATE_DESC:(0,n.t)("USER:SUBSCRIBERS_EMPTY_STATE_DESC"),IS_MEMBER:(0,n.t)("USER:IS_MEMBER"),MEMBERSHIP_STATUS:(0,n.t)("USER:MEMBERSHIP_STATUS"),DELETION_REQUESTED:(0,n.t)("USER:DELETION_REQUESTED"),PROVIDED_MARKETING_CONSENT:(0,n.t)("USER:PROVIDED_MARKETING_CONSENT"),AI_AVATARS_LABEL:(0,n.t)("USER:AI_AVATARS"),AI_AVATARS_ACCESS:(0,n.t)("USER:AI_AVATARS_ACCESS")}},19714:function(e,t,a){"use strict";var n=a(49456),r=a(74036),l=a(43755),s=a(31387),i=a(55843),o=a(15692),c=a(96540);t.A=({isVisible:e,setIsVisible:t,clickHandler:a})=>c.createElement(o.u,{ctaColor:r.jL.PRIMARY,ctaClasses:"!bg-[#4E5DE0] rounded-[33px]",extraCTAClasses:"w-[100px] rounded-[33px]",ctaLabel:"Edit Campaign",extraCtaLabel:"Cancel",title:"Are you sure you want to edit this campaign?",confirmMessage:"",bodyClasses:"!px-6 pt-6 !pb-7",onClose:()=>t(!1),onCtaClick:a,isVisible:e,additionalElements:c.createElement(l.A,{className:"flex flex-col gap-6"},c.createElement(s.A,null,"The campaign will keep running while you make changes. Please note the following:"),c.createElement(l.A,{className:"flex flex-col gap-4"},c.createElement(l.A,{className:"flex gap-2 text-darkSlate01"},c.createElement(i.A,{icon:n.iW_,className:"text-body-12 mt-1"}),c.createElement(s.A,null,"You must publish your changes when they are ready, as they are not saved automatically.")),c.createElement(l.A,{className:"flex gap-2"},c.createElement(i.A,{icon:n.iW_,className:"text-body-12 mt-1"}),c.createElement(s.A,null,"Published changes will only affect new learners entering the sequence. Existing learners will continue to receive emails as per previous setup."))))})},20977:function(e,t,a){"use strict";a.d(t,{U:function(){return d}});var n=a(15685),r=a(45011),l=a(43755),s=a(58702),i=a(33919),o=a(6305),c=a(96540),E=a(54625);const d=e=>{const{isOpen:t,onClose:a,isClosable:d=!0,wrapperClassName:u=""}=e;return c.createElement(r.A,{onClose:a,showClose:!1,showFooter:!1,width:"w-[310px]",isVisible:t,isBackgroundClosable:d,wrapperClassName:u},c.createElement(l.A,{className:"py-10 px-5 flex items-center justify-center flex-col"},c.createElement(s.o,{as:"h1",size:"TITLE_3",fontWeight:"font-semibold",className:"text-center"},"This page works best"),c.createElement(s.o,{as:"h1",size:"TITLE_3",fontWeight:"font-semibold",className:"text-center mb-8"},"on desktop"),c.createElement(l.A,null,c.createElement(s.o,{as:"h2",size:"TITLE_6",fontWeight:"font-normal",align:"text-center"},"We’re still working on the mobile experience of this page."),c.createElement(s.o,{as:"h2",size:"TITLE_6",fontWeight:"font-normal",className:"mt-4",align:"text-center"},"We recommend you login from a desktop for a better experience.")),c.createElement(E.N_,{to:"/t/home",className:"mt-6"},c.createElement(i.A,{variant:"ghost",className:"underline text-body md:w-auto h-fit text-sapphire02 !justify-start w-auto duration-300 font-roobert transition-opacity group-hover:opacity-90",compLib:!1,size:"sm"},"Go back to home"))),d&&c.createElement("button",{type:"button",onClick:a,className:"absolute top-4 right-4 bg-white h-8 w-8 flex items-center justify-center rounded-full cursor-pointer p-0.5 focus:outline-none z-10"},c.createElement("span",null,(0,o.s)(n.GRI,"w-3 h-3"))))}},21004:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/iOSApp_c68358ffd17b88633d65.png"},21525:function(e,t,a){"use strict";var n=a(48903),r=a(79656),l=a(20178),s=a(43755),i=a(33919),o=a(55843),c=a(58286),E=a(79977),d=a(31387),u=a(48669),m=a(11090),p=a(35061),A=a(6305),S=a(96540),_=a(32389),C=a(56347);const I=({title:e,editableTitle:t,icon:a,logo:I,statusPill:T,subtitle:N,showBack:g,handleBack:R,headerContainerClassName:f,ctaLabel:h,onCtaClick:L,learnMoreLink:O,moreMenuRenderer:b,extraCtaRenderer:D,extraCTAPosition:y,truncateTitle:M,titleFontSize:v,renderLearnMore:P,backButtonClass:w})=>{const{t:x}=(0,_.Bd)(),{isSidebarOpen:U,isSecondarySidebarOpen:F,isSidebarEnabled:B,toggleSidebar:G}=(0,n.lx)(),k=(0,m.A)((e=>e.showHeaderMoreMenu)),H=(0,m.A)((e=>e.setShowHeaderMoreMenu)),V=S.useRef(null),Y=(0,u.g)();(0,l.s)({ref:V,onClick:()=>{k||H(!1)}});const W=(0,C.zy)(),$=S.useMemo((()=>W.pathname.includes("/m/")||W.pathname.includes("brain")),[W]),j=()=>D?D():null;return S.createElement(S.Fragment,null,S.createElement(s.A,{className:` flex absolute ${f} top-0 ${Y?"sm:top-11":"sm:top-0"} w-full ${B?"left-0":"left-8"} sm:left-0 py-5 app-bar-elevation z-50 bg-white ${B?"dashboard-container-spacing":"lc-sidebar-logo lc-dashboard-container-spacing"}`},g&&S.createElement(i.A,{className:`!bg-transparent text-left !w-fit ${S.isValidElement(I)?"mr-5":"mr-2"} ${w} w-6 h-6 !p-0 !text-darkSlate01`,IconStart:S.createElement(o.A,{icon:r.CeG}),onClick:R}),!B&&I,S.createElement("div",{className:"flex-grow "+(S.isValidElement(I)?"ml-4":"")},S.createElement("div",{className:"flex items-center"},t||S.createElement(S.Fragment,null,M?S.createElement(c.S,{content:e,placement:"bottom",zIndexClasses:"z-tooltip",textClasses:"!text-slateStroke !text-footnote",tooltipClasses:"!bg-neutralBlack max-w-[400px] !rounded-none !font-roobert",containerClasses:""},S.createElement(E.A,{className:`font-normal inline-block max-w-[400px] truncate text-ellipsis ${v||""}`},e)):S.createElement(E.A,{className:`font-normal mb-1 ${v||""}`},e)),S.isValidElement(T)&&T),Boolean(!(0,p.F)()&&N)&&S.createElement(d.A,{color:"text-darkSlate02"},N,O?".":"",O&&!P&&S.createElement("a",{className:"ml-1 text-primary",href:O,target:"_blank"},x("COMMON:LEARN_MORE")),P)),Boolean("left"===y)&&j(),h&&S.createElement("div",null,S.createElement(i.A,{onClick:L,IconStart:a},h)),b&&S.createElement("div",{ref:V,role:"button",tabIndex:0,className:"relative flex-center border border-slateStroke w-12 h-12 ml-4 cursor-pointer p-4",onClick:()=>H(!0)},(0,A.s)(r.vaG),k&&S.createElement("div",{className:"absolute top-14 -right-8 md:right-0"},b())),Boolean("right"===y)&&j()),Boolean(!$&&(0,p.F)()&&O&&N)&&S.createElement(d.A,{color:"text-darkSlate01",className:"mt-4 mb-8"},N," ",S.createElement("a",{href:O,className:"text-primary",target:"_blank"},x("COMMON:LEARN_MORE"))))};I.displayName="Header",I.defaultProps={extraCTAPosition:"left",subtitle:null,showBack:!1,headerContainerClassName:"items-center"},t.A=I},22138:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/Course_selected_kr_0425e48a9f80b4a08d6f.png"},23302:function(e,t,a){"use strict";var n=a(49456),r=a(74036),l=a(43755),s=a(55843),i=a(8191),o=a(31387),c=a(31163),E=a(33919),d=a(45011),u=a(6305),m=a(96540);const p=({title:e,subtitle:t,icon:a,ctaLabel:p,isVisible:A,width:S,isForm:_,onClose:C,children:I,onCtaClick:T,loading:N,ctaColor:g,ctaBgColor:R="",ctaDisabled:f,extraCtaPosition:h,extraCtaRenderer:L,ctaClasses:O,ctaEndIcon:b,className:D,iconBg:y,bodyClasses:M,ctaSize:v,backgroundCloseable:P=!0,footerCTAContainerClasses:w="",ctaButtonType:x=r.II.SUBMIT})=>{const U=()=>m.createElement(m.Fragment,null,m.createElement("div",{className:"sticky top-0 flex items-center p-5 border-b border-b-slateStroke bg-white z-50"},a&&y?m.createElement(l.A,{className:`${y} w-8 h-8 mr-4 grid place-items-center`}," ",m.createElement(s.A,{icon:a})):a?m.createElement("div",{className:"mr-4 flex items-center"},a):null,m.createElement("div",{className:"flex-grow"},m.createElement(i.A,{className:"text-darkSlate01"},e),t&&m.createElement(o.A,{size:c.p.CAPTION,className:"text-darkSlate02 mt-1"},t)),m.createElement("div",{onClick:C,className:"cursor-pointer flex-center"},(0,u.s)(n.GRI,"text-title3"))),m.createElement("div",{className:`px-12 py-6 ${M}`},I),m.createElement("div",{className:"sticky bottom-0 w-full bg-white left-0 flex items-end justify-end p-4 shadow-elevationLow z-100"},m.createElement("div",{className:`flex items-center ${w} `},"left"===h&&L?L():null,m.createElement(E.A,{className:O,color:g,IconEnd:b||null,isLoading:N,type:x,onClick:T,disabled:f,bgColor:R,size:v},p),"right"===h&&L?L():null)));return m.createElement(d.A,{className:D,showFooter:!1,showHeader:!1,showClose:!1,width:S,isVisible:A,onClose:C,isBackgroundClosable:P},_?m.createElement("form",{onSubmit:T},U()):U())};p.displayName="FormModalWrapper",p.defaultProps={ctaDisabled:!1,isForm:!0,width:"form-modal w-[50vw] max-w-lg min-w-[24rem]",extraCtaPosition:"left",ctaClasses:"",className:"rounded-[22px]"},t.A=p},23514:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/customDomains_56788e854a2cc6ed8163.png"},23550:function(e,t,a){"use strict";var n=a(38080),r=a(86162);t.A=()=>{const[e]=(0,n.P)(),t=e;return({type:e,properties:a,userId:n,userProperties:l})=>{const s={...a,org_name:t?.name};(new r.Ay).sendEvent({type:e,properties:s,userId:n,userProperties:l})}}},23776:function(e,t,a){"use strict";a.d(t,{BK:function(){return l},PX:function(){return o},Td:function(){return s},lo:function(){return i},tP:function(){return c},u1:function(){return E}});var n=a(96540);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement("svg",r({width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M0.5 20C0.552083 16.25 1.46354 12.8906 3.23438 9.92188C5.00521 6.90104 7.40104 4.50521 10.4219 2.73438C13.3906 0.963542 16.75 0.0520833 20.5 0C24.25 0.0520833 27.6094 0.963542 30.5781 2.73438C33.599 4.50521 35.9948 6.90104 37.7656 9.92188C39.5365 12.8906 40.4479 16.25 40.5 20C40.4479 23.75 39.5365 27.1094 37.7656 30.0781C35.9948 33.099 33.599 35.4948 30.5781 37.2656C27.6094 39.0365 24.25 39.9479 20.5 40C16.75 39.9479 13.3906 39.0365 10.4219 37.2656C7.40104 35.4948 5.00521 33.099 3.23438 30.0781C1.46354 27.1094 0.552083 23.75 0.5 20ZM29.5625 16.5625C29.9792 16.0938 30.1875 15.5729 30.1875 15C30.1875 14.4271 29.9792 13.9062 29.5625 13.4375C29.0938 13.0208 28.5729 12.8125 28 12.8125C27.4271 12.8125 26.9062 13.0208 26.4375 13.4375L18 21.875L14.5625 18.4375C14.0938 18.0208 13.5729 17.8125 13 17.8125C12.4271 17.8125 11.9062 18.0208 11.4375 18.4375C11.0208 18.9062 10.8125 19.4271 10.8125 20C10.8125 20.5729 11.0208 21.0938 11.4375 21.5625L16.4375 26.5625C16.9062 26.9792 17.4271 27.1875 18 27.1875C18.5729 27.1875 19.0938 26.9792 19.5625 26.5625L29.5625 16.5625Z",fill:"#42BE65"})),s=e=>n.createElement("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 11.75H6.75C6.96875 11.75 7.14844 11.6797 7.28906 11.5391C7.42969 11.3984 7.5 11.2188 7.5 11V9.875C7.51562 9.64062 7.64062 9.51562 7.875 9.5C8.10938 9.51562 8.23438 9.64062 8.25 9.875V11C8.23438 11.4219 8.08594 11.7734 7.80469 12.0547C7.52344 12.3359 7.17188 12.4844 6.75 12.5H1.5C1.07812 12.4844 0.726562 12.3359 0.445312 12.0547C0.164062 11.7734 0.015625 11.4219 0 11V5.75C0.015625 5.32812 0.164062 4.97656 0.445312 4.69531C0.726562 4.41406 1.07812 4.26562 1.5 4.25H2.625C2.85938 4.26562 2.98438 4.39062 3 4.625C2.98438 4.85938 2.85938 4.98438 2.625 5H1.5C1.28125 5 1.10156 5.07031 0.960938 5.21094C0.820312 5.35156 0.75 5.53125 0.75 5.75V11C0.75 11.2188 0.820312 11.3984 0.960938 11.5391C1.10156 11.6797 1.28125 11.75 1.5 11.75ZM3.75 2C3.76562 1.57812 3.91406 1.22656 4.19531 0.945312C4.47656 0.664062 4.82812 0.515625 5.25 0.5H10.5C10.9219 0.515625 11.2734 0.664062 11.5547 0.945312C11.8359 1.22656 11.9844 1.57812 12 2V7.25C11.9844 7.67188 11.8359 8.02344 11.5547 8.30469C11.2734 8.58594 10.9219 8.73438 10.5 8.75H5.25C4.82812 8.73438 4.47656 8.58594 4.19531 8.30469C3.91406 8.02344 3.76562 7.67188 3.75 7.25V2ZM5.25 8H10.5C10.7188 8 10.8984 7.92969 11.0391 7.78906C11.1797 7.64844 11.25 7.46875 11.25 7.25V2C11.25 1.78125 11.1797 1.60156 11.0391 1.46094C10.8984 1.32031 10.7188 1.25 10.5 1.25H5.25C5.03125 1.25 4.85156 1.32031 4.71094 1.46094C4.57031 1.60156 4.5 1.78125 4.5 2V7.25C4.5 7.46875 4.57031 7.64844 4.71094 7.78906C4.85156 7.92969 5.03125 8 5.25 8Z",fill:"#393F41"})),i=e=>n.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M10.2266 0.992188L6.47656 12.2422C6.38281 12.4453 6.22656 12.5234 6.00781 12.4766C5.80469 12.3828 5.72656 12.2266 5.77344 12.0078L9.52344 0.757812C9.61719 0.539063 9.77344 0.460937 9.99219 0.523438C10.1953 0.617188 10.2734 0.773438 10.2266 0.992188ZM4.50781 3.78125L1.4375 6.5L4.50781 9.21875C4.66406 9.39062 4.66406 9.57031 4.50781 9.75781C4.35156 9.91406 4.17969 9.92188 3.99219 9.78125L0.617188 6.75781C0.539062 6.69531 0.5 6.60938 0.5 6.5C0.5 6.39062 0.539062 6.29688 0.617188 6.21875L3.99219 3.21875C4.17969 3.07812 4.35156 3.08594 4.50781 3.24219C4.66406 3.42969 4.66406 3.60938 4.50781 3.78125ZM12.0078 3.21875L15.3828 6.21875C15.4609 6.29688 15.5 6.38281 15.5 6.47656C15.5 6.61719 15.4609 6.71094 15.3828 6.75781L12.0078 9.78125C11.8203 9.92188 11.6406 9.91406 11.4688 9.75781C11.3281 9.57031 11.3359 9.39062 11.4922 9.21875L14.5625 6.47656L11.4922 3.78125C11.3359 3.60938 11.3281 3.42969 11.4688 3.24219C11.6406 3.08594 11.8203 3.07812 12.0078 3.21875Z",fill:"#393F41"})),o=e=>n.createElement("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.8828 3.19531C12.0391 3.80469 12.0391 4.39844 11.8828 4.97656C11.7109 5.55469 11.4062 6.07812 10.9688 6.54688C10.5156 7 9.98438 7.30469 9.375 7.46094C8.78125 7.61719 8.17969 7.61719 7.57031 7.46094L3.04688 11.9844C2.6875 12.3281 2.26562 12.5 1.78125 12.5C1.29688 12.5 0.875 12.3203 0.515625 11.9609C0.171875 11.6016 0 11.1797 0 10.6953C0 10.2266 0.171875 9.80469 0.515625 9.42969L5.0625 4.90625C4.89062 4.29688 4.88281 3.69531 5.03906 3.10156C5.21094 2.50781 5.51562 1.98437 5.95312 1.53125C6.40625 1.09375 6.92969 0.789062 7.52344 0.617188C8.10156 0.460937 8.69531 0.453125 9.30469 0.59375C9.53906 0.671875 9.69531 0.828125 9.77344 1.0625C9.83594 1.29688 9.78125 1.5 9.60938 1.67188L8.10938 3.17188L8.29688 4.20312L9.32812 4.39062L10.8281 2.89062C11 2.71875 11.2031 2.66406 11.4375 2.72656C11.6719 2.80469 11.8203 2.96094 11.8828 3.19531ZM10.4297 6.00781C11.1016 5.32031 11.3594 4.50781 11.2031 3.57031L9.58594 5.1875L7.64062 4.85938L7.3125 2.91406L8.92969 1.29688C8.77344 1.26563 8.60938 1.25 8.4375 1.25C7.6875 1.25 7.03906 1.52344 6.49219 2.07031C6.11719 2.44531 5.86719 2.88281 5.74219 3.38281C5.63281 3.88281 5.66406 4.39844 5.83594 4.92969L5.88281 5.14062L1.03125 9.99219C0.828125 10.1953 0.726562 10.4375 0.726562 10.7188C0.726562 11 0.828125 11.2422 1.03125 11.4453C1.23438 11.6484 1.47656 11.75 1.75781 11.75C2.03906 11.75 2.28125 11.6484 2.48438 11.4453L7.35938 6.59375L7.57031 6.66406C8.08594 6.83594 8.59375 6.86719 9.09375 6.75781C9.60938 6.63281 10.0547 6.38281 10.4297 6.00781ZM1.875 10.2266C2.10938 10.2422 2.23438 10.3672 2.25 10.6016C2.23438 10.8359 2.10938 10.9609 1.875 10.9766C1.64062 10.9609 1.51562 10.8359 1.5 10.6016C1.51562 10.3672 1.64062 10.2422 1.875 10.2266Z",fill:"#393F41"})),c=e=>n.createElement("svg",r({width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M12 6.5C11.9844 7.625 11.7109 8.63281 11.1797 9.52344C10.6484 10.4297 9.92969 11.1484 9.02344 11.6797C8.13281 12.2109 7.125 12.4844 6 12.5C4.875 12.4844 3.86719 12.2109 2.97656 11.6797C2.07031 11.1484 1.35156 10.4297 0.820312 9.52344C0.289062 8.63281 0.015625 7.625 0 6.5C0.015625 5.375 0.289062 4.36719 0.820312 3.47656C1.35156 2.57031 2.07031 1.85156 2.97656 1.32031C3.86719 0.789062 4.875 0.515625 6 0.5C7.125 0.515625 8.13281 0.789062 9.02344 1.32031C9.92969 1.85156 10.6484 2.57031 11.1797 3.47656C11.7109 4.36719 11.9844 5.375 12 6.5ZM2.03906 3.05469C1.21094 4.00781 0.78125 5.15625 0.75 6.5C0.765625 7.48438 1.00781 8.36719 1.47656 9.14844C1.92969 9.94531 2.55469 10.5703 3.35156 11.0234C4.13281 11.4922 5.01562 11.7344 6 11.75C7.34375 11.7188 8.49219 11.2891 9.44531 10.4609L2.03906 3.05469ZM11.25 6.5C11.2344 5.51562 10.9922 4.63281 10.5234 3.85156C10.0703 3.05469 9.44531 2.42969 8.64844 1.97656C7.86719 1.50781 6.98438 1.26563 6 1.25C4.65625 1.28125 3.50781 1.71094 2.55469 2.53906L9.96094 9.94531C10.7891 8.99219 11.2188 7.83594 11.25 6.47656V6.5Z",fill:"#FA4D56"})),E=e=>n.createElement("svg",{width:"224",height:"148",viewBox:"0 0 224 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{"clip-path":"url(#clip0_1144_77024)"},n.createElement("rect",{width:"224",height:"148",rx:"16",fill:"white"}),n.createElement("rect",{width:"224",height:"148",rx:"16",fill:"url(#paint0_linear_1144_77024)"}),n.createElement("g",{filter:"url(#filter0_f_1144_77024)"},n.createElement("circle",{cx:"25",cy:"10",r:"50",fill:"#FDF02E","fill-opacity":"0.46"})),n.createElement("g",{filter:"url(#filter1_f_1144_77024)"},n.createElement("ellipse",{cx:"186.5",cy:"94",rx:"50",ry:"28",fill:"#70ECFA","fill-opacity":"0.64"}))),n.createElement("rect",{x:"0.5",y:"0.5",width:"223",height:"147",rx:"15.5",stroke:"#E5E5E5"}),n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1144_77024",x:"-92.5",y:"-107.5",width:"235",height:"235",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"33.75",result:"effect1_foregroundBlur_1144_77024"})),n.createElement("filter",{id:"filter1_f_1144_77024",x:"69",y:"-1.5",width:"235",height:"191",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"33.75",result:"effect1_foregroundBlur_1144_77024"})),n.createElement("linearGradient",{id:"paint0_linear_1144_77024",x1:"112",y1:"0",x2:"112",y2:"148",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{"stop-color":"#E6FFD3"}),n.createElement("stop",{offset:"1","stop-color":"#C2FFC2"})),n.createElement("clipPath",{id:"clip0_1144_77024"},n.createElement("rect",{width:"224",height:"148",rx:"16",fill:"white"}))))},25646:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/computer_a687b67227df78b0e62a.png"},26264:function(e,t,a){"use strict";a.d(t,{A:function(){return u}});var n=a(2765),r=a(46942),l=a.n(r),s=a(96540),i=a(77399),o=a(66159);const c={error:a(18778),success:a(4251)},E=({toastProps:e,toastType:t,message:a,iconWidth:r="w-4",iconHeight:l="h-4",customDefaultIcon:i="",lineBreak:E})=>{const{SUCCESS:d,ERROR:u,DEFAULT:m}=n.k,p={[d]:{text:"text-successDark",bgColor:"bg-successLight"},[u]:{text:"text-errorDark",bgColor:"bg-errorLight"},[m]:{text:"text-warningDark",bgColor:"bg-warningLight"}};return s.createElement("div",{className:`flex items-center justify-items-center ${!E&&"max-w-sm"}`},s.createElement(o.A,{width:r,height:l,className:"mr-2",src:i||c[t],alt:a}),s.createElement("label",{className:`text-sm font-medium ${p[t||"default"].text} ${p[t||"default"].bgColor} ${e}\n ${E?"whitespace-pre-wrap":""}\n `},E?a?.split(".").join(".\n"):a))};E.propTypes={};var d=E,u=({toastType:e,message:t,position:a="top-center",customDefaultIcon:r,lineBreak:o,duration:c})=>{const{SUCCESS:E,ERROR:u,DEFAULT:m}=n.k,p={[E]:{text:"text-successDark",bgColor:"bg-successLight"},[u]:{text:"text-errorDark",bgColor:"bg-errorLight"},[m]:{text:"text-warningDark",bgColor:"bg-warningLight"}};return(0,i.oR)(s.createElement(d,{message:t,iconHeight:"h-5",iconWidth:"w-5",toastType:e,customDefaultIcon:r,lineBreak:o}),{position:a,autoClose:c||2e3,className:l()(p[e].bgColor,"!w-[90vw] sm:!w-max mx-auto !px-5 !text-body !min-h-[54px] !break-words")})}},27893:function(e,t,a){"use strict";a.d(t,{U:function(){return n}});const n=e=>e.response&&e.response.data?e.response.data.failureReason?e.response.data.failureReason:e.response.data.errors&&e.response.data.errors.length?e.response.data.errors.map((e=>e.defaultMessage)).join("\n"):e.response.data.internalError?e.response.data.internalError:e.response.data.message?e.response.data.message:e.message:e.message||e?.data?.message},28013:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/learner-dashboard_a452d238ad033fd5c35a.svg"},28021:function(e,t,a){"use strict";a.d(t,{C:function(){return r},j:function(){return n}});const n={roles:null,userAccessProperties:null,subAdminOrgProperties:null,instructorOrgProperties:null,instructorUserProperties:null,orgProperties:null,nonAdminOrgProperties:null,subAdminRoles:null},r={HOME:"home",AI_AVATAR:"aiAvatar",AI_CONVERSATIONS:"AI_CONVERSATIONS",MAIN_DIVIDER:"mainDivider",ASSET_LIBRARY:"assetLibrary",SETTINGS:"settings",COURSES:"courses",MANAGE:"manage",ALL_COURSES:"allCourses",PACKAGES:"packages",DISCUSSIONS:"discussions",QUESTION_BANK:"questionBank",QUIZ_REVIEWS:"quizReviews",ASSIGNMENTS:"assignments",LIVE_TESTS:"liveTests",LIVE_CLASSES:"liveClasses",RATINGS_REVIEWS:"ratingsReviews",MEMBERSHIPS:"memberships",MEMBERSHIP_DASHBOARD:"membershipDashboard",MEMBERSHIP_COMMUNITY:"membershipCommunity",MEMBERSHIP_SETTINGS:"membershipSettings",COMMUNITY_CHAT:"communityChat",COMMUNITY:"community",REPORTS:"reports",REPORTS_OVERVIEW:"reportsOverview",REPORTS_TRANSACTIONS:"reportsTransactions",REPORTS_SETTLEMENTS:"reportsSettlements",USERS:"users",USER_LEARNERS:"userLearners",USER_ADMINS:"userAdmins",USER_INSTRUCTORS:"userInstructors",USER_AFFILIATES:"userAffiliates",USER_SUBSCRIBERS:"userSubscribers",WEBSITE_APP:"websiteAndApp",MOBILE_APP:"mobileApp",WEBSITE_THEMES:"websiteThemes",WEBSITE_BUILDER:"websiteBuilder",APP_BUILDER:"appBuilder",THEME:"platformTheme",BUILD_HISTORY:"buildHistory",APP_CONFIGURATION:"appConfiguration",LOCALISATION:"localisation",MARKETING:"marketing",MESSENGER:"messenger",BLOGS:"blogs",CAMPAIGNS:"campaigns",EMAIL_CAMPAIGNS:"emailCampaigns",WALLET:"wallet",PROMO_CODES:"promoCodes",REFERRALS:"referrals",AFFILIATE_MARKETING:"affiliateMarketing",INTEGRATION:"integrations",THIRD_PARTY:"thirdPartyIntegrations",APIS:"apis",WEBHOOKS:"webhooks",LOGS:"logs",DOMAIN:"Domain",PAYMENT:"Payment",INVOICING:"Invoicing",SECURITY:"Security",EMAIL:"Email",CUSTOM_FIELDS:"Custom fields",USER_EXPERIENCE:"User Experience",SIGNUP_AND_LOGIN:"Signup and login",LIVE_CLASS_SETTINGS:"Live class",ACCOUNT:"account",LIVE_SESSIONS:"liveSessions",LIVE_SESSIONS_REPORTS:"liveSessionsReports",DIGITAL_PRODUCTS:"digitalProducts",TRAFFIC_DASHBOARD:"trafficDashboard",TELEGRAM_COMMUNITY:"telegramCommunity"}},29213:function(e,t,a){"use strict";a.d(t,{Te:function(){return l},Wi:function(){return n},mR:function(){return r},yl:function(){return s}});let n=function(e){return e.DEFAULT="default",e.CNAME="cnameMapping",e.CLOUDFLARE="cloudflare",e}({}),r=function(e){return e.ACTIVE="active",e.FAILED="failed",e.PROCESSING="pending",e.NONE="",e}({}),l=function(e){return e.ACTIVE="active",e.FAILED="failed",e.UNVERIFIED="unverified",e}({}),s=function(e){return e.SAVING="Saving",e.SAVED="Changes saved",e.FAILED="Failed to save",e.IDLE="Idle",e}({})},29255:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/unlimitedBenefits_5967539fa4f73b00a690.png"},30568:function(e,t,a){"use strict";a.d(t,{A:function(){return f}});var n=a(66188),r=a(15685),l=a(31387),s=a(31163),i=a(96614),o=a(42496),c=a(66159),E=a(79977),d=a(35061),u=a(6305),m=a(37140),p=a(46438),A=a(49456),S=a(11030),_=a(96540),C=a(32389);const I=({className:e,itemsOnPage:t,setItemsOnPage:a,totalPage:n,currentPage:r,setCurrentPage:i,itemsOnPageOptions:o=[10,25,50,100]})=>{const{t:c}=(0,C.Bd)(),E=_.useCallback((e=>{a&&a(e.value)}),[]),d=_.useMemo((()=>{let e=[];if(n<=3){for(let t=1;t<=n;t++)e.push({page:t,active:t===r});return e}if(r{e?i&&i(e):"next"===t?i&&i(r+1):"prev"===t&&i&&i(r-1)}),[r]);return _.createElement("div",{className:`flex items-center ${e}`},_.createElement("div",{className:"w-16"},_.createElement(S.A,{showListOnTop:!0,list:o.map((e=>({label:`${e}`,value:e}))),itemSelectedCallback:E,selected:{label:`${t}`,value:t}})),_.createElement(l.A,{size:s.p.CAPTION,className:"ml-4"},c("COMMON:PAGINATION_FOOTER_ITEMS_PER_PAGE")),_.createElement("div",{className:"flex items-center flex-grow justify-end"},_.createElement("div",{className:"flex items-center"},_.createElement("div",{onClick:r>1?()=>m({action:"prev"}):void 0},(0,u.s)(A.Wzs,"mr-[.5rem] "+(r>1?"text-primary cursor-pointer":"text-slate04 cursor-not-allowed"))),d.map((e=>_.createElement(_.Fragment,{key:`pagination-${e.page}`},_.createElement("span",{onClick:"..."!==e.page?()=>m({page:parseInt(`${e.page}`)}):void 0,className:`${e.page>99?"w-10 h-10":"w-7 h-7"} flex-center cursor-pointer ${e.active?"bg-selection02":""}`},e.page)))),_.createElement("div",{onClick:rm({action:"next"}):void 0},(0,u.s)(A.XkK,"ml-[.5rem] "+(ra.e(6746).then(a.bind(a,6746)))),R=({onHeaderClick:e,listHeaders:t,headersWithSorting:a,sortDirKeys:A,sortBy:S,sortDir:I,totalCount:R,isLoading:f,emptyState:h,listData:L,itemsOnPage:O,currentPage:b,dataTypeLabel:D,setCurrentPage:y,setItemsOnPage:M,showEmptyState:v,tableRowRenderer:P,setFilterSelected:w,headerClasses:x="",showHeaderInMobile:U=!1,emptyStateContainer:F="",isSelectAll:B=!1,handleSelectAll:G=()=>{},showPagination:k,itemsOnPageOptions:H,headerColor:V})=>{const{t:Y}=(0,C.Bd)(),W=_.useMemo((()=>location.pathname.includes("/m/")||location.pathname.includes("brain")),[location]),$=_.useCallback((t=>{e&&e(t)}),[I,S]),j=_.useCallback(((e,t)=>W&&0===e?"w-[60%]":t.width),[W]),K=_.useCallback((()=>_.createElement("div",{className:"flex items-start pb-8 px-2 border-b border-b-slateStroke"},_.createElement("div",{className:"w-[40%] flex items-start"},(0,m.YG)({width:"w-5",height:"h-4",margin:"mt-2 mb-3"}),_.createElement("div",{className:"ml-5 w-full flex flex-col"},(0,m.YG)({width:"w-[95%]",height:"h-4"}),(0,m.YG)({width:"w-[95%]",height:"h-3"}),_.createElement("div",{className:"flex"},(0,m.YG)({width:"w-11",height:"h-3",margin:"mr-4"}),(0,m.YG)({width:"w-7",height:"h-3",margin:"mr-4"}),(0,m.YG)({width:"w-10",height:"h-3",margin:"mr-4"}),(0,m.YG)({width:"w-12",height:"h-3",margin:"mr-4"})))),[...Array(3).keys()].map((e=>_.createElement("div",{key:`list-view-skeleton-${e}`,className:"w-[20%] flex items-start"},(0,m.YG)({width:"w-[85%]",height:"h-4"})))))),[]),X=_.useCallback((()=>_.createElement(_.Fragment,null,K(),K(),K(),K())),[]),z=_.useCallback((()=>v?null:D?_.createElement("div",{className:"flex "+((0,d.F)()?"my-4":"mt-10 mb-9")},_.createElement(l.A,{size:s.p.CAPTION,color:"text-darkSlate02"},(0,p.qC)(R)," ",D)):null),[R,v]),Z=_.useCallback((e=>{y(e),w(!0)}),[]),Q=!!U||!(0,d.F)();return _.createElement("div",null,z(),Q&&(v||0===t.length?null:_.createElement("div",{className:`flex border-b border-b-slateStroke pb-3 ${x} `},W&&_.createElement("div",{className:"flex items-center justify-start w-[4%]"},_.createElement(i.A,{checked:B,onChange:G,type:o.nl.CHECKBOX,containerMargin:"mr-6"})),t.map(((e,t)=>{let i;const o=e.label,c=e.key||e.label,E=A?.[c]===S;return i=E?1===I?{key:"caret-up",icon:r.S$_}:{key:"caret-up-r",icon:r.S$_,className:"rotate-180"}:{key:"sort",icon:n.OM7},_.createElement("div",{className:`flex items-center cursor-pointer gap-0.5 ${j(t,e)}`,onClick:a.includes(c)?()=>$(c):void 0,key:c},_.createElement(l.A,{color:E?"text-black":"text-darkSlate01",weight:"font-semibold",size:s.p.CAPTION,className:`uppercase ${V} `},o),e.infoComp,a.includes(c)&&_.createElement("div",{key:`icon-${i?.key}`},i&&(0,u.s)(i?.icon,`ml-[0.5rem] text-sm ${i.className||""}`)))})),W&&_.createElement("div",{className:"w-[10%]"}))),f?X():L&&L.length>0?L.map(((e,t)=>_.createElement(_.Fragment,{key:`${e.id}-${t}`??0},P(e)))):_.createElement("div",{className:`w-full h-[60vh] flex-center ${F} `},_.createElement("div",{className:"flex-center flex-col"},v&&!f?_.createElement(_.Fragment,null,h||Y("COMMON:NO_DATA_FOUND")):_.createElement(_.Fragment,null,_.createElement(c.A,{width:"w-36",height:"h-auto",src:N,alt:"no data"}),_.createElement(E.A,null,Y("COMMON:NO_RESULTS_FOUND"))))),k&&(()=>{if(f||0===L?.length)return null;let e=1;return R&&(e=Math.ceil(R/O)),(0,d.F)()?_.createElement(g,{className:"mt-4 mr-2",totalPage:e,currentPage:b,setCurrentPage:Z}):_.createElement(T,{className:"mt-4",totalPage:e,currentPage:b,itemsOnPage:O,setCurrentPage:Z,setItemsOnPage:M,itemsOnPageOptions:H})})())};R.displayName="FlexTable";var f=R},31150:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/book_271daa663bdcc0201485.png"},31221:function(e,t,a){"use strict";var n=a(89707),r=a(61110),l=a(96540),s=a(17634);t.A=({percentage:e,isSoftLimitCrossed:t})=>{const[a]=(0,n.i)();let{org:i}=a||r.vB;const{emailsConsumed:o,maxMarketingEmailsLimit:c,freeMarketingEmailsLimit:E,emailCampaignConfigCreated:d,emailMarketingAllowBeyondLimit:u}=i,m=o>E&&o({states:{screen:"",title:""},setStates:t=>e({states:t}),metaData:{flow:"login",method:"email"},setMetaData:t=>e({metaData:t}),backStates:[],pushToBackStates:t=>e((e=>({...e,backStates:[...e.backStates,t]}))),popFromBackStates:()=>e((e=>{const t=[...e.backStates],a=t[t.length-1];return t.pop(),console.log(t,a),{...e,states:a,backStates:t}})),clearBackStates:()=>e((e=>({...e,backStates:[]}))),formData:{},updateFormData:t=>e((e=>({...e,formData:{...e.formData,...t}})))})))},34791:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/whatsapp-social_670b821b1d2f204b45ef.svg"},35061:function(e,t,a){"use strict";a.d(t,{F:function(){return l},v:function(){return s}});var n=a(41179),r=a.n(n);const l=()=>null!==new(r())(window.navigator.userAgent).phone(),s=()=>null!==new(r())(window.navigator.userAgent).tablet()},35693:function(e,t,a){"use strict";a.d(t,{gK:function(){return l},vG:function(){return s}});const n=[{bg:"#E0EBFF",text:"#2B62D6"},{bg:"#E0F2FF",text:"#0078D4"},{bg:"#E0E5FF",text:"#3B4CDD"},{bg:"#E5E0FF",text:"#5E3BD4"},{bg:"#FFE0F6",text:"#D41C8C"},{bg:"#F8E0FF",text:"#A020F0"},{bg:"#F4E0FF",text:"#8B1FD1"},{bg:"#EDE0FF",text:"#6A1B9A"},{bg:"#FFF8E0",text:"#E0A026"},{bg:"#FFF4E0",text:"#D68C26"},{bg:"#FFEFE0",text:"#CC7722"},{bg:"#FFE8E0",text:"#D65D26"},{bg:"#E8FFE0",text:"#2D9D1C"},{bg:"#E0FFE8",text:"#1C9D4E"},{bg:"#E0FFF4",text:"#1C9D7A"},{bg:"#E0FFEA",text:"#229D5E"},{bg:"#FFF1E0",text:"#D66F2B"},{bg:"#FFE9E0",text:"#D65A2B"},{bg:"#FFE4E0",text:"#D6452B"},{bg:"#FFE2E0",text:"#D6332B"},{bg:"#E0FDFF",text:"#1B93A0"},{bg:"#E0F8FF",text:"#0987A0"},{bg:"#E0F4FF",text:"#0076A0"},{bg:"#E0EFFF",text:"#0064A0"},{bg:"#F2E0FF",text:"#8F2CD6"},{bg:"#F6E0FF",text:"#9B1CD6"},{bg:"#FAE0FF",text:"#A71CD6"},{bg:"#FFE0FC",text:"#B31CD6"},{bg:"#E0FFF6",text:"#1CD6A7"},{bg:"#E0FFF1",text:"#1CD68C"},{bg:"#E0FFEC",text:"#1CD671"},{bg:"#E0FFE7",text:"#1CD656"},{bg:"#FFE6E0",text:"#D6492B"},{bg:"#FFE2E0",text:"#D6332B"},{bg:"#FFDEE0",text:"#D61C2B"},{bg:"#FFDAE0",text:"#D61C3F"},{bg:"#E4E0FF",text:"#4F3BD6"},{bg:"#E8E0FF",text:"#5C3BD6"},{bg:"#ECE0FF",text:"#693BD6"},{bg:"#F0E0FF",text:"#763BD6"},{bg:"#F1FFE0",text:"#76D61C"},{bg:"#F6FFE0",text:"#8CD61C"},{bg:"#FBFFE0",text:"#A3D61C"},{bg:"#FFFFE0",text:"#B9D61C"}],r=e=>{const t=(e=>{let t=0;for(let a=0;ar(e).bg,s=e=>r(e).text},35751:function(e,t,a){"use strict";var n=a(29099),r=a(31387),l=a(96614),s=a(96540),i=a(42496),o=a(19273),c=a(3406),E=a(12967);const d=({items:e,searchedResults:t,loader:a,selectedFilter:d,subApiKey:u,apiKey:m,onCheckboxClicked:p,hideSearch:A,inputBgColor:S,className:_,keyLabel:C})=>{const I=t?.length?t:e;return a?s.createElement("div",{className:"flex-center mt-3"},s.createElement(n.A,null)):s.createElement("div",{className:`overflow-auto max-h-64 ${_}`},I?.map(((e,t)=>{let a=[];d&&(a=Object.keys(d));let n=!1;const _=e.id??e.value,I=e.title??e.label,T=e.disabled,N=e?.productType??e?.productType,g="package"===N||"normal"===N,R="package"===N;if("empty"===I||"empty"===_)return s.createElement("div",{key:I||_,className:"px-1"},s.createElement(r.A,null,"No Result Found"));for(let e of a){let t=u||m;if(d&&e===t){const e=d[t]?.[0]?.value;if("isActive"===t){const e=d[t]?.[0]?.operator;n=I===o.m.YES&&e===c.we.EQUALS||I===o.m.NO&&e===c.we.NOT_EQUALS}else n="object"==typeof e?e?.includes(_)??!1:`${e}`===_}}return s.createElement("div",{className:"flex items-baseline gap-2"},T?s.createElement(l.A,{disabled:!n,checked:n,containerMargin:0===t&&A?"":"mt-6",isLabelBold:!1,checkboxContainerClassName:"flex-grow",inputBgColor:S,label:I,type:i.nl.CHECKBOX,key:`filter-${I}-${t}${C?"-"+C:""}`}):s.createElement(l.A,{disabled:T,checked:n,onChange:e=>p({isChecked:e,value:{label:I,value:_,apiKey:m},key:u||m}),containerMargin:0===t&&A?"":"mt-6",type:i.nl.CHECKBOX,isLabelBold:!1,inputBgColor:S,label:I,key:`filter-${I}-${t}${C?"-"+C:""}`,checkboxContainerClassName:"flex-grow"}),g&&s.createElement(E.A,{bgColor:R?"bg-warningLight":"bg-dashLight",color:R?"text-warningDark":"text-dashDark"},R?"Package":"Course"))})))};d.displayName="MultiSelectSearchList",d.defaultProps={className:""},t.A=d},36695:function(e){"use strict";e.exports="https://d502jbuhuh9wk.cloudfront.net/t/static/images/apiIntegrations_fce66a8ed2325bb5e07d.png"},37140:function(e,t,a){"use strict";a.d(t,{LO:function(){return s},YG:function(){return r},cY:function(){return l},wf:function(){return i}});var n=a(96540);const r=({width:e,height:t,margin:a="mb-3"})=>n.createElement("div",{className:`skeleton-box ${e} ${t} ${a}`}),l=()=>n.createElement("div",{className:"flex flex-col px-4 py-5"},r({width:"w-[40%]",height:"h-3",margin:"mb-[0.25rem]"}),r({width:"w-[45%]",height:"h-4",margin:"mb-8"}),r({width:"w-[90%]",height:"h-1",margin:"mb-[0.5rem]"})),s=()=>n.createElement("div",{className:"flex flex-col px-4 py-5"},r({width:"w-[40%]",height:"h-3",margin:"mb-[0.25rem]"})),i=()=>n.createElement("div",{className:"flex flex-col px-1 py-6"},r({width:"w-[30%]",height:"h-3",margin:"mb-[0.25rem]"}),r({width:"w-[40%]",height:"h-4",margin:"mb-12"}),[...Array(5).keys()].map((e=>n.createElement(n.Fragment,{key:`graph-loader-${e}`},r({width:"w-[90%]",height:"h-1",margin:"mb-12"})))))},37832:function(e,t,a){"use strict";a.d(t,{f:function(){return l}});var n=a(82084);const r={currentStep:1,totalSteps:4,filesCount:0,stepsCompleted:{purpose:!1,website:!1,social:!1,files:!1},scrapeDomain:!1,socialLinks:{},purpose:null,websiteUrl:null,scrape:!0,avatarId:void 0,bio:{},assetLibrarySync:!1},l=(0,n.A)(((e,t)=>({...r,setCurrentStep:t=>{e({currentStep:t})},setPurpose:t=>{e((e=>({purpose:t,stepsCompleted:{...e.stepsCompleted,purpose:!0}})))},setWebsiteUrl:t=>{e((e=>({websiteUrl:t,stepsCompleted:{...e.stepsCompleted,website:!0}})))},setScrapeDomain:()=>{e({scrapeDomain:!t().scrapeDomain})},setSocialLinks:t=>{e((e=>({socialLinks:{...e.socialLinks,...t},stepsCompleted:{...e.stepsCompleted,social:Object.keys(t).length>0}})))},setScrape:t=>{e({scrape:t})},setAvatarId:t=>{e({avatarId:t})},setBio:t=>{e({bio:t})},resetStore:()=>{e({currentStep:r.currentStep,totalSteps:r.totalSteps,filesCount:r.filesCount,stepsCompleted:r.stepsCompleted,scrapeDomain:r.scrapeDomain,socialLinks:r.socialLinks,purpose:r.purpose,websiteUrl:r.websiteUrl,scrape:r.scrape,avatarId:r.avatarId,bio:r.bio})},setFilesCount:t=>{e({filesCount:t})},setAssetLibrarySync:()=>{e({assetLibrarySync:!t().assetLibrarySync})},setReset:()=>{e({currentStep:r.currentStep,totalSteps:r.totalSteps,filesCount:r.filesCount,stepsCompleted:r.stepsCompleted,scrapeDomain:r.scrapeDomain,socialLinks:r.socialLinks,purpose:r.purpose,websiteUrl:r.websiteUrl,scrape:r.scrape,avatarId:r.avatarId,bio:r.bio})}})))},38419:function(e,t,a){"use strict";a.d(t,{$P:function(){return o},$d:function(){return r},LN:function(){return E},WW:function(){return c},ex:function(){return s},kU:function(){return i},oJ:function(){return n},wW:function(){return l}});let n=function(e){return e.draft="draft",e.archived="archived",e.published="published",e.expired="expired",e}({}),r=function(e){return e[e.Init=-1]="Init",e[e.Content=0]="Content",e[e.Product=1]="Product",e[e.LandingPage=2]="LandingPage",e}({}),l=function(e){return e.Document="document",e.Video="video",e.Image="image",e.Text="text",e.Link="link",e.None="",e.Media="media",e.Audio="audio",e.PhysicalGoods="physical-goods",e}({}),s=function(e){return e[e.Idle=0]="Idle",e[e.Submitting=1]="Submitting",e[e.Success=2]="Success",e[e.Error=3]="Error",e}({}),i=function(e){return e.ShareUserType="dgps_u",e.ShareSource="dgps_s",e.ShareType="dgps_t",e.ShareUserId="dgps_uid",e}({}),o=function(e){return e.Creator="c",e.Learner="l",e}({}),c=function(e){return e.PublishModal="pbl",e.Dashboard="dsh",e.UrlBar="ucpd",e}({}),E=function(e){return e.Twitter="tw",e.Linkedin="li",e.Instagram="ig",e.Whatsapp="wa",e.Telegram="tg",e.Facebook="fb",e.CopiedToClipboard="cp_m",e.UrlBar="cp_u",e}({})},39238:function(e,t,a){"use strict";a.d(t,{T:function(){return l},u:function(){return r}});var n=a(72635);const r={REQUIRED_INPUT_MISSING:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_INPUT_MISSING"),REQUIRED_INPUT:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_INPUT"),REQUIRED_NAME:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_NAME"),REQUIRED_PHONE:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_PHONE"),REQUIRED_ORG_NAME:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_ORG_NAME"),REQUIRED_COURSE_CATEGORY:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_COURSE_CATEGORY"),REQUIRED_PASSWORD:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_PASSWORD"),INVALID_EMAIL:(0,n.t)("COMMON:ERROR_COPIES.INVALID_EMAIL"),INVALID_PASSWORD:(0,n.t)("COMMON:ERROR_COPIES.INVALID_PASSWORD"),INVALID_PHONE:(0,n.t)("COMMON:ERROR_COPIES.INVALID_PHONE"),INVALID_FILE_TYPE:(0,n.t)("COMMON:ERROR_COPIES.INVALID_FILE_TYPE"),INVALID_FILE_QUANTITY:(0,n.t)("COMMON:ERROR_COPIES.INVALID_FILE_QUANTITY"),REQUIRED_FILE:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_FILE"),SOMETHING_WENT_WRONG:(0,n.t)("COMMON:ERROR_COPIES.SOMETHING_WENT_WRONG"),ENTER_VALID_DOMAIN:(0,n.t)("COMMON:ERROR_COPIES.ENTER_VALID_DOMAIN"),ENTER_VALID_EMAIL:(0,n.t)("COMMON:ERROR_COPIES.ENTER_VALID_EMAIL"),REQUIRED_API_KEY:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_API_KEY"),REQUIRED_FOR_SET_UP:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_FOR_SET_UP"),REQUIRED_ROLE:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_ROLE"),REQUIRED_PERMISSIONS:(0,n.t)("COMMON:ERROR_COPIES.REQUIRED_PERMISSIONS"),CHARACTER_LIMIT_EXCEEDED:(0,n.t)("COMMON:ERROR_COPIES.CHARACTER_LIMIT_EXCEEDED"),REQUIRED_BRAND_NAME:(0,n.t)("ONBOARDING:FILL_OUT_THIS_FIELD_TO_CONTINUE")},l={FIRST_NAME:"HOME:PLEASE_ENTER_YOUR_FIRST_NAME",LAST_NAME:"HOME:PLEASE_ENTER_YOUR_LAST_NAME",ADDRESS:"HOME:PLEASE_ENTER_YOUR_ADDRESS",STATE:"HOME:PLEASE_SELECT_YOUR_STATE_OF_RESIDENCE",CITY:"HOME:PLEASE_ENTER_YOUR_CITY",ZIP_CODE:"HOME:PLEASE_ENTER_YOUR_ZIP_CODE",ZIP_CODE_INVALID:"HOME:PLEASE_ENTER_A_VALID_ZIP_CODE"}},39447:function(e,t,a){"use strict";a.d(t,{Ab:function(){return T},KH:function(){return u},NI:function(){return _},NR:function(){return i},Oc:function(){return C},R2:function(){return f},RY:function(){return o},Sf:function(){return m},TG:function(){return E},Xx:function(){return c},aZ:function(){return I},ch:function(){return h},d7:function(){return A},ej:function(){return S},i6:function(){return d},ik:function(){return p},ll:function(){return R},rf:function(){return g},sz:function(){return N}});var n=a(46942),r=a.n(n),l=a(96540);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M24.5556 12.274C24.5556 11.4227 24.479 10.6053 24.3357 9.82031H12.9766V14.4608H19.4685C19.1971 15.9449 18.327 17.2539 17.0605 18.0834V21.0947H20.9585C23.2402 19.0053 24.5556 15.9417 24.5556 12.2853V12.274Z",fill:"#4285F4"}),l.createElement("path",{d:"M12.9741 24.0013C16.2307 24.0013 18.9623 22.9283 20.956 21.093L17.058 18.0831C15.9795 18.8031 14.5974 19.2267 12.9741 19.2267C9.83239 19.2267 7.17318 17.1175 6.22529 14.2812H2.19531V17.39C4.24262 21.4442 8.41365 24.0026 12.9741 24.0013Z",fill:"#34A853"}),l.createElement("path",{d:"M6.22682 14.2781C5.98559 13.5581 5.84794 12.7887 5.84794 11.9981C5.84794 11.2075 5.98559 10.4381 6.22682 9.71808V6.60938H2.19684C1.35222 8.28133 0.912892 10.1268 0.914065 11.9981C0.914065 13.935 1.3795 15.7675 2.19684 17.3868L6.22682 14.2781Z",fill:"#FBBC05"}),l.createElement("path",{d:"M12.9741 4.77177C14.745 4.77177 16.3343 5.37882 17.5858 6.56753L21.0439 3.12565C18.9552 1.18871 16.2236 7.93035e-07 12.9741 7.93035e-07C8.41355 -0.00164447 4.24237 2.55681 2.19531 6.61129L6.22529 9.72C7.17318 6.88235 9.83239 4.77318 12.9741 4.77318V4.77177Z",fill:"#EA4335"})),o=()=>l.createElement("svg",{width:"12",height:"22",viewBox:"0 0 12 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M3.66465 21.5823V11.9278H0.40625V8.16305H3.6531V5.39143C3.6531 2.16942 5.61738 0.414062 8.49448 0.414062C9.86948 0.414062 11.0596 0.517998 11.4062 0.564192V3.93633H9.4073C7.84743 3.93633 7.53545 4.67543 7.53545 5.77253V8.1746H11.2676L10.7823 11.9394H7.54701V21.5823H3.66465Z",fill:"white"})),c=({pathFill:e})=>l.createElement("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0679 22.9942C13.3786 22.9942 15.071 22.7016 17.0235 21.8228L16.4378 19.9347C15.1364 20.6184 13.3789 20.9762 11.7191 20.9762C6.86973 20.9762 3.38757 17.8844 3.38757 12.4497C3.38757 6.23394 7.74885 2.3285 12.7277 2.3285C17.7724 2.3285 20.506 5.61565 20.506 9.84634C20.506 13.5886 18.7488 15.3787 17.3495 15.3462C16.4381 15.314 16.2106 14.4348 16.5358 12.5152L17.5119 6.49442C16.6979 6.03893 15.071 5.68077 13.639 5.68077C8.95286 5.68077 6.02387 9.29317 6.02387 13.2634C6.02387 15.9322 7.55349 17.4944 9.66883 17.4944C11.3938 17.4944 12.8583 16.6482 13.867 14.9884H13.9321C14.0949 16.7133 15.2012 17.4944 16.7308 17.4944C20.2456 17.4944 22.9141 14.5003 22.9141 9.74901C22.9141 4.28175 18.8136 0.34375 13.0859 0.34375C5.73048 0.34375 0.914062 6.10405 0.914062 12.7431C0.914062 19.1214 5.66571 22.9942 11.0679 22.9942ZM13.1182 8.25391C13.5411 8.25391 13.8667 8.31903 14.1272 8.38415L13.6713 11.4756C13.3786 13.363 12.1091 14.8926 10.9051 14.8926C9.83135 14.8926 9.27783 14.1115 9.27783 12.875C9.27783 10.3693 10.9706 8.25391 13.1182 8.25391Z",fill:e||"#F7F9FA"})),E=()=>l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18.8794 5.37741L20.0068 4.25",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M5.3818 5.37741L4.25439 4.25",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M12.1294 3.59434V1.99995",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M20.6548 11.1734H22.2559",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M2 11.1734H3.60111",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M14.1143 17.205H10.8732L10.0383 17.1596C9.81861 16.4266 9.41609 15.5033 8.84329 14.9473L8.83312 14.9374L8.82259 14.928C7.8549 14.0572 7.25391 12.7778 7.25391 11.3603C7.25391 8.42617 9.82204 6.11004 12.8541 6.535L12.8544 6.53506C14.9088 6.82197 16.6276 8.4865 16.9414 10.5185L16.9414 10.5187C17.2161 12.2953 16.5627 13.9126 15.4055 14.9691C14.7971 15.5206 14.4144 16.4501 14.1999 17.1571L14.1999 17.1574C14.1973 17.1659 14.1917 17.1758 14.1777 17.1858C14.1625 17.1967 14.1403 17.205 14.1143 17.205Z",stroke:"#3C4852",strokeWidth:"1.5"}),l.createElement("path",{d:"M10.4414 20H13.8164",stroke:"#3C4852",strokeWidth:"1.5",strokeLinecap:"round"})),d=()=>l.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6L1.7574 7.7574V10.2426H4.2426L6 12L7.7574 10.2426H10.2426V7.7574L12 6L10.2426 4.2426V1.7574H7.7574L6 0L4.2426 1.7574H1.7574V4.2426L0 6ZM9.0025 6.00125C7.34496 6.00125 6.00125 7.34496 6.00125 9.0025C6.00125 7.34496 4.65754 6.00125 3 6.00125C4.65754 6.00125 6.00125 4.65754 6.00125 3C6.00125 4.65754 7.34496 6.00125 9.0025 6.00125Z",fill:"#152561"})),u=()=>l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.49658 13.9949C4.3383 13.9949 5.8313 15.4879 5.8313 17.3296C5.8313 15.4879 7.32431 13.9949 9.16603 13.9949C7.32431 13.9949 5.8313 12.5019 5.8313 10.6602C5.8313 12.5019 4.3383 13.9949 2.49658 13.9949Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.8313 10.2852C6.03841 10.2852 6.2063 10.453 6.2063 10.6602C6.2063 12.2948 7.53142 13.6199 9.16603 13.6199C9.37313 13.6199 9.54103 13.7878 9.54103 13.9949C9.54103 14.202 9.37313 14.3699 9.16603 14.3699C7.53142 14.3699 6.2063 15.695 6.2063 17.3296C6.2063 17.5367 6.03841 17.7046 5.8313 17.7046C5.6242 17.7046 5.4563 17.5367 5.4563 17.3296C5.4563 15.695 4.13119 14.3699 2.49658 14.3699C2.28948 14.3699 2.12158 14.202 2.12158 13.9949C2.12158 13.7878 2.28948 13.6199 2.49658 13.6199C4.13119 13.6199 5.4563 12.2948 5.4563 10.6602C5.4563 10.453 5.6242 10.2852 5.8313 10.2852ZM5.83131 12.2874C5.46862 13.0292 4.86568 13.6322 4.12381 13.9949C4.86568 14.3576 5.46862 14.9605 5.83131 15.7024C6.19399 14.9605 6.79693 14.3576 7.53879 13.9949C6.79693 13.6322 6.19399 13.0292 5.83131 12.2874Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8335 11.4939C12.6752 11.4939 14.1682 12.9869 14.1682 14.8286C14.1682 12.9869 15.6612 11.4939 17.5029 11.4939C15.6612 11.4939 14.1682 10.0009 14.1682 8.15918C14.1682 10.0009 12.6752 11.4939 10.8335 11.4939Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1682 7.78418C14.3753 7.78418 14.5432 7.95207 14.5432 8.15918C14.5432 9.79379 15.8683 11.1189 17.5029 11.1189C17.71 11.1189 17.8779 11.2868 17.8779 11.4939C17.8779 11.701 17.71 11.8689 17.5029 11.8689C15.8683 11.8689 14.5432 13.194 14.5432 14.8286C14.5432 15.0357 14.3753 15.2036 14.1682 15.2036C13.9611 15.2036 13.7932 15.0357 13.7932 14.8286C13.7932 13.194 12.4681 11.8689 10.8335 11.8689C10.6264 11.8689 10.4585 11.701 10.4585 11.4939C10.4585 11.2868 10.6264 11.1189 10.8335 11.1189C12.4681 11.1189 13.7932 9.79379 13.7932 8.15918C13.7932 7.95207 13.9611 7.78418 14.1682 7.78418ZM14.1682 9.78641C13.8055 10.5283 13.2026 11.1312 12.4607 11.4939C13.2026 11.8566 13.8055 12.4595 14.1682 13.2014C14.5309 12.4595 15.1338 11.8566 15.8757 11.4939C15.1338 11.1312 14.5309 10.5283 14.1682 9.78641Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.83105 5.65796C7.67277 5.65796 9.16578 7.15097 9.16578 8.99269C9.16578 7.15097 10.6588 5.65796 12.5005 5.65796C10.6588 5.65796 9.16578 4.16496 9.16578 2.32324C9.16578 4.16496 7.67277 5.65796 5.83105 5.65796Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16578 1.94824C9.37288 1.94824 9.54078 2.11614 9.54078 2.32324C9.54078 3.95785 10.8659 5.28296 12.5005 5.28296C12.7076 5.28296 12.8755 5.45086 12.8755 5.65796C12.8755 5.86507 12.7076 6.03296 12.5005 6.03296C10.8659 6.03296 9.54078 7.35808 9.54078 8.99269C9.54078 9.19979 9.37288 9.36769 9.16578 9.36769C8.95867 9.36769 8.79078 9.19979 8.79078 8.99269C8.79078 7.35808 7.46566 6.03296 5.83105 6.03296C5.62395 6.03296 5.45605 5.86507 5.45605 5.65796C5.45605 5.45086 5.62395 5.28296 5.83105 5.28296C7.46566 5.28296 8.79078 3.95785 8.79078 2.32324C8.79078 2.11614 8.95867 1.94824 9.16578 1.94824ZM9.16578 3.95047C8.8031 4.69234 8.20015 5.29528 7.45829 5.65797C8.20015 6.02065 8.8031 6.62359 9.16578 7.36545C9.52846 6.62359 10.1314 6.02065 10.8733 5.65797C10.1314 5.29528 9.52846 4.69234 9.16578 3.95047Z",fill:"white"})),m=()=>l.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12.6875 0.1875C12.4323 0.1875 12.2227 0.269531 12.0586 0.433594C11.8945 0.597656 11.8125 0.807292 11.8125 1.0625V3.08594C11.2656 2.32031 10.5729 1.71875 9.73438 1.28125C8.89583 0.84375 7.98438 0.625 7 0.625C5.6875 0.643229 4.52083 1.01693 3.5 1.74609C2.4974 2.49349 1.78646 3.48698 1.36719 4.72656C1.29427 4.96354 1.3125 5.19141 1.42188 5.41016C1.51302 5.61068 1.67708 5.7474 1.91406 5.82031C2.15104 5.89323 2.37891 5.88411 2.59766 5.79297C2.79818 5.68359 2.9349 5.51042 3.00781 5.27344C3.31771 4.39844 3.82812 3.69661 4.53906 3.16797C5.25 2.65755 6.07031 2.39323 7 2.375C7.69271 2.375 8.33984 2.52995 8.94141 2.83984C9.52474 3.14974 10.0078 3.57812 10.3906 4.125H9.1875C8.93229 4.125 8.72266 4.20703 8.55859 4.37109C8.39453 4.53516 8.3125 4.74479 8.3125 5C8.3125 5.25521 8.39453 5.46484 8.55859 5.62891C8.72266 5.79297 8.93229 5.875 9.1875 5.875H12.6875C12.9427 5.875 13.1523 5.79297 13.3164 5.62891C13.4805 5.46484 13.5625 5.25521 13.5625 5V1.0625C13.5625 0.807292 13.4805 0.597656 13.3164 0.433594C13.1523 0.269531 12.9427 0.1875 12.6875 0.1875ZM12.0859 7.67969C11.849 7.60677 11.6211 7.625 11.4023 7.73438C11.2018 7.82552 11.0651 7.98958 10.9922 8.22656C10.6823 9.10156 10.1719 9.80339 9.46094 10.332C8.75 10.8424 7.92969 11.1068 7 11.125C6.30729 11.125 5.66016 10.9701 5.05859 10.6602C4.47526 10.3503 3.99219 9.92188 3.60938 9.375H4.8125C5.06771 9.375 5.27734 9.29297 5.44141 9.12891C5.60547 8.96484 5.6875 8.75521 5.6875 8.5C5.6875 8.24479 5.60547 8.03516 5.44141 7.87109C5.27734 7.70703 5.06771 7.625 4.8125 7.625H1.3125C1.05729 7.625 0.847656 7.70703 0.683594 7.87109C0.519531 8.03516 0.4375 8.24479 0.4375 8.5V12.4375C0.4375 12.6927 0.519531 12.9023 0.683594 13.0664C0.847656 13.2305 1.05729 13.3125 1.3125 13.3125C1.56771 13.3125 1.77734 13.2305 1.94141 13.0664C2.10547 12.9023 2.1875 12.6927 2.1875 12.4375V10.4141C2.7526 11.1797 3.44531 11.7812 4.26562 12.2188C5.10417 12.6562 6.00651 12.875 6.97266 12.875C8.28516 12.8568 9.45182 12.4831 10.4727 11.7539C11.4753 11.0065 12.1953 10.013 12.6328 8.77344C12.7057 8.53646 12.6875 8.30859 12.5781 8.08984C12.487 7.87109 12.3229 7.73438 12.0859 7.67969Z",fill:"white"})),p=()=>l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.64008 12.8284C2.07798 11.2663 2.07798 8.73367 3.64007 7.17157L7.1716 3.64005C8.7337 2.07795 11.2664 2.07795 12.8285 3.64004L16.36 7.17157C17.9221 8.73367 17.9221 11.2663 16.36 12.8284L12.8285 16.36C11.2664 17.9221 8.7337 17.9221 7.1716 16.36L3.64008 12.8284Z",stroke:"#393F41",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M12.0943 8.92188L9.47733 11.5388L7.90417 9.97065",stroke:"#393F41",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),A=({onClick:e})=>l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({"cursor-pointer hover:bg-selection02":Boolean(e)}),onClick:e},l.createElement("path",{d:"M16.3875 7.6998C16.5984 7.71387 16.7109 7.82637 16.725 8.0373C16.7109 8.24824 16.5984 8.36074 16.3875 8.3748H16.0078L15.4594 15.9053C15.4313 16.2568 15.2906 16.5521 15.0375 16.7912C14.7844 17.0162 14.475 17.1357 14.1094 17.1498H9.89063C9.525 17.1357 9.21563 17.0162 8.9625 16.7912C8.70938 16.5521 8.56875 16.2568 8.54063 15.9053L7.99219 8.3748H7.6125C7.40157 8.36074 7.28907 8.24824 7.275 8.0373C7.28907 7.82637 7.40157 7.71387 7.6125 7.6998H9.61641L10.1648 6.83496C10.3758 6.52559 10.6641 6.36387 11.0297 6.3498H12.9703C13.35 6.36387 13.6313 6.52559 13.8141 6.83496L14.3836 7.6998H16.3875ZM11.0297 7.0248C10.9031 7.0248 10.8047 7.08105 10.7344 7.19355L10.418 7.6998H13.582L13.2656 7.19355C13.1953 7.08105 13.0969 7.0248 12.9703 7.0248H11.0297ZM15.3328 8.3748H8.66719L9.21563 15.842C9.22969 16.0248 9.3 16.1725 9.42657 16.285C9.55313 16.4115 9.70782 16.4748 9.89063 16.4748H14.1094C14.2922 16.4748 14.4469 16.4115 14.5734 16.285C14.7 16.1725 14.7703 16.0248 14.7844 15.842L15.3328 8.3748Z",fill:"#152561"})),S=({onClick:e})=>l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({"cursor-pointer hover:bg-selection02":Boolean(e)}),onClick:e},l.createElement("path",{d:"M17.2501 12.5C17.2345 13.4687 16.9923 14.3515 16.5235 15.1484C16.0704 15.9297 15.4454 16.5547 14.6485 17.0234C13.8673 17.4922 12.9844 17.7344 12.0001 17.75C11.1875 17.75 10.4219 17.5703 9.70316 17.2109C8.98441 16.8672 8.36722 16.375 7.85159 15.7344C7.72659 15.5469 7.75003 15.3672 7.9219 15.1953C8.12503 15.0703 8.30472 15.0937 8.46097 15.2656C8.89847 15.8281 9.42191 16.2578 10.0313 16.5547C10.6407 16.8516 11.2969 17 12.0001 17C13.2657 16.9687 14.3282 16.5312 15.1876 15.6875C16.0313 14.8281 16.4688 13.7656 16.5001 12.5C16.4688 11.2343 16.0313 10.1718 15.1876 9.31245C14.3282 8.46869 13.2657 8.03119 12.0001 7.99994C11.1875 7.99994 10.4375 8.20306 9.75004 8.60932C9.07816 8.99995 8.53128 9.54682 8.1094 10.25H10.125C10.3594 10.2656 10.4844 10.3906 10.5 10.625C10.4844 10.8593 10.3594 10.9843 10.125 11H7.12502C6.89064 10.9843 6.76564 10.8593 6.75002 10.625V7.62494C6.76564 7.39056 6.89064 7.26556 7.12502 7.24993C7.3594 7.26556 7.4844 7.39056 7.50002 7.62494V9.82808C7.9844 9.01557 8.61722 8.38275 9.39847 7.92963C10.1954 7.49212 11.0625 7.26556 12.0001 7.24993C12.9844 7.26556 13.8673 7.50775 14.6485 7.9765C15.4454 8.44525 16.0704 9.07026 16.5235 9.85151C16.9923 10.6484 17.2345 11.5312 17.2501 12.5Z",fill:"#152561"})),_=e=>l.createElement("svg",s({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",fill:"#42BE65"}),l.createElement("path",{d:"M15.8789 5.62109C16.043 5.80339 16.125 6.01302 16.125 6.25C16.125 6.48698 16.043 6.69661 15.8789 6.87891L8.87891 13.8789C8.69661 14.043 8.48698 14.125 8.25 14.125C8.01302 14.125 7.80339 14.043 7.62109 13.8789L4.12109 10.3789C3.95703 10.1966 3.875 9.98698 3.875 9.75C3.875 9.51302 3.95703 9.30339 4.12109 9.12109C4.30339 8.95703 4.51302 8.875 4.75 8.875C4.98698 8.875 5.19661 8.95703 5.37891 9.12109L8.22266 12.0195L14.6211 5.62109C14.8034 5.45703 15.013 5.375 15.25 5.375C15.487 5.375 15.6966 5.45703 15.8789 5.62109Z",fill:"white"}),l.createElement("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",stroke:"#42BE65"})),C=()=>l.createElement("svg",{width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("circle",{cx:"50.0013",cy:"50.0013",r:"33.3333",fill:"#42BE65"}),l.createElement("mask",{id:"mask0_2819_9181",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"16",y:"16",width:"68",height:"68"},l.createElement("circle",{cx:"50.0013",cy:"50.0013",r:"33.3333",fill:"#08BD80"})),l.createElement("g",{mask:"url(#mask0_2819_9181)"},l.createElement("g",{style:{mixBlendMode:"soft-light"},opacity:"0.7"},l.createElement("circle",{cx:"31.2391",cy:"21.2391",r:"24.5711",fill:"white","fill-opacity":"0.6"}))),l.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M68.4582 40.0776L43.9747 65.1731L31.6172 53.4811L35.0536 49.8491L43.8343 58.157L64.8793 36.5859L68.4582 40.0776Z",fill:"white"}),l.createElement("circle",{cx:"87.4987",cy:"14.1667",r:"4.16667",fill:"url(#paint0_linear_2819_9181)"}),l.createElement("circle",{cx:"15.0013",cy:"80.0013",r:"3.33333",fill:"#42BE65"}),l.createElement("circle",{cx:"90.832",cy:"52.5",r:"2.5",fill:"url(#paint1_linear_2819_9181)"}),l.createElement("circle",{cx:"90.832",cy:"77.5",r:"2.5",fill:"#42BE65"}),l.createElement("circle",{cx:"61.6667",cy:"9.9987",r:"1.66667",fill:"#FA4D56"}),l.createElement("path",{d:"M8.80983 34.7003L10.4487 38.0502C10.7592 38.6849 11.669 38.6694 11.9578 38.0246L13.9095 33.6668C14.1983 33.0219 13.604 32.3329 12.9237 32.5238L9.33317 33.5317C8.83212 33.6724 8.58114 34.2328 8.80983 34.7003Z",fill:"#FA4D56"}),l.createElement("path",{d:"M70.449 90.0814L66.7608 89.5285C66.0621 89.4237 65.5582 90.1815 65.9251 90.7853L68.4043 94.8661C68.7712 95.47 69.6758 95.372 69.9049 94.7036L71.1138 91.1756C71.2825 90.6833 70.9636 90.1585 70.449 90.0814Z",fill:"#F1C21B"}),l.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.09867 12.7375C3.52237 12.5578 4.01153 12.7556 4.19125 13.1793C4.67248 14.3138 5.6585 15.791 7.00188 16.6054C7.65924 17.0039 8.39002 17.2374 9.19559 17.2144C9.23063 17.2134 9.26593 17.2119 9.30149 17.2099C8.65635 15.9884 8.40517 14.5889 8.75743 13.151C9.10948 11.714 10.0193 10.848 11.1317 10.5625C12.1903 10.2908 13.3273 10.5712 14.168 11.1762C15.0205 11.7896 15.6572 12.8087 15.5264 14.0505C15.3976 15.2725 14.5495 16.4764 12.9597 17.556C12.6709 17.7521 12.3845 17.9249 12.1008 18.0755C13.3369 19.153 15.0737 19.8588 16.9307 19.8588C17.3909 19.8588 17.764 20.2318 17.764 20.6921C17.764 21.1523 17.3909 21.5254 16.9307 21.5254C14.491 21.5254 12.2135 20.5333 10.6592 19.0119C10.5656 18.9203 10.4744 18.8265 10.3858 18.7307C9.99838 18.8207 9.61729 18.8697 9.24326 18.8804C8.06701 18.914 7.0235 18.5675 6.13787 18.0307C4.39529 16.9742 3.22063 15.1591 2.65691 13.8301C2.47719 13.4064 2.67497 12.9172 3.09867 12.7375ZM10.9724 16.7745C11.307 16.6223 11.6574 16.4257 12.0234 16.1772C13.3999 15.2425 13.8118 14.418 13.8689 13.8759C13.9239 13.3537 13.6724 12.8729 13.1946 12.529C12.705 12.1767 12.0697 12.0424 11.5461 12.1768C11.0763 12.2974 10.5941 12.6585 10.3762 13.5476C10.1062 14.6497 10.3402 15.7736 10.9724 16.7745Z",fill:"#42BE65"}),l.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M76.3903 81.8354C76.4293 82.294 76.8326 82.6342 77.2912 82.5952C78.5253 82.4903 80.3058 82.6514 81.6732 83.4025C82.3375 83.7674 82.8841 84.2597 83.2437 84.9123C81.8915 84.93 80.5707 85.3391 79.492 86.2511C78.3913 87.1818 78.0429 88.3473 78.339 89.4367C78.6166 90.4584 79.4232 91.2715 80.3449 91.691C81.278 92.1157 82.4574 92.1916 83.4772 91.5408C84.4972 90.89 85.1595 89.6397 85.347 87.8291C85.3786 87.5235 85.3933 87.2283 85.392 86.9436C86.9449 87.4881 88.3978 88.6107 89.2827 90.129C89.5145 90.5266 90.0247 90.6611 90.4223 90.4294C90.8199 90.1976 90.9544 89.6874 90.7227 89.2898C89.5445 87.2683 87.5782 85.8363 85.5123 85.2323C85.3866 85.1955 85.26 85.1617 85.1328 85.131C85.0253 84.7756 84.8858 84.4429 84.7168 84.1324C84.1757 83.1376 83.3662 82.4309 82.4756 81.9417C80.722 80.9785 78.5782 80.8132 77.1501 80.9345C76.6915 80.9735 76.3513 81.3768 76.3903 81.8354ZM83.712 86.59C83.735 86.9149 83.7293 87.2697 83.6891 87.6575C83.532 89.1755 83.0192 89.8561 82.5807 90.1358C82.1421 90.4157 81.5798 90.4219 81.0353 90.1741C80.4793 89.9211 80.0721 89.4588 79.9473 88.9996C79.8409 88.6082 79.9014 88.0875 80.5681 87.5238C81.4065 86.8149 82.5158 86.5089 83.712 86.59Z",fill:"#FA4D56"}),l.createElement("path",{d:"M15.168 50C16.026 51.3718 17.1098 52.5887 18.3736 53.5992L20.3375 55.1696L18.0602 56.8765C16.8405 57.7907 15.8503 58.9762 15.168 60.3391C14.4856 58.9762 13.4954 57.7907 12.2757 56.8765L9.99841 55.1696L12.2757 53.4626C13.4954 52.5484 14.4856 51.363 15.168 50Z",fill:"url(#paint2_linear_2819_9181)"}),l.createElement("path",{d:"M79.957 61.668C81.0565 63.4258 82.4453 64.9851 84.0647 66.2799L86.5813 68.2922L83.6631 70.4795C82.1003 71.6509 80.8314 73.17 79.957 74.9165C79.0826 73.17 77.8138 71.6509 76.2509 70.4795L73.3328 68.2922L76.2509 66.105C77.8138 64.9335 79.0826 63.4145 79.957 61.668Z",fill:"#F1C21B"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear_2819_9181",x1:"84.1654",y1:"14.1667",x2:"91.6654",y2:"14.1667",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint1_linear_2819_9181",x1:"88.832",y1:"52.5",x2:"93.332",y2:"52.5",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint2_linear_2819_9181",x1:"13.1001",y1:"53.1017",x2:"17.7528",y2:"57.7543",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})))),I=e=>l.createElement("svg",s({width:"96",height:"96",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("path",{d:"M48 78.1875C51.125 78.1875 54.0625 77.25 56.8125 75.375L96 47.0625V87.1875C95.875 89.6875 95 91.75 93.375 93.375C91.625 95 89.5 95.875 87 96H9C6.5 95.875 4.375 95 2.625 93.375C1 91.625 0.125 89.5 0 87V47.0625L39.1875 75.375C41.9375 77.375 44.875 78.3125 48 78.1875ZM92.625 30.5625C94.875 32.4375 96 34.8125 96 37.6875V39.5625L78 52.6875V18H18V52.6875L0 39.5625V37.6875C0 34.8125 1.125 32.4375 3.375 30.5625C5 29.3125 6.875 27.875 9 26.25V18C9.125 15.5 10 13.375 11.625 11.625C13.375 10 15.5 9.125 18 9H32.4375C32.5625 8.875 32.6875 8.8125 32.8125 8.8125C33.3125 8.4375 33.8125 8.125 34.3125 7.875C34.8125 7.375 35.375 6.875 36 6.375C37.75 5 39.6875 3.625 41.8125 2.25C44.0625 0.875 46.125 0.125 48 0C49.875 0.125 51.9375 0.875 54.1875 2.25C56.3125 3.625 58.25 5 60 6.375C60.625 6.875 61.1875 7.3125 61.6875 7.6875C62.1875 8.0625 62.6875 8.4375 63.1875 8.8125C63.3125 8.8125 63.4375 8.875 63.5625 9H78C80.5 9 82.625 9.875 84.375 11.625C86 13.375 86.875 15.5 87 18V26.25C89.125 27.875 91 29.3125 92.625 30.5625ZM33 47.8125C31.125 47.6875 30.125 46.75 30 45C30.125 43.125 31.125 42.125 33 42H63C64.875 42.125 65.875 43.125 66 45C65.875 46.75 64.875 47.6875 63 47.8125H33ZM33 35.8125C31.125 35.6875 30.125 34.6875 30 32.8125C30.125 31.1875 31.125 30.25 33 30H63C64.875 30.125 65.875 31.0625 66 32.8125C65.875 34.6875 64.875 35.6875 63 35.8125H33Z",fill:"url(#paint0_linear_2471_144908)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear_2471_144908",x1:"9.6",y1:"48",x2:"96",y2:"48",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})))),T=e=>l.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("rect",{width:"80",height:"80",rx:"40",fill:"#F7F9FA"}),l.createElement("mask",{id:"mask0_2195_837",maskUnits:"userSpaceOnUse",x:"19",y:"19",width:"41",height:"41"},l.createElement("path",{d:"M59.9998 19.9997L19.9998 19.9997L19.9998 59.9997H59.9998V19.9997Z",fill:"white"})),l.createElement("g",{mask:"url(#mask0_2195_837)"},l.createElement("path",{d:"M27.5008 47.1523C28.1132 47.1416 28.7221 47.2384 29.2996 47.4385L29.5457 47.5303C30.1138 47.7598 30.6362 48.088 31.0896 48.498L31.2791 48.6787C31.7123 49.1119 32.0659 49.6172 32.323 50.1719L32.4275 50.4131C32.6569 50.981 32.7836 51.5843 32.8035 52.1953L32.8055 52.458C32.793 53.1576 32.6401 53.8475 32.3553 54.4873C32.1071 55.0443 31.7634 55.5532 31.3406 55.9902L31.1551 56.1729L31.1512 56.1768C30.6629 56.6443 29.9037 57.044 29.1092 57.3799L28.7674 57.5195C28.0501 57.8047 27.2527 58.0686 26.4627 58.3018L25.6785 58.5244H25.6775C24.9005 58.7366 24.1501 58.9181 23.5096 59.0576L22.908 59.1826C22.7228 59.2192 22.5505 59.2521 22.3943 59.2793L21.9783 59.3447H21.9773L21.6433 59.3779H21.6424L21.4392 59.374H21.4373C21.4 59.3706 21.3273 59.3614 21.242 59.3359H21.241C21.1885 59.3201 21.0194 59.2672 20.8592 59.1162L20.7898 59.0439C20.6364 58.8649 20.5939 58.6769 20.5838 58.6318H20.5847L20.5603 58.459L20.5623 58.2715L20.5994 57.9434C20.6167 57.8242 20.6397 57.6848 20.6678 57.5293L20.7664 57.0166C20.8793 56.4603 21.0368 55.7675 21.2283 55.0205L21.4305 54.2578C21.6431 53.4857 21.8896 52.6775 22.1599 51.9199L22.4383 51.1816C22.7567 50.3847 23.1371 49.5903 23.5847 49.0312L23.781 48.8066L23.7849 48.8027C24.2012 48.3578 24.6919 47.9898 25.2342 47.7148L25.4705 47.6025C26.03 47.3533 26.6283 47.2046 27.2381 47.1631L27.5008 47.1523ZM49.6638 47.6035C50.27 50.9287 48.7353 54.1158 46.1814 57.083L45.6228 57.7119C45.2646 58.1023 44.6329 58.0675 44.2967 57.6318L44.2342 57.54H44.2332L41.2137 52.5264C41.8266 52.1618 42.4476 51.7974 43.075 51.4326L45.407 50.085L45.6443 49.9492C46.9908 49.1737 48.3506 48.3863 49.6638 47.6035ZM52.9324 20.4736C54.5724 20.5437 55.9952 20.8333 57.0076 21.1055C57.5133 21.2415 57.9157 21.3732 58.1892 21.4697C58.2743 21.4998 58.3466 21.5275 58.406 21.5498C58.4286 21.6097 58.4577 21.6824 58.4881 21.7686C58.5846 22.042 58.7154 22.4438 58.8513 22.9492C59.1236 23.9617 59.4141 25.3851 59.4842 27.0254C59.6241 30.3038 58.8883 34.4221 55.4109 37.8994L55.7644 38.2529L55.4099 37.8994L55.4041 37.9053C54.175 39.1792 52.3671 40.5111 50.2195 41.8936C48.6122 42.9282 46.8306 43.981 44.9832 45.0518L43.118 46.1289C41.6723 46.9614 40.2089 47.8035 38.784 48.6523L31.3035 41.1719C31.6792 40.5393 32.0556 39.8996 32.4295 39.2559L33.7449 36.9775C35.1981 34.452 36.6267 31.97 38.0222 29.7998C39.3332 27.7613 40.5988 26.0235 41.8103 24.793L42.0525 24.5537L42.0584 24.5469C45.5357 21.0695 49.654 20.3337 52.9324 20.4736ZM22.2459 34.335C25.3883 31.4526 28.79 29.6453 32.3494 30.292C31.9934 30.8894 31.6243 31.5168 31.2498 32.1602L29.7283 34.79C28.932 36.1718 28.1448 37.5326 27.4275 38.7432L22.4178 35.7246C21.9289 35.4301 21.8396 34.8022 22.1736 34.4102L22.2459 34.335ZM49.3406 25.5977C46.5685 25.5977 44.3211 27.8452 44.3211 30.6172C44.3211 33.3892 46.5685 35.6367 49.3406 35.6367C52.1125 35.6367 54.3601 33.3892 54.3601 30.6172C54.3601 27.8452 52.1124 25.5977 49.3406 25.5977Z",fill:"#393F41",stroke:"black"}))),N=e=>l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.7578 12.9461C2.13062 11.3189 2.13062 8.68074 3.7578 7.05355L7.05363 3.75773C8.68081 2.13055 11.319 2.13054 12.9462 3.75773L16.242 7.05355C17.8692 8.68074 17.8692 11.3189 16.242 12.9461L12.9462 16.2419C11.319 17.8691 8.68081 17.8691 7.05363 16.2419L3.7578 12.9461Z",stroke:"#6059FF","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),l.createElement("path",{d:"M12.0941 8.92236L9.47721 11.5393L7.90405 9.97113",stroke:"#6059FF","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),g=e=>l.createElement("svg",{width:"75",height:"76",viewBox:"0 0 75 76",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("rect",{y:"0.5",width:"75",height:"75",rx:"16.6667",fill:"white"}),l.createElement("path",{d:"M37.4993 23.4792C38.3349 23.5551 38.7906 23.9919 38.8665 24.7894V51.2786C38.8665 51.6584 38.7146 51.9812 38.4108 52.2471C38.145 52.5129 37.8222 52.6458 37.4424 52.6458C36.6449 52.5699 36.2081 52.1141 36.1322 51.2786V24.7894C36.2081 23.9919 36.6638 23.5551 37.4993 23.4792ZM32.0306 28.9479C32.8661 29.0239 33.3218 29.4606 33.3978 30.2581V45.8099C33.3978 46.1897 33.2459 46.5125 32.9421 46.7783C32.6762 47.0442 32.3534 47.1771 31.9736 47.1771C31.1761 47.1011 30.7394 46.6264 30.6634 45.7529V30.2581C30.7394 29.4606 31.1951 29.0239 32.0306 28.9479ZM42.9681 30.7708C43.8036 30.8468 44.2593 31.2835 44.3353 32.0811V43.987C44.3353 44.3668 44.1834 44.6896 43.8796 44.9554C43.6137 45.2212 43.2909 45.3542 42.9111 45.3542C42.1136 45.2782 41.6769 44.8035 41.6009 43.93V32.0811C41.6769 31.2835 42.1326 30.8468 42.9681 30.7708ZM48.4368 27.125C49.2724 27.201 49.7281 27.6377 49.804 28.4352V47.6328C49.7281 48.4683 49.2534 48.924 48.3799 49C47.5824 48.924 47.1456 48.4683 47.0697 47.6328V28.4352C47.1456 27.6377 47.6013 27.201 48.4368 27.125ZM26.5618 34.4167C27.3974 34.4926 27.8531 34.9294 27.929 35.7269V40.3411C27.929 40.7209 27.7771 41.0437 27.4733 41.3096C27.2075 41.5754 26.8847 41.7083 26.5049 41.7083C25.7074 41.6324 25.2706 41.1766 25.1947 40.3411V35.7269C25.2706 34.9294 25.7263 34.4926 26.5618 34.4167ZM21.0931 36.2396C21.9286 36.3155 22.3843 36.7523 22.4603 37.5498V38.5182C22.4603 38.898 22.3084 39.2208 22.0046 39.4867C21.7387 39.7525 21.4159 39.8854 21.0361 39.8854C20.2386 39.8095 19.8019 39.3537 19.7259 38.5182V37.5498C19.8019 36.7523 20.2576 36.3155 21.0931 36.2396ZM53.9056 36.2396C54.7411 36.3155 55.1968 36.7523 55.2728 37.5498V38.5752C55.1968 39.3727 54.7411 39.8095 53.9056 39.8854C53.0701 39.8095 52.6144 39.3537 52.5384 38.5182V37.5498C52.6144 36.7523 53.0701 36.3155 53.9056 36.2396Z",fill:"#393F41"})),R=e=>l.createElement("svg",{width:"171",height:"32",viewBox:"0 0 171 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("rect",{x:"0.5",y:"15",width:"2",height:"2",rx:"1",fill:"url(#paint0_linear_3148_140809)"}),l.createElement("rect",{x:"6.5",y:"12",width:"2",height:"8",rx:"1",fill:"url(#paint1_linear_3148_140809)"}),l.createElement("rect",{x:"12.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint2_linear_3148_140809)"}),l.createElement("rect",{x:"18.5",y:"14",width:"2",height:"4",rx:"1",fill:"url(#paint3_linear_3148_140809)"}),l.createElement("rect",{x:"24.5",y:"8",width:"2",height:"16",rx:"1",fill:"url(#paint4_linear_3148_140809)"}),l.createElement("rect",{x:"30.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint5_linear_3148_140809)"}),l.createElement("rect",{x:"36.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint6_linear_3148_140809)"}),l.createElement("rect",{x:"42.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint7_linear_3148_140809)"}),l.createElement("rect",{x:"48.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint8_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"54.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint9_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"60.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint10_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"66.5",y:"8",width:"2",height:"16",rx:"1",fill:"url(#paint11_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"72.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint12_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"78.5",y:"14",width:"2",height:"4",rx:"1",fill:"url(#paint13_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"84.5",y:"15",width:"2",height:"2",rx:"1",fill:"url(#paint14_linear_3148_140809)"}),l.createElement("rect",{x:"84.5",y:"15",width:"2",height:"2",rx:"1",fill:"url(#paint15_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"90.5",y:"12",width:"2",height:"8",rx:"1",fill:"url(#paint16_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"96.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint17_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"102.5",y:"14",width:"2",height:"4",rx:"1",fill:"url(#paint18_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"108.5",y:"8",width:"2",height:"16",rx:"1",fill:"url(#paint19_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"114.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint20_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"120.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint21_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"126.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint22_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"132.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint23_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"138.5",y:"9",width:"2",height:"14",rx:"1",fill:"url(#paint24_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"144.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint25_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"150.5",y:"8",width:"2",height:"16",rx:"1",fill:"url(#paint26_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"156.5",y:"11",width:"2",height:"10",rx:"1",fill:"url(#paint27_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"162.5",y:"14",width:"2",height:"4",rx:"1",fill:"url(#paint28_linear_3148_140809)"}),l.createElement("rect",{opacity:"0.5",x:"168.5",y:"15",width:"2",height:"2",rx:"1",fill:"url(#paint29_linear_3148_140809)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear_3148_140809",x1:"0.7",y1:"16",x2:"2.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint1_linear_3148_140809",x1:"6.7",y1:"16",x2:"8.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint2_linear_3148_140809",x1:"12.7",y1:"16",x2:"14.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint3_linear_3148_140809",x1:"18.7",y1:"16",x2:"20.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint4_linear_3148_140809",x1:"24.7",y1:"16",x2:"26.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint5_linear_3148_140809",x1:"30.7",y1:"16",x2:"32.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint6_linear_3148_140809",x1:"36.7",y1:"16",x2:"38.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint7_linear_3148_140809",x1:"42.7",y1:"16",x2:"44.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint8_linear_3148_140809",x1:"48.7",y1:"16",x2:"50.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint9_linear_3148_140809",x1:"54.7",y1:"16",x2:"56.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint10_linear_3148_140809",x1:"60.7",y1:"16",x2:"62.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint11_linear_3148_140809",x1:"66.7",y1:"16",x2:"68.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint12_linear_3148_140809",x1:"72.7",y1:"16",x2:"74.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint13_linear_3148_140809",x1:"78.7",y1:"16",x2:"80.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint14_linear_3148_140809",x1:"84.7",y1:"16",x2:"86.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint15_linear_3148_140809",x1:"84.7",y1:"16",x2:"86.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint16_linear_3148_140809",x1:"90.7",y1:"16",x2:"92.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint17_linear_3148_140809",x1:"96.7",y1:"16",x2:"98.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint18_linear_3148_140809",x1:"102.7",y1:"16",x2:"104.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint19_linear_3148_140809",x1:"108.7",y1:"16",x2:"110.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint20_linear_3148_140809",x1:"114.7",y1:"16",x2:"116.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint21_linear_3148_140809",x1:"120.7",y1:"16",x2:"122.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint22_linear_3148_140809",x1:"126.7",y1:"16",x2:"128.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint23_linear_3148_140809",x1:"132.7",y1:"16",x2:"134.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint24_linear_3148_140809",x1:"138.7",y1:"16",x2:"140.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint25_linear_3148_140809",x1:"144.7",y1:"16",x2:"146.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint26_linear_3148_140809",x1:"150.7",y1:"16",x2:"152.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint27_linear_3148_140809",x1:"156.7",y1:"16",x2:"158.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint28_linear_3148_140809",x1:"162.7",y1:"16",x2:"164.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})),l.createElement("linearGradient",{id:"paint29_linear_3148_140809",x1:"168.7",y1:"16",x2:"170.5",y2:"16",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{"stop-color":"#4E5DE0"}),l.createElement("stop",{offset:"1","stop-color":"#5868F7"})))),f=e=>l.createElement("svg",{width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M2.61328 9.60938L10.9258 1.26953C11.2721 0.941406 11.6823 0.777344 12.1562 0.777344C12.6302 0.777344 13.0404 0.941406 13.3867 1.26953L14.4805 2.36328C14.5534 2.4362 14.6263 2.52734 14.6992 2.63672C14.918 2.98307 15.0091 3.35677 14.9727 3.75781C14.9362 4.15885 14.7721 4.51432 14.4805 4.82422L6.16797 13.1367C6.14974 13.1549 6.13151 13.1732 6.11328 13.1914C6.09505 13.1914 6.07682 13.2096 6.05859 13.2461C5.78516 13.4648 5.47526 13.638 5.12891 13.7656L1.84766 14.7227C1.59245 14.7956 1.3737 14.7318 1.19141 14.5312C1.00911 14.3672 0.954427 14.1576 1.02734 13.9023L1.98438 10.6211C2.11198 10.2201 2.32161 9.88281 2.61328 9.60938ZM3.24219 10.9766L2.61328 13.1367L4.77344 12.5078C4.9375 12.4531 5.09245 12.362 5.23828 12.2344L11.4727 5.97266L9.75 4.25L3.54297 10.5117C3.52474 10.5299 3.50651 10.5482 3.48828 10.5664C3.37891 10.694 3.29688 10.8307 3.24219 10.9766Z",fill:"#AAB1B7"})),h=e=>l.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12.4688 2.9375C12.8698 2.97396 13.0885 3.19271 13.125 3.59375C13.0885 3.99479 12.8698 4.21354 12.4688 4.25H12.1406L11.4844 13.1367C11.4479 13.5924 11.2656 13.9753 10.9375 14.2852C10.6094 14.5768 10.2174 14.7318 9.76172 14.75H4.23828C3.78255 14.7318 3.39062 14.5768 3.0625 14.2852C2.73438 13.9753 2.55208 13.5924 2.51562 13.1367L1.85938 4.25H1.53125C1.13021 4.21354 0.911458 3.99479 0.875 3.59375C0.911458 3.19271 1.13021 2.97396 1.53125 2.9375H3.44531L4.45703 1.43359C4.76693 0.996094 5.1862 0.768229 5.71484 0.75H8.28516C8.8138 0.768229 9.24219 0.996094 9.57031 1.43359L10.5547 2.9375H12.4688ZM5.71484 2.0625C5.6237 2.0625 5.56901 2.09896 5.55078 2.17188L5.03125 2.9375H8.99609L8.47656 2.17188C8.42188 2.09896 8.35807 2.0625 8.28516 2.0625H5.71484ZM10.8281 4.25H3.17188L3.82812 13.0273C3.86458 13.2826 4.0013 13.4193 4.23828 13.4375H9.76172C9.9987 13.4193 10.1445 13.2826 10.1992 13.0273L10.8281 4.25Z",fill:"#FA4D56"}))},39513:function(e,t,a){"use strict";a.d(t,{AY:function(){return s},B9:function(){return i}});var n=a(14816);const r=/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/,l=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;function s(e){return(0,n.Kg)(e)&&r.test(e)}function i(e){return(0,n.Kg)(e)&&l.test(e)}},40571:function(e,t,a){"use strict";a.d(t,{A:function(){return Oe}});var n=a(15384),r=a(79656),l=a(20982),s=a(33919),i=a(23550),o=a(68683),c=a(89707),E=a(98533),d=a(91412),u=a(89043),m=a(2765),p=a(82104),A=a(14622),S=a(64119),_=a(26264),C=a(12247),I=a(7331),T=a(96540),N=a(68154),g=a(32389),R=a(56347),f=a(77399),h=a(45859),L=a(49456),O=a(55843),b=a(43755),D=a(47675),y=a(75019),M=a(64982),v=a(61110),P=(a(14842),a(3406)),w=a(86162),x=({setIsAddFundsModalOpen:e})=>{const{t:t}=(0,g.Bd)(),[a,n]=(0,T.useState)(!1),[l]=(0,c.i)(),s=(0,d.A)((e=>e.walletDetails)),[i,o]=((0,d.A)((e=>e.setWalletDetails)),(0,T.useState)("EMAIL"));let{org:E,orgId:m,userId:p,billingDate:A}=l||v.vB;const{subscriptionPlan:S,maxMarketingEmailsLimit:_,emailMarketingAllowBeyondLimit:C,billingStartDate:I}=E;console.log("billingStartDate",E?.billingStartDate);const N=E?.currencyCode===u.U.INR,[R,f]=(0,T.useState)(C??!0),h=s?.features?.ai_training_transcribe?.quota||0,x=s?.features?.ai_training_transcribe?.usage||0,U=(Math.round(x/h*100),E?.recurSubscriptionPlan2),F=e=>new Intl.NumberFormat(U?"en-US":"en-IN").format(e),B=x>=h&&0===s?.balance,G=S===P._H.FREE||S===P._H.TRIAL,k=(!N&&(S===P._H.LAUNCH||P._H.RISE),!N&&S===P._H.TRIAL),H=!G,V=N&&(S===P._H.LAUNCH||S===P._H.RISE),Y=G;return T.createElement("div",{className:"relative z-[99]",onMouseEnter:()=>{n(!0)},onMouseLeave:()=>{n(!1)}},G?T.createElement("button",{className:"cursor-pointer py-3 px-4 rounded-full border border-slate flex gap-3 items-center mr-6 bg-slateLight",type:"button"},T.createElement(O.A,{icon:r.BA1,className:"h-5 w-5 text-neutralDefaultPrimary"}),T.createElement(b.A,{className:"text-body text-darkSlate01"},T.createElement("span",{className:"text-inherit"},"See usage and statistics")),T.createElement(O.A,{icon:a?L.GF6:L.tdl,className:"h-4 w-4"})):T.createElement("button",{className:"cursor-pointer py-3 px-4 rounded-full border border-slate flex gap-3 items-center mr-6 bg-white",type:"button"},T.createElement(O.A,{icon:r.BA1,className:"h-5 w-5 text-neutralDefaultPrimary"}),T.createElement(b.A,{className:"text-body text-darkSlate01"},T.createElement("span",{className:"text-inherit"},"Available Balance :"),T.createElement("span",{className:"text-inherit"},`${N?" ₹":" $"} ${s?.balance?F(s?.balance):0}`)),T.createElement(O.A,{icon:a?L.GF6:L.tdl,className:"h-4 w-4"})),a&&T.createElement("div",{className:"absolute right-6 pt-2"},T.createElement("div",{className:"p-4 z-100 border border-slate rounded-[20px] overflow-hidden bg-white w-[440px]"},T.createElement("div",{className:"py-6 px-2 flex flex-col gap-2"},T.createElement("div",null,T.createElement("div",{className:"flex justify-between text-darkSlate01 font-medium text-body mb-1"},T.createElement("span",null,"Training data"),T.createElement("span",null,Number((x/60).toFixed(2))," / ",F(Number((h/60).toFixed(2)))," hours used")),T.createElement("div",{className:"my-2"},T.createElement(D.A,{value:x||0,max:h,heightClass:"h-1.5",progressBarClasses:"rounded-full bg-darkslate01",barBgClass:"!bg-black"}))),T.createElement("div",{className:"flex justify-between items-center mt-2"},T.createElement("div",{className:"flex items-center gap-2 text-darkSlate01 text-body"},T.createElement(O.A,{icon:r.BA1}),T.createElement("span",{className:"font-semibold text-darkSlate01 text-[16px]"},"Free limit",": ",(e=>{let t;return t=e>=1e3?F(e/1e3)+"k":F(e),t})(Number((h/60).toFixed(2)))," hrs"))),k&&T.createElement("button",{className:"inline-flex gap-2 text-neutralDefaultPrimary text-body-12 items-center",onClick:()=>{window.location.href="/t/subscription"}},T.createElement(O.A,{icon:r.Ju_,color:"#5868F6"}),T.createElement("span",{className:"font-semibold text-[13px] text-[#5868F6]"},t("EMAIL_CAMPAIGN:EMAIL_LIMITS.UPGRADE_PLAN"))),B&&T.createElement("div",{className:"flext items-start gap-2"},T.createElement(O.A,{icon:r.a$,color:"#FA4D56",className:"w-3 h-3 mr-2"}),G?T.createElement("span",{className:"text-red-0 text-[13px]"},t(M.C.TRAINING_LIMIT_EXCEEDED_FREE)):T.createElement("span",{className:"text-red-0 text-[13px]"},t(M.C.TRAINING_LIMIT_EXCEEDED_PAID))),Y&&T.createElement("button",{className:"bg-[#5868F6] text-white py-2.5 rounded-full text-center text-[16px] mt-1.5",onClick:()=>window.location.href="/t/subscription"},"Upgrade plan"),V&&T.createElement("p",{className:"text-[#878C90] text-[12px] font-[400]"},"To upgrade your plan, contact us at ",T.createElement("a",{href:"mailto:care@graphy.com"},"care@graphy.com"),"."),H&&T.createElement("button",{className:"bg-[#5868F6] text-white py-2.5 rounded-full text-center text-[16px] mt-1.5",onClick:()=>e(!0)},"Recharge"),!G&&T.createElement("button",{className:"text-[16px] text-[#5868F6] text-center mt-5",onClick:()=>{(new w.Ay).sendEvent({type:y.j.MANAGE_PLAN_TAPPED,properties:{org_id:m,user_id:p,org_payment_plan:S,source:"pricing_page_header",button_text:"Manage Subscriptions"}}),window.location.href="/t/billing-and-usage"}},"View usage history")))))},U=a(64557),F=a(77129),B=a(48017),G=({progress:e})=>T.createElement("svg",{viewBox:"0 0 40 40",className:"w-6 h-6",style:{transform:"rotate(-90deg)"}},T.createElement("circle",{cx:"20",cy:"20",r:"15.9155",strokeWidth:"8",stroke:"#E5E5E5",fill:"none"}),Boolean(e)&&T.createElement("circle",{cx:"20",cy:"20",r:"15.9155",strokeWidth:"8",stroke:e<80?"#F1C21B":"#42BE65",fill:"none",strokeLinecap:"round",strokeDasharray:`${e}, 100`})),k=({progress:e})=>{const t=(0,R.W6)(),{selectedAvatar:a}=(0,B.Q)(),[n]=(0,c.i)(),l=n?.org?.id;return T.createElement("div",{onClick:()=>{(new w.Ay).sendEvent({type:"avatar_readiness_clicked",properties:{org_id:l,readiness_percentage:e}}),t.push("/t/"+F.fp.AI_AVATAR_READINESS+"?avatar="+a?.avatar_id)},className:"h-10 py-2 px-3 flex items-center gap-2 border border-slate rounded-full bg-white hover:cursor-pointer"},T.createElement(G,{progress:e}),T.createElement("p",null,"Avatar readiness"),(0,U.s)(r.vmR))},H=a(86077),V=a(93645),Y=a(88885),W=a(93521),$=a(68338),j=a(46942),K=a.n(j),X=a(72635),z=a(54625),Z=a(35693),Q=({avatarUrl:e,isSelected:t,size:a="md",avatarName:n=""})=>e?T.createElement("img",{src:e,alt:"avatar",className:K()("rounded-full ring-1 ring-offset-[1px]","sm"===a?"w-[24px] h-[24px]":"w-[18px] h-[18px]",t?"ring-[#FC2BC1]":"ring-[#2BCD1D]")}):T.createElement("div",{className:`rounded-full flex items-center justify-center ring-1 ring-offset-[1px] ${t?"ring-[#FC2BC1]":"ring-[#2BCD1D]"}\n w-[18px] h-[18px]\n `,style:{backgroundColor:(0,Z.gK)(n??"")}},T.createElement("span",null,n?.charAt(0))),q=({avatarList:e,selectedAvatar:t,onAvatarSelect:a,mobileVersion:l=!1})=>{const[s,o]=(0,T.useState)(!1),[E]=(0,c.i)(),d=E?.org?.id,u=(0,i.A)(),m=e=>e?(0,I.r)()+e:"",p=()=>o(!0),A=()=>o(!1);return T.createElement(H.A,{autoFocus:!0,placement:"bottom-start",isOpen:s,onClose:A,closeOnBlur:!0},T.createElement(V.W,null,l?T.createElement("button",{className:"cursor-pointer flex items-center",onClick:p},t?T.createElement("div",{className:"flex items-center"},T.createElement(Q,{avatarUrl:m(t?.image)||"",isSelected:!0,size:"sm",avatarName:t?.name}),T.createElement(O.A,{icon:r.Jt$,className:K()("ml-1 text-darkSlate01 text-caption",{"rotate-180 transition-transform duration-200":s})})):T.createElement("span",{className:"text-sm font-medium text-[#1B1918] flex items-center"},"Add avatar",T.createElement(O.A,{icon:r.Jt$,className:K()("ml-1 text-darkSlate01 text-caption",{"rotate-180 transition-transform duration-200":s})}))):T.createElement("button",{className:"border border-slate rounded-full cursor-pointer flex items-center h-10 px-3 bg-white",onClick:p},t?T.createElement(T.Fragment,null,T.createElement(Q,{avatarUrl:m(t?.image)||"",isSelected:!0,avatarName:t?.name}),T.createElement("span",{className:"ml-2.5 text-body font-medium text-darkSlate01"},t?.name)):T.createElement("span",{className:"text-body font-medium text-[#1B1918]"},"Add avatar"),(0,U.s)(r.Jt$,K()("ml-2.5 text-caption",{"rotate-180 transition-transform duration-200":s})))),T.createElement(Y.h,{rootProps:{className:"z-tooltip",style:{border:"none",backgroundColor:"transparent"}}},T.createElement(W.e,{className:"w-[248px] rounded-xl bg-white z-tooltip !px-0 !py-0"},T.createElement("div",{className:"flex flex-col"},T.createElement("div",{className:"max-h-[70vh] overflow-y-auto"},e?.map((e=>T.createElement("div",{className:"flex items-start gap-3 p-3 cursor-pointer",onClick:()=>{a(e),A()},key:e.avatar_id},T.createElement(Q,{avatarUrl:m(e.image),isSelected:e.avatar_id===t?.avatar_id,avatarName:e.name}),T.createElement("div",{className:"-mt-1 flex-1"},T.createElement("p",{className:"text-body font-medium text-darkSlate01"},e.name),T.createElement("p",{className:"text-caption font-normal text-darkSlate03"},e?.purpose&&(0,X.t)($.fP[e?.purpose].label))),e.avatar_id===t?.avatar_id&&T.createElement("span",{className:"-mt-1"},(0,U.s)(r.e68)))))),T.createElement(z.k2,{to:"/t/ai/create",className:"!no-underline flex items-center gap-4 p-3 border-t border-slate",onClick:()=>{u({type:n.L.CREATE_AVATAR_TAPPED.LABEL,properties:{[n.L.CREATE_AVATAR_TAPPED.PROPERTIES.ORG_ID]:d,[n.L.CREATE_AVATAR_TAPPED.PROPERTIES.TIMESTAMP]:Date.now()}})}},T.createElement(O.A,{icon:r.QLR,className:"text-darkSlate04"}),T.createElement("span",{className:"text-darkSlate01 text-body font-medium"},"Create a new Avatar"))))))},J=({progress:e})=>{const t=Math.floor(e/100*34);return T.createElement("div",{className:"bg-black text-white rounded-full flex items-center gap-4 px-8 h-10"},T.createElement("p",{className:"text-body font-medium text-white"},"Building your avatar. This may take a few minutes."),T.createElement("div",{className:"flex items-center"},T.createElement("div",{className:"flex space-x-1 mr-4"},[...Array(34)].map(((e,a)=>T.createElement("div",{key:a,className:`w-[2px] h-3 rounded-[22px] ${a{const{selectedAvatar:e}=(0,o.A)();return T.createElement("button",{onClick:()=>window.open(`${window.location.origin}/talk/${e?.slug}`,"_blank"),className:"h-10 w-10 border border-slate rounded-full bg-white"},(0,U.s)(r.pS3))},te=a(88088),ae=({initialPreferences:e,onPreferenceChange:t,publishedAiAvatars:a,selectedAvatar:n})=>{const{t:r}=(0,g.Bd)(),l=n?.purpose,s=e.filter((e=>e.recommendedPurpose===l)),i=e.filter((e=>e.recommendedPurpose!==l)),o=n?.purpose!==te.Fu.support;return T.createElement("div",null,T.createElement("h5",{className:"text-body font-normal text-darkSlate02 mb-6"},r("AI_COACH:PREFERENCE_MODAL.PICK_WHERE_YOU_WANT_YOUR_AVATAR_TO_APPEAR")),T.createElement("div",{className:"flex flex-col gap-6"},s.map((e=>T.createElement(ne,{key:e.id,preference:e,onPreferenceChange:t}))),o&&T.createElement(T.Fragment,null,i.map((e=>T.createElement(ne,{key:e.id,preference:e,onPreferenceChange:t}))))))};const ne=({preference:e,onPreferenceChange:t})=>{const{t:a}=(0,g.Bd)();return T.createElement("div",{className:"flex items-start gap-4"},T.createElement("div",{className:"flex gap-4 flex-1"},T.createElement("img",{src:e.imageSrc,alt:e.title}),T.createElement("div",{className:"flex flex-col"},T.createElement("p",{className:"text-title6 font-medium text-black"},e.title),T.createElement("p",{className:"text-body font-normal text-darkSlate02 mt-1.5"},e.description),T.createElement("div",{className:"mt-auto text-caption font-medium text-darkSlate01 flex items-center gap-3"}))),!e.comingSoon&&T.createElement(q,{avatarList:e.eligibleAiAvatars,selectedAvatar:e.eligibleAiAvatars.find((t=>t.avatar_id===e.avatarAssigned)),onAvatarSelect:a=>{t(e.id,a)}}))};var re=a(38080);const le="website_landing",se="learner_dashboard",ie="android_logged_in",oe="android_logged_out",ce="ios_logged_in",Ee="ios_logged_out",de="twitter",ue="whatsapp";var me=a(2543);const pe=a(72494),Ae=a(28013),Se=a(90330),_e=a(73752),Ce=a(40668),Ie=a(34791);var Te=()=>{const[e,t]=(0,T.useState)(),[a,n]=(0,T.useState)([]),[r,l]=(0,T.useState)(!1),[s]=(0,re.P)(),i=s;return(0,T.useEffect)((()=>{i&&(async e=>{try{const a=await E.X.getVisibilityMappings({org_id:e});t(a.data.visibility_mappings)}catch(e){f.oR.error((0,A.bE)(e))}})(i?._id)}),[i]),(0,T.useEffect)((()=>{i&&(async e=>{try{const t=await E.X.getAvatarList({org_id:e,status:"published"});n(t)}catch(e){f.oR.error((0,A.bE)(e))}})(i?._id)}),[i]),{preferenceList:[{id:le,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.YOUR_WEBSITE"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.YOUR_WEBSITE_DESC"),imageSrc:pe,recommendedPurpose:te.Fu.sales,eligibleAiAvatars:a.filter((e=>e.purpose!==te.Fu.support)),avatarAssigned:e?.[le]?.avatar_id},{id:se,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.LEARNER_DASHBOARD"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.LEARNER_DASHBOARD_DESC"),imageSrc:Ae,recommendedPurpose:te.Fu.support,eligibleAiAvatars:a,avatarAssigned:e?.[se]?.avatar_id},{id:ie,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.ANDROID_APP_LOGGED_IN_USER"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.ANDROID_APP_LOGGED_IN_USER_DESC"),imageSrc:Se,recommendedPurpose:te.Fu.support,eligibleAiAvatars:a,avatarAssigned:e?.[ie]?.avatar_id},{id:oe,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.ANDROID_APP_LOGGED_OUT_USER"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.ANDROID_APP_LOGGED_OUT_USER_DESC"),imageSrc:Se,recommendedPurpose:te.Fu.sales,eligibleAiAvatars:a.filter((e=>e.purpose!==te.Fu.support)),avatarAssigned:e?.[oe]?.avatar_id||""},{id:ce,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.IOS_APP_LOGGED_IN_USER"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.IOS_APP_LOGGED_IN_USER_DESC"),imageSrc:_e,recommendedPurpose:te.Fu.support,eligibleAiAvatars:a,avatarAssigned:e?.[ce]?.avatar_id},{id:Ee,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.IOS_APP_LOGGED_OUT_USER"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.IOS_APP_LOGGED_OUT_USER_DESC"),imageSrc:_e,recommendedPurpose:te.Fu.sales,eligibleAiAvatars:a.filter((e=>e.purpose!==te.Fu.support)),avatarAssigned:e?.[Ee]?.avatar_id},{id:de,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.TWITTER"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.TWITTER_DESC"),imageSrc:Ce,recommendedPurpose:te.Fu.engagement,comingSoon:!0,eligibleAiAvatars:a,avatarAssigned:e?.[de]?.avatar_id},{id:ue,title:(0,X.t)("AI_COACH:PREFERENCE_MODAL.WHATSAPP"),description:(0,X.t)("AI_COACH:PREFERENCE_MODAL.WHATSAPP_DESC"),imageSrc:Ie,recommendedPurpose:te.Fu.engagement,comingSoon:!0,eligibleAiAvatars:a,avatarAssigned:e?.[ue]?.avatar_id}],handlePreferenceChange:(a,n)=>{if(!e)return;const r={...e,[a]:{avatar_id:n.avatar_id,slug:n?.slug,name:n.name}};t(r)},publishedAiAvatars:a,handleApplyVisibilityMappings:async()=>{if(e&&!(0,me.isEmpty)(e)){l(!0);try{const t=Object.entries(e).reduce(((e,[t,a])=>(e[t]=a.avatar_id,e)),{}),a={org_id:i?._id,visibility_mappings:t};await E.X.updateVisibilityMappings(a)}catch(e){f.oR.error((0,A.bE)(e))}finally{l(!1)}}},isApplyingVisibilityMappings:r,visibilityMappings:e}},Ne=({isOpen:e,onClose:t})=>{const{t:a}=(0,g.Bd)(),{selectedAvatar:n}=(0,B.Q)((e=>({selectedAvatar:e.selectedAvatar}))),{preferenceList:r,handlePreferenceChange:l,publishedAiAvatars:s,handleApplyVisibilityMappings:i,isApplyingVisibilityMappings:o}=Te();return T.createElement(h.A,{isOpen:e,onClose:t,onConfirm:async()=>{await i(),t()},title:a("AI_COACH:PREFERENCE_MODAL.TITLE"),confirmText:a("AI_COACH:PREFERENCE_MODAL.SAVE_BUTTON"),isConfirming:o,containerClassName:"w-[816px]"},T.createElement(ae,{publishedAiAvatars:s,initialPreferences:r,onPreferenceChange:l,selectedAvatar:n}))},ge=a(23776),Re=({onCopyEmbedCode:e,onUnpublishAvatar:t,onManagePresence:a,onCopyPublicLink:l})=>{const{t:o}=(0,g.Bd)(),[c,E]=(0,T.useState)(!1),{selectedAvatar:d}=(0,B.Q)((e=>({selectedAvatar:e.selectedAvatar}))),u=()=>E(!1),m=(0,i.A)(),p=[{icon:T.createElement(ge.Td,null),text:"AI_COACH:INFO_BAR.COPY_PUBLIC_LINK",handler:()=>{l()},shouldRender:!0},{icon:T.createElement(ge.lo,null),text:"AI_COACH:INFO_BAR.GET_EMBED_CODE",handler:()=>{d&&m({type:n.L.EMBED_CODE_CLICKED.LABEL,properties:{[n.L.EMBED_CODE_CLICKED.PROPERTIES.ORG_ID]:d.org_id,[n.L.EMBED_CODE_CLICKED.PROPERTIES.AVATAR_ID]:d.avatar_id,[n.L.EMBED_CODE_CLICKED.PROPERTIES.AVATAR_NAME]:d.name,[n.L.EMBED_CODE_CLICKED.PROPERTIES.AVATAR_PURPOSE]:d.purpose}}),e()},shouldRender:"support"!==d?.purpose},{icon:T.createElement(ge.PX,null),text:"AI_COACH:INFO_BAR.MANAGE_PRESENCE",handler:()=>{a()},shouldRender:!0},{icon:T.createElement(ge.tP,null),text:"AI_COACH:INFO_BAR.UNPUBLISH_AVATAR",handler:()=>{t()},shouldRender:!0}];return T.createElement(H.A,{isOpen:c,closeOnBlur:!0,onClose:u,autoFocus:!0,placement:"bottom-start"},T.createElement(V.W,null,T.createElement(s.A,{as:"button",type:"button",className:"!bg-white !border !border-slate !tex-body !text-darkSlate01 !w-fit !h-10 !rounded-full !font-medium !px-4",onClick:()=>E(!0),IconEnd:T.createElement(O.A,{icon:r.Jt$,className:"ml-2"})},T.createElement("div",{className:"w-1.5 h-1.5 bg-successMid rounded-full mr-4 relative"},T.createElement("div",{className:"absolute -inset-1 bg-[#00FF48] opacity-25 rounded-full"})),o("AI_COACH:INFO_BAR.PUBLISHED"))),T.createElement(Y.h,{rootProps:{className:"z-[9999]",style:{borderRadius:"12px",border:"none"}}},T.createElement(W.e,{className:"!p-0 !w-[227px] border border-slateStroke rounded-xl"},p.map(((e,t)=>e.shouldRender&&T.createElement(s.A,{key:t,as:"button",type:"button",className:"!bg-white !tex-body !text-darkSlate01 !h-[52px] !rounded-full !font-medium !px-4 !justify-start",onClick:()=>{u(),e.handler()},IconStart:e?.icon},o(e.text)))))))},fe=a(66188),he=a(45011),Le=({isOpen:e,onClose:t,onCopyLink:a})=>{const{t:l}=(0,g.Bd)(),{selectedAvatar:o}=(0,B.Q)((e=>({selectedAvatar:e.selectedAvatar}))),c=(0,i.A)(),{preferenceList:E,handlePreferenceChange:d,publishedAiAvatars:u,handleApplyVisibilityMappings:m,isApplyingVisibilityMappings:p,visibilityMappings:A}=Te();return T.createElement(he.A,{showFooter:!1,showHeader:!1,showClose:!1,width:"w-[992px] rounded-[24px]",isVisible:e,isBackgroundClosable:!0,onClose:t},T.createElement("div",{className:"flex items-stretch h-[90vh]"},T.createElement("div",{className:"w-[272px] h-full bg-slateLight border-r border-r-slateStroke p-6 flex flex-col justify-between"},T.createElement("div",{className:"flex flex-col gap-4"},T.createElement("p",{className:"text-[18px] font-medium text-neutralBlack"},l("AI_COACH:PREFERENCE_MODAL.YOUR_AI_AVATAR_IS_READY")),T.createElement("div",{className:"relative"},T.createElement(ge.u1,null),T.createElement("div",{className:"h-[102px] w-[102px] bg-white rounded-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-1"},T.createElement("img",{src:(0,I.r)()+o?.image,alt:o?.name,className:"w-full h-full rounded-full object-cover"}),T.createElement(ge.BK,{height:24,width:24,className:"absolute bottom-1 right-1 p-1 bg-white rounded-full"}))),T.createElement("div",{className:"flex flex-col gap-1.5"},T.createElement(s.A,{onClick:a,IconStart:T.createElement(O.A,{icon:r.$3n,className:"text-darkSlate01 text-caption"}),className:"rounded-full h-10 !text-body !font-medium !text-darkSlate01 !bg-white !border !border-slate"},l("AI_COACH:PREFERENCE_MODAL.COPY_LINK_BUTTON")),T.createElement(s.A,{onClick:()=>window.open(`${window.location.origin}/talk/${o?.slug}`,"_blank"),IconStart:T.createElement(O.A,{icon:r.Ju_,className:"text-darkSlate01 text-caption"}),className:"rounded-full h-10 !text-body !font-medium !text-darkSlate01 !bg-white !border !border-slate"},l("AI_COACH:PREFERENCE_MODAL.VISIT_PAGE_BUTTON"))))),T.createElement("div",{className:"flex-1 h-full flex flex-col"},T.createElement("div",{className:"sticky top-0 flex py-5 px-4 border-b border-b-slateStroke bg-white z-100 items-center"},T.createElement("h5",{className:"m-0 flex-grow text-title3 font-medium text-darkSlate01"},"Manage your AI's presence"),T.createElement("button",{onClick:t,className:"cursor-pointer bg-slateLight rounded-full h-8 w-8 flex items-center justify-center"},(0,U.s)(fe.GRI,"text-darkSlate01"))),T.createElement("main",{className:"flex-1 p-6 overflow-y-auto"},T.createElement(ae,{publishedAiAvatars:u,initialPreferences:E,onPreferenceChange:d,selectedAvatar:o})),T.createElement("div",{className:"sticky bottom-0 flex justify-end gap-3 p-4 border-t border-t-slateStroke bg-white z-100"},T.createElement(s.A,{onClick:async()=>{o&&A&&c({type:n.L.AVATAR_DEPLOYED.LABEL,properties:{[n.L.AVATAR_DEPLOYED.PROPERTIES.ORG_ID]:o.org_id,[n.L.AVATAR_DEPLOYED.PROPERTIES.AVATAR_NAME]:o.name,[n.L.AVATAR_DEPLOYED.PROPERTIES.AVATAR_PURPOSE]:o.purpose,[n.L.AVATAR_DEPLOYED.PROPERTIES.WEBSITE_LOGGEDIN]:A.website_landing?.slug,[n.L.AVATAR_DEPLOYED.PROPERTIES.LEARNER_DASHBOARD]:A.learner_dashboard?.slug,[n.L.AVATAR_DEPLOYED.PROPERTIES.ANDROID_LOGGEDOUT]:A.android_logged_out?.slug,[n.L.AVATAR_DEPLOYED.PROPERTIES.ANDROID_LOGGEDIN]:A.android_logged_in?.slug,[n.L.AVATAR_DEPLOYED.PROPERTIES.IOS_LOGGEDOUT]:A.ios_logged_out?.slug,[n.L.AVATAR_DEPLOYED.PROPERTIES.IOS_LOGGEDIN]:A.ios_logged_in?.slug}}),await m(),t()},disabled:p,as:"button",type:"button",className:"rounded-full !text-body !font-semibold !text-slate05 !w-fit !h-10"},"Done")))))},Oe=({title:e,showBackButton:t=!1,showAvatarReadiness:a=!0,showBuildStatusProgress:L=!0})=>{const{t:O}=(0,g.Bd)(),b=(0,R.W6)(),[D]=(0,c.i)(),y=D?.org?.currencyCode===u.U.INR,M=(0,d.A)((e=>e.setWalletDetails));(0,T.useEffect)((()=>{(async()=>{try{const e=D?.org?.id;if(e){const t=await(0,S.OS)({ord_id:e});M(t||null)}}catch(e){console.error("Error fetching wallet details:",e)}})()}),[M,D]);const{aiAvatars:v,selectedAvatar:P,setSelectedAvatar:w,buildStatus:U,avatarReadiness:F}=(0,o.A)(),[B,G]=(0,T.useState)(!1),[H,V]=(0,T.useState)(!1),[Y,W]=(0,T.useState)(!1),[$,j]=(0,T.useState)(!1),[K,X]=(0,T.useState)(!1),[z,Z]=(0,T.useState)(!1),[Q,te]=(0,T.useState)(!1),[ae,ne]=(0,T.useState)(window.innerWidth<768),[re,le]=(0,T.useState)(!1),se=(0,i.A)();(0,T.useEffect)((()=>{const e=()=>{ne(window.innerWidth<768)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),(0,T.useEffect)((()=>{if(P?.avatar_id){const e=new URL(window.location.href);e.searchParams.get("avatar")!==P.avatar_id&&(e.searchParams.has("avatarId")&&e.searchParams.delete("avatarId"),e.searchParams.set("avatar",P.avatar_id),window.history.replaceState({},"",e.toString()))}}),[P]);const ie=e=>{const t=new URL(window.location.href);t.searchParams.set("avatar",e.avatar_id),b.push(t.pathname+t.search),w(e)},oe="COMPLETED"===U?.status,ce=!!F&&F?.readiness_percentage>=80,Ee="published"===P?.status,de=(0,T.useMemo)((()=>{const e=`${window.location.origin}/talk/${P?.slug}?talkChatWindow=true`,t=`${(0,I.r)()}${P?.image}`,a=`Talk to ${P?.name}`;return`