Files
base/.svelte-kit/output/client/_app/immutable/chunks/BlBMKpZ6.js
T
eewing c0fae761da
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m24s
PWA
2026-02-19 07:41:49 -06:00

2 lines
2.4 KiB
JavaScript

import{at as S,au as g,av as w,aw as T,ax as A,O as m,ay as L,l as V}from"./BfGs3WDN.js";function C(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const I=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function D(e){return I.includes(e)}const O={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function W(e){return e=e.toLowerCase(),O[e]??e}const P=["touchstart","touchmove"];function j(e){return P.includes(e)}const i=Symbol("events"),x=new Set,M=new Set;function R(e){if(!V)return;e.removeAttribute("onload"),e.removeAttribute("onerror");const t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function N(e,t,r,u={}){function o(a){if(u.capture||q.call(t,a),!a.cancelBubble)return L(()=>r==null?void 0:r.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?m(()=>{t.addEventListener(e,o,u)}):t.addEventListener(e,o,u),o}function z(e,t,r,u={}){var o=N(t,e,r,u);return()=>{e.removeEventListener(t,o,u)}}function F(e,t,r){(t[i]??(t[i]={}))[e]=r}function G(e){for(var t=0;t<e.length;t++)x.add(e[t]);for(var r of M)r(e)}let y=null;function q(e){var h,b;var t=this,r=t.ownerDocument,u=e.type,o=((h=e.composedPath)==null?void 0:h.call(e))||[],a=o[0]||e.target;y=e;var f=0,d=y===e&&e[i];if(d){var s=o.indexOf(d);if(s!==-1&&(t===document||t===window)){e[i]=t;return}var p=o.indexOf(t);if(p===-1)return;s<=p&&(f=s)}if(a=o[f]||e.target,a!==t){S(e,"currentTarget",{configurable:!0,get(){return a||r}});var E=T,k=A;g(null),w(null);try{for(var n,_=[];a!==null;){var l=a.assignedSlot||a.parentNode||a.host||null;try{var v=(b=a[i])==null?void 0:b[u];v!=null&&(!a.disabled||e.target===a)&&v.call(a,e)}catch(c){n?_.push(c):n=c}if(e.cancelBubble||l===t||l===null)break;a=l}if(n){for(let c of _)queueMicrotask(()=>{throw c});throw n}}finally{e[i]=t,delete e.currentTarget,g(E),w(k)}}}export{x as a,C as b,G as c,F as d,N as e,D as f,R as g,q as h,j as i,W as n,z as o,M as r};