PageSourceSearch

https://carematch.ai/_next/static/chunks/0a-ox8amow2~c.js

js carematch.ai collected 2026-10-05 15:20:27 UTC 17,630 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,335190,e=>{"use strict";var t=e.i(271645);e.s(["useControlledState",0,function(e,n,r){let[o,i]=(0,t.useState)(e||n),a=(0,t.useRef)(void 0!==e),l=void 0!==e;(0,t.useEffect)(()=>{let e=a.current;e!==l&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),a.current=l},[l]);let u=l?e:o,s=(0,t.useCallback)((e,...t)=>{let n=(e,...t)=>{r&&!Object.is(u,e)&&r(e,...t),l||(u=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((r,...o)=>{let i=e(l?u:r,...o);return(n(i,...t),l)?r:i})):(l||i(e),n(e,...t))},[l,u,r]);return[u,s]}])},370864,513887,e=>{"use strict";var t=e.i(107127),n=e.i(791884),r=e.i(999661),o=e.i(271645);let i=o.default.createContext(null),a="react-aria-focus-scope-restore",l=null,u=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],s=u.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";u.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let c=u.join(':not([hidden]):not([tabindex="-1"]),');function d(e){return e[0].parentElement}function f(e){let t=T.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function p(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of T.traverse(T.getTreeNode(t)))if(n&&m(e,n.current))return!0;return!1}function v(e,t){var n;let r=null==(n=T.getTreeNode(t))?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function h(e,n=!1){if(null==e||n){if(null!=e)try{e.focus()}catch{}}else try{(0,t.focusSafely)(e)}catch{}}function E(e,t=!0){let n=e[0].previousElementSibling,r=d(e),o=R(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();return t&&!i&&((o=R(r=d(e),{tabbable:!1},e)).currentNode=n,i=o.nextNode()),i}function b(e,t=!0){h(E(e,t))}function g(e){let t=T.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function y(e){e.dispatchEvent(new CustomEvent(a,{bubbles:!0,cancelable:!0}))&&h(e)}function R(e,t,r){let o=(null==t?void 0:t.tabbable)?c:s,i=(0,n.getOwnerDocument)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var i;return(null==t||null==(i=t.from)?void 0:i.contains(e))?NodeFilter.FILTER_REJECT:e.matches(o)&&function e(t,r){return"#comment"!==t.nodeName&&function(e){let t=(0,n.getOwnerWindow)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:o}=e.style,i="none"!==r&&"hidden"!==o&&"collapse"!==o;if(i){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);i="none"!==n&&"hidden"!==r&&"collapse"!==r}return i}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!r||m(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(i.currentNode=t.from),i}class w{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new N({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new w;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new N({scopeRef:null}),this.fastMap.set(null,this.root)}}class N{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let T=new w;e.s(["FocusScope",0,function(e){var t,u,s,c,w,L,x,S,C,O;let A,M,F,I,{children:D,contain:P,restoreFocus:K,autoFocus:W}=e,k=(0,o.useRef)(null),H=(0,o.useRef)(null),z=(0,o.useRef)([]),{parentNode:j}=(0,o.useContext)(i)||{},B=(0,o.useMemo)(()=>new N({scopeRef:z}),[z]);(0,r.useLayoutEffect)(()=>{let e=j||T.root;if(T.getTreeNode(e.scopeRef)&&l&&!v(l,e.scopeRef)){let t=T.getTreeNode(l);t&&(e=t)}e.addChild(B),T.addNode(B)},[B,j]),(0,r.useLayoutEffect)(()=>{let e=T.getTreeNode(z);e&&(e.contain=!!P)},[P]),(0,r.useLayoutEffect)(()=>{var e;
1let t=null==(e=k.current)?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==H.current;)n.push(t),t.addEventListener(a,r),t=t.nextSibling;return z.current=n,()=>{for(let e of n)e.removeEventListener(a,r)}},[D]),t=z,u=K,s=P,(0,r.useLayoutEffect)(()=>{if(u||s)return;let e=t.current,r=(0,n.getOwnerDocument)(e?e[0]:void 0),o=e=>{let n=e.target;m(n,t.current)?l=t:p(n)||(l=null)};return r.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{r.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1))}},[t,u,s]),c=z,w=P,A=(0,o.useRef)(void 0),M=(0,o.useRef)(void 0),(0,r.useLayoutEffect)(()=>{let e=c.current;if(!w){M.current&&(cancelAnimationFrame(M.current),M.current=void 0);return}let t=(0,n.getOwnerDocument)(e?e[0]:void 0),r=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!f(c)||e.isComposing)return;let n=t.activeElement,r=c.current;if(!r||!m(n,r))return;let o=R(d(r),{tabbable:!0},r);if(!n)return;o.currentNode=n;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&h(i,!0)},o=e=>{(!l||v(l,c))&&m(e.target,c.current)?(l=c,A.current=e.target):f(c)&&!p(e.target,c)?A.current?A.current.focus():l&&l.current&&b(l.current):f(c)&&(A.current=e.target)},i=e=>{M.current&&cancelAnimationFrame(M.current),M.current=requestAnimationFrame(()=>{if(t.activeElement&&f(c)&&!p(t.activeElement,c))if(l=c,t.body.contains(e.target)){var n;A.current=e.target,null==(n=A.current)||n.focus()}else l.current&&b(l.current)})};return t.addEventListener("keydown",r,!1),t.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",i,!1)),()=>{t.removeEventListener("keydown",r,!1),t.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",i,!1))}},[c,w]),(0,r.useLayoutEffect)(()=>()=>{M.current&&cancelAnimationFrame(M.current)},[M]),L=z,x=K,S=P,F=(0,o.useRef)("u">typeof document?(0,n.getOwnerDocument)(L.current?L.current[0]:void 0).activeElement:null),(0,r.useLayoutEffect)(()=>{let e=L.current,t=(0,n.getOwnerDocument)(e?e[0]:void 0);if(!x||S)return;let r=()=>{(!l||v(l,L))&&m(t.activeElement,L.current)&&(l=L)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[L,S]),(0,r.useLayoutEffect)(()=>{let e=(0,n.getOwnerDocument)(L.current?L.current[0]:void 0);if(!x)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!f(L)||t.isComposing)return;let n=e.activeElement;if(!p(n,L)||!g(L))return;let r=T.getTreeNode(L);if(!r)return;let o=r.nodeToRestore,i=R(e.body,{tabbable:!0});i.currentNode=n;let a=t.shiftKey?i.previousNode():i.nextNode();if(o&&e.body.contains(o)&&o!==e.body||(o=void 0,r.nodeToRestore=void 0),(!a||!p(a,L))&&o){i.currentNode=o;do a=t.shiftKey?i.previousNode():i.nextNode();while(p(a,L))(t.preventDefault(),t.stopPropagation(),a)?h(a,!0):p(o)?h(o,!0):n.blur()}};return S||e.addEventListener("keydown",t,!0),()=>{S||e.removeEventListener("keydown",t,!0)}},[L,x,S]),(0,r.useLayoutEffect)(()=>{var e;let t=(0,n.getOwnerDocument)(L.current?L.current[0]:void 0);if(!x)return;let r=T.getTreeNode(L);if(r)return r.nodeToRestore=null!=(e=F.current)?e:void 0,()=>{let e=T.getTreeNode(L);if(!e)return;let n=e.nodeToRestore;if(x&&n&&(t.activeElement&&p(t.activeElement,L)||t.activeElement===t.body&&g(L))){let e=T.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=e.getTreeNode(L);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void y(t.nodeToRestore);t=t.parent}for(t=e.getTreeNode(L);t;){if(t.scopeRef&&t.scopeRef.current&&T.getTreeNode(t.scopeRef))return void y(E(t.scopeRef.current,!0));t=t.parent}}})}}},[L,x]),C=z,O=W,I=o.default.useRef(O),(0,o.useEffect)(()=>{I.current&&(l=C,!m((0,n.getOwnerDocument)(C.current?C.current[0]:void 0).activeElement,l.current)&&C.current&&b(C.current)),I.current=!1},[C]),(0,o.useEffect)(()=>{let e=(0,n.getOwnerDocument)(z.current?z.current[0]:void 0).activeElement,t=null;if(m(e,z.current)){for(let n of T.traverse())n.scopeRef&&m(e,n.scopeRef.current)&&(t=n);t===T.getTreeNode(z)&&(l=t.scopeRef)}},[z]),(0,r.useLayoutEffect)(()=>()=>{var e,t,n;let r=null!=(n=null==(t=T.getTreeNode(z))||null==(e=t.parent)?void 0:e.scopeRef)?n:null;(z===l||v(z,l))&&(!r||T.getTreeNode(r))&&(l=r),T.removeTreeNode(z)},[z]);let _=(0,o.useMemo)(()=>{var e;return e=z,{focusNext(t={}){let r=e.current,{from:o,tabbable:i,wrap:a,accept:l}=t,u=o||(0,n.getOwnerDocument)(r[0]).activeElement,s=r[0].previousElementSibling,c=R(d(r),{tabbable:i,accept:l},r);c.currentNode=m(u,r)?u:s;let f=c.nextNode();return!f&&a&&(c.currentNode=s,f=c.nextNode()),f&&h(f,!0),f},focusPrevious(t={}){let r=e.current,{from:o,tabbable:i,wrap:a,accept:l}=t,u=o||(0,n.getOwnerDocument)(r[0]).activeElement,s=r[r.length-1].nextElementSibling,c=R(d(r),{tabbable:i,accept:l},r);c.currentNode=m(u,r)?u:s;let f=c.previousNode();return!f&&a&&(c.currentNode=s,f=c.previousNode()),f&&h(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=R(d(n),{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let a=i.nextNode();return a&&h(a,!0),a},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=R(d(n),{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let a=i.previousNode();return a&&h(a,!0),a}}},[]),q=(0,o.useMemo)(()=>({focusManager:_,parentNode:B}),[B,_]);return o.default.createElement(i.Provider,{value:q},o.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:k}),D,o.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:H}))},"getFocusableTreeWalker",0,R,"isElementInChildOfActiveScope",0,function(e){return p(e,l)}],370864);var L={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};L.easeOut,L.easeIn;var x={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:L.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:L.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:L.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:L.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:L.ease}},exit:{opacity:0,transition:{duration:.3,ease:L.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}};e.s(["TRANSITION_EASINGS",0,L,"TRANSITION_VARIANTS",0,x],513887)},582755,e=>{"use strict";var t=e.i(271645);e.s(["useResizeObserver",0,function(e){let{ref:n,box:r,onResize:o}=e;(0,t.useEffect)(()=>{let e=null==n?void 0:n.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&o()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}},[o,n,r])}])},158825,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)({});var r=e.i(892902),o=e.i(797547),i=e.i(750179),a=e.i(389979);function l({children:e}){let n=(0,t.useMemo)(()=>({register:()=>{}}),[]);return t.default.createElement(r.PressResponderContext.Provider,{value:n},e)}t.default.forwardRef(({children:e,...n},l)=>{let u=(0,t.useRef)(!1),s=(0,t.useContext)(r.PressResponderContext);l=(0,o.useObjectRef)(l||(null==s?void 0:s.ref));let c=(0,i.mergeProps)(s||{},{...n,ref:l,register(){u.current=!0,s&&s.register()}});return(0,a.useSyncRef)(s,l),(0,t.useEffect)(()=>{u.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),u.current=!0)},[]),t.default.createElement(r.PressResponderContext.Provider,{value:c},e)});var u=e.i(370864),s=e.i(174080),c=e.i(454453),d=e.i(999661);let f=t.default.createContext(null);e.s(["Overlay",0,function(e){var r;let o=(0,c.useIsSSR)(),{portalContainer:i=o?null:document.body,isExiting:a}=e,[d,m]=(0,t.useState)(!1),p=(0,t.useMemo)(()=>({contain:d,setContain:m}),[d,m]),{getContainer:v}=null!=(r=(0,t.useContext)(n))?r:{};
1if(!e.portalContainer&&v&&(i=v()),!i)return null;let h=e.children;return e.disableFocusManagement||(h=t.default.createElement(u.FocusScope,{restoreFocus:!0,contain:d&&!a},h)),h=t.default.createElement(f.Provider,{value:p},t.default.createElement(l,null,h)),s.default.createPortal(h,i)},"useOverlayFocusContain",0,function(){let e=(0,t.useContext)(f),n=null==e?void 0:e.setContain;(0,d.useLayoutEffect)(()=>{null==n||n(!0)},[n])}],158825)},37681,62789,e=>{"use strict";let t;var n=e.i(999661),r=e.i(111733),o=e.i(174501);function i(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function a(e,t){let n=e;for(i(n,t)&&(n=n.parentElement);n&&!i(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}e.s(["isScrollable",0,i],62789);let l="u">typeof document&&window.visualViewport,u=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),s=0;function c(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function d(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function f(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=a(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect().top,r=n.getBoundingClientRect().top;r>t+n.clientHeight&&(e.scrollTop+=r-t)}n=e.parentElement}}function m(e){return e instanceof HTMLInputElement&&!u.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}e.s(["usePreventScroll",0,function(e={}){let{isDisabled:i}=e;(0,n.useLayoutEffect)(()=>{if(!i){let e,n,i,u,p;return 1==++s&&(t=(0,r.isIOS)()?(i=null,u=()=>{if(i)return;let e=window.pageXOffset,t=window.pageYOffset;i=(0,o.chain)(d(window,"scroll",()=>{window.scrollTo(0,0)}),c(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),c(document.documentElement,"overflow","hidden"),c(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},p=(0,o.chain)(d(document,"touchstart",t=>{((e=a(t.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(n=c(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),d(document,"touchmove",t=>{e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault()},{passive:!1,capture:!0}),d(document,"touchend",e=>{let t=e.target;m(t)&&t!==document.activeElement&&(e.preventDefault(),u(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""})),n&&n()},{passive:!1,capture:!0}),d(document,"focus",e=>{let t=e.target;m(t)&&(u(),t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",l&&(l.height<window.innerHeight?requestAnimationFrame(()=>{f(t)}):l.addEventListener("resize",()=>f(t),{once:!0}))}))},!0)),()=>{null==n||n(),null==i||i(),p()}):(0,o.chain)(c(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),c(document.documentElement,"overflow","hidden"))),()=>{0==--s&&t()}}},[i])}],37681)}]);

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.