var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); /** Shopify CDN: Minification failed Line 13:0 Transforming class syntax to the configured target environment ("es5") is not supported yet Line 14:13 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 26:8 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 30:16 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 35:13 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 39:6 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 51:7 Transforming object literal extensions to the configured target environment ("es5") is not supported yet Line 51:20 Transforming default arguments to the configured target environment ("es5") is not supported yet **/ class DetailsModal extends HTMLElement { constructor() { super(); this.detailsContainer = this.querySelector('details'); this.summaryToggle = this.querySelector('summary'); this.detailsContainer.addEventListener('keyup', (event) => event.code.toUpperCase() === 'ESCAPE' && this.close()); this.summaryToggle.addEventListener('click', this.onSummaryClick.bind(this)); this.querySelector('button[type="button"]').addEventListener('click', this.close.bind(this)); this.summaryToggle.setAttribute('role', 'button'); } isOpen() { return this.detailsContainer.hasAttribute('open'); } onSummaryClick(event) { event.preventDefault(); event.target.closest('details').hasAttribute('open') ? this.close() : this.open(event); } onBodyClick(event) { if (!this.contains(event.target) || event.target.classList.contains('modal-overlay')) this.close(false); } open(event) { this.onBodyClickEvent = this.onBodyClickEvent || this.onBodyClick.bind(this); event.target.closest('details').setAttribute('open', true); document.body.addEventListener('click', this.onBodyClickEvent); document.body.classList.add('overflow-hidden'); trapFocus( this.detailsContainer.querySelector('[tabindex="-1"]'), this.detailsContainer.querySelector('input:not([type="hidden"])') ); } close(focusToggle = true) { removeTrapFocus(focusToggle ? this.summaryToggle : null); this.detailsContainer.removeAttribute('open'); document.body.removeEventListener('click', this.onBodyClickEvent); document.body.classList.remove('overflow-hidden'); } } customElements.define('details-modal', DetailsModal); } /* FILE ARCHIVED ON 17:47:42 Dec 27, 2023 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 04:38:08 Jan 06, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.721 exclusion.robots: 0.024 exclusion.robots.policy: 0.01 esindex: 0.013 cdx.remote: 27.768 LoadShardBlock: 75.001 (3) PetaboxLoader3.datanode: 95.869 (4) load_resource: 68.997 PetaboxLoader3.resolve: 37.791 */