"use strict";var a=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var h=(s,t)=>{for(var o in t)a(s,o,{get:t[o],enumerable:!0})},T=(s,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Q(t))!b.call(s,i)&&i!==o&&a(s,i,{get:()=>t[i],enumerable:!(r=y(t,i))||r.enumerable});return s};var v=s=>T(a({},"__esModule",{value:!0}),s);var w={};h(w,{media:()=>u});module.exports=v(w);function u({queries:s,getter:t,cookie:o}){let r=new Set,i={};if(typeof window=="object")for(let e in s){let n=window.matchMedia(s[e]);c(n,e),n.onchange=f=>c(f,e)}function c(e,n){i[n]=e.matches,d(i),t&&t(i),o&&(document.cookie=`media=${JSON.stringify(i)}`)}function d(e){r.forEach(n=>n(e))}function m(e){return e(i),r.add(e),()=>p(e)}let p=e=>r.delete(e);return{matches:i,subscribe:m}}