pages-landing-page/_app/immutable/chunks/utils.CCeXIeLi.js
2024-10-25 22:04:13 +00:00

2 lines
12 KiB
JavaScript

var Dn=Array.isArray,Cn=Array.from,qn=Object.defineProperty,it=Object.getOwnPropertyDescriptor,Qt=Object.getOwnPropertyDescriptors,Pn=Object.prototype,Fn=Array.prototype,Wt=Object.getPrototypeOf;function Ln(t){return typeof t=="function"}const Xt=()=>{};function Mn(t){return t()}function pt(t){for(var n=0;n<t.length;n++)t[n]()}const m=2,ht=4,Y=8,rt=16,w=32,z=64,R=128,V=256,p=512,x=1024,C=2048,D=4096,j=8192,tn=16384,dt=32768,Hn=65536,nn=1<<18,Et=1<<19,ft=Symbol("$state"),Yn=Symbol("");function yt(t){return t===this.v}function rn(t,n){return t!=t?n==n:t!==n||t!==null&&typeof t=="object"||typeof t=="function"}function wt(t){return!rn(t,this.v)}function en(t){throw new Error("effect_in_teardown")}function sn(){throw new Error("effect_in_unowned_derived")}function an(t){throw new Error("effect_orphan")}function un(){throw new Error("effect_update_depth_exceeded")}function jn(){throw new Error("hydration_failed")}function Bn(t){throw new Error("props_invalid_value")}function Un(){throw new Error("state_descriptors_fixed")}function Vn(){throw new Error("state_prototype_fixed")}function ln(){throw new Error("state_unsafe_local_read")}function on(){throw new Error("state_unsafe_mutation")}function et(t){return{f:0,v:t,reactions:null,equals:yt,version:0}}function Gn(t){return Tt(et(t))}function fn(t,n=!1){var e;const r=et(t);return n||(r.equals=wt),o!==null&&o.l!==null&&((e=o.l).s??(e.s=[])).push(r),r}function Kn(t,n=!1){return Tt(fn(t,n))}function Tt(t){return i!==null&&i.f&m&&(y===null?xn([t]):y.push(t)),t}function mt(t,n){return i!==null&&lt()&&i.f&(m|rt)&&(y===null||!y.includes(t))&&on(),_n(t,n)}function _n(t,n){return t.equals(n)||(t.v=n,t.version=Bt(),At(t,x),lt()&&l!==null&&l.f&p&&!(l.f&w)&&(_!==null&&_.includes(t)?(E(l,x),J(l)):I===null?kn([t]):I.push(t))),n}function At(t,n){var r=t.reactions;if(r!==null)for(var e=lt(),s=r.length,a=0;a<s;a++){var u=r[a],f=u.f;f&x||!e&&u===l||(E(u,n),f&(p|R)&&(f&m?At(u,C):J(u)))}}const $n=1,Zn=2,zn=16,Jn=1,Qn=2,Wn=4,Xn=8,tr=16,nr=1,rr=2,er=4,sr=1,ar=2,cn="[",vn="[!",pn="]",It={},ur=Symbol();function xt(t){console.warn("hydration_mismatch")}let O=!1;function lr(t){O=t}let d;function L(t){if(t===null)throw xt(),It;return d=t}function or(){return L(g(d))}function ir(t){if(O){if(g(d)!==null)throw xt(),It;d=t}}function fr(t=1){if(O){for(var n=t,r=d;n--;)r=g(r);d=r}}function _r(){for(var t=0,n=d;;){if(n.nodeType===8){var r=n.data;if(r===pn){if(t===0)return n;t-=1}else(r===cn||r===vn)&&(t+=1)}var e=g(n);n.remove(),n=e}}var _t,kt,Ot;function cr(){if(_t===void 0){_t=window;var t=Element.prototype,n=Node.prototype;kt=it(n,"firstChild").get,Ot=it(n,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0}}function Q(t=""){return document.createTextNode(t)}function W(t){return kt.call(t)}function g(t){return Ot.call(t)}function vr(t,n){if(!O)return W(t);var r=W(d);if(r===null)r=d.appendChild(Q());else if(n&&r.nodeType!==3){var e=Q();return r==null||r.before(e),L(e),e}return L(r),r}function pr(t,n){if(!O){var r=W(t);return r instanceof Comment&&r.data===""?g(r):r}return d}function hr(t,n=1,r=!1){let e=O?d:t;for(;n--;)e=g(e);if(!O)return e;var s=e.nodeType;if(r&&s!==3){var a=Q();return e==null||e.before(a),L(a),a}return L(e),e}function dr(t){t.textContent=""}function hn(t){var n=m|x;l===null?n|=R:l.f|=Et;const r={children:null,ctx:o,deps:null,equals:yt,f:n,fn:t,reactions:null,v:null,version:0,parent:l};if(i!==null&&i.f&m){var e=i;(e.children??(e.children=[])).push(r)}return r}function Er(t){const n=hn(t);return n.equals=wt,n}function Rt(t){var n=t.children;if(n!==null){t.children=null;for(var r=0;r<n.length;r+=1){var e=n[r];e.f&m?st(e):P(e)}}}function gt(t){var n,r=l;Z(t.parent);try{Rt(t),n=Ut(t)}finally{Z(r)}return n}function St(t){var n=gt(t),r=(S||t.f&R)&&t.deps!==null?C:p;E(t,r),t.equals(n)||(t.v=n,t.version=Bt())}function st(t){Rt(t),H(t,0),E(t,j),t.v=t.children=t.deps=t.ctx=t.reactions=null}function Nt(t){l===null&&i===null&&an(),i!==null&&i.f&R&&sn(),ut&&en()}function dn(t,n){var r=n.last;r===null?n.last=n.first=t:(r.next=t,t.prev=r,n.last=t)}function q(t,n,r,e=!0){var s=(t&z)!==0,a=l,u={ctx:o,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|x,first:null,fn:n,last:null,next:null,parent:s?null:a,prev:null,teardown:null,transitions:null,version:0};if(r){var f=N;try{ct(!0),B(u),u.f|=tn}catch(c){throw P(u),c}finally{ct(f)}}else n!==null&&J(u);var T=r&&u.deps===null&&u.first===null&&u.nodes_start===null&&u.teardown===null&&(u.f&Et)===0;if(!T&&!s&&e&&(a!==null&&dn(u,a),i!==null&&i.f&m)){var A=i;(A.children??(A.children=[])).push(u)}return u}function yr(t){const n=q(Y,null,!1);return E(n,p),n.teardown=t,n}function wr(t){Nt();var n=l!==null&&(l.f&w)!==0&&o!==null&&!o.m;if(n){var r=o;(r.e??(r.e=[])).push({fn:t,effect:l,reaction:i})}else{var e=bt(t);return e}}function Tr(t){return Nt(),at(t)}function mr(t){const n=q(z,t,!0);return()=>{P(n)}}function bt(t){return q(ht,t,!1)}function Ar(t,n){var r=o,e={effect:null,ran:!1};r.l.r1.push(e),e.effect=at(()=>{t(),!e.ran&&(e.ran=!0,mt(r.l.r2,!0),zt(n))})}function Ir(){var t=o;at(()=>{if(Zt(t.l.r2)){for(var n of t.l.r1){var r=n.effect;r.f&p&&E(r,C),F(r)&&B(r),n.ran=!1}t.l.r2.v=!1}})}function at(t){return q(Y,t,!0)}function xr(t){return En(t)}function En(t,n=0){return q(Y|rt|n,t,!0)}function kr(t,n=!0){return q(Y|w,t,!0,n)}function Dt(t){var n=t.teardown;if(n!==null){const r=ut,e=i;vt(!0),$(null);try{n.call(null)}finally{vt(r),$(e)}}}function Ct(t){var n=t.deriveds;if(n!==null){t.deriveds=null;for(var r=0;r<n.length;r+=1)st(n[r])}}function qt(t,n=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var e=r.next;P(r,n),r=e}}function yn(t){for(var n=t.first;n!==null;){var r=n.next;n.f&w||P(n),n=r}}function P(t,n=!0){var r=!1;if((n||t.f&nn)&&t.nodes_start!==null){for(var e=t.nodes_start,s=t.nodes_end;e!==null;){var a=e===s?null:g(e);e.remove(),e=a}r=!0}Ct(t),qt(t,n&&!r),H(t,0),E(t,j);var u=t.transitions;if(u!==null)for(const T of u)T.stop();Dt(t);var f=t.parent;f!==null&&f.first!==null&&Pt(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.parent=t.fn=t.nodes_start=t.nodes_end=null}function Pt(t){var n=t.parent,r=t.prev,e=t.next;r!==null&&(r.next=e),e!==null&&(e.prev=r),n!==null&&(n.first===t&&(n.first=e),n.last===t&&(n.last=r))}function Or(t,n){var r=[];Ft(t,r,!0),wn(r,()=>{P(t),n&&n()})}function wn(t,n){var r=t.length;if(r>0){var e=()=>--r||n();for(var s of t)s.out(e)}else n()}function Ft(t,n,r){if(!(t.f&D)){if(t.f^=D,t.transitions!==null)for(const u of t.transitions)(u.is_global||r)&&n.push(u);for(var e=t.first;e!==null;){var s=e.next,a=(e.f&dt)!==0||(e.f&w)!==0;Ft(e,n,a?r:!1),e=s}}}function Rr(t){Lt(t,!0)}function Lt(t,n){if(t.f&D){t.f^=D,F(t)&&B(t);for(var r=t.first;r!==null;){var e=r.next,s=(r.f&dt)!==0||(r.f&w)!==0;Lt(r,s?n:!1),r=e}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&a.in()}}const Tn=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let G=!1,K=!1,X=[],tt=[];function Mt(){G=!1;const t=X.slice();X=[],pt(t)}function Ht(){K=!1;const t=tt.slice();tt=[],pt(t)}function gr(t){G||(G=!0,queueMicrotask(Mt)),X.push(t)}function Sr(t){K||(K=!0,Tn(Ht)),tt.push(t)}function mn(){G&&Mt(),K&&Ht()}function An(t){throw new Error("lifecycle_outside_component")}const Yt=0,In=1;let U=Yt,M=!1,N=!1,ut=!1;function ct(t){N=t}function vt(t){ut=t}let k=[],b=0;let i=null;function $(t){i=t}let l=null;function Z(t){l=t}let y=null;function xn(t){y=t}let _=null,h=0,I=null;function kn(t){I=t}let jt=0,S=!1,o=null;function Bt(){return++jt}function lt(){return o!==null&&o.l===null}function F(t){var u,f;var n=t.f;if(n&x)return!0;if(n&C){var r=t.deps,e=(n&R)!==0;if(r!==null){var s;if(n&V){for(s=0;s<r.length;s++)((u=r[s]).reactions??(u.reactions=[])).push(t);t.f^=V}for(s=0;s<r.length;s++){var a=r[s];if(F(a)&&St(a),e&&l!==null&&!S&&!((f=a==null?void 0:a.reactions)!=null&&f.includes(t))&&(a.reactions??(a.reactions=[])).push(t),a.version>t.version)return!0}}e||E(t,p)}return!1}function On(t,n,r){throw t}function Ut(t){var ot;var n=_,r=h,e=I,s=i,a=S,u=y,f=o,T=t.f;_=null,h=0,I=null,i=T&(w|z)?null:t,S=!N&&(T&R)!==0,y=null,o=t.ctx;try{var A=(0,t.fn)(),c=t.deps;if(_!==null){var v;if(H(t,h),c!==null&&h>0)for(c.length=h+_.length,v=0;v<_.length;v++)c[h+v]=_[v];else t.deps=c=_;if(!S)for(v=h;v<c.length;v++)((ot=c[v]).reactions??(ot.reactions=[])).push(t)}else c!==null&&h<c.length&&(H(t,h),c.length=h);return A}finally{_=n,h=r,I=e,i=s,S=a,y=u,o=f}}function Rn(t,n){let r=n.reactions;if(r!==null){var e=r.indexOf(t);if(e!==-1){var s=r.length-1;s===0?r=n.reactions=null:(r[e]=r[s],r.pop())}}r===null&&n.f&m&&(_===null||!_.includes(n))&&(E(n,C),n.f&(R|V)||(n.f^=V),H(n,0))}function H(t,n){var r=t.deps;if(r!==null)for(var e=n;e<r.length;e++)Rn(t,r[e])}function B(t){var n=t.f;if(!(n&j)){E(t,p);var r=l;l=t;try{Ct(t),n&rt?yn(t):qt(t),Dt(t);var e=Ut(t);t.teardown=typeof e=="function"?e:null,t.version=jt}catch(s){On(s)}finally{l=r}}}function Vt(){b>1e3&&(b=0,un()),b++}function Gt(t){var n=t.length;if(n!==0){Vt();var r=N;N=!0;try{for(var e=0;e<n;e++){var s=t[e];s.f&p||(s.f^=p);var a=[];Kt(s,a),gn(a)}}finally{N=r}}}function gn(t){var n=t.length;if(n!==0)for(var r=0;r<n;r++){var e=t[r];!(e.f&(j|D))&&F(e)&&(B(e),e.deps===null&&e.first===null&&e.nodes_start===null&&(e.teardown===null?Pt(e):e.fn=null))}}function Sn(){if(M=!1,b>1001)return;const t=k;k=[],Gt(t),M||(b=0)}function J(t){U===Yt&&(M||(M=!0,queueMicrotask(Sn)));for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(r&(z|w)){if(!(r&p))return;n.f^=p}}k.push(n)}function Kt(t,n){var r=t.first,e=[];t:for(;r!==null;){var s=r.f,a=(s&w)!==0,u=a&&(s&p)!==0;if(!u&&!(s&D))if(s&Y){a?r.f^=p:F(r)&&B(r);var f=r.first;if(f!==null){r=f;continue}}else s&ht&&e.push(r);var T=r.next;if(T===null){let v=r.parent;for(;v!==null;){if(t===v)break t;var A=v.next;if(A!==null){r=A;continue t}v=v.parent}}r=T}for(var c=0;c<e.length;c++)f=e[c],n.push(f),Kt(f,n)}function $t(t){var n=U,r=k;try{Vt();const s=[];U=In,k=s,M=!1,Gt(r);var e=t==null?void 0:t();return mn(),(k.length>0||s.length>0)&&$t(),b=0,e}finally{U=n,k=r}}async function Nr(){await Promise.resolve(),$t()}function Zt(t){var f;var n=t.f,r=(n&m)!==0;if(r&&n&j){var e=gt(t);return st(t),e}if(i!==null){y!==null&&y.includes(t)&&ln();var s=i.deps;_===null&&s!==null&&s[h]===t?h++:_===null?_=[t]:_.push(t),I!==null&&l!==null&&l.f&p&&!(l.f&w)&&I.includes(t)&&(E(l,x),J(l))}else if(r&&t.deps===null){var a=t,u=a.parent;u!==null&&!((f=u.deriveds)!=null&&f.includes(a))&&(u.deriveds??(u.deriveds=[])).push(a)}return r&&(a=t,F(a)&&St(a)),t.v}function zt(t){const n=i;try{return i=null,t()}finally{i=n}}const Nn=~(x|C|p);function E(t,n){t.f=t.f&Nn|n}function br(t){return Jt().get(t)}function Dr(t,n){return Jt().set(t,n),n}function Jt(t){return o===null&&An(),o.c??(o.c=new Map(bn(o)||void 0))}function bn(t){let n=t.p;for(;n!==null;){const r=n.c;if(r!==null)return r;n=n.p}return null}function Cr(t,n=1){var r=+Zt(t);return mt(t,r+n),r}function qr(t,n=!1,r){o={p:o,c:null,e:null,m:!1,s:t,x:null,l:null},n||(o.l={s:null,u:null,r1:[],r2:et(!1)})}function Pr(t){const n=o;if(n!==null){const u=n.e;if(u!==null){var r=l,e=i;n.e=null;try{for(var s=0;s<u.length;s++){var a=u[s];Z(a.effect),$(a.reaction),bt(a.fn)}}finally{Z(r),$(e)}}o=n.p,n.m=!0}return{}}function Fr(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(ft in t)nt(t);else if(!Array.isArray(t))for(let n in t){const r=t[n];typeof r=="object"&&r&&ft in r&&nt(r)}}}function nt(t,n=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!n.has(t)){n.add(t),t instanceof Date&&t.getTime();for(let e in t)try{nt(t[e],n)}catch{}const r=Wt(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const e=Qt(r);for(let s in e){const a=e[s].get;if(a)try{a.call(t)}catch{}}}}}function Lr(t,n,r){if(t==null)return n(void 0),Xt;const e=zt(()=>t.subscribe(n,r));return e.unsubscribe?()=>e.unsubscribe():e}export{hn as $,wr as A,zt as B,Ar as C,Ir as D,xr as E,vr as F,ir as G,cn as H,hr as I,mt as J,Fr as K,Zt as L,Kn as M,pr as N,En as O,dt as P,Or as Q,bt as R,at as S,gr as T,ft as U,$t as V,qn as W,fn as X,Tr as Y,Nr as Z,Gn as _,rn as a,Pn as a0,Fn as a1,et as a2,Un as a3,ur as a4,it as a5,Vn as a6,Wt as a7,yr as a8,$ as a9,_n as aA,$n as aB,zn as aC,Zn as aD,Ft as aE,wn as aF,P as aG,rt as aH,tn as aI,nr as aJ,Ln as aK,rr as aL,er as aM,lt as aN,Dr as aO,br as aP,fr as aQ,Z as aa,i as ab,sr as ac,ar as ad,Rr as ae,vn as af,_r as ag,Bn as ah,Hn as ai,Wn as aj,wt as ak,Cr as al,w as am,z as an,Jn as ao,Qn as ap,Xn as aq,Er as ar,j as as,tr as at,Qt as au,Sr as av,Yn as aw,Mn as ax,pt as ay,D as az,g as b,It as c,lr as d,L as e,d as f,W as g,or as h,cr as i,pn as j,xt as k,jn as l,dr as m,Xt as n,Cn as o,mr as p,Q as q,kr as r,Lr as s,qr as t,O as u,l as v,Pr as w,o as x,An as y,Dn as z};
//# sourceMappingURL=utils.CCeXIeLi.js.map