PageSourceSearch

https://www.poloclubhotel.co.uk/integration/polo-club/public/js/chunk/cms-accordion-e2daf7baaed639ff1d0c.js

js poloclubhotel.co.uk collected 2026-10-06 18:16:17 UTC 1,936 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpolo_club=self.webpackChunkpolo_club||[]).push([[931],{36812(e,t,n){n(52675),n(89463),n(2259),n(51629),n(23418),n(64346),n(23792),n(34782),n(23288),n(62010),n(26099),n(27495),n(90906),n(38781),n(47764),n(98992),n(3949),n(23500),n(62953);var r=n(74692);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var i=function(e){var t,n=e.getAttribute("data-open");(t=e.querySelectorAll(".acc-item"),function(e){if(Array.isArray(e))return o(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).forEach(function(t,o){var i=t.nextElementSibling;if(i){r(i).slideUp(0);var a=t.cloneNode(!0);t.replaceWith(a),a.addEventListener("click",function(){var t=a.classList.contains("active");e.querySelectorAll(".acc-item").forEach(function(e){e.classList.remove("active"),e.setAttribute("aria-expanded","false"),r(e.nextElementSibling).slideUp(400)}),t||(a.classList.add("active"),a.setAttribute("aria-expanded","true"),r(i).slideDown(400,function(){var e=window.innerWidth>992?195:72;r([document.documentElement,document.body]).animate({scrollTop:r(a).offset().top-e},300)}))}),"1"===n&&0===o&&(a.classList.add("active"),a.setAttribute("aria-expanded","true"),r(i).slideDown(0))}else console.warn("Accordion item missing content sibling:",t)})};const a=function(){document.querySelectorAll(".cms-accordion").forEach(i)};n.dn(a),n.d(t,["default",0,a])}}]);

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.