1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,697935,e=>{"use strict";var t=e.i(391398);function r({variant:e="primary",size:a="md",loading:n=!1,icon:o,iconPosition:i="right",disabled:s,isAllSelected:l=!1,className:d="",children:u,...c}){let h=()=>{switch(a){case"sm":return"text-sm [&>svg]:w-3.5 [&>svg]:h-3.5";case"md":default:return"text-base [&>svg]:w-4 [&>svg]:h-4";case"lg":return"text-xl [&>svg]:w-5 [&>svg]:h-5"}};return(0,t.jsx)("button",{disabled:s||n,className:` 2 flex items-center justify-center gap-2 3 ${(()=>{switch(a){case"sm":return"px-4 py-2 text-xs";case"md":default:return"px-6 py-2 text-sm";case"lg":return"px-8 py-3 text-base"}})()} 4 ${(()=>{switch(e){case"primary":default:return"bg-primary hover:bg-primary-600 text-white font-bold rounded-xl shadow-lg shadow-orange-500/20 transition-all active:scale-95 disabled:bg-orange-300 disabled:shadow-none disabled:cursor-not-allowed";case"secondary":return"bg-white border-2 border-slate-200 hover:border-primary hover:text-primary text-slate-600 font-bold rounded-xl transition-all active:scale-95 disabled:border-slate-100 disabled:text-slate-300 disabled:cursor-not-allowed";case"ghost":return"bg-white border border-slate-200 hover:bg-slate-50 text-slate-600 font-bold rounded-xl shadow-sm transition-all active:scale-95 disabled:bg-slate-50 disabled:text-slate-300 disabled:cursor-not-allowed";case"text":return"text-primary font-bold hover:underline transition-all disabled:text-slate-300 disabled:no-underline disabled:cursor-not-allowed";case"dark":return"bg-slate-900 hover:bg-slate-800 text-white font-bold rounded-xl shadow-md transition-all hover:-translate-y-0.5 hover:shadow-lg active:scale-95 disabled:bg-slate-600 disabled:shadow-none disabled:cursor-not-allowed";case"selectAll":return l?"bg-red-50 text-red-500 hover:bg-red-100 border-2 border-red-200 font-bold rounded-xl transition-all active:scale-95 disabled:bg-red-50/50 disabled:text-red-300 disabled:cursor-not-allowed":"bg-slate-50 text-primary hover:bg-orange-50 border-2 border-slate-200 hover:border-primary font-bold rounded-xl transition-all active:scale-95 disabled:bg-slate-50/50 disabled:text-slate-300 disabled:cursor-not-allowed";case"success":return"bg-slate-100 border border-slate-200 text-slate-500 font-bold rounded-xl cursor-default select-none";case"pill":return"rounded-full bg-white shadow-sm text-slate-700 font-bold hover:bg-slate-50 transition-all active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed";case"pill-ghost":return"rounded-full text-slate-500 font-bold hover:text-slate-800 transition-all active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed"}})()} 5 ${d} 6 `.trim().replace(/\s+/g," "),...c,children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent","aria-label":"Loading"}),(0,t.jsx)("span",{children:"Loading..."})]}):(0,t.jsxs)(t.Fragment,{children:[o&&"left"===i&&(0,t.jsx)("span",{className:`flex-shrink-0 ${h()}`,children:o}),null!=u&&(0,t.jsx)("span",{children:u}),o&&"right"===i&&(0,t.jsx)("span",{className:`flex-shrink-0 ${h()}`,children:o})]})})}r.Group=function({children:e,className:r="",variant:a="default"}){return"segmented"===a?(0,t.jsx)("div",{className:`inline-flex items-center divide-x divide-slate-200 overflow-hidden rounded-full border border-slate-200 bg-white ${r}`,children:e}):(0,t.jsx)("div",{className:`flex items-center gap-3 ${r}`,children:e})},e.s(["Button",0,r])},695758,e=>{"use strict";var t=e.i(391398),r=e.i(145246),a=e.i(191788),n=e.i(730943);e.s(["EvoModal",0,({isOpen:e,onClose:o,title:i,badge:s,description:l,customHeader:d,children:u,maxWidth:c="xl",fixedHeight:h,className:f="",zIndex:m=60,hideBackdrop:g=!1,disableScrollLock:p=!1,variant:v="modal",contentClassName:y,closeButtonClassName:b,footer:w})=>{if((0,a.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e&&o()};return e&&(document.addEventListener("keydown",t),p||(document.body.style.overflow="hidden")),()=>{document.removeEventListener("keydown",t),p||(document.body.style.overflow="unset")}},[e,o,p]),!e)return null;let E=(0,t.jsxs)("div",{style:h?{height:h}:void 0,role:"dialog","aria-modal":"true","aria-label":d?i:void 0,"aria-labelledby":d?void 0:"evo-modal-title",className:`jsx-6a51c372d969aa8c w-full rounded-2xl sm:rounded-[1.875rem] bg-white shadow-2xl ${{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl"
6:"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl"}[c]} flex animate-scaleIn flex-col overflow-hidden ${h?"":"max-h-[95vh]"} ring-1 ring-white/20 ${f}`,children:[d||(0,t.jsxs)("div",{className:"jsx-6a51c372d969aa8c relative z-10 flex shrink-0 items-start justify-between border-b border-slate-100 bg-white p-5 pb-4 sm:p-6 sm:pb-5",children:[(0,t.jsxs)("div",{className:"jsx-6a51c372d969aa8c pr-10",children:[s&&(0,t.jsx)("div",{className:"jsx-6a51c372d969aa8c mb-2 inline-flex items-center gap-2 rounded-full border border-slate-200 bg-slate-100 px-2.5 py-0.5 text-[9px] font-bold uppercase tracking-widest text-slate-500",children:s}),i&&(0,t.jsx)("h2",{id:"evo-modal-title",className:"jsx-6a51c372d969aa8c text-xl sm:text-2xl font-black leading-tight tracking-tight text-slate-900",children:i}),l&&(0,t.jsx)("p",{className:"jsx-6a51c372d969aa8c line-clamp-2 mt-1 max-w-lg text-sm font-medium text-slate-500",children:l})]}),(0,t.jsx)("button",{onClick:o,"aria-label":"Close modal",className:"jsx-6a51c372d969aa8c absolute top-5 right-5 sm:top-6 sm:right-6 rounded-full bg-slate-50 p-2.5 text-slate-400 transition-all hover:rotate-90 hover:bg-slate-100 hover:text-slate-600",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2.5,stroke:"currentColor",className:"jsx-6a51c372d969aa8c h-5 w-5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12",className:"jsx-6a51c372d969aa8c"})})})]}),(0,t.jsx)("div",{className:`jsx-6a51c372d969aa8c flex-1 overflow-y-auto bg-slate-50/50 custom-scrollbar${y?` ${y}`:""}`,children:u}),w&&(0,t.jsx)("div",{className:"jsx-6a51c372d969aa8c shrink-0 border-t border-slate-100 bg-white px-5 py-4 sm:px-6",children:w}),(0,t.jsx)(r.default,{id:"6a51c372d969aa8c",children:".custom-scrollbar.jsx-6a51c372d969aa8c::-webkit-scrollbar{width:8px}.custom-scrollbar.jsx-6a51c372d969aa8c::-webkit-scrollbar-track{background:0 0}.custom-scrollbar.jsx-6a51c372d969aa8c::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.custom-scrollbar.jsx-6a51c372d969aa8c.jsx-6a51c372d969aa8c::-webkit-scrollbar-thumb:hover{background:#94a3b8}"})]});if("inline"===v)return(0,t.jsx)("div",{className:"flex w-full justify-center p-4",children:E});if("user"===v){let e=(0,t.jsx)("div",{className:`fixed inset-0 z-[${m}] flex items-center justify-center ${g?"":"bg-slate-900/60 backdrop-blur-md"} animate-fadeIn`,onClick:o,children:(0,t.jsxs)("div",{className:"relative",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{onClick:o,className:`absolute z-10 flex h-9 w-9 items-center justify-center rounded-full bg-white/90 text-slate-500 shadow-md transition-all hover:bg-white hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-orange-400${b?` ${b}`:" top-3 right-3"}`,"aria-label":"Close modal",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2.5,stroke:"currentColor",className:"h-4 w-4",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),u]})});return"u"<typeof document?e:(0,n.createPortal)(e,document.body)}let x=(0,t.jsx)("div",{className:`fixed inset-0 z-[${m}] flex items-center justify-center p-2 sm:p-4 ${g?"":"bg-slate-900/60 backdrop-blur-md"} animate-fadeIn`,onClick:o,children:(0,t.jsx)("div",{className:"w-full flex justify-center",onClick:e=>e.stopPropagation(),children:E})});return"u"<typeof document?x:(0,n.createPortal)(x,document.body)}])},205503,398521,403998,e=>{"use strict";var t=e.i(391398),r=e.i(191788),a=e.i(851647),n=e.i(591789),o=e.i(549846);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
6t%2?s(Object(r),!0).forEach(function(t){var a,n,o;a=e,n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(n))in a?Object.defineProperty(a,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(){var e=(0,n.default)(arguments),t=e.text,r=e.options,a=e.metadata;r=l(l({},r),{},{extract:!1});var i=(0,o.default)(t,r,a);return i&&i.isValid()||!1}function u(){return(0,a.default)(d,arguments)}e.s(["isValidPhoneNumber",0,u],398521);var c=e.i(930936);function h(){var e=(0,n.default)(arguments),t=e.text,r=e.options,a=e.metadata;return(0,c.default)(t,r,a)}let f="38e7fy783y4f783yf78347f893uf89u348u4895gt9845utg8945978ty3849u398t8934ut98453u8t";async function m(e){let t="email"===e.method?"/api/v1/login/email/request":"/api/v1/login/sms/request";try{let r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:f,contact:e.contact})});if(!r.ok)switch(r.status){case 400:case 401:case 404:throw Error("ACCOUNT_NOT_FOUND");case 429:throw Error("Too many requests. Please wait before trying again.");case 500:case 502:case 503:throw Error("Service temporarily unavailable. Please try again.");default:throw Error("Failed to send verification code. Please try again.")}let a=await r.json();if(!a.data?.challenge)throw Error("Invalid response from server. Please try again.");return{success:!0,challenge:a.data.challenge,message:a.message}}catch(e){if(e instanceof Error)throw e;throw Error("Network error. Please check your connection.")}}async function g(e){let t="email"===e.method?"/api/v1/login/email/verify":"/api/v1/login/sms/verify";try{let r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:f,contact:e.contact,challenge:e.challenge,verificationCode:e.verificationCode})});if(!r.ok)switch(r.status){case 400:case 401:throw Error("INVALID_OTP_CODE");case 404:throw Error("Verification session expired. Please request a new code.");case 429:throw Error("Too many attempts. Please wait before trying again.");case 500:case 502:case 503:throw Error("Server error. Please try again later.");default:throw Error("Verification failed. Please try again.")}let a=await r.json();if(!a.data?.user||!a.data?.token)throw Error("Invalid response from server. Please try again.");return{success:!0,data:a.data,message:a.message}}catch(e){if(e instanceof Error)throw e;throw Error("Network error. Please check your connection.")}}function p(e){try{let t=function(){return(0,a.default)(h,arguments)}(e,"US");if(t?.isValid())return t.format("E.164")}catch{}let t=e.replace(/\D/g,"");return 10===t.length?`+1${t}`:11===t.length&&t.startsWith("1")?`+${t}`:e.startsWith("+")?e:`+${t}`}e.s(["formatPhoneNumber",0,p,"requestOTP",0,m,"validateEmail",0,function(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)},"validatePhoneNumber",0,function(e){try{return u(e,"US")}catch{return!1}},"verifyOTP",0,g],403998);let v=(0,r.createContext)(null);e.s(["AuthContext",0,v,"AuthProvider",0,function({children:e}){let[a,n]=(0,r.useState)({user:null,isAuthenticated:!1,isLoading:!0,error:null,token:null}),o=async e=>{n(e=>({...e,isLoading:!0,error:null}));try{let t="sms"===e.method?p(e.contact):e.contact,r=await m({contact:t,method:e.method});return n(e=>({...e,isLoading:!1})),{challenge:r.challenge}}catch(t){let e=t instanceof Error?t.message:"Failed to send verification code";throw n(t=>({...t,isLoading:!1,error:e})),t}},i=async e=>{n(e=>({...e,isLoading:!0,error:null}));try{let t="sms"===e.method?p(e.contact):e.contact,r=await g({contact:t,method:e.method,verificationCode:e.code,challenge:e.challenge});if(r.data?.user&&r.data?.token)localStorage.setItem("auth_token",r.data.token),localStorage.setItem("auth_user",JSON.stringify(r.data.user)),n(e=>({...e,user:r.data.user,isAuthenticated:!0,isLoading:!1,error:null,token:r.data?.token??null}));else throw Error("Invalid response from server")}catch(t){let e=t instanceof Error?t.message:"Verification failed";throw n(t=>({...t,isLoading:!1,error:e})),t}};return r.default.useEffect(()=>{let e=localStorage.getItem("auth_token"),t=localStorage.getItem("auth_user"),r=null;if(t)try{r=JSON.parse(t)}catch{}if(!e){r&&localStorage.removeItem("auth_user"),n({user:null,isAuthenticated:!1,isLoading:!1,error:null,token:null});return}r&&n({user:r,isAuthenticated:!0,isLoading:!0,error:null,token:e}),fetch("/api/v1/auth/me",{headers:{Authorization:`Bearer ${e}`}}).then(e=>401===e.status?(localStorage.removeItem("auth_token"),localStorage.removeItem("auth_user"),n(e=>({...e,user:null,isAuthenticated:!1,isLoading:!1,token:null})),null):e.ok?e.json():(n(e=>({...e,isLoading:!1})),null)).then(t=>{if(!t)return;let r=t.data?.user||t.user||t;try{localStorage.setItem("auth_user",JSON.stringify(r))}catch{}n(t=>({...t,user:r,isAuthenticated:!0,isLoading:!1,token:e}))}).catch(e=>{console.error("Token verification failed:",e),n(e=>({...e,isLoading:!1}))})},[]),(0,t.jsx)(v.Provider,{value:{state:a,sendOTP:o,verifyCode:i,logout:()=>{localStorage.removeItem("auth_token"),localStorage.removeItem("auth_user"),n({user:null,isAuthenticated:!1,isLoading:!1,error:null,token:null})},clearError:()=>{n(e=>({...e,error:null}))}},children:e})},"useAuth",0,function(){let e=(0,r.useContext)(v);if(!e)throw Error("useAuth must be used within an AuthProvider");return e}],205503)},178630,669847,266033,e=>{"use strict";e.i(961415),e.i(629232),e.i(158466);var t=e.i(191788);function r(e,t){return e===t}function a(e){return"function"==typeof e?function(){return e}:e}e.s(["useToggleNotifications",0,function({enrollmentId:e,userId:r,initialEnabled:a}){let[n,o]=(0,t.useState)(a),[i,s]=(0,t.useState)(!1);void 0===a||void 0!==n||i||o(a);let l=(0,t.useCallback)(async()=>
6{if(!e||!r||void 0===n||i)return;let t=!n;o(t),s(!0);try{let a=await fetch("/api/enrollment-notifications",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:r,enrollmentId:e,enabled:t})});if(!a.ok){let e=await a.text().catch(()=>"");console.warn("[useToggleNotifications] API error â rolling back:",e),o(!t);return}let n=await a.json();o(n.notificationsEnabled)}catch(e){console.warn("[useToggleNotifications] Network error â rolling back:",e),o(!t)}finally{s(!1)}},[e,r,n,i]);return{notificationsEnabled:n,isToggling:i,toggle:l}}],669847),e.i(291764),e.i(957905),e.i(190077),e.s([],178630),e.s(["useDebounce",0,function(e,n,o){var i,s,l=o&&o.equalityFn||r,d=(s=(i=(0,t.useState)(a(e)))[1],[i[0],(0,t.useCallback)(function(e){return s(a(e))},[])]),u=d[0],c=d[1],h=function(e,r,a){var n=this,o=(0,t.useRef)(null),i=(0,t.useRef)(0),s=(0,t.useRef)(null),l=(0,t.useRef)([]),d=(0,t.useRef)(),u=(0,t.useRef)(),c=(0,t.useRef)(e),h=(0,t.useRef)(!0);(0,t.useEffect)(function(){c.current=e},[e]);var f=!r&&0!==r&&"u">typeof window;if("function"!=typeof e)throw TypeError("Expected a function");r=+r||0;var m=!!(a=a||{}).leading,g=!("trailing"in a)||!!a.trailing,p="maxWait"in a,v=p?Math.max(+a.maxWait||0,r):null;return(0,t.useEffect)(function(){return h.current=!0,function(){h.current=!1}},[]),(0,t.useMemo)(function(){var e=function(e){var t=l.current,r=d.current;return l.current=d.current=null,i.current=e,u.current=c.current.apply(r,t)},t=function(e,t){f&&cancelAnimationFrame(s.current),s.current=f?requestAnimationFrame(e):setTimeout(e,t)},a=function(e){if(!h.current)return!1;var t=e-o.current;return!o.current||t>=r||t<0||p&&e-i.current>=v},y=function(t){return s.current=null,g&&l.current?e(t):(l.current=d.current=null,u.current)},b=function e(){var n=Date.now();if(a(n))return y(n);if(h.current){var s=r-(n-o.current);t(e,p?Math.min(s,v-(n-i.current)):s)}},w=function(){var c=Date.now(),f=a(c);if(l.current=[].slice.call(arguments),d.current=n,o.current=c,f){if(!s.current&&h.current)return i.current=o.current,t(b,r),m?e(o.current):u.current;if(p)return t(b,r),e(o.current)}return s.current||t(b,r),u.current};return w.cancel=function(){s.current&&(f?cancelAnimationFrame(s.current):clearTimeout(s.current)),i.current=0,l.current=o.current=d.current=s.current=null},w.isPending=function(){return!!s.current},w.flush=function(){return s.current?y(Date.now()):u.current},w},[m,p,r,v,g,f])}((0,t.useCallback)(function(e){return c(e)},[c]),n,o),f=(0,t.useRef)(e);return l(f.current,e)||(h(e),f.current=e),[u,h]}],266033)},708781,e=>{"use strict";e.i(350461);var t=e.i(191788),r=e.i(364034),a=e.i(962027),n=e.i(205503);let o="vidscrip-anonymousUserUuid";function i(e,t){}function s(e){let t=new Set,r=[];for(let a of e){let{providerUsername:e,providerName:n,providerImageUrl:o,providerSpecialty:i,specialty:s,clinicName:l}=a;if(!n&&!e)continue;let d=e??n;t.has(d)||(t.add(d),r.push({id:d,name:n??"Unknown Provider",photoUrl:o,specialty:i??s??void 0,clinicName:l??void 0,username:e??void 0}))}return r}e.s(["useCareTeam",0,function(){let{state:e}=(0,n.useAuth)(),l=(0,a.useQueryClient)(),[d,u]=(0,t.useState)(void 0),c=e.user?._id,h=e.isAuthenticated?`auth:${c??"missing-user-id"}`:`anon:${d??"missing-uuid"}`;(0,t.useEffect)(()=>{try{let e=localStorage.getItem(o);u(null!==e?JSON.parse(e):void 0)}catch{u(void 0)}},[!0]),(0,t.useEffect)(()=>{let e=()=>{let e;try{let t=localStorage.getItem(o);e=null!==t?JSON.parse(t):void 0,u(e)}catch{e=void 0,u(void 0)}i("vidscrip-uuid-updated received; invalidating query",{nextUuid:e}),l.invalidateQueries({queryKey:["careTeamProviders",`anon:${e??"missing-uuid"}`]})};return window.addEventListener("vidscrip-uuid-updated",e),()=>window.removeEventListener("vidscrip-uuid-updated",e)},[!0,l]);let f=!e.isLoading&&(e.isAuthenticated&&!!c||!e.isAuthenticated&&!!d);(0,t.useEffect)(()=>{},[e.isLoading,e.isAuthenticated,c,!0]);let m=(0,r.useQuery)({queryKey:["careTeamProviders",h],enabled:f,staleTime:3e4,queryFn:async()=>{if(e.isAuthenticated){let e=localStorage.getItem("auth_token"),t=c?`/api/dashboard/patient-journeys?userId=${encodeURIComponent(c)}`:"/api/dashboard/patient-journeys";i("fetch start (authenticated)",{endpoint:t,userId:c,queryIdentity:h});let r=await fetch(t,{headers:{"Content-Type":"application/json",...e?{Authorization:`Bearer ${e}`}:{}}});
6if(i("fetch response (authenticated)",{endpoint:t,status:r.status,queryIdentity:h}),404===r.status)return[];if(!r.ok)throw Error(`patient-journeys returned HTTP ${r.status}`);let a=await r.json(),n=a?.data?.journeys??[],o=s(n);return i("fetch success (authenticated)",{endpoint:t,journeysCount:n.length,providersCount:o.length,queryIdentity:h}),o}if(!d)return[];let t=`/api/dashboard/member-journeys?userId=${encodeURIComponent(d)}`;{let e=new URLSearchParams(window.location.search);if("1"===e.get("debug")){let r=e.get("careTeamCount");r&&!isNaN(parseInt(r,10))&&(t+=`&debug=1&limit=${parseInt(r,10)}`)}}i("fetch start (anonymous)",{endpoint:t,anonymousUuid:d,queryIdentity:h});let r=await fetch(t,{headers:{"Content-Type":"application/json"}});if(i("fetch response (anonymous)",{endpoint:t,status:r.status,queryIdentity:h}),!r.ok)throw Error(`member-journeys returned HTTP ${r.status}`);let a=await r.json(),n=a?.data?.journeys??[],o=s(n);return i("fetch success (anonymous)",{endpoint:t,journeysCount:n.length,providersCount:o.length,queryIdentity:h}),o}});return(0,t.useEffect)(()=>{},[m.error]),{providers:m.data??[],isLoading:e.isLoading||m.isLoading,error:m.error instanceof Error?m.error.message:m.error?"Failed to load care team":null,refetch:()=>{i("manual refetch requested;
6 invalidating query"),l.invalidateQueries({queryKey:["careTeamProviders"]})}}}])},961415,629232,e=>{"use strict";var t=e.i(191788);let r="vidscrip-enrollment-verified-";e.s(["useCheckEnrollment",0,function({userId:e,journeyId:a,enabled:n}){let[o,i]=(0,t.useState)(!1),[s,l]=(0,t.useState)(),[d,u]=(0,t.useState)(),[c,h]=(0,t.useState)(void 0),[f,m]=(0,t.useState)(!1),g=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{if(n&&e&&a&&!g.current){g.current=!0;try{let e=`${r}${a}`,t=localStorage.getItem(e);if(t&&t.startsWith("enrolled")){let e=t.split(":");i(!0),l(e[1]||void 0),console.log("[useCheckEnrollment] Cache hit â already enrolled");return}}catch{}m(!0),fetch(`/api/check-enrollment?userId=${encodeURIComponent(e)}&journeyId=${encodeURIComponent(a)}`).then(async e=>{if(!e.ok)return;let t=await e.json();if(t.enrolled){i(!0),l(t.enrollmentId),u(t.notificationsEnabled??!0),h(t.smsConsentedAt??null);try{let e=`${r}${a}`,n=t.enrollmentId?`enrolled:${t.enrollmentId}`:"enrolled";localStorage.setItem(e,n),console.log("[useCheckEnrollment] Enrollment verified and cached")}catch{}}}).catch(e=>{console.warn("[useCheckEnrollment] Check failed, defaulting to not-enrolled:",e)}).finally(()=>{m(!1)})}},[n,e,a]),{isEnrolled:o,enrollmentId:s,notificationsEnabled:d,smsConsentedAt:c,isChecking:f}}],961415),e.s(["useLocalStorage",0,(e,r="")=>{let[a,n]=(0,t.useState)(r);return(0,t.useEffect)(()=>{try{let t=localStorage.getItem(e);null!==t&&n(JSON.parse(t))}catch{}},[e]),[a,t=>{n(t);try{localStorage.setItem(e,JSON.stringify(t))}catch{}}]}],629232)},158466,284976,e=>{"use strict";var t=e.i(391398),r=e.i(191788),a=e.i(203828);let n=()=>{let[e,t]=(0,r.useState)(!1),n=(0,a.useRouter)();return((0,r.useEffect)(()=>{t(!0)},[]),e)?n:{pathname:"/",asPath:"/",query:{},push:()=>Promise.resolve(!0),replace:()=>Promise.resolve(!0),back:()=>{},reload:()=>{},prefetch:()=>Promise.resolve(),beforePopState:()=>{},isReady:!1,route:"/",basePath:"",locale:void 0,locales:void 0,defaultLocale:void 0,domainLocales:void 0,isLocaleDomain:!1,isFallback:!1,isPreview:!1,events:{on:()=>{},off:()=>{},emit:()=>{}}}};e.s(["useSafeRouter",0,n],284976);let o={history:[],currentContext:{section:"home",title:""},breadcrumbs:[]},i=(e,t)=>{switch(t.type){case"PUSH_HISTORY":let r=e.history[e.history.length-1];if(r?.path===t.payload.path)return e;return{...e,history:[...e.history.slice(-9),{...t.payload,timestamp:Date.now()}]};case"SET_CONTEXT":if(!Object.keys(t.payload).some(r=>e.currentContext[r]!==t.payload[r]))return e;return{...e,currentContext:{...e.currentContext,...t.payload}};case"UPDATE_BREADCRUMBS":if(JSON.stringify(e.breadcrumbs)===JSON.stringify(t.payload))return e;return{...e,breadcrumbs:t.payload};case"CLEAR_HISTORY":return{...e,history:[]};default:return e}},s=(0,r.createContext)(null);e.s(["NavigationProvider",0,({children:e})=>{let[a,l]=(0,r.useReducer)(i,o),[d,u]=(0,r.useState)(!1),c=n(),h=(0,r.useCallback)(()=>{if(a.history.length>0){let e=a.history[a.history.length-1];c.push(e.path)}else c.back()},[a.history,c]),f=(0,r.useMemo)(()=>({state:a,dispatch:l,goBack:h,canGoBack:d}),[a,l,h,d]);return(0,r.useEffect)(()=>{let e=a.history.length>0||window.history.length>1;u("/"!==c.pathname&&e)},[a.history.length,c.pathname]),(0,t.jsx)(s.Provider,{value:f,children:e})},"useNavigationContext",0,()=>{let e=(0,r.useContext)(s);if(!e)throw Error("useNavigationContext must be used within NavigationProvider");return e}],158466)},926361,e=>{"use strict";e.s(["default",0,function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}])},272043,(e,t,r)=>{!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}if(t.exports)a.default=a,t.exports=a;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==a&&e.v(a);else window.classNames=a}()},369547,e=>{"use strict";var t=e.i(191788);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:d,...u},c)=>(0,t.createElement)("svg",{ref:c,...n,width:r,height:r,stroke:e,strokeWidth:i?24*Number(o)/Number(r):o,className:a("lucide",s),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,n)=>{let i=(0,t.forwardRef)(({className:i,...s},l)=>(0,t.createElement)(o,{ref:l,iconNode:n,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...s}));return i.displayName=r(e),i}],369547)},798979,e=>{"use strict";let t,r;var a,n,o,i,s,l=e.i(191788),d=Object.defineProperty,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;(e=>{let t=class{constructor(e,r,a,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(o<-1||o>7)throw RangeError("Mask value out of range");this.size=4*e+17;let i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(a);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}n(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,a){let n=e.QrSegment.makeSegments(r);return t.encodeSegments(n,a)}static encodeBinary(r,a){let n=e.QrSegment.makeBytes(r);return t.encodeSegments([n],a)}static encodeSegments(e,a,o=1,s=40,l=-1,d=!0){let u,c;if(!(t.MIN_VERSION<=o&&o<=s&&s<=t.MAX_VERSION)||l<-1||l>7)throw RangeError("Invalid value");for(u=o;;u++){let r=8*t.getNumDataCodewords(u,a),n=i.getTotalBits(e,u);if(n<=r){c=n;break}if(u>=s)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&c<=8*t.getNumDataCodewords(u,e)&&(a=e);let h=[];for(let t of e)for(let e of(r(t.mode.modeBits,4,h),r(t.numChars,t.mode.numCharCountBits(u),h),t.getData()))h.push(e);n(h.length==c);let f=8*t.getNumDataCodewords(u,a);n(h.length<=f),r(0,Math.min(4,f-h.length),h),r(0,(8-h.length%8)%8,h),n(h.length%8==0);for(let e=236;h.length<f;e^=253)r(e,8,h);let m=[];for(;8*m.length<h.length;)m.push(0);return h.forEach((e,t)=>m[t>>>3]|=e<<7-(7&t)),new t(u,a,m,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let a=0;a<t;a++)(0!=r||0!=a)&&(0!=r||a!=t-1)&&(r!=t-1||0!=a)&&this.drawAlignmentPattern(e[r],e[a]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,r=t;for(let e=0;e<10;e++)r=r<<1^(r>>>9)*1335;let o=(t<<10|r)^21522;n(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(o,e));this.setFunctionModule(8,7,a(o,6)),this.setFunctionModule(8,8,a(o,7)),this.setFunctionModule(7,8,a(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;n(t>>>18==0);for(let e=0;e<18;e++){let r=a(t,e),n=this.size-11+e%3,o=Math.floor(e/3);this.setFunctionModule(n,o,r),this.setFunctionModule(o,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let a=-4;a<=4;a++){let n=Math.max(Math.abs(a),Math.abs(r)),o=e+a,i=t+r;0<=o&&o<this.size&&0<=i&&i<this.size&&this.setFunctionModule(o,i,2!=n&&4!=n)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let a=-2;a<=2;a++)this.setFunctionModule(e+a,t+r,1!=Math.max(Math.abs(a),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){let r=this.version,a=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,a))throw RangeError("Invalid argument");let o=t.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][r],i=t.ECC_CODEWORDS_PER_BLOCK[a.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),l=o-s%o,d=Math.floor(s/o),u=[],c=t.reedSolomonComputeDivisor(i);for(let r=0,a=0;r<o;r++){let n=e.slice(a,a+d-i+(r<l?0:1));a+=n.length;let o=t.reedSolomonComputeRemainder(n,c);r<l&&n.push(0),u.push(n.concat(o))}let h=[];for(let e=0;e<u[0].length;e++)u.forEach((t,r)=>{(e!=d-i||r>=l)&&h.push(t[e])});return n(h.length==s),h}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let o=0;o<2;o++){let i=t-o,s=(t+1&2)==0?this.size-1-n:n;!this.isFunction[s][i]&&r<8*e.length&&(this.modules[s][i]=a(e[r>>>3],7-(7&r)),r++)}}n(r==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let a;switch(e){case 0:a=(r+t)%2==0;break;case 1:a=t%2==0;break;case 2:a=r%3==0;break;case 3:a=(r+t)%3==0;break;case 4:a=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:a=r*t%2+r*t%3==0;break;case 6:a=(r*t%2+r*t%3)%2==0;break;case 7:a=((r+t)%2+r*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][r]&&a&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let a=!1,n=0,o=[0,0,0,0,0,0,0];for(let i=0;i<this.size;
vendor: 1,672 bytes, line 6
6i++)this.modules[r][i]==a?5==++n?e+=t.PENALTY_N1:n>5&&e++:(this.finderPenaltyAddHistory(n,o),a||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),a=this.modules[r][i],n=1);e+=this.finderPenaltyTerminateAndCount(a,n,o)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let a=!1,n=0,o=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][r]==a?5==++n?e+=t.PENALTY_N1:n>5&&e++:(this.finderPenaltyAddHistory(n,o),a||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),a=this.modules[i][r],n=1);e+=this.finderPenaltyTerminateAndCount(a,n,o)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let a=0;a<this.size-1;a++){let n=this.modules[r][a];n==this.modules[r][a+1]&&n==this.modules[r+1][a]&&n==this.modules[r+1][a+1]&&(e+=t.PENALTY_N2)}let r=0;for(let e of this.modules)r=e.reduce((e,t)=>e+ +!!t,r);let a=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*a)/a)-1;return n(0<=o&&o<=9),n(0<=(e+=o*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),r=[6];for(let a=this.size-7;r.length<e;a-=t)r.splice(1,0,a);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return n(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);
6r.push(1);let a=1;for(let n=0;n<e;n++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],a),e+1<r.length&&(r[e]^=r[e+1]);a=t.reedSolomonMultiply(a,2)}return r}static reedSolomonComputeRemainder(e,r){let a=r.map(e=>0);for(let n of e){let e=n^a.shift();a.push(0),r.forEach((r,n)=>a[n]^=t.reedSolomonMultiply(r,e))}return a}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let r=0;for(let a=7;a>=0;a--)r=r<<1^(r>>>7)*285^(t>>>a&1)*e;return n(r>>>8==0),r}finderPenaltyCountPatterns(e){let t=e[1];n(t<=3*this.size);let r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function r(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let a=t-1;a>=0;a--)r.push(e>>>a&1)}function a(e,t){return(e>>>t&1)!=0}function n(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let o=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(let a of e)r(a,8,t);return new o(o.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!o.isNumeric(e))throw RangeError("String contains non-numeric characters");let t=[];for(let a=0;a<e.length;){let n=Math.min(e.length-a,3);r(parseInt(e.substr(a,n),10),3*n+1,t),a+=n}return new o(o.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){let t;if(!o.isAlphanumeric(e))throw RangeError("String contains unencodable characters in alphanumeric mode");let a=[];for(t=0;t+2<=e.length;t+=2){let n=45*o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));r(n+=o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),11,a)}return t<e.length&&r(o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,a),new o(o.Mode.ALPHANUMERIC,e.length,a)}static makeSegments(e){return""==e?[]:o.isNumeric(e)?[o.makeNumeric(e)]:o.isAlphanumeric(e)?[o.makeAlphanumeric(e)]:[o.makeBytes(o.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else if(e<1e6)r(6,3,t),r(e,21,t);else throw RangeError("ECI assignment value out of range");return new o(o.Mode.ECI,0,t)}static isNumeric(e){return o.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return o.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(let a of e){let e=a.mode.numCharCountBits(t);if(a.numChars>=1<<e)return 1/0;r+=4+e+a.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}},i=o;i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=i})(s||(s={})),n=(a=s||(s={})).QrCode||(a.QrCode={}),(t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}}).LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),n.Ecc=t,i=(o=s||(s={})).QrSegment||(o.QrSegment={}),(r=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}).NUMERIC=new r(1,[10,12,14]),r.ALPHANUMERIC=new r(2,[9,11,13]),r.BYTE=new r(4,[8,16,16]),r.KANJI=new r(8,[8,10,12]),r.ECI=new r(7,[0,0,0]),i.Mode=r;var m=s,g={L:m.QrCode.Ecc.LOW,M:m.QrCode.Ecc.MEDIUM,Q:m.QrCode.Ecc.QUARTILE,H:m.QrCode.Ecc.HIGH};!function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}}(),e.s(["QRCodeSVG",0,function(e){let{value:t,size:r=128,level:a="L",bgColor:n="#FFFFFF",fgColor:o="#000000",includeMargin:i=!1,imageSettings:s}=e,d=((e,t)=>{var r={};for(var a in e)c.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&u)for(var a of u(e))0>t.indexOf(a)&&h.call(e,a)&&(r[a]=e[a]);return r})(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),p=m.QrCode.encodeText(t,g[a]).getModules(),v=4*!!i,y=p.length+2*v,b=function(e,t,r,a){if(null==a)return null;let n=e.length+4*!!r*2,o=Math.floor(.1*t),i=n/t,s=(a.width||o)*i,l=(a.height||o)*i,d=null==a.x?e.length/2-s/2:a.x*i,u=null==a.y?e.length/2-l/2:a.y*i,c=null;if(a.excavate){let e=Math.floor(d),t=Math.floor(u),r=Math.ceil(s+d-e),a=Math.ceil(l+u-t);c={x:e,y:t,w:r,h:a}}return{x:d,y:u,h:l,w:s,excavation:c}}(p,r,i,s),w=null;if(null!=s&&null!=b){var E,x;null!=b.excavation&&(E=p,x=b.excavation,p=E.slice().map((e,t)=>t<x.y||t>=x.y+x.h?e:e.map((e,t)=>(t<x.x||t>=x.x+x.w)&&e))),w=l.default.createElement("image",{xlinkHref:s.src,height:b.h,width:b.
6w,x:b.x+v,y:b.y+v,preserveAspectRatio:"none"})}let C=function(e,t=0){let r=[];return e.forEach(function(e,a){let n=null;e.forEach(function(o,i){if(!o&&null!==n){r.push(`M${n+t} ${a+t}h${i-n}v1H${n+t}z`),n=null;return}if(i===e.length-1){if(!o)return;null===n?r.push(`M${i+t},${a+t} h1v1H${i+t}z`):r.push(`M${n+t},${a+t} h${i+1-n}v1H${n+t}z`);return}o&&null===n&&(n=i)})}),r.join("")}(p,v);return l.default.createElement("svg",((e,t)=>{for(var r in t||(t={}))c.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))h.call(t,r)&&f(e,r,t[r]);return e})({height:r,width:r,viewBox:`0 0 ${y} ${y}`},d),l.default.createElement("path",{fill:n,d:`M0,0 h${y}v${y}H0z`,shapeRendering:"crispEdges"}),l.default.createElement("path",{fill:o,d:C,shapeRendering:"crispEdges"}),w)}])},957905,e=>{"use strict";var t,r,a,n,o,i,s,l,d,u=((t={}).HealthcareProvider="healthcare_provider",t.PatientCaregiver="patient_caregiver",t),c=((r={}).VidscripOpened="vidscrip_opened",r.VidscripShared="vidscrip_shared",r.MomentShared="moment_shared",r.MomentViewed="moment_viewed",r.VideoOpened="video_opened",r.VideoWatched="video_watched",r.VideoProgress="video_progress",r.VideoPaused="video_paused",r.VideoResumed="video_resumed",r.VideoSeeked="video_seeked",r.PlaylistVideoChanged="playlist_video_changed",r.CaptionsToggled="captions_toggled",r.ChannelShared="channel_shared",r.JourneyShared="journey_shared",r.JourneyStarted="journey_started",r.JourneyProgress="journey_progress",r.JourneyCompleted="journey_completed",r.JourneyExited="journey_exited",r.MomentNavigated="moment_navigated",r.EnrollmentSkipped="enrollment_skipped",r.PatientEnrolled="patient_enrolled",r.TimelineItemSelected="timeline_item_selected",r.JourneyRoadmapViewed="journey_roadmap_viewed",r.JourneyRoadmapStarted="journey_roadmap_started",r.ChannelViewed="channel_viewed",r.JourneyViewed="journey_viewed",r.ResourceViewed="resource_viewed",r.ResourceCompleted="resource_completed",r.ResourceNavigated="resource_navigated",r.SmsOptInViewed="sms_opt_in_viewed",r.SmsOptInAccepted="sms_opt_in_accepted",r.SmsOptInDismissed="sms_opt_in_dismissed",r.ProviderSearchPerformed="provider_search_performed",r.ProviderSelected="provider_selected",r.JourneyCardClicked="journey_card_clicked",r.AboutMeOpened="about_me_opened",r.JourneySearchPerformed="journey_search_performed",r.ChannelReturned="channel_returned",r.ChannelNavigated="channel_navigated",r.JourneyShareInitiated="journey_share_initiated",r.ChannelShareInitiated="channel_share_initiated",r.JourneyCreated="journey_created",r.JourneyEdited="journey_edited",r.JourneyArchived="journey_archived",r.JourneyUnarchived="journey_unarchived",r.JourneyDeleted="journey_deleted",r.DashboardColumnVisibilityChanged="dashboard_column_visibility_changed",r.DashboardTableSorted="dashboard_table_sorted",r.DashboardFilterApplied="dashboard_filter_applied",r.DashboardFilterVisibilityChanged="dashboard_filter_visibility_changed",r.DashboardSavedViewSaved="dashboard_saved_view_saved",r.DashboardSavedViewDeleted="dashboard_saved_view_deleted",r.DashboardDatePresetSelected="dashboard_date_preset_selected",r.DashboardFiltersCleared="dashboard_filters_cleared",r.DashboardSavedViewLoaded="dashboard_saved_view_loaded",r.DashboardProviderRowExpanded="dashboard_provider_row_expanded",r.DashboardUserSnapshotOpened="dashboard_user_snapshot_opened",r.DashboardProviderHistoryOpened="dashboard_provider_history_opened",r.DashboardDrillDownOpened="dashboard_drill_down_opened",r.DashboardJourneySnapshotOpened="dashboard_journey_snapshot_opened",r.SurveySubmitted="survey_submitted",r);(a={}).Accepted="accepted",a.Dismissed="dismissed";var h=((n={}).Vidscrip="VIDSCRIP",n.Intro="INTRO",n.Ad="AD",n.Document="DOCUMENT",n.Link="LINK",n.Survey="SURVEY",n.Directions="DIRECTIONS",n.Form="FORM",n.Note="NOTE",n),f=((o={}).Owner="OWNER",o.Referrer="REFERRER",o.CareTeam="CARE_TEAM",o.Organization="ORGANIZATION",o.Sponsored="SPONSORED",o),m=((i={}).Day="DAY",i.Week="WEEK",i),g=((s={}).Event="EVENT",s.Enrollment="ENROLLMENT",s),p=((l={}).Mobile="mobile",l.Email="email",l.WhatsApp="whatsApp",l.KakaoTalk="kakaoTalk",l),v=((d={}).ChannelShare="channel-shared",d.MomentShare="moment-shared",d);e.s(["MessageType",()=>p,"MomentType",()=>h,"NoteSubtype",()=>f,"ShareType",()=>v,"TargetAudience",()=>u,"TimingBasedOnType",()=>g,"TimingUnitType",()=>m,"VidscripEventType",()=>c])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.