PageSourceSearch

https://www.withleo.ai/_next/static/chunks/pages/blog/how-to-adapt-to-students-using-ai-206cf720ba009798.js

js withleo.ai collected 2026-10-05 13:19:32 UTC 20,396 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6101],{99289:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/how-to-adapt-to-students-using-ai",function(){return n(29745)}])},52101:function(e,t){"use strict";t.Z={src:"/_next/static/media/background-call-to-action.e1c64d75.jpg",height:4096,width:2731,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAIAAUDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAbEAACAQUAAAAAAAAAAAAAAAAAEgECERMUQf/EABUBAQEAAAAAAAAAAAAAAAAAAAID/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAEDkREyYv/aAAwDAQACEQMRAD8Ar52slSqvLgAqosLZ2Fz8qj//2Q==",blurWidth:5,blurHeight:8}},94480:function(e,t,n){"use strict";n.d(t,{J:function(){return CallToAction}});var r=n(85893),o=n(25675),a=n.n(o),l=n(22661),u=n(34780),c=n(52101),d=n(41664),p=n.n(d);function CallToAction(){return(0,r.jsxs)("section",{id:"get-started-today",className:"relative overflow-hidden bg-orange-500 py-32",children:[(0,r.jsx)(a(),{className:"absolute left-1/2 top-1/2 max-w-none -translate-x-1/2 -translate-y-1/2",src:c.Z,alt:"",width:2347,height:1244,unoptimized:!0}),(0,r.jsx)(u.W,{className:"relative",children:(0,r.jsxs)("div",{className:"mx-auto max-w-lg text-center",children:[(0,r.jsx)("h2",{className:"font-display text-3xl tracking-tight text-white sm:text-4xl font-semibold",children:"Supercharge your teaching today"}),(0,r.jsx)("p",{className:"mt-4 text-lg tracking-tight text-white"}),(0,r.jsx)(l.z,{href:"/signup",color:"white",className:"mt-10",children:"Get started for free"}),(0,r.jsx)(p(),{className:"ml-5 text-white bg-transparent hover:bg-transparent hover:text-white hover:underline group inline-flex items-center justify-center rounded-lg py-2 px-4 text-sm font-semibold focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 ",href:"/use-cases",children:"Learn more"})]})})]})}},17155:function(e,t,n){"use strict";n.d(t,{Z:function(){return BlogPostFooter}});var r=n(85893);function BlogPostFooter(e){let{otherLinks:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"mt-16 pt-8 pb-6 border-t-2 font-bold",children:"If you liked this article, you might also like:"}),t.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)("a",{href:e.href,className:"text-base font-semibold text-orange-600 hover:text-orange-700",children:e.title})},e.href))]})}},29745:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Blog}});var r=n(85893),o=n(94480),a=n(28166),l=n(73072),u=n(17155),c=n(9008),d=n.n(c);function Blog(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d(),{children:[(0,r.jsx)("title",{children:"How to Adapt to Students Using AI: A Guide for Teachers"}),(0,r.jsx)("meta",{name:"description",content:"AI is becoming an increasingly prominent part of students' lives. This presents both challenges and opportunities for educators. Here are several strategies that teachers can employ to adapt to the use of AI in the classroom."})]}),(0,r.jsx)(l.h,{}),(0,r.jsxs)("main",{children:[(0,r.jsx)("div",{className:"bg-white px-6 py-8 lg:px-8",children:(0,r.jsxs)("div",{className:"mx-auto max-w-3xl text-base leading-7 text-gray-700",children:[(0,r.jsx)("p",{className:"text-base font-semibold leading-7 text-orange-600",children:"AI in Education"}),(0,r.jsx)("h1",{className:"mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl",children:"How to Adapt to Students Using AI: A Guide for Teachers"}),(0,r.jsx)("p",{className:"mt-6 text-xl leading-8",children:"AI is becoming an increasingly prominent part of students' lives. This presents both challenges and opportunities for educators. Here are several strategies that teachers can employ to adapt to the use of AI in the classroom."}),(0,r.jsx)("div",{className:"mt-10",children:(0,r.jsx)("img",{className:"w-full h-auto rounded-lg",src:"https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=1000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",alt:"How Can Teachers Detect AI in Students Work"})}),(0,r.jsxs)("div",{className:"mt-10 max-w-2xl",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-gray-900",children:"Transition to In-Class Assignments"}),(0,r.jsx)("p",{className:"mt-6",children:"In the current day and age where AI tools are readily accessible, the authenticity of students' work can be unclear when assignments are completed outside of class. To ensure that students are personally engaging with the material and n
1ot overly relying on AI, teachers can consider shifting more assignments to be completed in class. This approach allows educators to observe the students' problem-solving processes and ensures that the work submitted is a true reflection of their abilities and understanding. Dedicating class time for students to work on assignments not only maintains academic integrity but also provides immediate support and feedback, enhancing the learning experience."})]}),(0,r.jsxs)("div",{className:"mt-10 max-w-2xl",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-gray-900",children:"Clarify AI Usage Policies"}),(0,r.jsxs)("p",{className:"mt-6",children:["Transparency about the role of AI in academic work is crucial. Teachers should clearly define and communicate the AI usage policy for each assignment. This policy might specify whether AI assistance is allowed, the extent to which it can be used, and the requirements for citing AI sources."," ",(0,r.jsxs)("a",{className:"hover:cursor-pointer text-orange-500 hover:text-orange-700",href:"https://ed.stanford.edu/news/what-do-ai-chatbots-really-mean-students-and-cheating",children:["A study from Stanford"," "]})," ","suggests that the availability of AI tools does not necessarily lead to an increase in cheating, which indicates that with clear guidelines, students can use these tools responsibly and ethically. By setting clear expectations, teachers can help students navigate the use of AI in a way that supports their learning without compromising academic standards."]})]}),(0,r.jsxs)("div",{className:"mt-10 max-w-2xl",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-gray-900",children:"Embrace and Educate About AI"}),(0,r.jsx)("p",{className:"mt-6",children:"Instead of viewing AI as a threat to traditional education methods, embracing it as a beneficial tool can be more productive. AI is here to stay, and teaching students how to use it effectively and ethically is important. Encouraging the use of AI in assignments, with the stipulation that any AI assistance must be properly cited, prepares students for a future where AI will likely be an integral part of many professional environments. This approach treats AI as any other resource, like books or online articles, which require proper attribution and critical evaluation."})]}),(0,r.jsxs)("div",{className:"mt-10 max-w-2xl",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-gray-900",children:"Provide Resource Sheets"}),(0,r.jsx)("p",{className:"mt-6",children:"Another method to ensure that students engage deeply with course content is to provide them with resource sheets. These sheets can contain essential information, data, or perspectives that students are expected to use in their assignments. By limiting the sources from which students can draw information, teachers can control the learning environment more effectively and encourage students to develop their reasoning and analytical skills. This method not only curbs the indiscriminate use of AI but also promotes critical thinking and comprehension skills as students are required to apply the information from the resources provided rather than searching for quick answers online."})]}),(0,r.jsxs)("div",{className:"mt-10 max-w-2xl",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-gray-900",children:"Conclusion"}),(0,r.jsx)("p",{className:"mt-6",children:"The integration of AI into education is inevitable and can be immensely beneficial if handled correctly. By modifying classroom practices and policies regarding AI, teachers can harness its potential to enhance educational outcomes while maintaining academic integrity. Embracing AI, setting clear policies, transitioning to in-class assignments, and providing focused resources are all strategies that can help teachers adapt to this new digital era. The goal is not just to manage the use of AI but to prepare students to use it as a powerful ally in their learning journey."})]}),(0,r.jsx)(u.Z,{otherLinks:[{href:"/blog/will-ai-replace-teachers",title:"Will AI Replace Teachers?"},{href:"/blog/how-can-teachers-detect-ai",title:"How Can Teachers Detect AI in Students Work?"},{href:"/blog/how-leo-helps-teachers-create-teaching-material",title:"How Leo Helps Teachers Create Teaching Material"}]})]})}),(0,r.jsx)(o.J,{})]}),(0,r.jsx)(a.$,{})]})}},9008:function(e,t,n){e.exports=n(90046)},86215:function(e,t,n){"use strict";n.d(t,{J:function(){return R}});var r,o,a=n(67294),l=n(32984),u=n(12351),c=n(23784),d=n(19946),p=n(61363),h=n(64103),f=n(84575),m=n(16567),g=n(14157),v=n(39650),A=n(15466),x=n(51074),b=n(14007),y=n(46045),w=n(73781),E=n(45662),P=n(3855),I=n(16723),S=n(65958),N=n(2740),T=((r=T||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),j=((o=j||{})[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 k={0:e=>{let t={...e,popoverState:(0,l.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}},O=(0,a.createContext)(null);function oe(e){let t=(0,a.useContext)(O);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,oe),t}return t}O.displayName="PopoverContext";let C=(0,a.createContext)(null);function fe(e){let t=(0,a.useContext)(C);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fe),t}return t}C.displayName="PopoverAPIContext";let M=(0,a.createContext)(null);function Ee(){return(0,a.useContext)(M)}M.displayName="PopoverGroupContext";let B=(0,a.createContext)(null);function Ne(e,t){return(0,l.E)(t.type,k,e,t)}B.displayName="PopoverPanelContext";let z=u.AN.RenderStrategy|u.AN.Static,D=u.AN.RenderStrategy|u.AN.Static,R=Object.assign((0,u.yV)(function(e,t){var n;let{__demoMode:r=!1,...o}=e,d=(0,a.useRef)(null),p=(0,c.T)(t,(0,c.h)(e=>{d.current=e})),h=(0,a.useRef)([]),g=(0,a.useReducer)(Ne,{__demoMode:r,popoverState:r?0:1,buttons:h,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,a.createRef)(),afterPanelSentinel:(0,a.createRef)()}),[{popoverState:A,button:y,buttonId:E,panel:I,panelId:T,beforePanelSentinel:j,afterPanelSentinel:k},M]=g,z=(0,x.i)(null!=(n=d.current)?n:y),D=(0,a.useMemo)(()=>{if(!y||!I)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(I)))return!0;let e=(0,f.GO)(),t=e.indexOf(y),n=(t+e.length-1)%e.length,r=(t+1)%e.length,o=e[n],a=e[r];return!I.contains(o)&&!I.contains(a)},[y,I]),R=(0,P.E)(E),F=(0,P.E)(T),_=(0,a.useMemo)(()=>({buttonId:R,panelId:F,close:()=>M({type:1})}),[R,F,M]),H=Ee(),G=null==H?void 0:H.registerPopover,L=(0,w.z)(()=>{var e;return null!=(e=null==H?void 0:H.isFocusWithinPopoverGroup())?e:(null==z?void 0:z.activeElement)&&((null==y?void 0:y.contains(z.activeElement))||(null==I?void 0:I.contains(z.activeElement)))});(0,a.useEffect)(()=>null==G?void 0:G(_),[G,_]);let[Q,Z]=(0,N.k)(),U=(0,S.v)({mainTreeNodeRef:null==H?void 0:H.mainTreeNodeRef,portals:Q,defaultContainers:[y,I]});(0,b.O)(null==z?void 0:z.defaultView,"focus",e=>{var t,n,r,o;e.target!==window&&e.target instanceof HTMLElement&&0===A&&(L()||y&&I&&(U.contains(e.target)||null!=(n=null==(t=j.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(o=null==(r=k.current)?void 0:r.contains)&&o.call(r,e.target)||M({type:1})))},!0),(0,v.O)(U.resolveContainers,(e,t)=>{M({type:1}),(0,f.sP)(t,f.tJ.Loose)||(e.preventDefault(),null==y||y.focus())},0===A);let q=(0,w.z)(e=>{M({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,a.useMemo)(()=>({close:q,isPortalled:D}),[q,D]),Y=(0,a.useMemo)(()=>({open:0===A,close:q}),[A,q]);return a.createElement(B.Provider,{value:null},a.createElement(O.Provider,{value:g},a.createElement(C.Provider,{value:J},a.createElement(m.up,{value:(0,l.E)(A,{0:m.ZM.Open,1:m.ZM.Closed})},a.createElement(Z,null,(0,u.sY)({ourProps:{ref:p},theirProps:o,slot:Y,defaultTag:"div",name:"Popover"}),a.createElement(U.MainTreeNode,null))))))}),{Button:(0,u.yV)(function(e,t){let n=(0,d.M)(),{id:r=`headlessui-popover-button-${n}`,...o}=e,[m,v]=oe("Popover.Button"),{isPortalled:A}=fe("Popover.Button"),b=(0,a.useRef)(null),P=`headlessui-focus-sentinel-${(0,d.M)()}`,I=Ee(),S=null==I?void 0:I.closeOthers,N=null!==(0,a.useContext)(B);(0,a.useEffect)(()=>{if(!N)return v({type:3,buttonId:r}),()=>{v({type:3,buttonId:null})}},[N,r,v]);let[T]=(0,a.useState)(()=>Symbol()),j=(0,c.T)(b,t,N?null:e=>{if(e)m.buttons.current.push(T);else{let e=m.buttons.current.indexOf(T);-1!==e&&m.buttons.current.splice(e,1)}m.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})}),k=(0,c.T)(b,t),O=(0,x.i)(b),C=(0,w.z)(e=>{var t,n,r;if(N){if(1===m.popoverState)return;switch(e.key){case p.R.Space:case p.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),v({type:1}),null==(r=m.button)||r.focus()}}else switch(e.key){case p.R.Space:case p.R.Enter:e.preventDefault(),e.stopPropagation(),1===m.popoverState&&(null==S||S(m.buttonId)),v({type:0});break;case p.R.Escape:if(0!==m.popoverState)return null==S?void 0:S(m.buttonId);if(!b.current||null!=O&&O.activeElement&&!b.current.contains(O.activeElement))return;e.preventDefault(),e.stopPropagation(),v({type:1})}}),M=(0,w.z)(e=>{N||e.key===p.R.Space&&e.preventDefault()}),z=(0,w.z)(t=>{var n,r;(0,h.P)(t.currentTarget)||e.disabled||(N?(v({type:1}),null==(n=m.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===m.popoverState&&(null==S||S(m.buttonId)),v({type:0}),null==(r=m.button)||r.focus()))}),D=(0,w.z)(e=>{e.preventDefault(),e.stopPropagation()}),R=0===m.popoverState,F=(0,a.useMemo)(()=>({open:R}),[R]),_=(0,g.f)(e,b),H=N?{ref:k,type:_,onKeyDown:C,onClick:z}:{ref:j,id:m.buttonId,type:_,"aria-expanded":0===m.popoverState,"aria-controls":m.panel?m.panelId:void 0,onKeyDown:C,onKeyUp:M,onClick:z,onMouseDown:D},G=(0,E.l)(),L=(0,w.z)(()=>{let e=m.panel;e&&(0,l.E)(G.current,{[E.N.Forwards]:()=>(0,f.jA)(e,f.TO.First),[E.N.Backwards]:()=>(0,f.jA)(e,f.TO.Last)})===f.fE.Error&&(0,f.jA)((0,f.GO)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,l.E)(G.current,{[E.N.Forwards]:f.TO.Next,[E.N.Backwards]:f.TO.Previous}),{relativeTo:m.button})});return a.createElement(a.Fragment,null,(0,u.sY)({ourProps:H,theirProps:o,slot:F,defaultTag:"button",name:"Popover.Button"}),R&&!N&&A&&a.createElement(y._,{id:P,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:L}))}),Overlay:(0,u.yV)(function(e,t){let n=(0,d.M)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:l},p]=oe("Popover.Overlay"),f=(0,c.T)(t),g=(0,m.oJ)(),v=null!==g?(g&m.ZM.Open)===m.ZM.Open:0===l,A=(0,w.z)(e=>{if((0,h.P)(e.currentTarget))return e.preventDefault();p({type:1})}),x=(0,a.useMemo)(()=>({open:0===l}),[l]);return(0,u.sY)({ourProps:{ref:f,id:r,"aria-hidden":!0,onClick:A},theirProps:o,slot:x,defaultTag:"div",features:z,visible:v,name:"Popover.Overlay"})}),Panel:(0,u.yV)(function(e,t){let n=(0,d.M)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...h}=e,[g,v]=oe("Popover.Panel"),{close:A,isPortalled:b}=fe("Popover.Panel"),P=`headlessui-focus-sentinel-before-${(0,d.M)()}`,S=`headlessui-focus-sentinel-after-${(0,d.M)()}`,N=(0,a.useRef)(null),T=(0,c.T)(N,t,e=>{v({type:4,panel:e})}),j=(0,x.i)(N);(0,I.e)(()=>(v({type:5,panelId:r}),()=>{v({type:5,panelId:null})}),[r,v]);let k=(0,m.oJ)(),O=null!==k?(k&m.ZM.Open)===m.ZM.Open:0===g.popoverState,C=(0,w.z)(e=>{var t;if(e.key===p.R.Escape){if(0!==g.popoverState||!N.current||null!=j&&j.activeElement&&!N.current.contains(j.activeElement))return;e.preventDefault(),e.stopPropagation(),v({type:1}
1),null==(t=g.button)||t.focus()}});(0,a.useEffect)(()=>{var t;e.static||1===g.popoverState&&(null==(t=e.unmount)||t)&&v({type:4,panel:null})},[g.popoverState,e.unmount,e.static,v]),(0,a.useEffect)(()=>{if(g.__demoMode||!o||0!==g.popoverState||!N.current)return;let e=null==j?void 0:j.activeElement;N.current.contains(e)||(0,f.jA)(N.current,f.TO.First)},[g.__demoMode,o,N,g.popoverState]);let M=(0,a.useMemo)(()=>({open:0===g.popoverState,close:A}),[g,A]),z={ref:T,id:r,onKeyDown:C,onBlur:o&&0===g.popoverState?e=>{var t,n,r,o,a;let l=e.relatedTarget;l&&N.current&&(null!=(t=N.current)&&t.contains(l)||(v({type:1}),(null!=(r=null==(n=g.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,l)||null!=(a=null==(o=g.afterPanelSentinel.current)?void 0:o.contains)&&a.call(o,l))&&l.focus({preventScroll:!0})))}:void 0,tabIndex:-1},R=(0,E.l)(),F=(0,w.z)(()=>{let e=N.current;e&&(0,l.E)(R.current,{[E.N.Forwards]:()=>{var t;(0,f.jA)(e,f.TO.First)===f.fE.Error&&(null==(t=g.afterPanelSentinel.current)||t.focus())},[E.N.Backwards]:()=>{var e;null==(e=g.button)||e.focus({preventScroll:!0})}})}),_=(0,w.z)(()=>{let e=N.current;e&&(0,l.E)(R.current,{[E.N.Forwards]:()=>{var e;if(!g.button)return;let t=(0,f.GO)(),n=t.indexOf(g.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=g.panel)&&e.contains(t)){let e=o.indexOf(t);-1!==e&&o.splice(e,1)}(0,f.jA)(o,f.TO.First,{sorted:!1})},[E.N.Backwards]:()=>{var t;(0,f.jA)(e,f.TO.Previous)===f.fE.Error&&(null==(t=g.button)||t.focus())}})});return a.createElement(B.Provider,{value:r},O&&b&&a.createElement(y._,{id:P,ref:g.beforePanelSentinel,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:F}),(0,u.sY)({ourProps:z,theirProps:h,slot:M,defaultTag:"div",features:D,visible:O,name:"Popover.Panel"}),O&&b&&a.createElement(y._,{id:S,ref:g.afterPanelSentinel,features:y.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_}))}),Group:(0,u.yV)(function(e,t){let n=(0,a.useRef)(null),r=(0,c.T)(n,t),[o,l]=(0,a.useState)([]),d=(0,S.H)(),p=(0,w.z)(e=>{l(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),h=(0,w.z)(e=>(l(t=>[...t,e]),()=>p(e))),f=(0,w.z)(()=>{var e;let t=(0,A.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))})}),m=(0,w.z)(e=>{for(let t of o)t.buttonId.current!==e&&t.close()}),g=(0,a.useMemo)(()=>({registerPopover:h,unregisterPopover:p,isFocusWithinPopoverGroup:f,closeOthers:m,mainTreeNodeRef:d.mainTreeNodeRef}),[h,p,f,m,d.mainTreeNodeRef]),v=(0,a.useMemo)(()=>({}),[]);return a.createElement(M.Provider,{value:g},(0,u.sY)({ourProps:{ref:r},theirProps:e,slot:v,defaultTag:"div",name:"Popover.Group"}),a.createElement(d.MainTreeNode,null))})})},14157:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(67294),o=n(16723);function i(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,a]=(0,r.useState)(()=>i(e));return(0,o.e)(()=>{a(i(e))},[e.type,e.as]),(0,o.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")},[n,t]),n}}},function(e){e.O(0,[7222,1664,2950,7149,9774,2888,179],function(){return e(e.s=99289)}),_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.