PageSourceSearch

https://herculeshealth.app/assets/Providers-uzg-9bQm.js

js herculeshealth.app collected 2026-10-02 00:27:50 UTC 4,807 bytes, 1 lines download raw bytes

1import{u as f,g as L}from"./shopping-DQnL2wMe.js";import{a0 as c,a1 as D,F as N,w as V,n as w,$ as o,a2 as v,a3 as d,E as u,X as S,a4 as g,B as h,D as B,W as F,_ as M,f as P,a5 as j}from"./vue-DhRW_Bdo.js";import{s as y}from"./pinia-BZRDrTuq.js";import{c as I,J as z}from"./app-0wSrahwM.js";import{_ as E,k as O,aG as C}from"./index-CvhpDjto.js";import{g as A}from"./auth-Db5PsbJi.js";import{a as K,V as U}from"./VList-CeIWE2oY.js";import{V as G,a as J}from"./VAlert-rAqJEmih.js";import{V as W}from"./VContainer-Bw2IWw4X.js";import{V as X}from"./VSheet-De0_kMxt.js";import"./matrix-BOdY2fbt.js";import"./member-BJuQ_RSS.js";import"./vuetify-D-QhuFO2.js";import"./accumulator-BmSov0uh.js";import"./index-B8bd3gKi.js";import"./device_action-dnYxxnu_.js";import"./theme-00tyXzne.js";import"./user_setting-BrkTZoVW.js";import"./notice-CqsQaO5L.js";import"./ssrBoot-DeJD_Ch-.js";import"./VDivider-B1GUwGmA.js";const q={__name:"ProvidersListItems",setup(_,{expose:n}){n();const s=f(),e=I(),{activeReferrer:l,filters:p,highlightedResultKey:r,providerSearchResults:i,taxonomySelection:m}=y(s),{setActiveProvider:T}=s,R=t=>`provider-result-${t}`,x=t=>t.locations?.some(a=>L(a.geoLocation)===r.value);V(r,t=>{if(!t)return;const a=i.value.findIndex(k=>x(k));a<0||w(()=>{document.getElementById(R(a))?.scrollIntoView({behavior:"smooth",block:"center"})})});const b={s,router:e,activeReferrer:l,filters:p,highlightedResultKey:r,providerSearchResults:i,taxonomySelection:m,setActiveProvider:T,providerElementId:R,providerHasLocation:x,highlightText:(t,a)=>{if(!a)return t;const k=new RegExp(a,"gi");return t.replace(k,H=>`<span class="highlighted-search-result">${H}</span>`)},goToProvider:t=>{l.value="providers",T(t),e.push(e.resolve({name:"provider",params:{id:t.providerNpi}}))},nextTick:w,watch:V,get storeToRefs(){return y}
1,get useShoppingStore(){return f},get useRouter(){return I},get mdiChevronDoubleRight(){return z},get get(){return A},get geoKey(){return L}};return Object.defineProperty(b,"__isScriptSetup",{enumerable:!1,value:!0}),b}},Q=["onClick"],Y={class:"search-result pa-4"},Z=["innerHTML"],$={key:0},ee=["innerHTML"],re=["innerHTML"],te={key:2,class:"search-result-subtitle"},oe={class:"search-result-link"};function se(_,n,s,e,l,p){return o(!0),c(N,null,D(e.providerSearchResults,(r,i)=>(o(),v(K,{key:i,id:e.providerElementId(i),class:B(["pa-0 overflow-hidden mb-3 bg-translucent",{"map-result-highlight":e.providerHasLocation(r)}])},{default:d(()=>[u("div",{class:"search-result-wrapper",onClick:m=>e.goToProvider(r)},[u("div",Y,[u("div",null,[u("div",{class:"search-result-title",innerHTML:e.highlightText(`${r.firstName} ${r.lastName}, ${r.credentials}`,e.taxonomySelection)},null,8,Z)]),r.locations?.length>0?(o(),c("div",$,[e.get(r,"locations.0.organizationName",!1)?(o(),c("div",{key:0,class:"search-result-subtitle",innerHTML:e.highlightText(r.locations?.[0]?.organizationName,e.taxonomySelection)},null,8,ee)):(o(),c("div",{key:1,class:"search-result-subtitle",innerHTML:e.highlightText(`${e.get(r,"locations.0.address.city")}, ${e.get(r,"locations.0.address.state")} ${e.get(r,"locations.0.address.zipcode")}`,_.searchTerm)},null,8,re)),e.get(r,"locations.0.distanceFromCenter")?(o(),c("div",te,S(r.locations[0].distanceFromCenter)+" "+S(e.filters.measurement),1)):g("",!0)])):g("",!0)]),u("div",oe,[h(O,{icon:e.mdiChevronDoubleRight},null,8,["icon"])])],8,Q)]),_:2},1032,["id","class"]))),128)}const ne=E(q,[["render",se],["__file","/Users/jenkins/agent/workspace/Deploy New H4O Prod/src/views/Shopping/components/parts/ProvidersListItems.vue"]]),ie={__name:"Providers",setup(_,{expose:n}){n();const s=f(),{bottomFetch:e,fetchingResults:l,providerSearchResults:p,searchResults:r}=y(s),i=P(()=>r.value?.error?r.value.error:null),m={s,bottomFetch:e,fetchingResults:l,providerSearchResults:p,searchResults:r,searchError:i,get useShoppingStore(
1){return f},computed:P,get storeToRefs(){return y},ProvidersListItems:ne};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}};function ae(_,n,s,e,l,p){return o(),c(N,null,[F(h(G,{type:"warning"},{default:d(()=>[h(J,null,{default:d(()=>[j(S(e.searchError),1)]),_:1})]),_:1},512),[[M,e.searchError]]),h(W,null,{default:d(()=>[e.fetchingResults?(o(),v(C,{key:0,indeterminate:"",color:"primary"})):g("",!0),h(X,null,{default:d(()=>[h(U,{density:"compact",class:"px-md-5"},{default:d(()=>[e.searchResults&&!e.searchError?(o(),v(e.ProvidersListItems,{key:0})):g("",!0)]),_:1})]),_:1}),e.fetchingResults&&e.bottomFetch?(o(),v(C,{key:1,indeterminate:"",color:"primary"})):g("",!0),n[0]||(n[0]=u("div",{class:"bottom-space"},null,-1))]),_:1})],64)}const Ce=E(ie,[["render",ae],["__scopeId","data-v-30d447e8"],["__file","/Users/jenkins/agent/workspace/Deploy New H4O Prod/src/views/Shopping/Providers.vue"]]);export{Ce as default};

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.