@srimandir/astrology-common 8.0.2 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/astrology-common.css +1 -1
  2. package/dist/components/AstrologersListCard/AstrologerCard.d.ts +11 -0
  3. package/dist/components/AstrologersListCard/AstrologerList.d.ts +18 -0
  4. package/dist/components/AstrologersListCard/AstrologerPhoto.d.ts +9 -0
  5. package/dist/components/AstrologersListCard/RecommendedBadge.d.ts +7 -0
  6. package/dist/components/AstrologersListCard/RecommendedRibbon.d.ts +17 -0
  7. package/dist/components/AstrologersListCard/icons.d.ts +5 -0
  8. package/dist/components/AstrologersListCard/index.d.ts +7 -0
  9. package/dist/components/AstrologersListCard/mockAstrologers.d.ts +2 -0
  10. package/dist/components/AstrologersListCard/types.d.ts +10 -0
  11. package/dist/components/ConsultationSlotSelector/AstrologyProfilesSection.d.ts +27 -0
  12. package/dist/components/ConsultationSlotSelector/ConsultationSlotSelector.d.ts +55 -0
  13. package/dist/components/ConsultationSlotSelector/PhoneNumberSection.d.ts +17 -0
  14. package/dist/components/ConsultationSlotSelector/SlotIcons.d.ts +13 -0
  15. package/dist/components/ConsultationSlotSelector/index.d.ts +6 -0
  16. package/dist/components/ConsultationSlotSelector/mockSlots.d.ts +5 -0
  17. package/dist/components/ConsultationSlotSelector/slotUtils.d.ts +18 -0
  18. package/dist/components/ConsultationSlotSelector/types.d.ts +34 -0
  19. package/dist/components/PhoneNumberInput/PhoneNumberInput.d.ts +27 -0
  20. package/dist/components/PhoneNumberInput/countries.d.ts +13 -0
  21. package/dist/components/PhoneNumberInput/icons.d.ts +3 -0
  22. package/dist/components/PhoneNumberInput/index.d.ts +3 -0
  23. package/dist/components/PhoneNumberInput/usePhoneNumberInput.d.ts +22 -0
  24. package/dist/index.cjs +1 -14
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.ts +6 -0
  27. package/dist/index.js +1551 -1169
  28. package/dist/index.js.map +1 -1
  29. package/package.json +3 -3
