PageSourceSearch

https://www.orlandohealthfoundation.com/_next/static/chunks/buildk…?dpl=dpl_3PEsUJ3Yzg8ZdTQxNq1M6cq8DN21

js orlandohealthfoundation.com collected 2026-10-04 03:51:27 UTC 81,753 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6151],{339:(e,t,n)=>{n.r(t),n.d(t,{Grid33:()=>h,default:()=>p});var l=n(80263),a=n(63778),i=n(53239),r=n(54898),o=n(23061),s=n(7607),c=n(33917),d=n(38667),u=function(){return(u=Object.assign||function(e){for(var t,n=1,l=arguments.length;n<l;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},m=function(e){var t=e.text,n=e.href;return(0,l.jsx)("div",{className:"view-all-tile w-full h-full flex items-center justify-center bg-neutral-80 border p-8",children:(0,l.jsx)(r.DynamicLink,{link:n,label:t,className:"text-2xl font-bold text-center"})})},f=function(){return window.matchMedia("(max-width: 767px)").matches},h=function(e){var t,n=null!=(t=e.headlineLevel)?t:"h2",h=(0,s.G)(n),p=(0,c.wL)(n,!!e.headline),b="text-".concat(e.alignment||"left"),g=(0,a.Et)(),v=(0,i.useRef)(null),x=(0,d.Y)(),y=(0,i.useState)(void 0),w=y[0],j=y[1],k=(0,i.useRef)(null),N=(0,i.useState)(!1),T=N[0],C=N[1],I=(0,i.useState)(0),S=I[0],L=I[1],A=(0,i.useRef)(null),V=(0,i.useRef)(null),G=(0,i.useRef)(null),E=(0,i.useRef)(0),F=(0,i.useCallback)(function(){if(f()&&v.current){var e,t=null==(e=v.current.innerSlider)?void 0:e.list;if(t){var n=Array.from(t.querySelectorAll(".slick-slide:not(.slick-cloned) .tile-content-hub, .slick-slide:not(.slick-cloned) .view-all-tile"));if(0!==n.length){for(var l=0;l<n.length;l++){var a=n[l];a.style.height="auto"}var i=t.querySelector(".slick-track");i&&(i.style.height="auto"),t.offsetHeight;var r=Math.max.apply(Math,n.map(function(e){return Math.ceil(e.getBoundingClientRect().height)}));if(r>0){for(var o=0;o<n.length;o++){var a=n[o];a.style.height="".concat(r,"px")}i&&(i.style.height="".concat(r,"px")),r!==E.current&&(E.current=r,j(r))}}}}},[]),M=(0,i.useCallback)(function(){G.current&&clearTimeout(G.current),G.current=setTimeout(F,150)},[F]),P=(0,i.useCallback)(function(){if(v.current){var e,t,n,l=null==(e=v.current.innerSlider)?void 0:e.list;if(l){null==(t=V.current)||t.disconnect();var a=new MutationObserver(M);a.observe(l,{childList:!0,subtree:!0}),V.current=a,null==(n=A.current)||n.disconnect();for(var i=new ResizeObserver(M),r=Array.from(l.querySelectorAll(".slick-slide:not(.slick-cloned) .tile-content-hub, .slick-slide:not(.slick-cloned) .view-all-tile")),o=0;o<r.length;o++){var s=r[o];i.observe(s)}A.current=i,M()}}},[M]);(0,i.useEffect)(function(){f()&&P()},[e.children,P]),(0,i.useEffect)(function(){var e=function(){var e,t;f()?M():(null==(e=A.current)||e.disconnect(),null==(t=V.current)||t.disconnect(),G.current&&clearTimeout(G.current),j(void 0))};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[M]),(0,i.useEffect)(function(){return function(){var e,t;null==(e=A.current)||e.disconnect(),null==(t=V.current)||t.disconnect(),G.current&&clearTimeout(G.current)}},[]),(0,i.useEffect)(function(){if(k.current){var e=function(){if(k.current){var e=k.current.querySelectorAll(".builder-block[builder-id]");e.length>1?(C(!0),L(e.length)):(C(!1),L(0))}};e();var t=new MutationObserver(e);return t.observe(k.current,{childList:!0,subtree:!0}),function(){return t.disconnect()}}},[e.children]);var _={dots:!1,infinite:!1,speed:500,variableWidth:!0,slidesToScroll:1,arrows:!1,adaptiveHeight:!1,swipeToSlide:!0,onInit:P},B=function(){if(T&&S>0)return Array.from({length:S},function(t,n){return(0,l.jsxs)("div",{className:"tile-isolator tile-isolator-".concat(n," flex h-full min-h-0 flex-col"),children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n              .tile-isolator-".concat(n," .builder-block[builder-id] {\n                display: none !important;\n              }\n              .tile-isolator-").concat(n," .builder-block[builder-id]:nth-of-type(").concat(n+1,") {\n                display: flex !important;\n                flex-direction: column !important;\n                flex: 1 1 0% !important;\n                min-height: 0 !important;\n                height: 100% !important;\n                align-self: stretch !important;\n              }\n            ")}}),e.children]},"tile-isolator-".concat(n))});var t,n=i.Children.toArray(e.children);if(1===n.length&&i.isValidElement(n[0]))for(var a=n[0],r=0;r<5&&(null==(t=a.props)?void 0:t.children);){var o=i.Children.toArray(a.props.children);if(o.length>1)return o;
1if(1===o.length&&i.isValidElement(o[0]))a=o[0],r++;else break}return n},z={width:"calc(100vw - 80px)",height:w?"".concat(w,"px"):"auto",minHeight:w?"".concat(w,"px"):"auto"},O=e.viewAllText&&e.href;return(0,l.jsx)(c.sT,{value:p,children:(0,l.jsxs)("section",{className:"grid-33 py-6 h-full theme-".concat(e.theme," w-full"),children:[null!=w&&w>0&&(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n                .grid-33 .grid-33-children .slick-slide > div {\n                  height: 100% !important;\n                  min-height: 0 !important;\n                  align-items: stretch !important;\n                  justify-content: flex-start !important;\n                  box-sizing: border-box !important;\n                }\n                .grid-33 .grid-33-children .slick-slide.carousel-slide-wrapper {\n                  height: ".concat(w,"px !important;\n                  min-height: ").concat(w,"px !important;\n                  box-sizing: border-box !important;\n                  display: flex !important;\n                  flex-direction: column !important;\n                  align-items: stretch !important;\n                }\n                .grid-33 .grid-33-children .slick-slide.carousel-slide-wrapper > *:not(.view-all-tile) {\n                  display: flex !important;\n                  flex-direction: column !important;\n                  align-items: stretch !important;\n                  align-self: stretch !important;\n                  justify-content: flex-start !important;\n                  width: 100% !important;\n                  height: 100% !important;\n                  min-height: 0 !important;\n                  flex: 1 1 auto !important;\n                  box-sizing: border-box !important;\n                }\n                .grid-33 .grid-33-children .slick-slide.carousel-slide-wrapper > .view-all-tile {\n                  height: 100% !important;\n                  min-height: 0 !important;\n                  flex: 1 1 auto !important;\n                  box-sizing: border-box !important;\n                }\n              ")}}),(0,l.jsx)("div",{ref:k,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",height:0,overflow:"hidden"},children:e.children}),(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"".concat(b," w-full"),children:[e.headline&&(0,l.jsxs)("div",{className:"mb-lg",children:[(0,l.jsx)(n,{className:"m-0 font-bold inline-block",children:e.headline}),e.viewAllText&&e.href&&(0,l.jsx)(r.DynamicLink,{link:e.href,label:e.viewAllText,className:"view-all-text inline-flex items-center min-h-[44px]"})]}),e.subheadline&&(0,l.jsx)("div",{className:"mb-lg",children:(0,l.jsx)(h,{children:e.subheadline})})]}),(0,l.jsx)("div",{className:"grid-33-children",children:function(){if(!e.children)return null;var t=B().map(function(e,t){return(0,l.jsx)("div",{className:"flex min-h-0 h-full min-w-0 flex-col",children:e},"grid-item-".concat(t))});return O?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"hidden md:grid md:grid-cols-2 lg:grid-cols-3 gap-4 items-stretch",children:t}),(0,l.jsx)("div",{className:"md:hidden",ref:x,children:(0,l.jsxs)(o.A,u({ref:v},_,{children:[B().map(function(e,t){return(0,l.jsx)("div",{style:z,className:"h-full carousel-slide-wrapper",children:e},"carousel-wrapper-".concat(t))}),(0,l.jsx)("div",{style:z,className:"h-full carousel-slide-wrapper",children:(0,l.jsx)(m,{text:e.viewAllText,href:e.href})},"carousel-view-all")]}))})]}):(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-stretch",children:t})}()}),!e.children&&g&&(0,l.jsx)("div",{id:"drag-n-drop-container",className:"h-20 mt-8 w-full mx-auto flex flex-col items-center justify-center border-2 border-dashed border-blue-500 rounded-lg bg-gray-50",children:(0,l.jsx)("p",{className:"text-sm text-neutral-20",children:"Drag and Placeholder. Will not display once content is added or published."})})]})]})})};let p=h},7634:(e,t,n)=>{n.d(t,{i:()=>v,u:()=>x});var l=n(63778),a=n(53063),i=n.n(a),r=n(8537),o=n(18825),s=n(9456),c=i()(function(){return Promise.resolve().then(n.bind(n,74847)).then(function(e){return e.Carousel})},{loadableGenerated:{webpack:()=>[74847]}}),d=i()(function(){return Promise.resolve().then(n.bind(n,56473)).then(function(e){return e.MosaicContentHub})},{loadableGenerated:{webpack:()=>[56473]}}),u=i()(function(){return Promise.resolve().then(n.bind(n,69708)).then(function(e){return e.GridCards})},{loadableGenerated:{webpack:()=>[69708]}}),m=i()(function(){return Promise.resolve().then(n.bind(n,22602)).then(function(e){return e.PhysicianGridCards})},{loadableGenerated:{webpack:()=>[22602]}}),f=i()(function(){return Promise.resolve().then(n.bind(n,339)).then(function(e){return e.Grid33})},{loadableGenerated:{webpack:()=>[339]}}),h=i()(function(){return Promise.resolve().then(n.bind(n,99921)).then(function(e){return e.GridCategories})},{loadableGenerated:{webpack:()=>[99921]}}),p=i()(function(){return Promise.resolve().then(n.bind(n,86231)).then(function(e){return e.GalleryMedia})},{loadableGenerated:{webpack:()=>[86231]}}),b=i()(function(){return Promise.resolve().then(n.bind(n,9862)).then(function(e){return e.BeforeAfterGallery})},{loadableGenerated:{webpack:()=>[9862]}}),g=i()(function(){return Promise.resolve().then(n.bind(n,99761)).then(function(e){return e.Tabs})},{loadableGenerated:{webpack:()=>[99761]}}),v=["Carousel","MosaicContentHub","GridCards","PhysicianGridCards","Grid33","GridCategories","GalleryMedia","BeforeAfterGallery","Tabs"],x=function(e){void 0===e&&(e=v),l.M$.register("insertMenu",{name:"Layout",items:e.map(function(e){return{name:e}})}
1),e.includes("Carousel")&&l.M$.registerComponent((0,l.OF)(c),{name:"Carousel",canHaveChildren:!0,inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"alignment",type:"string",defaultValue:"center",enum:o.D},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Heading level for the carousel title"},{name:"headline",type:"string",defaultValue:"[Title]",localized:!0},{name:"description",type:"string",required:!1,defaultValue:"[Description]",localized:!0}]}),e.includes("MosaicContentHub")&&l.M$.registerComponent(d,{name:"MosaicContentHub",inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Section headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"[Orlando Health Content Hub]",localized:!0},{name:"subheadline",type:"string",defaultValue:"[A collection of articles and resources]",localized:!0},{name:"column1",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"TileContentHubOverlay",options:{href:"#",headline:"[Title]",image:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fa4239207fc5d3e2b2b95e7e676c9ea1a611987b676a1b664f0fa596623d3b012",altText:"[Alt Text]",author:{name:"[Author Name]",href:"#"},icon:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fd8ab1ca64999446785538998b3c3ba93"}}}]}},{name:"column2",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"TileContentHubOverlay",options:{href:"#",headline:"[Title]",image:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fa4239207fc5d3e2b2b95e7e676c9ea1a611987b676a1b664f0fa596623d3b012",altText:"[Alt Text]",author:{name:"[Author Name]",href:"#"},icon:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fd8ab1ca64999446785538998b3c3ba93"}}}]}},{name:"column3",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"TileContentHubOverlay",options:{href:"#",headline:"[Title]",image:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fa4239207fc5d3e2b2b95e7e676c9ea1a611987b676a1b664f0fa596623d3b012",altText:"[Alt Text]",author:{name:"[Author Name]",href:"#"},icon:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fd8ab1ca64999446785538998b3c3ba93"}}}]}},{name:"column4",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"TileContentHubOverlay",options:{href:"#",headline:"[Title]",image:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fa4239207fc5d3e2b2b95e7e676c9ea1a611987b676a1b664f0fa596623d3b012",altText:"[Alt Text]",author:{name:"[Author Name]",href:"#"},icon:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fd8ab1ca64999446785538998b3c3ba93"}}}]}},{name:"column5",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"TileContentHubOverlay",options:{href:"#",headline:"[Title]",image:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fa4239207fc5d3e2b2b95e7e676c9ea1a611987b676a1b664f0fa596623d3b012",altText:"[Alt Text]",author:{name:"[Author Name]",href:"#"},icon:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fd8ab1ca64999446785538998b3c3ba93"}}}]}}]}),e.includes("GridCards")&&l.M$.registerComponent(u,{name:"GridCards",canHaveChildren:!0,inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Section headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"[Grid Cards Heading]",localized:!0},{name:"subheadline",type:"string",defaultValue:"[Grid Cards Subheading]",localized:!0},{name:"alignment",type:"enum",enum:o.D,defaultValue:"text-left"},{name:"blocks",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[]}}]}),e.includes("PhysicianGridCards")&&l.M$.registerComponent(m,{name:"PhysicianGridCards",inputs:[{name:"alignment",type:"enum",enum:o.D,defaultValue:"left"},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Section headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"",localized:!0},{name:"subheadline",type:"string",defaultValue:"",localized:!0},{name:"body",type:"html",defaultValue:"",localized:!0},{name:"addProvidersById",type:"string",required:!1,helperText:"Comma- or semicolon-separated Algolia objectIDs and/
1or 10-digit NPIs (filter uses index field npi). When set, only those providers load, facet filters are ignored, and regionalCareSites is not applied. Tiles follow list order."},{name:"hitsPerPage",type:"number",required:!1,helperText:"Optional. Algolia hits-per-page; when unset, the index default applies. With manual providers, defaults to the pin count so every pin can load."},{name:"profileCtaText",type:"string",required:!1,localized:!0,helperText:"Optional; defaults to site dictionary (e.g. View profile)",defaultValue:"View"},{name:"emptyMessage",type:"string",required:!1,localized:!0,helperText:"Optional. Shown when no providers match the filters, or when no filters/metadata/manual list is set (Algolia is not queried until then)."}]}),e.includes("Grid33")&&l.M$.registerComponent((0,l.OF)(f),{name:"Grid33",canHaveChildren:!0,inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Section headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"[Grid 33 Headline]",localized:!0},{name:"subheadline",type:"string",defaultValue:"[Grid 33 Subheadline]",localized:!0},{name:"alignment",type:"enum",enum:o.D,defaultValue:"text-left"},{name:"viewAllText",type:"string",defaultValue:"[View All]",localized:!0},{name:"href",type:"CMSLink",required:!1,defaultValue:{type:"url",href:"#"}}]}),e.includes("GridCategories")&&l.M$.registerComponent(h,{name:"GridCategories",canHaveChildren:!0,inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"alignment",type:"enum",enum:o.D,defaultValue:"text-left"},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Section headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"[Category Grid Header]",localized:!0},{name:"subheadline",type:"string",defaultValue:"[Category Grid Subheader]",localized:!0},{name:"body",type:"html",defaultValue:"[Your description here]",localized:!0},{name:"columns",type:"enum",defaultValue:3,enum:[{label:"1 Column",value:1},{label:"2 Columns",value:2},{label:"3 Columns",value:3},{label:"4 Columns",value:4}]},{name:"fillOddGridRows",type:"boolean",defaultValue:!1,helperText:"Optional: Fill odd grid rows with the last item"},{name:"flexTilesGrow",type:"boolean",defaultValue:!0,helperText:"Flex fill mode only: when on, tiles grow to fill extra space in a row. When off, tiles stay at their column width and do not stretch.",showIf:"options.get('fillOddGridRows') === true"},{name:"blocks",type:"uiBlocks",hideFromUI:!0,defaultValue:{blocks:[]}}]}),e.includes("GalleryMedia")&&l.M$.registerComponent(p,{name:"GalleryMedia",inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"headlineLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Gallery headline level; subheadline uses the next level (h2 or h3)"},{name:"headline",type:"string",defaultValue:"[Gallery Title]",localized:!0},{name:"subheadline",type:"string",defaultValue:"[Gallery Description]",localized:!0},{name:"alignment",type:"string",defaultValue:"text-left",enum:o.D},{name:"columns",type:"enum",defaultValue:4,helperText:"Specify number of columns to span on 12 column grid",enum:[{label:"4 Columns",value:4},{label:"12 Columns",value:12}]},{name:"fullWidth",type:"boolean",required:!1,defaultValue:!1,helperText:"Span the full viewport width instead of the standard content container"},{name:"mediaItems",type:"list",subFields:[{name:"image",type:"object",subFields:[{name:"asset",type:"DAMAssetSelector",helperText:"Select a gallery image"},{name:"transform",type:"string",required:!1,enum:s.A.map(function(e){return e.name}),helperText:"Select image transform type"},{name:"height",type:"number",helperText:"Optional: Specify image height"},{name:"width",type:"number",helperText:"Optional: Specify image width"}],defaultValue:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""}},{name:"altText",type:"string",required:!0,defaultValue:"[Image Alt Text]",localized:!0},{name:"colSpan",type:"number",defaultValue:1,helperText:"Optional: Specify number of columns to span"},{name:"rowSpan",type:"number",defaultValue:1,helperText:"Optional: Specify number of rows to span"},{name:"caption",type:"html",defaultValue:"[Image caption]",localized:!0,helperText:"Optional: Specify caption for the image (HTML allowed)"}],defaultValue:[{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Gallery Image",colSpan:2,rowSpan:2},{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Gallery Image",colSpan:1,rowSpan:1},{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Gallery Image",colSpan:1,rowSpan:1},{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Gallery Image",colSpan:1,rowSpan:1},{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Gallery Image",colSpan:1,rowSpan:1}]}]}),e.includes("BeforeAfterGallery")&&l.M$.registerComponent(b,{name:"BeforeAfterGallery",inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"alignment",type:"string",defaultValue:"left",enum:o.D},{name:"triggerButtonText",type:"string",defaultValue:"View the Bariatric Gallery",localized:!0},{name:"noticeTitle",type:"string",defaultValue:"NOTICE",localized:!0},{name:"noticeBody",type:"html",defaultValue:"<p>The photo gallery page you have requested may contain adult content (i.e., nudity), which may be deemed inappropriate for minors. If you are at least 18 years old and wish to proceed, click the CONTINUE button below.</p>",localized:!0,helperText:"Shown in the acknowledgement modal before the gallery"},{name:"cancelButtonText",type:"string",defaultValue:"CANCEL",localized:!0},{name:"continueButtonText",type:"string",defaultValue:"CONTINUE",localized:!0},{name:"galleryHeading",type:"string",defaultValue:"Patient Gallery",localized:!0,helperText:"Heading shown above the grid after the visitor continues"},{name:"galleryHeadingLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Level for the gallery heading; patient card titles are one level below"},{name:"viewDetailsButtonText",type:"string",defaultValue:"VIEW DETAILS",localized:!0},{name:"backButtonText",type:"string",defaultValue:"BACK",localized:!0,helperText:"Returns to the initial view (consent trigger only). Shown on the gallery grid and in the detail modal."},{name:"rowsPerPage",type:"number",defaultValue:5,helperText:"Number of grid rows per page. Each load shows this many rows (1 column on small screens, 2 on md+)."},{name:"loadMoreButtonText",type:"string",defaultValue:"Load More",localized:!0},{name:"galleryItems",type:"list",helperText:"Each patient: before and after images (shown side by side in the grid and detail modal). Use arrows in the detail view to move between patients.",subFields:[{name:"title",type:"string",defaultValue:"[Patient name]",localized:!0},{name:"description",type:"html",defaultValue:"<p>[Patient story]</p>",localized:!0},{name:"beforeImage",friendlyName:"Before image",type:"object",subFields:[{name:"image",type:"object",subFields:[{name:"asset",type:"DAMAssetSelector",helperText:"Select before image"},{name:"transform",type:"string",required:!1,enum:s.A.map(function(e){return e.name}),helperText:"Image transform type"},{name:"height",type:"number",helperText:"Optional height"},{name:"width",type:"number",helperText:"Optional width"}],defaultValue:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""}},{name:"altText",type:"string",required:!0,defaultValue:"[Before image alt text]",localized:!0}],defaultValue:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Before"}},{name:"afterImage",friendlyName:"After image",type:"object",subFields:[{name:"image",type:"object",subFields:[{name:"asset",type:"DAMAssetSelector",helperText:"Select after image"},{name:"transform",type:"string",required:!1,enum:s.A.map(function(e){return e.name}),helperText:"Image transform type"},{name:"height",type:"number",helperText:"Optional height"},{name:"width",type:"number",helperText:"Optional width"}],defaultValue:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""}},{name:"altText",type:"string",required:!0,defaultValue:"[After image alt text]",localized:!0}],defaultValue:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"After"}}],defaultValue:[{title:"SONIA",description:"<p>Sample patient story for the before and after gallery.</p>",beforeImage:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Sonia before"},afterImage:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Sonia after"}},{title:"ALEJANDRO",description:"<p>Sample patient story for the before and after gallery.</p>",beforeImage:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Alejandro before"},afterImage:{image:{asset:null,placeholderUrl:"https://cdn.builder.io/api/v1/image/assets%2F19ea4309187745989c31be6f73da25f8%2Fc77f1a33864cc62a3e7db1a61ec48d6fd0c820c8203ec839aa07d03d75796d9b",transform:"1280x720",height:void 0,width:void 0,className:""},altText:"Alejandro after"}}]}]}),e.includes("Tabs")&&l.M$.registerComponent(g,{name:"Tabs",inputs:[{name:"theme",type:"string",required:!0,defaultValue:"light",enum:r.g},{name:"heading",type:"string",localized:!0,helperText:"Optional heading shown above the tabs"},{name:"headingLevel",type:"string",defaultValue:"h2",enum:["h1","h2"],helperText:"Heading level for the optional tabs heading; subheading uses the next level (h2 or h3)"},{name:"subheading",type:"string",localized:!0,helperText:"Optional supporting text under the heading"},{name:"tabs",type:"list",subFields:[{name:"headline",type:"string",defaultValue:"[Tab Title]",localized:!0},{name:"type",type:"string",defaultValue:"content",enum:["content","link"]},{name:"content",type:"uiBlocks",hideFromUI:!0,showIf:"options.get('type') === 'content'",defaultValue:{blocks:[{"@type":"@builder.io/sdk:Element",component:{name:"Text",options:{text:"[Tab content goes here]"}}}]}},{name:"href",friendlyName:"Link",showIf:"options.get('type') === 'link'",type:"CMSLink",defaultValue:{type:"url",href:"#"}},{name:"autoChildren",friendlyName:"Auto Child Links",type:"boolean",defaultValue:!1,showIf:"options.get('type') === 'link'",helperText:"When enabled, builds the dropdown from published pages under this tab’s URL that have Include in Navigation enabled (same as main nav dynamic anchors). Direct children only."},{name:"children",friendlyName:"Child Links",type:"list",showIf:"options.get('type') === 'link' && !options.get('autoChildren')",helperText:"Optional manual dropdown links under this tab. The parent tab stays active when the current page matches a child link.",subFields:[{name:"headline",type:"string",defaultValue:"[Child Link]",localized:!0},{name:"href",friendlyName:"Link",type:"CMSLink",defaultValue:{type:"url",href:"#"}}]}],defaultValue:[{headline:"[Tab Title]",type:"content",content:{blocks:[]}}]}]})}}
1,9862:(e,t,n)=>{n.r(t),n.d(t,{BeforeAfterGallery:()=>p,default:()=>b});var l=n(80263),a=n(53239),i=n(88227),r=n.n(i),o=n(77441),s=n(56295),c=n(97028),d=n(98466),u=n(14372),m=n(7607),f=function(){var e=(0,a.useState)(2),t=e[0],n=e[1];return(0,a.useEffect)(function(){var e=window.matchMedia("(max-width: 767px)"),t=function(){return n(e.matches?1:2)};return e.addEventListener("change",t),t(),function(){return e.removeEventListener("change",t)}},[]),t},h=function(e,t){if(!(null==e?void 0:e.image))return null;var n="grid"===t?e.image.transform||"1280x720":e.image.transform;return e.image.asset?(0,l.jsx)(s.DAMAsset,{asset:e.image.asset,altText:e.altText,className:"h-full w-full object-cover",transform:n,height:e.image.height,width:e.image.width,sizes:"detail"===t?d.cw:d.Jr}):e.image.placeholderUrl?(0,l.jsx)(r(),{src:e.image.placeholderUrl,alt:e.altText,className:"object-cover",fill:!0,sizes:"detail"===t?"(max-width: 768px) 45vw, 22vw":"(max-width: 768px) 50vw, 25vw"}):null},p=function(e){var t=e.theme,n=e.triggerButtonText,i=void 0===n?"View the Bariatric Gallery":n,r=e.noticeTitle,s=e.noticeBody,d=void 0===s?"":s,p=e.cancelButtonText,b=void 0===p?"CANCEL":p,g=e.continueButtonText,v=void 0===g?"CONTINUE":g,x=e.galleryHeading,y=void 0===x?"Patient Gallery":x,w=e.galleryHeadingLevel,j=void 0===w?"h2":w,k=e.viewDetailsButtonText,N=void 0===k?"VIEW DETAILS":k,T=e.backButtonText,C=void 0===T?"BACK":T,I=e.rowsPerPage,S=e.loadMoreButtonText,L=void 0===S?"Load More":S,A=e.alignment,V=void 0===A?"left":A,G=e.galleryItems,E=(0,m.G)(j),F=(void 0===I?5:I)*f(),M=(0,a.useMemo)(function(){return G.map(function(e,t){return{item:e,originalIndex:t}}).filter(function(e){var t=e.item;return t.beforeImage&&t.afterImage})},[G]),P=(0,a.useState)(!1),_=P[0],B=P[1],z=(0,a.useState)(!1),O=z[0],D=z[1],H=(0,a.useState)(!1),R=H[0],U=H[1],q=(0,a.useState)(!1),W=q[0],$=q[1],Y=(0,a.useState)(!1),J=Y[0],K=Y[1],Z=(0,a.useState)(0),Q=Z[0],X=Z[1],ee=(0,a.useState)(!1),et=ee[0],en=ee[1],el=(0,a.useState)(0),ea=el[0],ei=el[1],er=(0,a.useCallback)(function(){D(!1),setTimeout(function(){return B(!1)},300)},[]),eo=(0,a.useCallback)(function(){K(!1),setTimeout(function(){return $(!1)},300)},[]);(0,a.useEffect)(function(){_&&requestAnimationFrame(function(){return D(!0)})},[_]),(0,a.useEffect)(function(){W&&requestAnimationFrame(function(){return K(!0)})},[W]);var es=(0,a.useCallback)(function(){U(!1),$(!1),K(!1),X(0),ei(0)},[]);(0,a.useEffect)(function(){if(!R)return void ei(0);ei(function(e){var t=M.length;return 0===e?Math.min(F,t):Math.min(e,t)})},[R,F,M.length]);var ec=(0,a.useCallback)(function(){ei(function(e){return Math.min(e+F,M.length)})},[F,M.length]),ed=(0,a.useMemo)(function(){return M.slice(0,ea)},[M,ea]),eu=R&&ea<M.length,em=function(e){X(e),$(!0)},ef=(0,a.useCallback)(function(){M.length<2||(en(!0),setTimeout(function(){X(function(e){return 0===e?M.length-1:e-1}),en(!1)},150))},[M.length]),eh=(0,a.useCallback)(function(){M.length<2||(en(!0),setTimeout(function(){X(function(e){return e===M.length-1?0:e+1}),en(!1)},150))},[M.length]);(0,a.useEffect)(function(){if(W){if(0===M.length){$(!1),K(!1);return}X(function(e){return Math.min(e,M.length-1)})}},[W,M.length]),(0,a.useEffect)(function(){var e=function(e){if("Escape"===e.key){if(W)return void eo();_&&er()}};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}},[W,_,eo,er]),(0,a.useEffect)(function(){var e=_||W,t=document.body.style.overflow;return e?document.body.style.overflow="hidden":document.body.style.overflow="",function(){document.body.style.overflow=t}},[_,W]);var ep=M[Q],eb=null==ep?void 0:ep.item;return(0,l.jsxs)("section",{className:"before-after-gallery py-6 h-full theme-".concat(t," w-full"),children:[(0,l.jsxs)("div",{className:"container",children:[!R&&(0,l.jsx)("div",{className:"left"===V?"flex justify-start":"right"===V?"flex justify-end":"flex justify-center",children:(0,l.jsx)("ul",{className:"oh-list-reset m-0 list-none p-0",children:(0,l.jsx)("li",{className:"before-after-gallery-sub-section__item",children:(0,l.jsxs)("button",{type:"button",onClick:function(){B(!0)},className:"beforeaftercategory inline-flex cursor-pointer items-center gap-2 border-0 bg-transparent p-0 text-left font-normal text-neutral-20 hover:underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary","aria-label":i,children:[(0,l.jsx)("span",{className:"inline-block h-0 w-0 shrink-0 border-y-[6px] border-y-transparent border-l-[10px] border-l-primary","aria-hidden":!0}),(0,l.jsx)("span",{children:i})]})})})}),R&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-8",children:[(0,l.jsx)("div",{className:"flex md:absolute",children:(0,l.jsx)(o.CTAButton,{theme:"accent",ctaText:C,onClick:es,showPreviousIcon:!0,ariaLabel:C})}),y&&(0,l.jsx)(j,{className:"mb-0 font-bold text-center text-primary",children:y})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 md:gap-10",children:ed.map(function(e,t){var n=e.item,a=e.originalIndex;return(0,l.jsxs)("article",{className:"flex flex-col items-center",children:[(0,l.jsx)(E,{className:"mb-4 w-full text-center tracking-widest text-primary",children:n.title}),(0,l.jsx)("button",{type:"button",className:"group relative mb-6 w-full cursor-pointer overflow-hidden border-0 bg-transparent p-0 text-left",onClick:function(){return em(t)},"aria-label":"".concat(N,": ").concat(n.title),children:(0,l.jsxs)("div",{className:"relative aspect-[5/3] w-full",children:[(0,l.jsxs)("div",{className:"absolute inset-0 flex flex-row gap-1",children:[(0,l.jsx)("div",{className:"relative min-h-0 min-w-0 flex-1 overflow-hidden transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:h(n.beforeImage,"grid")}),(0,l.jsx)("div",{className:"relative min-h-0 min-w-0 flex-1 overflow-hidden transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:h(n.afterImage,"grid")})]}),(0,l.jsx)("div",{className:"\n                            pointer-events-none absolute inset-0 flex items-center justify-center\n                            bg-primary/0 opacity-0 transition-all duration-300 ease-in-out\n                            group-hover:bg-primary/35 group-hover:opacity-100\n                          ",children:(0,l.jsx)("div",{className:"flex rotate-45 items-center justify-center bg-primary p-3 shadow-md rounded",children:(0,l.jsx)(c.Icon,{icon:"search",size:"sm",theme:"light",className:"-rotate-45 !text-neutral-100"})})})]})}),(0,l.jsx)(o.CTAButton,{theme:"accent",ctaText:N,onClick:function(){return em(t)},ariaLabel:"".concat(N," for ").concat(n.title)})]},"".concat(n.title,"-").concat(a))})}),eu&&(0,l.jsx)("div",{className:"mt-10 flex justify-center",children:(0,l.jsxs)("button",{type:"button",onClick:ec,className:"flex flex-col items-center gap-1 border-0 bg-transparent p-0 font-bold text-primary hover:underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary","aria-label":L,children:[(0,l.jsx)("span",{className:"text-xl",children:L}),(0,l.jsx)("span",{className:"inline-flex text-primary","aria-hidden":!0,
1children:(0,l.jsx)(c.Icon,{icon:"chevron-down",size:"sm",theme:"accent",className:"text-primary"})})]})})]})]}),_&&(0,l.jsx)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 transition-all duration-300 ease-in-out ".concat(O?"bg-black/60 opacity-100 backdrop-blur-sm":"bg-black/0 opacity-0"),role:"dialog","aria-modal":"true","aria-labelledby":"before-after-notice-title",children:(0,l.jsxs)("div",{className:"relative w-full max-w-lg bg-neutral-100 p-6 shadow-xl transition-all duration-300 md:p-10 ".concat(O?"scale-100 opacity-100":"scale-95 opacity-0"),children:[(0,l.jsx)("div",{className:"absolute right-3 top-3 md:right-4 md:top-4",children:(0,l.jsx)(o.CTAButton,{icon:"xmark",iconOnly:!0,theme:"accent",onClick:er,ctaText:"Close notice",ariaLabel:"Close notice"})}),(0,l.jsx)("h2",{id:"before-after-notice-title",className:"mb-6 text-center font-bold text-neutral-20",children:void 0===r?"NOTICE":r}),d&&(0,l.jsx)("div",{className:"mb-8 text-center text-neutral-20 [&_a]:underline",dangerouslySetInnerHTML:{__html:(0,u.No)(d).html}}),(0,l.jsxs)("div",{className:"flex flex-col items-stretch justify-center gap-3 sm:flex-row sm:justify-center",children:[(0,l.jsx)(o.CTAButton,{theme:"dark",ctaText:b,onClick:er,ariaLabel:b}),(0,l.jsx)(o.CTAButton,{theme:"accent",ctaText:v,onClick:function(){U(!0),er()},ariaLabel:v})]})]})}),W&&eb&&(0,l.jsxs)("div",{className:"gallery-carousel before-after-gallery-detail fixed inset-0 z-[110] flex flex-col items-center justify-center transition-all duration-300 ease-in-out ".concat(J?"bg-black/85 opacity-100 backdrop-blur-sm":"bg-black/0 opacity-0"),role:"dialog","aria-modal":"true","aria-labelledby":"before-after-detail-heading",children:[(0,l.jsx)("div",{className:"absolute right-4 top-4 z-[120]",children:(0,l.jsx)(o.CTAButton,{icon:"xmark",iconOnly:!0,theme:"accent",onClick:eo,ctaText:"Close detail",ariaLabel:"Close detail view"})}),M.length>1&&(0,l.jsx)("div",{className:"absolute left-4 top-1/2 z-[120] -translate-y-1/2",children:(0,l.jsx)(o.CTAButton,{icon:"chevron-left",iconOnly:!0,theme:"accent",onClick:ef,ctaText:"Previous patient story",ariaLabel:"Previous patient story"})}),M.length>1&&(0,l.jsx)("div",{className:"absolute right-4 top-1/2 z-[120] -translate-y-1/2",children:(0,l.jsx)(o.CTAButton,{icon:"chevron-right",iconOnly:!0,theme:"accent",onClick:eh,ctaText:"Next patient story",ariaLabel:"Next patient story"})}),(0,l.jsxs)("div",{className:"flex w-full max-w-5xl flex-col items-center px-6 pb-8 pt-16 transition-all duration-300 md:px-16 ".concat(J?"scale-100 opacity-100":"scale-95 opacity-0"),children:[y&&(0,l.jsx)(j,{id:"before-after-detail-heading",className:"mb-4 font-bold text-neutral-100",children:y}),M.length>1&&(0,l.jsx)("div",{className:"mb-6 flex items-center gap-2 text-neutral-100",children:(0,l.jsxs)("span",{children:[Q+1," of ",M.length]})}),(0,l.jsxs)("div",{className:"mb-6 flex w-full max-w-4xl flex-row gap-1 md:gap-2 ".concat(et?"opacity-0":"opacity-100"," transition-opacity duration-300"),children:[(0,l.jsx)("div",{className:"relative min-h-[180px] min-w-0 flex-1 basis-0 md:min-h-[260px]",children:h(eb.beforeImage,"detail")}),(0,l.jsx)("div",{className:"relative min-h-[180px] min-w-0 flex-1 basis-0 md:min-h-[260px]",children:h(eb.afterImage,"detail")})]}),(0,l.jsx)(E,{className:"mb-4 font-bold text-neutral-100",children:eb.title}),eb.description&&(0,l.jsx)("div",{className:"before-after-gallery-detail__body max-w-3xl text-left [&_a]:underline [&_p]:mb-3",dangerouslySetInnerHTML:{__html:(0,u.No)(eb.description).html}})]})]})]})};let b=p},22602:(e,t,n)=>{n.r(t),n.d(t,{PhysicianGridCards:()=>G,default:()=>E});var l=n(80263),a=n(53239),i=n(63778),r=n(71577),o=n(93171),s=n(59533),c=n(1503),d=n(91258),u=n(40021),m=n(44780),f=n(95788),h=n(96073),p=n(83658),b=n(91996),g=n(14372),v=n(70376),x=n(7607),y=function(){return(y=Object.assign||function(e){for(var t,n=1,l=arguments.length;n<l;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},w=function(e,t,n,l){return new(n||(n=Promise))(function(a,i){function r(e){try{s(l.next(e))}catch(e){i(e)}}function o(e){try{s(l.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(r,o)}s((l=l.apply(e,t||[])).next())})},j=function(e,t){var n,l,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(s){var c=[o,s];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(i=0)),i;
1)try{if(n=1,l&&(a=2&c[0]?l.return:c[0]?l.throw||((a=l.return)&&a.call(l),0):l.next)&&!(a=a.call(l,c[1])).done)return a;switch(l=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,l=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],l=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},k=(0,v.Or)();function N(e){return null!=e&&"object"==typeof e&&!Array.isArray(e)}function T(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function C(e){return"npi"===e.kind?'npi:"'.concat(T(e.token),'"'):/^-?\d+$/.test(e.token)?"objectID:".concat(e.token):'objectID:"'.concat(T(e.token),'"')}function I(e){if(!Array.isArray(e)||0===e.length)return"";var t=e[0];return null==t?"":"object"==typeof t&&null!==t&&"id"in t?String(t.id):"string"==typeof t||"number"==typeof t?String(t):""}function S(e){if(!Array.isArray(e)||0===e.length)return"";var t=e[0];if(null==t)return"";if("object"==typeof t&&null!==t&&"name"in t){var n=t.name;if("string"==typeof n&&n.trim())return n.trim()}return I(e)}function L(e,t){var n=null==e?void 0:e.trim();return n||I(t)}function A(e){var t=e.hit,n=e.profileCtaText,a=(0,c.qB)(),i=(0,v.s1)(t,a),r=t.fullName||"",o=t.slug||"",d=t.media,u="string"==typeof d&&d.trim().length>0?d.trim():"/images/default-physician.png";return(0,l.jsx)(s.CardPhysician,{name:r,image:{asset:{url:u}},specialty:i,altText:r,href:o?"/physician-finder/".concat(o):void 0,ctaText:n})}function V(e){var t=e.message,n=(0,r.uP)().hits;return!t||n.length>0?null:(0,l.jsx)("p",{className:"text-neutral-40 py-6 text-center col-span-full",children:t})}var G=function(e){var t,n,s,v,T,I,G,E=(0,o.useRouter)(),F=E.locale,M=void 0===F?"Default":F,P=(0,i.Et)(),_=(0,c.qB)(),B=(0,d.$)().data,z=!!(null==(t=e.addProvidersById)?void 0:t.trim()),O=N(B)?B:null,D=N(O),H=(0,a.useState)(function(){return D?O:null}),R=H[0],U=H[1],q=(0,a.useState)(!0),W=q[0],$=q[1],Y=(0,h.if)("foundation"),J=h.Z3[Y],K=J===h.gu||Y===h.gu?null:J||null;(0,a.useEffect)(function(){D&&U(O)},[D,O]),(0,a.useEffect)(function(){var e=!1,t=function(){e||$(!1)};if(z)return t(),function(){e=!0};var n="075e4ed0a9de48768e88180a83fdac5e";return n&&(!D||P)?E.isReady?(w(void 0,void 0,void 0,function(){var l,a,r,o,s,c,d,u,m;return j(this,function(f){switch(f.label){case 0:var h,g,v;return f.trys.push([0,2,3,4]),i.cL.init(n),h=((a=function(e,t){var n=(e||"/").trim()||"/",l=n.startsWith("/")?n:"/".concat(n),a=l.split("/").filter(Boolean);if(a.length&&(null==t?void 0:t.includes(a[0]))){var i=a.slice(1).join("/");return i?"/".concat(i):"/"}return l}(l=E.asPath.split("?")[0].split("#")[0],E.locales))||"").split("?")[0].replace(/\/+$/,"")||"/",r=(g=/^\/facilities\/([^/]+)$/.exec(h))?{"data.slug":g[1]}:void 0,o=(0,b.Y)(E.locale,E.defaultLocale),s=null==r?void 0:r["data.slug"],c=(v=window.location.search).includes("preview=true")||v.includes("builder.preview=")||v.includes("builder.space=")||v.includes("__builder_editing__=true")||window.location.hostname.includes("preview"),d=function(e,t){return w(void 0,void 0,void 0,function(){var n;return j(this,function(l){return n=(0,p.q4)(y({locale:o,urlPath:a,includeRefs:!0,vercelPreview:!0},t?{query:t}:{})),[2,i.cL.get(e,y(y({},n),{cachebust:!0,options:y(y({},n.options),{includeUnpublished:c})})).promise()]})})},[4,Promise.race([w(void 0,void 0,void 0,function(){var e,t,n,a;return j(this,function(o){switch(o.label){case 0:if(!r)return[3,3];return[4,d("location",r)];case 1:if((null==(e=o.sent())?void 0:e.data)&&(!s||e.data.slug===s))return[2,e.data];return[4,d("page",r)];case 2:if(null==(t=o.sent())?void 0:t.data)return[2,t.data];o.label=3;case 3:return[4,d("page")];case 4:if(null==(n=o.sent())?void 0:n.data)return[2,n.data];return[4,i.cL.get("page",{url:l,cachebust:!0,options:{includeRefs:!0,includeUnpublished:c}}).promise()];case 5:return[2,(null==(a=o.sent())?void 0:a.data)&&"object"==typeof a.data?a.data:null]}})}),new Promise(function(e,t){setTimeout(function(){t(Error("PhysicianGridCards: Builder page fetch timed out"))},12e3)})])];case 1:return u=f.sent(),!e&&u&&U(u),[3,4];case 2:return(m=f.sent())instanceof Error&&m.message.includes("timed out"),[3,4];case 3:return t(),[7];case 4:return[2]}})}),function(){e=!0}):function(){e=!0}:(t(),function(){e=!0})},[z,D,P,E.isReady,E.asPath,E.locale,E.defaultLocale,E.locales]),(0,a.useEffect)(function(){(0,u.b)(),(0,f.MU)()},[]);var Z=(0,u.Wp)(m.UP.PROVIDER,m.wT.PHYSICIAN),Q=(0,a.useMemo)(function(){return function(e){if(!(null==e?void 0:e.trim()))return[];for(var t=[],n=0,l=e.split(/[,;\n]+/);n<l.length;n++){var a=l[n].trim();if(a){var i=/^\d{10}$/.test(a)?"npi":"objectId";t.push({token:a,kind:i})}}return t}(e.addProvidersById)},[e.addProvidersById]),X=(0,a.useMemo)(function(){return(0,u.dG)()},[]),ee=(0,a.useMemo)(function(){return function(e,t,n,l){var a,i,r,o=e?"regionalCareSites.id:".concat(e," AND NOT metadata.hideFromSearch:true"):"NOT metadata.hideFromSearch:true";if(l.length>0)return"".concat("NOT metadata.hideFromSearch:true"," AND ").concat(1===(a=l.map(C)).length?a[0]:"(".concat(a.join(" OR "),")"));var s=null!=(i=null==t?void 0:t.metadata)?i:{},c=L(n.providerGroupId,s.providerGroups),d=(null==(r=n.medicalStaffFilter)?void 0:r.trim())||S(s.medicalStaffs),u=L(n.medicalGroupId,s.medicalGroups),m=L(n.programId,s.programs),f=L(n.practiceId,s.practices),h=L(n.specialtyId,s.specialties),p=[];return(u&&(p.push("medicalGroups.id:".concat(u)),p.push("isEmployed:true")),h&&p.push("specialties.id:".concat(h)),f&&p.push("practices.id:".concat(f)),m&&p.push("programs.id:".concat(m)),d&&p.push('medicalStaffs.name:"'.concat(d.replace(/"/g,'\\"'),'"')),c&&p.push("providerGroups.id:".concat(c)),0===p.length)?o:"".concat(o," AND ").concat(p.join(" AND "))}(K,R,{providerGroupId:e.providerGroupId,medicalStaffFilter:e.medicalStaffFilter,medicalGroupId:e.medicalGroupId,programId:e.programId,practiceId:e.practiceId,specialtyId:e.specialtyId},Q)},[K,R,Q,e.providerGroupId,e.medicalStaffFilter,e.medicalGroupId,e.programId,e.practiceId,e.specialtyId]),et=(0,a.useMemo)(function(){var t,n,l,a,i,r,o,s,c,d;return Q.length>0||(t={providerGroupId:e.providerGroupId,medicalStaffFilter:e.medicalStaffFilter,medicalGroupId:e.medicalGroupId,programId:e.programId,practiceId:e.practiceId,specialtyId:e.specialtyId},a=null!=(n=null==R?void 0:R.metadata)?n:{},i=L(t.providerGroupId,a.providerGroups),r=(null==(l=t.medicalStaffFilter)?void 0:l.trim())||S(a.medicalStaffs),o=L(t.medicalGroupId,a.medicalGroups),s=L(t.programId,a.programs),c=L(t.practiceId,a.practices),d=L(t.specialtyId,a.specialties),!!(i||r||o||s||c||d))},[Q,R,e.providerGroupId,e.medicalStaffFilter,e.medicalGroupId,e.programId,e.practiceId,e.specialtyId]),en=(0,a.useMemo)(function(){var t=Q.length;if(t>0){var n=e.hitsPerPage;return null!=n&&n>0?Math.max(t,n):t}var l=e.hitsPerPage;if(null!=l&&l>0)return l},[Q,e.hitsPerPage]),el=(0,a.useMemo)(function(){if(0!==Q.length)return function(e){for(var t=new Set,n=[],l=function(l){var a=e.find(function(e){var n,a,i=String(null!=(n=e.objectID)?n:"");return!(!i||t.has(i))&&("npi"===l.kind?String(null!=(a=e.npi)?a:"").trim()===l.token:i===l.token)});a&&(n.push(a),t.add(String(a.objectID)))},a=0;a<Q.length;a++)l(Q[a]);return n}},[Q]),ea="text-".concat(e.alignment||"left"),ei=null!=(n=e.headlineLevel)?n:"h2",er=(0,x.G)(ei),eo=(0,p.bT)(null!=(s=e.headline)?s:"",M),es=(0,p.bT)(null!=(v=e.subheadline)?v:"",M),ec=(0,p.bT)(null!=(T=e.body)?T:"",M),ed=(0,p.bT)(null!=(I=e.emptyMessage)?I:"",M),eu=(0,p.bT)(null!=(G=e.profileCtaText)?G:"",M)||(null==_?void 0:_.getDictionaryValue(c._A.DICTIONARY_PHYSICIAN_FINDER_VIEW_PROFILE_LABEL))||"View Profile",em=(0,a.useMemo)(function(){return function(e){var t=e.hit;return(0,l.jsx)(A,{hit:t,profileCtaText:eu})}},[eu]);return W?(0,l.jsx)("section",{className:"grid-cards physician-grid-cards h-full theme-none w-full","aria-busy":"true",children:(0,l.jsx)("div",{className:"container py-10 flex justify-center",children:(0,l.jsx)("div",{className:"animate-spin rounded-full h-10 w-10 border-b-2 border-primary"})})}):et?(0,l.jsxs)(r.GT,{searchClient:k,indexName:"idx-provider",future:{preserveSharedStateOnUnmount:!0},insights:{onEvent:Z},children:[(0,l.jsx)(r.Zf,y({filters:ee},null!=en?{hitsPerPage:en}:{},{distinct:!0,getRankingInfo:!0,clickAnalytics:!0,userToken:X})),(0,l.jsx)("section",{className:"grid-cards physician-grid-cards h-full theme-none w-full",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:ea,children:[eo?(0,l.jsx)(ei,{className:"mb-lg font-bold",children:eo}):null,es?(0,l.jsx)(er,{className:"mb-lg",children:es}):null,ec?(0,l.jsx)("div",{className:"mb-lg",dangerouslySetInnerHTML:{__html:(0,g.No)(ec).html}}
1):null]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-5",children:[(0,l.jsx)(r.fs,y({hitComponent:em},el?{transformItems:el}:{},{classNames:{root:"contents",list:"contents",item:"h-fit"}})),(0,l.jsx)(V,{message:ed})]})]})})]}):(0,l.jsx)("section",{className:"grid-cards physician-grid-cards h-full theme-none w-full",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:ea,children:[eo?(0,l.jsx)(ei,{className:"mb-lg font-bold",children:eo}):null,es?(0,l.jsx)(er,{className:"mb-lg",children:es}):null,ec?(0,l.jsx)("div",{className:"mb-lg",dangerouslySetInnerHTML:{__html:(0,g.No)(ec).html}}):null]}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-5",children:ed?(0,l.jsx)("p",{className:"text-neutral-40 py-6 text-center col-span-full",children:ed}):null})]})})};let E=G},56473:(e,t,n)=>{n.r(t),n.d(t,{MosaicContentHub:()=>r,default:()=>o});var l=n(80263),a=n(63778),i=n(7607),r=function(e){var t,n,r,o,s,c,d,u,m,f,h,p=null!=(t=e.headlineLevel)?t:"h2",b=(0,i.G)(p);return(0,l.jsx)("div",{className:"mosaic-content-hub py-6 theme-".concat(e.theme," w-full"),children:(0,l.jsxs)("div",{className:"container mx-auto",children:[e.headline&&(0,l.jsx)(p,{className:"mb-lg mosaic-content-hub-header text-".concat(e.alignment||"left"," font-bold"),children:e.headline}),e.subheadline&&(0,l.jsx)(b,{className:"mb-lg",children:e.subheadline}),(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[40%_1fr] gap-4 lg:min-h-[600px]",children:[(0,l.jsx)("div",{className:"mosaic-tile-content h-full lg:min-h-[600px] [&_.details-wrap]:lg:top-[78%]",children:(0,l.jsx)(a.y$,{className:"w-full h-full [&>div]:h-full",parentElementId:null==(n=e.builderBlock)?void 0:n.id,dataPath:"column1.blocks",blocks:(null==(r=e.column1)?void 0:r.blocks)||[],fieldName:"column1"})}),(0,l.jsxs)("div",{className:"mosaic-small-tile-content grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,l.jsx)(a.y$,{className:"w-full h-full [&>div]:h-full",parentElementId:null==(o=e.builderBlock)?void 0:o.id,dataPath:"column2.blocks",blocks:(null==(s=e.column2)?void 0:s.blocks)||[],fieldName:"column2"}),(0,l.jsx)(a.y$,{className:"w-full h-full [&>div]:h-full",parentElementId:null==(c=e.builderBlock)?void 0:c.id,dataPath:"column3.blocks",blocks:(null==(d=e.column3)?void 0:d.blocks)||[],fieldName:"column3"}),(0,l.jsx)(a.y$,{className:"w-full h-full [&>div]:h-full",parentElementId:null==(u=e.builderBlock)?void 0:u.id,dataPath:"column4.blocks",blocks:(null==(m=e.column4)?void 0:m.blocks)||[],fieldName:"column4"}),(0,l.jsx)(a.y$,{className:"w-full h-full [&>div]:h-full",parentElementId:null==(f=e.builderBlock)?void 0:f.id,dataPath:"column5.blocks",blocks:(null==(h=e.column5)?void 0:h.blocks)||[],fieldName:"column5"})]})]})]})})};let o=r},69708:(e,t,n)=>{n.r(t),n.d(t,{GridCards:()=>o,default:()=>s});var l=n(80263),a=n(63778),i=n(7607),r=n(33917),o=function(e){var t,n,o,s="text-".concat(e.alignment||"left"),c=null!=(t=e.headlineLevel)?t:"h2",d=(0,i.G)(c),u=(0,r.wL)(c,!!e.headline);return(0,l.jsx)(r.sT,{value:u,children:(0,l.jsx)("section",{className:"grid-cards h-full theme-".concat(e.theme," w-full"),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"".concat(s),children:[e.headline&&(0,l.jsx)(c,{className:"mb-lg font-bold",children:e.headline}),e.subheadline&&(0,l.jsx)(d,{className:"mb-lg",children:e.subheadline})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-5 [&>.builder-blocks]:[display:contents] [&>*]:h-fit",children:(0,l.jsx)(a.y$,{parentElementId:null==(n=e.builderBlock)?void 0:n.id,blocks:(null==(o=e.blocks)?void 0:o.blocks)||[],dataPath:"blocks.blocks",className:"builder-blocks"})})]})})})};let s=o},74847:(e,t,n)=>{n.r(t),n.d(t,{Carousel:()=>m,default:()=>f});var l=n(80263),a=n(97028),i=n(23061),r=n(53239),o=n(33917),s=n(17804),c=n(3866
17),d=function(){return(d=Object.assign||function(e){for(var t,n=1,l=arguments.length;n<l;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},u=r.memo(function(e){var t=e.slideIndex,n=e.itemCount,a=e.children,i=Math.min(5,n),o=(0,r.useState)(t<i),c=o[0],d=o[1],u=(0,s.B)({rootMargin:"120px",threshold:.01}),m=u.ref,f=u.inView;return(0,r.useEffect)(function(){!c&&f&&d(!0)},[f,c]),(0,l.jsx)("div",{ref:m,className:"carousel-slide p-2",children:c?a:(0,l.jsx)("div",{className:"min-h-48 rounded-lg bg-neutral-90/50","aria-hidden":!0})})});u.displayName="CarouselLazySlide";var m=r.memo(function(e){var t=e.headline,n=e.headlineLevel,s=void 0===n?"h2":n,m=e.description,f=e.theme,h=e.alignment,p=e.children,b=(0,o.wL)(s,!!t),g=(0,c.Y)(),v=(0,r.useMemo)(function(){return r.Children.count(p)},[p]),x="none"===f?"light":f,y=(0,r.useCallback)(function(e){var t=e.onClick;return(0,l.jsx)("button",{className:"slick-prev",onClick:t,"aria-label":"Previous slide",children:(0,l.jsx)(a.Icon,{icon:"chevron-left-circle",size:"lg",theme:x})})},[x]),w=(0,r.useCallback)(function(e){var t=e.onClick;return(0,l.jsx)("button",{className:"slick-next",onClick:t,"aria-label":"Next slide",children:(0,l.jsx)(a.Icon,{icon:"chevron-right-circle",size:"lg",theme:x})})},[x]),j=(0,r.useMemo)(function(){return{dots:!1,infinite:v>Math.min(5,v),speed:500,slidesToShow:Math.min(5,v),slidesToScroll:5,prevArrow:(0,l.jsx)(y,{}),nextArrow:(0,l.jsx)(w,{}),responsive:[{breakpoint:1360,settings:{slidesToShow:Math.min(4,v),slidesToScroll:4,infinite:v>4}},{breakpoint:992,settings:{slidesToShow:Math.min(3,v),slidesToScroll:3,infinite:v>3}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,arrows:!0,className:"mobile-carousel",centerMode:!0,centerPadding:"0px",infinite:v>1}}]}},[v,y,w]);return(0,l.jsx)(o.sT,{value:b,children:(0,l.jsx)("div",{className:"carousel w-full theme-".concat(f," flex flex-col py-8 w-full"),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"text-".concat(h||"left"," mb-lg"),children:[t&&(0,l.jsx)(s,{className:"mb-lg font-bold",children:t}),m&&(0,l.jsx)("p",{className:"mb-lg",children:m})]}),(0,l.jsx)("div",{className:"carousel-wrapper",ref:g,children:(0,l.jsx)(i.A,d({},j,{children:p?r.Children.map(p,function(e,t){return(0,l.jsx)(u,{slideIndex:t,itemCount:v,children:e},t)}):(0,l.jsx)("div",{className:"carousel-slide p-8 border border-tertiary rounded-lg",children:"Add Block Here"})}))})]})})})});m.displayName="Carousel";let f=m},86231:(e,t,n)=>{n.r(t),n.d(t,{GalleryMedia:()=>p,default:()=>b});var l=n(80263),a=n(53239),i=n(37034),r=n(77441),o=n(56295),s=n(14372),c=n(88227),d=n.n(c),u=n(98466),m=n(7607),f=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1];return(0,a.useEffect)(function(){var e=window.matchMedia("(max-width: 767px)"),t=function(e){return n(e.matches)};return e.addEventListener("change",t),n(e.matches),function(){return e.removeEventListener("change",t)}},[]),t},h=function(e){var t=e.media,n=e.colSpan,a=e.rowSpan,i=e.itemIndex,r=e.onCellClick,o=e.renderImage,c=f(),d=!!t.caption;return(0,l.jsxs)("div",{style:{gridColumn:c?"span 1":"span ".concat(n),gridRow:c?"span 3":"span ".concat(a)},className:"overflow-hidden cursor-pointer group relative",onClick:function(){r(i)},children:[(0,l.jsx)("div",{className:"absolute inset-0 transition-transform duration-300 ease-in-out group-hover:scale-105",children:o(t,n>1||a>1?"gallery-large":"gallery-small")}),d&&(0,l.jsx)("div",{className:"\n            hidden md:flex\n            absolute inset-0\n            flex-col justify-end items-start\n            bg-black/0 hover:bg-black/60\n            transition-colors duration-300 ease-in-out\n            p-4\n          ",children:(0,l.jsx)("div",{className:"\n              [&_*]:!text-neutral-100 text-sm opacity-0 group-hover:opacity-100\n              translate-y-2 group-hover:translate-y-0\n              transition-all duration-300 ease-in-out\n            ",dangerouslySetInnerHTML:{__html:(0,s.No)(t.caption).html}})})]})},p=function(e){var t,n=e.headline,c=e.headlineLevel,f=void 0===c?"h2":c,p=e.subheadline,b=e.theme,g
1=e.alignment,v=e.mediaItems,x=e.columns,y=e.fullWidth,w=void 0!==y&&y,j=(0,m.G)(f),k=(0,a.useState)(!1),N=k[0],T=k[1],C=(0,a.useState)(0),I=C[0],S=C[1],L=(0,a.useState)(!1),A=L[0],V=L[1],G=(0,a.useState)(!1),E=G[0],F=G[1];(0,a.useEffect)(function(){N&&requestAnimationFrame(function(){return V(!0)})},[N]),(0,a.useEffect)(function(){if(N){var e=document.body.style.overflow;return document.body.style.overflow="hidden",function(){document.body.style.overflow=e}}},[N]);var M=function(){V(!1),setTimeout(function(){return T(!1)},300)},P=(0,a.useCallback)(function(e){F(!0),setTimeout(function(){S(e),F(!1)},150)},[]),_=(0,a.useCallback)(function(){P(0===I?v.length-1:I-1)},[I,v.length,P]),B=(0,a.useCallback)(function(){P(I===v.length-1?0:I+1)},[I,v.length,P]),z=function(e){S(e),T(!0)},O="grid-cols-1 md:grid-cols-4";12===(void 0===x?4:x)&&(O="grid-cols-1 md:grid-cols-12");var D=(0,a.useCallback)(function(e,t){var n="gallery-modal"===t;if(e.image.asset)return(0,l.jsx)(o.DAMAsset,{asset:e.image.asset,altText:e.altText,className:n?"h-auto max-h-[min(78dvh,900px)] w-auto max-w-full object-contain":"w-full h-full object-cover",transform:n?void 0:e.image.transform||t,height:n?void 0:e.image.height,width:n?void 0:e.image.width,sizes:n?"(max-width: 768px) 100vw, min(1024px, 90vw)":"gallery-large"===t?u.Vi:u.Vs});if(e.image.placeholderUrl){if(n){var a=e.image.placeholderUrl.split("?")[0];return(0,l.jsx)("img",{src:a,alt:e.altText,className:"h-auto max-h-[min(78dvh,900px)] w-auto max-w-full object-contain"})}return(0,l.jsx)(d(),{src:e.image.placeholderUrl,alt:e.altText,className:"object-cover",fill:!0,sizes:"gallery-large"===t?"(max-width: 768px) 100vw, 50vw":"(max-width: 768px) 100vw, 25vw"})}return null},[]);return(0,l.jsxs)("section",{className:"gallery-media py-6 h-full theme-".concat(b," w-full ").concat(w?"relative w-screen max-w-[100vw] left-1/2 -translate-x-1/2":""),children:[(0,l.jsxs)("div",{className:"container text-".concat(g||"left"),children:[n&&(0,l.jsx)(f,{className:"mb-lg font-bold",children:n}),p&&(0,l.jsx)(j,{className:"mb-lg",children:p})]}),(0,l.jsx)("div",{className:w?"w-full max-w-none mx-auto":"container",children:(0,l.jsx)("div",{className:"grid ".concat(O," gap-4"),style:{gridAutoRows:"clamp(100px, 20vw, 300px)"},children:v.map(function(e,t){var n,a,i,r,o;return(0,l.jsx)(h,{media:e,colSpan:null!=(n=e.colSpan)?n:1,rowSpan:null!=(a=e.rowSpan)?a:1,itemIndex:t,onCellClick:z,renderImage:D},(null==(o=null==(r=null==(i=e.image.asset)?void 0:i.assets)?void 0:r[0])?void 0:o.databaseId)||"mosaic-cell-".concat(t))})})}),N&&"undefined"!=typeof document&&(0,i.createPortal)((0,l.jsxs)("div",{className:"gallery-carousel fixed inset-0 z-50 transition-all duration-300 ease-in-out\n            ".concat(A?"opacity-100":"pointer-events-none opacity-0"),children:[(0,l.jsx)("div",{className:"absolute inset-0 overflow-x-hidden overflow-y-auto overscroll-y-contain\n              ".concat(A?"bg-black/80 backdrop-blur-sm":"bg-transparent"),onClick:M,children:(0,l.jsx)("div",{className:"flex min-h-[100dvh] w-full flex-col items-center justify-center px-4 pb-12 pt-20 sm:px-8 sm:pt-24",children:(0,l.jsxs)("div",{className:"flex w-full max-w-5xl flex-col items-center transition-all duration-300\n                  ".concat(A?"scale-100 opacity-100":"scale-95 opacity-0"),onClick:function(e){return e.stopPropagation()},children:[(0,l.jsx)("div",{className:"flex w-full min-h-0 items-center justify-center py-4 sm:py-8",children:(0,l.jsx)("div",{className:"flex w-full max-w-full items-center justify-center transition-opacity duration-300 ease-in-out\n                    ".concat(E?"opacity-0":"opacity-100"),children:v[I]&&D(v[I],"gallery-modal")})}),(null==(t=v[I])?void 0:t.caption)&&(0,l.jsx)("div",{className:"[&_*]:!text-neutral-100 w-full max-w-5xl px-2 pb-3 text-center text-sm sm:px-6",dangerouslySetInnerHTML:{__html:(0,s.No)(v[I].caption).html}}),(0,l.jsxs)("div",{className:"pb-8 text-center text-neutral-100 sm:pb-10",children:[I+1," of ",v.length]})]})})}),(0,l.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-10",children:[(0,l.jsx)("div",{className:"pointer-events-auto absolute right-4 top-4",onClick:function(e){return e.stopPropagation()},children:(0,l.jsx)(r.CTAButton,{icon:"xmark",iconOnly:!0,theme:"accent",onClick:M,ctaText:"Close gallery",ariaLabel:"Close gallery"})}),(0,l.jsx)("div",{className:"pointer-events-auto absolute left-2 top-1/2 -translate-y-1/2 sm:left-4",onClick:function(e){return e.stopPropagation()},children:(0,l.jsx)(r.CTAButton,{icon:"chevron-left",iconOnly:!0,theme:"accent",onClick:_,ctaText:"Previous image",ariaLabel:"Previous image"})}),(0,l.jsx)("div",{className:"pointer-events-auto absolute right-2 top-1/2 -translate-y-1/2 sm:right-4",onClick:function(e){return e.stopPropagation()},children:(0,l.jsx)(r.CTAButton,{icon:"chevron-right",iconOnly:!0,theme:"accent",onClick:B,ctaText:"Next image",ariaLabel:"Next image"})})]})]}),document.body)]})};let b=p},99761:(e,t,n)=>{n.r(t),n.d(t,{Tabs:()=>I,default:()=>S});var l=n(80263),a=n(63778),i=n(53239),r=n(37034),o=n(93171),s=n(7607),c=n(97028),d=n(54898),u=n(83658),m=n(92070),f=function(){return(f=Object.assign||function(e){for(var t,n=1,l=arguments.length;n<l;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)}
1,h=function(e,t,n,l){return new(n||(n=Promise))(function(a,i){function r(e){try{s(l.next(e))}catch(e){i(e)}}function o(e){try{s(l.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(r,o)}s((l=l.apply(e,t||[])).next())})},p=function(e,t){var n,l,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(s){var c=[o,s];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(i=0)),i;)try{if(n=1,l&&(a=2&c[0]?l.return:c[0]?l.throw||((a=l.return)&&a.call(l),0):l.next)&&!(a=a.call(l,c[1])).done)return a;switch(l=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,l=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],l=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},b=function(e){return"accent"===e||"dark"===e},g=function(e){return e?"string"==typeof e?e:(0,u.Sj)(e)||"":""},v=function(e,t){if(!e||"#"===e)return"";var n=e.trim();try{/^https?:\/\//i.test(n)&&(n=new URL(n).pathname)}catch(e){}(n=n.split("?")[0].split("#")[0]||"/").startsWith("/")||(n="/".concat(n));var l=n.split("/").filter(Boolean);if(l.length&&(null==t?void 0:t.includes(l[0]))){var a=l.slice(1).join("/");n=a?"/".concat(a):"/"}return n.length>1&&n.endsWith("/")&&(n=n.slice(0,-1)),n||"/"},x=function(e,t,n){if(!t)return!1;var l=v(g(e),n);return""!==l&&l===t},y=function(e,t,n){var l;return"link"===e.type&&(!!x(e.href,t,n)||(null!=(l=e.children)?l:[]).some(function(e){return x(e.href,t,n)}))},w=function(e){var t;return"link"===e.type&&!!(null==(t=e.children)?void 0:t.length)},j=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var l=b(e);return["inline-flex items-center px-2 pb-1 pt-2 text-sm whitespace-nowrap border-b-4 font-normal hover:bg-neutral-80",n?"!text-neutral-20":l?"!text-neutral-100":"!text-neutral-20",t?l?"border-secondary":"border-primary":"border-transparent",!t&&l?"hover:!text-secondary":""].filter(Boolean).join(" ")},k=function(e){var t=e.headline,n=e.theme,a=e.isActive,i=void 0!==a&&a,r=e.onClick;return(0,l.jsx)("button",{onClick:r,"aria-label":t,className:j(n,i),"aria-selected":i,children:t})},N=function(e){var t=e.tab,n=e.theme,a=e.isActive,o=e.currentPath,s=e.locales,u=(0,i.useState)(!1),m=u[0],f=u[1],h=(0,i.useState)(!1),p=h[0],g=h[1],v=(0,i.useState)(!1),y=v[0],w=v[1],k=(0,i.useState)(null),N=k[0],T=k[1],C=(0,i.useRef)(null),I=(0,i.useRef)(null),S=(0,i.useRef)(null),L=(0,i.useRef)(0),A=(0,i.useMemo)(function(){var e;return null!=(e=t.children)?e:[]},[t.children]),V=A.length>0,G=(0,i.useCallback)(function(){S.current&&(clearTimeout(S.current),S.current=null)},[]),E=(0,i.useCallback)(function(){var e,t;return!!((null==(e=C.current)?void 0:e.matches(":hover"))||(null==(t=I.current)?void 0:t.matches(":hover")))},[]),F=(0,i.useCallback)(function(){G(),S.current=setTimeout(function(){L.current>0||E()||f(!1)},200)},[G,E]),M=(0,i.useCallback)(function(){if(C.current){var e,t=C.current.getBoundingClientRect(),n=(null==(e=I.current)?void 0:e.offsetWidth)||Math.min(320,window.innerWidth-16),l=window.innerWidth-n-8,a=Math.max(8,Math.min(t.left,l));T({top:t.bottom,left:a})}},[]),P=(0,i.useCallback)(function(){G(),M(),f(!0)},[G,M]),_=(0,i.useCallback)(function(){L.current+=1,P()},[P]),B=(0,i.useCallback)(function(){L.current=Math.max(0,L.current-1),F()},[F]);(0,i.useEffect)(function(){if(m){g(!0),M();var e=requestAnimationFrame(function(){requestAnimationFrame(function(){return w(!0)})});return function(){return cancelAnimationFrame(e)}}w(!1);var t=setTimeout(function(){return g(!1)},200);return function(){return clearTimeout(t)}},[m,M]),(0,i.useEffect)(function(){m&&p&&y&&M()},[m,p,y,A,M]),(0,i.useEffect)(function(){if(m){var e=function(){return M()};return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}},[m,M]),(0,i.useEffect)(function(){return function(){return G()}},[G]);var z=function(e){var t,n;e instanceof Node&&((null==(t=C.current)?void 0:t.contains(e))||(null==(n=I.current)?void 0:n.contains(e)))||(L.current=0,F())};if(!V)return(0,l.jsx)(d.DynamicLink,{link:t.href||"#",label:t.headline,ariaLabel:t.headline,className:j(n,a,!0)});var O=p&&N&&"undefined"!=typeof document&&(0,r.createPortal)((0,l.jsxs)("div",{ref:I,role:"menu",style:{to
1p:N.top-8,left:N.left},className:"fixed z-50 w-max max-w-xs",onMouseEnter:_,onMouseLeave:B,children:[(0,l.jsx)("div",{className:"h-2 w-full","aria-hidden":"true"}),(0,l.jsx)("div",{className:"bg-neutral-100 shadow-lg border border-neutral-60 origin-top transition-[opacity,transform] duration-200 ease-out ".concat(y?"opacity-100 translate-y-0 scale-y-100":"opacity-0 -translate-y-1 scale-y-95 pointer-events-none"),children:A.map(function(e,t){var n=x(e.href,o,s);return(0,l.jsx)(d.DynamicLink,{link:e.href||"#",label:e.headline,ariaLabel:e.headline,className:"block px-4 py-3 text-sm !text-neutral-20 hover:bg-neutral-80 ".concat(n?"bg-neutral-80":"")},t)})})]}),document.body);return(0,l.jsxs)("div",{className:"relative",ref:C,onMouseEnter:_,onMouseLeave:B,onFocus:P,onBlur:function(e){return z(e.relatedTarget)},children:[(0,l.jsxs)("div",{className:j(n,a,!0),children:[(0,l.jsx)(d.DynamicLink,{link:t.href||"#",label:t.headline,ariaLabel:t.headline,className:"!text-inherit font-normal"}),(0,l.jsx)("button",{type:"button","aria-expanded":m,"aria-haspopup":"menu","aria-label":"".concat(t.headline," submenu"),className:"inline-flex items-center justify-center p-0.5",onClick:function(e){e.preventDefault(),e.stopPropagation(),m?(L.current=0,f(!1)):(L.current=1,P())},children:(0,l.jsx)(c.Icon,{icon:"chevron-down",size:"xs",theme:b(n)?"none":"dark",className:"transition-transform duration-200 ".concat(m?"rotate-180":"")})})]}),O]})},T=function(e,t){return["w-full text-left px-4 py-3 text-base border-b border-neutral-60 last:border-b-0 block",t?"!text-neutral-20".concat("accent"===e?" bg-neutral-80":""):"!text-neutral-40 hover:bg-neutral-80"].filter(Boolean).join(" ")},C=function(e){var t=e.tabs,n=e.activeTab,a=e.theme,r=e.currentPath,o=e.locales,s=e.onSelect,u=(0,i.useState)(!1),m=u[0],f=u[1],h=(0,i.useState)(function(){var e=new Set;return t.forEach(function(t,n){w(t)&&y(t,r,o)&&e.add(n)}),e}),p=h[0],g=h[1];(0,i.useEffect)(function(){t.forEach(function(e,t){w(e)&&y(e,r,o)&&g(function(e){if(e.has(t))return e;var n=new Set(e);return n.add(t),n})})},[t,r,o]);var v=(0,i.useMemo)(function(){for(var e,l,a,i,s=0;s<t.length;s++){var c=t[s];if("link"===c.type&&(null==(e=c.children)?void 0:e.length)){var d=c.children.find(function(e){return x(e.href,r,o)});if(null==d?void 0:d.headline)return d.headline}}return null!=(a=null==(l=t[n])?void 0:l.headline)?a:null==(i=t[0])?void 0:i.headline},[t,n,r,o]),j=function(e){g(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("button",{"aria-label":v,"aria-expanded":m,onClick:function(){return f(!m)},className:"w-full flex items-center justify-between px-4 py-3 border-y border-neutral-60\n          ".concat(b(a)?"text-neutral-100":"text-neutral-20"),children:[(0,l.jsx)("span",{className:"text-base font-semibold",children:v}),(0,l.jsx)("div",{className:"transform transition-transform duration-300 ".concat(m?"rotate-180":""),children:(0,l.jsx)(c.Icon,{icon:"chevron-down",theme:b(a)?"none":"accent",size:"sm"})})]}),(0,l.jsx)("div",{className:"absolute z-20 w-full grid transition-[grid-template-rows,opacity,transform] duration-300 ease-out origin-top ".concat(m?"grid-rows-[1fr] opacity-100 translate-y-0":"grid-rows-[0fr] opacity-0 -translate-y-1 pointer-events-none"),children:(0,l.jsx)("div",{className:"overflow-hidden bg-neutral-100 border-b border-neutral-60 shadow-lg",children:t.map(function(e,t){var i=n===t;if("link"===e.type&&w(e)){var u=p.has(t);return(0,l.jsxs)("div",{className:"border-b border-neutral-60 last:border-b-0",children:[(0,l.jsxs)("div",{className:"flex items-stretch",children:[(0,l.jsx)(d.DynamicLink,{link:e.href||"#",label:e.headline,ariaLabel:e.headline,className:"flex-1 ".concat(T(a,i)," border-b-0"),onClick:function(){return f(!1)}}),(0,l.jsx)("button",{type:"button","aria-expanded":u,"aria-label":"".concat(e.headline," submenu"),className:"px-4 border-l border-neutral-60",onClick:function(){return j(t)},children:(0,l.jsx)(c.Icon,{icon:"chevron-down",size:"sm",theme:"accent",className:"transition-transform duration-200 ".concat(u?"rotate-180":"")})})]}),(0,l.jsx)("div",{className:"grid transition-[grid-template-rows,opacity] duration-300 ease-out ".concat(u?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:(0,l.jsx)("div",{className:"overflow-hidden",children:e.children.map(function(e,t){var n=x(e.href,r,o);return(0,l.jsx)(d.DynamicLink,{link:e.href||"#",label:e.headline,ariaLabel:e.headline,className:"".concat(T(a,n)," pl-8"),onClick:function(){return f(!1)}},t)})})})]},t)}return"link"===e.type?(0,l.jsx)(d.DynamicLink,{link:e.href||"#",label:e.headline,ariaLabel:e.headline,className:T(a,i),onClick:function(){return f(!1)}},t):(0,l.jsx)("button",{"aria-label":e.headline,onClick:function(){s(t),f(!1)},className:T(a,i),children:e.headline},t)})})})]})},I=function(e){var t=e.tabs,n=void 0===t?[]:t,r=e.theme,d=e.heading,x=e.headingLevel,w=void 0===x?"h2":x,j=e.subheading,T=e.builderBlock,I=(0,o.useRouter)(),S=(0,s.G)(w),L=(0,i.useState)(0),A=L[0],V=L[1],G=(0,i.useState)(!1),E=G[0],F=G[1],M=(0,i.useState)(!1),P=M[0],_=M[1],B=(0,i.useState)(!1),z=B[0],O=B[1],D=(0,i.useRef)(null),H=(0,i.useState)(n),R=H[0],U=H[1],q=I.locale||I.defaultLocale||"Default";(0,i.useEffect)(function(){var e=!1;return U(n.map(function(e){return"link"===e.type&&e.autoChildren?f(f({},e),{children:[]}):e})),h(void 0,void 0,void 0,function(){var t;return p(this,function(l){switch(l.label){case 0:if(!n.some(function(e){return"link"===e.type&&e.autoChildren}))return[2];return[4,Promise.all(n.map(function(e){return h(void 0,void 0,void 0,function(){var t,n,l;return p(this,function(a){switch(a.label){case 0:if("link"!==e.type||!e.autoChildren)return[2,e];if(!(t=v(g(e.href),I.locales))||"/"===t)return[2,f(f({},e),{children:[]})];a.label=1;case 1:var i;return a.trys.push([1,3,,4]),[4,(i=t,h(void 0,void 0,void 0,function(){var e,t,n;return p(this,function(l){switch(l.label){case 0:if(!(e=i.replace(/\/+$/,"")||"")||"#"===e)return[2,[]];return[4,(0,m.c)(e,q)];
1case 1:return t=l.sent(),n=e.split("/").filter(Boolean).length,[2,t.map(function(e){var t="string"==typeof e.href?e.href:(0,u.Sj)(e.href)||"";return{headline:"string"==typeof e.text?e.text:t.split("/").filter(Boolean).pop()||"Untitled",href:t}}).filter(function(t){var l=t.href;if(!l||"#"===l)return!1;var a=l.replace(/\/+$/,"");return!!a.startsWith("".concat(e,"/"))&&a.split("/").filter(Boolean).length===n+1}).sort(function(e,t){return e.headline.localeCompare(t.headline)})]}})}))];case 2:return n=a.sent(),[2,f(f({},e),{children:n})];case 3:return a.sent(),[2,f(f({},e),{children:null!=(l=e.children)?l:[]})];case 4:return[2]}})})}))];case 1:return t=l.sent(),e||U(t),[2]}})}),function(){e=!0}},[n,q,I.locales]);var W=(0,i.useMemo)(function(){return I.isReady?v(I.asPath,I.locales):""},[I.isReady,I.asPath,I.locales]),$=(0,i.useMemo)(function(){return W?R.findIndex(function(e){return y(e,W,I.locales)}):-1},[R,W,I.locales]),Y=$>=0&&!E,J=Y?-1:A,K=Y?$:A;(0,i.useEffect)(function(){F(!1)},[W]);var Z=(0,i.useCallback)(function(e){V(e),F(!0)},[]),Q=(0,i.useCallback)(function(e,t){return"link"===t.type?Y&&e===$:J===e},[Y,$,J]),X=(0,i.useCallback)(function(){if(D.current){var e=D.current,t=e.scrollWidth>e.clientWidth,n=Math.ceil(e.scrollLeft+e.clientWidth+1)<e.scrollWidth,l=e.scrollLeft>0;_(t&&n),O(l)}},[]);(0,i.useEffect)(function(){X();var e=function(){X()};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[X,R]);var ee=(0,i.useCallback)(function(){if(D.current){var e=D.current,t=e.querySelector(".flex.min-w-min"),n=t?Array.from(t.children):Array.from(e.querySelectorAll(":scope > div > a, :scope > div > button, :scope > div > div"));if(0!==n.length){var l=n[n.length-1];e.scrollTo({left:l.offsetLeft+l.offsetWidth,behavior:"smooth"})}}},[]),et=(0,i.useCallback)(function(){D.current&&D.current.scrollTo({left:0,behavior:"smooth"})},[]);return R&&0!==R.length?(0,l.jsx)("div",{className:"tabs w-full ".concat(r?"theme-".concat(r):""),children:(0,l.jsxs)("div",{className:"container py-3 mx-auto",children:[(d||j)&&(0,l.jsxs)("div",{className:"mb-lg",children:[d&&(0,l.jsx)(w,{className:"mb-0 font-bold",children:d}),j&&(0,l.jsx)(S,{className:d?"mt-2 mb-0":"mb-0",children:j})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"md:hidden my-6",children:(0,l.jsx)(C,{tabs:R,activeTab:K,theme:r,currentPath:W,locales:I.locales,onSelect:Z})}),(0,l.jsxs)("div",{className:"hidden md:block relative",children:[(0,l.jsx)("div",{className:"overflow-x-auto scrollbar-hide",ref:D,onScroll:function(e){var t=e.currentTarget,n=Math.ceil(t.scrollLeft+t.clientWidth+1)<t.scrollWidth,l=t.scrollLeft>0;_(n),O(l)},children:(0,l.jsx)("div",{className:"flex min-w-min border-b border-neutral-60 scrollbar-hide",children:R.map(function(e,t){var n=Q(t,e);return"link"===e.type?(0,l.jsx)(N,{tab:e,theme:r,isActive:n,currentPath:W,locales:I.locales},t):(0,l.jsx)(k,{headline:e.headline,theme:r,isActive:n,onClick:function(){return Z(t)}},t)})})}),z&&(0,l.jsx)("div",{className:"absolute h-full flex items-center left-0 top-1/2 -translate-y-1/2 bg-gradient-to-r pr-6 cursor-pointer ".concat("dark"===r?"from-neutral-20 via-neutral-20":"accent"===r?"from-primary via-primary":"light"===r?"from-neutral-90 via-neutral-90":"from-neutral-100 via-neutral-100"," to-transparent"),onClick:et,children:(0,l.jsx)(c.Icon,{icon:"chevron-left",theme:b(r)?"none":"accent",size:"sm"})}),P&&(0,l.jsx)("div",{className:"absolute h-full flex items-center right-0 top-1/2 -translate-y-1/2 bg-gradient-to-l pl-6 cursor-pointer ".concat("dark"===r?"from-neutral-20 via-neutral-20":"accent"===r?"from-primary via-primary":"light"===r?"from-neutral-90 via-neutral-90":"from-neutral-100 via-neutral-100"," to-transparent"),onClick:ee,children:(0,l.jsx)(c.Icon,{icon:"chevron-right",theme:b(r)?"none":"accent",size:"sm"})})]})]}),(0,l.jsx)("div",{children:R.map(function(e,t){var n;return"content"===e.type&&(0,l.jsx)("div",{className:"tab-content mt-8 transition-all duration-300 ".concat(J===t?"block":"hidden"),children:(0,l.jsx)(a.y$,{parentElementId:null==T?void 0:T.id,dataPath:"tabs.".concat(t,".content.blocks"),blocks:(null==(n=e.content)?void 0:n.blocks)||[]})},t)})})]})}):null};let S=I},99921:(e,t,n)=>{n.r(t),n.d(t,{GridCategories:()=>h,default:()=>p});var l=n(80263),a=n(53239),i=n(63778),r=n(83658),o=n(93171),s=n(14372),c=n(7607),d=n(33917),u=n(14592),m={1:"[&>.builder-blocks>*]:flex-[1_1_100%]",2:"[&>.builder-blocks>*]:flex-[1_1_100%] md:[&>.builder-blocks>*]:flex-[1_1_calc((100%-1rem)/2)]",3:"[&>.builder-blocks>*]:flex-[1_1_100%] md:[&>.builder-blocks>*]:flex-[1_1_calc((100%-1rem)/2)] lg:[&>.builder-blocks>*]:flex-[1_1_calc((100%-2rem)/3)]",4:"[&>.builder-blocks>*]:flex-[1_1_100%] md:[&>.builder-blocks>*]:flex-[1_1_calc((100%-1rem)/2)] lg:[&>.builder-blocks>*]:flex-[1_1_calc((100%-2rem)/3)] xl:[&>.builder-blocks>*]:flex-[1_1_calc((100%-3rem)/4)]"},f={1:"[&>.builder-blocks>*]:flex-[0_1_100%]",2:"[&>.builder-blocks>*]:flex-[0_1_100%] md:[&>.builder-blocks>*]:flex-[0_1_calc((100%-1rem)/2)]",3:"[&>.builder-blocks>*]:flex-[0_1_100%] md:[&>.builder-blocks>*]:flex-[0_1_calc((100%-1rem)/2)] lg:[&>.builder-blocks>*]:flex-[0_1_calc((100%-2rem)/3)]",4:"[&>.builder-blocks>*]:flex-[0_1_100%] md:[&>.builder-blocks>*]:flex-[0_1_calc((100%-1rem)/2)] lg:[&>.builder-blocks>*]:flex-[0_1_calc((100%-2rem)/3)] xl:[&>.builder-blocks>*]:flex-[0_1_calc((100%-3rem)/4)]"},h=function(e){var t,n,h,p,b=null!=(t=e.headlineLevel)?t:"h2",g=(0,c.G)(b),v=(null==(n=e.blocks)?void 0:n.blocks)||[],x=v.length,y=(0,o.useRouter)().locale,w=(0,r.bT)(e.headline,y),j=(0,r.bT)(e.subheadline,y),k=(0,r.bT)(e.body,y),N=(0,d.wL)(b,!!w),T=null!=(h=e.columns)?h:4,C=!1!==e.flexTilesGrow,I=e.fillOddGr
1idRows?"flex flex-wrap justify-center ".concat((C?m:f)[T]," [&>.builder-blocks>*]:min-w-0 [&>.builder-blocks>*]:max-w-full"):"grid ".concat(function(){if(2===T&&(3===x||5===x))return"grid-cols-1 md:grid-cols-2 lg:grid-cols-8 [&>.builder-blocks>*]:lg:col-span-4";if(3===T&&(4===x||5===x||7===x||8===x))return"grid-cols-1 md:grid-cols-2 lg:grid-cols-6 [&>.builder-blocks>*]:lg:col-span-2";if(4===T){if(5===x||6===x)return"grid-cols-1 md:grid-cols-2 lg:grid-cols-12 [&>.builder-blocks>*]:lg:col-span-3";if(7===x)return"grid-cols-1 md:grid-cols-2 lg:grid-cols-8 [&>.builder-blocks>*]:lg:col-span-2";if(8===x)return"grid-cols-1 md:grid-cols-2 lg:grid-cols-12 [&>.builder-blocks>*]:lg:col-span-3";if(9===x)return"grid-cols-1 md:grid-cols-2 lg:grid-cols-8 [&>.builder-blocks>*]:lg:col-span-2";if(10===x||11===x||12===x||13===x||14===x)return"grid-cols-1 md:grid-cols-2 lg:grid-cols-12 [&>.builder-blocks>*]:lg:col-span-3"}return({1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"})[T]}()),S=e.fillOddGridRows?"[&>.builder-blocks>*:has(.tile-cta)]:h-auto [&>.builder-blocks>*:has(.tile-cta)]:flex [&>.builder-blocks>*:has(.tile-cta)]:flex-col":"",L=(0,a.useRef)(null);return(0,u.x)(L,[x,T,e.fillOddGridRows,e.flexTilesGrow]),(0,l.jsx)(d.sT,{value:N,children:(0,l.jsx)("section",{className:"grid-categories py-6 h-full theme-".concat(e.theme," w-full"),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"text-".concat(e.alignment||"left"),children:[w&&(0,l.jsx)(b,{className:"mt-0 mb-lg font-bold",children:w}),j&&(0,l.jsx)(g,{className:"mb-lg",children:j}),k&&(0,l.jsx)("div",{className:"mb-lg",dangerouslySetInnerHTML:{__html:(0,s.No)(k).html}})]}),(0,l.jsx)("div",{ref:L,className:"".concat(I," gap-4 [&>.builder-blocks]:[display:contents] [&>.builder-blocks>*]:h-full ").concat(S),children:(0,l.jsx)(i.y$,{parentElementId:null==(p=e.builderBlock)?void 0:p.id,blocks:v,dataPath:"blocks.blocks",className:"builder-blocks"})})]})})})};let p=h}}]);
2//# sourceMappingURL=buildkit-7204303d-fccbd1e59fac335c.js.map

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.