PageSourceSearch

https://www.makishima.org/wp-content/plugins/vk-blocks-pro/build/vk-slider.min.js?ver=1.36.2.0

js makishima.org collected 2026-10-08 20:51:43 UTC 1,786 bytes, 33 lines download raw bytes

1document.defaultView.addEventListener("load",function(){let sliderNodeList=document.querySelectorAll("[data-vkb-slider]");if(sliderNodeList=Array.from(sliderNodeList),sliderNodeList)for(const index in sliderNodeList){const sliderNode=sliderNodeList[index],attributes=JSON.parse(sliderNode.getAttribute("data-vkb-slider"));let sliderId="",SwiperSetting=(void 0!==attributes.blockId?sliderId=attributes.blockId:void 0!==attributes.clientId&&(sliderId=attributes.clientId),`
2			var swiper${index} = new Swiper ('.vk_slider_${sliderId}', {
3			`);attributes.autoPlay&&(SwiperSetting+=`
4				autoplay: {
5					delay: ${attributes.autoPlayDelay},
6					disableOnInteraction: ${attributes.autoPlayStop},
7					stopOnLastSlide: ${!attributes.loop},
8				},
9				`),"hide"!==attributes.pagination&&(SwiperSetting+=`
10				pagination: {
11					el: '.swiper-pagination',
12					clickable : true,
13					type: '${attributes.pagination}',
14					renderFraction: function (currentClass, totalClass) {
15						return '<span class="' + currentClass + '"></span>' + ' / ' + '<span class="' + totalClass + '"></span>';
16					},
17				},
18				`),attributes.speed&&(SwiperSetting+=`
19				speed: ${attributes.speed},
20				`),"fade"!==attributes.effect&&(attributes.slidesPerView&&(SwiperSetting+=`
21				slidesPerView: ${attributes.slidesPerView},
22					`),attributes.slidesPerGroup&&(SwiperSetting+=`
23				slidesPerGroup: ${attributes.slidesPerGroup},
24					`)),attributes.loop&&(SwiperSetting+=`
25				loop: ${attributes.loop},
26				`),attributes.effect&&(SwiperSetting+=`
27				effect: '${attributes.effect}',
28				`),SwiperSetting+=`
29				navigation: {
30					nextEl: '.swiper-button-next',
31					prevEl: '.swiper-button-prev',
32				},
33			});`,eval(SwiperSetting),"hide"===attributes.pagination&&eval(`swiper${index}.pagination.destroy();`)}});

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.