package/dist/index.cjs CHANGED
@@ -1,15 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./styles.js");const F=require("react");var te={exports:{}},J={};var Ue;function Ct(){if(Ue)return J;Ue=1;var a=F,o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,u=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function f(c,d,h){var v,x={},y=null,N=null;h!==void 0&&(y=""+h),d.key!==void 0&&(y=""+d.key),d.ref!==void 0&&(N=d.ref);for(v in d)i.call(d,v)&&!_.hasOwnProperty(v)&&(x[v]=d[v]);if(c&&c.defaultProps)for(v in d=c.defaultProps,d)x[v]===void 0&&(x[v]=d[v]);return{$$typeof:o,type:c,key:y,ref:N,props:x,_owner:u.current}}return J.Fragment=s,J.jsx=f,J.jsxs=f,J}var G={};var Ye;function St(){return Ye||(Ye=1,process.env.NODE_ENV!=="production"&&(function(){var a=F,o=Symbol.for("react.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),R=Symbol.iterator,z="@@iterator";function oe(e){if(e===null||typeof e!="object")return null;var r=R&&e[R]||e[z];return typeof r=="function"?r:null}var T=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),l=1;l<r;l++)n[l-1]=arguments[l];Xe("error",e,n)}}function Xe(e,r,n){{var l=T.ReactDebugCurrentFrame,b=l.getStackAddendum();b!==""&&(r+="%s",n=n.concat([b]));var g=n.map(function(m){return String(m)});g.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,g)}}var Qe=!1,Ze=!1,et=!1,tt=!1,rt=!1,be;be=Symbol.for("react.module.reference");function nt(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===_||rt||e===u||e===h||e===v||tt||e===N||Qe||Ze||et||typeof e=="object"&&e!==null&&(e.$$typeof===y||e.$$typeof===x||e.$$typeof===f||e.$$typeof===c||e.$$typeof===d||e.$$typeof===be||e.getModuleId!==void 0))}function at(e,r,n){var l=e.displayName;if(l)return l;var b=r.displayName||r.name||"";return b!==""?n+"("+b+")":n}function ge(e){return e.displayName||"Context"}function q(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case s:return"Portal";case _:return"Profiler";case u:return"StrictMode";case h:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c:var r=e;return ge(r)+".Consumer";case f:var n=e;return ge(n._context)+".Provider";case d:return at(e,e.render,"ForwardRef");case x:var l=e.displayName||null;return l!==null?l:q(e.type)||"Memo";case y:{var b=e,g=b._payload,m=b._init;try{return q(m(g))}catch{return null}}}return null}var A=Object.assign,H=0,xe,ye,je,we,Ne,$e,Ee;function Re(){}Re.__reactDisabledLog=!0;function ot(){{if(H===0){xe=console.log,ye=console.info,je=console.warn,we=console.error,Ne=console.group,$e=console.groupCollapsed,Ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function st(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:xe}),info:A({},e,{value:ye}),warn:A({},e,{value:je}),error:A({},e,{value:we}),group:A({},e,{value:Ne}),groupCollapsed:A({},e,{value:$e}),groupEnd:A({},e,{value:Ee})})}H<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=T.ReactCurrentDispatcher,ie;function X(e,r,n){{if(ie===void 0)try{throw Error()}catch(b){var l=b.stack.trim().match(/\n( *(at )?)/);ie=l&&l[1]||""}return`
2
- `+ie+e}}var ce=!1,Q;{var it=typeof WeakMap=="function"?WeakMap:Map;Q=new it}function ke(e,r){if(!e||ce)return"";{var n=Q.get(e);if(n!==void 0)return n}var l;ce=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=se.current,se.current=null,ot();try{if(r){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(I){l=I}Reflect.construct(e,[],m)}else{try{m.call()}catch(I){l=I}e.call(m.prototype)}}else{try{throw Error()}catch(I){l=I}e()}}catch(I){if(I&&l&&typeof I.stack=="string"){for(var p=I.stack.split(`
3
- `),k=l.stack.split(`
4
- `),w=p.length-1,$=k.length-1;w>=1&&$>=0&&p[w]!==k[$];)$--;for(;w>=1&&$>=0;w--,$--)if(p[w]!==k[$]){if(w!==1||$!==1)do if(w--,$--,$<0||p[w]!==k[$]){var O=`
5
- `+p[w].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&Q.set(e,O),O}while(w>=1&&$>=0);break}}}finally{ce=!1,se.current=g,st(),Error.prepareStackTrace=b}var M=e?e.displayName||e.name:"",B=M?X(M):"";return typeof e=="function"&&Q.set(e,B),B}function ct(e,r,n){return ke(e,!1)}function lt(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function Z(e,r,n){if(e==null)return"";if(typeof e=="function")return ke(e,lt(e));if(typeof e=="string")return X(e);switch(e){case h:return X("Suspense");case v:return X("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return ct(e.render);case x:return Z(e.type,r,n);case y:{var l=e,b=l._payload,g=l._init;try{return Z(g(b),r,n)}catch{}}}return""}var V=Object.prototype.hasOwnProperty,Te={},Ie=T.ReactDebugCurrentFrame;function ee(e){if(e){var r=e._owner,n=Z(e.type,e._source,r?r.type:null);Ie.setExtraStackFrame(n)}else Ie.setExtraStackFrame(null)}function ut(e,r,n,l,b){{var g=Function.call.bind(V);for(var m in e)if(g(e,m)){var p=void 0;try{if(typeof e[m]!="function"){var k=Error((l||"React class")+": "+n+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}p=e[m](r,m,l,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){p=w}p&&!(p instanceof Error)&&(ee(b),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",n,m,typeof p),ee(null)),p instanceof Error&&!(p.message in Te)&&(Te[p.message]=!0,ee(b),E("Failed %s type: %s",n,p.message),ee(null))}}}var dt=Array.isArray;function le(e){return dt(e)}function ft(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,n=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function _t(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Ce(e){if(_t(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ft(e)),Oe(e)}var Se=T.ReactCurrentOwner,pt={key:!0,ref:!0,__self:!0,__source:!0},Pe,Fe;function ht(e){if(V.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function mt(e){if(V.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function vt(e,r){typeof e.ref=="string"&&Se.current}function bt(e,r){{var n=function(){Pe||(Pe=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function gt(e,r){{var n=function(){Fe||(Fe=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var xt=function(e,r,n,l,b,g,m){var p={$$typeof:o,type:e,key:r,ref:n,props:m,_owner:g};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function yt(e,r,n,l,b){{var g,m={},p=null,k=null;n!==void 0&&(Ce(n),p=""+n),mt(r)&&(Ce(r.key),p=""+r.key),ht(r)&&(k=r.ref,vt(r,b));for(g in r)V.call(r,g)&&!pt.hasOwnProperty(g)&&(m[g]=r[g]);if(e&&e.defaultProps){var w=e.defaultProps;for(g in w)m[g]===void 0&&(m[g]=w[g])}if(p||k){var $=typeof e=="function"?e.displayName||e.name||"Unknown":e;p&&bt(m,$),k&&gt(m,$)}return xt(e,p,k,b,l,Se.current,m)}}var ue=T.ReactCurrentOwner,qe=T.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,n=Z(e.type,e._source,r?r.type:null);qe.setExtraStackFrame(n)}else qe.setExtraStackFrame(null)}var de;de=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Ae(){{if(ue.current){var e=q(ue.current.type);if(e)return`
6
-
7
- Check the render method of \``+e+"`."}return""}}function jt(e){return""}var Be={};function wt(e){{var r=Ae();if(!r){var n=typeof e=="string"?e:e.displayName||e.name;n&&(r=`
8
-
9
- Check the top-level render call using <`+n+">.")}return r}}function De(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=wt(r);if(Be[n])return;Be[n]=!0;var l="";e&&e._owner&&e._owner!==ue.current&&(l=" It was passed a child from "+q(e._owner.type)+"."),L(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,l),L(null)}}function We(e,r){{if(typeof e!="object")return;if(le(e))for(var n=0;n<e.length;n++){var l=e[n];fe(l)&&De(l,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var b=oe(e);if(typeof b=="function"&&b!==e.entries)for(var g=b.call(e),m;!(m=g.next()).done;)fe(m.value)&&De(m.value,r)}}}function Nt(e){{var r=e.type;if(r==null||typeof r=="string")return;var n;if(typeof r=="function")n=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===x))n=r.propTypes;else return;if(n){var l=q(r);ut(n,e.props,"prop",l,e)}else if(r.PropTypes!==void 0&&!de){de=!0;var b=q(r);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(e){{for(var r=Object.keys(e.props),n=0;n<r.length;n++){var l=r[n];if(l!=="children"&&l!=="key"){L(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),L(null);break}}e.ref!==null&&(L(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),L(null))}}var Le={};function Me(e,r,n,l,b,g){{var m=nt(e);if(!m){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=jt();k?p+=k:p+=Ae();var w;e===null?w="null":le(e)?w="array":e!==void 0&&e.$$typeof===o?(w="<"+(q(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,p)}var $=yt(e,r,n,b,g);if($==null)return $;if(m){var O=r.children;if(O!==void 0)if(l)if(le(O)){for(var M=0;M<O.length;M++)We(O[M],e);Object.freeze&&Object.freeze(O)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We(O,e)}if(V.call(r,"key")){var B=q(e),I=Object.keys(r).filter(function(Ot){return Ot!=="key"}),_e=I.length>0?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}";if(!Le[B+_e]){var It=I.length>0?"{"+I.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
10
- let props = %s;
11
- <%s {...props} />
12
- React keys must be passed directly to JSX without using spread:
13
- let props = %s;
14
- <%s key={someKey} {...props} />`,_e,B,It,B),Le[B+_e]=!0}}return e===i?$t($):Nt($),$}}function Et(e,r,n){return Me(e,r,n,!0)}function Rt(e,r,n){return Me(e,r,n,!1)}var kt=Rt,Tt=Et;G.Fragment=i,G.jsx=kt,G.jsxs=Tt})()),G}var ze;function Pt(){return ze||(ze=1,process.env.NODE_ENV==="production"?te.exports=Ct():te.exports=St()),te.exports}var t=Pt();const Ft="_section_1fboo_1",qt="_heading_1fboo_5",At="_trustLine_1fboo_9",Bt="_star_1fboo_13",Dt="_ratingNum_1fboo_17",Wt="_trustText_1fboo_21",Lt="_cardList_1fboo_25",Mt="_card_1fboo_25",Ut="_quote_1fboo_37",Yt="_author_1fboo_41",zt="_avatar_1fboo_45",Ht="_avatarPlaceholder_1fboo_49",Vt="_authorInfo_1fboo_54",Jt="_authorName_1fboo_58",Gt="_stars_1fboo_62",Kt="_readMoreWrap_1fboo_66",Xt="_toggleBtn_1fboo_70",Qt="_readMore_1fboo_66",Zt="_arrow_1fboo_89",er="_dot_1fboo_93",j={section:Ft,heading:qt,trustLine:At,star:Bt,ratingNum:Dt,trustText:Wt,cardList:Lt,card:Mt,quote:Ut,author:Yt,avatar:zt,avatarPlaceholder:Ht,authorInfo:Vt,authorName:Jt,stars:Gt,readMoreWrap:Kt,toggleBtn:Xt,readMore:Qt,arrow:Zt,dot:er},tr=3,He=15;function rr(a){const o=new Map;for(let c=1;c<=He;c+=1){const d=`feedbackTestimonial${c}`,h=a(d);if(!h||h===d)continue;const v=`feedbackAuthor${c}`,x=(()=>{const R=a(v);return R&&R!==v?R:a("guest")})(),y=`feedbackAuthor${c}AvatarUrl`,N=(()=>{const R=a(y);return R&&R!==y?R:void 0})();o.set(c,{quote:h,authorName:x,authorAvatarUrl:N,rating:5})}const s=[],i=[];for(let c=1;c<=He;c+=1)c>=9?i.push(c):s.push(c);const u=[];let _=0,f=0;for(;_<s.length||f<i.length;){if(f<i.length){const c=i[f++],d=o.get(c);d&&u.push(d)}if(_<s.length){const c=s[_++],d=o.get(c);d&&u.push(d)}}return u}function nr({t:a,testimonials:o,initialVisible:s=tr,readMoreHref:i,onReadMore:u,className:_="",headingClassName:f}){const c=o??F.useMemo(()=>rr(a),[a]),[d,h]=F.useState(!1),v=c.length>s,x=v&&!d?c.slice(0,s):c,y=a("feedbackTitle"),N=a("feedbackRating"),R=a("feedbackTrust"),z=a("readMoreReviews"),oe=a("readLess");return t.jsxs("section",{className:`${j.section} ${_}`,"aria-labelledby":"reviews-heading",children:[t.jsx("h2",{id:"reviews-heading",className:[j.heading,f].filter(Boolean).join(" "),children:y}),t.jsxs("p",{className:j.trustLine,children:[t.jsx("span",{className:j.star,"aria-hidden":!0,children:"★"}),t.jsx("span",{className:j.ratingNum,children:N}),t.jsx("span",{className:j.dot,"aria-hidden":!0}),t.jsx("span",{className:j.trustText,children:R})]}),t.jsx("ul",{className:j.cardList,children:x.map((T,E)=>t.jsxs("li",{className:j.card,children:[t.jsx("p",{className:j.quote,children:T.quote}),t.jsxs("div",{className:j.author,children:[T.authorAvatarUrl?t.jsx("img",{src:T.authorAvatarUrl,alt:"",className:j.avatar,width:40,height:40}):t.jsx("div",{className:j.avatarPlaceholder,"aria-hidden":!0}),t.jsxs("div",{className:j.authorInfo,children:[t.jsx("span",{className:j.authorName,children:T.authorName}),t.jsx("span",{className:j.stars,"aria-hidden":!0,children:"★".repeat(T.rating??5)})]})]})]},E))}),v&&t.jsx("div",{className:j.readMoreWrap,children:t.jsxs("button",{type:"button",className:j.toggleBtn,onClick:()=>h(T=>!T),"aria-expanded":d,children:[d?oe:z,t.jsx("span",{className:j.arrow,"aria-hidden":!0,children:"›"})]})}),(i||u)&&!v&&t.jsx("div",{className:j.readMoreWrap,children:i?t.jsxs("a",{href:i,className:j.readMore,target:"_blank",rel:"noopener noreferrer",children:[z,t.jsx("span",{className:j.arrow,"aria-hidden":!0,children:"›"})]}):t.jsxs("button",{type:"button",className:j.readMore,onClick:()=>u?.(),children:[z,t.jsx("span",{className:j.arrow,"aria-hidden":!0,children:"›"})]})})]})}const ar="_section_4dc65_1",or="_heading_4dc65_5",sr="_accordion_4dc65_9",ir="_item_4dc65_13",cr="_itemOpen_4dc65_17",lr="_question_4dc65_22",ur="_chevron_4dc65_30",dr="_chevronOpen_4dc65_34",fr="_answerWrap_4dc65_38",_r="_answerOpen_4dc65_42",pr="_answer_4dc65_38",C={section:ar,heading:or,accordion:sr,item:ir,itemOpen:cr,question:lr,chevron:ur,chevronOpen:dr,answerWrap:fr,answerOpen:_r,answer:pr};function hr({t:a,items:o,resolveAnswerKey:s,defaultOpenIndex:i=0,onItemOpen:u,className:_="",headingClassName:f}){const c=F.useMemo(()=>o.map(({qKey:x,aKey:y})=>({question:a(x),answer:a(s?s(y):y)})),[a,o,s]),[d,h]=F.useState(i),v=a("faqTitle");return t.jsxs("section",{className:`${C.section} ${_}`,"aria-labelledby":"faq-heading",children:[t.jsx("h2",{id:"faq-heading",className:[C.heading,f].filter(Boolean).join(" "),children:v}),t.jsx("div",{className:C.accordion,role:"list",children:c.map((x,y)=>{const N=d===y;return t.jsxs("div",{className:`${C.item} ${N?C.itemOpen:""}`,role:"listitem",children:[t.jsxs("button",{type:"button",className:C.question,onClick:()=>{const R=!N;h(N?-1:y),R&&u?.(x.question)},"aria-expanded":N,"aria-controls":`faq-answer-${y}`,id:`faq-question-${y}`,children:[t.jsx("span",{children:x.question}),t.jsx("span",{className:`${C.chevron} ${N?C.chevronOpen:""}`,"aria-hidden":!0,children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,focusable:"false",children:t.jsx("path",{d:"M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",fill:"currentColor"})})})]}),t.jsx("div",{id:`faq-answer-${y}`,role:"region","aria-labelledby":`faq-question-${y}`,className:`${C.answerWrap} ${N?C.answerOpen:""}`,hidden:!N,children:t.jsx("p",{className:C.answer,children:x.answer})})]},y)})})]})}const mr="_header_dbx4y_1",vr="_brand_dbx4y_7",br="_logo_dbx4y_11",gr="_logoImg_dbx4y_15",xr="_logoPlaceholder_dbx4y_21",yr="_brandText_dbx4y_29",jr="_brandName_dbx4y_33",wr="_rating_dbx4y_38",Nr="_langSlot_dbx4y_49",P={header:mr,brand:vr,logo:br,logoImg:gr,logoPlaceholder:xr,brandText:yr,brandName:jr,rating:wr,langSlot:Nr},Ve=120,Je=40;function $r({t:a,logoUrl:o,imageComponent:s,languageSelector:i,showLanguageSelector:u=!0,className:_=""}){const f=u&&i!=null,c=a("sriMandir"),d=a("ratingText");return t.jsxs("header",{className:`${P.header} ${_}`,children:[t.jsxs("div",{className:P.brand,children:[t.jsx("div",{className:P.logo,children:o?s?t.jsx(s,{src:o,alt:c,className:P.logoImg,width:Ve,height:Je}):t.jsx("img",{src:o,alt:c,className:P.logoImg,width:Ve,height:Je,decoding:"async"}):t.jsx("div",{className:P.logoPlaceholder,"aria-hidden":!0})}),t.jsxs("div",{className:P.brandText,children:[t.jsx("span",{className:P.brandName,children:c}),d!=null&&d!==""&&t.jsx("span",{className:P.rating,children:d})]})]}),f&&t.jsx("div",{className:P.langSlot,children:i})]})}const Er="_wrap_1vbpd_1",Rr="_card_1vbpd_5",kr="_cardInner_1vbpd_10",pe={wrap:Er,card:Rr,cardInner:kr};function Tr({children:a,className:o="","aria-label":s}){return t.jsx("section",{className:`${pe.wrap} ${o}`,"aria-label":s,children:t.jsx("div",{className:pe.card,children:t.jsx("div",{className:pe.cardInner,children:a})})})}const Ir="_header_a05ni_1",Or="_left_a05ni_7",Cr="_backBtn_a05ni_11",Sr="_titleWrap_a05ni_21",Pr="_title_a05ni_21",Fr="_subtitle_a05ni_31",qr="_backIcon_a05ni_37",D={header:Ir,left:Or,backBtn:Cr,titleWrap:Sr,title:Pr,subtitle:Fr,backIcon:qr},Ar=()=>t.jsx("svg",{className:D.backIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:t.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function Br({title:a,subtitle:o,onBack:s,backAriaLabel:i="Back",className:u=""}){return t.jsx("header",{className:`${D.header} ${u}`,children:t.jsxs("div",{className:D.left,children:[s!=null&&t.jsx("button",{type:"button",className:D.backBtn,onClick:s,"aria-label":i,children:t.jsx(Ar,{})}),t.jsxs("div",{className:D.titleWrap,children:[t.jsx("h1",{className:D.title,children:a}),o!=null&&o!==""&&t.jsx("p",{className:D.subtitle,children:o})]})]})})}const Dr="_banner_1jco0_1",Wr="_icon_1jco0_12",Lr="_text_1jco0_16",he={banner:Dr,icon:Wr,text:Lr},Mr="https://srm-cdn.a4b.io/yoda/1770707793537.svg";function Ur({text:a,iconUrl:o=Mr,className:s=""}){return t.jsx("div",{className:`${he.banner} ${s}`,role:"status",children:t.jsxs("span",{className:he.text,children:[" ",t.jsx("img",{src:o,alt:"",className:he.icon,width:18,height:18,"aria-hidden":!0})," ",a]})})}const Yr="_field_eqt7q_1",zr="_labelRow_eqt7q_5",Hr="_label_eqt7q_5",Vr="_req_eqt7q_14",Jr="_help_eqt7q_18",Gr="_infoBtn_eqt7q_22",Kr="_infoImg_eqt7q_30",Xr="_infoWrap_eqt7q_34",Qr="_tooltip_eqt7q_38",Zr="_tooltipArrow_eqt7q_45",en="_inputWrap_eqt7q_50",S={field:Yr,labelRow:zr,label:Hr,req:Vr,help:Jr,infoBtn:Gr,infoImg:Kr,infoWrap:Xr,tooltip:Qr,tooltipArrow:Zr,inputWrap:en},tn="https://srm-cdn.a4b.io/yoda/1770372066357.svg";function rn({label:a,id:o,required:s=!1,help:i,infoTooltip:u,infoAriaLabel:_="Info",infoIconUrl:f=tn,children:c,className:d=""}){const[h,v]=F.useState(!1);return F.useEffect(()=>{if(!u)return;const x=N=>{N.target?.closest?.("[data-info-tooltip]")==null&&v(!1)},y=N=>{N.key==="Escape"&&v(!1)};return document.addEventListener("mousedown",x),document.addEventListener("keydown",y),()=>{document.removeEventListener("mousedown",x),document.removeEventListener("keydown",y)}},[u]),t.jsxs("div",{className:`${S.field} ${d}`,children:[t.jsxs("div",{className:S.labelRow,children:[t.jsxs("label",{className:S.label,htmlFor:o,children:[a,s&&t.jsx("span",{className:S.req,children:"*"})]}),u!=null&&u!==""&&t.jsxs("div",{className:S.infoWrap,"data-info-tooltip":!0,children:[t.jsx("button",{type:"button",className:S.infoBtn,"aria-label":_,"aria-expanded":h,onClick:()=>v(x=>!x),children:t.jsx("img",{className:S.infoImg,src:f,alt:"","aria-hidden":!0})}),h&&t.jsxs("div",{className:S.tooltip,role:"tooltip",children:[u,t.jsx("span",{className:S.tooltipArrow,"aria-hidden":!0})]})]})]}),i!=null&&i!==""&&t.jsx("div",{className:S.help,children:i}),t.jsx("div",{className:S.inputWrap,children:c})]})}const nn="_wrap_1uy4o_1",an="_input_1uy4o_5",on="_iconBtn_1uy4o_21",sn="_iconBtnInteractive_1uy4o_25",cn="_iconImg_1uy4o_39",U={wrap:nn,input:an,iconBtn:on,iconBtnInteractive:sn,iconImg:cn};function ln({id:a,iconUrl:o,iconAlt:s="",iconInteractive:i=!1,onIconClick:u,className:_="",...f}){return t.jsxs("div",{className:`${U.wrap} ${_}`,children:[t.jsx("input",{...f,id:a,className:U.input,type:f.type??"text"}),o!=null&&t.jsx("button",{type:"button",className:i?`${U.iconBtn} ${U.iconBtnInteractive}`:U.iconBtn,"aria-label":s||void 0,onClick:i?u:void 0,tabIndex:i?0:-1,children:t.jsx("img",{className:U.iconImg,src:o,alt:"","aria-hidden":!0,width:22,height:22})})]})}const un="_wrap_t646o_1",dn="_input_t646o_5",fn="_iconBtn_t646o_28",_n="_iconImg_t646o_42",re={wrap:un,input:dn,iconBtn:fn,iconImg:_n},pn="https://srm-cdn.a4b.io/yoda/1770372045894.svg";function hn({id:a,value:o,onChange:s,onIconClick:i,className:u="",..._}){const f=F.useRef(null),c=F.useMemo(()=>{const h=new Date,v=x=>String(x).padStart(2,"0");return`${h.getFullYear()}-${v(h.getMonth()+1)}-${v(h.getDate())}`},[]),d=()=>{if(i){i();return}const h=f.current;h&&typeof h.showPicker=="function"?h.showPicker():h?.focus()};return t.jsxs("div",{className:`${re.wrap} ${u}`,children:[t.jsx("input",{..._,ref:f,id:a,type:"date",className:re.input,value:o,max:c,onChange:h=>s(h.target.value)}),t.jsx("button",{type:"button",className:`${re.iconBtn}`,"aria-label":"Open date picker",onMouseDown:h=>h.preventDefault(),onClick:h=>{h.preventDefault(),d()},children:t.jsx("img",{className:re.iconImg,src:pn,alt:"","aria-hidden":!0,width:22,height:22})})]})}const mn="_wrap_1jdg7_1",vn="_input_1jdg7_5",bn="_iconBtn_1jdg7_34",gn="_iconImg_1jdg7_48",ne={wrap:mn,input:vn,iconBtn:bn,iconImg:gn},xn="https://srm-cdn.a4b.io/yoda/1770372014782.svg";function yn({id:a,value:o,onChange:s,placeholder:i="HH:MM AM",disabled:u=!1,onIconClick:_,className:f=""}){return t.jsxs("div",{className:`${ne.wrap} ${f}`,children:[t.jsx("input",{id:a,type:"time",className:ne.input,value:o,onChange:c=>s(c.target.value),placeholder:i,disabled:u,onClick:()=>!u&&_?.()}),t.jsx("button",{type:"button",className:ne.iconBtn,"aria-label":"Open time picker",disabled:u,onClick:c=>{c.preventDefault(),u||_?.()},children:t.jsx("img",{className:ne.iconImg,src:xn,alt:"","aria-hidden":!0,width:22,height:22})})]})}const jn="_wrap_1bb6o_1",wn="_input_1bb6o_5",Nn="_iconBtn_1bb6o_21",$n="_iconImg_1bb6o_25",ae={wrap:jn,input:wn,iconBtn:Nn,iconImg:$n},En="https://srm-cdn.a4b.io/yoda/1770372031092.svg";function Rn({id:a,iconUrl:o=En,className:s="",...i}){return t.jsxs("div",{className:`${ae.wrap} ${s}`,children:[t.jsx("input",{...i,id:a,className:ae.input,type:"text"}),t.jsx("div",{className:ae.iconBtn,"aria-hidden":!0,children:t.jsx("img",{className:ae.iconImg,src:o,alt:"",width:22,height:22})})]})}const kn="_segmented_3sa9v_1",Tn="_segmentedOption_3sa9v_6",In="_active_3sa9v_15",me={segmented:kn,segmentedOption:Tn,active:In};function On({id:a,options:o,value:s,onChange:i,className:u=""}){return t.jsx("div",{className:`${me.segmented} ${u}`,role:"group","aria-labelledby":`${a}-label`,children:o.map(_=>t.jsx("button",{type:"button",id:_.value===s?a:void 0,className:`${me.segmentedOption} ${_.value===s?me.active:""}`,onClick:()=>i(_.value),children:_.label},_.value))})}const Cn="_pillsWrap_z1kui_1",Sn="_pill_z1kui_1",Pn="_selected_z1kui_17",ve={pillsWrap:Cn,pill:Sn,selected:Pn};function Fn({id:a,options:o,selected:s,onChange:i,className:u=""}){const _=f=>{s.includes(f)?i(s.filter(c=>c!==f)):i([...s,f])};return t.jsx("div",{className:`${ve.pillsWrap} ${u}`,role:"group","aria-labelledby":`${a}-label`,children:o.map(f=>t.jsx("button",{type:"button",className:`${ve.pill} ${s.includes(f.key)?ve.selected:""}`,onClick:()=>_(f.key),children:f.label},f.key))})}const qn="_wrapper_i6a5b_2",An="_checkboxRow_i6a5b_6",Bn="_checkbox_i6a5b_6",Dn="_checkboxText_i6a5b_31",Wn="_checkboxHelp_i6a5b_37",K={wrapper:qn,checkboxRow:An,checkbox:Bn,checkboxText:Dn,checkboxHelp:Wn};function Ln({id:a,checked:o,onChange:s,primaryText:i,helpText:u,className:_=""}){return t.jsxs("div",{className:`${K.wrapper} ${_}`,children:[t.jsxs("div",{className:K.checkboxRow,children:[t.jsx("input",{id:a,type:"checkbox",className:K.checkbox,checked:o,onChange:f=>s(f.target.checked)}),t.jsx("label",{htmlFor:a,className:K.checkboxText,children:i})]}),u!=null&&u!==""&&t.jsx("p",{className:K.checkboxHelp,children:u})]})}const Mn="_footerNote_laev3_1",Un={footerNote:Mn};function Yn({children:a,className:o=""}){return t.jsx("p",{className:`${Un.footerNote} ${o}`,children:a})}const zn="_footer_86zxt_1",Hn="_inner_86zxt_8",Vn="_badges_86zxt_12",Jn="_marqueeContent_86zxt_20",Gn="_badge_86zxt_12",Kn="_badgeIcon_86zxt_35",Xn="_ctaWrap_86zxt_39",Qn="_ctaStruck_86zxt_43",Zn="_ctaButton_86zxt_49",ea="_offerRow_86zxt_69",ta="_pill_86zxt_76",ra="_ctaStatic_86zxt_85",W={footer:zn,inner:Hn,badges:Vn,marqueeContent:Jn,badge:Gn,badgeIcon:Kn,ctaWrap:Xn,ctaStruck:Qn,ctaButton:Zn,offerRow:ea,pill:ta,ctaStatic:ra};function na({marquee:a,children:o,className:s=""}){return t.jsx("footer",{className:`${W.footer} ${s}`,role:"contentinfo",children:t.jsxs("div",{className:W.inner,children:[a!=null&&t.jsx("div",{className:W.badges,"aria-hidden":!0,children:a}),t.jsx("div",{className:W.ctaWrap,children:o})]})})}function aa({children:a,href:o,disabled:s=!1,onClick:i,static:u=!1,className:_="","aria-label":f}){const c=`${W.ctaButton} ${_}`.trim(),d=`${W.ctaStatic} ${_}`.trim(),h=f!=null?{"aria-label":f}:{};return u?t.jsx("div",{className:d,role:"presentation",children:a}):o!=null?t.jsx("a",{href:o,className:c,target:"_blank",rel:"noopener noreferrer","aria-disabled":s,onClick:v=>s&&v.preventDefault(),...h,children:a}):t.jsx("button",{type:"button",className:c,disabled:s,onClick:i,...h,children:a})}const oa="_wrapper_wxjzs_1",sa="_track_wxjzs_7",Ge={wrapper:oa,track:sa};function Ke({children:a,className:o=""}){return t.jsx("div",{className:`${Ge.wrapper} ${o}`,"aria-hidden":!0,children:t.jsxs("div",{className:Ge.track,children:[a,a]})})}const ia="_strip_2838b_1",ca={strip:ia};function la({children:a,className:o=""}){return t.jsx("div",{className:`${ca.strip} ${o}`,role:"region","aria-label":"Trust badges",children:t.jsx(Ke,{children:a})})}const ua="_section_8y3x9_1",da="_heading_8y3x9_6",fa="_content_8y3x9_11",_a="_line_8y3x9_16",pa="_brandName_8y3x9_20",Y={section:ua,heading:da,content:fa,line:_a,brandName:pa};function ha({title:a,brandName:o,whatsAppLine:s,emailLine:i,className:u=""}){return t.jsxs("section",{className:`${Y.section} ${u}`,"aria-labelledby":"contact-heading",children:[t.jsx("h2",{id:"contact-heading",className:Y.heading,children:a}),t.jsxs("div",{className:Y.content,children:[t.jsx("p",{className:Y.brandName,children:o}),t.jsx("p",{className:Y.line,children:s}),t.jsx("p",{className:Y.line,children:i})]})]})}exports.CircularMarquee=Ke;exports.ContactUsSection=ha;exports.FAQAccordion=hr;exports.FooterCTAButton=aa;exports.FooterShell=na;exports.FormCheckboxWithHelp=Ln;exports.FormContainer=Tr;exports.FormDateInput=hn;exports.FormField=rn;exports.FormFooterNote=Yn;exports.FormLocationInput=Rn;exports.FormSectionHeader=Br;exports.FormSegmentedControl=On;exports.FormTagPills=Fn;exports.FormTextInput=ln;exports.FormTimeInput=yn;exports.MarqueeStrip=la;exports.PageHeader=$r;exports.PrivacyBanner=Ur;exports.UserReviewsSection=nr;exports.footerShellStyles=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./styles.js");const e=require("react/jsx-runtime"),_=require("react"),Q=require("@srimandir/common"),nt="_section_1fboo_1",at="_heading_1fboo_5",ot="_trustLine_1fboo_9",st="_star_1fboo_13",rt="_ratingNum_1fboo_17",ct="_trustText_1fboo_21",it="_cardList_1fboo_25",lt="_card_1fboo_25",dt="_quote_1fboo_37",mt="_author_1fboo_41",_t="_avatar_1fboo_45",ut="_avatarPlaceholder_1fboo_49",ht="_authorInfo_1fboo_54",pt="_authorName_1fboo_58",gt="_stars_1fboo_62",bt="_readMoreWrap_1fboo_66",ft="_toggleBtn_1fboo_70",xt="_readMore_1fboo_66",Nt="_arrow_1fboo_89",jt="_dot_1fboo_93",N={section:nt,heading:at,trustLine:ot,star:st,ratingNum:rt,trustText:ct,cardList:it,card:lt,quote:dt,author:mt,avatar:_t,avatarPlaceholder:ut,authorInfo:ht,authorName:pt,stars:gt,readMoreWrap:bt,toggleBtn:ft,readMore:xt,arrow:Nt,dot:jt},vt=3,$e=15;function wt(t){const n=new Map;for(let i=1;i<=$e;i+=1){const h=`feedbackTestimonial${i}`,u=t(h);if(!u||u===h)continue;const f=`feedbackAuthor${i}`,m=(()=>{const j=t(f);return j&&j!==f?j:t("guest")})(),g=`feedbackAuthor${i}AvatarUrl`,b=(()=>{const j=t(g);return j&&j!==g?j:void 0})();n.set(i,{quote:u,authorName:m,authorAvatarUrl:b,rating:5})}const a=[],s=[];for(let i=1;i<=$e;i+=1)i>=9?s.push(i):a.push(i);const r=[];let c=0,l=0;for(;c<a.length||l<s.length;){if(l<s.length){const i=s[l++],h=n.get(i);h&&r.push(h)}if(c<a.length){const i=a[c++],h=n.get(i);h&&r.push(h)}}return r}function yt({t,testimonials:n,initialVisible:a=vt,readMoreHref:s,onReadMore:r,className:c="",headingClassName:l}){const i=n??_.useMemo(()=>wt(t),[t]),[h,u]=_.useState(!1),f=i.length>a,m=f&&!h?i.slice(0,a):i,g=t("feedbackTitle"),b=t("feedbackRating"),j=t("feedbackTrust"),P=t("readMoreReviews"),w=t("readLess");return e.jsxs("section",{className:`${N.section} ${c}`,"aria-labelledby":"reviews-heading",children:[e.jsx("h2",{id:"reviews-heading",className:[N.heading,l].filter(Boolean).join(" "),children:g}),e.jsxs("p",{className:N.trustLine,children:[e.jsx("span",{className:N.star,"aria-hidden":!0,children:"★"}),e.jsx("span",{className:N.ratingNum,children:b}),e.jsx("span",{className:N.dot,"aria-hidden":!0}),e.jsx("span",{className:N.trustText,children:j})]}),e.jsx("ul",{className:N.cardList,children:m.map((k,M)=>e.jsxs("li",{className:N.card,children:[e.jsx("p",{className:N.quote,children:k.quote}),e.jsxs("div",{className:N.author,children:[k.authorAvatarUrl?e.jsx("img",{src:k.authorAvatarUrl,alt:"",className:N.avatar,width:40,height:40}):e.jsx("div",{className:N.avatarPlaceholder,"aria-hidden":!0}),e.jsxs("div",{className:N.authorInfo,children:[e.jsx("span",{className:N.authorName,children:k.authorName}),e.jsx("span",{className:N.stars,"aria-hidden":!0,children:"★".repeat(k.rating??5)})]})]})]},M))}),f&&e.jsx("div",{className:N.readMoreWrap,children:e.jsxs("button",{type:"button",className:N.toggleBtn,onClick:()=>u(k=>!k),"aria-expanded":h,children:[h?w:P,e.jsx("span",{className:N.arrow,"aria-hidden":!0,children:"›"})]})}),(s||r)&&!f&&e.jsx("div",{className:N.readMoreWrap,children:s?e.jsxs("a",{href:s,className:N.readMore,target:"_blank",rel:"noopener noreferrer",children:[P,e.jsx("span",{className:N.arrow,"aria-hidden":!0,children:"›"})]}):e.jsxs("button",{type:"button",className:N.readMore,onClick:()=>r?.(),children:[P,e.jsx("span",{className:N.arrow,"aria-hidden":!0,children:"›"})]})})]})}const St="_section_4dc65_1",kt="_heading_4dc65_5",It="_accordion_4dc65_9",Tt="_item_4dc65_13",$t="_itemOpen_4dc65_17",Ct="_question_4dc65_22",Lt="_chevron_4dc65_30",Dt="_chevronOpen_4dc65_34",Mt="_answerWrap_4dc65_38",Bt="_answerOpen_4dc65_42",Rt="_answer_4dc65_38",L={section:St,heading:kt,accordion:It,item:Tt,itemOpen:$t,question:Ct,chevron:Lt,chevronOpen:Dt,answerWrap:Mt,answerOpen:Bt,answer:Rt};function Pt({t,items:n,resolveAnswerKey:a,defaultOpenIndex:s=0,onItemOpen:r,className:c="",headingClassName:l}){const i=_.useMemo(()=>n.map(({qKey:m,aKey:g})=>({question:t(m),answer:t(a?a(g):g)})),[t,n,a]),[h,u]=_.useState(s),f=t("faqTitle");return e.jsxs("section",{className:`${L.section} ${c}`,"aria-labelledby":"faq-heading",children:[e.jsx("h2",{id:"faq-heading",className:[L.heading,l].filter(Boolean).join(" "),children:f}),e.jsx("div",{className:L.accordion,role:"list",children:i.map((m,g)=>{const b=h===g;return e.jsxs("div",{className:`${L.item} ${b?L.itemOpen:""}`,role:"listitem",children:[e.jsxs("button",{type:"button",className:L.question,onClick:()=>{const j=!b;u(b?-1:g),j&&r?.(m.question)},"aria-expanded":b,"aria-controls":`faq-answer-${g}`,id:`faq-question-${g}`,children:[e.jsx("span",{children:m.question}),e.jsx("span",{className:`${L.chevron} ${b?L.chevronOpen:""}`,"aria-hidden":!0,children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",fill:"currentColor"})})})]}),e.jsx("div",{id:`faq-answer-${g}`,role:"region","aria-labelledby":`faq-question-${g}`,className:`${L.answerWrap} ${b?L.answerOpen:""}`,hidden:!b,children:e.jsx("p",{className:L.answer,children:m.answer})})]},g)})})]})}const At="_header_dbx4y_1",Ot="_brand_dbx4y_7",Et="_logo_dbx4y_11",Ft="_logoImg_dbx4y_15",qt="_logoPlaceholder_dbx4y_21",Wt="_brandText_dbx4y_29",Ht="_brandName_dbx4y_33",zt="_rating_dbx4y_38",Ut="_langSlot_dbx4y_49",R={header:At,brand:Ot,logo:Et,logoImg:Ft,logoPlaceholder:qt,brandText:Wt,brandName:Ht,rating:zt,langSlot:Ut},Ce=120,Le=40;function Kt({t,logoUrl:n,imageComponent:a,languageSelector:s,showLanguageSelector:r=!0,className:c=""}){const l=r&&s!=null,i=t("sriMandir"),h=t("ratingText");return e.jsxs("header",{className:`${R.header} ${c}`,children:[e.jsxs("div",{className:R.brand,children:[e.jsx("div",{className:R.logo,children:n?a?e.jsx(a,{src:n,alt:i,className:R.logoImg,width:Ce,height:Le}):e.jsx("img",{src:n,alt:i,className:R.logoImg,width:Ce,height:Le,decoding:"async"}):e.jsx("div",{className:R.logoPlaceholder,"aria-hidden":!0})}),e.jsxs("div",{className:R.brandText,children:[e.jsx("span",{className:R.brandName,children:i}),h!=null&&h!==""&&e.jsx("span",{className:R.rating,children:h})]})]}),l&&e.jsx("div",{className:R.langSlot,children:s})]})}const Gt="_wrap_1vbpd_1",Yt="_card_1vbpd_5",Jt="_cardInner_1vbpd_10",ge={wrap:Gt,card:Yt,cardInner:Jt};function Zt({children:t,className:n="","aria-label":a}){return e.jsx("section",{className:`${ge.wrap} ${n}`,"aria-label":a,children:e.jsx("div",{className:ge.card,children:e.jsx("div",{className:ge.cardInner,children:t})})})}const Qt="_header_a05ni_1",Xt="_left_a05ni_7",Vt="_backBtn_a05ni_11",en="_titleWrap_a05ni_21",tn="_title_a05ni_21",nn="_subtitle_a05ni_31",an="_backIcon_a05ni_37",z={header:Qt,left:Xt,backBtn:Vt,titleWrap:en,title:tn,subtitle:nn,backIcon:an},on=()=>e.jsx("svg",{className:z.backIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function sn({title:t,subtitle:n,onBack:a,backAriaLabel:s="Back",className:r=""}){return e.jsx("header",{className:`${z.header} ${r}`,children:e.jsxs("div",{className:z.left,children:[a!=null&&e.jsx("button",{type:"button",className:z.backBtn,onClick:a,"aria-label":s,children:e.jsx(on,{})}),e.jsxs("div",{className:z.titleWrap,children:[e.jsx("h1",{className:z.title,children:t}),n!=null&&n!==""&&e.jsx("p",{className:z.subtitle,children:n})]})]})})}const rn="_banner_1jco0_1",cn="_icon_1jco0_12",ln="_text_1jco0_16",be={banner:rn,icon:cn,text:ln},dn="https://srm-cdn.a4b.io/yoda/1770707793537.svg";function mn({text:t,iconUrl:n=dn,className:a=""}){return e.jsx("div",{className:`${be.banner} ${a}`,role:"status",children:e.jsxs("span",{className:be.text,children:[" ",e.jsx("img",{src:n,alt:"",className:be.icon,width:18,height:18,"aria-hidden":!0})," ",t]})})}const _n="_field_eqt7q_1",un="_labelRow_eqt7q_5",hn="_label_eqt7q_5",pn="_req_eqt7q_14",gn="_help_eqt7q_18",bn="_infoBtn_eqt7q_22",fn="_infoImg_eqt7q_30",xn="_infoWrap_eqt7q_34",Nn="_tooltip_eqt7q_38",jn="_tooltipArrow_eqt7q_45",vn="_inputWrap_eqt7q_50",D={field:_n,labelRow:un,label:hn,req:pn,help:gn,infoBtn:bn,infoImg:fn,infoWrap:xn,tooltip:Nn,tooltipArrow:jn,inputWrap:vn},wn="https://srm-cdn.a4b.io/yoda/1770372066357.svg";function yn({label:t,id:n,required:a=!1,help:s,infoTooltip:r,infoAriaLabel:c="Info",infoIconUrl:l=wn,children:i,className:h=""}){const[u,f]=_.useState(!1);return _.useEffect(()=>{if(!r)return;const m=b=>{b.target?.closest?.("[data-info-tooltip]")==null&&f(!1)},g=b=>{b.key==="Escape"&&f(!1)};return document.addEventListener("mousedown",m),document.addEventListener("keydown",g),()=>{document.removeEventListener("mousedown",m),document.removeEventListener("keydown",g)}},[r]),e.jsxs("div",{className:`${D.field} ${h}`,children:[e.jsxs("div",{className:D.labelRow,children:[e.jsxs("label",{className:D.label,htmlFor:n,children:[t,a&&e.jsx("span",{className:D.req,children:"*"})]}),r!=null&&r!==""&&e.jsxs("div",{className:D.infoWrap,"data-info-tooltip":!0,children:[e.jsx("button",{type:"button",className:D.infoBtn,"aria-label":c,"aria-expanded":u,onClick:()=>f(m=>!m),children:e.jsx("img",{className:D.infoImg,src:l,alt:"","aria-hidden":!0})}),u&&e.jsxs("div",{className:D.tooltip,role:"tooltip",children:[r,e.jsx("span",{className:D.tooltipArrow,"aria-hidden":!0})]})]})]}),s!=null&&s!==""&&e.jsx("div",{className:D.help,children:s}),e.jsx("div",{className:D.inputWrap,children:i})]})}const Sn="_wrap_1uy4o_1",kn="_input_1uy4o_5",In="_iconBtn_1uy4o_21",Tn="_iconBtnInteractive_1uy4o_25",$n="_iconImg_1uy4o_39",J={wrap:Sn,input:kn,iconBtn:In,iconBtnInteractive:Tn,iconImg:$n};function Cn({id:t,iconUrl:n,iconAlt:a="",iconInteractive:s=!1,onIconClick:r,className:c="",...l}){return e.jsxs("div",{className:`${J.wrap} ${c}`,children:[e.jsx("input",{...l,id:t,className:J.input,type:l.type??"text"}),n!=null&&e.jsx("button",{type:"button",className:s?`${J.iconBtn} ${J.iconBtnInteractive}`:J.iconBtn,"aria-label":a||void 0,onClick:s?r:void 0,tabIndex:s?0:-1,children:e.jsx("img",{className:J.iconImg,src:n,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Ln="_wrap_t646o_1",Dn="_input_t646o_5",Mn="_iconBtn_t646o_28",Bn="_iconImg_t646o_42",re={wrap:Ln,input:Dn,iconBtn:Mn,iconImg:Bn},Rn="https://srm-cdn.a4b.io/yoda/1770372045894.svg";function Pn({id:t,value:n,onChange:a,onIconClick:s,className:r="",...c}){const l=_.useRef(null),i=_.useMemo(()=>{const u=new Date,f=m=>String(m).padStart(2,"0");return`${u.getFullYear()}-${f(u.getMonth()+1)}-${f(u.getDate())}`},[]),h=()=>{if(s){s();return}const u=l.current;u&&typeof u.showPicker=="function"?u.showPicker():u?.focus()};return e.jsxs("div",{className:`${re.wrap} ${r}`,children:[e.jsx("input",{...c,ref:l,id:t,type:"date",className:re.input,value:n,max:i,onChange:u=>a(u.target.value)}),e.jsx("button",{type:"button",className:`${re.iconBtn}`,"aria-label":"Open date picker",onMouseDown:u=>u.preventDefault(),onClick:u=>{u.preventDefault(),h()},children:e.jsx("img",{className:re.iconImg,src:Rn,alt:"","aria-hidden":!0,width:22,height:22})})]})}const An="_wrap_1jdg7_1",On="_input_1jdg7_5",En="_iconBtn_1jdg7_34",Fn="_iconImg_1jdg7_48",ce={wrap:An,input:On,iconBtn:En,iconImg:Fn},qn="https://srm-cdn.a4b.io/yoda/1770372014782.svg";function Wn({id:t,value:n,onChange:a,placeholder:s="HH:MM AM",disabled:r=!1,onIconClick:c,className:l=""}){return e.jsxs("div",{className:`${ce.wrap} ${l}`,children:[e.jsx("input",{id:t,type:"time",className:ce.input,value:n,onChange:i=>a(i.target.value),placeholder:s,disabled:r,onClick:()=>!r&&c?.()}),e.jsx("button",{type:"button",className:ce.iconBtn,"aria-label":"Open time picker",disabled:r,onClick:i=>{i.preventDefault(),r||c?.()},children:e.jsx("img",{className:ce.iconImg,src:qn,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Hn="_wrap_1bb6o_1",zn="_input_1bb6o_5",Un="_iconBtn_1bb6o_21",Kn="_iconImg_1bb6o_25",ie={wrap:Hn,input:zn,iconBtn:Un,iconImg:Kn},Gn="https://srm-cdn.a4b.io/yoda/1770372031092.svg";function Yn({id:t,iconUrl:n=Gn,className:a="",...s}){return e.jsxs("div",{className:`${ie.wrap} ${a}`,children:[e.jsx("input",{...s,id:t,className:ie.input,type:"text"}),e.jsx("div",{className:ie.iconBtn,"aria-hidden":!0,children:e.jsx("img",{className:ie.iconImg,src:n,alt:"",width:22,height:22})})]})}const Jn="_segmented_3sa9v_1",Zn="_segmentedOption_3sa9v_6",Qn="_active_3sa9v_15",fe={segmented:Jn,segmentedOption:Zn,active:Qn};function Xn({id:t,options:n,value:a,onChange:s,className:r=""}){return e.jsx("div",{className:`${fe.segmented} ${r}`,role:"group","aria-labelledby":`${t}-label`,children:n.map(c=>e.jsx("button",{type:"button",id:c.value===a?t:void 0,className:`${fe.segmentedOption} ${c.value===a?fe.active:""}`,onClick:()=>s(c.value),children:c.label},c.value))})}const Vn="_pillsWrap_z1kui_1",ea="_pill_z1kui_1",ta="_selected_z1kui_17",xe={pillsWrap:Vn,pill:ea,selected:ta};function na({id:t,options:n,selected:a,onChange:s,className:r=""}){const c=l=>{a.includes(l)?s(a.filter(i=>i!==l)):s([...a,l])};return e.jsx("div",{className:`${xe.pillsWrap} ${r}`,role:"group","aria-labelledby":`${t}-label`,children:n.map(l=>e.jsx("button",{type:"button",className:`${xe.pill} ${a.includes(l.key)?xe.selected:""}`,onClick:()=>c(l.key),children:l.label},l.key))})}const aa="_wrapper_i6a5b_2",oa="_checkboxRow_i6a5b_6",sa="_checkbox_i6a5b_6",ra="_checkboxText_i6a5b_31",ca="_checkboxHelp_i6a5b_37",ee={wrapper:aa,checkboxRow:oa,checkbox:sa,checkboxText:ra,checkboxHelp:ca};function ia({id:t,checked:n,onChange:a,primaryText:s,helpText:r,className:c=""}){return e.jsxs("div",{className:`${ee.wrapper} ${c}`,children:[e.jsxs("div",{className:ee.checkboxRow,children:[e.jsx("input",{id:t,type:"checkbox",className:ee.checkbox,checked:n,onChange:l=>a(l.target.checked)}),e.jsx("label",{htmlFor:t,className:ee.checkboxText,children:s})]}),r!=null&&r!==""&&e.jsx("p",{className:ee.checkboxHelp,children:r})]})}const la="_footerNote_laev3_1",da={footerNote:la};function ma({children:t,className:n=""}){return e.jsx("p",{className:`${da.footerNote} ${n}`,children:t})}const _a="_footer_86zxt_1",ua="_inner_86zxt_8",ha="_badges_86zxt_12",pa="_marqueeContent_86zxt_20",ga="_badge_86zxt_12",ba="_badgeIcon_86zxt_35",fa="_ctaWrap_86zxt_39",xa="_ctaStruck_86zxt_43",Na="_ctaButton_86zxt_49",ja="_offerRow_86zxt_69",va="_pill_86zxt_76",wa="_ctaStatic_86zxt_85",U={footer:_a,inner:ua,badges:ha,marqueeContent:pa,badge:ga,badgeIcon:ba,ctaWrap:fa,ctaStruck:xa,ctaButton:Na,offerRow:ja,pill:va,ctaStatic:wa};function ya({marquee:t,children:n,className:a=""}){return e.jsx("footer",{className:`${U.footer} ${a}`,role:"contentinfo",children:e.jsxs("div",{className:U.inner,children:[t!=null&&e.jsx("div",{className:U.badges,"aria-hidden":!0,children:t}),e.jsx("div",{className:U.ctaWrap,children:n})]})})}function Sa({children:t,href:n,disabled:a=!1,onClick:s,static:r=!1,className:c="","aria-label":l}){const i=`${U.ctaButton} ${c}`.trim(),h=`${U.ctaStatic} ${c}`.trim(),u=l!=null?{"aria-label":l}:{};return r?e.jsx("div",{className:h,role:"presentation",children:t}):n!=null?e.jsx("a",{href:n,className:i,target:"_blank",rel:"noopener noreferrer","aria-disabled":a,onClick:f=>a&&f.preventDefault(),...u,children:t}):e.jsx("button",{type:"button",className:i,disabled:a,onClick:s,...u,children:t})}const ka="_wrapper_wxjzs_1",Ia="_track_wxjzs_7",De={wrapper:ka,track:Ia};function Pe({children:t,className:n=""}){return e.jsx("div",{className:`${De.wrapper} ${n}`,"aria-hidden":!0,children:e.jsxs("div",{className:De.track,children:[t,t]})})}const Ta="_strip_2838b_1",$a={strip:Ta};function Ca({children:t,className:n=""}){return e.jsx("div",{className:`${$a.strip} ${n}`,role:"region","aria-label":"Trust badges",children:e.jsx(Pe,{children:t})})}const La="_section_8y3x9_1",Da="_heading_8y3x9_6",Ma="_content_8y3x9_11",Ba="_line_8y3x9_16",Ra="_brandName_8y3x9_20",Z={section:La,heading:Da,content:Ma,line:Ba,brandName:Ra};function Pa({title:t,brandName:n,whatsAppLine:a,emailLine:s,className:r=""}){return e.jsxs("section",{className:`${Z.section} ${r}`,"aria-labelledby":"contact-heading",children:[e.jsx("h2",{id:"contact-heading",className:Z.heading,children:t}),e.jsxs("div",{className:Z.content,children:[e.jsx("p",{className:Z.brandName,children:n}),e.jsx("p",{className:Z.line,children:a}),e.jsx("p",{className:Z.line,children:s})]})]})}const Ae=t=>{const n=t.match(/T(\d{2}):(\d{2})/);if(!n)return t;const a=Number(n[1]),s=n[2],r=a>=12?"PM":"AM";return`${a%12||12}:${s} ${r}`},Oe=(t,n=new Date)=>{const a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=new Date(`${t}T00:00:00`);if(Number.isNaN(s.getTime()))return{id:t,dayLabel:t,dayNum:""};const r=i=>new Date(i.getFullYear(),i.getMonth(),i.getDate()).getTime(),c=Math.round((r(s)-r(n))/(1e3*60*60*24)),l=c===0?"Today":c===1?"Tomorrow":a[s.getDay()];return{id:t,dayLabel:l,dayNum:String(s.getDate())}},Ee=["morning","afternoon","evening"],Fe=[{code:"en",labelKey:"formReportLanguageEnglish",label:"English"},{code:"hi",labelKey:"formReportLanguageHindi",label:"Hindi"},{code:"te",labelKey:"formReportLanguageTelugu",label:"Telugu"},{code:"kn",labelKey:"formReportLanguageKannada",label:"Kannada"},{code:"gu",labelKey:"formReportLanguageGujarati",label:"Gujarati"},{code:"mr",labelKey:"formReportLanguageMarathi",label:"Marathi"},{code:"ta",labelKey:"formReportLanguageTamil",label:"Tamil"}],Aa=()=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.5 8.5l2.5 2.5 6-6",stroke:"#22c55e",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),Oa=()=>e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:e.jsx("path",{d:"M6 9l6 6 6-6"})}),Ea=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316603029.svg",width:16,height:16,alt:"","aria-hidden":!0}),Fa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316621747.svg",width:16,height:16,alt:"","aria-hidden":!0}),qa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316635953.svg",width:16,height:16,alt:"","aria-hidden":!0}),Wa=()=>e.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[e.jsx("rect",{x:"3",y:"4.5",width:"18",height:"16",rx:"3",stroke:"#D1D5DB",strokeWidth:"1.6"}),e.jsx("path",{d:"M3 9.5h18",stroke:"#D1D5DB",strokeWidth:"1.6"}),e.jsx("path",{d:"M8 2.5v4M16 2.5v4",stroke:"#D1D5DB",strokeWidth:"1.6",strokeLinecap:"round"}),e.jsx("path",{d:"M7.5 20.5L17 6",stroke:"#9CA3AF",strokeWidth:"1.6",strokeLinecap:"round"})]}),Ha="_section_1ltqn_2",za="_headerRow_1ltqn_10",Ua="_title_1ltqn_18",Ka="_changeBtn_1ltqn_24",Ga="_numberRow_1ltqn_35",Ya="_countryCode_1ltqn_44",Ja="_number_1ltqn_35",Za="_helper_1ltqn_59",q={section:Ha,headerRow:za,title:Ua,changeBtn:Ka,numberRow:Ga,countryCode:Ya,number:Ja,helper:Za},qe=({title:t,countryCode:n="+91",phoneNumber:a="98765 43210",helperText:s,onEdit:r,t:c,className:l=""})=>e.jsxs("section",{className:[q.section,l].filter(Boolean).join(" "),children:[e.jsxs("div",{className:q.headerRow,children:[e.jsx("span",{className:q.title,children:t??c?.("planPhoneNumberHeading")??"Your phone number"}),r&&e.jsx("button",{type:"button",className:q.changeBtn,onClick:r,children:c?.("planPhoneNumberChange")??"Change"})]}),e.jsxs("div",{className:q.numberRow,children:[e.jsx("span",{className:q.countryCode,children:n}),e.jsx("span",{className:q.number,children:a})]}),e.jsx("p",{className:q.helper,children:s??c?.("planPhoneNumberHelper")??"The astrologer will call you on this number at your booked slot."})]}),Qa="_section_12hk9_2",Xa="_title_12hk9_6",Va="_profileRow_12hk9_13",eo="_profileCard_12hk9_26",to="_profileCardSelected_12hk9_47",no="_profileTop_12hk9_52",ao="_avatar_12hk9_60",oo="_profileName_12hk9_74",so="_relationPill_12hk9_84",ro="_profileMeta_12hk9_98",co="_addCard_12hk9_108",io="_addIcon_12hk9_127",I={section:Qa,title:Xa,profileRow:Va,profileCard:eo,profileCardSelected:to,profileTop:no,avatar:ao,profileName:oo,relationPill:so,profileMeta:ro,addCard:co,addIcon:io},lo=[{id:"self",name:"Aarav Sharma",birthDetails:"12 Mar 1994 • 06:45 AM",birthPlace:"Bengaluru, India",relation:"Self"},{id:"spouse",name:"Diya Sharma",birthDetails:"04 Sep 1996 • 11:20 PM",birthPlace:"Pune, India",relation:"Spouse"}],We=({title:t,profiles:n=lo,selectedProfileId:a,onProfileSelect:s,onAddProfile:r,t:c,className:l=""})=>{const[i,h]=_.useState(n[0]?.id??""),u=a??i,f=m=>{h(m),s?.(m)};return e.jsxs("section",{className:[I.section,l].filter(Boolean).join(" "),children:[e.jsx("p",{className:I.title,children:t??c?.("planAstrologyProfilesHeading")??"Astrology profile"}),e.jsxs("div",{className:I.profileRow,role:"radiogroup","aria-label":"Astrology profile",children:[n.map(m=>{const g=m.id===u;return e.jsxs("button",{type:"button",role:"radio","aria-checked":g,className:[I.profileCard,g?I.profileCardSelected:""].filter(Boolean).join(" "),onClick:()=>f(m.id),children:[e.jsxs("span",{className:I.profileTop,children:[e.jsx("span",{className:I.avatar,"aria-hidden":!0,children:m.name.charAt(0).toUpperCase()}),e.jsx("span",{className:I.profileName,children:m.name})]}),m.relation&&e.jsx("span",{className:I.relationPill,children:m.relation}),m.birthDetails&&e.jsx("span",{className:I.profileMeta,children:m.birthDetails}),m.birthPlace&&e.jsx("span",{className:I.profileMeta,children:m.birthPlace})]},m.id)}),r&&e.jsxs("button",{type:"button",className:I.addCard,onClick:r,children:[e.jsx("span",{className:I.addIcon,"aria-hidden":!0,children:"+"}),c?.("planAddAstrologyProfile")??"Add profile"]})]})]})},mo="_root_fo16p_6",_o="_languageRow_fo16p_19",uo="_languageLabel_fo16p_27",ho="_languageDropdown_fo16p_33",po="_languageDropdownBtn_fo16p_37",go="_languageMenu_fo16p_52",bo="_languageMenuItem_fo16p_69",fo="_languageMenuItemSelected_fo16p_83",xo="_languageDivider_fo16p_89",No="_sectionHeadingRow_fo16p_96",jo="_sectionHeading_fo16p_96",vo="_timezoneLabel_fo16p_111",wo="_reportReadyBanner_fo16p_120",yo="_reportReadyDuration_fo16p_129",So="_dateTabs_fo16p_135",ko="_dateTabIndicator_fo16p_147",Io="_dateTab_fo16p_135",To="_dateTabDivider_fo16p_181",$o="_dateTabSelected_fo16p_191",Co="_dateTabLabel_fo16p_196",Lo="_dateTabNum_fo16p_203",Do="_periodTabs_fo16p_217",Mo="_periodTabIndicator_fo16p_145",Bo="_periodTab_fo16p_145",Ro="_periodTabSelected_fo16p_264",Po="_timeGrid_fo16p_269",Ao="_emptyState_fo16p_296",Oo="_timeSlot_fo16p_300",Eo="_timeSlotSelected_fo16p_316",Fo="_timeSlotDisabled_fo16p_324",qo="_stateMessage_fo16p_335",Wo="_retryBtn_fo16p_342",Ho="_emptyStateIcon_fo16p_368",zo="_emptyStateTitle_fo16p_379",Uo="_emptyStateSubtitle_fo16p_386",Ko="_loadingWrap_fo16p_395",Go="_skeletonShimmer_fo16p_400",Yo="_skeletonDateTabs_fo16p_414",Jo="_skeletonDateTab_fo16p_414",Zo="_skeletonPeriodTabs_fo16p_428",Qo="_skeletonPeriodTab_fo16p_428",Xo="_skeletonTimeGrid_fo16p_443",Vo="_skeletonTimeSlot_fo16p_449",d={root:mo,languageRow:_o,languageLabel:uo,languageDropdown:ho,languageDropdownBtn:po,languageMenu:go,languageMenuItem:bo,languageMenuItemSelected:fo,languageDivider:xo,sectionHeadingRow:No,sectionHeading:jo,timezoneLabel:vo,reportReadyBanner:wo,reportReadyDuration:yo,dateTabs:So,dateTabIndicator:ko,dateTab:Io,dateTabDivider:To,dateTabSelected:$o,dateTabLabel:Co,dateTabNum:Lo,periodTabs:Do,periodTabIndicator:Mo,periodTab:Bo,periodTabSelected:Ro,timeGrid:Po,emptyState:Ao,timeSlot:Oo,timeSlotSelected:Eo,timeSlotDisabled:Fo,stateMessage:qo,retryBtn:Wo,emptyStateIcon:Ho,emptyStateTitle:zo,emptyStateSubtitle:Uo,loadingWrap:Ko,skeletonShimmer:Go,skeletonDateTabs:Yo,skeletonDateTab:Jo,skeletonPeriodTabs:Zo,skeletonPeriodTab:Qo,skeletonTimeGrid:Xo,skeletonTimeSlot:Vo},es={morning:Ea,afternoon:Fa,evening:qa},ts={morning:"planPeriodMorning",afternoon:"planPeriodAfternoon",evening:"planPeriodEvening"},W=(...t)=>t.filter(Boolean).join(" "),ns=({days:t,loading:n=!1,error:a=!1,onRetry:s,selectedDate:r,onDateSelect:c,selectedPeriod:l,onPeriodSelect:i,selectedSlotStart:h,onSlotSelect:u,hideLanguageSelector:f=!1,languageOptions:m=Fe,selectedLanguage:g,onLanguageSelect:b,showPhoneNumberSection:j=!0,phoneNumberSection:P,showAstrologyProfilesSection:w=!0,astrologyProfilesSection:k,heading:M,timezoneLabel:K,languageLabel:G,reportReadyNote:Y,isGlobal:X=!0,t:v,className:de=""})=>{const T=_.useMemo(()=>t.filter(o=>o.has_availability&&o.slots.length>0),[t]),[ae,me]=_.useState(""),O=_.useMemo(()=>{const o=r??ae;return T.some(p=>p.date===o)?o:T[0]?.date??""},[r,ae,T]),A=_.useMemo(()=>T.find(o=>o.date===O)??null,[T,O]),E=_.useMemo(()=>{if(!A)return[];const o=new Set(A.slots.map(p=>p.period));return Ee.filter(p=>o.has(p))},[A]),[x,H]=_.useState(""),B=_.useMemo(()=>{const o=l??x;return o&&E.includes(o)?o:E[0]??"morning"},[l,x,E]),oe=_.useMemo(()=>A?A.slots.filter(o=>o.period===B):[],[A,B]),[Ne,Je]=_.useState(""),je=_.useMemo(()=>{if(h===null)return"";const o=h??Ne;return oe.some(p=>p.start===o)?o:oe[0]?.start??""},[h,Ne,oe]),[Ze,Qe]=_.useState(()=>m[0]?.code??"en"),ve=g??Ze,_e=m.find(o=>o.code===ve)??m[0],[se,ue]=_.useState(!1),he=_.useRef(null);_.useEffect(()=>{if(!se)return;const o=p=>{he.current&&!he.current.contains(p.target)&&ue(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[se]);const we=_.useRef(null),ye=_.useRef({}),[V,Se]=_.useState(null),ke=_.useRef(null),Ie=_.useRef({}),[pe,Te]=_.useState(null);_.useEffect(()=>{const o=()=>{const p=we.current,$=ye.current[O];if(!p||!$){Se(null);return}const F=p.getBoundingClientRect(),C=$.getBoundingClientRect();Se({left:C.left-F.left,top:C.top-F.top,width:C.width,height:C.height})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[O,T,n,a]),_.useEffect(()=>{const o=()=>{const p=ke.current,$=Ie.current[B];if(!p||!$){Te(null);return}const F=p.getBoundingClientRect(),C=$.getBoundingClientRect();Te({left:C.left-F.left,width:C.width})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[B,E,n,a]);const Xe=o=>{me(o),c?.(o)},Ve=o=>{H(o),i?.(o)},et=o=>{Je(o.start),u?.(o)},tt=o=>{Qe(o),ue(!1),b?.(o)};return e.jsxs("div",{className:W(d.root,de),children:[j&&(P??e.jsx(qe,{t:v})),w&&(k??e.jsx(We,{t:v})),!f&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:d.languageRow,children:[e.jsx("span",{className:d.languageLabel,children:G??v?.("planConsultationLanguageLabel")??"Your consultation language"}),e.jsxs("div",{className:d.languageDropdown,ref:he,children:[e.jsxs("button",{type:"button",className:d.languageDropdownBtn,onClick:()=>ue(o=>!o),"aria-haspopup":"listbox","aria-expanded":se,children:[(_e?.labelKey&&v?.(_e.labelKey))??_e?.label,e.jsx(Oa,{})]}),se&&e.jsx("ul",{className:d.languageMenu,role:"listbox",children:m.map(o=>{const p=o.code===ve;return e.jsxs("li",{role:"option","aria-selected":p,className:W(d.languageMenuItem,p&&d.languageMenuItemSelected),onClick:()=>tt(o.code),children:[(o.labelKey&&v?.(o.labelKey))??o.label,p&&e.jsx(Aa,{})]},o.code)})})]})]}),e.jsx("hr",{className:d.languageDivider})]}),e.jsxs("div",{className:d.sectionHeadingRow,children:[e.jsx("p",{className:d.sectionHeading,children:M??v?.("planSelectSlotHeading")??"Book your preferred consultation slot"}),K&&e.jsx("p",{className:d.timezoneLabel,children:K})]}),Y===void 0?e.jsxs("p",{className:d.reportReadyBanner,children:[v?.("planReportReadyPrefix")??"Your Report will be ready in"," ",e.jsx("span",{className:d.reportReadyDuration,children:v?.("planReportReadyDuration")??"24-48 hours"})," ",v?.("planReportReadySuffix")??"from today"]}):Y,n&&e.jsxs("div",{className:d.loadingWrap,"aria-busy":"true","aria-live":"polite",children:[e.jsx("div",{className:d.skeletonDateTabs,children:Array.from({length:5}).map((o,p)=>e.jsx("div",{className:W(d.skeletonDateTab,d.skeletonShimmer)},p))}),e.jsx("div",{className:d.skeletonPeriodTabs,children:Array.from({length:3}).map((o,p)=>e.jsx("div",{className:W(d.skeletonPeriodTab,d.skeletonShimmer)},p))}),e.jsx("div",{className:d.skeletonTimeGrid,children:Array.from({length:6}).map((o,p)=>e.jsx("div",{className:W(d.skeletonTimeSlot,d.skeletonShimmer)},p))})]}),!n&&a&&e.jsxs("div",{className:d.stateMessage,children:[v?.("planSlotsLoadError")??"Couldn't load slots. Please try again.",s&&e.jsx("button",{type:"button",className:d.retryBtn,onClick:s,children:v?.("planRetry")??"Retry"})]}),!n&&!a&&T.length===0&&e.jsxs("div",{className:d.emptyState,children:[e.jsx("span",{className:d.emptyStateIcon,children:e.jsx(Wa,{})}),e.jsx("p",{className:d.emptyStateTitle,children:v?.("planNoSlotsAvailableTitle")??"No slots available"}),e.jsx("p",{className:d.emptyStateSubtitle,children:v?.("planNoSlotsAvailableSubtitle")??"Try a different consultation language above, or check back soon."})]}),!n&&!a&&T.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:d.dateTabs,ref:we,role:"radiogroup","aria-label":"Consultation date",children:[V&&e.jsx("span",{className:d.dateTabIndicator,style:{transform:`translate(${V.left}px, ${V.top}px)`,width:V.width,height:V.height},"aria-hidden":"true"}),T.map(o=>{const p=o.date===O,{dayLabel:$,dayNum:F}=Oe(o.date);return e.jsxs(_.Fragment,{children:[e.jsxs("button",{type:"button",ref:C=>{ye.current[o.date]=C},className:W(d.dateTab,p&&d.dateTabSelected),role:"radio","aria-checked":p,onClick:()=>Xe(o.date),children:[e.jsx("span",{className:d.dateTabLabel,children:v?.($)??$}),e.jsx("span",{className:d.dateTabNum,children:F})]}),e.jsx("span",{className:d.dateTabDivider,"aria-hidden":!0})]},o.date)})]}),e.jsxs("div",{className:d.periodTabs,ref:ke,role:"tablist","aria-label":"Time of day",children:[pe&&e.jsx("span",{className:d.periodTabIndicator,style:{transform:`translateX(${pe.left}px)`,width:pe.width},"aria-hidden":"true"}),E.map(o=>{const p=es[o],$=o==="evening"&&X,F=$?"planPeriodEveningNight":ts[o];return e.jsxs("button",{ref:C=>{Ie.current[o]=C},type:"button",className:W(d.periodTab,o===B&&d.periodTabSelected),role:"tab","aria-selected":o===B,onClick:()=>Ve(o),children:[e.jsx(p,{}),v?.(F)??($?"Evening/Night":o.charAt(0).toUpperCase()+o.slice(1))]},o)})]}),e.jsx("div",{className:d.timeGrid,role:"radiogroup","aria-label":"Consultation time",children:oe.map((o,p)=>e.jsx("button",{type:"button",className:W(d.timeSlot,je===o.start&&d.timeSlotSelected,o.disabled&&d.timeSlotDisabled),role:"radio","aria-checked":je===o.start,"aria-disabled":o.disabled||void 0,disabled:o.disabled,onClick:()=>!o.disabled&&et(o),children:Ae(o.start)},`${o.start}-${p}`))},`${O}-${B}`)]})]})},Me="+05:30",as=t=>{const n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0");return`${t.getFullYear()}-${n}-${a}`},os=(t,n,a,s)=>{const r=i=>String(i).padStart(2,"0"),c=a+30,l=n+Math.floor(c/60);return{start:`${t}T${r(n)}:${r(a)}:00${Me}`,end:`${t}T${r(l)}:${r(c%60)}:00${Me}`,period:s}},ss={morning:[[9,0],[9,30],[10,0],[10,30],[11,0],[11,30]],afternoon:[[12,30],[13,0],[14,0],[15,30],[16,0]],evening:[[18,0],[18,30],[19,0],[20,0]]},te=(t,n)=>{const a=new Date;a.setDate(a.getDate()+t);const s=as(a),r=n.flatMap(c=>ss[c].map(([l,i])=>os(s,l,i,c)));return{date:s,has_availability:r.length>0,slots:r}},He=[te(0,["morning","afternoon","evening"]),te(1,["morning","afternoon"]),te(2,["afternoon","evening"]),te(3,["morning","evening"]),te(4,["morning","afternoon","evening"])],rs=He.map(t=>({...t,has_availability:!1,slots:[]})),cs=()=>e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:e.jsx("path",{d:"M6 9l6 6 6-6"})}),ze=[{name:"United States",code:"+1",iso:"US"},{name:"United Kingdom",code:"+44",iso:"GB"},{name:"Australia",code:"+61",iso:"AU"},{name:"Canada",code:"+1",iso:"CA"},{name:"United Arab Emirates",code:"+971",iso:"AE"},{name:"Singapore",code:"+65",iso:"SG"},{name:"New Zealand",code:"+64",iso:"NZ"},{name:"Mauritius",code:"+230",iso:"MU"},{name:"Netherlands",code:"+31",iso:"NL"},{name:"Malaysia",code:"+60",iso:"MY"},{name:"Germany",code:"+49",iso:"DE"},{name:"South Africa",code:"+27",iso:"ZA"},{name:"Qatar",code:"+974",iso:"QA"},{name:"Ireland",code:"+353",iso:"IE"},{name:"Oman",code:"+968",iso:"OM"},{name:"Saudi Arabia",code:"+966",iso:"SA"},{name:"Hong Kong",code:"+852",iso:"HK"},{name:"France",code:"+33",iso:"FR"},{name:"Switzerland",code:"+41",iso:"CH"},{name:"Bahrain",code:"+973",iso:"BH"},{name:"Trinidad and Tobago",code:"+1-868",iso:"TT"},{name:"Kuwait",code:"+965",iso:"KW"},{name:"Belgium",code:"+32",iso:"BE"},{name:"Japan",code:"+81",iso:"JP"},{name:"Italy",code:"+39",iso:"IT"},{name:"Spain",code:"+34",iso:"ES"},{name:"Norway",code:"+47",iso:"NO"},{name:"Sweden",code:"+46",iso:"SE"},{name:"Portugal",code:"+351",iso:"PT"},{name:"Poland",code:"+48",iso:"PL"},{name:"Denmark",code:"+45",iso:"DK"},{name:"Nepal",code:"+977",iso:"NP"},{name:"Bangladesh",code:"+880",iso:"BD"},{name:"Kenya",code:"+254",iso:"KE"},{name:"Mexico",code:"+52",iso:"MX"},{name:"Czechia",code:"+420",iso:"CZ"},{name:"Indonesia",code:"+62",iso:"ID"},{name:"Taiwan",code:"+886",iso:"TW"},{name:"Fiji",code:"+679",iso:"FJ"},{name:"Guyana",code:"+592",iso:"GY"},{name:"Finland",code:"+358",iso:"FI"},{name:"Nigeria",code:"+234",iso:"NG"},{name:"Jamaica",code:"+1-876",iso:"JM"},{name:"Sri Lanka",code:"+94",iso:"LK"},{name:"Thailand",code:"+66",iso:"TH"},{name:"Hungary",code:"+36",iso:"HU"},{name:"Tanzania",code:"+255",iso:"TZ"},{name:"Sint Maarten",code:"+1-721",iso:"SX"},{name:"Philippines",code:"+63",iso:"PH"},{name:"Estonia",code:"+372",iso:"EE"},{name:"Ukraine",code:"+380",iso:"UA"},{name:"Austria",code:"+43",iso:"AT"},{name:"Réunion",code:"+262",iso:"RE"},{name:"India",code:"+91",iso:"IN"}],Ue=t=>{if(!t||t.length!==2)return"🏳️";const n=t.toUpperCase().split("").map(a=>127397+a.charCodeAt(0));return String.fromCodePoint(...n)},is=({countryCode:t,contactNumber:n,countries:a,onCountryCodeChange:s,onPhoneNumberChange:r,onValidationChange:c,onDropdownFocus:l,onInputFocus:i})=>{const[h,u]=_.useState(!1),f=a.find(w=>w.code===t)??a[0],m=Q.getMaxLengthForCountry(t),g=_.useCallback(w=>{if(s(w.code,w.name),u(!1),n&&c){const{isValid:k,error:M}=Q.validatePhoneByCountryCode(n,w.code);c(k,M)}},[n,s,c]),b=_.useCallback(w=>{const M=w.target.value.replace(/[^\d]/g,"").slice(0,Q.getMaxLengthForCountry(t));if(r(M),c){const{isValid:K,error:G}=Q.validatePhoneByCountryCode(M,t);c(K,G)}},[t,r,c]),j=_.useCallback(()=>{u(w=>(w||l?.(t),!w))},[t,l]),P=_.useCallback(()=>{u(!1),i?.(t)},[t,i]);return{isDropdownOpen:h,selectedCountry:f,maxLength:m,handleCountrySelect:g,handlePhoneChange:b,handleDropdownToggle:j,handlePhoneFocus:P,closeDropdown:()=>u(!1)}},ls="_root_3ywyc_2",ds="_label_3ywyc_9",ms="_row_3ywyc_17",_s="_dropdownWrap_3ywyc_23",us="_dropdownBtn_3ywyc_29",hs="_dropdownMenu_3ywyc_50",ps="_dropdownItem_3ywyc_64",gs="_dropdownItemCode_3ywyc_80",bs="_dropdownItemName_3ywyc_85",fs="_flagImg_3ywyc_93",xs="_flagEmoji_3ywyc_97",Ns="_input_3ywyc_102",js="_inputError_3ywyc_121",vs="_helper_3ywyc_129",ws="_error_3ywyc_137",y={root:ls,label:ds,row:ms,dropdownWrap:_s,dropdownBtn:us,dropdownMenu:hs,dropdownItem:ps,dropdownItemCode:gs,dropdownItemName:bs,flagImg:fs,flagEmoji:xs,input:Ns,inputError:js,helper:vs,error:ws},Be=(...t)=>t.filter(Boolean).join(" "),ys=({countryCode:t,contactNumber:n,error:a,label:s,helperText:r,countries:c=ze,getFlagUrl:l,onCountryCodeChange:i,onPhoneNumberChange:h,onValidationChange:u,onDropdownFocus:f,onInputFocus:m,inputRef:g,t:b,className:j=""})=>{const[P,w]=_.useState(c[0]?.code??"+91"),[k,M]=_.useState(""),K=t??P,G=n??k,Y=_.useRef(null),{isDropdownOpen:X,selectedCountry:v,maxLength:de,handleCountrySelect:T,handlePhoneChange:ae,handleDropdownToggle:me,handlePhoneFocus:O,closeDropdown:A}=is({countryCode:K,contactNumber:G,countries:c,onCountryCodeChange:(x,H)=>{w(x),i?.(x,H)},onPhoneNumberChange:x=>{M(x),h?.(x)},onValidationChange:u,onDropdownFocus:f,onInputFocus:m});_.useEffect(()=>{const x=H=>{Y.current&&!Y.current.contains(H.target)&&A()};return X&&document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[X,A]);const E=(x,H)=>{const B=x?l?.(x):null;return B?e.jsx("img",{src:B,alt:H,width:20,height:14,className:y.flagImg}):e.jsx("span",{className:y.flagEmoji,"aria-hidden":!0,children:Ue(x)})};return e.jsxs("div",{className:Be(y.root,j),children:[s&&e.jsx("div",{className:y.label,children:s}),e.jsxs("div",{className:y.row,children:[e.jsxs("div",{className:y.dropdownWrap,ref:Y,children:[e.jsxs("button",{type:"button",className:y.dropdownBtn,onClick:me,children:[E(v?.iso,v?.name??"Flag"),e.jsx("span",{children:v?.code??"+91"}),e.jsx(cs,{})]}),X&&e.jsx("div",{className:y.dropdownMenu,role:"listbox",children:c.map(x=>e.jsxs("button",{type:"button",role:"option","aria-selected":x.code===v?.code,className:y.dropdownItem,onClick:()=>T(x),children:[E(x.iso,x.name),e.jsx("span",{className:y.dropdownItemCode,children:x.code}),e.jsx("span",{className:y.dropdownItemName,children:x.name})]},`${x.code}-${x.iso}`))})]}),e.jsx("input",{type:"tel",inputMode:"numeric",autoComplete:"off",value:G,maxLength:de,ref:g,className:Be(y.input,a&&y.inputError),placeholder:b?.("planPhoneNumberPlaceholder")??"0000000000",onChange:ae,onFocus:O})]}),r&&e.jsx("div",{className:y.helper,children:r}),a&&e.jsx("p",{className:y.error,children:a})]})},Ss=()=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M8 1.33337L10.06 5.50671L14.6667 6.18004L11.3333 9.42671L12.12 14.0134L8 11.8467L3.88 14.0134L4.66667 9.42671L1.33333 6.18004L5.94 5.50671L8 1.33337Z",fill:"#F59E0B",stroke:"#F59E0B",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),ks=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",fill:"#F97316"})}),Is="_card_1mv2d_3",Ts="_cardSelected_1mv2d_25",$s="_photoWrap_1mv2d_32",Cs="_photoFrame_1mv2d_38",Ls="_photoImg_1mv2d_46",Ds="_ratingPill_1mv2d_52",Ms="_ratingValue_1mv2d_67",Bs="_info_1mv2d_75",Rs="_name_1mv2d_85",Ps="_meta_1mv2d_96",As="_languages_1mv2d_104",Os="_consultationCount_1mv2d_114",Es="_checkIcon_1mv2d_122",Fs="_recommendedBadge_1mv2d_127",qs="_recommendedLabel_1mv2d_149",S={card:Is,cardSelected:Ts,photoWrap:$s,photoFrame:Cs,photoImg:Ls,ratingPill:Ds,ratingValue:Ms,info:Bs,name:Rs,meta:Ps,languages:As,consultationCount:Os,checkIcon:Es,recommendedBadge:Fs,recommendedLabel:qs},Ws="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>",Ke=({photoUrl:t,name:n,rating:a,fallbackPhotoUrl:s=Ws})=>e.jsxs("div",{className:S.photoWrap,children:[e.jsx("div",{className:S.photoFrame,children:e.jsx("img",{src:t||s,alt:n,width:64,height:78,className:S.photoImg,onError:r=>{r.target.src=s}})}),e.jsxs("div",{className:S.ratingPill,children:[e.jsx("span",{className:S.ratingValue,children:a}),e.jsx(Ss,{})]})]}),Ge=({label:t,t:n})=>e.jsx("div",{className:S.recommendedBadge,children:e.jsx("span",{className:S.recommendedLabel,children:t??n?.("planRecommendedAstrologer")??"Recommended"})}),Hs=(...t)=>t.filter(Boolean).join(" "),zs=t=>{if(t>=1e3){const n=t/1e3;return`${Number.isInteger(n)?n:n.toFixed(1)}K consultations`}return`${t} consultations`},Ye=({astrologer:t,isSelected:n=!1,onClick:a,fallbackPhotoUrl:s,formatConsultationCount:r=zs})=>e.jsxs("button",{type:"button",onClick:()=>a?.(t),className:Hs(S.card,n&&S.cardSelected),children:[e.jsx(Ke,{photoUrl:t.photo_url,name:t.name,rating:t.rating,fallbackPhotoUrl:s}),e.jsxs("div",{className:S.info,children:[e.jsx("span",{className:S.name,children:t.name}),e.jsxs("div",{className:S.meta,children:[e.jsx("span",{className:S.languages,children:t.languages.join(", ")}),e.jsx("span",{className:S.consultationCount,children:r(t.consultation_count)})]})]}),n&&e.jsx("div",{className:S.checkIcon,children:e.jsx(ks,{})}),t.is_recommended&&e.jsx(Ge,{})]}),Us="_wrapper_vfs2z_41",Ks="_ribbon_vfs2z_8",Gs="_fold_vfs2z_64",Ys="_label_vfs2z_74",le={wrapper:Us,ribbon:Ks,fold:Gs,label:Ys},Js=({label:t,t:n,className:a})=>e.jsxs("div",{className:[le.wrapper,a].filter(Boolean).join(" "),children:[e.jsx("div",{className:le.ribbon,children:e.jsx("span",{className:le.label,children:t??n?.("planRecommendedAstrologer")??"Recommended"})}),e.jsx("div",{className:le.fold})]}),Zs="_section_jbaga_2",Qs="_title_jbaga_6",Xs="_row_jbaga_13",Vs="_skeletonCard_jbaga_26",er="_skeletonShimmer_jbaga_33",ne={section:Zs,title:Qs,row:Xs,skeletonCard:Vs,skeletonShimmer:er},Re=(...t)=>t.filter(Boolean).join(" "),tr=({astrologers:t,loading:n=!1,selectedAstrologerId:a,onAstrologerSelect:s,title:r,fallbackPhotoUrl:c,formatConsultationCount:l,t:i,className:h=""})=>{const[u,f]=_.useState(""),m=a??u,g=b=>{f(b.astrologer_id),s?.(b)};return e.jsxs("section",{className:Re(ne.section,h),children:[e.jsx("p",{className:ne.title,children:r??i?.("planSelectAstrologerHeading")??"Select an astrologer"}),e.jsx("div",{className:ne.row,role:"radiogroup","aria-label":"Astrologer",children:n?Array.from({length:2}).map((b,j)=>e.jsx("div",{className:Re(ne.skeletonCard,ne.skeletonShimmer)},j)):t.map(b=>e.jsx(Ye,{astrologer:b,isSelected:b.astrologer_id===m,onClick:g,fallbackPhotoUrl:c,formatConsultationCount:l},b.astrologer_id))})]})},nr=[{astrologer_id:"astro-1",name:"Pandit Ramesh Sharma",photo_url:"",languages:["Hindi","English"],rating:4.8,consultation_count:12500,is_recommended:!0},{astrologer_id:"astro-2",name:"Dr. Anjali Mehta",photo_url:"",languages:["English","Gujarati"],rating:4.6,consultation_count:870},{astrologer_id:"astro-3",name:"Acharya Vivek Joshi",photo_url:"",languages:["Hindi","Marathi","English"],rating:4.9,consultation_count:3400}];Object.defineProperty(exports,"getMaxLengthForCountry",{enumerable:!0,get:()=>Q.getMaxLengthForCountry});Object.defineProperty(exports,"validatePhoneByCountryCode",{enumerable:!0,get:()=>Q.validatePhoneByCountryCode});exports.AstrologerCard=Ye;exports.AstrologerList=tr;exports.AstrologerPhoto=Ke;exports.AstrologyProfilesSection=We;exports.CONSULTATION_LANGUAGE_OPTIONS=Fe;exports.CONSULTATION_PERIOD_ORDER=Ee;exports.CircularMarquee=Pe;exports.ConsultationSlotSelector=ns;exports.ContactUsSection=Pa;exports.DEFAULT_COUNTRIES=ze;exports.FAQAccordion=Pt;exports.FooterCTAButton=Sa;exports.FooterShell=ya;exports.FormCheckboxWithHelp=ia;exports.FormContainer=Zt;exports.FormDateInput=Pn;exports.FormField=yn;exports.FormFooterNote=ma;exports.FormLocationInput=Yn;exports.FormSectionHeader=sn;exports.FormSegmentedControl=Xn;exports.FormTagPills=na;exports.FormTextInput=Cn;exports.FormTimeInput=Wn;exports.MOCK_ASTROLOGERS=nr;exports.MOCK_SLOT_DAYS=He;exports.MOCK_SLOT_DAYS_EMPTY=rs;exports.MarqueeStrip=Ca;exports.PageHeader=Kt;exports.PhoneNumberInput=ys;exports.PhoneNumberSection=qe;exports.PrivacyBanner=mn;exports.RecommendedBadge=Ge;exports.RecommendedRibbon=Js;exports.UserReviewsSection=yt;exports.footerShellStyles=U;exports.formatSlotDayLabel=Oe;exports.formatSlotTime=Ae;exports.getFlagEmoji=Ue;
15
2
  //# sourceMappingURL=index.cjs.map