0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{x[_?"scrollLeft":"scrollTop"]=A})):x[_?"scrollLeft":"scrollTop"]=A,T&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return lD({swiper:s,targetPosition:A,side:_?"left":"top"}),!0;x.scrollTo({[_?"left":"top"]:A,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(E),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,y),t===0?s.transitionEnd(n,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(A){!s||s.destroyed||A.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function ZCe(e,t,n,r){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this,s=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a=a+i.virtual.slidesBefore;else{let u;if(s){const v=a*i.params.grid.rows;u=i.slides.filter(x=>x.getAttribute("data-swiper-slide-index")*1===v)[0].column}else u=i.getSlideIndexByData(a);const c=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:f}=i.params;let p=i.params.slidesPerView;p==="auto"?p=i.slidesPerViewDynamic():(p=Math.ceil(parseFloat(i.params.slidesPerView,10)),f&&p%2===0&&(p=p+1));let g=c-ux.getAttribute("data-swiper-slide-index")*1===v)[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame(()=>{i.slideTo(a,t,n,r)}),i}function YCe(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:a}=r;if(!i)return r;let u=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(u=Math.max(r.slidesPerViewDynamic("current",!0),1));const c=r.activeIndex{r.slideTo(r.activeIndex+c,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+c,e,t,n)}function QCe(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:a,rtlTranslate:u,enabled:c,animating:f}=r;if(!c)return r;const p=r.virtual&&i.virtual.enabled;if(i.loop){if(f&&!p&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const g=u?r.translate:-r.translate;function v(E){return E<0?-Math.floor(Math.abs(E)):Math.floor(E)}const x=v(g),b=s.map(E=>v(E));let k=s[b.indexOf(x)-1];if(typeof k>"u"&&i.cssMode){let E;s.forEach((y,_)=>{x>=y&&(E=_)}),typeof E<"u"&&(k=s[E>0?E-1:E])}let I=0;if(typeof k<"u"&&(I=a.indexOf(k),I<0&&(I=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(I=I-r.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),i.rewind&&r.isBeginning){const E=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(E,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(I,e,t,n)}),!0;return r.slideTo(I,e,t,n)}function KCe(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this;return r.slideTo(r.activeIndex,e,t,n)}function XCe(e,t,n,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;let s=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,s),u=a+Math.floor((s-a)/i.params.slidesPerGroup),c=i.rtlTranslate?i.translate:-i.translate;if(c>=i.snapGrid[u]){const f=i.snapGrid[u],p=i.snapGrid[u+1];c-f>(p-f)*r&&(s+=i.params.slidesPerGroup)}else{const f=i.snapGrid[u-1],p=i.snapGrid[u];c-f<=(p-f)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function JCe(){const e=this,{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,s;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(ps(n,`${a}[data-swiper-slide-index="${s}"]`)[0]),Uw(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(ps(n,`${a}[data-swiper-slide-index="${s}"]`)[0]),Uw(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var eEe={slideTo:GCe,slideToLoop:ZCe,slideNext:YCe,slidePrev:QCe,slideReset:KCe,slideToClosest:XCe,slideToClickedSlide:JCe};function tEe(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{ps(r,`.${n.slideClass}, swiper-slide`).forEach((g,v)=>{g.setAttribute("data-swiper-slide-index",v)})},s=t.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(s?n.grid.rows:1),u=t.slides.length%a!==0,c=s&&t.slides.length%n.grid.rows!==0,f=p=>{for(let g=0;g1;f.length"u"?s=c.getSlideIndex(f.filter(o=>o.classList.contains(x.slideActiveClass))[0]):T=s;const j=r==="next"||!r,B=r==="prev"||!r;let F=0,z=0;const P=y?Math.ceil(f.length/x.grid.rows):f.length,G=(y?f[s].column:s)+(b&&typeof i>"u"?-k/2+.5:0);if(G=0;U-=1)f[U].column===$&&_.push(U)}else _.push(P-O-1)}}else if(G+k>P-E){z=Math.max(G-(P-E*2),I);for(let o=0;o{$.column===O&&A.push(U)}):A.push(O)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),B&&_.forEach(o=>{f[o].swiperLoopMoveDOM=!0,v.prepend(f[o]),f[o].swiperLoopMoveDOM=!1}),j&&A.forEach(o=>{f[o].swiperLoopMoveDOM=!0,v.append(f[o]),f[o].swiperLoopMoveDOM=!1}),c.recalcSlides(),x.slidesPerView==="auto"?c.updateSlides():y&&(_.length>0&&B||A.length>0&&j)&&c.slides.forEach((o,O)=>{c.grid.updateSlide(O,o,c.slides)}),x.watchSlidesProgress&&c.updateSlidesOffset(),n){if(_.length>0&&B){if(typeof t>"u"){const o=c.slidesGrid[T],$=c.slidesGrid[T+F]-o;u?c.setTranslate(c.translate-$):(c.slideTo(T+F,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-$,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-$))}else if(i){const o=y?_.length/x.grid.rows:_.length;c.slideTo(c.activeIndex+o,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(A.length>0&&j)if(typeof t>"u"){const o=c.slidesGrid[T],$=c.slidesGrid[T-z]-o;u?c.setTranslate(c.translate-$):(c.slideTo(T-z,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-$,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-$))}else{const o=y?A.length/x.grid.rows:A.length;c.slideTo(c.activeIndex-o,0,!1,!0)}}if(c.allowSlidePrev=p,c.allowSlideNext=g,c.controller&&c.controller.control&&!a){const o={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...o,slideTo:O.params.slidesPerView===x.slidesPerView?n:!1})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...o,slideTo:c.controller.control.params.slidesPerView===x.slidesPerView?n:!1})}c.emit("loopFix")}function rEe(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var iEe={loopCreate:tEe,loopFix:nEe,loopDestroy:rEe};function sEe(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function oEe(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var aEe={setGrabCursor:sEe,unsetGrabCursor:oEe};function lEe(e,t){t===void 0&&(t=this);function n(r){if(!r||r===lc()||r===Qr())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function RS(e,t,n){const r=Qr(),{params:i}=e,s=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return s&&(n<=a||n>=r.innerWidth-a)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function uEe(e){const t=this,n=lc();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){RS(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:a,enabled:u}=t;if(!u||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let c=r.target;if(s.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(c)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const f=!!s.noSwipingClass&&s.noSwipingClass!=="",p=r.composedPath?r.composedPath():r.path;f&&r.target&&r.target.shadowRoot&&p&&(c=p[0]);const g=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,v=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(v?lEe(g,c):c.closest(g))){t.allowClick=!0;return}if(s.swipeHandler&&!c.closest(s.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const x=a.currentX,b=a.currentY;if(!RS(t,r,x))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=x,a.startY=b,i.touchStartTime=j3(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let k=!0;c.matches(i.focusableElements)&&(k=!1,c.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==c&&n.activeElement.blur();const I=k&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||I)&&!c.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function cEe(e){const t=lc(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:a,enabled:u}=n;if(!u||!i.simulateTouch&&e.pointerType==="mouse")return;let c=e;if(c.originalEvent&&(c=c.originalEvent),c.type==="pointermove"&&(r.touchId!==null||c.pointerId!==r.pointerId))return;let f;if(c.type==="touchmove"){if(f=[...c.changedTouches].filter(j=>j.identifier===r.touchId)[0],!f||f.identifier!==r.touchId)return}else f=c;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c);return}const p=f.pageX,g=f.pageY;if(c.preventedByNestedSwiper){s.startX=p,s.startY=g;return}if(!n.allowTouchMove){c.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:p,startY:g,currentX:p,currentY:g}),r.touchStartTime=j3());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(gs.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(ps.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=p,s.currentY=g;const v=s.currentX-s.startX,x=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(v**2+x**2)"u"){let j;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:v*v+x*x>=25&&(j=Math.atan2(Math.abs(x),Math.abs(v))*180/Math.PI,r.isScrolling=n.isHorizontal()?j>i.touchAngle:90-j>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();let b=n.isHorizontal()?v:x,k=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(b=Math.abs(b)*(a?1:-1),k=Math.abs(k)*(a?1:-1)),s.diff=b,b*=i.touchRatio,a&&(b=-b,k=-k);const I=n.touchesDirection;n.swipeDirection=b>0?"prev":"next",n.touchesDirection=k>0?"prev":"next";const E=n.params.loop&&!i.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(E&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const j=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(j)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}let _;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&I!==n.touchesDirection&&E&&y&&Math.abs(b)>=1){Object.assign(s,{startX:p,startY:g,currentX:p,currentY:g,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=b+r.startTranslate;let A=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),b>0?(E&&y&&!_&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(A=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+b)**T))):b<0&&(E&&y&&!_&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(b)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function dEe(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(T=>T.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:a,touches:u,rtlTranslate:c,slidesGrid:f,enabled:p}=t;if(!p||!a.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const g=j3(),v=g-n.touchStartTime;if(t.allowClick){const T=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(T&&T[0]||r.target,T),t.emit("tap click",r),v<300&&g-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=j3(),Uw(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||u.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let x;if(a.followFinger?x=c?t.translate:-t.translate:x=-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:x});return}const b=x>=-t.maxTranslate()&&!t.params.loop;let k=0,I=t.slidesSizesGrid[0];for(let T=0;T=f[T]&&x=f[T])&&(k=T,I=f[f.length-1]-f[f.length-2])}let E=null,y=null;a.rewind&&(t.isBeginning?y=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(E=0));const _=(x-f[k])/I,A=ka.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(_>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?E:k+A):t.slideTo(k)),t.swipeDirection==="prev"&&(_>1-a.longSwipesRatio?t.slideTo(k+A):y!==null&&_<0&&Math.abs(_)>a.longSwipesRatio?t.slideTo(y):t.slideTo(k))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(k+A):t.slideTo(k):(t.swipeDirection==="next"&&t.slideTo(E!==null?E:k+A),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:k))}}function AS(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const u=a&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!u?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function fEe(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function pEe(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function hEe(e){const t=this;fg(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function mEe(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const pD=(e,t)=>{const n=lc(),{params:r,el:i,wrapperEl:s,device:a}=e,u=!!r.nested,c=t==="on"?"addEventListener":"removeEventListener",f=t;n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:u}),i[c]("touchstart",e.onTouchStart,{passive:!1}),i[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:u}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:u}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[c]("click",e.onClick,!0),r.cssMode&&s[c]("scroll",e.onScroll),r.updateOnWindowResize?e[f](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",AS,!0):e[f]("observerUpdate",AS,!0),i[c]("load",e.onLoad,{capture:!0})};function gEe(){const e=this,{params:t}=e;e.onTouchStart=uEe.bind(e),e.onTouchMove=cEe.bind(e),e.onTouchEnd=dEe.bind(e),e.onDocumentTouchStart=mEe.bind(e),t.cssMode&&(e.onScroll=pEe.bind(e)),e.onClick=fEe.bind(e),e.onLoad=hEe.bind(e),pD(e,"on")}function vEe(){pD(this,"off")}var yEe={attachEvents:gEe,detachEvents:vEe};const TS=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function wEe(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const c=(a in s?s[a]:void 0)||e.originalParams,f=TS(e,r),p=TS(e,c),g=r.enabled;f&&!p?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&p&&(i.classList.add(`${r.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(E=>{if(typeof c[E]>"u")return;const y=r[E]&&r[E].enabled,_=c[E]&&c[E].enabled;y&&!_&&e[E].disable(),!y&&_&&e[E].enable()});const v=c.direction&&c.direction!==r.direction,x=r.loop&&(c.slidesPerView!==r.slidesPerView||v),b=r.loop;v&&n&&e.changeDirection(),Pr(e.params,c);const k=e.params.enabled,I=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!k?e.disable():!g&&k&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",c),n&&(x?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&I?(e.loopCreate(t),e.updateSlides()):b&&!I&&e.loopDestroy()),e.emit("breakpoint",c)}function xEe(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=Qr(),s=t==="window"?i.innerHeight:n.clientHeight,a=Object.keys(e).map(u=>{if(typeof u=="string"&&u.indexOf("@")===0){const c=parseFloat(u.substr(1));return{value:s*c,point:u}}return{value:u,point:u}});a.sort((u,c)=>parseInt(u.value,10)-parseInt(c.value,10));for(let u=0;u{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function EEe(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,a=CEe(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()}function _Ee(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var kEe={addClasses:EEe,removeClasses:_Ee};function SEe(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var IEe={checkOverflow:SEe},Zw={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function REe(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Pr(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in s)){Pr(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Pr(t,r)}}const A7={eventsEmitter:kCe,update:jCe,translate:HCe,transition:qCe,slide:eEe,loop:iEe,grabCursor:aEe,events:yEe,breakpoints:bEe,checkOverflow:IEe,classes:kEe},T7={};let u9=class Os{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const p=[];return a.querySelectorAll(n.el).forEach(g=>{const v=Pr({},n,{el:g});p.push(new Os(v))}),p}const u=this;u.__swiper__=!0,u.support=dD(),u.device=xCe({userAgent:n.userAgent}),u.browser=CCe(),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=[...u.__modules__],n.modules&&Array.isArray(n.modules)&&u.modules.push(...n.modules);const c={};u.modules.forEach(p=>{p({params:n,swiper:u,extendParams:REe(n,c),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})});const f=Pr({},Zw,c);return u.params=Pr({},f,T7,n),u.originalParams=Pr({},u.params),u.passedParams=Pr({},n),u.params&&u.params.on&&Object.keys(u.params.on).forEach(p=>{u.on(p,u.params.on[p])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return u.params.direction==="horizontal"},isVertical(){return u.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=ps(n,`.${r.slideClass}, swiper-slide`),s=Sf(i[0]);return Sf(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=ps(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),a=(r.maxTranslate()-i)*t+i;r.translateTo(a,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:a,slidesSizesGrid:u,size:c,activeIndex:f}=r;let p=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let g=s[f]?s[f].swiperSlideSize:0,v;for(let x=f+1;xc&&(v=!0));for(let x=f-1;x>=0;x-=1)s[x]&&!v&&(g+=s[x].swiperSlideSize,p+=1,g>c&&(v=!0))}else if(t==="current")for(let g=f+1;g=0;g-=1)a[f]-a[g]{a.complete&&fg(t,a)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const a=t.rtlTranslate?t.translate*-1:t.translate,u=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(u),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const a=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(a.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=(()=>r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):ps(r,i())[0])();return!a&&n.params.createElements&&(a=kf("div",n.params.wrapperClass),r.append(a),ps(r,`.${n.params.slideClass}`).forEach(u=>{a.append(u)})),Object.assign(n,{el:r,wrapperEl:a,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Po(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Po(r,"direction")==="rtl"),wrongRTL:Po(a,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?fg(n,s):s.addEventListener("load",a=>{fg(n,a.target)})}),Gw(n),n.initialized=!0,Gw(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:a,slides:u}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s.removeAttribute("style"),a.removeAttribute("style"),u&&u.length&&u.forEach(c=>{c.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),c.removeAttribute("style"),c.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(c=>{r.off(c)}),t!==!1&&(r.el.swiper=null,uCe(r)),r.destroyed=!0),null}static extendDefaults(t){Pr(T7,t)}static get extendedDefaults(){return T7}static get defaults(){return Zw}static installModule(t){Os.prototype.__modules__||(Os.prototype.__modules__=[]);const n=Os.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Os.installModule(n)),Os):(Os.installModule(t),Os)}};Object.keys(A7).forEach(e=>{Object.keys(A7[e]).forEach(t=>{u9.prototype[t]=A7[e][t]})});u9.use([ECe,_Ce]);const hD=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function al(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function hu(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:al(t[r])&&al(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:hu(e[r],t[r]):e[r]=t[r]})}function mD(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function gD(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function vD(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function yD(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function AEe(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function TEe(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:a,scrollbarEl:u,paginationEl:c}=e;const f=i.filter(z=>z!=="children"&&z!=="direction"&&z!=="wrapperClass"),{params:p,pagination:g,navigation:v,scrollbar:x,virtual:b,thumbs:k}=t;let I,E,y,_,A,T,j,B;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&p.thumbs&&!p.thumbs.swiper&&(I=!0),i.includes("controller")&&r.controller&&r.controller.control&&p.controller&&!p.controller.control&&(E=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||c)&&(p.pagination||p.pagination===!1)&&g&&!g.el&&(y=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||u)&&(p.scrollbar||p.scrollbar===!1)&&x&&!x.el&&(_=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||s)&&(p.navigation||p.navigation===!1)&&v&&!v.prevEl&&!v.nextEl&&(A=!0);const F=z=>{t[z]&&(t[z].destroy(),z==="navigation"?(t.isElement&&(t[z].prevEl.remove(),t[z].nextEl.remove()),p[z].prevEl=void 0,p[z].nextEl=void 0,t[z].prevEl=void 0,t[z].nextEl=void 0):(t.isElement&&t[z].el.remove(),p[z].el=void 0,t[z].el=void 0))};i.includes("loop")&&t.isElement&&(p.loop&&!r.loop?T=!0:!p.loop&&r.loop?j=!0:B=!0),f.forEach(z=>{if(al(p[z])&&al(r[z]))Object.assign(p[z],r[z]),(z==="navigation"||z==="pagination"||z==="scrollbar")&&"enabled"in r[z]&&!r[z].enabled&&F(z);else{const P=r[z];(P===!0||P===!1)&&(z==="navigation"||z==="pagination"||z==="scrollbar")?P===!1&&F(z):p[z]=r[z]}}),f.includes("controller")&&!E&&t.controller&&t.controller.control&&p.controller&&p.controller.control&&(t.controller.control=p.controller.control),i.includes("children")&&n&&b&&p.virtual.enabled?(b.slides=n,b.update(!0)):i.includes("virtual")&&b&&p.virtual.enabled&&(n&&(b.slides=n),b.update(!0)),i.includes("children")&&n&&p.loop&&(B=!0),I&&k.init()&&k.update(!0),E&&(t.controller.control=p.controller.control),y&&(t.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),t.el.appendChild(c)),c&&(p.pagination.el=c),g.init(),g.render(),g.update()),_&&(t.isElement&&(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-scrollbar"),u.part.add("scrollbar"),t.el.appendChild(u)),u&&(p.scrollbar.el=u),x.init(),x.updateSize(),x.setTranslate()),A&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=t.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),t.el.appendChild(a))),s&&(p.navigation.nextEl=s),a&&(p.navigation.prevEl=a),v.init(),v.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(T||B)&&t.loopDestroy(),(j||B)&&t.loopCreate(),t.update()}function LEe(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};hu(n,Zw),n._emitClasses=!0,n.init=!1;const s={},a=hD.map(c=>c.replace(/_/,"")),u=Object.assign({},e);return Object.keys(u).forEach(c=>{typeof e[c]>"u"||(a.indexOf(c)>=0?al(e[c])?(n[c]={},i[c]={},hu(n[c],e[c]),hu(i[c],e[c])):(n[c]=e[c],i[c]=e[c]):c.search(/on[A-Z]/)===0&&typeof e[c]=="function"?t?r[`${c[2].toLowerCase()}${c.substr(3)}`]=e[c]:n.on[`${c[2].toLowerCase()}${c.substr(3)}`]=e[c]:s[c]=e[c])}),["navigation","pagination","scrollbar"].forEach(c=>{n[c]===!0&&(n[c]={}),n[c]===!1&&delete n[c]}),{params:n,passedParams:i,rest:s,events:r}}function MEe(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:u}=e;mD(t)&&r&&i&&(u.params.navigation.nextEl=r,u.originalParams.navigation.nextEl=r,u.params.navigation.prevEl=i,u.originalParams.navigation.prevEl=i),gD(t)&&s&&(u.params.pagination.el=s,u.originalParams.pagination.el=s),vD(t)&&a&&(u.params.scrollbar.el=a,u.originalParams.scrollbar.el=a),u.init(n)}function DEe(e,t,n,r,i){const s=[];if(!t)return s;const a=c=>{s.indexOf(c)<0&&s.push(c)};if(n&&r){const c=r.map(i),f=n.map(i);c.join("")!==f.join("")&&a("children"),r.length!==n.length&&a("children")}return hD.filter(c=>c[0]==="_").map(c=>c.replace(/_/,"")).forEach(c=>{if(c in e&&c in t)if(al(e[c])&&al(t[c])){const f=Object.keys(e[c]),p=Object.keys(t[c]);f.length!==p.length?a(c):(f.forEach(g=>{e[c][g]!==t[c][g]&&a(c)}),p.forEach(g=>{e[c][g]!==t[c][g]&&a(c)}))}else e[c]!==t[c]&&a(c)}),s}const OEe=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function P3(){return P3=Object.assign?Object.assign.bind():function(e){for(var t=1;t{wD(n)?t.push(n):n.props&&n.props.children&&xD(n.props.children).forEach(r=>t.push(r))}),t}function BEe(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(r=>{if(wD(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=xD(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function jEe(e,t,n){if(!n)return null;const r=p=>{let g=p;return p<0?g=t.length+p:g>=t.length&&(g=g-t.length),g},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:a}=n,u=e.params.loop?-t.length:0,c=e.params.loop?t.length*2:t.length,f=[];for(let p=u;p=s&&p<=a&&f.push(t[r(p)]);return f.map((p,g)=>he.cloneElement(p,{swiper:e,style:i,key:`slide-${g}`}))}function Fd(e,t){return typeof window>"u"?w.useEffect(e,t):w.useLayoutEffect(e,t)}const LS=w.createContext(null),FEe=w.createContext(null),bD=w.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:a,...u}=e===void 0?{}:e,c=!1;const[f,p]=w.useState("swiper"),[g,v]=w.useState(null),[x,b]=w.useState(!1),k=w.useRef(!1),I=w.useRef(null),E=w.useRef(null),y=w.useRef(null),_=w.useRef(null),A=w.useRef(null),T=w.useRef(null),j=w.useRef(null),B=w.useRef(null),{params:F,passedParams:z,rest:P,events:H}=LEe(u),{slides:G,slots:o}=BEe(s),O=()=>{b(!x)};Object.assign(F.on,{_containerClasses(K,fe){p(fe)}});const $=()=>{Object.assign(F.on,H),c=!0;const K={...F};if(delete K.wrapperClass,E.current=new u9(K),E.current.virtual&&E.current.params.virtual.enabled){E.current.virtual.slides=G;const fe={cache:!1,slides:G,renderExternal:v,renderExternalUpdate:!1};hu(E.current.params.virtual,fe),hu(E.current.originalParams.virtual,fe)}};I.current||$(),E.current&&E.current.on("_beforeBreakpoint",O);const U=()=>{c||!H||!E.current||Object.keys(H).forEach(K=>{E.current.on(K,H[K])})},ne=()=>{!H||!E.current||Object.keys(H).forEach(K=>{E.current.off(K,H[K])})};w.useEffect(()=>()=>{E.current&&E.current.off("_beforeBreakpoint",O)}),w.useEffect(()=>{!k.current&&E.current&&(E.current.emitSlidesClasses(),k.current=!0)}),Fd(()=>{if(t&&(t.current=I.current),!!I.current)return E.current.destroyed&&$(),MEe({el:I.current,nextEl:A.current,prevEl:T.current,paginationEl:j.current,scrollbarEl:B.current,swiper:E.current},F),a&&a(E.current),()=>{E.current&&!E.current.destroyed&&E.current.destroy(!0,!1)}},[]),Fd(()=>{U();const K=DEe(z,y.current,G,_.current,fe=>fe.key);return y.current=z,_.current=G,K.length&&E.current&&!E.current.destroyed&&TEe({swiper:E.current,slides:G,passedParams:z,changedParams:K,nextEl:A.current,prevEl:T.current,scrollbarEl:B.current,paginationEl:j.current}),()=>{ne()}}),Fd(()=>{OEe(E.current)},[g]);function Y(){return F.virtual?jEe(E.current,G,g):G.map((K,fe)=>he.cloneElement(K,{swiper:E.current,swiperSlideIndex:fe}))}return he.createElement(r,P3({ref:I,className:yD(`${f}${n?` ${n}`:""}`)},P),he.createElement(FEe.Provider,{value:E.current},o["container-start"],he.createElement(i,{className:AEe(F.wrapperClass)},o["wrapper-start"],Y(),o["wrapper-end"]),mD(F)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:T,className:"swiper-button-prev"}),he.createElement("div",{ref:A,className:"swiper-button-next"})),vD(F)&&he.createElement("div",{ref:B,className:"swiper-scrollbar"}),gD(F)&&he.createElement("div",{ref:j,className:"swiper-pagination"}),o["container-end"]))});bD.displayName="Swiper";const CD=w.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:a,lazy:u,virtualIndex:c,swiperSlideIndex:f,...p}=e===void 0?{}:e;const g=w.useRef(null),[v,x]=w.useState("swiper-slide"),[b,k]=w.useState(!1);function I(A,T,j){T===g.current&&x(j)}Fd(()=>{if(typeof f<"u"&&(g.current.swiperSlideIndex=f),t&&(t.current=g.current),!(!g.current||!s)){if(s.destroyed){v!=="swiper-slide"&&x("swiper-slide");return}return s.on("_slideClass",I),()=>{s&&s.off("_slideClass",I)}}}),Fd(()=>{s&&g.current&&!s.destroyed&&x(s.getSlideClasses(g.current))},[s]);const E={isActive:v.indexOf("swiper-slide-active")>=0,isVisible:v.indexOf("swiper-slide-visible")>=0,isPrev:v.indexOf("swiper-slide-prev")>=0,isNext:v.indexOf("swiper-slide-next")>=0},y=()=>typeof r=="function"?r(E):r,_=()=>{k(!0)};return he.createElement(n,P3({ref:g,className:yD(`${v}${i?` ${i}`:""}`),"data-swiper-slide-index":c,onLoad:_},p),a&&he.createElement(LS.Provider,{value:E},he.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},y(),u&&!b&&he.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&he.createElement(LS.Provider,{value:E},y(),u&&!b&&he.createElement("div",{className:"swiper-lazy-preloader"})))});CD.displayName="SwiperSlide";const PEe=({children:e})=>{const t=iD(),n=Fbe(),r=w.useRef();return m.jsxs("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[m.jsx("button",{className:Be("left-0 z-10 hidden h-14 w-14 flex-row items-center justify-center rounded-full bg-black md:flex"),style:{position:"absolute"},onClick:()=>{var i;return(i=r.current)==null?void 0:i.slidePrev()},children:m.jsx(Ue.EoLeftArrowIcon,{})}),m.jsx("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:m.jsx(bD,{slidesPerGroup:n?3:1,loop:!0,modules:[mCe,gCe,vCe],slidesPerView:n?3:1,onBeforeInit:i=>{r.current=i},pagination:{enabled:t,clickable:!0,bulletClass:"swiper-pagination-bullet bg-black h-3 w-3"},navigation:{enabled:n},children:e.map((i,s)=>m.jsx(CD,{children:m.jsx("div",{className:"mb-12",children:i})},`carrousel-item-${s}`))})}),m.jsx("button",{className:Be("right-0 z-10 flex h-14 w-14 flex-row items-center justify-center rounded-full bg-black",t&&"hidden"),onClick:()=>{var i;return(i=r.current)==null?void 0:i.slideNext()},style:{position:"absolute"},children:m.jsx(Ue.EoRightArrowIcon,{})})]})},Vv=({flow:e})=>{let t=[];switch(e){case De.cancer_pilot:t=Hbe;break;case De.inova:t=Wbe;break;default:t=Vbe}return m.jsxs("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[m.jsx(ie,{font:"bold",variant:"large",className:"mb-20 text-center",children:e===De.cancer_pilot?"How the EO Pilot Works":"How EO Care Plans Work"}),m.jsx(PEe,{children:t.map(({title:n,content:r,step:i,icon:s})=>m.jsxs("article",{className:"mx-auto my-0 flex h-auto w-auto max-w-[361px] flex-col items-center justify-center gap-2 md:flex-none md:items-start",children:[m.jsx("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:m.jsx(s,{className:"h-9 w-[37px]"})}),m.jsx(ie,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:i}),m.jsx(ie,{font:"bold",className:"text-xl",children:n}),m.jsx(ie,{className:"text-center text-lg md:text-left",children:r})]},`${n}-${i}}`))})]})};function n1(){return m.jsxs("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-0 lg:pl-5",children:[m.jsxs("section",{className:"sm:max-w-full md:max-w-[453px]",children:[m.jsx(Ue.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),m.jsxs(ie,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",m.jsx("br",{className:"hidden md:block"}),"cannabis company."]}),m.jsx(ie,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),m.jsx("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),m.jsxs("section",{className:"flex flex-row justify-between",children:[m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),m.jsx("a",{href:"https://eo.care/web/home",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Home"}),m.jsx("a",{href:"https://eo.care/web/for-cancer",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Cancer Care"}),m.jsx("a",{href:"https://eo.care/web/for-seniors",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Seniors"}),m.jsx("a",{href:"https://eo.care/web/for-employers",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Employers"}),m.jsx("a",{href:"https://eo.care/web/for-clinicians",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Clinicians"}),m.jsx("a",{href:"https://shop.eo.care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Shop CBD"}),m.jsx("a",{href:"https://eo.care/web/about",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"About"}),m.jsx("a",{href:"https://eo.care/web/frequently-asked-questions",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"FAQs"}),m.jsx("a",{href:"https://eo.care/blog-posts",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Blog"}),m.jsx("a",{href:"https://eo.care/methodology",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Methodology"}),m.jsx("a",{href:"https://eo.care/research",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Research"}),m.jsx("a",{href:"https://www.eo.care/web/terms-of-use",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Terms of Use"}),m.jsx("a",{href:"https://www.eo.care/web/privacy-policy",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Privacy Policy"}),m.jsx("a",{href:"#",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2 cky-banner-element",children:"Cookie Preferences"})]}),m.jsxs("div",{className:"flex flex-col md:flex-row",children:[m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),m.jsx(ie,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),m.jsx("a",{href:"mailto:hello@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"hello@eo.care"}),m.jsx(ie,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),m.jsx("a",{href:"mailto:press@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"press@eo.care"}),m.jsx(ie,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),m.jsx("a",{href:"mailto:careers@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"careers@eo.care"})]}),m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),m.jsx("a",{href:"https://www.linkedin.com/company/eo-cannnabis-care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"LinkedIn"}),m.jsx("a",{href:"https://twitter.com/eocare_",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Twitter"}),m.jsx("a",{href:"https://www.instagram.com/eo.care_/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Instagram"})]})]})]})]})}const NEe=()=>{const[e]=pr(),t=e.get("submission_id")||"",n=on();t||n("/");const{postAthleteSurveyFormSubmission:r}=tr(),{mutate:i}=Dr({mutationFn:r,mutationKey:["postAthleteSurveyFormSubmission",t],onError:s=>{var a;xs.isAxiosError(s)?((a=s.response)==null?void 0:a.status)!==200&&We.error("Something went wrong"):We.error("Something went wrong")}});return ao(()=>i({submission_id:t})),m.jsxs(pt,{children:[m.jsx(oD,{children:m.jsxs(ie,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:["We received your feedback! ",m.jsx("br",{}),m.jsx("br",{}),"Thank you! ",m.jsx("br",{}),m.jsx("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",m.jsx("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",m.jsx("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a chat"})," ","with a member of our team."]})}),m.jsx(Vv,{}),m.jsx(Wv,{}),m.jsx(n1,{})]})},ED=async e=>await ai.post("/v2/profile/resend_confirmation_email",{email:e}),$Ee=async e=>await Ds.post("/api/slack-notification/eo-subscription",{email:e}),_D=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(""),{mutate:i,isLoading:s}=Dr({mutationFn:$Ee,onSuccess:()=>t(!0),onError:()=>We.error("Something went wrong, try again.")});return m.jsx("section",{className:"w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]",children:m.jsxs("div",{className:"flex flex-col items-center",children:[m.jsx(ie,{font:"bold",className:"mb-4 text-center text-[32px] leading-[40px] text-skun",children:"EO in your inbox"}),m.jsx(ie,{className:"text-center text-skun-mid",children:"Rollouts in new markets, new partnerships, research initiatives and special offers are all coming soon."}),e?m.jsx("div",{className:"mt-[30px] px-6 py-12 lg:px-32 lg:py-18 rounded-lg border-2 border-black",children:m.jsxs(ie,{font:"semiBold",className:"text-center text-lg ",children:["Thank you! ",m.jsx("br",{}),"Your submission has been received!"]})}):m.jsxs("form",{onSubmit:a=>{a.preventDefault(),i(n)},className:"mt-[30px] flex w-full flex-col justify-items-end gap-4 md:w-auto md:flex-row",children:[m.jsx("input",{className:"h-[49px] w-full rounded-[40px] border border-solid border-black bg-white py-3 pl-4 pr-2 text-black placeholder:text-gray-300 md:w-[327px]",placeholder:"Enter your email...",type:"email",value:n,onChange:a=>{r(a.target.value)}}),m.jsx(St,{type:"submit",variant:"black",font:"semiBold",disabled:s||!n,children:"Subscribe"})]})]})})},zEe=({formId:e,searchParam:t})=>{const n=w.useRef(null);return ao(()=>{setTimeout(()=>{t1(e)},400),setTimeout(()=>{n!=null&&n.current&&(n.current.style.opacity="100")},3500)},[e,t]),m.jsx("iframe",{ref:n,src:`https://form.jotform.com/${e}?${t?t.toString().replaceAll("+","%20"):""}`,id:`JotFormIFrame-${e}`,title:"",onLoad:()=>{window.parent.scrollTo(0,0)},allow:"geolocation; microphone; camera",allowFullScreen:!0,className:"h-full w-full min-w-full border-none opacity-0"})},HEe=()=>{const[e,t]=w.useState(!0);return w.useEffect(()=>{setTimeout(()=>{t(!1)},3e3)}),m.jsx(m.Fragment,{children:e&&m.jsx("div",{className:"right-[calc(50%-20px)] top-1/2 h-12 w-12 animate-spin rounded-full border-4 border-gray-200 border-t-gray-1000",style:{position:"absolute"}})})},uc=({formId:e,searchParam:t})=>m.jsxs(m.Fragment,{children:[m.jsx(HEe,{}),m.jsx(zEe,{formId:e,searchParam:t})]}),Uv=()=>m.jsx("div",{className:"right-[calc(50%-20px)] top-1/2 h-12 w-12 animate-spin rounded-full border-4 border-gray-200 border-t-gray-1000",style:{position:"absolute"}}),L7=({number:e,title:t,children:n})=>m.jsxs("div",{className:"flex flex-col items-center gap-4 max-w-[360px]",children:[m.jsx("div",{className:"rounded-full bg-electric-blue w-[70px] h-[70px] items-center justify-center flex",children:m.jsx("span",{className:"text-white font-bold text-[40px] font-new-hero",children:e})}),m.jsx(ie,{font:"bold",className:"text-center text-xl leading-[28px]",children:t}),n]}),kD=()=>m.jsxs("div",{className:"mx-6 flex flex-col-reverse justify-between lg:ml-8 lg:flex-row xl:mx-0 xl:ml-[155px] xl:mt-[144px] xl:w-[979px] xl:items-center",children:[m.jsxs("section",{className:"mt-4 flex flex-col gap-[35px] lg:mt-0",children:[m.jsxs(ie,{variant:"large",className:"!text-[48px] font-extrabold !leading-[120%]",children:["Survey already ",m.jsx("br",{}),"responded!"]}),m.jsxs(ie,{className:"text-[20px] text-gray-800",font:"regular",children:["Thank you for answering our survey! ",m.jsx("br",{}),"Your insights are greatly appreciated and will help us improve."]}),m.jsx("div",{children:m.jsx("a",{href:Bd,className:"float-left block",children:m.jsxs(St,{variant:"black",children:[m.jsx("span",{className:"hidden lg:block",children:"Go Back Home"}),m.jsx("span",{className:"lg:hidden",children:"Go Back"})]})})})]}),m.jsx(Ue.SurveyIcon,{className:"mt-0 lg:mt-6"})]}),c9=({children:e,mutationKey:t,mutationFunction:n,mutationsParams:r,mutateOnMount:i=!0})=>{const[s,a]=w.useState(i),{mutate:u}=Dr({mutationFn:n,mutationKey:t,onSuccess:()=>{a(!1)},onError:c=>{var f;xs.isAxiosError(c)?((f=c.response)==null?void 0:f.status)!==200&&We.error("Something went wrong"):We.error("Something went wrong")}});return ao(()=>{i&&u(r)}),s?m.jsx("section",{className:"relative flex flex-col items-center justify-center",children:m.jsx("div",{className:"h-[479px]",children:m.jsx(Uv,{})})}):m.jsx(oD,{children:m.jsxs(ie,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:[e??m.jsxs(m.Fragment,{children:["We received your feedback!",m.jsx("br",{}),m.jsx("br",{}),"Thank you!"]}),m.jsx("br",{}),m.jsx("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",m.jsx("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",m.jsx("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a chat"})," ","with a member of our team."]})})},Or=[{title:"Terms of use",url:"https://eo.care/web/terms-of-use"},{title:"Privacy Policy",url:"https://eo.care/web/privacy-policy"},{title:"Cookie Preferences",url:"#",extraClasses:"cky-banner-element"},{title:"Visit eo.care",url:"https://eo.care/web/home"}],WEe=[{title:"About EO",url:"https://partner.eo.care/c-org/about"},...Or],VEe=[{title:"About EO",url:"https://partner.eo.care/cancer/about"},...Or],UEe=[{title:"About EO",url:"https://partner.eo.care/inova/about"},...Or],qEe=[{title:"About EO",url:"https://partner.eo.care/inova/about"},...Or],GEe=[{title:"About EO",url:"https://partner.eo.care/twist-out-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/twist-out-cancer/cannabis-101"},...Or],ZEe=[{title:"About EO",url:"https://partner.eo.care/cancer-support-community/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cancer-support-community/cancer-101"},...Or],YEe=[{title:"About EO",url:"https://partner.eo.care/employers/about"},...Or],QEe=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-1/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-1/cannabis-101"},...Or],KEe=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-2/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-2/cannabis-101"},...Or],XEe=[{title:"About EO",url:"https://partner.eo.care/imerman/about"},{title:"Cannabis 101",url:"https://partner.eo.care/imerman/cannabis-101"},...Or],JEe=[{title:"About EO",url:"https://partner.eo.care/unite-for-her/about"},{title:"Cannabis 101",url:"https://partner.eo.care/unite-for-her/cannabis-101"},...Or],e_e=[{title:"About EO",url:"https://partner.eo.care/mass-retirees/about"},{title:"Cannabis 101",url:"https://partner.eo.care/mass-retirees/cannabis-101"},...Or],t_e=[{title:"About EO",url:"https://partner.eo.care/stupid-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/stupid-cancer/cannabis-101"},...Or],n_e={c_org:WEe,cancer_pilot:VEe,twist_out_cancer:GEe,cancer_support_community:ZEe,marketing_site:Or,employer_center:YEe,resource_center_1:QEe,resource_center_2:KEe,inova:UEe,uva:qEe,imerman:XEe,unite_for_her:JEe,mass_retirees:e_e,stupid_cancer:t_e};function SD({flow:e}){return m.jsxs("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-[10px] lg:pl-5",children:[m.jsxs("section",{className:"sm:max-w-full md:max-w-[453px]",children:[m.jsx(Ue.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/kit","_blank")}}),m.jsx(ie,{variant:"large",font:"bold",className:"mb-6 text-5xl font-extrabold text-white",children:"Wise use for all."}),m.jsx(ie,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."}),e===De.cancer_support_community&&m.jsx(ie,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"Reference in this site to any specific commercial product, process, or service, or the use of any trade, firm or corporation name is for the information and convenience of the recipient, and does not constitute endorsement, recommendation, or favoring by the Cancer Support Community."})]}),m.jsx("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),m.jsxs("section",{className:"flex flex-row justify-between",children:[m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),n_e[e].map(({title:t,url:n,extraClasses:r})=>m.jsx("a",{href:n,className:Be("mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",r),children:t},n))]}),m.jsxs("div",{className:"flex flex-col md:flex-row",children:[m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),m.jsx(ie,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"Call:"}),m.jsx("a",{href:"tel:888-823-6143",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"888-823-6143"}),m.jsx(ie,{className:"mb-0 pt-2 font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"Email:"}),m.jsx("a",{href:"mailto:support@eo.care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"support@eo.care"})]}),m.jsxs("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[m.jsx(ie,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),m.jsx("a",{href:"https://www.instagram.com/eo.care_/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Instagram"}),m.jsx("a",{href:"https://www.linkedin.com/company/eo-cannnabis-care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"LinkedIn"})]})]})]})]})}const qv=O8()(B8((e,t)=>({phase:"",email:"",flow:De.marketing_site,channel:void 0,setChannel:n=>e({channel:n}),setEmail:n=>e({email:n}),setPhase:n=>e({phase:n}),setFlow:n=>e({flow:n})}),{name:"useSurveyStore"})),r_e=[De.c_org,De.cancer_pilot,De.twist_out_cancer,De.cancer_support_community,De.resource_center_1,De.resource_center_2,De.employer_center,De.inova,De.uva],i_e=()=>{const{flow:e,email:t,phase:n,channel:r}=qv(),[i]=pr(),s=i.get("submission_id")??"",{postCancerSurveyFormSubmission:a}=tr();return!s||!r?m.jsx(Pf,{to:"/"}):m.jsxs(pt,{children:[m.jsx(c9,{mutationKey:["postCancerSurveyFormSubmission",s],mutationFunction:a,mutationsParams:{email:t,phase:n,submission_id:s,channel:r}}),m.jsx(Vv,{flow:e}),m.jsx(Wv,{flow:e}),r_e.includes(e)?m.jsx(SD,{flow:e}):m.jsx(n1,{})]})},s_e=()=>{const{type:e,symptoms:t,state:n,usePayment:r,origin:i,experience:s,account:a}=la(p=>p),u=new URLSearchParams({email:a.email,states:n??"",symptoms:t.join(","),usePayment:r?"yes":"no",origin:i,experience:s}),c=on(),f=e==="Patient"?rne:ine;return e||c(xe.userRolSelector),m.jsx(pt,{children:m.jsx("div",{className:"mb-10 flex h-screen flex-col",children:m.jsx(uc,{formId:f,searchParam:u})})})},ID=(e,t)=>{t||(t=new URLSearchParams(window.location.search));const n=t.get(e);return n?n.replace(" ","+"):null},RD=()=>`${window.location.hostname==="localhost"?"http":"https"}://${window.location.host}`,o_e=()=>{var _;const[e]=pr(),{setPhase:t,setEmail:n,setFlow:r,setChannel:i}=qv(),{surveyStatus:s,getProfilingFlow:a}=tr(),u=ID("email",e),c=e.get("profiled")??"patient",f=e.get("symptoms")??"",p=e.get("phase")??"",g=e.get("uid")??p;u||(window.location.href="https://eo.care"),ao(()=>{t(p),n(u),i(sD.cancer)});const{data:v,isLoading:x,isSuccess:b}=ju({queryFn:()=>u&&p?s(u,p):null,queryKey:["surveyStatus"]}),{isLoading:k,isSuccess:I}=ju({queryFn:()=>a(u),onSuccess:A=>{r(A.data.flow??De.marketing_site)},queryKey:["profilingFlow",u]}),E=c==="patient"?sne:one,y=new URLSearchParams({email:u,symptoms:f,origin:RD(),uid:g});return m.jsx(pt,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:m.jsxs("div",{className:"mb-10 flex h-screen flex-col",children:[x||k&&m.jsx(Uv,{}),!x&&!k&&b&&(v!=null&&v.data.active)?m.jsx(uc,{formId:E,searchParam:y}):b&&I&&(v==null?void 0:v.data)&&!((_=v==null?void 0:v.data)!=null&&_.active)&&m.jsx(kD,{})]})})},a_e=()=>{const{usePayment:e}=la(),[t]=pr(),{account:n,introQuestionSubmissionId:r,channel:i,flow:s,origin:a}=la(),u=new URLSearchParams({email:n.email,origin:a}),c=t.get("submission_id")??"",f=on(),[p,g]=w.useState(!1);c||f(xe.userRolSelector);const{postCancerFormSubmission:v,postSeniorFormSubmission:x}=tr(),{mutate:b}=Dr({mutationFn:i==="cancer"?v:x,mutationKey:["postCancerSeniorFormSubmission",c],onSuccess:()=>{g(!0)},onError:k=>{var I;xs.isAxiosError(k)&&(W3(new Error(JSON.stringify({profiling_submission_id:c,intro_submission_id:r,flow:s,channel:i,...(I=k.response)==null?void 0:I.data}))),We.error("Something went wrong"))}});return ao(()=>b({name:n.firstName,last_name:n.lastName,email:n.email,password:n.password,phone_number:n.phoneNumber,profiling_submission_id:c,intro_submission_id:r,agree_receive_notifications:n.agreeReceiveNotifications,agree_terms_and_conditions:n.agreeTermsAndConditions,channel:i,flow:s})),e?m.jsx(pt,{children:p?m.jsx(uc,{formId:hne,searchParam:u}):m.jsx(Uv,{})}):m.jsx(Pf,{to:xe.profilingThankYou,replace:!0})},l_e=()=>{const e=on();return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[m.jsxs(ie,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Looks like you’re eligible for EO! Next, we’ll get you to fill out",m.jsx("br",{}),m.jsx("br",{}),"Next, we’ll get you to fill out some information"," ",m.jsx("br",{className:"hidden md:block"})," so we can better serve you..."]}),m.jsx("div",{className:"mt-10 flex flex-row justify-center",children:m.jsx(St,{className:"text-center",onClick:()=>e(xe.profilingOne),children:"Continue"})})]})})},u_e=()=>{const e=io(),{email:t}=e.state,n=on(),{mutate:r}=Dr({mutationFn:ED,onSuccess:()=>{We.success("Email resent successfully, please check your inbox")},onError:()=>{We.error("An error occurred, please try again later")}});return t||n(xe.login),m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[m.jsxs(ie,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",m.jsx("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),m.jsx("img",{className:"mt-4 w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),m.jsx(St,{type:"submit",className:"mt-10",onClick:()=>r(t),left:m.jsx(Ue.EnvelopeIcon,{}),children:"Resend verification"})]})})},c_e=bt.object({email:bt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),d_e=()=>{var s;const{sendEmailToRecoveryPassword:e}=tr(),{formState:{errors:t},register:n,handleSubmit:r}=Ju({resolver:ec(c_e)}),{mutate:i}=Dr({mutationFn:e,onSuccess:()=>{We.success("Email sent to recovery your password, please check your inbox")},onError:a=>{var u;xs.isAxiosError(a)?((u=a.response)==null?void 0:u.status)!==200&&We.error("Something went wrong"):We.error("Something went wrong")}});return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-row items-start justify-center gap-20 px-2 md:items-center",children:[m.jsxs("div",{children:[m.jsx(ie,{variant:"large",font:"bold",children:"Reset your password"}),m.jsxs(ie,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",m.jsx("br",{className:"hidden md:block"})," on how to reset your password"]}),m.jsxs("form",{className:"mt-10 flex flex-col ",onSubmit:a=>{r(u=>{i(u.email)})(a)},children:[m.jsx(Kn,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[317px]",className:"h-12 shadow-md",...n("email"),error:(s=t.email)==null?void 0:s.message}),m.jsxs("div",{className:"flex flex-row justify-center gap-2 md:justify-start",children:[m.jsx(Og,{to:xe.login,children:m.jsx(St,{type:"button",className:"mt-10",variant:"secondary",left:m.jsx(Ue.ArrowLeftIcon,{}),children:"Back"})}),m.jsx(St,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),m.jsx("div",{className:"hidden md:block",children:m.jsx("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},f_e=()=>m.jsx(pt,{children:m.jsx("br",{})}),p_e=async e=>await ai.post("/v2/profile/login",{email:e.email,password:e.password}),h_e=async e=>await ai.post("/v2/profile",e),m_e=bt.object({email:bt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:bt.string().min(1,{message:"Password is required"})}),g_e=()=>{var k,I;const e=Ko(E=>E.setProfile),t=Ko(E=>E.setSession),[n,r]=w.useState(!1),[i,s]=w.useState(""),a=on(),[u]=pr();w.useEffect(()=>{u.has("email")&&u.has("account_confirmed")&&r(E=>(E||We.success("Your account has been activated."),!0))},[n,u]);const{formState:{errors:c},register:f,handleSubmit:p,getValues:g}=Ju({resolver:ec(m_e)}),{mutate:v}=Dr({mutationFn:p_e,onSuccess:({data:E})=>{e(E.profile),t(E.session)},onError:E=>{var y;xs.isAxiosError(E)?((y=E.response)==null?void 0:y.status)===403?a(xe.emailVerification,{state:{email:g("email")}}):s("Your email or password is incorrect"):s("Something went wrong")}}),[x,b]=w.useState(!1);return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[m.jsxs("div",{children:[m.jsx(ie,{variant:"large",font:"bold",children:"Welcome back."}),m.jsxs("form",{className:"mt-10",onSubmit:E=>{p(y=>{v(y)})(E)},children:[m.jsx(Kn,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",...f("email"),error:(k=c.email)==null?void 0:k.message}),m.jsx(Kn,{id:"password",label:"Password",right:x?m.jsx(Ue.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>b(E=>!E)}):m.jsx(Ue.EyeSlashIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>b(E=>!E)}),containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:x?"text":"password",...f("password"),error:(I=c.password)==null?void 0:I.message}),m.jsx(Og,{to:xe.forgotPassword,children:m.jsx(ie,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),m.jsx(St,{type:"submit",className:"mt-10",children:"Sign in"}),i&&m.jsx(ie,{variant:"small",id:"login-message",className:"text-red-600",children:i}),m.jsxs(ie,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",m.jsx(Og,{to:xe.register,children:m.jsx("strong",{children:"Create account"})})]})]})]}),m.jsx("div",{className:"hidden md:block",children:m.jsx("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})};var vd=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(vd||{}),Yw=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(Yw||{}),ns=(e=>(e.WorkDayMornings="Workday Mornings",e.NonWorkDayMornings="Non-Workday Mornings",e.WorkDayAfternoons="Workday Afternoons",e.NonWorkDayAfternoons="Non-Workday Afternoons",e.WorkDayEvenings="Workday Evenings",e.NonWorkDayEvenings="Non-Workday Evenings",e.WorkDayBedtimes="Workday Bedtimes",e.NonWorkDayBedtimes="Non-Workday Bedtimes",e))(ns||{}),yd=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(yd||{}),If=(e=>(e.open="I’m open to using products with THC.",e.notPrefer="I’d prefer to use non-THC (CBD/CBN/CBG) products only.",e.notSure="I’m not sure.",e))(If||{}),Pn=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(Pn||{});const v_e=(e,{C3:t,onlyCbd:n,C9:r,C8:i,C10:s,reasonToUse:a,C14:u,C15:c,C16:f,C17:p,M5:g})=>{const{currentlyUsingCannabisProducts:v}=e,x=()=>a.includes(Pn.Sleep)?"":P==="topical lotion or patch"&&a.includes(Pn.Anxiety)?"1:1 CBD:THC ratio":P==="topical lotion or patch"?"THC-dominant":n&&!v?"CBD or CBDA":n&&v?"CBD, CBDA, or CBC":a.includes(Pn.Anxiety)||i===!1&&!v?"CBD-dominant":i===!1&&v?"4:1 CBD:THC ratio":i===!0&&!v?"2:1 CBD:THC ratio":i===!0&&v?"THC-dominant":"",b=()=>g==="fast-acting form"&&f===!1&&z==="sublingual"&&p===!1?"patch":g==="fast-acting form"&&f===!1?"sublingual":g==="fast-acting form"&&p===!1?"topical lotion or patch":g==="fast-acting form"&&u===!1?"inhalation method":c===!1?"edible":p===!1?"topical lotion or patch":f===!1?"sublingual":u===!1?"inhalation method":"capsule",k=()=>P==="topical lotion or patch"?"50mg":H===""?"":H==="THC-dominant"?"2.5mg":H==="CBD-dominant"&&t===!0?"10mg":H==="CBD-dominant"||H==="4:1 CBD:THC ratio"?"5mg":H==="2:1 CBD:THC ratio"?"2.5mg":"10mg",I=()=>a.includes(Pn.Sleep)?"":P==="inhalation method"?`Use a ${H} inhalable product`:`Use ${G} of a ${H} ${P} product`,E=()=>a.includes(Pn.Anxiety)&&n?"CBDA":a.includes(Pn.Pain)&&n?"CBG plus CBD":n?"CBD":r===!0&&v?"THC-dominant":r===!0&&!v?"1:1 CBD:THC ratio":"CBD-dominant",y=()=>r&&!u?"inhalation method":r&&!f?"sublingual":u?f?c?p?"capsule":"topical lotion or patch":"edible":"sublingual":"inhalation method",_=()=>z==="topical lotion or patch"?"50mg":o==="THC-dominant"?"2.5mg":o==="CBD-dominant"?"5mg":o==="1:1 CBD:THC ratio"?"2.5mg":"10mg",A=()=>z==="inhalation method"?`Use a ${o} inhalable product`:`Use ${O} of a ${o} ${z} product`,T=()=>n?"CBN or D8-THC":s===!0?"THC-dominant":v?"1:1 CBD:THC ratio":"CBD-dominant",j=()=>c===!1?"edible":f===!1?"sublingual":p===!1?"topical lotion or patch":u===!1?"inhalation method":"capsule",B=()=>$==="topical lotion or patch"?"50mg":U==="THC-dominant"?"2.5mg":U==="CBD-dominant"?"5mg":U==="1:1 CBD:THC ratio"?"2.5mg":"10mg",F=()=>$==="inhalation method"?`Use a ${U} inhalable product`:`Use ${ne} of a ${U} ${$} product`,z=y(),P=b(),H=x(),G=k(),o=E(),O=_(),$=j(),U=T(),ne=B();return{dayTime:{time:"Morning",type:x(),form:b(),dose:k(),result:I()},evening:{time:"Evening",type:E(),form:y(),dose:_(),result:A()},bedTime:{time:"BedTime",type:T(),form:j(),dose:B(),result:F()}}},y_e=(e,{C3:t,onlyCbd:n,C5:r,C7:i,C11:s,reasonToUse:a,C14:u,C15:c,C16:f,C17:p,M5:g})=>{const{openToUseThcProducts:v,currentlyUsingCannabisProducts:x}=e,b=()=>H==="topical lotion or patch"&&a.includes(Pn.Anxiety)?"1:1 CBD:THC ratio":H==="topical lotion or patch"?"THC-dominant":a.includes(Pn.Sleep)?"":n&&s===!1?"CBD or CBDA":n&&s===!0?"CBD, CBDA, or CBC":a.includes(Pn.Anxiety)||r===!1&&s===!1?"CBD-dominant":r===!1&&s===!0?"4:1 CBD:THC ratio":r===!0&&s===!1?"2:1 CBD:THC ratio":r===!0&&s===!0?"THC-dominant":"CBD-dominant",k=()=>g==="fast-acting form"&&f===!1&&P==="sublingual"&&p===!1?"patch":g==="fast-acting form"&&f===!1?"sublingual":g==="fast-acting form"&&p===!1?"topical lotion or patch":g==="fast-acting form"&&u===!1?"inhalation method":c===!1?"edible":p===!1?"topical lotion or patch":f===!1?"sublingual":u===!1?"inhalation method":"capsule",I=()=>H==="topical lotion or patch"?"50mg":G===""?"":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"&&t===!0?"10mg":G==="CBD-dominant"||G==="4:1 CBD:THC ratio"?"5mg":G==="2:1 CBD:THC ratio"?"2.5mg":"10mg",E=()=>a.includes(Pn.Sleep)?"":H==="inhalation method"?"Use a "+G+" inhalable product":"Use "+o+" of a "+G+" "+H+" product",y=()=>a.includes(Pn.Anxiety)&&n?"CBDA":a.includes(Pn.Pain)&&n?"CBG plus CBD":n?"CBD":v.includes(ns.WorkDayEvenings)&&x?"THC-dominant":v.includes(ns.WorkDayEvenings)&&!x?"1:1 CBD:THC ratio":"CBD-dominant",_=()=>r===!0&&u===!1?"inhalation method":r===!0&&f===!1?"sublingual":u===!1?"inhalation method":f===!1?"sublingual":c===!1?"edible":p===!1?"topical lotion or patch":"capsule",A=()=>P==="topical lotion or patch"?"50mg":O==="THC-dominant"?"2.5mg":O==="CBD-dominant"?"5mg":O==="1:1 CBD:THC ratio"?"2.5mg":"10mg",T=()=>P==="inhalation method"?`Use a ${O} inhalable product`:`Use ${$} of a ${O} ${P} product`,j=()=>n?"CBN or D8-THC":i===!0?"THC-dominant":s===!0?"1:1 CBD:THC ratio":"CBD-dominant",B=()=>c===!1?"edible":f===!1?"sublingual":p===!1?"topical lotion or patch":u===!1?"inhalation method":"capsule",F=()=>ne==="topical lotion or patch"?"50mg":U==="THC-dominant"?"2.5mg":U==="CBD-dominant"?"5mg":U==="1:1 CBD:THC ratio"?"2.5mg":"10mg",z=()=>ne==="inhalation method"?`Use a ${U} inhalable product`:`Use ${Y} of a ${U} ${ne} product`,P=_(),H=k(),G=b(),o=I(),O=y(),$=A(),U=j(),ne=B(),Y=F();return{dayTime:{time:"Morning",type:b(),form:k(),dose:I(),result:E()},evening:{time:"Evening",type:y(),form:_(),dose:A(),result:T()},bedTime:{time:"BedTime",type:j(),form:B(),dose:F(),result:z()}}},AD=e=>{const{symptomsWorseTimes:t,thcTypePreferences:n,openToUseThcProducts:r,currentlyUsingCannabisProducts:i,reasonToUse:s,avoidPresentation:a}=e,u=s.includes(Pn.Sleep)?"":t.includes(Yw.Morning)?"fast-acting form":"long-lasting form",c=n===If.notPrefer,f=t.includes(Yw.Morning),p=r.includes(ns.WorkDayMornings),g=r.includes(ns.WorkDayBedtimes),v=r.includes(ns.NonWorkDayMornings),x=r.includes(ns.NonWorkDayEvenings),b=r.includes(ns.NonWorkDayBedtimes),k=i,I=a.includes(yd.inhalation),E=a.includes(yd.edibles),y=a.includes(yd.sublinguals),_=a.includes(yd.topicals),A=y_e(e,{C3:f,onlyCbd:c,C5:p,C7:g,C11:k,reasonToUse:s,C14:I,C15:E,C16:y,C17:_,M5:u}),T=v_e(e,{C10:b,reasonToUse:s,C14:I,C15:E,C16:y,C17:_,C3:f,C8:v,C9:x,M5:u,onlyCbd:c});return{workdayPlan:A,nonWorkdayPlan:T,whyRecommended:(()=>c&&s.includes(Pn.Pain)?"CBD and CBDA are predominantly researched for their potential in addressing chronic pain and inflammation. CBG has demonstrated potential for its anti-inflammatory and analgesic effects. Preliminary investigations also imply that CBN and D8-THC may contribute to enhancing sleep quality and providing relief during sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":c&&s.includes(Pn.Anxiety)?"Extensive research has been conducted on the therapeutic impacts of both CBD and CBDA on anxiety, with positive results. Preliminary investigations also indicate that CBN and D8-THC may be beneficial in promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":c&&s.includes(Pn.Sleep)?"CBD can be helpful in the evening for getting the mind and body relaxed and ready for sleep. Some early studies indicate that CBN as well as D8-THC can be effective for promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":r.includes(ns.WorkDayEvenings)&&p&&g&&v&&x&&b?"Given that you indicated you're open to feeling the potentially altering effects of THC, we recommended a plan that at times has stronger proportions of THC, which may help provide more effective symptom relief. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":!r.includes(ns.WorkDayEvenings)&&!p&&!g&&!v&&!x&&!b?"Given that you'd like to avoid the potentially altering effects of THC, we primarily recommend using products with higher concentrations of CBD. Depending on your experience level, some THC may not feel altering. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":"For times when you're looking to maintain a clear head, we recommended product types that are lower in THC in relation to CBD, and higher THC at times when you're more able to relax and unwind. The amount of THC in relation to CBD relates to your recent use of cannabis, as we always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.")()}},MS=()=>m.jsxs("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.92656 147.34C14.8215 158.174 40.4865 163.667 81.1941 163.667C104.713 163.667 123.648 161.654 137.417 157.761C147.949 154.808 155.479 150.575 159.79 145.403C161.05 144.072 162.041 142.495 162.706 140.764C163.371 139.033 163.697 137.183 163.664 135.321C163.191 124.778 162.183 114.268 160.645 103.834C157.243 79.8335 151.787 60.0649 144.511 45.0174C132.488 20.0574 115.772 9.26088 103.876 4.59617C96.4487 1.54077 88.4923 0.100139 80.5029 0.364065C72.5868 0.592629 64.7822 2.35349 57.4935 5.55544C45.816 10.5211 29.864 21.3741 19.478 44.8293C10.0923 65.9898 5.39948 89.5015 3.10764 105.489C1.63849 115.377 0.715404 125.343 0.342871 135.34C0.266507 137.559 0.634231 139.77 1.42299 141.835C2.21174 143.9 3.40453 145.774 4.92656 147.34ZM59.6762 11.8754C66.2296 8.96617 73.2482 7.33985 80.3756 7.079V7.24828H80.9212C88.0885 6.98588 95.2303 8.26693 101.893 11.0101C108.8 13.7827 115.165 17.8226 120.683 22.9353C128.191 30.0319 134.315 38.5491 138.727 48.0269C155.388 82.4104 157.207 135.133 157.207 135.66V135.904C156.993 138.028 156.02 139.994 154.479 141.415C149.24 147.227 132.742 156.952 81.1941 156.952C59.7126 156.952 42.451 155.391 29.8822 152.344C20.0964 149.955 13.2936 146.72 9.65577 142.732C8.73849 141.824 8.01535 140.727 7.5329 139.512C7.05045 138.297 6.8194 136.991 6.85462 135.678V135.547C6.85462 135.058 8.03692 86.8118 25.3349 47.6131C32.9198 30.4778 44.47 18.4586 59.6762 11.8754ZM44.7634 44.1274C45.2627 44.4383 45.8336 44.6048 46.4165 44.6097C46.952 44.6028 47.478 44.4624 47.9498 44.2005C48.4216 43.9385 48.8253 43.5627 49.1267 43.1049C55.2816 34.6476 64.1146 28.6958 74.0824 26.2894C74.4968 26.1893 74.8881 26.0059 75.234 25.7494C75.5798 25.493 75.8735 25.1687 76.0981 24.7949C76.3227 24.4211 76.474 24.0052 76.5432 23.571C76.6124 23.1368 76.5983 22.6927 76.5015 22.2642C76.4048 21.8356 76.2274 21.431 75.9794 21.0733C75.7314 20.7156 75.4177 20.412 75.0563 20.1797C74.6948 19.9474 74.2927 19.791 73.8728 19.7194C73.4529 19.6478 73.0235 19.6625 72.609 19.7625C60.9982 22.4967 50.7337 29.4772 43.7063 39.4183C43.3904 39.9249 43.2118 40.5098 43.1892 41.1121C43.1666 41.7144 43.3007 42.312 43.5776 42.8423C43.8545 43.3727 44.264 43.8165 44.7634 44.1274Z",fill:"black"}),m.jsx("path",{d:"M4.92656 147.34L5.11125 147.172L5.10584 147.166L4.92656 147.34ZM137.417 157.761L137.35 157.52L137.349 157.52L137.417 157.761ZM159.79 145.403L159.608 145.231L159.603 145.237L159.598 145.243L159.79 145.403ZM162.706 140.764L162.939 140.854L162.706 140.764ZM163.664 135.321L163.914 135.317L163.914 135.31L163.664 135.321ZM160.645 103.834L160.397 103.869L160.397 103.871L160.645 103.834ZM144.511 45.0174L144.286 45.1259L144.286 45.1263L144.511 45.0174ZM103.876 4.59617L103.781 4.8274L103.785 4.82891L103.876 4.59617ZM80.5029 0.364065L80.5101 0.613963L80.5111 0.613928L80.5029 0.364065ZM57.4935 5.55544L57.5913 5.78552L57.594 5.78433L57.4935 5.55544ZM19.478 44.8293L19.7065 44.9307L19.7066 44.9306L19.478 44.8293ZM3.10764 105.489L3.35493 105.526L3.35511 105.525L3.10764 105.489ZM0.342871 135.34L0.0930433 135.331L0.0930188 135.331L0.342871 135.34ZM1.42299 141.835L1.18944 141.924H1.18944L1.42299 141.835ZM80.3756 7.079H80.6256V6.81968L80.3664 6.82916L80.3756 7.079ZM59.6762 11.8754L59.7755 12.1048L59.7776 12.1039L59.6762 11.8754ZM80.3756 7.24828H80.1256V7.49828H80.3756V7.24828ZM80.9212 7.24828V7.49845L80.9304 7.49811L80.9212 7.24828ZM101.893 11.0101L101.798 11.2413L101.8 11.2422L101.893 11.0101ZM120.683 22.9353L120.855 22.7536L120.853 22.7519L120.683 22.9353ZM138.727 48.0269L138.5 48.1324L138.502 48.1359L138.727 48.0269ZM157.207 135.904L157.456 135.929L157.457 135.917V135.904H157.207ZM154.479 141.415L154.309 141.232L154.301 141.239L154.293 141.248L154.479 141.415ZM29.8822 152.344L29.8229 152.586L29.8233 152.586L29.8822 152.344ZM9.65577 142.732L9.84069 142.563L9.83167 142.554L9.65577 142.732ZM7.5329 139.512L7.30055 139.604L7.5329 139.512ZM6.85462 135.678L7.10462 135.685V135.678H6.85462ZM25.3349 47.6131L25.1063 47.5119L25.1062 47.5122L25.3349 47.6131ZM46.4165 44.6097L46.4144 44.8597L46.4197 44.8597L46.4165 44.6097ZM47.9498 44.2005L48.0711 44.419L47.9498 44.2005ZM49.1267 43.1049L48.9243 42.9577L48.9179 42.9675L49.1267 43.1049ZM74.0824 26.2894L74.0237 26.0464L74.0237 26.0464L74.0824 26.2894ZM75.234 25.7494L75.3829 25.9503V25.9503L75.234 25.7494ZM76.0981 24.7949L76.3124 24.9237L76.0981 24.7949ZM75.0563 20.1797L75.1915 19.9694V19.9694L75.0563 20.1797ZM73.8728 19.7194L73.9148 19.473L73.8728 19.7194ZM72.609 19.7625L72.6663 20.0059L72.6677 20.0056L72.609 19.7625ZM43.7063 39.4183L43.5022 39.274L43.498 39.2799L43.4942 39.286L43.7063 39.4183ZM43.1892 41.1121L42.9394 41.1027L43.1892 41.1121ZM43.5776 42.8423L43.7992 42.7266L43.5776 42.8423ZM81.1941 163.417C60.8493 163.417 44.2756 162.044 31.5579 159.322C18.8323 156.598 10.0053 152.53 5.11116 147.172L4.74196 147.509C9.74275 152.984 18.6958 157.08 31.4533 159.811C44.2188 162.543 60.8313 163.917 81.1941 163.917V163.417ZM137.349 157.52C123.611 161.405 104.702 163.417 81.1941 163.417V163.917C104.723 163.917 123.684 161.904 137.485 158.001L137.349 157.52ZM159.598 145.243C155.333 150.36 147.858 154.573 137.35 157.52L137.485 158.001C148.039 155.042 155.625 150.791 159.982 145.563L159.598 145.243ZM162.473 140.675C161.819 142.375 160.845 143.924 159.608 145.231L159.971 145.575C161.254 144.22 162.263 142.615 162.939 140.854L162.473 140.675ZM163.414 135.325C163.446 137.156 163.126 138.974 162.473 140.675L162.939 140.854C163.616 139.093 163.947 137.211 163.914 135.317L163.414 135.325ZM160.397 103.871C161.935 114.296 162.942 124.798 163.414 135.332L163.914 135.31C163.441 124.758 162.432 114.24 160.892 103.798L160.397 103.871ZM144.286 45.1263C151.547 60.1428 156.998 79.8842 160.397 103.869L160.892 103.799C157.489 79.7828 152.027 59.9869 144.736 44.9086L144.286 45.1263ZM103.785 4.82891C115.628 9.47311 132.293 20.2287 144.286 45.1259L144.736 44.9089C132.683 19.8862 115.915 9.04865 103.967 4.36342L103.785 4.82891ZM80.5111 0.613928C88.465 0.351177 96.3862 1.78538 103.781 4.82737L103.971 4.36496C96.5112 1.29616 88.5196 -0.150899 80.4946 0.114201L80.5111 0.613928ZM57.594 5.78433C64.8535 2.59525 72.6263 0.841591 80.5101 0.61396L80.4957 0.114169C72.5472 0.343667 64.711 2.11173 57.3929 5.32655L57.594 5.78433ZM19.7066 44.9306C30.0628 21.5426 45.9621 10.7306 57.5913 5.7855L57.3957 5.32538C45.6699 10.3116 29.6652 21.2056 19.2494 44.7281L19.7066 44.9306ZM3.35511 105.525C5.64556 89.5467 10.3343 66.0609 19.7065 44.9307L19.2494 44.728C9.85033 65.9188 5.1534 89.4563 2.86017 105.454L3.35511 105.525ZM0.592698 135.349C0.964888 125.362 1.88712 115.405 3.35492 105.526L2.86035 105.453C1.38985 115.35 0.465919 125.325 0.0930443 135.331L0.592698 135.349ZM1.65653 141.746C0.879739 139.712 0.517502 137.534 0.592723 135.348L0.0930188 135.331C0.0155122 137.583 0.388723 139.828 1.18944 141.924L1.65653 141.746ZM5.10584 147.166C3.60778 145.625 2.43332 143.779 1.65653 141.746L1.18944 141.924C1.99017 144.021 3.20128 145.924 4.74729 147.514L5.10584 147.166ZM80.3664 6.82916C73.2071 7.09119 66.1572 8.72482 59.5748 11.6469L59.7776 12.1039C66.3021 9.20753 73.2894 7.58851 80.3847 7.32883L80.3664 6.82916ZM80.6256 7.24828V7.079H80.1256V7.24828H80.6256ZM80.9212 6.99828H80.3756V7.49828H80.9212V6.99828ZM101.989 10.779C95.2926 8.02222 88.1153 6.73474 80.9121 6.99845L80.9304 7.49811C88.0618 7.23703 95.168 8.51165 101.798 11.2413L101.989 10.779ZM120.853 22.7519C115.313 17.6187 108.922 13.5622 101.987 10.7781L101.8 11.2422C108.678 14.0032 115.018 18.0265 120.513 23.1186L120.853 22.7519ZM138.953 47.9214C134.529 38.4153 128.386 29.8722 120.855 22.7536L120.511 23.1169C127.996 30.1917 134.102 38.6828 138.5 48.1324L138.953 47.9214ZM157.457 135.66C157.457 135.383 157.001 122.058 154.462 104.504C151.924 86.9516 147.299 65.1446 138.952 47.9179L138.502 48.1359C146.815 65.2927 151.431 87.0387 153.967 104.575C155.235 113.341 155.983 121.05 156.413 126.599C156.628 129.374 156.764 131.609 156.847 133.166C156.888 133.945 156.915 134.554 156.933 134.977C156.941 135.188 156.947 135.352 156.951 135.468C156.953 135.526 156.955 135.571 156.956 135.604C156.956 135.62 156.956 135.633 156.957 135.643C156.957 135.648 156.957 135.652 156.957 135.655C156.957 135.656 156.957 135.657 156.957 135.658C156.957 135.659 156.957 135.659 156.957 135.66H157.457ZM157.457 135.904V135.66H156.957V135.904H157.457ZM154.648 141.599C156.235 140.135 157.235 138.113 157.456 135.929L156.958 135.879C156.75 137.944 155.805 139.852 154.309 141.232L154.648 141.599ZM81.1941 157.202C132.752 157.202 149.349 147.48 154.664 141.583L154.293 141.248C149.131 146.975 132.733 156.702 81.1941 156.702V157.202ZM29.8233 152.586C42.4197 155.64 59.7037 157.202 81.1941 157.202V156.702C59.7214 156.702 42.4822 155.141 29.9411 152.101L29.8233 152.586ZM9.47108 142.9C13.1607 146.945 20.0245 150.195 29.8229 152.586L29.9415 152.101C20.1683 149.715 13.4266 146.494 9.84046 142.563L9.47108 142.9ZM7.30055 139.604C7.79556 140.851 8.53777 141.977 9.47986 142.91L9.83167 142.554C8.93921 141.671 8.23513 140.603 7.76525 139.42L7.30055 139.604ZM6.60471 135.672C6.56859 137.018 6.80555 138.358 7.30055 139.604L7.76525 139.42C7.29535 138.236 7.07021 136.964 7.10453 135.685L6.60471 135.672ZM6.60462 135.547V135.678H7.10462V135.547H6.60462ZM25.1062 47.5122C7.78667 86.7596 6.60462 135.048 6.60462 135.547H7.10462C7.10462 135.067 8.28717 86.8639 25.5636 47.7141L25.1062 47.5122ZM59.5769 11.646C44.3053 18.2575 32.7131 30.3272 25.1063 47.5119L25.5635 47.7143C33.1266 30.6284 44.6346 18.6598 59.7755 12.1048L59.5769 11.646ZM46.4186 44.3597C45.8822 44.3552 45.3562 44.202 44.8955 43.9152L44.6312 44.3397C45.1693 44.6746 45.7851 44.8545 46.4144 44.8597L46.4186 44.3597ZM47.8284 43.9819C47.3925 44.2239 46.9071 44.3534 46.4133 44.3597L46.4197 44.8597C46.9969 44.8522 47.5634 44.7009 48.0711 44.419L47.8284 43.9819ZM48.9179 42.9675C48.6383 43.3921 48.2644 43.7398 47.8284 43.9819L48.0711 44.419C48.5788 44.1372 49.0123 43.7333 49.3355 43.2424L48.9179 42.9675ZM74.0237 26.0464C63.997 28.467 55.1136 34.4536 48.9246 42.9578L49.3288 43.252C55.4496 34.8417 64.2323 28.9246 74.141 26.5324L74.0237 26.0464ZM75.0851 25.5486C74.7659 25.7853 74.4052 25.9543 74.0237 26.0464L74.141 26.5324C74.5884 26.4244 75.0103 26.2265 75.3829 25.9503L75.0851 25.5486ZM75.8838 24.6661C75.6758 25.0122 75.4043 25.3119 75.0851 25.5486L75.3829 25.9503C75.7554 25.6741 76.0711 25.3251 76.3124 24.9237L75.8838 24.6661ZM76.2963 23.5317C76.2321 23.9345 76.0918 24.32 75.8838 24.6661L76.3124 24.9237C76.5536 24.5222 76.7159 24.076 76.7901 23.6104L76.2963 23.5317ZM76.2577 22.3192C76.3474 22.7168 76.3605 23.1288 76.2963 23.5317L76.7901 23.6104C76.8643 23.1448 76.8491 22.6687 76.7454 22.2091L76.2577 22.3192ZM75.7739 21.2157C76.0034 21.5468 76.1679 21.9217 76.2577 22.3192L76.7454 22.2091C76.6416 21.7495 76.4513 21.3152 76.1848 20.9309L75.7739 21.2157ZM74.9211 20.39C75.2546 20.6043 75.5445 20.8848 75.7739 21.2157L76.1848 20.9309C75.9184 20.5465 75.5809 20.2197 75.1915 19.9694L74.9211 20.39ZM73.8308 19.9659C74.2172 20.0317 74.5877 20.1757 74.9211 20.39L75.1915 19.9694C74.802 19.7191 74.3682 19.5503 73.9148 19.473L73.8308 19.9659ZM72.6677 20.0056C73.0492 19.9135 73.4443 19.9 73.8308 19.9659L73.9148 19.473C73.4614 19.3957 72.9977 19.4115 72.5504 19.5195L72.6677 20.0056ZM43.9104 39.5626C50.9035 29.6702 61.1162 22.7257 72.6663 20.0059L72.5517 19.5192C60.8802 22.2676 50.564 29.2842 43.5022 39.274L43.9104 39.5626ZM43.439 41.1215C43.46 40.5623 43.6259 40.0198 43.9184 39.5506L43.4942 39.286C43.155 39.8299 42.9636 40.4573 42.9394 41.1027L43.439 41.1215ZM43.7992 42.7266C43.5426 42.2351 43.418 41.6807 43.439 41.1215L42.9394 41.1027C42.9151 41.7481 43.0588 42.3888 43.356 42.958L43.7992 42.7266ZM44.8955 43.9152C44.4347 43.6283 44.0558 43.2182 43.7992 42.7266L43.356 42.958C43.6532 43.5273 44.0933 44.0047 44.6312 44.3397L44.8955 43.9152Z",fill:"black"})]}),Qw=e=>{switch(e){case"patch":return m.jsx(Ue.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return m.jsx("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m.jsx("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"topical lotion or patch":return m.jsx("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M114.249 57.1081C127.383 72.9966 132.256 93.7575 127.595 114.095C122.935 133.585 110.012 149.473 92.4289 157.735C83.7432 161.76 74.6339 163.667 65.1008 163.667C55.5677 163.667 46.2465 161.548 37.7726 157.735C19.7657 149.473 6.84314 133.585 2.39437 114.095C-2.26624 93.9693 2.60621 72.9966 15.7407 57.1081L60.652 2.23999C62.7705 -0.302164 67.0074 -0.302164 68.914 2.23999L114.249 57.1081ZM64.8889 152.863C72.9391 152.863 80.5655 151.168 87.7683 147.99C102.598 141.211 113.402 127.865 117.215 111.553C121.24 94.6049 117.003 77.0217 105.987 63.6754L64.8889 13.8915L23.7908 63.6754C12.7748 77.0217 8.5379 94.6049 12.563 111.553C16.3762 127.865 27.1804 141.211 42.0096 147.99C49.2123 151.168 56.8388 152.863 64.8889 152.863ZM97.7159 99.9199C97.7159 96.9541 100.046 94.6238 103.012 94.6238C105.978 94.6238 108.308 97.1659 108.308 99.9199C108.308 121.105 91.1487 138.264 69.9641 138.264C66.9982 138.264 64.6679 135.934 64.6679 132.968C64.6679 130.002 66.9982 127.672 69.9641 127.672C85.217 127.672 97.7159 115.173 97.7159 99.9199Z",fill:"black"})});case"inhalation method":return m.jsx("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m.jsx("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"edible":return m.jsx(MS,{});case"capsule":return m.jsx(MS,{});default:return m.jsx(Ue.CheckIcon,{className:"stroke-[5px]"})}},w_e=()=>{const{getSubmission:e}=tr(),{data:t}=ju({queryFn:e,queryKey:["getSubmission"]}),n=t==null?void 0:t.data.values,{nonWorkdayPlan:r,workdayPlan:i,whyRecommended:s}=AD(n?{avoidPresentation:n.areThere,currentlyUsingCannabisProducts:n.usingCannabisProducts==="Yes",openToUseThcProducts:n.workday_allow_intoxication_nonworkday_allow_intoxi,reasonToUse:n.whatBrings,symptomsWorseTimes:n.symptoms_worse_times,thcTypePreferences:n.thc_type_preferences}:{avoidPresentation:[],currentlyUsingCannabisProducts:!1,openToUseThcProducts:[],reasonToUse:[],symptomsWorseTimes:[],thcTypePreferences:If.notSure}),a=on(),u=[{title:"IN THE MORNINGS",label:i.dayTime.result,description:"",form:i.dayTime.form,type:i.dayTime.type},{title:"IN THE EVENING",label:i.evening.result,description:"",form:i.evening.form,type:i.evening.type},{title:"AT BEDTIME",label:i.bedTime.result,description:"",form:i.bedTime.form,type:i.bedTime.type}],c=[{title:"IN THE MORNINGS",label:r.dayTime.result,description:"",form:r.dayTime.form,type:r.dayTime.type},{title:"IN THE EVENING",label:r.evening.result,description:"",form:r.evening.form,type:r.evening.type},{title:"AT BEDTIME",label:r.bedTime.result,description:"",form:r.bedTime.form,type:r.bedTime.type}];return m.jsx(pt,{children:m.jsx("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:m.jsxs("div",{className:"w-full max-w-[1211px] lg:w-3/5",children:[m.jsx("header",{children:m.jsx(ie,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),m.jsxs("section",{className:"flex flex-col items-center justify-center gap-10 bg-cream-200 px-0 py-7 md:px-10 lg:flex-row",children:[m.jsxs("article",{className:"flex flex-row items-center justify-center gap-4",children:[m.jsx("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:m.jsx(Ue.CheckIcon,{className:"stroke-[5px]"})}),m.jsxs("div",{className:"flex w-full flex-col md:w-[316px]",children:[m.jsx(ie,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),m.jsx(ie,{variant:"base",className:"underline",children:"Product types/forms."}),m.jsx(ie,{variant:"base",className:"underline",children:"Starting doses."}),m.jsx(ie,{variant:"base",className:"underline",children:"Times of uses."}),m.jsx(St,{variant:"white",right:m.jsx(Ue.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{a(xe.profilingTwo)},children:"Save Recommendations"})]})]}),m.jsxs("article",{className:"flex-wor flex items-center justify-center gap-4",children:[m.jsx("div",{children:m.jsx("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:m.jsx(Ue.XMarkIcon,{className:"stroke-[3px]"})})}),m.jsxs("div",{className:"flex w-[316px] flex-col",children:[m.jsx(ie,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),m.jsx(ie,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),m.jsx(ie,{variant:"base",className:"underline",children:"Clinician review & approval."}),m.jsx(ie,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),m.jsx(St,{variant:"white",right:m.jsx(Ue.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{a(xe.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),m.jsxs("section",{children:[m.jsx("header",{children:m.jsx(ie,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),m.jsx("main",{className:"flex flex-col gap-14",children:u.map(({title:f,label:p,description:g,type:v,form:x})=>v?m.jsxs("article",{className:"gap-4 divide-y divide-gray-300",children:[m.jsx(ie,{className:"text-gray-300",children:f}),m.jsxs("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[m.jsx("div",{className:"w-14",children:m.jsx("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Qw(x)})}),m.jsxs("div",{children:[m.jsx(ie,{font:"semiBold",className:"font-nobel",children:p}),m.jsx(ie,{className:"hidden md:block",children:g})]})]})]},f):m.jsx(m.Fragment,{}))})]}),m.jsxs("section",{children:[m.jsx(ie,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),m.jsx("main",{className:"flex flex-col gap-14",children:c.map(({title:f,label:p,description:g,type:v,form:x})=>v?m.jsxs("article",{className:"gap-4 divide-y divide-gray-300",children:[m.jsx(ie,{className:"text-gray-300",children:f}),m.jsxs("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[m.jsx("div",{className:"w-14",children:m.jsx("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Qw(x)})}),m.jsxs("div",{children:[m.jsx(ie,{font:"semiBold",className:"font-nobel",children:p}),m.jsx(ie,{className:"hidden md:block",children:g})]})]})]},f):m.jsx(m.Fragment,{}))})]}),m.jsx("section",{children:m.jsxs("header",{children:[m.jsx(ie,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),m.jsx(ie,{className:"mb-8 mt-12",children:s})]})}),m.jsx("footer",{children:m.jsxs(ie,{className:"mb-8 mt-12",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an EO clinician. To most responsibly define and maintain an optimal cannabis regimen,",m.jsx("a",{href:xe.register,className:"underline",children:"get your EO care plan now."})]})})]})})})},x_e=()=>{const[e]=pr(),t=e.get("submission_id"),n=e.get("union"),[r,i]=w.useState(!1),s=10,[a,u]=w.useState(0),{getSubmissionById:c}=tr(),{data:f}=ju({queryFn:()=>c(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:A})=>{(A.malady===vd.Pain||A.malady===vd.Anxiety||A.malady===vd.Sleep||A.malady===vd.Other)&&i(!0),u(T=>T+1)},refetchInterval:r||a>=s?!1:1500}),p=f==null?void 0:f.data,{nonWorkdayPlan:g,workdayPlan:v,whyRecommended:x}=AD({avoidPresentation:(p==null?void 0:p.areThere)||[],currentlyUsingCannabisProducts:(p==null?void 0:p.usingCannabisProducts)==="Yes",openToUseThcProducts:(p==null?void 0:p.workday_allow_intoxication_nonworkday_allow_intoxi)||[],reasonToUse:(p==null?void 0:p.whatBrings)||[],symptomsWorseTimes:(p==null?void 0:p.symptoms_worse_times)||[],thcTypePreferences:(p==null?void 0:p.thc_type_preferences)||If.notSure}),b=A=>{let T="";switch(A.time){case"Morning":T="IN THE MORNINGS";break;case"Evening":T="IN THE EVENING";break;case"BedTime":T="AT BEDTIME";break}return{title:T,label:A.result,description:"",form:A.form,type:A.type}},k=Object.values(v).map(b).filter(A=>!!A.type),I=Object.values(g).map(b).filter(A=>!!A.type),E=(p==null?void 0:p.thc_type_preferences)===If.notPrefer,y=k.length||I.length,_=(A,T)=>m.jsxs("section",{className:"mt-8",children:[m.jsx("header",{children:m.jsx(ie,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:A})}),m.jsx("main",{className:"flex flex-col gap-14",children:T.map(({title:j,label:B,description:F,form:z})=>m.jsxs("article",{className:"gap-4 divide-y divide-gray-300",children:[m.jsx(ie,{className:"text-gray-600",children:j}),m.jsxs("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[m.jsx("div",{className:"w-14",children:m.jsx("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Qw(z)})}),m.jsxs("div",{children:[m.jsx(ie,{font:"semiBold",className:"font-nobel",children:B}),m.jsx(ie,{className:"hidden md:block",children:F})]})]})]},j))})]});return m.jsx(pt,{children:m.jsx("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:m.jsxs("div",{className:"w-full max-w-[1211px] md:w-[90%] lg:w-4/5",children:[m.jsx("header",{children:m.jsx(ie,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),m.jsxs("section",{className:"grid grid-cols-1 items-center justify-center divide-x divide-solid bg-cream-200 px-0 py-7 md:px-3 lg:grid-cols-2 lg:divide-gray-400",children:[m.jsxs("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[m.jsx("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:m.jsx(Ue.CheckIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),m.jsxs("div",{className:"flex w-[316px] flex-col p-4",children:[m.jsx(ie,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),m.jsx(ie,{variant:"base",font:"medium",children:"Product types/forms."}),m.jsx(ie,{variant:"base",font:"medium",children:"Starting doses."}),m.jsx(ie,{variant:"base",font:"medium",children:"Times of uses."}),m.jsx(St,{id:"ga-save-recomendation",variant:"white",right:m.jsx(Ue.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${n}/account?submission_id=${t}&union=${n}`},children:m.jsx(ie,{font:"medium",children:"Save Recommendations"})})]})]}),m.jsxs("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[m.jsx("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:m.jsx(Ue.XMarkIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),m.jsxs("div",{className:"flex w-[316px] flex-col p-4",children:[m.jsx(ie,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),m.jsx(ie,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),m.jsx(ie,{variant:"base",font:"medium",children:"Clinician review & approval."}),m.jsx(ie,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),m.jsx(St,{id:"ga-continue-recomendation",variant:"white",right:m.jsx(Ue.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${n}/account?submission_id=${t}&union=${n}`},children:m.jsx(ie,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!r||!y?m.jsx(m.Fragment,{children:a{window.location.href=`/${n}/profile-onboarding?malady=${(p==null?void 0:p.malady)||"Pain"}&union=${n}`},children:m.jsx(ie,{font:"medium",children:"Redirect"})}),m.jsx(ie,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),m.jsx("section",{children:m.jsxs("header",{children:[m.jsx(ie,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),m.jsx(ie,{className:"mb-4 mt-4 py-2 text-justify",children:x})]})}),m.jsx("footer",{children:m.jsxs(ie,{className:"mb-8 mt-4 text-justify",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an EO clinician. To most responsibly define and maintain an optimal cannabis regimen,"," ",m.jsx("span",{onClick:()=>{window.location.href=`/${n}/account?submission_id=${t}&union=${n}`},className:"poin cursor-pointer font-bold underline",children:"get your EO care plan now."})]})})]})})})},b_e=()=>(w.useEffect(()=>{t1(Jy)}),m.jsx(pt,{children:m.jsx("div",{className:"mb-10 flex h-screen flex-col",children:m.jsx("iframe",{id:`JotFormIFrame-${Jy}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${Jy}?isuser=Yes`,className:"h-full w-full"})})})),C_e=()=>{const e=on(),[t,n]=w.useState(!1),{combineProfileOne:r}=tr(),[i]=pr();i.get("submission_id")||e(xe.login);const{mutate:s}=Dr({mutationFn:r,onSuccess:()=>{setTimeout(()=>{e(xe.prePlan)},5e3)},onError:()=>{n(!1)}});return w.useEffect(()=>{t||n(a=>(a||s(i.get("submission_id")||""),!0))},[s,i,t]),m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[m.jsx(ie,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),m.jsx(St,{type:"button",className:"mt-10",onClick:()=>e(xe.prePlan),children:"Continue!"})]})})},E_e=()=>(w.useEffect(()=>{t1(e7)}),m.jsx(pt,{children:m.jsx("div",{className:"mb-10 flex h-screen flex-col",children:m.jsx("iframe",{id:`JotFormIFrame-${e7}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${e7}`,className:"h-full w-full"})})})),TD=e=>{const t=()=>{const r=document.createElement("script");return r.type="text/javascript",r.textContent=`Zuko.trackForm({slug:'${e}'}).trackEvent(Zuko.COMPLETION_EVENT);`,setTimeout(()=>{document.body.appendChild(r)},2e3),()=>{setTimeout(()=>{document.body.removeChild(r)},2e3)}},n=()=>{const r=document.createElement("script");return r.type="text/javascript",r.textContent=`Zuko.trackForm({target:document.body,slug:"${e}"}).trackEvent(Zuko.FORM_VIEW_EVENT);`,setTimeout(()=>{document.body.appendChild(r)},2e3),()=>{setTimeout(()=>{document.body.removeChild(r)},2e3)}};return w.useEffect(()=>{const r=document.createElement("script");return r.type="text/javascript",r.async=!0,r.src="https://assets.zuko.io/js/v2/client.min.js",document.body.appendChild(r),()=>{document.body.removeChild(r)}},[]),{triggerCompletionEvent:t,triggerViewEvent:n}},__e=()=>{const e=on(),[t,n]=w.useState(!1),{combineProfileOne:r}=tr(),[i]=pr(),{triggerCompletionEvent:s}=TD(DL);i.get("submission_id")||e(xe.login);const{mutate:a}=Dr({mutationFn:r,onSuccess:()=>{n(!0),setTimeout(()=>{e(xe.profilingTwo)},5e3)}});return w.useEffect(s,[s]),w.useEffect(()=>{t||a(i.get("submission_id")||"")},[a,i,t]),m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[m.jsxs(ie,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",m.jsx("br",{}),m.jsx("br",{})," In a few minutes we will send you by email."," ",m.jsx("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),m.jsx(St,{type:"button",className:"mt-10",onClick:()=>e(xe.home),children:"Go home"})]})})},k_e=()=>{const e=on(),{channel:t,type:n,origin:r}=la(a=>a),i=new URLSearchParams({origin:r});let s=null;switch(t){case"senior":{s=n==="Patient"?ane:lne;break}case"cancer":{s=n==="Patient"?tne:nne;break}}return ao(()=>{setTimeout(()=>{t1(s)},400)}),s===null&&e("/"),m.jsx(pt,{children:m.jsx("div",{className:"mb-10 flex h-screen flex-col",children:s&&m.jsx("iframe",{id:`JotFormIFrame-${s}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${s}?${i.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},S_e=[De.c_org,De.cancer_pilot,De.twist_out_cancer,De.cancer_support_community,De.resource_center_1,De.resource_center_2,De.employer_center,De.inova,De.uva,De.imerman,De.unite_for_her],I_e=()=>{const{flow:e,account:t,usePayment:n,channel:r}=la(),[i]=pr(),s=i.get("submission_id")??"",{checkoutComplete:a}=tr();if(!s&&n)return m.jsx(Pf,{to:xe.userRolSelector});const u=()=>{window.location.href=Bd};return m.jsxs(pt,{children:[m.jsxs(c9,{mutationKey:["checkoutComplete",s],mutationFunction:a,isProfiling:!0,mutateOnMount:n,mutationsParams:{email:t.email,submission_id:s,channel:r},children:["You’ll be able to review your initial, personalized, clinician-approved care plan within 24 hours. When your care plan is ready, we will send you an email with a link to"," ",m.jsx("span",{className:"cursor-pointer underline",onClick:u,children:"log into your account."})]}),m.jsx(Vv,{flow:e}),m.jsx(Wv,{flow:e}),m.jsx(_D,{}),S_e.includes(e)?m.jsx(SD,{flow:e}):m.jsx(n1,{})]})},R_e=bt.object({password:bt.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:bt.string().min(8,{message:"This field is required."}),token:bt.string().min(1,"Token is required")}),A_e=()=>{var p,g;const{resetPassword:e}=tr(),[t,n]=w.useState(!1),{formState:{errors:r},register:i,handleSubmit:s,setValue:a}=Ju({resolver:ec(R_e)}),u=on(),[c]=pr(),{mutate:f}=Dr({mutationFn:e,onSuccess:()=>{We.success("Your password has been reset. Sign in with your new password."),u(xe.login)},onError:v=>{var x;xs.isAxiosError(v)?((x=v.response)==null?void 0:x.status)!==200&&We.error("Something went wrong"):We.error("Something went wrong")}});return w.useEffect(()=>{c.has("token")?a("token",c.get("token")||""):u(xe.login)},[u,c,a]),m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[m.jsxs("div",{children:[m.jsx(ie,{variant:"large",font:"bold",children:"Reset your password"}),m.jsxs("form",{className:"mt-10 flex flex-col ",onSubmit:v=>{s(x=>{f(x)})(v)},children:[m.jsx(Kn,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?m.jsx(Ue.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>n(v=>!v)}):m.jsx(Ue.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>n(v=>!v)}),className:"h-12 shadow-md",type:t?"text":"password",...i("password"),error:(p=r.password)==null?void 0:p.message}),m.jsx(Kn,{id:"password_confirmation",label:"Password confirmation",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:"password",...i("password_confirmation"),error:(g=r.password_confirmation)==null?void 0:g.message}),m.jsxs(ie,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",m.jsx("br",{})," a capital letter, number, and special character"]}),m.jsx(St,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),m.jsx("div",{className:"hidden md:block",children:m.jsx("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},T_e=bt.object({first_name:bt.string().min(2,"The first name must be present"),last_name:bt.string().min(2,"The last name must be present"),email:bt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:bt.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:bt.string().min(8,{message:"This field is required."}),agree_terms_and_conditions:bt.boolean({required_error:"You must agree to the terms and conditions"})}).refine(e=>e.password===e.password_confirmation,{message:"Passwords don't match",path:["password_confirmation"]}).refine(e=>!!e.agree_terms_and_conditions,{message:"You must agree to the terms and conditions",path:["agree_terms_and_conditions"]}),L_e=()=>{var f,p,g,v,x,b;const e=on(),{formState:{errors:t},register:n,handleSubmit:r,getValues:i,setError:s}=Ju({resolver:ec(T_e)}),{mutate:a}=Dr({mutationFn:h_e,onError:k=>{var I,E,y,_,A;if(xs.isAxiosError(k)){const T=(I=k.response)==null?void 0:I.data;(E=T.errors)!=null&&E.email&&s("email",{message:((y=T.errors.email.pop())==null?void 0:y.message)||""}),(_=T.errors)!=null&&_.password&&s("password",{message:((A=T.errors.password.pop())==null?void 0:A.message)||""})}else We.error("Something went wrong. Please try again later.")},onSuccess:({data:k})=>{typeof k=="string"&&e(xe.registrationComplete,{state:{email:i("email")}})}}),[u,c]=w.useState(!1);return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[m.jsxs("div",{children:[m.jsx(ie,{variant:"large",font:"bold",children:"Start here."}),m.jsxs("form",{className:"mt-10",onSubmit:k=>{r(I=>{a(I)})(k)},children:[m.jsxs("div",{className:"flex flex-col gap-0 md:flex-row md:gap-2",children:[m.jsx(Kn,{id:"firstName",label:"First name",type:"text",className:"h-12 shadow-md",...n("first_name"),error:(f=t.first_name)==null?void 0:f.message}),m.jsx(Kn,{id:"lastName",label:"Last name",type:"text",className:"h-12 shadow-md",...n("last_name"),error:(p=t.last_name)==null?void 0:p.message})]}),m.jsx(Kn,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...n("email"),error:(g=t.email)==null?void 0:g.message}),m.jsx(Kn,{id:"password",label:"Password",right:u?m.jsx(Ue.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>c(k=>!k)}):m.jsx(Ue.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>c(k=>!k)}),className:"h-12 shadow-md",type:u?"text":"password",...n("password"),error:(v=t.password)==null?void 0:v.message}),m.jsx(Kn,{id:"password_confirmation",label:"Password confirmation",className:"h-12 shadow-md",type:"password",...n("password_confirmation"),error:(x=t.password_confirmation)==null?void 0:x.message}),m.jsxs(ie,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",m.jsx("br",{})," a capital letter, number, and special character"]}),m.jsx($w,{id:"agree_terms_and_conditions",...n("agree_terms_and_conditions"),error:(b=t.agree_terms_and_conditions)==null?void 0:b.message,containerClassName:"mt-2",label:m.jsxs(ie,{variant:"small",font:"regular",children:["I have read and agree to the"," ",m.jsxs("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"underline",children:["Terms of ",m.jsx("br",{className:"block md:hidden lg:block"}),"Service"]}),", and"," ",m.jsxs("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"underline",children:["Privacy Policy"," "]})," ","of EO."]})}),m.jsx(St,{type:"submit",className:"mt-3",children:"Create account"}),m.jsxs(ie,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",m.jsx(Og,{to:xe.login,children:m.jsx("strong",{children:"Sign in"})})]})]})]}),m.jsx("div",{className:"hidden md:block",children:m.jsx("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},M_e=()=>{const t=io().state,n=on(),{mutate:r}=Dr({mutationFn:ED,onSuccess:({data:i})=>{i?We.success("Email has been send."):We.error("Email hasn't been send")}});return w.useEffect(()=>{t!=null&&t.email||n(xe.login)},[n,t]),m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[m.jsxs(ie,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",m.jsx("br",{})," Please verify to continue."]}),m.jsx("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),m.jsx(St,{className:"mt-10",onClick:()=>r(t.email),left:m.jsx(Ue.EnvelopeIcon,{}),children:"Resend verification"})]})})},D_e=()=>m.jsx(pt,{children:m.jsx(uc,{formId:pne})}),O_e=()=>m.jsx(pt,{children:m.jsx("section",{className:"flex h-full items-center justify-center",children:m.jsxs("div",{className:"flex h-[194px] w-[300px] flex-col justify-center gap-1 rounded-xl border-2 border-black bg-white px-[24px] py-[48px] text-center font-new-hero text-lg font-semibold sm:w-[400px] md:w-[581px] ",children:[m.jsx("p",{children:"Thank you!"}),m.jsx("p",{children:"Your submission has been received!"})]})})}),B_e=()=>{const{type:e,symptoms:t,state:n,usePayment:r,origin:i,experience:s,account:a}=la(p=>p),u=new URLSearchParams({email:a.email,states:n??"",symptoms:t.join(","),usePayment:r?"yes":"no",origin:i,experience:s}),c=on(),f=e==="Patient"?une:cne;return e||c(xe.userRolSelector),m.jsx(pt,{children:m.jsx("div",{className:"mb-10 flex h-screen flex-col",children:m.jsx(uc,{formId:f,searchParam:u})})})},j_e=()=>{var k;const{surveyStatus:e}=tr(),{setPhase:t,setEmail:n,setChannel:r}=qv(),[i]=pr(),s=ID("email",i),a=i.get("symptoms")||"",u=i.get("profiled")??"patient",c=i.get("phase")??"",f=i.get("uid")??c;s||(window.location.href="https://eo.care"),ao(()=>{t(c),n(s),r(sD.senior)});const{data:p,isLoading:g,isSuccess:v}=ju({queryFn:()=>s&&c?e(s,c):null,queryKey:["surveyStatus"]}),x=new URLSearchParams({email:s,symptoms:a,origin:RD(),uid:f}),b=u==="patient"?dne:fne;return m.jsx(pt,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:m.jsxs("div",{className:"mb-10 flex h-screen flex-col",children:[g&&m.jsx(Uv,{}),!g&&v&&(p!=null&&p.data.active)?m.jsx(uc,{formId:b,searchParam:x}):v&&(p==null?void 0:p.data)&&!((k=p==null?void 0:p.data)!=null&&k.active)&&m.jsx(kD,{})]})})},F_e=()=>{const{email:e,phase:t,channel:n}=qv(),[r]=pr(),i=r.get("submission_id")??"",{postSeniorSurveyFormSubmission:s}=tr();return!i||!n?m.jsx(Pf,{to:"/"}):m.jsxs(pt,{children:[m.jsx(c9,{mutationKey:["postSeniorSurveyFormSubmission",i],mutationFunction:s,mutationsParams:{email:e,phase:t,submission_id:i,channel:n}}),m.jsx(Vv,{}),m.jsx(Wv,{}),m.jsx(n1,{})]})},P_e=()=>m.jsxs(pt,{children:[m.jsxs("section",{className:"pt-2 pb-[48px] lg:pt-[60px] lg:pb-[100px] self-center flex-col flex items-center px-6 md:px-10",children:[m.jsx(ie,{font:"bold",className:"text-center text-[32px] leading-[40px] mb-[40px] max-w-[857px]",children:"When you’re ready to begin, just follow these steps:"}),m.jsx(ie,{className:"text-center text-lg leading-[30px] lg:text-[22px] lg:leading-[36px] lg:mb-20 mb-10 max-w-[857px] text-gray-950 lg:text-black",children:"It’s important for us to understand when you begin your care plan. Note that you should have all of your recommended products in-hand before beginning."}),m.jsxs("div",{className:"lg:flex-row flex-col gap-10 flex mb-10 lg:mb-[100px]",children:[m.jsx(L7,{number:1,title:"Log into your account",children:m.jsxs(ie,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:["Go to ",m.jsxs("a",{href:`${Bd}login`,className:"cursor-pointer font-new-hero text-sm lg:text-lg underline",children:[Bd,"login"]})," to log into your account. To access your care plan, you’ll need the ID and password you created when you set-up your eo account."]})}),m.jsxs(L7,{number:2,title:"Click the blue button",children:[m.jsx(ie,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"On the Home screen, you’ll see a blue button that looks like the one below. Click the button to let us know you’re ready to begin."}),m.jsxs("div",{className:"bg-electric-blue rounded-3xl px-5 py-2.5 flex flex-row gap-3 items-center",children:[m.jsx(ie,{font:"semiBold",className:"text-xl text-white",children:"Begin care plan"}),m.jsx(Ue.LinkIcon,{})]})]}),m.jsx(L7,{number:3,title:"Begin your care!",children:m.jsx(ie,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"Follow the instructions on the white dose cards that are shown in your Home screen. You can track whether you have taken each dose within this card as well."})})]}),m.jsxs(ie,{variant:"base",font:"regular",className:"max-w-[750px] text-center text-sm md:text-[22px] font-normal leading-[24px] md:leading-[36px]",children:["Have a question? We’re here to help. Email support@eo.care, call 888-823-6143, or"," ",m.jsx("a",{className:"cursor-pointer font-new-hero text-sm md:text-[22px] underline",href:Bd,target:"_blank",children:"log in to message us"}),"."]})]}),m.jsx(_D,{}),m.jsx(n1,{})]}),N_e=()=>{const e=io(),t=on(),{zip:n}=e.state;return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[m.jsxs(ie,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this EO offering is not currently"," ",m.jsx("br",{className:"hidden md:block"}),"available in ",n,". We’ll notify you",m.jsx("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),m.jsxs("div",{className:"mt-10 flex flex-row justify-center",children:[m.jsx(St,{className:"text-center",onClick:()=>t(xe.zipCodeValidation),children:"Back"}),m.jsx(St,{variant:"secondary",onClick:()=>t(xe.home),className:"ml-4",children:"Continue"})]})]})})},$_e=()=>{const e=on(),[t]=pr(),[n,r]=w.useState(null),i=t.get("origin")??"localhost:5173",s=t.get("channel"),a=t.get("symptoms")??"",u=t.get("flow")??De.marketing_site,c=localStorage.getItem("redirect_back_origin"),{setChannel:f,setType:p,setSymptoms:g,setUsePayment:v,resetProfilingStore:x,setOrigin:b,setFlow:k}=la(y=>y),I=y=>{b(i),k(u),g(a.split(",")),f(s),p(y),e(xe.introQuestions)};ao(()=>{x();const y=t.get("p")??"yes";window.data.isPartnerSite(i)||y==="no"?v(!1):v(!0)});const E=()=>{c&&(window.location.href=c)};return m.jsx(pt,{children:m.jsx("div",{className:"flex h-full w-full items-center justify-center bg-opacity-50 ",children:m.jsxs("div",{className:"relative w-3/4 rounded-md bg-white shadow-2xl md:w-[742px]",children:[m.jsxs("div",{className:"px-7 py-7",children:[m.jsxs(ie,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",m.jsx("span",{className:"text-red-600",children:"*"})]}),m.jsxs("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[m.jsxs("button",{className:Be("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",n==="Patient"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>r("Patient"),children:[m.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[m.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:n==="Patient"?"#5AADFD":"#535A63",strokeWidth:n==="Patient"?3:1.5}),m.jsx("circle",{cx:"12",cy:"12",r:"9",fill:n==="Patient"?"#5AADFD":"none",stroke:n==="Patient"?"white":"none",strokeWidth:1.5})]}),"I’m a patient"]}),m.jsxs("button",{className:Be("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",n==="Caregiver"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>r("Caregiver"),children:[m.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[m.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:n==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:n==="Caregiver"?3:1.5}),m.jsx("circle",{cx:"12",cy:"12",r:"9",fill:n==="Caregiver"?"#5AADFD":"none",stroke:n==="Caregiver"?"white":"none",strokeWidth:1.5})]}),"I’m a caregiver"]})]})]}),m.jsxs("section",{className:Be("flex h-[53px] items-center justify-between rounded-b-md bg-black pb-[19px] pt-4 md:w-full",!c&&"justify-end"),children:[c&&m.jsx(St,{className:"click:border-0 focus:ring-outline-0 rounded-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:E,disabled:!c,left:m.jsx(Ue.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:m.jsx("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),m.jsx(St,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:m.jsx(Ue.RightArrow,{className:"h-6 w-6"}),onClick:()=>I(n),children:"NEXT"}),m.jsx(St,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:m.jsx(Ue.RightArrow,{className:"h-6 w-6"}),onClick:()=>I(n)})]})]})})})},z_e=bt.object({zip_code:bt.string().min(5,{message:"Zip code is invalid"}).max(5,{message:"Zip code is invalid"})}),H_e=()=>{var p;const{validateZipCode:e}=tr(),{triggerViewEvent:t}=TD(DL);w.useEffect(t,[t]);const n=on(),r=Ko(g=>g.setProfileZip),{formState:{errors:i},register:s,handleSubmit:a,setError:u,getValues:c}=Ju({resolver:ec(z_e)}),{mutate:f}=Dr({mutationFn:e,onSuccess:()=>{r(c("zip_code")),n(xe.eligibleProfile)},onError:g=>{var v,x;xs.isAxiosError(g)?((v=g.response)==null?void 0:v.status)===400?(r(c("zip_code")),n(xe.unavailableZipCode,{state:{zip:c("zip_code")}})):((x=g.response)==null?void 0:x.status)===422&&u("zip_code",{message:"Zip code is invalid"}):We.error("Something went wrong")}});return m.jsx(pt,{children:m.jsxs("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[m.jsx(ie,{variant:"large",font:"bold",className:"text-center",children:"First, let’s check our availability in your area."}),m.jsxs("form",{className:"mt-10 flex flex-col items-center justify-center",onSubmit:g=>{a(v=>{f(v.zip_code)})(g)},children:[m.jsx(Kn,{id:"zip_code",label:"Zip Code",type:"number",className:"h-12 shadow-md",...s("zip_code"),error:(p=i.zip_code)==null?void 0:p.message}),m.jsx(St,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},W_e=()=>m.jsxs(jK,{children:[m.jsxs(ot,{element:m.jsx(n7,{expected:"loggedOut"}),children:[m.jsx(ot,{element:m.jsx(g_e,{}),path:xe.login}),m.jsx(ot,{element:m.jsx(L_e,{}),path:xe.register}),m.jsx(ot,{element:m.jsx(M_e,{}),path:xe.registrationComplete}),m.jsx(ot,{element:m.jsx(d_e,{}),path:xe.forgotPassword}),m.jsx(ot,{element:m.jsx(A_e,{}),path:xe.recoveryPassword}),m.jsx(ot,{element:m.jsx(x_e,{}),path:xe.prePlanV2})]}),m.jsxs(ot,{element:m.jsx(n7,{expected:"withZipCode"}),children:[m.jsx(ot,{element:m.jsx(f_e,{}),path:xe.home}),m.jsx(ot,{element:m.jsx(N_e,{}),path:xe.unavailableZipCode}),m.jsx(ot,{element:m.jsx(l_e,{}),path:xe.eligibleProfile}),m.jsx(ot,{element:m.jsx(b_e,{}),path:xe.profilingOne}),m.jsx(ot,{element:m.jsx(C_e,{}),path:xe.profilingOneRedirect}),m.jsx(ot,{element:m.jsx(E_e,{}),path:xe.profilingTwo}),m.jsx(ot,{element:m.jsx(__e,{}),path:xe.profilingTwoRedirect}),m.jsx(ot,{element:m.jsx(w_e,{}),path:xe.prePlan})]}),m.jsx(ot,{element:m.jsx(n7,{expected:["withoutZipCode","withZipCode"]}),children:m.jsx(ot,{element:m.jsx(H_e,{}),path:xe.zipCodeValidation})}),m.jsx(ot,{element:m.jsx(u_e,{}),path:xe.emailVerification}),m.jsx(ot,{element:m.jsx($_e,{}),path:xe.userRolSelector}),m.jsx(ot,{element:m.jsx(D_e,{}),path:xe.roiCalculator}),m.jsx(ot,{element:m.jsx(O_e,{}),path:xe.roiCalculatorThankYou}),m.jsx(ot,{element:m.jsx(P_e,{}),path:xe.startPlan}),m.jsx(ot,{element:m.jsx(k_e,{}),path:xe.introQuestions}),m.jsx(ot,{element:m.jsx($be,{}),path:xe.accountSetup}),m.jsx(ot,{element:m.jsx(I_e,{}),path:xe.profilingThankYou}),m.jsx(ot,{element:m.jsx(s_e,{}),path:xe.cancerForm}),m.jsx(ot,{element:m.jsx(o_e,{}),path:xe.cancerSurvey}),m.jsx(ot,{element:m.jsx(i_e,{}),path:xe.cancerSurveyThankYou}),m.jsx(ot,{element:m.jsx(zbe,{}),path:xe.athleteSurvey}),m.jsx(ot,{element:m.jsx(NEe,{}),path:xe.athleteSurveyThankYou}),m.jsx(ot,{element:m.jsx(B_e,{}),path:xe.seniorForm}),m.jsx(ot,{element:m.jsx(j_e,{}),path:xe.seniorSurvey}),m.jsx(ot,{element:m.jsx(F_e,{}),path:xe.seniorSurveyThankYou}),m.jsx(ot,{element:m.jsx(a_e,{}),path:xe.checkout})]});const V_e=new yte;function U_e(){return m.jsxs(Mte,{client:V_e,children:[m.jsx(W_e,{}),m.jsx(ww,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),$x.VITE_APP_ENV==="localhost"&&m.jsx(qte,{initialIsOpen:!1})]})}x6.createRoot(document.getElementById("root")).render(m.jsx(he.StrictMode,{children:m.jsx(HK,{children:m.jsx(U_e,{})})}));
diff --git a/apps/eo_web/dist/fonts/Licenses/newlyn-eula_trial_2022-12-21.pdf b/apps/eo_web/dist/fonts/Licenses/newlyn-eula_trial_2022-12-21.pdf
deleted file mode 100644
index fa25b179cee8207207b5b110d664dfd4bbb3d37a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 45596
zcmb@t1z1(h);JDGNQ1Q0K|)aA^Z}$BBt#nNICLL6q(hKyLApgm6hx#^0SW1l5J5lz
z0g+J3-#)1C^}et7e&6@}|D0#DXU|@1O-7r
zE*AFWVq#!bJ7=`HyPY4}3IqkKf)Gfg2nu`+1QUXT|_#@qqsRNABZ}w*Ju*970Y4`S}M$flf;x=U;VDI2`ehI)n&7
zAolNHaBzqa@*j05n9x7!M1+O^UWb4}VE?FtLI2S&0{#a$A>=>sA>lB{-|-Cjx=}15QL3@pt|~At>12`2vL^5&x)zA>jY0LqJ9T&I2fR
z!v97KfDZN#IHWM-AGDyL|KL3g3i-!e!l1~1^Z|oG{yCSxK;VC)1p>he-(Rxf;cjl{
zh<3-yu@)f0AUFgH)^u_40K^yI9!L|c>}>4E4JZwQwln7W0zzUI&z<9W$&7H_eZ09V@%*=r6>GQT%
zZEdr!+Fl3a97#cS3F!&r&yZmoH{CvM@5quOiK%g$U(MNS$WMhEsWYa+w!}7RLmkK9&!?fHqVlq
z_fRBDYVnUq|}^vcI%Kf$%LCM3)iaFu<^$Y}iufB3dk6FI02$I+1Y
z8P+KLB>Ja$fQbMy^~>P=7_Nr7yAuYOHdz-(PbXU||5RTG?58xVVF$FbRo2a>&^V
z?PCaqf?z0!@h?unp+BY`Flu0JUsv?$lz{aNp&;M~n5f^_XJLWH@{i?37y*2Ml{{?d
zD2ZFq|Ilo@jt%HMEDh
zmAQvG2s>I$u!gw}8Uq3>08rKfKrB79-O=b%@dU;g<4C}Ulf$d5Z*8qiZD1Of-@-~a#u1>B)OFW~vK9%zSs
z2bgsTpsNr#76!oi7aULqe8Z1ttlnes0r=tAI{=Ts;sy$UpZS3Ys7C;}ezcJQtD0jx
z)Lg9WtnJWNKS@4q0+9Asm)Nd(|`vZ0wxP9sj{O6wu8nw*W4p0Msb#hyb$wssl##J10-e
zzc`E?HFgL4hwV2
zZ7hA*_rGQl+ZPrO79J}FD2Y?G!?Ht1Sx(zU)y2{rt3PsplBt=y0@4F9gu&r}mi)Sa
z5JwON!~$?6N)Uz+#s)TmB7on43keH~0KOIaQ>(C=g)PGc0go#r0)nFug2F;DV=xp@
z8`MuA7;qPWqM(9EAX*WC3S%3=QG&uq2+#o(fI`9lfe;20L<%EOAOSd_woo|K7z{In
zLxh2r*zT|xk#GP5pqf7s!jLdQtfu})gm9Q393k=>Lb#z21ZeaF8+PD-(fHS>VS<3O
zfq~#6Sex+=8UYi>(lAeb~ks%Si878oz9(_xre)*kE$KU<8=D|J|O^l
zAwd*e7$gAboS+B-`3nmm0KXamfh^XiVAVs<&dS5~ulk?15^Gw4_nK&oi>Lb!(<|@e
zp{V5nxM!eKMJ<4Jz(@ew2b2N-BXnv9fffpY=>!0@p{7`fQ>%%6z=E8bPHd;{E|ywo
z4?{2zg@d)xJ|4zk{c9HXfL#X~DmVe{un`h~S-}ZtCUP39{Gi4K+dT;K(|PPai<_qBtWmHg$LFXW9a~#
zvWt$h9X7%NfPZs)rv#i%2F4Hx#EnQGR)!(5*na&`*k}^q2v84P*jgB{RzN@iF2Uiz
z9R>pQ1_VdIK}aZ2K8^B_5G*DXu#6D_A(2R+j0CX4fU*3-3IU;j2pk1R0e%t%+>sz5
zz#C&DW`qcKR4`pbDr*0@{m22%WZt{~RkE
zkU#7@EM_4976H(M04PNuu)g>I@`J%)0QZDXFJMGMsNWWHKg9O$a-uJNh852m^8Me-anK%3}56RGfbo7Z`S_@E?8%
zfL$=`@&^zOArKsxKqMR}0}MlAnTwq|V6lY&Y#b5=ObB2${v8tvF#RY9FtGq0A>fV#
zCLam72dt0?0j&NJ>HuaB5FTNy@Br{a!1MuZ1TXik2?z<*gQu%-EFI~UgefyAM}W5cDqKvi5l9*3INvkB^E*V&v}@HrTSA
zZBn=bN#i2M*=J@a>_y!^?#=8=dLbkmDhvgUEf2pIWmE>;k6#{sxPEiw`L0*POxK-O
z*1U{4BZ-?fWLn;FcMmG-HNJ&$FCk1+^d!0*vNByx?lZiqoozX(meE|E6ubLU?>*9&
z{N@EodBKLVw%iMxHuE_-VWjT3^tHihRr5sKXM7ZLLss64_(+?`(Kq4?7O2dh`}57p
z<9_#L$RX%MSPf;UL^oUnRj<7#H$;O*$)o<`RsXev!{i!i7gO25taXV*6jhfMOTU{0
zgz5g1>76~}O$)k>_jwvHJA>`O_FxCFBiIS-40Z;#%D^sQtkSuHU9l?_N3^xakJ1mkK<9QYR$w=#U|+Bw*bnXQ!Ux9sWh@s3V8TM!tpyukS^dKT%V5I=
z0Te{&^c}Dv0>qmDuZ>U5vx2#koue-=5Cwov!vGLA4B-3m3fNr%?5W6UEOT0;ZtjHs
zbKHQn(7-Ym?O|#A%Z6dA^nT1G5U7KdfrYM}rL?n+O_o72R)qkdBG`{ZP{*`qHHUt_-z?V)i?-xt<}5BCWUQt
z@vD%LtYmhdBdU~q+|eKs`y_fzhPt8r5>49;qv%BvW@53pIZas44`i{?tla)wk
z`zP~+ja2^E=IMvB{xljt%>Y&_Ppt)3bFo^C23rH`iyt=TRL@T}{)ZttH7>s!IYqD%
zVCYoAKtuq(_BT_f4>tH+-GLqZKdCzuScAfVI0XvqPX1SQceMIJF^Y|ETUzDC&REcah)q{kKi7|Lp07g%Q8&d#bLJOOXQA$-slmYjl^9nX^kT
zw98V?T@)|b=AK})lSJsq1>=bKEt91$1qH!-Erg#$vB;B5p}m%UvskysZUlT?ml?Vt
z_138?y^+^lR_)y;z%qf;^k?)-JttJ$SbjanAK>P4qXK
zPtU>Wn_mx*;(?}D3fA1t8g-e*oLz`RW9Yv-%swCQSM1xPOQ9|Rx$Yr*I@J8LUMuhRqN?V-lmse$iroH()QVtIW+sH}Vonby^MxnFIhCE_5
z=EfzyDa&ng?_F!aAEh3m#o936cw86>J=?e>Ea<;AJez%-XjYhJUt4)kd!#mK;ca}t
z&G4+(<|cle%aU2(3f0((ppc~Yk^atuZ9eOnrEm{J?%fnu-)_9TaRz7C_F^1EIh%LX
zG-6h4oBbG8hCIF_qC$3&Ve)1+PVY>qL|1=?@9o0&n4sgD7?;gW#!K&WbWC$ch59j7
z%n|WaM~`dV3af6ouSeZ{w}!vkl&_;HTRJ@ZfxAm#GDGJ^VQTj~{>O7U{&Vi3HT|Ah
z^dDY&ped#+dHd<>;{2-bv1M$qYLFGQLP9z|Zs~cLAoEp&&X4MNn+4o*7;D0z{As+oS&*4~D1{P`p0`%&iNTGsefMZ+@n
zowUx01R15-vA}DsAtn&TYxp#Nd5rc#xFN`9MFpp1KD<^J`!p-x$oaDaA<>nr@=#@0
zLZO|Q3p%oP5D0}&UA?3NtVFZtH
zY>JbXr?&WOLhZ!Leuv?~QoD;7Oibk`+5RhGF+8Pv5Bcm1zi0)uX>aemcr`85P?y8G
z>_=nqjEDK?>vU*-9!PZ;geoIPU
zKvTRBnYv3@Pic|bnrw3Ex69lg=ggpahY)`iD92cuvbW~Y&KzX>;3gMptf9bzW`9j!
zC_hN^fJ4WVyS59rqN`k_MTA2C<8Eo*3(F15PZ3AmXIh9MIK_5I^FJBS-?kh6v*rp3
z3;mns>P$OlOHl>x>-BM7MxttF_~nz%b=}hBwj0&h<*2AcI`&mE@(b1_KiK5wC(H>y
zZy-Y$nT4?)$O;^eQF<@cCt|yT4_>>?NMW1f;v>U97{doO9>kG#9K5Mu)EsqTfhsom
zqR2`xpFZ9y>Gh^_q+zY2rsq1(e9~D~SK&=bv>`Z@C5usxF6a$5J(=hk&g0*thh&Mj
zef+qd&g~G8mt$m_I5oSle2$D}U_ek1y3mo=kiYnvAnc0PY=N1`LF#HX!HM;D_-*~6
z2d~Z#`iDa)3qW7_Bhr+%T8~P@OmEKOA3cy&5@+cQr+_|OHs(R%j9G(dd%x+w!V#e1
zk0c6(I0)P66UtNA;az5X__gFbLoqDmAV}#UywJu;o_9_n#lGq;Xhif*I#MpykM)Kq
zb=O%MUAwGsMQ;Nxx`rI58XCfmIqD_|@^bpVLd!+n&m_?mm%T2q!!P+qr+oAh4#aCD
zy!5RWq_j3spfvt4w7Ig;sh2}pu{=8Xkq-YMr=gZy+c=DwM)@Z1y4x#ET(xxSl&cL}`pi|6V_W}e~W&BI+Uz#5iO8$GPr)RPuWeti8S-wG3@|e>DL5BsAX!3})&6RzLf`*WH(>li=_N*T^ner!u
zo3Tg@I-FJW)Y>ntk6>;wHDPTH*WI=_ls^-tC^r#LP*IvHlcl$^8$FaM+a*vpOYvBs
zmxMYM8uM0;FZhjBoWUT;@W`-2_$z_ig`W;@