PageSourceSearch

https://www.learningpeople.com/sitefiles/next-gen/dist/9897-bbf90ca85bc995c716f6.js

js learningpeople.com collected 2026-09-29 06:24:27 UTC 16,956 bytes, 2 lines download raw bytes

1"use strict";(this.webpackChunklearning_people=this.webpackChunklearning_people||[]).push([[9897],{4275:(e,t,n)=>{n.d(t,{tE:()=>ee,MT:()=>D,bO:()=>H});var r=n(7294);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const i=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r},u="undefined"!=typeof window?r.useLayoutEffect:()=>{};let c=new Map;function s(e,t){if(e===t)return e;let n=c.get(e);if(n)return n(t),t;let r=c.get(t);return r?(r(e),e):t}function l(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}function a(e){if(function(){if(null==d){d=!1;try{document.createElement("div").focus({get preventScroll(){return d=!0,!0}})}catch(e){}}return d}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}new Set(["id"]),new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]);let d=null,f=new Map,p=new Set;function v(){if("undefined"==typeof window)return;let e=t=>{let n=f.get(t.target);if(n&&(n.delete(t.propertyName),0===n.size&&(t.target.removeEventListener("transitioncancel",e),f.delete(t.target)),0===f.size)){for(let e of p)e();p.clear()}};document.body.addEventListener("transitionrun",(t=>{let n=f.get(t.target);n||(n=new Set,f.set(t.target,n),t.target.addEventListener("transitioncancel",e)),n.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}function m(){return e=/^Mac/i,"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform);var e,t}function b(e){return!(0!==e.mozInputSource||!e.isTrusted)||(t=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.brands.some((e=>t.test(e.brand))))||t.test(window.navigator.userAgent))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType);var t,n}"undefined"!=typeof document&&("loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v)),"undefined"!=typeof window&&window.visualViewport,new Map,new WeakMap;r.createContext(null).displayName="PressResponderContext",new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);class h{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function E(e){let t=(0,r.useRef)({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,u((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]),(0,r.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,r=e=>{var r,o;t.current.isFocused=!1,n.disabled&&(null===(o=(r=t.current).onBlur)||void 0===o||o.call(r,new h("blur",e))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",r,{once:!0}),t.current.observer=new MutationObserver((()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))})),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}}),[])}let g=null,y=new Set,T=!1,N=!1,w=!1;const L={Tab:!0,Escape:!0};function R(e,t){for(let n of y)n(e,t)}function F(e){N=!0,function(e){return!(e.metaKey||!m()&&e.altKey||e.ctrlKey||"Control"
1===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(g="keyboard",R("keyboard",e))}function C(e){g="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(N=!0,R("pointer",e))}function S(e){b(e)&&(N=!0,g="virtual")}function M(e){e.target!==window&&e.target!==document&&(N||w||(g="virtual",R("virtual",e)),N=!1,w=!1)}function k(){N=!1,w=!0}function x(){if("undefined"==typeof window||T)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){N=!0,e.apply(this,arguments)},document.addEventListener("keydown",F,!0),document.addEventListener("keyup",F,!0),document.addEventListener("click",S,!0),window.addEventListener("focus",M,!0),window.addEventListener("blur",k,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",C,!0),document.addEventListener("pointermove",C,!0),document.addEventListener("pointerup",C,!0)):(document.addEventListener("mousedown",C,!0),document.addEventListener("mousemove",C,!0),document.addEventListener("mouseup",C,!0)),T=!0}function P(){return"pointer"!==g}function A(e,t){return"#comment"!==e.nodeName&&function(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let{display:t,visibility:n}=e.style,r="none"!==t&&"hidden"!==n&&"collapse"!==n;if(r){const{getComputedStyle:t}=e.ownerDocument.defaultView;let{display:n,visibility:o}=t(e);r="none"!==n&&"hidden"!==o&&"collapse"!==o}return r}(e)&&function(e,t){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))}(e,t)&&(!e.parentElement||A(e.parentElement,e))}"undefined"!=typeof document&&("loading"!==document.readyState?x():document.addEventListener("DOMContentLoaded",x));const W=r.createContext(null);let K=null;function D(e){let{children:t,contain:n,restoreFocus:o,autoFocus:i}=e,c=(0,r.useRef)(),s=(0,r.useRef)(),l=(0,r.useRef)([]),a=(0,r.useContext)(W);var d;let f=null!==(d=null==a?void 0:a.scopeRef)&&void 0!==d?d:null,p=(0,r.useMemo)((()=>K&&Z.getTreeNode(K)&&!U(K,f)?K:f),[f]);u((()=>{let e=c.current.nextSibling,t=[];for(;e&&e!==s.current;)t.push(e),e=e.nextSibling;l.current=t}),[t,p]),Z.getTreeNode(p)&&!Z.getTreeNode(l)&&Z.addTreeNode(l,p),Z.getTreeNode(l).contain=n,function(e,t,n){u((()=>{if(t||n)return;let r=e.current,o=t=>{let n=t.target;j(n,e.current)?K=e:O(n)||(K=null)};return document.addEventListener("focusin",o,!1),r.forEach((e=>e.addEventListener("focusin",o,!1))),()=>{document.removeEventListener("focusin",o,!1),r.forEach((e=>e.removeEventListener("focusin",o,!1)))}}),[e,t,n])}(l,o,n),function(e,t){let n=(0,r.useRef)(),o=(0,r.useRef)(null);u((()=>{let r=e.current;if(!t)return void(o.current&&(cancelAnimationFrame(o.current),o.current=null));let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!z(e))return;let n=document.activeElement,r=e.current;if(!j(n,r))return;let o=Y(_(r),{tabbable:!0},r);o.currentNode=n;let i=t.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=t.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=t.shiftKey?o.previousNode():o.nextNode()),t.preventDefault(),i&&G(i,!0)},u=t=>{K&&!U(K,e)||!j(t.target,e.current)?z(e)&&!q(t.target,e)?n.current?n.current.focus():K&&J(K.current):z(e)&&(n.current=t.target):(K=e,n.current=t.target)},c=t=>{o.current=requestAnimationFrame((()=>{z(e)&&!q(document.activeElement,e)&&(K=e,document.body.contains(t.target)?(n.current=t.target,n.current.focus()):K&&J(K.current))}))};return document.addEventListener("keydown",i,!1),document.addEventListener("focusin",u,!1),r.forEach((e=>e.addEventListener("focusin",u,!1))),r.forEach((e=>e.addEventListener("focusout",c,!1))),()=>{document.removeEventListener("keydown",i,!1),document.removeEventListener("focusin",u,!1),r.forEach((e=>e.removeEventListener("focusin",u,!1))),r.forEach((e=>e.removeEventListener("focusout",c,!1)))}}),[e,t]),(0,r.useEffect)((()=>()=>{o.current&&cancelAnimationFrame(o.current)}),[o])}(l,n),function(e,t,n){const o=(0,r.useRef)("undefined"!=typeof document?document.activeElement:null);u((()=>{let r=e.current;if(!t||n)return;let o=()=>{K&&!U(K,e)||(K=e)};return document.addEventListener("focusin",o,!1),r.forEach((e=>e.addEventListener("focusin",o,!1))),()=>{document.removeEventListener("focusin",o,!1),r.forEach((e=>e.removeEventListener("focusin",o,!1)))}}),[e,n]),u((()=>
1{if(!t)return;Z.getTreeNode(e).nodeToRestore=o.current;let r=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey)return;let n=document.activeElement;if(!j(n,e.current))return;let r=Z.getTreeNode(e).nodeToRestore,o=Y(document.body,{tabbable:!0});o.currentNode=n;let i=t.shiftKey?o.previousNode():o.nextNode();if(document.body.contains(r)&&r!==document.body||(r=null,Z.getTreeNode(e).nodeToRestore=null),(!i||!j(i,e.current))&&r){o.currentNode=r;do{i=t.shiftKey?o.previousNode():o.nextNode()}while(j(i,e.current));t.preventDefault(),t.stopPropagation(),i?G(i,!0):O(r)?G(r,!0):n.blur()}};return n||document.addEventListener("keydown",r,!0),()=>{n||document.removeEventListener("keydown",r,!0);let o=Z.getTreeNode(e).nodeToRestore;if(t&&o&&(j(document.activeElement,e.current)||document.activeElement===document.body&&function(e){let t=Z.getTreeNode(K);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=Z.clone();requestAnimationFrame((()=>{if(document.activeElement===document.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&document.body.contains(n.nodeToRestore))return void G(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&Z.getTreeNode(n.scopeRef))return void J(n.scopeRef.current,!0);n=n.parent}}}))}}}),[e,t,n])}(l,o,n),function(e,t){const n=r.useRef(t);(0,r.useEffect)((()=>{n.current&&(K=e,j(document.activeElement,K.current)||J(e.current)),n.current=!1}),[e])}(l,i),u((()=>{if(l)return()=>{let e=Z.getTreeNode(l).parent.scopeRef;l!==K&&!U(l,K)||e&&!Z.getTreeNode(e)||(K=e),Z.removeTreeNode(l)}}),[l,p]);let v=function(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:u}=t,c=r||document.activeElement,s=n[0].previousElementSibling,l=Y(_(n),{tabbable:o,accept:u},n);l.currentNode=j(c,n)?c:s;let a=l.nextNode();return!a&&i&&(l.currentNode=s,a=l.nextNode()),a&&G(a,!0),a},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:u}=t,c=r||document.activeElement,s=n[n.length-1].nextElementSibling,l=Y(_(n),{tabbable:o,accept:u},n);l.currentNode=j(c,n)?c:s;let a=l.previousNode();return!a&&i&&(l.currentNode=s,a=l.previousNode()),a&&G(a,!0),a},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=Y(_(n),{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let u=i.nextNode();return u&&G(u,!0),u},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=Y(_(n),{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let u=i.previousNode();return u&&G(u,!0),u}}}(l);return r.createElement(W.Provider,{value:{scopeRef:l,focusManager:v}},r.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),t,r.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:s}))}function H(){var e;return null===(e=(0,r.useContext)(W))||void 0===e?void 0:e.focusManager}const I=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],B=I.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";I.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const V=I.join(':not([hidden]):not([tabindex="-1"]),');function _(e){return e[0].parentElement}function z(e){let t=Z.getTreeNode(K);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function O(e){return q(e)}function j(e,t){return t.some((t=>t.contains(e)))}function q(e,t=null){for(let{scopeRef:n}of Z.traverse(Z.getTreeNode(t)))if(j(e,n.current))return!0;return!1}function U(e,t){var n;let r=null===(n=Z.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function G(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{!function(e){if("virtual"===g){let n=document.activeElement;t=()=>{document.activeElement===n&&document.contains(e)&&a(e)},requestAnimationFrame((()=>{0===f.size?t():p.add(t)}))}else a(e);var t}(e)}catch(e){}}function J(e,t=!0){let n=e[0].previousElementSibling,r=Y(_(e),{tabbable:t},e);r.currentNode=n;let o=r.nextNode();t&&!o&&(r=Y(_(e),{tabbable:!1},e),r.currentNode=n,o=r.nextNode()),G(o)}function Y(e,t,n){let r=(null==t?void 0:t.tabbable)?V:B,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t||null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:!e.matches(r)||!A(e)||n&&!j(e,n)||(null==t?void 0:t.accept)&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class Q{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null),o=new X({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e),n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef.current&&j(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n.removeChild(t),r.length>0&&r.forEach((e=>n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.length>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new Q;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent.scopeRef,t.n
1odeToRestore);return e}constructor(){this.fastMap=new Map,this.root=new X({scopeRef:null}),this.fastMap.set(null,this.root)}}class X{addChild(e){this.children.push(e),e.parent=this}removeChild(e){this.children.splice(this.children.indexOf(e),1),e.parent=void 0}constructor(e){this.children=[],this.contain=!1,this.scopeRef=e.scopeRef}}let Z=new Q;function $(e={}){let{autoFocus:t=!1,isTextInput:n,within:o}=e,i=(0,r.useRef)({isFocused:!1,isFocusVisible:t||P()}),[u,c]=(0,r.useState)(!1),[s,l]=(0,r.useState)((()=>i.current.isFocused&&i.current.isFocusVisible)),a=(0,r.useCallback)((()=>l(i.current.isFocused&&i.current.isFocusVisible)),[]),d=(0,r.useCallback)((e=>{i.current.isFocused=e,c(e),a()}),[a]);var f,p,v;f=e=>{i.current.isFocusVisible=e,a()},p=[],v={isTextInput:n},x(),(0,r.useEffect)((()=>{let e=(e,t)=>{(function(e,t,n){return!(e&&"keyboard"===t&&n instanceof KeyboardEvent&&!L[n.key])})(null==v?void 0:v.isTextInput,e,t)&&f(P())};return y.add(e),()=>{y.delete(e)}}),p);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:i}=e;const u=(0,r.useCallback)((e=>{if(e.target===e.currentTarget)return o&&o(e),i&&i(!1),!0}),[o,i]),c=E(u),s=(0,r.useCallback)((e=>{e.target===e.currentTarget&&(n&&n(e),i&&i(!0),c(e))}),[i,n,c]);return{focusProps:{onFocus:!t&&(n||i||o)?s:void 0,onBlur:t||!o&&!i?null:u}}}({isDisabled:o,onFocusChange:d}),{focusWithinProps:b}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:o,onFocusWithinChange:i}=e,u=(0,r.useRef)({isFocusWithin:!1}),c=(0,r.useCallback)((e=>{u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,n&&n(e),i&&i(!1))}),[n,i,u]),s=E(c),l=(0,r.useCallback)((e=>{u.current.isFocusWithin||(o&&o(e),i&&i(!0),u.current.isFocusWithin=!0,s(e))}),[o,i,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:l,onBlur:c}}}({isDisabled:!o,onFocusWithinChange:d});return{isFocused:u,isFocusVisible:i.current.isFocused&&s,focusProps:o?b:m}}function ee(e){let{children:t,focusClass:n,focusRingClass:o}=e,{isFocused:u,isFocusVisible:c,focusProps:a}=$(e),d=r.Children.only(t);return r.cloneElement(d,function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=l(n,o):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof n||"string"!=typeof o?"id"===e&&n&&o?t.id=s(n,o):t[e]=void 0!==o?o:n:t[e]=i(n,o)}}return t}(d.props,{...a,className:i({[n||""]:u,[o||""]:c})}))}}}]);
2//# sourceMappingURL=9897-bbf90ca85bc995c716f6.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.