PageSourceSearch

https://www.prairiemoon.com/mm5/themes/genesis/branches/production…/dist/1052.0b2ab9afe24ddf5eebf2.chunk.js

js prairiemoon.com collected 2026-10-01 10:31:44 UTC 2,303 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_mvps_genesis_quickstart_theme=self.webpackChunk_mvps_genesis_quickstart_theme||[]).push([[1052],{1052:(t,i,e)=>{e.d(i,{default:()=>r});var s=e(1559),o=e(2236),n=e(1821);const r=class{#t;options;closeAttribute;triggerAttribute;triggerElements;optionsAttribute;allowsAnimation;constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{awaitCloseAnimation:!0,awaitOpenAnimation:!0,disableScroll:!0,openClass:"is-open",triggerAttribute:"data-micromodal-trigger"};this.#t=new s.A(this),this.options=this.#t.isObject("options",t),this.closeAttribute="data-micromodal-close",this.triggerAttribute=this.#t.isString("options.triggerAttribute",t.triggerAttribute),this.triggerElements=[],this.optionsAttribute="data-modal-options",this.allowsAnimation=window.matchMedia("(prefers-reduced-motion: no-preference)").matches,this.options.awaitCloseAnimation=!!this.allowsAnimation&&this.options.awaitCloseAnimation,this.options.awaitOpenAnimation=!!this.allowsAnimation&&this.options.awaitOpenAnimation}init(t){this.triggerElements=document.querySelectorAll(`[${this.triggerAttribute}]`);const i=this.triggerElements.length;if(i){for(let t=0;t<i;t++){const i=this.triggerElements[t];i.addEventListener("click",(t=>{t.preventDefault()})),i.hasAttribute("aria-haspopup")||i.setAttribute("aria-haspopup","dialog");const e=i.getAttribute(this.optionsAttribute);if(e){let s=JSON.parse((0,o.A)(e));const r=i.getAttribute(this.triggerAttribute),a=`${this.triggerAttribute}-${t}`;i.removeAttribute(this.triggerAttribute),i.setAttribute(a,r),s.openTrigger=a,s.awaitCloseAnimation=!!this.allowsAnimation&&s.awaitCloseAnimation,s.awaitOpenAnimation=!!this.allowsAnimation&&s.awaitOpenAnimation,n.A.init(s)}}if(n.A.init(this.options),Array.isArray(t)&&t.length)for(const i of t){const t=document.getElementById(i);if(!t)return;this.addCloseEvent(t)}}}addCloseEvent(t){t&&document.addEventListener("mousedown",(i=>{if(i.stopPropagation(),t===i.target||t.contains(i.target))return;let e=!0;for(const t of this.triggerElements)if(t===i.target||t.contains(i.target)){e=!1;break}if(!e||!t.classList.contains(this.options.openClass||"is-open"))return;const s=t.querySelector(`[${this.closeAttribute}]`);s&&s.click()}))}}}}]);
2//# sourceMappingURL=1052.0b2ab9afe24ddf5eebf2.chunk.js.map

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.