PageSourceSearch

https://fidoalliance.org/wp-content/themes/frost/blocks/dist/page-…/index.js?ver=dd47704c268957757c59

js fidoalliance.org collected 2026-10-01 07:17:31 UTC 18,612 bytes, 1 lines download raw bytes

1(()=>{var e={2105:function(e,t,n){e.exports=function(e,t){"use strict";const n=(e=>e&&"object"==typeof e&&"default"in e?e:{default:e})(t);return class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(t,r){const o=e.isElement(r)?n.default.getDataAttribute(r,"config"):{};return{...this.constructor.Default,..."object"==typeof o?o:{},...e.isElement(r)?n.default.getDataAttributes(r):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const r of Object.keys(n)){const o=n[r],s=t[r],i=e.isElement(s)?"element":e.toType(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}}(n(4035),n(2333))},2333:function(e){e.exports=function(){"use strict";function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}return{setDataAttribute(e,n,r){e.setAttribute(`data-bs-${t(n)}`,r)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},r=Object.keys(t.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const o of r){let r=o.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),n[r]=e(t.dataset[o])}return n},getDataAttribute:(n,r)=>e(n.getAttribute(`data-bs-${t(r)}`))}}()},4035:function(e,t){!function(e){"use strict";const t="transitionend",n=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},r=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0},o=e=>{e.dispatchEvent(new Event(t))},s=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),i=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?i(e.parentNode):null},l=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,c=[],a=e=>{"loading"===document.readyState?(c.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of c)e()})),c.push(e)):e()},u=e=>{"function"==typeof e&&e()};e.defineJQueryPlugin=e=>{a((()=>{const t=l();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}}))},e.execute=u,e.executeAfterTransition=(e,n,s=!0)=>
1{if(!s)return void u(e);const i=r(n)+5;let l=!1;const c=({target:r})=>{r===n&&(l=!0,n.removeEventListener(t,c),u(e))};n.addEventListener(t,c),setTimeout((()=>{l||o(n)}),i)},e.findShadowRoot=i,e.getElement=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,e.getElementFromSelector=e=>{const t=n(e);return t?document.querySelector(t):null},e.getNextActiveElement=(e,t,n,r)=>{const o=e.length;let s=e.indexOf(t);return-1===s?!n&&r?e[o-1]:e[0]:(s+=n?1:-1,r&&(s=(s+o)%o),e[Math.max(0,Math.min(s,o-1))])},e.getSelectorFromElement=e=>{const t=n(e);return t&&document.querySelector(t)?t:null},e.getTransitionDurationFromElement=r,e.getUID=e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},e.getjQuery=l,e.isDisabled=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),e.isElement=s,e.isRTL=()=>"rtl"===document.documentElement.dir,e.isVisible=e=>{if(!s(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},e.noop=()=>{},e.onDOMContentLoaded=a,e.reflow=e=>{e.offsetHeight},e.toType=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),e.triggerTransitionEnd=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(t)},5411:function(e,t,n){e.exports=function(e){"use strict";return{find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(n,t).filter((t=>!e.isDisabled(t)&&e.isVisible(t)))}}}(n(4035))},7269:function(e){e.exports=function(){"use strict";const e=new Map;return{set(t,n,r){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const r=e.get(t);r.delete(n),0===r.size&&e.delete(t)}}}()},7956:function(e,t,n){e.exports=function(e){"use strict";const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,r=/::\d+$/,o={};let s=1;
vendor: 4,061 bytes, line 1
1const i={mouseenter:"mouseover",mouseleave:"mouseout"},l=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function c(e,t){return t&&`${t}::${s++}`||e.uidEvent||s++}function a(e){const t=c(e);return e.uidEvent=t,o[t]=o[t]||{},o[t]}function u(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function d(e,t,n){const r="string"==typeof t,o=r?n:t||n;let s=m(e);return l.has(s)||(s=e),[r,o,s]}function f(e,n,r,o,s){if("string"!=typeof n||!e)return;let[l,f,g]=d(n,r,o);if(n in i){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};f=e(f)}const h=a(e),m=h[g]||(h[g]={}),b=u(m,f,l?r:null);if(b)return void(b.oneOff=b.oneOff&&s);const _=c(f,n.replace(t,"")),E=l?function(e,t,n){return function r(o){const s=e.querySelectorAll(t);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return y(o,{delegateTarget:i}),r.oneOff&&p.off(e,o.type,t,n),n.apply(i,[o])}}(e,r,f):function(e,t){return function n(r){return y(r,{delegateTarget:e}),n.oneOff&&p.off(e,r.type,t),t.apply(e,[r])}}(e,f);E.delegationSelector=l?r:null,E.callable=f,E.oneOff=s,E.uidEvent=_,m[_]=E,e.addEventListener(g,E,l)}function g(e,t,n,r,o){const s=u(t[n],r,o);s&&(e.removeEventListener(n,s,Boolean(o)),delete t[n][s.uidEvent])}function h(e,t,n,r){const o=t[n]||{};for(const s of Object.keys(o))if(s.includes(r)){const r=o[s];g(e,t,n,r.callable,r.delegationSelector)}}function m(e){return e=e.replace(n,""),i[e]||e}const p={on(e,t,n,r){f(e,t,n,r,!1)},one(e,t,n,r){f(e,t,n,r,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[s,i,l]=d(t,n,o),c=l!==t,u=a(e),f=u[l]||{},m=t.startsWith(".");if(void 0===i){if(m)for(const n of Object.keys(u))h(e,u,n,t.slice(1));for(const n of Object.keys(f)){const o=n.replace(r,"");if(!c||t.includes(o)){const t=f[n];g(e,u,l,t.callable,t.delegationSelector)}}}else{if(!Object.keys(f).length)return;g(e,u,l,i,s?n:null)}},trigger(t,n,r){if("string"!=typeof n||!t)return null;const o=e.getjQuery();let s=null,i=!0,l=!0,c=!1;n!==m(n)&&o&&(s=o.Event(n,r),o(t).trigger(s),i=!s.isPropagationStopped(),l=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());let a=new Event(n,{bubbles:i,cancelable:!0});return a=y(a,r),c&&a.preventDefault(),l&&t.dispatchEvent(a),a.defaultPrevented&&s&&s.preventDefault(),a}};function y(e,t){for(const[n,r]of Object.entries(t||{}))try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}return p}(n(4035))},8647:function(e,t,n){e.exports=function(e,t,n,r){"use strict";const o=e=>e&&"object"==typeof e&&"default"in e?e:{default:e},s=o(t),i=o(n),l=o(r),c=".bs.collapse",a=`show${c}`,u=`shown${c}`,d=`hide${c}`,f=`hidden${c}`,g=`click${c}.data-api`,h="show",m="collapse",p="collapsing",y=`:scope .${m} .${m}`,b='[data-bs-toggle="collapse"]',_={parent:null,toggle:!0},E={parent:"(null|element)",toggle:"boolean"};class A extends l.default{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=i.default.find(b);for(const t of r){const n=e.getSelectorFromElement(t),r=i.default.find(n).filter((e=>e===this._element));null!==n&&r.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return _}static get DefaultType(){return E}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
1if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>A.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(s.default.trigger(this._element,a).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(m),this._element.classList.add(p),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(p),this._element.classList.add(m,h),this._element.style[t]="",s.default.trigger(this._element,u)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(s.default.trigger(this._element,d).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,e.reflow(this._element),this._element.classList.add(p),this._element.classList.remove(m,h);for(const t of this._triggerArray){const n=e.getElementFromSelector(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(p),this._element.classList.add(m),s.default.trigger(this._element,f)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(h)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=e.getElement(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(b);for(const n of t){const t=e.getElementFromSelector(n);t&&this._addAriaAndCollapsedClass([n],this._isShown(t))}}_getFirstLevelChildren(e){const t=i.default.find(y,this._config.parent);return i.default.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=A.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}return s.default.on(document,g,b,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const n=e.getSelectorFromElement(this),r=i.default.find(n);for(const e of r)A.getOrCreateInstance(e,{toggle:!1}).toggle()})),e.defineJQueryPlugin(A),A}(n(4035),n(7956),n(5411),n(9011))},9011:function(e,t,n){e.exports=function(e,t,n,r){"use strict";const o=e=>e&&"object"==typeof e&&"default"in e?e:{default:e},s=o(e),i=o(n),l=o(r);class c extends l.default{constructor(e,n){super(),(e=t.getElement(e))&&(this._element=e,this._config=this._getConfig(n),s.default.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.default.remove(this._element,this.constructor.DATA_KEY),i.default.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){t.executeAfterTransition(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return s.default.get(t.getElement(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}return c}(n(7269),n(4035),n(7956),n(2105))}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,n),s.exports}(()=>{"use strict";n(8647),document.addEventListener("DOMContentLoaded",(function(){function e(e){let t=e.closest(".collapse");for(;t;){t.classList.add("show");const e=t.previousElementSibling;e&&e.classList.contains("accordion-button")&&(e.classList.remove("collapsed"),e.setAttribute("aria-expanded","true")),t=t.parentElement.closest(".collapse")}}function t(e){const t=e.closest(".accordion-item");if(t){const e=t.querySelector(".accordion-button"),n=t.querySelector(".accordion-collapse");e&&n&&(e.classList.remove("collapsed"),e.setAttribute("aria-expanded","true"),n.classList.add("show"))}}function n(e){const t=e.querySelector(".collapse");t&&t.classList.add("show");const n=e.querySelector(".collapse-toggle");n&&n.setAttribute("aria-expanded","true")}document.querySelectorAll(".collapse-toggle").forEach((e=>{e.addEventListener("click",(function(){const e=this.closest(".menu-item-has-children");if(e){e.classList.toggle("is-open");const t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)}}))}));const r="fidoSidebarActiveMenuItem",o=["current-menu-item","current-menu-ancestor","current-menu-parent","current-page-ancestor","current-page-parent","current_page_item","current_page_parent","current_page_ancestor"],s=o.map((e=>"li."+e)).join(", ");function i(e){const t=e.className.match(/(?:^|\s)menu-item-(\d+)(?:\s|$)/);return t?t[1]:null}document.querySelectorAll(".page-sidebar .menu a").forEach((e=>{e.addEventListener("click",(function(){const e=this.closest("li"),t=e&&i(e);if(t)try{sessionStorage.setItem(r,t)}catch(e){}}))}
1));let l=null;try{l=sessionStorage.getItem(r)}catch(e){}document.querySelectorAll(".page-sidebar .menu").forEach((e=>{const t=Array.from(e.querySelectorAll(s));if(0===t.length)return;let n=t.filter((e=>e.classList.contains("current-menu-item")));0===n.length&&(n=t.filter((t=>{const n=function(t){const n=i(t);return n?e.querySelector("#submenu-"+n):null}(t);return!(t.querySelector(s)||n&&n.querySelector(s))})));let r=null;if(l&&(r=n.find((e=>e.classList.contains("menu-item-"+l)))),!r&&document.referrer)try{const t=new URL(document.referrer);if(t.origin===location.origin){const o=t.pathname.replace(/\/$/,""),s=t=>{const n=[];let r=t.closest(".collapse");for(;r&&e.contains(r);){const e=r.id&&r.id.match(/^submenu-(\d+)$/);e&&n.unshift(e[1]),r=r.parentElement?r.parentElement.closest(".collapse"):null}return n},l=Array.from(e.querySelectorAll("a[href]")).filter((e=>{try{return new URL(e.href).pathname.replace(/\/$/,"")===o}catch(e){return!1}})).map((e=>e.closest("li"))).filter(Boolean);let c=null,a=0;n.forEach((e=>{const t=s(e);l.forEach((n=>{const r=i(n),o=s(n).concat(r?[r]:[]);let l=0;for(;l<t.length&&l<o.length&&t[l]===o[l];)l++;l>a&&(a=l,c=e)}))})),c&&(r=c)}}catch(e){}if(r=r||n[0],!r)return;const c=new Set([r]);let a=r.closest(".collapse");for(;a&&e.contains(a);){const t=a.id&&a.id.match(/^submenu-(\d+)$/);let n=t?e.querySelector("li.menu-item-"+t[1]):null;!n&&a.previousElementSibling&&"LI"===a.previousElementSibling.tagName&&(n=a.previousElementSibling),n&&c.add(n),a=a.parentElement?a.parentElement.closest(".collapse"):null}t.forEach((e=>{c.has(e)||e.classList.remove(...o)}))})),document.querySelectorAll(".current-menu-item, .current-menu-ancestor, .current-page-ancestor").forEach((function(r){if(e(r),t(r),n(r),r.querySelectorAll("span").forEach((e=>{e.classList.remove("collapsed")})),r.classList.contains("menu-item-has-children")){const e=r.querySelector(".sub-menu");e&&e.classList.add("show");const t=r.querySelector(".collapse-toggle")?.getAttribute("data-bs-target");if(t){const e=document.querySelector(t);e&&(e.classList.add("show"),e.classList.add("is-open"))}}})),document.querySelectorAll(".current-menu-parent, .current-menu-ancestor, .current-page-parent, .current-page-ancestor").forEach((function(r){e(r),t(r),n(r)}));const c=window.innerWidth<992;if(c){const e=document.querySelector("#mobile-sidebar-collapse");e&&e.querySelectorAll("ul").forEach((e=>{e.classList.remove("show")}))}c||document.querySelectorAll(".page-sidebar").forEach((e=>{if(e.scrollHeight<=e.clientHeight)return;const t=e.querySelectorAll(s),n=e.querySelector("li.current-menu-item")||t[t.length-1];if(!n)return;const r=e.getBoundingClientRect(),o=n.getBoundingClientRect();o.top>=r.top&&o.bottom<=r.bottom||(e.scrollTop+=o.top-r.top-e.clientHeight/3)}))}))})()})();

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.