PageSourceSearch

https://www.stitchhealth.co/_next/static/chunks/300-e3c7c71abd29be53.js

js stitchhealth.co collected 2026-10-04 20:14:13 UTC 10,729 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[300],{35300:function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r,l;r=t,l=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function o(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function u(e){return o(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function c(e){return"@list"===e._type}function s(e){return"@span"===e._type}function f(e){return"@text"===e._type}n.d(t,{YI:function(){return M}});let a=["strong","em","code","underline","strike-through"];function p(e,t,n){if(!i(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),l={};return r.forEach(e=>{l[e]=1;for(let r=t+1;r<n.length;r++){let t=n[r];if(t&&i(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))l[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let r=e[t],l=e[n];if(r!==l)return l-r;let i=a.indexOf(t),o=a.indexOf(n);return i!==o?i-o:t.localeCompare(n)})(l,e,t))}function y(e,t,n){return{_type:"@list",_key:"".concat(e._key||"".concat(t),"-parent"),mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function m(e,t){let n=t.level||1,r=t.listItem||"normal",l="string"==typeof t.listItem;if(c(e)&&(e.level||1)===n&&l&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let o=e.children[e.children.length-1];return o&&!i(o)?m(o,t):void 0}var h=n(85893),k=n(67294);let d=["block","list","listItem","marks","types"],b=["listItem"],j=["_key"];function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){var r,l;r=t,l=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function O(e,t,n){let r=t[n],l=e[n];return"function"==typeof r||r&&"function"==typeof l?r:r?g(g({},l),r):l}let w={textDecoration:"underline"},_=(e,t)=>
1"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),I=e=>_('block type "'.concat(e,'"'),"types"),P=e=>_('mark type "'.concat(e,'"'),"marks"),S=e=>_('block style "'.concat(e,'"'),"block"),D=e=>_('list style "'.concat(e,'"'),"list"),E=e=>_('list item style "'.concat(e,'"'),"listItem");function A(e){console.warn(e)}let T={display:"none"},L={types:{},block:{normal:e=>{let{children:t}=e;return(0,h.jsx)("p",{children:t})},blockquote:e=>{let{children:t}=e;return(0,h.jsx)("blockquote",{children:t})},h1:e=>{let{children:t}=e;return(0,h.jsx)("h1",{children:t})},h2:e=>{let{children:t}=e;return(0,h.jsx)("h2",{children:t})},h3:e=>{let{children:t}=e;return(0,h.jsx)("h3",{children:t})},h4:e=>{let{children:t}=e;return(0,h.jsx)("h4",{children:t})},h5:e=>{let{children:t}=e;return(0,h.jsx)("h5",{children:t})},h6:e=>{let{children:t}=e;return(0,h.jsx)("h6",{children:t})}},marks:{em:e=>{let{children:t}=e;return(0,h.jsx)("em",{children:t})},strong:e=>{let{children:t}=e;return(0,h.jsx)("strong",{children:t})},code:e=>{let{children:t}=e;return(0,h.jsx)("code",{children:t})},underline:e=>{let{children:t}=e;return(0,h.jsx)("span",{style:w,children:t})},"strike-through":e=>{let{children:t}=e;return(0,h.jsx)("del",{children:t})},link:e=>{let{children:t,value:n}=e;return(0,h.jsx)("a",{href:null==n?void 0:n.href,children:t})}},list:{number:e=>{let{children:t}=e;return(0,h.jsx)("ol",{children:t})},bullet:e=>{let{children:t}=e;return(0,h.jsx)("ul",{children:t})}},listItem:e=>{let{children:t}=e;return(0,h.jsx)("li",{children:t})},hardBreak:()=>(0,h.jsx)("br",{}),unknownType:e=>{let{value:t,isInline:n}=e,r=I(t._type);return n?(0,h.jsx)("span",{style:T,children:r}):(0,h.jsx)("div",{style:T,children:r})},unknownMark:e=>{let{markType:t,children:n}=e;return(0,h.jsx)("span",{className:"unknown__pt__mark__".concat(t),children:n})},unknownList:e=>{let{children:t}=e;return(0,h.jsx)("ul",{children:t})},unknownListItem:e=>{let{children:t}=e;return(0,h.jsx)("li",{children:t})},unknownBlockStyle:e=>{let{children:t}=e;return(0,h.jsx)("p",{children:t})}};function M(e){let{value:t,components:n,listNestingMode:r,onMissingComponent:i=A}=e,o=i||C,c=Array.isArray(t)?t:[t],s=function(e,t){let n;let r=[];for(let o=0;o<e.length;o++){let c=e[o];if(c){var i;if(!u(c)){r.push(c),n=void 0;continue}if(!n){n=y(c,o,t),r.push(n);continue}if(i=n,(c.level||1)===i.level&&c.listItem===i.listItem){n.children.push(c);continue}if((c.level||1)>n.level){let e=y(c,o,t);if("html"===t){let t=n.children[n.children.length-1],r=l(l({},t),{},{children:[...t.children,e]});n.children[n.children.length-1]=r}else n.children.push(e);n=e;continue}if((c.level||1)<n.level){let e=r[r.length-1],l=e&&m(e,c);if(l){(n=l).children.push(c);continue}n=y(c,o,t),r.push(n);continue}if(c.listItem!==n.listItem){let e=r[r.length-1],l=e&&m(e,{level:c.level||1});if(l&&l.listItem===c.listItem){(n=l).children.push(c);continue}n=y(c,o,t),r.push(n);continue}console.warn("Unknown state encountered for block",c),r.push(c)}}return r}(c,r||"html"),f=(0,k.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:l,marks:i,types:o}=t,u=x(t,d);return g(g({},e),{},{block:O(e,t,"block"),list:O(e,t,"list"),listItem:O(e,t,"listItem"),marks:O(e,t,"marks"),types:O(e,t,"types")},u)}(L,n):L,[n]),a=(0,k.useMemo)(()=>B(f,o),[f,o]),p=s.map((e,t)=>a({node:e,index:t,isInline:!1,renderNode:a}));return(0,h.jsx)(h.Fragment,{children:p})}let B=(e,t)=>function n(r){let{node:l,index:i,isInline:a}=r,p=l._key||"node-".concat(i);return c(l)?function(r,l,i){let o=r.children.map((e,t)=>n({node:e._key?e:g(g({},e),{},{_key:"li-".concat(l,"-").concat(t)}),index:t,isInline:!1,renderNode:n})),u=e.list,c="function"==typeof u?u:u[r.listItem],s=c||e.unknownList;if(s===e.unknownList){let e=r.listItem||"bullet";t(D(e),{nodeType:"listStyle",type:e})}return(0,h.jsx)(s,{value:r,index:l,isInline:!1,renderNode:n,children:o},i)}(l,i,p):u(l)?function(r,l,i){let o=N({node:r,index:l,isInline:!1,renderNode:n}),u=e.listItem,c="function"==typeof u?u:u[r.listItem],s=c||e.unknownListItem;if(s===e.unknownListItem){let e=r.listItem||"bullet";t(E(e),{type:e,nodeType:"listItemStyle"})}let f=o.children;if(r.style&&"normal"!==r.style){let{listItem:e}=r,t=x(r,b);f=n({node:t,index:l,isInline:!1,renderNode:n})}return(0,h.jsx)(s,{value:r,index:l,isInline:!1,renderNode:n,children:f},i)}(l,i,p):s(l)?function(r,l,i){let{markDef:o,markType:u,markKey:c}=r,a=e.marks[u]||e.unknownMark,p=r.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));
1return a===e.unknownMark&&t(P(u),{nodeType:"mark",type:u}),(0,h.jsx)(a,{text:function e(t){let n="";return t.children.forEach(t=>{f(t)?n+=t.text:s(t)&&(n+=e(t))}),n}(r),value:o,markType:u,markKey:c,renderNode:n,children:p},i)}(l,0,p):l._type in e.types?function(t,r,l,i){let o=e.types[t._type];return o?(0,h.jsx)(o,g({},{value:t,isInline:i,index:r,renderNode:n}),l):null}(l,i,p,a):o(l)?function(r,l,i,o){let u=N({node:r,index:l,isInline:o,renderNode:n}),{_key:c}=u,s=x(u,j),f=s.node.style||"normal",a="function"==typeof e.block?e.block:e.block[f],p=a||e.unknownBlockStyle;return p===e.unknownBlockStyle&&t(S(f),{nodeType:"blockStyle",type:f}),(0,h.jsx)(p,g(g({},s),{},{value:s.node,renderNode:n}),i)}(l,i,p,a):f(l)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,h.jsx)(t,{},n):"\n"}return t.text}(l,p):function(r,l,i,o){t(I(r._type),{nodeType:"block",type:r._type});let u=e.unknownType;return(0,h.jsx)(u,g({},{value:r,isInline:o,index:l,renderNode:n}),i)}(l,i,p,a)};function N(e){let{node:t,index:n,isInline:r,renderNode:l}=e,o=function(e){var t;let{children:n,markDefs:r=[]}=e;if(!n||!n.length)return[];let l=n.map(p),o={_type:"@span",children:[],markType:"<unknown>"},u=[o];for(let e=0;e<n.length;e++){let o=n[e];if(!o)continue;let c=l[e]||[],s=1;if(u.length>1)for(;s<u.length;s++){let e=(null==(t=u[s])?void 0:t.markKey)||"",n=c.indexOf(e);if(-1===n)break;c.splice(n,1)}let f=(u=u.slice(0,s))[u.length-1];if(f){for(let e of c){let t=r.find(t=>t._key===e),n=t?t._type:e,l={_type:"@span",_key:o._key,children:[],markDef:t,markType:n,markKey:e};f.children.push(l),u.push(l),f=l}if(i(o)){let e=o.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");f.children=f.children.concat(e.map(e=>({_type:"@text",text:e})))}else f.children=f.children.concat(o)}}return o.children}(t),u=o.map((e,t)=>l({node:e,isInline:!0,index:t,renderNode:l}));return{_key:t._key||"block-".concat(n),children:u,index:n,isInline:r,node:t}}function 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.