1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{6277:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r}},9793:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customers-for/[sector]",function(){return n(9978)}])},3181:function(e,t,n){"use strict";n.d(t,{i:function(){return w}});var r=n(2322),o=n(2784),l=n(1596),s=n(5198),a=n(9442),u=n(2779),i=n.n(u),c=n(5116);function d(e){return(0,r.jsx)(a.u,{appear:!0,show:e.open,as:o.Fragment,children:(0,r.jsxs)(s.V,{as:"div",className:"relative z-10",onClose:e.onClose,children:[(0,r.jsx)(a.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"fixed inset-0 bg-neutral-12 bg-opacity-25"})}),(0,r.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,r.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,r.jsxs)(a.u.Child,{as:"div",enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:[(0,r.jsx)("div",{className:"absolute top-2 right-2 z-10",children:(0,r.jsxs)("button",{type:"button",className:"flex items-center justify-center h-10 w-10 focus:outline-none",onClick:()=>{e.onClose()},children:[(0,r.jsx)("span",{className:"sr-only",children:"Close dialog"}),(0,r.jsx)(c.Z,{className:"h-6 w-6 text-default","aria-hidden":"true"})]})}),(0,r.jsx)(s.V.Panel,{className:i()("w-full transform overflow-hidden rounded-xl bg-main p-6","text-left align-middle shadow-xl transition-all",e.className),children:e.children})]})})})]})})}var p=n(6310),f=n(3103),m=n(3602);let v=e=>{let t=p.Z_().url("Please enter a valid URL here").required("Please enter a valid URL here"),n=p.Ry({link:t}),o=new Date().toISOString().replace(/[-.:Z]/g,"").substring(0,15),l=e.medium.substring(0,2).toUpperCase(),a=e.source.substring(0,2).toUpperCase(),u=`${l}${a}${o}`,i={link:`${e.url}?utm_term=${u}&utm_medium=${encodeURIComponent(e.medium)}&utm_source=${encodeURIComponent(e.source)}`};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(d,{open:e.open,onClose:e.onClose,className:"max-w-3xl text-default",children:[(0,r.jsx)(s.V.Title,{className:"text-2xl font-bold",children:"Copy this link and share it"}),(0,r.jsxs)(s.V.Description,{className:"pt-8 text-base text-light",children:["Copy this link to the clipboard and share it on ",e.medium,"."]}),(0,r.jsx)(m.J9,{initialValues:i,validationSchema:n,onSubmit:async(t,n)=>{await navigator.clipboard.writeText(t.link),e.onClose(),n.setSubmitting(!1)},children:t=>{let{isValid:n,isSubmitting:o,handleSubmit:l}=t;return(0,r.jsxs)("form",{className:"mt-12",onSubmit:l,children:[(0,r.jsx)(f.Z,{labelText:"Shareable Link",type:"text",fieldName:"link",placeholder:`Link to share on ${e.medium}`,autoFocus:!0,props:{}}),(0,r.jsx)("div",{className:"flex pt-8",children:(0,r.jsx)("button",{type:"submit",className:"btn-primary",disabled:!n||o,children:o?"Please wait...":"Copy to clipboard"})})]})}})]})})};var h=n(5632);let x=e=>{let{asPath:t}=(0,h.useRouter)(),n=t.indexOf("#"),l=n>0?t.substring(0,n):t,[s,a]=(0,o.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{className:"inline-flex space-x-2 px-4 py-2 w-40",onClick:()=>{a(!0)},children:[(0,r.jsx)(e.icon,{}),(0,r.jsx)("span",{className:"text-sm mt-1",children:e.source})]}),(0,r.jsx)(v,{url:`https://customerping.ai${l}`,source:e.source.toLowerCase(),medium:e.medium,open:s,onClose:()=>{a(!1)}})]})},b=()=>(0,r.jsx)(x,{icon:l.Zm,medium:"social",source:"Twitter"}),y=()=>(0,r.jsx)(x,{icon:l.wc,medium:"social",source:"Mastodon"}),j=()=>
1(0,r.jsx)(x,{icon:l.zz,medium:"newsletter",source:"ConvertKit"}),g=()=>(0,r.jsx)(x,{icon:l.OW,medium:"social",source:"Medium"}),P=()=>(0,r.jsx)(x,{icon:l.tR,medium:"newsletter",source:"Substack"}),N=()=>(0,r.jsx)(x,{icon:l.PJ,medium:"social",source:"IndieHackers"}),S=()=>(0,r.jsx)(x,{icon:l.sW,medium:"social",source:"ProductHunt"}),E=()=>(0,r.jsx)(x,{icon:l.MP,medium:"social",source:"Reddit"});function w(){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{id:"social-sharing",children:[(0,r.jsx)("hr",{}),(0,r.jsx)("p",{className:"text-sm",children:"Share this:"}),(0,r.jsxs)("div",{className:"flex flex-wrap",children:[(0,r.jsx)(j,{}),(0,r.jsx)(N,{}),(0,r.jsx)(y,{}),(0,r.jsx)(g,{}),(0,r.jsx)(S,{}),(0,r.jsx)(E,{}),(0,r.jsx)(P,{}),(0,r.jsx)(b,{})]})]})})}},3103:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2322),o=n(2784),l=n(3602);function s(e){let t=(0,o.useCallback)(e=>{e&&setTimeout(()=>{e.focus()},50)},[]),n=e.invisible?{className:"humpfenhagen","aria-hidden":!0}:{};return(0,r.jsxs)("div",{...n,children:[(0,r.jsx)("label",{htmlFor:e.fieldName,className:"block text-sm font-medium text-label",children:e.labelText}),(0,r.jsx)(l.gN,{id:e.fieldName,name:e.fieldName,children:n=>{let{field:o,meta:l}=n;return(0,r.jsxs)("div",{className:"mt-1",children:[(0,r.jsx)("input",{type:e.type,className:"input-primary",placeholder:e.placeholder,...e.props,...o,...e.autoFocus?{ref:t}:{}}),l.touched&&l.error&&(0,r.jsx)("p",{className:"mt-1 text-red-9",children:l.error})]})}})]})}},9978:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return p},default:function(){return f}});var r=n(2322),o=n(9097),l=n.n(o),s=n(9894),a=n(9899),u=n(5427),i=n(3181),c=n(1320);let d=e=>{let{ideas:t}=e;if(0===t.length)return(0,r.jsx)("p",{children:"No examples for this industry, yet."});let n=t.slice(0,Math.min(3,t.length)).map(e=>e.product.title).join(", ");return(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:`${t.length} ${1===t.length?"example":"examples"}`}),`, such as ${n}.`]})};var p=!0;function f(e){let{sector:t}=e;if(!t)return(0,r.jsx)(r.Fragment,{});let{name:n,industries:o}=t,p=e=>`/customers-for/${t.id}/${e}`;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{title:`How to find customers for the ${n} sector`,description:`Sample industries in the ${n} sector, and how to find customers for each one.`}),(0,r.jsxs)("div",{className:"bg-main text-default pb-8",children:[(0,r.jsx)(u.h,{}),(0,r.jsx)("div",{className:"mx-auto max-w-7xl p-4 sm:px-6 lg:px-8",children:(0,r.jsx)("div",{className:"w-full flex flex-row",children:(0,r.jsx)("main",{className:"w-full",children:(0,r.jsxs)("div",{className:"mx-auto pb-40 prose dark:prose-invert prose-sm lg:prose-lg",children:[(0,r.jsxs)("section",{id:"main-content",children:[(0,r.jsx)("h1",{children:`How to find customers for the ${n} sector`}),(0,r.jsx)("p",{children:`Examples for how to find customers in the ${n} sector and help them get what they want. Let's study one industry at a time.`}),o.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:e.name}),(0,r.jsx)(d,{ideas:e.businessIdeas}),e.businessIdeas.length>0&&(0,r.jsx)("p",{children:(0,r.jsx)(l(),{href:p(e.id),className:"font-bold text-secondary-9",children:"Read the examples"})})]},e.id)),(0,r.jsx)("hr",{}),(0,r.jsx)("h3",{children:"Related topics"}),(0,r.jsx)("div",{className:"not-prose space-x-4",children:(0,r.jsx)(s.z,{href:"/customers-for/sectors",color:"neutral",children:"Other sectors"})})]}),(0,r.jsx)(i.i,{})]})})})})]}),(0,r.jsx)(a.$,{})]})}},3913:function(e,t,n){"use strict";n.d(t,{J:function(){return B}});var r,o,l=n(2784),s=n(3703),a=n(544),u=n(3401),i=n(586),c=n(9108),d=n(5426),p=n(9573),f=n(7215),m=n(7352),v=n(2994),h=n(9833),x=n(592),b=n(9410),y=n(6799),j=n(5559),g=n(859),P=n(1742),N=n(8064),S=n(1638),E=n(5577),w=((r=w||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),T=((o=T||{})[o.TogglePopover=0]="TogglePopover",o[o.ClosePopover=1]="ClosePopover",o[o.SetButton=2]="SetButton",o[o.SetButtonId=3]="SetButtonId",o[o.SetPanel=4]="SetPanel",o[o.SetPanelId=5]="SetPanelId",o);let C={0:e=>{let t={...e,popoverState:(0,s.E)(e.popoverState,{0:1,1:0})};return 0===t.popoverState&&(t.__demoMode=!1),t},1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
1e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},I=(0,l.createContext)(null);function k(e){let t=(0,l.useContext)(I);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}I.displayName="PopoverContext";let M=(0,l.createContext)(null);function O(e){let t=(0,l.useContext)(M);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,O),t}return t}M.displayName="PopoverAPIContext";let F=(0,l.createContext)(null);function R(){return(0,l.useContext)(F)}F.displayName="PopoverGroupContext";let _=(0,l.createContext)(null);function $(e,t){return(0,s.E)(t.type,C,e,t)}_.displayName="PopoverPanelContext";let z=a.AN.RenderStrategy|a.AN.Static,A=a.AN.RenderStrategy|a.AN.Static,B=Object.assign((0,a.yV)(function(e,t){var n;let{__demoMode:r=!1,...o}=e,i=(0,l.useRef)(null),c=(0,u.T)(t,(0,u.h)(e=>{i.current=e})),d=(0,l.useRef)([]),m=(0,l.useReducer)($,{__demoMode:r,popoverState:r?0:1,buttons:d,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,l.createRef)(),afterPanelSentinel:(0,l.createRef)()}),[{popoverState:h,button:y,buttonId:g,panel:N,panelId:w,beforePanelSentinel:T,afterPanelSentinel:C},k]=m,O=(0,x.i)(null!=(n=i.current)?n:y),F=(0,l.useMemo)(()=>{if(!y||!N)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(y))^Number(null==e?void 0:e.contains(N)))return!0;let e=(0,p.GO)(),t=e.indexOf(y),n=(t+e.length-1)%e.length,r=(t+1)%e.length,o=e[n],l=e[r];return!N.contains(o)&&!N.contains(l)},[y,N]),z=(0,P.E)(g),A=(0,P.E)(w),B=(0,l.useMemo)(()=>({buttonId:z,panelId:A,close:()=>k({type:1})}),[z,A,k]),D=R(),Z=null==D?void 0:D.registerPopover,L=(0,j.z)(()=>{var e;return null!=(e=null==D?void 0:D.isFocusWithinPopoverGroup())?e:(null==O?void 0:O.activeElement)&&((null==y?void 0:y.contains(O.activeElement))||(null==N?void 0:N.contains(O.activeElement)))});(0,l.useEffect)(()=>null==Z?void 0:Z(B),[Z,B]);let[G,V]=(0,E.k)(),H=(0,S.v)({mainTreeNodeRef:null==D?void 0:D.mainTreeNodeRef,portals:G,defaultContainers:[y,N]});(0,b.O)(null==O?void 0:O.defaultView,"focus",e=>{var t,n,r,o;e.target!==window&&e.target instanceof HTMLElement&&0===h&&(L()||y&&N&&(H.contains(e.target)||null!=(n=null==(t=T.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(o=null==(r=C.current)?void 0:r.contains)&&o.call(r,e.target)||k({type:1})))},!0),(0,v.O)(H.resolveContainers,(e,t)=>{k({type:1}),(0,p.sP)(t,p.tJ.Loose)||(e.preventDefault(),null==y||y.focus())},0===h);let U=(0,j.z)(e=>{k({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:y:y;null==t||t.focus()}),J=(0,l.useMemo)(()=>({close:U,isPortalled:F}),[U,F]),Y=(0,l.useMemo)(()=>({open:0===h,close:U}),[h,U]);return l.createElement(_.Provider,{value:null},l.createElement(I.Provider,{value:m},l.createElement(M.Provider,{value:J},l.createElement(f.up,{value:(0,s.E)(h,{0:f.ZM.Open,1:f.ZM.Closed})},l.createElement(V,null,(0,a.sY)({ourProps:{ref:c},theirProps:o,slot:Y,defaultTag:"div",name:"Popover"}),l.createElement(H.MainTreeNode,null))))))}),{Button:(0,a.yV)(function(e,t){let n=(0,i.M)(),{id:r=`headlessui-popover-button-${n}`,...o}=e,[f,v]=k("Popover.Button"),{isPortalled:h}=O("Popover.Button"),b=(0,l.useRef)(null),P=`headlessui-focus-sentinel-${(0,i.M)()}`,N=R(),S=null==N?void 0:N.closeOthers,E=null!==(0,l.useContext)(_);(0,l.useEffect)(()=>{if(!E)return v({type:3,buttonId:r}),()=>{v({type:3,buttonId:null})}},[E,r,v]);let[w]=(0,l.useState)(()=>Symbol()),T=(0,u.T)(b,t,E?null:e=>{if(e)f.buttons.current.push(w);else{let e=f.buttons.current.indexOf(w);-1!==e&&f.buttons.current.splice(e,1)}f.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&v({type:2,button:e})}),C=(0,u.T)(b,t),I=(0,x.i)(b),M=(0,j.z)(e=>{var t,n,r;if(E){if(1===f.popoverState)return;switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),v({type:1}),null==(r=f.button)||r.focus()}}else switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),v({type:0});break;case c.R.Escape:if(0!==f.popoverState)return null==S?void 0:S(f.buttonId);if(!b.current||null!=I&&I.activeElement&&!b.current.contains(I.activeElement))return;e.preventDefault(),e.stopPropagation(),v({type:1})}}),F=(0,j.z)(e=>{E||e.key===c.R.Space&&e.preventDefault()}),$=(0,j.z)(t=>{var n,r;(0,d.P)(t.currentTarget)||e.disabled||(E?(v({type:1}),null==(n=f.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),v({type:0}),null==(r=f.button)||r.focus()))}),z=(0,j.z)(e=>{e.preventDefault(),e.stopPropagation()}),A=0===f.popoverState,B=(0,l.useMemo)(()=>({open:A}),[A]),D=(0,m.f)(e,b),Z=E?{ref:C,type:D,onKeyDown:M,onClick:$}:{ref:T,id:f.buttonId,type:D,"aria-expanded":0===f.popoverState,"aria-controls":f.panel?f.panelId:void 0,onKeyDown:M,onKeyUp:F,onClick:$,onMouseDown:z},L=(0,g.l)(),G=(0,j.z)(()=>{let e=f.panel;e&&(0,s.E)(L.current,{[g.N.Forwards]:()=>(0,p.jA)(e,p.TO.First),[g.N.Backwards]:()=>(0,p.jA)(e,p.TO.Last)})===p.fE.Error&&(0,p.jA)((0,p.GO)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,s.E)(L.current,{[g.N.Forwards]:p.TO.Next,[g.N.Backwards]:p.TO.Previous}),{relativeTo:f.button})});return l.createElement(l.Fragment,null,(0,a.sY)({ourProps:Z,theirProps:o,slot:B,defaultTag:"button",name:"Popover.Button"}),A&&!E&&h&&l.createElement(y._,{id:P,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:G}))}),Overlay:(0,a.yV)(function(e,t){let n=(0,i.M)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:s},c]=k("Popover.Overlay"),p=(0,u.T)(t),m=(0,f.oJ)(),v=null!==m?(m&f.ZM.Open)===f.ZM.Open:0===s,h=(0,j.z)(e=>{if((0,d.P)(e.currentTarget))return e.preventDefault();c({type:1})}),x=(0,l.useMemo)(()=>({open:0===s}),[s]);return(0,a.sY)({ourProps:{ref:p,id:r,"aria-hidden":!0,onClick:h},theirProps:o,slot:x,defaultTag:"div",features:z,visible:v,name:"Popover.Overlay"})}),Panel:(0,a.yV)(function(e,t){let n=(0,i.M)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...d}=e,[m,v]=k("Popover.Panel"),{close:h,isPortalled:b}=O("Popover.Panel"),P=`headlessui-focus-sentinel-before-${(0,i.M)()}`,S=`headlessui-focus-sentinel-after-${(0,i.M)()}`,E=(0,l.useRef)(null),w=(0,u.T)(E,t,e=>{v({type:4,panel:e})}),T=(0,x.i)(E);(0,N.e)(()=>(v({type:5,panelId:r}),()=>{v({type:5,panelId:null})}),[r,v]);let C=(0,f.oJ)(),I=null!==C?(C&f.ZM.Open)===f.ZM.Open:0===m.popoverState,M=(0,j.z)(e=>{var t;if(e.key===c.R.Escape){if(0!==m.popoverState||!E.current||null!=T&&T.activeElement&&!E.current.contains(T.activeElement))return;e.preventDefault(),e.stopPropagation(),v({type:1}
1),null==(t=m.button)||t.focus()}});(0,l.useEffect)(()=>{var t;e.static||1===m.popoverState&&(null==(t=e.unmount)||t)&&v({type:4,panel:null})},[m.popoverState,e.unmount,e.static,v]),(0,l.useEffect)(()=>{if(m.__demoMode||!o||0!==m.popoverState||!E.current)return;let e=null==T?void 0:T.activeElement;E.current.contains(e)||(0,p.jA)(E.current,p.TO.First)},[m.__demoMode,o,E,m.popoverState]);let F=(0,l.useMemo)(()=>({open:0===m.popoverState,close:h}),[m,h]),R={ref:w,id:r,onKeyDown:M,onBlur:o&&0===m.popoverState?e=>{var t,n,r,o,l;let s=e.relatedTarget;s&&E.current&&(null!=(t=E.current)&&t.contains(s)||(v({type:1}),(null!=(r=null==(n=m.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,s)||null!=(l=null==(o=m.afterPanelSentinel.current)?void 0:o.contains)&&l.call(o,s))&&s.focus({preventScroll:!0})))}:void 0,tabIndex:-1},$=(0,g.l)(),z=(0,j.z)(()=>{let e=E.current;e&&(0,s.E)($.current,{[g.N.Forwards]:()=>{var t;(0,p.jA)(e,p.TO.First)===p.fE.Error&&(null==(t=m.afterPanelSentinel.current)||t.focus())},[g.N.Backwards]:()=>{var e;null==(e=m.button)||e.focus({preventScroll:!0})}})}),B=(0,j.z)(()=>{let e=E.current;e&&(0,s.E)($.current,{[g.N.Forwards]:()=>{var e;if(!m.button)return;let t=(0,p.GO)(),n=t.indexOf(m.button),r=t.slice(0,n+1),o=[...t.slice(n+1),...r];for(let t of o.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=m.panel)&&e.contains(t)){let e=o.indexOf(t);-1!==e&&o.splice(e,1)}(0,p.jA)(o,p.TO.First,{sorted:!1})},[g.N.Backwards]:()=>{var t;(0,p.jA)(e,p.TO.Previous)===p.fE.Error&&(null==(t=m.button)||t.focus())}})});return l.createElement(_.Provider,{value:r},I&&b&&l.createElement(y._,{id:P,ref:m.beforePanelSentinel,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:z}),(0,a.sY)({ourProps:R,theirProps:d,slot:F,defaultTag:"div",features:A,visible:I,name:"Popover.Panel"}),I&&b&&l.createElement(y._,{id:S,ref:m.afterPanelSentinel,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:B}))}),Group:(0,a.yV)(function(e,t){let n=(0,l.useRef)(null),r=(0,u.T)(n,t),[o,s]=(0,l.useState)([]),i=(0,S.H)(),c=(0,j.z)(e=>{s(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),d=(0,j.z)(e=>(s(t=>[...t,e]),()=>c(e))),p=(0,j.z)(()=>{var e;let t=(0,h.r)(n);if(!t)return!1;let r=t.activeElement;return!!(null!=(e=n.current)&&e.contains(r))||o.some(e=>{var n,o;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(o=t.getElementById(e.panelId.current))?void 0:o.contains(r))})}),f=(0,j.z)(e=>{for(let t of o)t.buttonId.current!==e&&t.close()}),m=(0,l.useMemo)(()=>({registerPopover:d,unregisterPopover:c,isFocusWithinPopoverGroup:p,closeOthers:f,mainTreeNodeRef:i.mainTreeNodeRef}),[d,c,p,f,i.mainTreeNodeRef]),v=(0,l.useMemo)(()=>({}),[]);return l.createElement(F.Provider,{value:m},(0,a.sY)({ourProps:{ref:r},theirProps:e,slot:v,defaultTag:"div",name:"Popover.Group"}),l.createElement(i.MainTreeNode,null))})})},7352:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(2784),o=n(8064);function l(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function s(e,t){let[n,s]=(0,r.useState)(()=>l(e));return(0,o.e)(()=>{s(l(e))},[e.type,e.as]),(0,o.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&s("button")},[n,t]),n}}},function(e){e.O(0,[636,477,227,596,774,888,179],function(){return e(e.s=9793)}),_N_E=e.O()}]);
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.