1"use strict";(self.webpackChunkkenticocom=self.webpackChunkkenticocom||[]).push([[8786],{18786(t,e,n){n.r(e),n.d(e,{initialiseSection:()=>i}),n(58940),n(21699),n(11392),n(62953);var o=n(30069),r=n(16014);const s="is-active";function i(t){let e=!1,n=!0,o=!1;const i=t.classList.contains("js-tabbed-content-rotator"),l=t.getAttribute("data-widget-id")||"",u=t.querySelector(".js-tabbed-nav");if(!u)return;const d=t.querySelector(".js-tabbed-track"),h=t.querySelectorAll(".js-accordion-item"),g=u.querySelector(".tabbed-section__nav-list"),f=(0,r.U)({arrowKeys:!1,autoplay:!1,center:!0,items:1,container:d,controls:!1,gutter:160,loop:!1,mouseDrag:!1,nav:!1,touch:!1,autoHeight:!0});f.events.on("indexChanged",function(t){if(n)return;w(),E.forEach(t=>t.classList.remove(s));const e=E[t.index];e&&e.classList.add(s),h.forEach(t=>t.classList.remove(s)),h.forEach(t=>{const e=t.querySelector(".js-accordion-content");e&&a(e)})});let y=null;const m=t.querySelector(".js-tabbed-autoplay"),v=t.querySelector(".tabbed-section__autoplay-btn-wrapper"),p=t.querySelector(".progress-ring__circle");let b=0;if(p){const t=p.r.baseVal.value;b=2*Math.PI*t,p.style.strokeDasharray=`${b}`,p.style.strokeDashoffset=`${b}`,p.style.setProperty("--length",`${b}`)}function w(){p&&(p.style.animation="none",p.getBoundingClientRect(),p.style.animation="progress-ring 7000ms linear infinite",p.style.animationPlayState="running")}function S(){p&&(p.style.animation="none",p.style.strokeDashoffset=`${b}`)}function x(){null===y&&(w(),y=window.setInterval(()=>{e=!0;const t=f.getInfo();f.goTo(t.index+1>t.slideCount-1?0:t.index+1),setTimeout(()=>e=!1,0)},7e3),null==m||m.classList.add("is-playing"),null==m||m.classList.remove("is-paused"))}function L(){null!==y&&(clearInterval(y),y=null),p&&(p.style.animationPlayState="paused"),null==m||m.classList.add("is-paused"),null==m||m.classList.remove("is-playing")}m&&m.addEventListener("click",()=>{null!==y?L():x()}),i&&c()?(x(),null==v||v.classList.remove("is-hidden")):(L(),null==v||v.classList.add("is-hidden"));const E=u.querySelectorAll("button");function q(t,e,n){const{navItems:o,allowScroll:r}=n,s=window.location.hash;if(!s||!s.startsWith("#"))return;const i=s.substring(1);if(!i.includes("="))return;const[a,c]=i.split("=");if(a!==e)return;const l=document.querySelector(`.js-tabbed-section[data-widget-id="${e}"] button[data-handle="${c}"]`);if(!l)return;const u=parseInt(l.dataset.target||"0",10);if(t.goTo(u),r&&o){const t=function(){const t=document.querySelector(".js-header");let e=150;t&&(e=t.getBoundingClientRect().height);const n=document.querySelector(".js-subnav");return n&&(e+=n.getBoundingClientRect().height),e}(),e=function(t){const e=t.getBoundingClientRect(),n=window.scrollY||document.documentElement.scrollTop;return e.top+n}(o)-t-32;window.scrollTo({top:e,behavior:"smooth"})}}E.length&&(E.forEach(t=>{t.addEventListener("click",t=>{e=!0,L(),S(),function(t){t.preventDefault();const e=t.currentTarget,n=parseInt(e.dataset.target||"0",10);f.goTo(n),S(),h.forEach(t=>t.classList.remove(s))}(t),setTimeout(()=>e=!1,0)})}),1===E.length&&E.forEach(t=>t.classList.add("single-btn"))),f.events.on("transitionEnd",()=>{o||(o=!0,n=!1,requestAnimationFrame(()=>{q(f,l,{navItems:g,allowScroll:!0})}
1))}),h.forEach(t=>{const e=t.querySelector(".js-accordion-content");e&&a(e)}),window.addEventListener("hashchange",()=>{e||window.location.hash.startsWith(`#${l}=`)&&q(f,l,{navItems:g,allowScroll:!0})}),window.addEventListener("resize",()=>{i&&c()?(x(),null==v||v.classList.remove("is-hidden")):(L(),null==v||v.classList.add("is-hidden"))})}function a(t){const e=t.style.maxHeight;t.style.maxHeight="none";const n=t.getBoundingClientRect().height;return t.style.setProperty("--height",`${n}px`),t.style.maxHeight=e,n}function c(){return window.innerWidth>=1024}(0,o.A)().then(function(){document.querySelectorAll(".js-tabbed-section").forEach(i)})},41436(t,e,n){var o=n(78227)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,"/./"[t](e)}catch(t){}}return!1}},60788(t,e,n){var o=n(20034),r=n(22195),s=n(78227)("match");t.exports=function(t){var e;return o(t)&&(void 0!==(e=t[s])?!!e:"RegExp"===r(t))}},60511(t,e,n){var o=n(60788),r=TypeError;t.exports=function(t){if(o(t))throw new r("The method doesn't accept regular expressions");return t}},52703(t,e,n){var o=n(44576),r=n(79039),s=n(79504),i=n(655),a=n(43802).trim,c=n(47452),l=o.parseInt,u=o.Symbol,d=u&&u.iterator,h=/^[+-]?0x/i,g=s(h.exec),f=8!==l(c+"08")||22!==l(c+"0x16")||d&&!r(function(){l(Object(d))});t.exports=f?function(t,e){var n=a(i(t));return l(n,e>>>0||(g(h,n)?16:10))}:l},58940(t,e,n){var o=n(46518),r=n(52703);o({global:!0,forced:parseInt!==r},{parseInt:r})},21699(t,e,n){var o=n(46518),r=n(79504),s=n(60511),i=n(67750),a=n(655),c=n(41436),l=r("".indexOf);o({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~l(a(i(this)),a(s(t)),arguments.length>1?arguments[1]:void 0)}})},11392(t,e,n){var o,r=n(46518),s=n(27476),i=n(77347).f,a=n(18014),c=n(655),l=n(60511),u=n(67750),d=n(41436),h=n(96395),g=s("".slice),f=Math.min,y=d("startsWith");r({target:"String",proto:!0,forced:!(!h&&!y&&(o=i(String.prototype,"startsWith"),o&&!o.writable)||y)},{startsWith:function(t){var e=c(u(this));l(t);var n=a(f(arguments.length>1?arguments[1]:void 0,e.length)),o=c(t);return g(e,n,n+o.length)===o}})}}]); 2//# sourceMappingURL=8786-2eeb0b83d4388587b83f.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.