PageSourceSearch

https://hessenhof.nl/build/assets/src-IT6FKAIY-BbJrFBg6.js

js hessenhof.nl collected 2026-10-02 07:22:50 UTC 31,639 bytes, 15 lines download raw bytes

vendor: 21,710 bytes, lines 1-2
1import{o as Pe,l as ut,Y as ct,t as dt,E as ft,i as pt,c as he,p as De}from"./chunk-RNBJVTMQ-Z9hutwhW.js";import{c as Ne,s as vt,T as de}from"./chunk-57D2UQTB-BrKgeTUD.js";import{v as mt,q as ht}from"./chunk-2ZIX2X5D-DJmwhMSl.js";import{X as yt,S as Ve}from"./attributes-CXdwUIIK.js";import"./app-Bw3c5wi3.js";import"https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=default%2Ces2022%2Ces2023";import"./jquery-Da2SryCc.js";var Jn="1.1.11";function bt(e,t){e.indexOf(t)===-1&&e.push(t)}var Ke=(e,t,n)=>Math.min(Math.max(n,e),t),F={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Q=e=>typeof e=="number",U=e=>Array.isArray(e)&&!Q(e[0]),gt=(e,t,n)=>{let a=t-e;return((n-e)%a+a)%a+e};function wt(e,t){return U(e)?e[gt(0,e.length,t)]:e}var Ue=(e,t,n)=>-n*e+n*t+e,Ye=()=>{},L=e=>e,ke=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function ze(e,t){let n=e[e.length-1];for(let a=1;a<=t;a++){let i=ke(0,t,a);e.push(Ue(n,1,i))}}function St(e){let t=[0];return ze(t,e-1),t}function Et(e,t=St(e.length),n=L){let a=e.length,i=a-t.length;return i>0&&ze(t,i),r=>{let s=0;for(;s<a-2&&!(r<t[s+1]);s++);let u=Ke(0,1,ke(t[s],t[s+1],r));return u=wt(n,s)(u),Ue(e[s],e[s+1],u)}}var We=e=>Array.isArray(e)&&Q(e[0]),ye=e=>typeof e=="object"&&!!e.createAnimation,Y=e=>typeof e=="function",Tt=e=>typeof e=="string",Z={ms:e=>e*1e3,s:e=>e/1e3},Xe=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,kt=1e-7,At=12;function Ot(e,t,n,a,i){let r,s,u=0;do s=t+(n-t)/2,r=Xe(s,a,i)-e,r>0?n=s:t=s;while(Math.abs(r)>kt&&++u<At);return s}function X(e,t,n,a){if(e===t&&n===a)return L;let i=r=>Ot(r,0,1,e,n);return r=>r===0||r===1?r:Xe(i(r),t,a)}var Pt=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);let a=n*e,i=t==="end"?Math.floor(a):Math.ceil(a);return Ke(0,1,i/e)},xe={ease:X(.25,.1,.25,1),"ease-in":X(.42,0,1,1),"ease-in-out":X(.42,0,.58,1),"ease-out":X(0,0,.58,1)},Dt=/\((.*?)\)/;function be(e){if(Y(e))return e;if(We(e))return X(...e);if(xe[e])return xe[e];if(e.startsWith("steps")){let t=Dt.exec(e);if(t){let n=t[1].split(",");return Pt(parseFloat(n[0]),n[1].trim())}}return L}var Ze=class{constructor(e,t=[0,1],{easing:n,duration:a=F.duration,delay:i=F.delay,endDelay:r=F.endDelay,repeat:s=F.repeat,offset:u,direction:c="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=L,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((v,h)=>{this.resolve=v,this.reject=h}),n=n||F.easing,ye(n)){let v=n.createAnimation(t);n=v.easing,t=v.keyframes||t,a=v.duration||a}this.repeat=s,this.easing=U(n)?L:be(n),this.updateDuration(a);let p=Et(t,u,U(n)?n.map(be):L);this.tick=v=>{var h;i=i;let f=0;this.pauseTime!==void 0?f=this.pauseTime:f=(v-this.startTime)*this.rate,this.t=f,f/=1e3,f=Math.max(f-i,0),this.playState==="finished"&&this.pauseTime===void 0&&(f=this.totalDuration);let S=f/this.duration,P=Math.floor(S),D=S%1;!D&&S>=1&&(D=1),D===1&&P--;let R=P%2;(c==="reverse"||c==="alternate"&&R||c==="alternate-reverse"&&!R)&&(D=1-D);let G=f>=this.totalDuration?1:Math.min(D,1),E=p(this.easing(G));e(E),this.pauseTime===void 0&&(this.playState==="finished"||f>=this.totalDuration+r)?(this.playState="finished",(h=this.resolve)===null||h===void 0||h.call(this,E)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}},Nt=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}},fe=new WeakMap;function He(e){return fe.has(e)||fe.set(e,{transforms:[],values:new Map}),fe.get(e)}function xt(e,t){return e.has(t)||e.set(t,new Nt),e.get(t)}var Ft=["","X","Y","Z"],Rt=["translate","scale","rotate","skew"],ae={x:"translateX",y:"translateY",z:"translateZ"},Fe={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},It={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:Fe,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:L},skew:Fe},J=new Map,Ae=e=>`--motion-${e}`,re=["x","y","z"];Rt.forEach(e=>{Ft.forEach(t=>{re.push(e+t),J.set(Ae(e+t),It[e])})});var Ct=(e,t)=>re.indexOf(e)-re.indexOf(t),jt=new Set(re),Qe=e=>jt.has(e),Gt=(e,t)=>{ae[t]&&(t=ae[t]);let{transforms:n}=He(e);bt(n,t),e.style.transform=Mt(n)},Mt=e=>e.sort(Ct).reduce(Lt,"").trim(),Lt=(e,t)=>`${e} ${t}(var(${Ae(t)}))`,ge=e=>e.startsWith("--"),Re=new Set;function Bt(e){if(!Re.has(e)){Re.add(e);try{let{syntax:t,initialValue:n}=J.has(e)?J.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch{}}}var pe=(e,t)=>document.createElement("div").animate(e,t),Ie={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{pe({opacity:[1]})}catch{return!1}return!0},finished:()=>!!pe({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{pe({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},ve={},K={};for(let e in Ie)K[e]=()=>(ve[e]===void 0&&(ve[e]=Ie[e]()),ve[e]);var $t=.015,_t=(e,t)=>{let n="",a=Math.round(t/$t);for(let i=0;i<a;i++)n+=e(ke(0,a-1,i))+", ";return n.substring(0,n.length-2)},Ce=(e,t)=>Y(e)?K.linearEasing()?`linear(${_t(e,t)})`:F.easing:We(e)?qt(e):e,qt=([e,t,n,a])=>`cubic-bezier(${e}, ${t}, ${n}, ${a})`;function Vt(e,t){for(let n=0;n<e.length;n++)e[n]===null&&(e[n]=n?e[n-1]:t());return e}var Kt=e=>Array.isArray(e)?e:[e];function we(e){return ae[e]&&(e=ae[e]),Qe(e)?Ae(e):e}var ee={get:(e,t)=>{t=we(t);let n=ge(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==0){let a=J.get(t);a&&(n=a.initialValue)}return n},set:(e,t,n)=>{t=we(t),ge(t)?e.style.setProperty(t,n):e.style[t]=n}};function Je(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function Ut(e,t){var n;let a=t?.toDefaultUnit||L,i=e[e.length-1];if(Tt(i)){let r=((n=i.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";r&&(a=s=>s+r)}return a}function Yt(){return window.__MOTION_DEV_TOOLS_RECORD}function zt(e,t,n,a={},i){let r=Yt(),s=a.record!==!1&&r,u,{duration:c=F.duration,delay:p=F.delay,endDelay:v=F.endDelay,repeat:h=F.repeat,easing:f=F.easing,persist:S=!1,direction:P,offset:D,allowWebkitAcceleration:R=!1}=a,G=He(e),E=Qe(t),x=K.waapi();E&&Gt(e,t);let A=we(t),I=xt(G.values,A),N=J.get(A);return Je(I.animation,!(ye(f)&&I.generator)&&a.record!==!1),()=>{let C=()=>{var b,o;return(o=(b=ee.get(e,A))!==null&&b!==void 0?b:N?.initialValue)!==null&&o!==void 0?o:0},w=Vt(Kt(n),C),_=Ut(w,N);if(ye(f)){let b=f.createAnimation(w,t!=="opacity",C,A,I);f=b.easing,w=b.keyframes||w,c=b.duration||c}if(ge(A)&&(K.cssRegisterProperty()?Bt(A):x=!1),E&&!K.linearEasing()&&(Y(f)||U(f)&&f.some(Y))&&(x=!1),x){N&&(w=w.map(l=>Q(l)?N.toDefaultUnit(l):l)),w.length===1&&(!K.partialKeyframes()||s)&&w.unshift(C());let b={delay:Z.ms(p),duration:Z.ms(c),endDelay:Z.ms(v),easing:U(f)?void 0:Ce(f,c),direction:P,iterations:h+1,fill:"both"};u=e.animate({[A]:w,offset:D,easing:U(f)?f.map(l=>Ce(l,c)):void 0},b),u.finished||(u.finished=new Promise((l,d)=>{u.onfinish=l,u.oncancel=d}));let o=w[w.length-1];u.finished.then(()=>{S||(ee.set(e,A,o),u.cancel())}).catch(Ye),R||(u.playbackRate=1.000001)}else if(i&&E)w=w.map(b=>typeof b=="string"?parseFloat(b):b),w.length===1&&w.unshift(parseFloat(C())),u=new i(b=>{ee.set(e,A,_?_(b):b)},w,Object.assign(Object.assign({},a),{duration:c,easing:f}));else{let b=w[w.length-1];ee.set(e,A,N&&Q(b)?N.toDefaultUnit(b):b)}return s&&r(e,t,w,{duration:c,delay:p,easing:f,repeat:h,offset:D},"motion-one"),I.setAnimation(u),u}}var Wt=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function Xt(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}var Zt=e=>e(),et=(e,t,n=F.duration)=>new Proxy({animations:e.map(Zt).filter(Boolean),duration:n,options:t},Qt),Ht=e=>e.animations[0],Qt={get:(e,t)=>{let n=Ht(e);switch(t){case"duration":return e.duration;case"currentTime":return Z.s(n?.[t]||0);case"playbackRate":case"playState":return n?.[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(Jt)).catch(Ye)),e.finished;case"stop":return()=>{e.animations.forEach(a=>Je(a))};case"forEachNative":return a=>{e.animations.forEach(i=>a(i,e))};default:return typeof n?.[t]>"u"?void 0:()=>e.animations.forEach(a=>a[t]())}},set:(e,t,n)=>{switch(t){case"currentTime":n=Z.ms(n);case"currentTime":case"playbackRate":for(let a=0;a<e.animations.length;a++)e.animations[a][t]=n;return!0}return!1}},Jt=e=>e.finished;function je(e=.1,{start:t=0,from:n=0,easing:a}={}){return(i,r)=>{let s=Q(n)?n:en(n,r),u=Math.abs(s-i),c=e*u;if(a){let p=r*e;c=be(a)(c/p)*p}return t+c}}function en(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function tn(e,t,n){return Y(e)?e(t,n):e}function nn(e){return function(t,n,a={}){t=Xt(t);let i=t.length,r=[];for(let s=0;s<i;s++){let u=t[s];for(let c in n){let p=Wt(a,c);p.delay=tn(p.delay,s,i);let v=zt(u,c,n[c],p,e);r.push(v)}}return et(r,a,a.duration)}}var an=nn(Ze);function rn(e,t={}){return et([()=>{let n=new Ze(e,[0,1],t);return n.finished.catch(()=>{}),n}],t,t.duration)}function Ge(e,t,n){return(Y(e)?rn:an)(e,t,n)}var M=({initialStyles:e,keyframes:t})=>{let n=(a,i={})=>{let{target:r,insertAfter:s,display:u=""}=i;Array.isArray(a)||(a=[a]);for(let c of a)c.style.display=u,Object.assign(c.style,e),r&&s!==void 0?s?r.insertBefore(c,s.nextSibling):r.prepend(c):r&&r.appendChild(c)};return{prepareIn:n,animateIn:async(a,i={})=>{let{prepared:r,stagger:s,display:u,duration:c,...p}=i,v=c?c/1e3:void 0;r||n(a,i);let{finished:h}=Ge(a,t,{...p,delay:s?je(s/1e3):void 0,duration:v});return await h},animateOut:async(a,i={})=>{let{remove:r,stagger:s,target:u,insertAfter:c,display:p="none",duration:v,...h}=i,f=v?v/1e3:void 0;if(Array.isArray(a)||(a=[a]),a=a.filter(P=>document.body.contains(P)),!a.length)return;let{finished:S}=Ge(a,t,{...h,duration:f,delay:s?je(s/1e3):void 0,direction:"reverse"});await S;for(let P of a)u&&c!==void 0?c?u.insertBefore(P,c.nextSibling):u.prepend(P):u&&u.appendChild(P),r?P.remove():P.style.display=p}}},Me={fade:M({keyframes:{opacity:[0,1]},initialStyles:{opacity:"0"}}),"slide-up":M({keyframes:{y:[100,0],opacity:[0,1]},initialStyles:{transform:"translateY(100px)",opacity:"0"}}),"slide-down":M({keyframes:{y:[-100,0],opacity:[0,1]},initialStyles:{transform:"translateY(-100px)",opacity:"0"}}),"slide-right":M({keyframes:{x:[-100,0],opacity:[0,1]},initialStyles:{transform:"translateX(-100px)",opacity:"0"}}),"slide-left":M({keyframes:{x:[100,0],opacity:[0,1]},initialStyles:{transform:"translateX(100px)",opacity:"0"}}),grow:M({keyframes:{scale:[0,1],opacity:[0,1]},initialStyles:{transform:"scale(0)",opacity:"0"}}),shrink:M({keyframes:{scale:[1.25,1],opacity:[0,1]},initialStyles:{transform:"scale(1.25)",opacity:"0"}}),spin:M({keyframes:{rotate:[900,0],opacity:[0,1]},initialStyles:{transform:"rotate(900deg)",opacity:"0"}})},on=(e,t,n)=>{let a=Ne(e),i=vt(e);e.setAttribute(Pe,"dialog"),e.setAttribute(ut,"true");for(let r of[...t,...n]){if(r.hasAttribute(ct))continue;Ne(r);let s=t.includes(r)?"open":"close";r.setAttribute(dt,"0"),r.setAttribute(Pe,"button"),r.setAttribute(ft,a),r.setAttribute(pt,"dialog"),r.setAttribute(he,String(i)),r.hasAttribute(De)||r.setAttribute(De,`${s}-modal-trigger`)}},tt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ie=tt.join(","),nt=typeof Element>"u",$=nt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,oe=!nt&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},se=function e(t,n){var a;n===void 0&&(n=!0);var i=t==null||(a=t.getAttribute)===null||a===void 0?void 0:a.call(t,"inert"),r=i===""||i==="true",s=r||n&&t&&e(t.parentNode);return s},sn=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},at=function(e,t,n){if(se(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(ie));return t&&$.call(e,ie)&&a.unshift(e),a=a.filter(n),a},rt=function e(t,n,a){for(var i=[],r=Array.from(t);r.length;){var s=r.shift();if(!se(s,!1))if(s.tagName==="SLOT"){var u=s.assignedElements(),c=u.length?u:s.children,p=e(c,!0,a);a.flatten?i.push.apply(i,p):i.push({scopeParent:s,candidates:p})}else{var v=$.call(s,ie);v&&a.filter(s)&&(n||!t.includes(s))&&i.push(s);var h=s.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(s),f=!se(h,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(s));if(h&&f){var S=e(h===!0?s.children:h.children,!0,a);a.flatten?i.push.apply(i,S):i.push({scopeParent:s,candidates:S})}else r.unshift.apply(r,s.children)}}return i},it=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},B=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||sn(e))&&!it(e)?0:e.tabIndex},ln=function(e,t){var n=B(e);return n<0&&t&&!it(e)?0:n},un=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ot=function(e){return e.tagName==="INPUT"},cn=function(e){return ot(e)&&e.type==="hidden"},dn=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},fn=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},pn=function(e){if(!e.name)return!0;var t=e.form||oe(e),n=function(r){return t.querySelectorAll('input[type="radio"][name="'+r+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(e.name));else try{a=n(e.name)}catch(r){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",r.message),!1}var i=fn(a,e.form);return!i||i===e},vn=function(e){return ot(e)&&e.type==="radio"},mn=function(e){return vn(e)&&!pn(e)},hn=function(e){var t,n=e&&oe(e),a=(t=n)===null||t===void 0?void 0:t.host,i=!1;if(n&&n!==e){var r,s,u;for(i=!!((r=a)!==null&&r!==void 0&&(s=r.ownerDocument)!==null&&s!==void 0&&s.contains(a)||e!=null&&(u=e.ownerDocument)!==null&&u!==void 0&&u.contains(e));!i&&a;){var c,p,v;n=oe(a),a=(c=n)===null||c===void 0?void 0:c.host,i=!!((p=a)!==null&&p!==void 0&&(v=p.ownerDocument)!==null&&v!==void 0&&v.contains(a))}}return i},Le=function(e){var t=e.getBoundingClientRect(),n=t.width,a=t.height;return n===0&&a===0},yn=function(e,t){var n=t.displayCheck,a=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=$.call(e,"details>summary:first-of-type"),r=i?e.parentElement:e;if($.call(r,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var s=e;e;){var u=e.parentElement,c=oe(e);if(u&&!u.shadowRoot&&a(u)===!0)return Le(e);e.assignedSlot?e=e.assignedSlot:!u&&c!==e.ownerDocument?e=c.host:e=u}e=s}if(hn(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Le(e);return!1},bn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var a=t.children.item(n);if(a.tagName==="LEGEND")return $.call(t,"fieldset[disabled] *")?!0:!a.contains(e)}return!0}t=t.parentElement}return!1},le=function(e,t){return!(t.disabled||se(t)||cn(t)||yn(t,e)||dn(t)||bn(t))},Se=function(e,t){return!(mn(t)||B(t)<0||!le(e,t))},gn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},wn=function e(t){var n=[],a=[];return t.forEach(function(i,r){var s=!!i.scopeParent,u=s?i.scopeParent:i,c=ln(u,s),p=s?e(i.candidates):u;c===0?s?n.push.apply(n,p):n.push(u):a.push({documentOrder:r,tabIndex:c,item:i,isScope:s,content:p})}),a.sort(un).reduce(function(i,r){return r.isScope?i.push.apply(i,r.content):i.push(r.content),i},[]).concat(n)},Sn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=rt([e],t.includeContainer,{filter:Se.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gn}):n=at(e,t.includeContainer,Se.bind(null,t)),wn(n)},En=function(e,t){t=t||{};var n;return t.getShadowRoot?n=rt([e],t.includeContainer,{filter:le.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=at(e,t.includeContainer,le.bind(null,t)),n},V=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return $.call(e,ie)===!1?!1:Se(t,e)},Tn=tt.concat("iframe").join(","),me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return $.call(e,Tn)===!1?!1:le(t,e)};function Ee(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function kn(e){if(Array.isArray(e))return Ee(e)}function An(e,t,n){return(t=xn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Be(Object(n),!0).forEach(function(a){An(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Dn(e){return kn(e)||On(e)||Fn(e)||Pn()}function Nn(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xn(e){var t=Nn(e,"string");return typeof t=="symbol"?t:t+""}function Fn(e,t){if(e){if(typeof e=="string")return Ee(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}var _e={activateTrap:function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var a=e.indexOf(t);a===-1||e.splice(a,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Rn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},In=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},H=function(e){return e?.key==="Tab"||e?.keyCode===9},Cn=function(e){return H(e)&&!e.shiftKey},jn=function(e){return H(e)&&e.shiftKey},qe=function(e){return setTimeout(e,0)},W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return typeof e=="function"?e.apply(void 0,n):e},te=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Gn=[],Mn=function(e,t){var n=t?.document||document,a=t?.trapStack||Gn,i=$e({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Cn,isKeyBackward:jn},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,u=function(o,l,d){return o&&o[l]!==void 0?o[l]:i[d||l]},c=function(o,l){var d=typeof l?.composedPath=="function"?l.composedPath():void 0;return r.containerGroups.findIndex(function(g){var y=g.container,T=g.tabbableNodes;return y.contains(o)||d?.includes(y)||T.find(function(m){return m===o})})},p=function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=l.hasFallback,g=d===void 0?!1:d,y=l.params,T=y===void 0?[]:y,m=i[o];if(typeof m=="function"&&(m=m.apply(void 0,Dn(T))),m===!0&&(m=void 0),!m){if(m===void 0||m===!1)return m;throw new Error("`".concat(o,"` was specified but was not a node, or did not return a node"))}var O=m;if(typeof m=="string"){try{O=n.querySelector(m)}catch(k){throw new Error("`".concat(o,'` appears to be an invali
2d selector; error="').concat(k.message,'"'))}if(!O&&!g)throw new Error("`".concat(o,"` as selector refers to no known node"))}return O},v=function(){var o=p("initialFocus",{hasFallback:!0});if(o===!1)return!1;if(o===void 0||o&&!me(o,i.tabbableOptions))if(c(n.activeElement)>=0)o=n.activeElement;else{var l=r.tabbableGroups[0],d=l&&l.firstTabbableNode;o=d||p("fallbackFocus")}else o===null&&(o=p("fallbackFocus"));if(!o)throw new Error("Your focus-trap needs to have at least one focusable element");return o},h=function(){if(r.containerGroups=r.containers.map(function(o){var l=Sn(o,i.tabbableOptions),d=En(o,i.tabbableOptions),g=l.length>0?l[0]:void 0,y=l.length>0?l[l.length-1]:void 0,T=d.find(function(k){return V(k)}),m=d.slice().reverse().find(function(k){return V(k)}),O=!!l.find(function(k){return B(k)>0});return{container:o,tabbableNodes:l,focusableNodes:d,posTabIndexesFound:O,firstTabbableNode:g,lastTabbableNode:y,firstDomTabbableNode:T,lastDomTabbableNode:m,nextTabbableNode:function(k){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,z=l.indexOf(k);return z<0?q?d.slice(d.indexOf(k)+1).find(function(j){return V(j)}):d.slice(0,d.indexOf(k)).reverse().find(function(j){return V(j)}):l[z+(q?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(o){return o.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!p("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(o){return o.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function(o){var l=o.activeElement;if(l)return l.shadowRoot&&l.shadowRoot.activeElement!==null?f(l.shadowRoot):l},S=function(o){if(o!==!1&&o!==f(document)){if(!o||!o.focus){S(v());return}o.focus({preventScroll:!!i.preventScroll}),r.mostRecentlyFocusedNode=o,Rn(o)&&o.select()}},P=function(o){var l=p("setReturnFocus",{params:[o]});return l||(l===!1?!1:o)},D=function(o){var l=o.target,d=o.event,g=o.isBackward,y=g===void 0?!1:g;l=l||te(d),h();var T=null;if(r.tabbableGroups.length>0){var m=c(l,d),O=m>=0?r.containerGroups[m]:void 0;if(m<0)y?T=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:T=r.tabbableGroups[0].firstTabbableNode;else if(y){var k=r.tabbableGroups.findIndex(function(ue){var ce=ue.firstTabbableNode;return l===ce});if(k<0&&(O.container===l||me(l,i.tabbableOptions)&&!V(l,i.tabbableOptions)&&!O.nextTabbableNode(l,!1))&&(k=m),k>=0){var q=k===0?r.tabbableGroups.length-1:k-1,z=r.tabbableGroups[q];T=B(l)>=0?z.lastTabbableNode:z.lastDomTabbableNode}else H(d)||(T=O.nextTabbableNode(l,!1))}else{var j=r.tabbableGroups.findIndex(function(ue){var ce=ue.lastTabbableNode;return l===ce});if(j<0&&(O.container===l||me(l,i.tabbableOptions)&&!V(l,i.tabbableOptions)&&!O.nextTabbableNode(l))&&(j=m),j>=0){var lt=j===r.tabbableGroups.length-1?0:j+1,Oe=r.tabbableGroups[lt];T=B(l)>=0?Oe.firstTabbableNode:Oe.firstDomTabbableNode}else H(d)||(T=O.nextTabbableNode(l))}}else T=p("fallbackFocus");return T},R=function(o){var l=te(o);if(!(c(l,o)>=0)){if(W(i.clickOutsideDeactivates,o)){s.deactivate({returnFocus:i.returnFocusOnDeactivate});return}W(i.allowOutsideClick,o)||o.preventDefault()}},G=function(o){var l=te(o),d=c(l,o)>=0;if(d||l instanceof Document)d&&(r.mostRecentlyFocusedNode=l);else{o.stopImmediatePropagation();var g,y=!0;if(r.mostRecentlyFocusedNode)if(B(r.mostRecentlyFocusedNode)>0){var T=c(r.mostRecentlyFocusedNode),m=r.containerGroups[T].tabbableNodes;if(m.length>0){var O=m.findIndex(function(k){return k===r.mostRecentlyFocusedNode});O>=0&&(i.isKeyForward(r.recentNavEvent)?O+1<m.length&&(g=m[O+1],y=!1):O-1>=0&&(g=m[O-1],y=!1))}}else r.containerGroups.some(function(k){return k.tabbableNodes.some(function(q){return B(q)>0})})||(y=!1);else y=!1;y&&(g=D({target:r.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(r.recentNavEvent)})),S(g||r.mostRecentlyFocusedNode||v())}r.recentNavEvent=void 0},E=function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=o;var d=D({event:o,isBackward:l});d&&(H(o)&&o.preventDefault(),S(d))},x=function(o){(i.isKeyForward(o)||i.isKeyBackward(o))&&E(o,i.isKeyBackward(o))},A=function(o){In(o)&&W(i.escapeDeactivates,o)!==!1&&(o.preventDefault(),s.deactivate())},I=function(o){var l=te(o);c(l,o)>=0||W(i.clickOutsideDeactivates,o)||W(i.allowOutsideClick,o)||(o.preventDefault(),o.stopImmediatePropagation())},N=function(){if(r.active)return _e.activateTrap(a,s),r.delayInitialFocusTimer=i.delayInitialFocus?qe(function(){S(v())}):S(v()),n.addEventListener("focusin",G,!0),n.addEventListener("mousedown",R,{capture:!0,passive:!1}),n.addEventListener("touchstart",R,{capture:!0,passive:!1}),n.addEventListener("click",I,{capture:!0,passive:!1}),n.addEventListener("keydown",x,{capture:!0,passive:!1}),n.addEventListener("keydown",A),s},C=function(){if(r.active)return n.removeEventListener("focusin",G,!0),n.removeEventListener("mousedown",R,!0),n.removeEventListener("touchstart",R,!0),n.removeEventListener("click",I,!0),n.removeEventListener("keydown",x,!0),n.removeEventListener("keydown",A),s},w=function(o){var l=o.some(function(d){var g=Array.from(d.removedNodes
vendor: 4,582 bytes, lines 2-15
2);return g.some(function(y){return y===r.mostRecentlyFocusedNode})});l&&S(v())},_=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(w):void 0,b=function(){_&&(_.disconnect(),r.active&&!r.paused&&r.containers.map(function(o){_.observe(o,{subtree:!0,childList:!0})}))};return s={get active(){return r.active},get paused(){return r.paused},activate:function(o){if(r.active)return this;var l=u(o,"onActivate"),d=u(o,"onPostActivate"),g=u(o,"checkCanFocusTrap");g||h(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=n.activeElement,l?.();var y=function(){g&&h(),N(),b(),d?.()};return g?(g(r.containers.concat()).then(y,y),this):(y(),this)},deactivate:function(o){if(!r.active)return this;var l=$e({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},o);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,C(),r.active=!1,r.paused=!1,b(),_e.deactivateTrap(a,s);var d=u(l,"onDeactivate"),g=u(l,"onPostDeactivate"),y=u(l,"checkCanReturnFocus"),T=u(l,"returnFocus","returnFocusOnDeactivate");d?.();var m=function(){qe(function(){T&&S(P(r.nodeFocusedBeforeActivation)),g?.()})};return T&&y?(y(P(r.nodeFocusedBeforeActivation)).then(m,m),this):(m(),this)},pause:function(o){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,o)):this},unpause:function(o){return r.active?(r.manuallyPaused=!1,a[a.length-1]!==this?this:this._setPausedState(!1,o)):this},updateContainerElements:function(o){var l=[].concat(o).filter(Boolean);return r.containers=l.map(function(d){return typeof d=="string"?n.querySelector(d):d}),r.active&&h(),b(),this}},Object.defineProperties(s,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(o,l){if(r.paused===o)return this;if(r.paused=o,o){var d=u(l,"onPause"),g=u(l,"onPostPause");d?.(),C(),b(),g?.()}else{var y=u(l,"onUnpause"),T=u(l,"onPostUnpause");y?.(),h(),N(),b(),T?.()}return this}}}),s.updateContainerElements(e),s},Ln=["modal","open","close"],Bn={animation:{key:"animation",values:["fade","slide-up","slide-down","slide-left","slide-right","grow","shrink","spin"]},easing:{key:"easing",values:["linear","ease","ease-in","ease-out","ease-in-out"]},duration:{key:"duration"},display:{key:"display",values:["block","inline","flex","grid","none","contents","inline-block","inline-flex","inline-grid"],defaultValue:"flex"}},$n=`fs-${Ve}-anchor`,{getAttribute:ne,getSettingSelector:_n,getInstance:qn,queryAllElements:Te}=ht(Ve,Ln,Bn),st=e=>{let t=ne(e,"animation",{filterInvalid:!0}),n=t?Me[t]:Me.fade,a=ne(e,"duration"),i=a?parseFloat(a):void 0,r=ne(e,"easing",{filterInvalid:!0}),s=ne(e,"display",{filterInvalid:!0});return{actions:n,duration:i,easing:r,display:s}},Vn=(e,t,n,a)=>{let{parentElement:i}=e;if(!i)return;let{actions:r,duration:s,easing:u,display:c}=a,p=Kn(e),v=new Comment($n);i.insertBefore(v,e);let h=!1,f,S,P=t.map(E=>de(E,"click",async x=>{x.preventDefault(),!(h||f)&&(h=!0,await Promise.all([r.animateIn(e,{duration:s,easing:u,display:c,target:document.body}),Promise.all(p.map(([A,{actions:I,duration:N,easing:C,display:w}])=>I.animateIn(A,{display:w,duration:N||s,easing:C||u})))]),h=!1,f=!0,S||=Mn(e,{returnFocusOnDeactivate:!0}),S.activate(),[...t,...n].forEach(A=>A.setAttribute(he,"true")))})),D=async E=>{E.preventDefault(),!(h||f===!1)&&(h=!0,await Promise.all([r.animateOut(e,{duration:s,easing:u,target:i,insertAfter:v}),Promise.all(p.map(([x,{actions:A,duration:I,easing:N}])=>A.animateOut(x,{duration:I||s,easing:N||u})))]),i.insertBefore(e,v),h=!1,f=!1,S?.deactivate(),[...t,...n].forEach(x=>x.setAttribute(he,"false")))},R=n.map(E=>de(E,"click",D)),G=de(window,"keydown",E=>{E.key==="Escape"&&D(E)});return()=>{for(let E of P)E();for(let E of R)E();G()}},Kn=e=>{let t=["animation","duration","easing","display"].map(n=>_n(n)).join(",");return[...e.querySelectorAll(t)].map(n=>{let a=st(n);return[n,a]})},Un=e=>{let{parentElement:t}=e;if(!t)return;let n=qn(e),a=Te("open",{instance:n}),i=Te("close",{instance:n});if(!a.length&&!i.length)return;let r=st(e);return on(e,a,i),Vn(e,a,i,r)},ea=async()=>{await yt();let e=Te("modal"),t=e.map(Un).filter(mt);return{result:e,destroy(){for(let n of t)n()}}};/*! Bundled license information:
3
4tabbable/dist/index.esm.js:
5  (*!
6  * tabbable 6.2.0
7  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
8  *)
9
10focus-trap/dist/focus-trap.esm.js:
11  (*!
12  * focus-trap 7.6.4
13  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
14  *)
15*/export{Ln as ELEMENTS,Bn as SETTINGS,ea as init,Jn as version};

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.