PageSourceSearch

https://www.explodingkittens.com/cdn/shop/t/350/assets/custom.js?v=159630972159261329951788538567

js explodingkittens.com collected 2026-09-24 09:54:14 UTC 7,328 bytes, 14 lines download raw bytes

1const debounce=(func,wait)=>{let timeout;return function(...args){clearTimeout(timeout),timeout=setTimeout(()=>func.apply(this,args),wait)}};document.addEventListener("DOMContentLoaded",function(){const body=document.querySelector("body"),productInstructionsPage=document.querySelector(".product__wrapper--game-instructions-page");setTimeout(function(){if(window.innerWidth>640&&body.classList.contains("template-product")||window.innerWidth>640&&productInstructionsPage){const arrowLeft=document.querySelector(".flickity-button.previous"),arrowRight=document.querySelector(".flickity-button.next");arrowLeft.innerHTML=` <svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2          <path d="M12.3832 0.000488281C12.1932 0.0081703 12.0081 0.0709075 11.8518 0.182301L0.438822 8.15113C0.163776 8.3419 0 8.65816 0 8.99744C0 9.33675 0.163776 9.65426 0.438822 9.84503L11.8518 17.8217C12.1581 18.0355 12.5557 18.0586 12.8833 17.8819C13.212 17.7039 13.4171 17.3557 13.4171 16.9754L12.8833 12.585L31.0036 12.9218C31.5524 12.9193 31.9975 12.4647 32 11.9014V6.10274C32.0025 5.5368 31.5562 5.07589 31.0036 5.07461H13.9983L13.4171 1.02858C13.4184 0.750736 13.3083 0.483128 13.1133 0.289808C12.9183 0.0951921 12.6545 -0.00847632 12.3832 0.000488281Z" fill="black"/>
3        </svg>`,arrowRight.innerHTML=`<svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
4          <path d="M19.6149 0.213944C19.8049 0.221444 19.9899 0.282693 20.1461 0.391445L31.5573 8.17129C31.8323 8.35754 31.9961 8.66629 31.9961 8.99753C31.9961 9.32879 31.8323 9.63877 31.5573 9.82501L20.1461 17.6125C19.8399 17.8213 19.4424 17.8438 19.1149 17.6713C18.7861 17.4975 18.5811 17.1575 18.5811 16.7863L19.1149 12.5L0.997435 12.8289C0.448698 12.8264 0.00367546 12.3826 0.00117874 11.8326V6.17147C-0.00132179 5.61896 0.444923 5.16898 0.997435 5.16773H18L18.5811 1.21765C18.5799 0.946399 18.6899 0.685138 18.8849 0.496402C19.0799 0.306402 19.3436 0.205192 19.6149 0.213944Z" fill="black"/>
5        </svg>`}},800),setTimeout(function(){if(window.innerWidth<640&&body.classList.contains("template-product")||window.innerWidth<640&&productInstructionsPage){const arrowLeftMobile=document.querySelector('.product__media-prev-next[data-action="prev"]'),arrowRightMobile=document.querySelector('.product__media-prev-next[data-action="next"]');arrowLeftMobile.innerHTML=` <svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
6          <path d="M12.3832 0.000488281C12.1932 0.0081703 12.0081 0.0709075 11.8518 0.182301L0.438822 8.15113C0.163776 8.3419 0 8.65816 0 8.99744C0 9.33675 0.163776 9.65426 0.438822 9.84503L11.8518 17.8217C12.1581 18.0355 12.5557 18.0586 12.8833 17.8819C13.212 17.7039 13.4171 17.3557 13.4171 16.9754L12.8833 12.585L31.0036 12.9218C31.5524 12.9193 31.9975 12.4647 32 11.9014V6.10274C32.0025 5.5368 31.5562 5.07589 31.0036 5.07461H13.9983L13.4171 1.02858C13.4184 0.750736 13.3083 0.483128 13.1133 0.289808C12.9183 0.0951921 12.6545 -0.00847632 12.3832 0.000488281Z" fill="black"/>
7        </svg>`,arrowRightMobile.innerHTML=`<svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
8          <path d="M19.6149 0.213944C19.8049 0.221444 19.9899 0.282693 20.1461 0.391445L31.5573 8.17129C31.8323 8.35754 31.9961 8.66629 31.9961 8.99753C31.9961 9.32879 31.8323 9.63877 31.5573 9.82501L20.1461 17.6125C19.8399 17.8213 19.4424 17.8438 19.1149 17.6713C18.7861 17.4975 18.5811 17.1575 18.5811 16.7863L19.1149 12.5L0.997435 12.8289C0.448698 12.8264 0.00367546 12.3826 0.00117874 11.8326V6.17147C-0.00132179 5.61896 0.444923 5.16898 0.997435 5.16773H18L18.5811 1.21765C18.5799 0.946399 18.6899 0.685138 18.8849 0.496402C19.0799 0.306402 19.3436 0.205192 19.6149 0.213944Z" fill="black"/>
9        </svg>`}},900),(body.classList.contains("template-product")||productInstructionsPage)&&document.querySelector(".product__zoom-button").addEventListener("click",evt=>{const zoomArrowLeft=document.querySelector(".pswp__button.prev-next-button--prev"),zoomArrowRight=document.querySelector(".pswp__button.prev-next-button--next");zoomArrowLeft.innerHTML=` <svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
10          <path d="M12.3832 0.000488281C12.1932 0.0081703 12.0081 0.0709075 11.8518 0.182301L0.438822 8.15113C0.163776 8.3419 0 8.65816 0 8.99744C0 9.33675 0.163776 9.65426 0.438822 9.84503L11.8518 17.8217C12.1581 18.0355 12.5557 18.0586 12.8833 17.8819C13.212 17.7039 13.4171 17.3557 13.4171 16.9754L12.8833 12.585L31.0036 12.9218C31.5524 12.9193 31.9975 12.4647 32 11.9014V6.10274C32.0025 5.5368 31.5562 5.07589 31.0036 5.07461H13.9983L13.4171 1.02858C13.4184 0.750736 13.3083 0.483128 13.1133 0.289808C12.9183 0.0951921 12.6545 -0.00847632 12.3832 0.000488281Z" fill="black"/>
11        </svg>`,zoomArrowRight.innerHTML=`<svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">
12          <path d="M19.6149 0.213944C19.8049 0.221444 19.9899 0.282693 20.1461 0.391445L31.5573 8.17129C31.8323 8.35754 31.9961 8.66629 31.9961 8.99753C31.9961 9.32879 31.8323 9.63877 31.5573 9.82501L20.1461 17.6125C19.8399 17.8213 19.4424 17.8438 19.1149 17.6713C18.7861 17.4975 18.5811 17.1575 18.5811 16.7863L19.1149 12.5L0.997435 12.8289C0.448698 12.8264 0.00367546 12.3826 0.00117874 11.8326V6.17147C-0.00132179 5.61896 0.444923 5.16898 0.997435 5.16773H18L18.5811 1.21765C18.5799 0.946399 18.6899 0.685138 18.8849 0.496402C19.0799 0.306402 19.3436 0.205192 19.6149 0.213944Z" fill="black"/>
13        </svg>`});function updateSelectedValue(optionId,selectedValue){const selectedValueElement=document.getElementById(`${optionId}-value`);selectedValueElement&&(selectedValueElement.textContent=selectedValue);const selectElement=document.querySelector(`select[name="option${optionId}"]`);selectElement&&(selectElement.value=selectedValue),updateURLWithLanguage(selectedValue.toLowerCase())}let previousHandle="";function updateURLWithLanguage(selectedLanguage){const match=selectedLanguage.match(/\(([^)]+)\)/),languageForURL=match?match[1].trim().toLowerCase():selectedLanguage.trim().replace(" ","-").toLowerCase();document.querySelectorAll(".btn--download-language").forEach(link=>{const currentUrl=link.getAttribute("href");if(currentUrl){let newUrl="";previousHandle===""?newUrl=currentUrl.replace(/-(\w+)(?=\.\w+($|\?))/,`-${languageForURL}`):newUrl=currentUrl.replace(`-${previousHandle}`,`-${languageForURL}`),link.setAttribute("href",newUrl),previousHandle=languageForURL}})}document.querySelectorAll(".combo-box__option-list").forEach(list=>{const seenValues=new Set;list.querySelectorAll(".combo-box__option").forEach(option=>{const value=option.getAttribute("data-value");seenValues.has(value)?option.remove():seenValues.add(value)})}),document.querySelectorAll(".combo-box__option-item").forEach(option=>{const selectOption=()=>{const optionId=option.getAttribute("data-option-id"),selectedValue=option.getAttribute("data-value");updateSelectedValue(optionId,selectedValue)};
13option.addEventListener("click",selectOption),option.addEventListener("keydown",event=>{event.key==="Enter"&&(event.preventDefault(),selectOption())})})});
14//# sourceMappingURL=/cdn/shop/t/350/assets/custom.js.map?v=159630972159261329951788538567

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.