PageSourceSearch

https://www.southhaven.org/dist/scripts/Toggles.997825174b197b038b64.min.js

js southhaven.org collected 2026-10-02 06:03:12 UTC 2,856 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8076],{7752:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var a=s(4575),o=s.n(a),i=s(3913),l=s.n(i),r=s(9713),g=s.n(r),n=s(7041),d=function(){function t(e){var s=this,a=e.toggleAttribute,i=void 0===a?"data-toggle":a,l=e.targetAttribute,r=void 0===l?"data-toggle-target":l,d=e.targetOutsideCloseAttribute,c=void 0===d?"data-toggle-target-close-outside":d,u=e.targetInsideCloseAttribute,C=void 0===u?"data-toggle-target-close-inside-action":u,h=e.toggleIsOpenClass,v=void 0===h?"toggle--is-open":h,A=e.toggleIsClosedClass,b=void 0===A?"toggle--is-closed":A,I=e.targetIsOpenClass,p=void 0===I?"toggle-target--is-open":I,f=e.targetIsClosedClass,O=void 0===f?"toggle-target--is-closed":f;o()(this,t),g()(this,"listenerBoss",void 0),g()(this,"toggleAttribute",void 0),g()(this,"targetAttribute",void 0),g()(this,"targetOutsideCloseAttribute",void 0),g()(this,"targetInsideCloseAttribute",void 0),g()(this,"toggleIsOpenClass",void 0),g()(this,"toggleIsClosedClass",void 0),g()(this,"targetIsOpenClass",void 0),g()(this,"targetIsClosedClass",void 0),this.listenerBoss=new n.Z,this.toggleAttribute=i,this.targetAttribute=r,this.targetOutsideCloseAttribute=c,this.targetInsideCloseAttribute=C,this.toggleIsOpenClass=v,this.toggleIsClosedClass=b,this.targetIsOpenClass=p,this.targetIsClosedClass=O,this.listenerBoss.register(document,"click",(function(t){if(t.target.matches("[".concat(s.toggleAttribute,"]"))){var e=t.target,a=e.getAttribute(s.toggleAttribute),o=e.classList.contains(s.toggleIsOpenClass);a&&s.setState(a,!o)}else{var i=document.querySelectorAll(".".concat(s.targetIsOpenClass,"[").concat(s.targetOutsideCloseAttribute,"]"));i.length&&i.forEach((function(e){var a=e.getAttribute(s.targetAttribute);a&&!t.composedPath().includes(e)&&s.setState(a,!1)}));var l=document.querySelectorAll(".".concat(s.targetIsOpenClass,"[").concat(s.targetInsideCloseAttribute,"]"));l.length&&l.forEach((function(e){var a,o=e.getAttribute(s.targetAttribute);o&&null!=t&&t.composedPath().includes(e)&&"a"===(null==t||null===(a=t.target)||void 0===a?void 0:a.tagName.toLowerCase())&&s.setState(o,!1)}))}}))}return l()(t,[{key:"setState",value:function(t,e){var s=this;document.querySelectorAll("[".concat(this.toggleAttribute,'="').concat(t,'"]')).forEach((function(t){e?(t.classList.add(s.toggleIsOpenClass),t.classList.remove(s.toggleIsClosedClass),t.setAttribute("aria-expanded","true")):(t.classList.remove(s.toggleIsOpenClass),t.classList.add(s.toggleIsClosedClass),t.setAttribute("aria-expanded","false"))})),document.querySelectorAll("[".concat(this.targetAttribute,'="').concat(t,'"]')).forEach((function(t){e?(t.classList.add(s.targetIsOpenClass),t.classList.remove(s.targetIsClosedClass)):(t.classList.remove(s.targetIsOpenClass),t.classList.add(s.targetIsClosedClass))}))}}]),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.