PageSourceSearch

https://www.aafp.org/_next/static/chunks/5349.068bb486927f6c7a.js

js aafp.org collected 2026-09-24 07:31:08 UTC 5,638 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5349],{85349:(t,e,n)=>{n.r(e),n.d(e,{focusable:()=>T,getTabIndex:()=>p,isFocusable:()=>O,isTabbable:()=>x,tabbable:()=>k});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=r.join(","),i="u"<typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(t){var e;return null==t||null==(e=t.getRootNode)?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},u=function(t,e){void 0===e&&(e=!0);var n,r=null==t||null==(n=t.getAttribute)?void 0:n.call(t,"inert");return""===r||"true"===r||e&&t&&u(t.parentNode)},c=function(t){var e,n=null==t||null==(e=t.getAttribute)?void 0:e.call(t,"contenteditable");return""===n||"true"===n},d=function(t,e,n){if(u(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(o));return e&&a.call(t,o)&&r.unshift(t),r=r.filter(n)},s=function(t,e,n){for(var r=[],i=Array.from(t);i.length;){var l=i.shift();if(!u(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),d=s(c.length?c:l.children,!0,n);
vendor: 4,197 bytes, line 1
1n.flatten?r.push.apply(r,d):r.push({scopeParent:l,candidates:d})}else{a.call(l,o)&&n.filter(l)&&(e||!t.includes(l))&&r.push(l);var f=l.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(l),p=!u(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(l));if(f&&p){var h=s(!0===f?l.children:f.children,!0,n);n.flatten?r.push.apply(r,h):r.push({scopeParent:l,candidates:h})}else i.unshift.apply(i,l.children)}}return r},f=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},p=function(t){if(!t)throw Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||c(t))&&!f(t)?0:t.tabIndex},h=function(t,e){var n=p(t);return n<0&&e&&!f(t)?0:n},m=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},y=function(t){return"INPUT"===t.tagName},b=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]},v=function(t){if(!t.name)return!0;var e,n=t.form||l(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=b(e,t.form);return!o||o===t},g=function(t){return y(t)&&"radio"===t.type&&!v(t)},S=function(t){var e,n,r,o,i,a,u,c=t&&l(t),d=null==(e=c)?void 0:e.host,s=!1;if(c&&c!==t)for(s=!!(null!=(n=d)&&null!=(r=n.ownerDocument)&&r.contains(d)||null!=t&&null!=(o=t.ownerDocument)&&o.contains(t));!s&&d;)s=!!(null!=(a=d=null==(i=c=l(d))?void 0:i.host)&&null!=(u=a.ownerDocument)&&u.contains(d));return s},w=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},E=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var o=a.call(t,"details>summary:first-of-type")?t.parentElement:t;if(a.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return w(t)}else{if("function"==typeof r){for(var i=t;t;){var u=t.parentElement,c=l(t);if(u&&!u.shadowRoot&&!0===r(u))return w(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=i}if(S(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},N=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!a.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1},R=function(t,e){return!(e.disabled||u(e)||y(e)&&"hidden"===e.type||E(e,t)||"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(t){return"SUMMARY"===t.tagName})||N(e))},C=function(t,e){return!(g(e)||0>p(e))&&!!R(t,e)},I=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||!!(e>=0)},A=function(t){var e=[],n=[];return t.forEach(function(t,r){var o=!!t.scopeParent,i=o?t.scopeParent:t,a=h(i,o),l=o?A(t.candidates):i;0===a?o?e.push.apply(e,l):e.push(i):n.push({documentOrder:r,tabIndex:a,item:t,isScope:o,content:l})}),n.sort(m).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(e)},k=function(t,e){return A((e=e||{}).getShadowRoot?s([t],e.includeContainer,{filter:C.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:I}):d(t,e.includeContainer,C.bind(null,e)))},T=function(t,e){return(e=e||{}).getShadowRoot?s([t],e.includeContainer,{filter:R.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):d(t,e.includeContainer,R.bind(null,e))},x=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==a.call(t,o)&&C(e,t)},D=r.concat("iframe").join(","),O=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==a.call(t,D)&&R(e,t)}}}]);

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.