Sha256: 84fc68f1ee77486c56cc752c42c772974c6c899ae012ad7d8151f1c5f77aa496
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[640],{640:function(e,o,t){t.r(o);const n=/^id=/g,c=/^\?/g,a=/\/$/g,r={behavior:"smooth",block:"center"},l={block:"center"};function s(e){return"true"==window.localStorage.getItem("userPrefersReducedMotion")?e.scrollIntoView(l):e.scrollIntoView(r),e.focus()}function i(e,o){-1!==e.search(n)&&function(e,o){let t=e.replace(n,"");s(document.querySelector(o).querySelector(`#${t}`))}(e,o)}function u(e){s(document.querySelector(e))}function h(){var e;window.location.hash&&(e=window.location.hash.replace(a,""),document.querySelector(`.nav-tabs a[href="${e}"]`)?$(`.nav-tabs a[href="${e}"]`).on("shown.bs.tab",(()=>{window.location.search?i(window.location.search.replace(c,""),e):u(`${e}-label`)})).tab("show"):document.querySelector(`${e}.collapse`)&&$(e).on("shown.bs.collapse",(()=>{window.location.search?i(window.location.search.replace(c,""),e):u(`button[data-target="${e}"]`)})).collapse("show"))}o.default=function(){h(),window.addEventListener("hashchange",h,!1),t.e(814).then(t.bind(t,814)).then((e=>{let{default:o}=e;o()}))}}}]);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kcc-gem-theme-2.20.1 | assets/js/dist/640.8b3d98622bea01cba4d2.bundle.js |
kcc-gem-theme-2.20.0 | assets/js/dist/640.8b3d98622bea01cba4d2.bundle.js |