1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="473637f9-5c1a-41b2-8ed3-64c073435ae0",t._sentryDebugIdIdentifier="sentry-dbid-473637f9-5c1a-41b2-8ed3-64c073435ae0")}catch(t){}}(),function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="473637f9-5c1a-41b2-8ed3-64c073435ae0",t._sentryDebugIdIdentifier="sentry-dbid-473637f9-5c1a-41b2-8ed3-64c073435ae0")}catch(t){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[Error().stack],{"_sentryBundlerPluginAppKey:grow-therapy-ssr":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7163,5384],{87133:function(t,e,a){a.r(e),a.d(e,{GoogleMapStatic:function(){return A},GoogleMapStaticView:function(){return C},isValidGoogleMapsUrl:function(){return k}});var l=a(52322),n=a(8172),o=a(25237),i=a.n(o),r=a(96577),s=a.n(r),d=a(2784),c=a(24195),u=a(53481),g=a(79548),f=a(32070),p=a(35175),h=a(56128),m=a(40087),y=a(13060),M=a(42434),v=a(17774),w=a(95384),b=a(85530);let S=i()(async()=>({default:(await Promise.all([a.e(9774),a.e(7905),a.e(1537),a.e(6728),a.e(8433)]).then(a.bind(a,6728))).GoogleMapView}),{loadableGenerated:{webpack:()=>[6728]},ssr:!1,loading:()=>(0,l.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-neutral-100",children:"Loading interactive map..."})}),I={width:1067,height:1260},_=t=>{let e=new URLSearchParams;return e.append("size",t.size),e.append("scale",t.scale.toString()),e.append("format",t.format),e.append("maptype",t.maptype),e.append("key",t.key),t.zoom&&e.append("zoom",t.zoom),t.center&&e.append("center",t.center),"".concat("https://maps.googleapis.com/maps/api/staticmap","?").concat(e.toString())},E=(t,e)=>({north:Math.max(...t),south:Math.min(...t),east:Math.max(...e),west:Math.min(...e)}),x=(t,e)=>{let a=t=>{let e=Math.sin(t*Math.PI/180);return Math.max(Math.min(Math.log((1+e)/(1-e))/2,Math.PI),-Math.PI)/2},l=(t,e,a)=>Math.floor(Math.log(t/e/a)/Math.LN2),n=(a(t.maxLat)-a(t.minLat))/Math.PI,o=t.maxLng-t.minLng;return Math.min(l(e.height,256,n),l(e.width,256,o/360),21)},k=t=>{if(!t)return!1;try{let e=new URL(t);if(!e.hostname.includes("maps.googleapis.com")||!e.pathname.includes("/maps/api/staticmap"))return!1;let a=new URLSearchParams(e.search);for(let t of["key","size","scale"])if(!a.has(t))return!1;return!0}catch(t){return!1}};function A(t){let{defaultZoom:e,state:a,address:o,providers:i,provider:r,widthInfoWindow:A,queryArgs:C}=t,{slug:N,name:L,stateName:z,address:j}=(0,M.h)(),D="1"===(0,v.r)(),[G,V]=(0,d.useState)("static"),B=N&&D&&j?j:o,R=(0,w.I)({state:a,address:B})||(null==r?void 0:r.coordinates),{userClicked:U}=(0,h.Ke)(),P=!1,{hasFeature:O}=(0,c.ye)(p.R.HIDE_IN_PERSON_FOR_BCBS_ARIZONA_FULL_EXP);(0,b.E)(O,null!=a?a:"",null==C?void 0:C.insurance)&&(P=!0);let K=(0,d.useMemo)(()=>z?f.Yr[z]:void 0,[z]),T=(0,d.useCallback)(t=>{if(!t||!L||!K)return!1;let e=t.virtualCity===L&&t.virtualState===K,a=t.physicalCity===L&&t.physicalState===K;return e||a},[L,K]),H=(0,d.useCallback)(t=>{if(!R)return"";let l="".concat(R.lat,",").concat(R.long),o={key:(0,y.O)(),scale:2,size:"640x640",format:"png",maptype:"roadmap",zoom:e.toString(),center:l},s=_(o);if(!((null==i?void 0:i.length)||r))return s;let d=new Set,c=[],u=[],g=[];(i||(r?[r]:[])).forEach(e=>{var a,l;if(e){if((N||e.availabilitySettingsByState!==n.v8H.Virtual&&!t)&&(null===(a=e.coordinates)||void 0===a?void 0:a.lat)&&(null===(l=e.coordinates)||void 0===l?void 0:l.long)){let t="".concat(e.coordinates.lat,",").concat(e.coordinates.long);d.add(t),(!D||!N||T(e))&&(c.push(e.coordinates.lat),u.push(e.coordinates.long))}else(e.availabilitySettingsByState===n.v8H.Virtual||t&&(null==r?void 0:r.availabilitySettingsByState)===n.v8H.Both)&&g.push(e)}}),R.lat&&R.long&&(g.forEach(()=>{let t="".concat(R.lat,",").concat(R.long);d.add(t),(!D||!N||T(r))&&(c.includes(R.lat)||c.push(R.lat),u.includes(R.long)||u.push(R.long))}),!(!D||!N||T(r))||c.includes(R.lat)||u.includes(R.long)||(c.push(R.lat),u.push(R.long)));let f=Array.from(d);if(f.length>0&&c.length>0&&u.length>0){let t,e;let l=E(c,u);if(1===f.length){let[a,l]=f[0].split(",").map(Number);t=a,e=l}else t=(l.north+l.south)/2,e=(l.east+l.west)/2;let n=x({maxLat:l.north,minLat:l.south,maxLng:l.east,minLng:l.west},I);if(!isNaN(n)){if(g.length>1)o.zoom=Math.max(1,n-1).toString();else if(c.length<3){let t=N||a?2:4;o.zoom=Math.min(n+t,21).toString()}else N||a?o.zoom=Math.max(1,n-1).toString():o.zoom=n.toString()}
1o.center="".concat(t,",").concat(e),s=_(o)+"&markers=color:0xC0B0FF|size:small|".concat(f.join("|"))}return s},[R,e,T,N,D,r,i,a]),F=(0,d.useCallback)(()=>{U(g.sc.MAP_INTERACTIVE_VIEW_CLICKED,{cta:"View interactive map",variant:"staticMap",state:a||"",city:L||""}),V("interactive")},[U,a,L]),W=(0,d.useCallback)(()=>{let t=Error("Static map image failed to load");m.k.error("GoogleMapStaticView: Static map image failed to load",{state:a,city:L,address:o,coordinates:R?{lat:R.lat,long:R.long}:null},t),V("interactive")},[a,L,o,R]),Y=(0,d.useMemo)(()=>{if(!R)return"";try{let t=H(P);if(!k(t))throw Error("Generated map URL is invalid");return t}catch(t){m.k.error("GoogleMapStaticView: Error generating static map URL",{state:a,city:L,address:o,coordinates:{lat:R.lat,long:R.long}},t instanceof Error?t:Error(String(t))),V("interactive")}},[R,H,a,L,o,P]);if("interactive"===G)return(0,l.jsx)(d.Suspense,{fallback:(0,l.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-neutral-100",children:"Loading interactive map..."}),children:(0,l.jsx)(S,{defaultZoom:e,state:a,address:o,providers:i,provider:r,widthInfoWindow:A,queryArgs:C})});if(!R)return null;if(!Y||!k(Y)){if("static"===G){let t=Error("Invalid or missing Google Maps static URL");m.k.error("GoogleMapStaticView: Invalid Google Maps URL detected",{url:Y,state:a,city:L,address:o},t),V("interactive")}return null}return(0,l.jsxs)("div",{className:"relative h-full w-full cursor-pointer overflow-hidden","data-testid":"static-map-container",onClick:F,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&F()},role:"button",tabIndex:0,"aria-label":"View interactive map",children:[(0,l.jsx)(s(),{src:Y,alt:"Map image showing provider locations",width:I.width,height:I.height,quality:80,priority:!0,loading:"eager",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",display:"block"},onError:W}),(0,l.jsx)("div",{className:"absolute inset-0 z-10 flex items-start justify-start pl-5 pt-5",children:(0,l.jsx)(u.Button,{use:"secondary",onClick:t=>{t.stopPropagation(),F()},className:"border border-neutral-800 shadow-md hover:border-neutral-800","data-testid":"view-interactive-map-button",children:"View interactive map"})})]})}let C=(0,d.memo)(function(t){return(0,l.jsx)("div",{className:"small"===t.mapSize?"xl:ml-0 ml-10 mt-14 h-[588px] w-5/6 overflow-hidden rounded-2xl md:w-5/6":"h-full w-full","data-testid":"small"===t.mapSize?"google-map-small-static-view":"google-map-static-view",children:(0,l.jsx)(A,{...t})})})},95384:function(t,e,a){a.d(e,{I:function(){return d}});var l=a(2784),n=a(16209),o=a(32070),i=a(6723);let r={AL:{lat:32.377716,long:-86.300568},AK:{lat:58.301598,long:-134.420212},AZ:{lat:33.448143,long:-112.096962},AR:{lat:34.746613,long:-92.288986},CA:{lat:38.576668,long:-121.493629},CO:{lat:39.739227,long:-104.984856},CT:{lat:41.764046,long:-72.682198},DE:{lat:39.157307,long:-75.519722},DC:{lat:38.89511,long:-77.03637},FL:{lat:30.438118,long:-84.281296},GA:{lat:33.749027,long:-84.388229},HI:{lat:21.307442,long:-157.857376},ID:{lat:43.617775,long:-116.199722},IL:{lat:39.798363,long:-89.654961},IN:{lat:39.768623,long:-86.162643},IA:{lat:41.591087,long:-93.603729},KS:{lat:39.048191,long:-95.677956},KY:{lat:38.186722,long:-84.875374},LA:{lat:30.457069,long:-91.187393},ME:{lat:44.307167,long:-69.781693},MD:{lat:38.978764,long:-76.490936},MA:{lat:42.358162,long:-71.063698},MI:{lat:42.733635,long:-84.555328},MN:{lat:44.955097,long:-93.102211},MS:{lat:32.303848,long:-90.182106},MO:{lat:38.579201,long:-92.172935},MT:{lat:46.585709,long:-112.018417},NE:{lat:40.808075,long:-96.699654},NV:{lat:39.163914,long:-119.766121},NH:{lat:43.206898,long:-71.537994},NJ:{lat:40.220596,long:-74.769913},NM:{lat:35.68224,long:-105.939728},NY:{lat:42.652843,long:-73.757874},NC:{lat:35.78043,long:-78.639099},ND:{lat:46.82085,long:-100.783318},OH:{lat:39.961346,long:-82.999069},OK:{lat:35.492207,long:-97.503342},OR:{lat:44.938461,long:-123.030403},PA:{lat:40.264378,long:-76.883598},RI:{lat:41.830914,long:-71.414963},SC:{lat:34.000343,long:-81.033211},SD:{lat:44.367031,long:-100.346405},TN:{lat:36.16581,long:-86.784241},TX:{lat:30.27467,long:-97.740349},UT:{lat:40.777477,long:-111.888237},VT:{lat:44.262436,long:-72.580536},VA:{lat:37.538857,long:-77.43364},WA:{lat:47.035805,long:-122.905014},WI:{lat:43.074684,long:-89.384445},WV:{lat:38.336246,long:-81.612328},WY:{lat:41.140259,long:-104.820236}},s=t=>{if(!t)return null;let e=t.trim();if(!e)return null;let a=e.toUpperCase();if(r[a])return r[a];let l=o.Yr[e];return l?r[l]:null},d=t=>{let{address:e,state:a}=t,r=(0,i.m)(),[d,c]=(0,l.useState)(void 0);return(0,l.useEffect)(()=>{(async()=>{var t,l;let i;if(!r||!e&&!a)return;let d=a?null!==(t=o.Mr[a.toUpperCase().trim()])&&void 0!==t?t:a:void 0;e?i=d?"".concat(e,", ").concat(d,", USA"):"".concat(e,", USA"):d&&(i="".concat(d,", USA"));let u=i?await (0,n.Cg)(i):void 0;if(!u){a&&c(null!==(l=s(a))&&void 0!==l?l:void 0);return}c({lat:u.lat(),long:u.lng()})})()},[r,e,a]),d}},85530:function(t,e,a){a.d(e,{E:function(){return n}});let l=["Blue Cross Blue Shield of Arizona","Blue Cross Blue Shield of Arizona - Medicare","Anthem","Blue Cross Blue Shield"];function n(t,e,a){return t&&("AZ"===e||"Arizona"===e)&&l.includes(null!=a?a:"")}}}]);
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.