Sha256: 23b84aeab91345f417e732a7f3e615041a5facd149cff21ca867342a53186728
Contents?: true
Size: 1.08 KB
Versions: 9
Compression:
Stored size: 1.08 KB
Contents
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[640],{640:function(e,o,t){const n=/.*[\?&]id=([^&]+).*$/,c=/\/$/g,a="userPrefersReducedMotion",l={behavior:"smooth",block:"center"},r={block:"center"};function s(e){return"true"==window.localStorage.getItem(a)?e.scrollIntoView(r):e.scrollIntoView(l),e.focus()}function i(e,o){-1!==e.search(n)&&function(e,o){let t=e.replace(n,"$1");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(c,""),document.querySelector(`.nav-tabs a[href="${e}"]`)?$(`.nav-tabs a[href="${e}"]`).on("shown.bs.tab",(()=>{window.location.search?i(window.location.search,e):u(`${e}-label`)})).tab("show"):document.querySelector(`${e}.collapse`)&&$(e).on("shown.bs.collapse",(()=>{window.location.search?i(window.location.search,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
9 entries across 9 versions & 1 rubygems