@htmlbricks/hb-captcha-google-recaptcha-v2-invisible 0.66.6 → 0.66.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,3 +1,3 @@
1
- (function(Xe){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const et="[",tt="[!",nt="[?",rt="]",Ee={},R=Symbol(),fn="http://www.w3.org/1999/xhtml",un=!1;var on=Array.isArray,an=Array.prototype.indexOf,fe=Array.prototype.includes,cn=Array.from,xe=Object.keys,Re=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,hn=Object.prototype,dn=Array.prototype,_n=Object.getPrototypeOf,st=Object.isExtensible;const vn=()=>{};function pn(e){for(var t=0;t<e.length;t++)e[t]()}function gn(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const b=2,oe=4,it=8,lt=1<<24,z=16,q=32,H=64,Fe=128,C=512,x=1024,S=2048,j=4096,U=8192,J=16384,ee=32768,ft=1<<25,Se=65536,ut=1<<17,$n=1<<18,ae=1<<19,wn=1<<20,te=65536,Me=1<<21,ot=1<<22,pe=1<<23,Le=Symbol("$state"),yn=Symbol("legacy props"),je=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Be=8;function mn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function bn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function En(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sn(){throw new Error("https://svelte.dev/e/hydration_failed")}function kn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Tn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function An(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Nn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function at(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Cn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let B=!1;function ke(e){B=e}let T;function ge(e){if(e===null)throw at(),Ee;return T=e}function ct(){return ge(_e(T))}function On(e=1){if(B){for(var t=e,n=T;t--;)n=_e(n);T=n}}function Dn(e=!0){for(var t=0,n=T;;){if(n.nodeType===Be){var r=n.data;if(r===rt){if(t===0)return n;t-=1}else(r===et||r===tt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=_e(n);e&&n.remove(),n=s}}function ht(e){return e===this.v}function In(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pn(e){return!In(e,this.v)}let Fn=!1,O=null;function Te(e){O=e}function dt(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:g,l:null}}function _t(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)Lt(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function vt(){return!0}let ne=[];function pt(){var e=ne;ne=[],pn(e)}function ce(e){if(ne.length===0&&!$e){var t=ne;queueMicrotask(()=>{t===ne&&pt()})}ne.push(e)}function Mn(){for(;ne.length>0;)pt()}function gt(e){var t=g;if(t===null)return v.f|=pe,e;if((t.f&ee)===0&&(t.f&oe)===0)throw e;he(e,t)}function he(e,t){for(;t!==null;){if((t.f&Fe)!==0){if((t.f&ee)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Ln=-7169;function E(e,t){e.f=e.f&Ln|t}function Ye(e){(e.f&C)!==0||e.deps===null?E(e,x):E(e,j)}function $t(e){if(e!==null)for(const t of e)(t.f&b)===0||(t.f&te)===0||(t.f^=te,$t(t.deps))}function wt(e,t,n){(e.f&S)!==0?t.add(e):(e.f&j)!==0&&n.add(e),$t(e.deps),E(e,x)}const G=new Set;let y=null,F=null,qe=null,$e=!1,Ve=!1,de=null,Ae=null;var yt=0;let jn=1;class K{id=jn++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#i=new Map;#u=new Map;#l=null;#t=[];#r=new Set;#s=new Set;#f=new Map;is_fork=!1;#c=!1;#o=new Set;#h(){return this.is_fork||this.#u.size>0}#_(){for(const r of this.#o)for(const s of r.#u.keys()){for(var t=!1,n=s;n.parent!==null;){if(this.#f.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#f.has(t)||this.#f.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#f.get(t);if(n){this.#f.delete(t);for(var r of n.d)E(r,S),this.schedule(r);for(r of n.m)E(r,j),this.schedule(r)}}#d(){if(yt++>1e3&&(G.delete(this),Bn()),!this.#h()){for(const l of this.#r)this.#s.delete(l),E(l,S),this.schedule(l);for(const l of this.#s)E(l,j),this.schedule(l)}const t=this.#t;this.#t=[],this.apply();var n=de=[],r=[],s=Ae=[];for(const l of t)try{this.#a(l,n,r)}catch(o){throw Rt(l),o}if(y=null,s.length>0){var i=K.ensure();for(const l of s)i.schedule(l)}if(de=null,Ae=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,o]of this.#f)xt(l,o)}else{this.#i.size===0&&G.delete(this),this.#r.clear(),this.#s.clear();for(const l of this.#e)l(this);this.#e.clear(),mt(r),mt(n),this.#l?.resolve()}var f=y;if(this.#t.length>0){const l=f??=this;l.#t.push(...this.#t.filter(o=>!l.#t.includes(o)))}f!==null&&(G.add(f),f.#d()),G.has(this)||this.#p()}#a(t,n,r){t.f^=x;for(var s=t.first;s!==null;){var i=s.f,f=(i&(q|H))!==0,l=f&&(i&x)!==0,o=l||(i&U)!==0||this.#f.has(s);if(!o&&s.fn!==null){f?s.f^=x:(i&oe)!==0?n.push(s):me(s)&&((i&z)!==0&&this.#s.add(s),ve(s));var u=s.first;if(u!==null){s=u;continue}}for(;s!==null;){var a=s.next;if(a!==null){s=a;break}s=s.parent}}}#v(t){for(var n=0;n<t.length;n+=1)wt(t[n],this.#r,this.#s)}capture(t,n,r=!1){n!==R&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&pe)===0&&(this.current.set(t,[t.v,r]),F?.set(t,t.v))}activate(){y=this}deactivate(){y=null,F=null}flush(){try{Ve=!0,y=this,this.#d()}finally{yt=0,qe=null,de=null,Ae=null,Ve=!1,y=null,F=null,W.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),G.delete(this)}#p(){for(const u of G){var t=u.id<this.id,n=[];for(const[a,[_,c]]of this.current){if(u.current.has(a)){var r=u.current.get(a)[0];if(t&&_!==r)u.current.set(a,[_,c]);else continue}n.push(a)}var s=[...u.current.keys()].filter(a=>!this.current.has(a));if(s.length===0)t&&u.discard();else if(n.length>0){u.activate();var i=new Set,f=new Map;for(var l of n)bt(l,s,i,f);if(u.#t.length>0){u.apply();for(var o of u.#t)u.#a(o,[],[]);u.#t=[]}u.deactivate()}}for(const u of G)u.#o.has(this)&&(u.#o.delete(this),u.#o.size===0&&!u.#h()&&(u.activate(),u.#d()))}increment(t,n){let r=this.#i.get(n)??0;if(this.#i.set(n,r+1),t){let s=this.#u.get(n)??0;this.#u.set(n,s+1)}}decrement(t,n,r){let s=this.#i.get(n)??0;if(s===1?this.#i.delete(n):this.#i.set(n,s-1),t){let i=this.#u.get(n)??0;i===1?this.#u.delete(n):this.#u.set(n,i-1)}this.#c||r||(this.#c=!0,ce(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#r.add(r);for(const r of n)this.#s.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#l??=gn()).promise}static ensure(){if(y===null){const t=y=new K;Ve||(G.add(y),$e||ce(()=>{y===t&&t.flush()}))}return y}apply(){{F=null;return}}schedule(t){if(qe=t,t.b?.is_pending&&(t.f&(oe|it|lt))!==0&&(t.f&ee)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(de!==null&&n===g&&(v===null||(v.f&b)===0))return;if((r&(H|q))!==0){if((r&x)===0)return;n.f^=x}}this.#t.push(n)}}function ze(e){var t=$e;$e=!0;try{for(var n;;){if(Mn(),y===null)return n;y.flush()}}finally{$e=t}}function Bn(){try{Rn()}catch(e){he(e,qe)}}let V=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(J|U))===0&&me(r)&&(V=new Set,ve(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Yt(r),V?.size>0)){W.clear();for(const s of V){if((s.f&(J|U))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)V.has(f)&&(V.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const o=i[l];(o.f&(J|U))===0&&ve(o)}}V.clear()}}V=null}}function bt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&b)!==0?bt(s,t,n,r):(i&(ot|z))!==0&&(i&S)===0&&Et(s,t,r)&&(E(s,S),He(s))}}function Et(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(fe.call(t,s))return!0;if((s.f&b)!==0&&Et(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function He(e){y.schedule(e)}function xt(e,t){if(!((e.f&q)!==0&&(e.f&x)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&j)!==0&&t.m.push(e),E(e,x);for(var n=e.first;n!==null;)xt(n,t),n=n.next}}function Rt(e){E(e,x);for(var t=e.first;t!==null;)Rt(t),t=t.next}function Yn(e){let t=0,n=Ne(0),r;return()=>{Ke()&&($(n),jt(()=>(t===0&&(r=Zt(()=>e(()=>we(n)))),t+=1,()=>{ce(()=>{t-=1,t===0&&(r?.(),r=void 0,we(n))})})))}}var qn=Se|ae;function Vn(e,t,n,r){new zn(e,t,n,r)}class zn{parent;is_pending=!1;transform_error;#e;#n=B?T:null;#i;#u;#l;#t=null;#r=null;#s=null;#f=null;#c=0;#o=0;#h=!1;#_=new Set;#d=new Set;#a=null;#v=Yn(()=>(this.#a=Ne(this.#c),()=>{this.#a=null}));constructor(t,n,r,s){this.#e=t,this.#i=n,this.#u=i=>{var f=g;f.b=this,f.f|=Fe,r(i)},this.parent=g.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#l=sr(()=>{if(B){const i=this.#n;ct();const f=i.data===tt;if(i.data.startsWith(nt)){const o=JSON.parse(i.data.slice(nt.length));this.#m(o)}else f?this.#b():this.#p()}else this.#w()},qn),B&&(this.#e=T)}#p(){try{this.#t=se(()=>this.#u(this.#e))}catch(t){this.error(t)}}#m(t){const n=this.#i.failed;n&&(this.#s=se(()=>{n(this.#e,()=>t,()=>()=>{})}))}#b(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#r=se(()=>t(this.#e)),ce(()=>{var n=this.#f=document.createDocumentFragment(),r=It();n.append(r),this.#t=this.#$(()=>se(()=>this.#u(r))),this.#o===0&&(this.#e.before(n),this.#f=null,Ce(this.#r,()=>{this.#r=null}),this.#g(y))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#o=0,this.#c=0,this.#t=se(()=>{this.#u(this.#e)}),this.#o>0){var t=this.#f=document.createDocumentFragment();fr(this.#t,t);const n=this.#i.pending;this.#r=se(()=>n(this.#e))}else this.#g(y)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){wt(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#$(t){var n=g,r=v,s=O;Q(this.#l),Y(this.#l),Te(this.#l.ctx);try{return K.ensure(),t()}catch(i){return gt(i),null}finally{Q(n),Y(r),Te(s)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#o+=t,this.#o===0&&(this.#g(n),this.#r&&Ce(this.#r,()=>{this.#r=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#a||this.#h)&&(this.#h=!0,ce(()=>{this.#h=!1,this.#a&&At(this.#a,this.#c)}))}get_effect_pending(){return this.#v(),$(this.#a)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(!n&&!r)throw t;this.#t&&(M(this.#t),this.#t=null),this.#r&&(M(this.#r),this.#r=null),this.#s&&(M(this.#s),this.#s=null),B&&(ge(this.#n),On(),ge(Dn()));var s=!1,i=!1;const f=()=>{if(s){Cn();return}s=!0,i&&Nn(),this.#s!==null&&Ce(this.#s,()=>{this.#s=null}),this.#$(()=>{this.#w()})},l=o=>{try{i=!0,n?.(o,f),i=!1}catch(u){he(u,this.#l&&this.#l.parent)}r&&(this.#s=this.#$(()=>{try{return se(()=>{var u=g;u.b=this,u.f|=Fe,r(this.#e,()=>o,()=>f)})}catch(u){return he(u,this.#l.parent),null}}))};ce(()=>{var o;try{o=this.transform_error(t)}catch(u){he(u,this.#l&&this.#l.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(l,u=>he(u,this.#l&&this.#l.parent)):l(o)})}}function Hn(e){var t=b|S,n=v!==null&&(v.f&b)!==0?v:null;return g!==null&&(g.f|=ae),{ctx:O,deps:null,effects:null,equals:ht,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:n??g,ac:null}}function Un(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)M(t[n])}}function Jn(e){for(var t=e.parent;t!==null;){if((t.f&b)===0)return(t.f&J)===0?t:null;t=t.parent}return null}function Ue(e){var t,n=g;Q(Jn(e));try{e.f&=~te,Un(e),t=Gt(e)}finally{Q(n)}return t}function St(e){var t=e.v,n=Ue(e);if(!e.equals(n)&&(e.wv=Ut(),(!y?.is_fork||e.deps===null)&&(e.v=n,y?.capture(e,t,!0),e.deps===null))){E(e,x);return}Z||(F!==null?(Ke()||y?.is_fork)&&F.set(e,n):Ye(e))}function Gn(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(je),t.teardown=vn,t.ac=null,be(t,0),We(t))}function kt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&ve(t)}let Je=new Set;const W=new Map;let Tt=!1;function Ne(e,t){var n={f:0,v:e,reactions:null,equals:ht,rv:0,wv:0};return n}function D(e,t){const n=Ne(e);return ur(n),n}function Kn(e,t=!1,n=!0){const r=Ne(e);return t||(r.equals=Pn),r}function A(e,t,n=!1){v!==null&&(!L||(v.f&ut)!==0)&&vt()&&(v.f&(b|z|ot|ut))!==0&&(I===null||!fe.call(I,e))&&An();let r=n?ye(t):t;return At(e,r,Ae)}function At(e,t,n=null){if(!e.equals(t)){var r=e.v;Z?W.set(e,t):W.set(e,r),e.v=t;var s=K.ensure();if(s.capture(e,r),(e.f&b)!==0){const i=e;(e.f&S)!==0&&Ue(i),F===null&&Ye(i)}e.wv=Ut(),Nt(e,S,n),g!==null&&(g.f&x)!==0&&(g.f&(q|H))===0&&(P===null?or([e]):P.push(e)),!s.is_fork&&Je.size>0&&!Tt&&Wn()}return t}function Wn(){Tt=!1;for(const e of Je)(e.f&x)!==0&&E(e,j),me(e)&&ve(e);Je.clear()}function we(e){A(e,e.v+1)}function Nt(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var f=r[i],l=f.f,o=(l&S)===0;if(o&&E(f,t),(l&b)!==0){var u=f;F?.delete(u),(l&te)===0&&(l&C&&(f.f|=te),Nt(u,j,n))}else if(o){var a=f;(l&z)!==0&&V!==null&&V.add(a),n!==null?n.push(a):He(a)}}}function ye(e){if(typeof e!="object"||e===null||Le in e)return e;const t=_n(e);if(t!==hn&&t!==dn)return e;var n=new Map,r=on(e),s=D(0),i=le,f=l=>{if(le===i)return l();var o=v,u=le;Y(null),Ht(i);var a=l();return Y(o),Ht(u),a};return r&&n.set("length",D(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&kn();var a=n.get(o);return a===void 0?f(()=>{var _=D(u.value);return n.set(o,_),_}):A(a,u.value,!0),!0},deleteProperty(l,o){var u=n.get(o);if(u===void 0){if(o in l){const a=f(()=>D(R));n.set(o,a),we(s)}}else A(u,R),we(s);return!0},get(l,o,u){if(o===Le)return e;var a=n.get(o),_=o in l;if(a===void 0&&(!_||ue(l,o)?.writable)&&(a=f(()=>{var p=ye(_?l[o]:R),h=D(p);return h}),n.set(o,a)),a!==void 0){var c=$(a);return c===R?void 0:c}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var a=n.get(o);a&&(u.value=$(a))}else if(u===void 0){var _=n.get(o),c=_?.v;if(_!==void 0&&c!==R)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,o){if(o===Le)return!0;var u=n.get(o),a=u!==void 0&&u.v!==R||Reflect.has(l,o);if(u!==void 0||g!==null&&(!a||ue(l,o)?.writable)){u===void 0&&(u=f(()=>{var c=a?ye(l[o]):R,p=D(c);return p}),n.set(o,u));var _=$(u);if(_===R)return!1}return a},set(l,o,u,a){var _=n.get(o),c=o in l;if(r&&o==="length")for(var p=u;p<_.v;p+=1){var h=n.get(p+"");h!==void 0?A(h,R):p in l&&(h=f(()=>D(R)),n.set(p+"",h))}if(_===void 0)(!c||ue(l,o)?.writable)&&(_=f(()=>D(void 0)),A(_,ye(u)),n.set(o,_));else{c=_.v!==R;var d=f(()=>ye(u));A(_,d)}var m=Reflect.getOwnPropertyDescriptor(l,o);if(m?.set&&m.set.call(a,u),!c){if(r&&typeof o=="string"){var w=n.get("length"),X=Number(o);Number.isInteger(X)&&X>=w.v&&A(w,X+1)}we(s)}return!0},ownKeys(l){$(s);var o=Reflect.ownKeys(l).filter(_=>{var c=n.get(_);return c===void 0||c.v!==R});for(var[u,a]of n)a.v!==R&&!(u in l)&&o.push(u);return o},setPrototypeOf(){Tn()}})}var Ct,Ot,Dt;function Ge(){if(Ct===void 0){Ct=window;var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ot=ue(t,"firstChild").get,Dt=ue(t,"nextSibling").get,st(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),st(n)&&(n.__t=void 0)}}function It(e=""){return document.createTextNode(e)}function Zn(e){return Ot.call(e)}function _e(e){return Dt.call(e)}function Qn(e){e.textContent=""}function Pt(e,t,n){return document.createElementNS(fn,e,void 0)}function Ft(e){var t=v,n=g;Y(null),Q(null);try{return e()}finally{Y(t),Q(n)}}function Xn(e){g===null&&(v===null&&xn(),En()),Z&&bn()}function er(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function re(e,t){var n=g;n!==null&&(n.f&U)!==0&&(e|=U);var r={ctx:O,deps:null,nodes:null,f:e|S|C,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&oe)!==0)de!==null?de.push(r):K.ensure().schedule(r);else if(t!==null){try{ve(r)}catch(f){throw M(r),f}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&ae)===0&&(s=s.first,(e&z)!==0&&(e&Se)!==0&&s!==null&&(s.f|=Se))}if(s!==null&&(s.parent=n,n!==null&&er(s,n),v!==null&&(v.f&b)!==0&&(e&H)===0)){var i=v;(i.effects??=[]).push(s)}return r}function Ke(){return v!==null&&!L}function Mt(e){Xn();var t=g.f,n=!v&&(t&q)!==0&&(t&ee)===0;if(n){var r=O;(r.e??=[]).push(e)}else return Lt(e)}function Lt(e){return re(oe|wn,e)}function tr(e){K.ensure();const t=re(H|ae,e);return()=>{M(t)}}function nr(e){K.ensure();const t=re(H|ae,e);return(n={})=>new Promise(r=>{n.outro?Ce(t,()=>{M(t),r(void 0)}):(M(t),r(void 0))})}function rr(e){return re(oe,e)}function jt(e,t=0){return re(it|t,e)}function sr(e,t=0){var n=re(z|t,e);return n}function se(e){return re(q|ae,e)}function Bt(e){var t=e.teardown;if(t!==null){const n=Z,r=v;Vt(!0),Y(null);try{t.call(null)}finally{Vt(n),Y(r)}}}function We(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ft(()=>{s.abort(je)});var r=n.next;(n.f&H)!==0?n.parent=null:M(n,t),n=r}}function ir(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&q)===0&&M(t),t=n}}function M(e,t=!0){var n=!1;(t||(e.f&$n)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(lr(e.nodes.start,e.nodes.end),n=!0),E(e,ft),We(e,t&&!n),be(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Bt(e),e.f^=ft,e.f|=J;var s=e.parent;s!==null&&s.first!==null&&Yt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function lr(e,t){for(;e!==null;){var n=e===t?null:_e(e);e.remove(),e=n}}function Yt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ce(e,t,n=!0){var r=[];qt(e,r,!0);var s=()=>{n&&M(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var l of r)l.out(f)}else s()}function qt(e,t,n){if((e.f&U)===0){e.f^=U;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&Se)!==0||(s.f&q)!==0&&(e.f&z)!==0;qt(s,t,f?n:!1),s=i}}}function fr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:_e(n);t.append(n),n=s}}let Oe=!1,Z=!1;function Vt(e){Z=e}let v=null,L=!1;function Y(e){v=e}let g=null;function Q(e){g=e}let I=null;function ur(e){v!==null&&(I===null?I=[e]:I.push(e))}let k=null,N=0,P=null;function or(e){P=e}let zt=1,ie=0,le=ie;function Ht(e){le=e}function Ut(){return++zt}function me(e){var t=e.f;if((t&S)!==0)return!0;if(t&b&&(e.f&=~te),(t&j)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(me(i)&&St(i),i.wv>e.wv)return!0}(t&C)!==0&&F===null&&E(e,x)}return!1}function Jt(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&fe.call(I,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&b)!==0?Jt(i,t,!1):t===i&&(n?E(i,S):(i.f&x)!==0&&E(i,j),He(i))}}function Gt(e){var t=k,n=N,r=P,s=v,i=I,f=O,l=L,o=le,u=e.f;k=null,N=0,P=null,v=(u&(q|H))===0?e:null,I=null,Te(e.ctx),L=!1,le=++ie,e.ac!==null&&(Ft(()=>{e.ac.abort(je)}),e.ac=null);try{e.f|=Me;var a=e.fn,_=a();e.f|=ee;var c=e.deps,p=y?.is_fork;if(k!==null){var h;if(p||be(e,N),c!==null&&N>0)for(c.length=N+k.length,h=0;h<k.length;h++)c[N+h]=k[h];else e.deps=c=k;if(Ke()&&(e.f&C)!==0)for(h=N;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!p&&c!==null&&N<c.length&&(be(e,N),c.length=N);if(vt()&&P!==null&&!L&&c!==null&&(e.f&(b|j|S))===0)for(h=0;h<P.length;h++)Jt(P[h],e);if(s!==null&&s!==e){if(ie++,s.deps!==null)for(let d=0;d<n;d+=1)s.deps[d].rv=ie;if(t!==null)for(const d of t)d.rv=ie;P!==null&&(r===null?r=P:r.push(...P))}return(e.f&pe)!==0&&(e.f^=pe),_}catch(d){return gt(d)}finally{e.f^=Me,k=t,N=n,P=r,v=s,I=i,Te(f),L=l,le=o}}function ar(e,t){let n=t.reactions;if(n!==null){var r=an.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&b)!==0&&(k===null||!fe.call(k,t))){var i=t;(i.f&C)!==0&&(i.f^=C,i.f&=~te),Ye(i),Gn(i),be(i,0)}}function be(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ar(e,n[r])}function ve(e){var t=e.f;if((t&J)===0){E(e,x);var n=g,r=Oe;g=e,Oe=!0;try{(t&(z|lt))!==0?ir(e):We(e),Bt(e);var s=Gt(e);e.teardown=typeof s=="function"?s:null,e.wv=zt;var i;un&&Fn&&(e.f&S)!==0&&e.deps}finally{Oe=r,g=n}}}function $(e){var t=e.f,n=(t&b)!==0;if(v!==null&&!L){var r=g!==null&&(g.f&J)!==0;if(!r&&(I===null||!fe.call(I,e))){var s=v.deps;if((v.f&Me)!==0)e.rv<ie&&(e.rv=ie,k===null&&s!==null&&s[N]===e?N++:k===null?k=[e]:k.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:fe.call(i,v)||i.push(v)}}}if(Z&&W.has(e))return W.get(e);if(n){var f=e;if(Z){var l=f.v;return((f.f&x)===0&&f.reactions!==null||Wt(f))&&(l=Ue(f)),W.set(f,l),l}var o=(f.f&C)===0&&!L&&v!==null&&(Oe||(v.f&C)!==0),u=(f.f&ee)===0;me(f)&&(o&&(f.f|=C),St(f)),o&&!u&&(kt(f),Kt(f))}if(F?.has(e))return F.get(e);if((e.f&pe)!==0)throw e.v;return e.v}function Kt(e){if(e.f|=C,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&b)!==0&&(t.f&C)===0&&(kt(t),Kt(t))}function Wt(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(W.has(t)||(t.f&b)!==0&&Wt(t))return!0;return!1}function Zt(e){var t=L;try{return L=!0,e()}finally{L=t}}const De=Symbol("events"),cr=new Set,Qt=new Set;let Xt=null;function en(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Xt=e;var f=0,l=Xt===e&&e[De];if(l){var o=s.indexOf(l);if(o!==-1&&(t===document||t===window)){e[De]=t;return}var u=s.indexOf(t);if(u===-1)return;o<=u&&(f=o)}if(i=s[f]||e.target,i!==t){Re(e,"currentTarget",{configurable:!0,get(){return i||n}});var a=v,_=g;Y(null),Q(null);try{for(var c,p=[];i!==null;){var h=i.assignedSlot||i.parentNode||i.host||null;try{var d=i[De]?.[r];d!=null&&(!i.disabled||e.target===i)&&d.call(i,e)}catch(m){c?p.push(m):c=m}if(e.cancelBubble||h===t||h===null)break;i=h}if(c){for(let m of p)queueMicrotask(()=>{throw m});throw c}}finally{e[De]=t,delete e.currentTarget,Y(a),Q(_)}}}function hr(e,t){var n=g;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function dr(e,t){if(B){var n=g;((n.f&ee)===0||n.nodes.end===null)&&(n.nodes.end=T),ct();return}e!==null&&e.before(t)}const _r=["touchstart","touchmove"];function vr(e){return _r.includes(e)}function tn(e,t){return nn(e,t)}function pr(e,t){Ge(),t.intro=t.intro??!1;const n=t.target,r=B,s=T;try{for(var i=Zn(n);i&&(i.nodeType!==Be||i.data!==et);)i=_e(i);if(!i)throw Ee;ke(!0),ge(i);const f=nn(e,{...t,anchor:i});return ke(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==Ee&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Sn(),Ge(),Qn(n),ke(!1),tn(e,t)}finally{ke(r),ge(s)}}const Ie=new Map;function nn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0,transformError:l}){Ge();var o=void 0,u=nr(()=>{var a=n??t.appendChild(It());Vn(a,{pending:()=>{}},p=>{dt({});var h=O;if(i&&(h.c=i),s&&(r.$$events=s),B&&hr(p,null),o=e(p,r)||{},B&&(g.nodes.end=T,T===null||T.nodeType!==Be||T.data!==rt))throw at(),Ee;_t()},l);var _=new Set,c=p=>{for(var h=0;h<p.length;h++){var d=p[h];if(!_.has(d)){_.add(d);var m=vr(d);for(const Qe of[t,document]){var w=Ie.get(Qe);w===void 0&&(w=new Map,Ie.set(Qe,w));var X=w.get(d);X===void 0?(Qe.addEventListener(d,en,{passive:m}),w.set(d,1)):w.set(d,X+1)}}}};return c(cn(cr)),Qt.add(c),()=>{for(var p of _)for(const m of[t,document]){var h=Ie.get(m),d=h.get(p);--d==0?(m.removeEventListener(p,en),h.delete(p),h.size===0&&Ie.delete(m)):h.set(p,d)}Qt.delete(c),a!==n&&a.parentNode?.removeChild(a)}});return Ze.set(o,u),o}let Ze=new WeakMap;function gr(e,t){const n=Ze.get(e);return n?(Ze.delete(e),n(t)):Promise.resolve()}function $r(e){O===null&&mn(),Mt(()=>{const t=Zt(e);if(typeof t=="function")return t})}function wr(e,t){rr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=Pt("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function rn(e,t,n,r){var s=r,i=!0,f=()=>(i&&(i=!1,s=r),s),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var o;o=()=>{var c=e[t];return c===void 0?f():(i=!0,c)};var u=!1,a=Hn(()=>(u=!1,o())),_=g;return(function(c,p){if(arguments.length>0){const h=p?$(a):c;return A(a,h),u=!0,s!==void 0&&(s=h),c}return Z&&u||(_.f&J)!==0?a.v:$(a)})}function yr(e){return new mr(e)}class mr{#e;#n;constructor(t){var n=new Map,r=(i,f)=>{var l=Kn(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return $(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===yn?!0:($(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return A(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#n=(t.hydrate?pr:tn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&ze(),this.#e=s.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||Re(this,i,{get(){return this.#n[i]},set(f){this.#n[i]=f},enumerable:!0});this.#n.$set=i=>{Object.assign(s,i)},this.#n.$destroy=()=>{gr(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#n.$destroy()}}let sn;typeof HTMLElement=="function"&&(sn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=Pt("slot");r!=="default"&&(i.name=r),dr(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=br(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=Pe(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=yr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=tr(()=>{jt(()=>{this.$$r=!0;for(const r of xe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=Pe(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Pe(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return xe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Pe(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function br(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Er(e,t,n,r,s,i){let f=class extends sn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return xe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return xe(t).forEach(l=>{Re(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Pe(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var a=ue(u,l)?.get;a?u[l]=o:u.$set({[l]:o})}}})}),r.forEach(l=>{Re(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}const xr={hash:"svelte-jp2xil",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}'};function ln(e,t){dt(t,!0),wr(e,xr);let n=rn(t,"api_key",7,""),r=rn(t,"get",7,void 0);const s="recaptchav2",i=s+"-sdk",f=s+"-element";let l=D(void 0);function o(d,m){t.$$host.dispatchEvent(new CustomEvent(d,{detail:m}))}let u=D(!1),a=D(!1),_=D(!1);function c(){if(!$(l))return console.error("no captcha util loaded");$(l).render(f,{sitekey:n(),callback:d=>{console.log("googleRecaptchaV2Response",d),A(_,!0),o("googleRecaptchaV2Response",{response:d})}}),o("googleRecaptchaRendered",{render:!0}),A(u,!0)}function p(){if(!$(l))return console.error("no captcha util loaded");if(!$(_))return $(l).execute();console.info("resetting captcha"),$(l).reset(),$(l).execute()}Mt(()=>{let d=0;console.log("render "+d,r()),d++,$(u)&&$(a)&&r()!==null?(console.info("executing recaptcha another time"),p()):$(u)&&A(a,!0)}),$r(()=>{if(!document.getElementById(f)&&!$(l)){const w=document.createElement("div");w.id=f,w.setAttribute("data-size","invisible"),document.body.appendChild(w)}if(!document.getElementById(i)&&!$(l)){const w=document.createElement("script");w.id=i,w.async=!0,w.defer=!0,w.src="https://www.google.com/recaptcha/api.js?render=explicit",document.head.appendChild(w)}let d;function m(w){$(l)||(d=setTimeout(()=>{if(n())if(A(l,window.grecaptcha,!0),$(l))try{console.info("using recaptcha api key:",n()),c(),p()}catch(X){console.log("grecaptcha error",X)}else m(2e3),console.error("Captcha utils not loaded");else m(2e3),console.error("no api key")},w))}return m(1e3),()=>{d&&clearTimeout(d),document.getElementById(i)&&document.getElementById(i)?.remove(),document.getElementById(f)&&document.getElementById(f)?.remove(),window.grecaptcha=void 0}});var h={get api_key(){return n()},set api_key(d=""){n(d),ze()},get get(){return r()},set get(d=void 0){r(d),ze()}};return _t(h)}customElements.define("hb-captcha-google-recaptcha-v2-invisible",Er(ln,{api_key:{},get:{}},[],[],{mode:"open"})),Xe.Component=ln,Object.defineProperty(Xe,Symbol.toStringTag,{value:"Module"})})(this["captcha-google-recaptcha-v2-invisible"]=this["captcha-google-recaptcha-v2-invisible"]||{});
3
- //# sourceMappingURL=main.iife.js.map
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=Array.isArray,i=Array.prototype.indexOf,a=Array.prototype.includes,o=Array.from,s=Object.keys,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.prototype,d=Array.prototype,f=Object.getPrototypeOf,p=Object.isExtensible,m=()=>{};function h(e){for(var t=0;t<e.length;t++)e[t]()}function ee(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var g=1024,_=2048,v=4096,te=8192,ne=16384,re=32768,ie=1<<25,ae=65536,oe=1<<19,se=1<<20,ce=65536,le=1<<21,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"};globalThis.document?.contentType;function me(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function he(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ge(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function _e(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ve(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function ye(){throw Error(`https://svelte.dev/e/hydration_failed`)}function be(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function xe(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Se(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ce(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function we(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Te(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ee(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var y=!1;function De(e){y=e}var b;function Oe(e){if(e===null)throw Te(),t;return b=e}function ke(){return Oe(I(b))}function Ae(e=1){if(y){for(var t=e,n=b;t--;)n=I(n);b=n}}function je(e=!0){for(var t=0,n=b;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=I(n);e&&n.remove(),n=i}}function Me(e){return e===this.v}function Ne(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Pe(e){return!Ne(e,this.v)}var x=!1,Fe=!1,S=null;function Ie(e){S=e}function Le(e,t=!1,n){S={p:S,i:!1,c:null,e:null,s:e,x:null,r:W,l:Fe&&!t?{s:null,u:null,$:[]}:null}}function Re(e){var t=S,n=t.e;if(n!==null){t.e=null;for(var r of n)Wt(r)}return e!==void 0&&(t.x=e),t.i=!0,S=t.p,e??{}}function ze(){return!Fe||S!==null&&S.l===null}var C=[];function Be(){var e=C;C=[],h(e)}function w(e){if(C.length===0&&!Ze){var t=C;queueMicrotask(()=>{t===C&&Be()})}C.push(e)}function Ve(){for(;C.length>0;)Be()}function He(e){var t=W;if(t===null)return V.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;T(e,t)}function T(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Ue=~(_|v|g);function E(e,t){e.f=e.f&Ue|t}function We(e){e.f&512||e.deps===null?E(e,g):E(e,v)}function Ge(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ce,Ge(t.deps))}function Ke(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ge(e.deps),E(e,g)}var qe=!1,Je=!1;function Ye(e){var t=Je;try{return Je=!1,[e(),Je]}finally{Je=t}}var D=new Set,O=null,k=null,Xe=null,Ze=!1,Qe=!1,A=null,$e=null,et=0,tt=1,nt=class e{id=tt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)E(n,_),this.schedule(n);for(n of t.m)E(n,v),this.schedule(n)}}#p(){if(et++>1e3&&(D.delete(this),it()),!this.#d()){for(let e of this.#o)this.#s.delete(e),E(e,_),this.schedule(e);for(let e of this.#s)E(e,v),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=A=[],r=[],i=$e=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw ut(e),t}if(O=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(A=null,$e=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)lt(e,t)}else{this.#n.size===0&&D.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),at(r),at(n),this.#i?.resolve()}var o=O;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(D.add(o),o.#p()),D.has(this)||this.#g()}#m(e,t,n){e.f^=g;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=g:i&4?t.push(r):x&&i&16777224?n.push(r):pn(r)&&(i&16&&this.#s.add(r),Q(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)Ke(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),k?.set(e,e.v))}activate(){O=this}deactivate(){O=null,k=null}flush(){try{Qe=!0,O=this,this.#p()}finally{et=0,Xe=null,A=null,$e=null,Qe=!1,O=null,k=null,M.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),D.delete(this)}#g(){for(let c of D){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)ot(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of D)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,w(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=ee()).promise}static ensure(){if(O===null){let t=O=new e;Qe||(D.add(O),Ze||w(()=>{O===t&&t.flush()}))}return O}apply(){if(!x||!this.is_fork&&D.size===1){k=null;return}k=new Map;for(let[e,[t]]of this.current)k.set(e,t);for(let n of D)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)k.has(e)||k.set(e,t)}}schedule(e){if(Xe=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(A!==null&&t===W&&(x||(V===null||!(V.f&2))&&!qe))return;if(n&96){if(!(n&1024))return;t.f^=g}}this.#a.push(t)}};function rt(e){var t=Ze;Ze=!0;try{var n;for(e&&(O!==null&&!O.is_fork&&O.flush(),n=e());;){if(Ve(),O===null)return n;O.flush()}}finally{Ze=t}}function it(){try{ve()}catch(e){T(e,Xe)}}var j=null;function at(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&pn(r)&&(j=new Set,Q(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&en(r),j?.size>0)){M.clear();for(let e of j){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)j.has(n)&&(j.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Q(n)}}j.clear()}}j=null}}function ot(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?ot(i,t,n,r):e&4194320&&!(e&2048)&&st(i,t,r)&&(E(i,_),ct(i))}}function st(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(a.call(t,r))return!0;if(r.f&2&&st(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function ct(e){O.schedule(e)}function lt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),E(e,g);for(var n=e.first;n!==null;)lt(n,t),n=n.next}}function ut(e){E(e,g);for(var t=e.first;t!==null;)ut(t),t=t.next}function dt(e){let t=0,n=Tt(0),r;return()=>{Ht()&&($(n),Jt(()=>(t===0&&(r=bn(()=>e(()=>kt(n)))),t+=1,()=>{w(()=>{--t,t===0&&(r?.(),r=void 0,kt(n))})})))}}var ft=ae|oe;function pt(e,t,n,r){new mt(e,t,n,r)}var mt=class{parent;is_pending=!1;transform_error;#e;#t=y?b:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=dt(()=>(this.#m=Tt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=W;t.b=this,t.f|=128,n(e)},this.parent=W.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=Yt(()=>{if(y){let e=this.#t;ke();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},ft),y&&(this.#e=b)}#g(){try{this.#a=R(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=R(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=R(()=>e(this.#e)),w(()=>{var e=this.#c=document.createDocumentFragment(),t=Ft();e.append(t),this.#a=this.#x(()=>R(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,tn(this.#o,()=>{this.#o=null}),this.#b(O))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=R(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();rn(this.#a,e);let t=this.#n.pending;this.#o=R(()=>t(this.#e))}else this.#b(O)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ke(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=W,n=V,r=S;G(this.#i),U(this.#i),Ie(this.#i.ctx);try{return nt.ensure(),e()}catch(e){return He(e),null}finally{G(t),U(n),Ie(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&tn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,w(()=>{this.#d=!1,this.#m&&Dt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(z(this.#a),null),this.#o&&=(z(this.#o),null),this.#s&&=(z(this.#s),null),y&&(Oe(this.#t),Ae(),Oe(je()));var r=!1,i=!1;let a=()=>{if(r){Ee();return}r=!0,i&&we(),this.#s!==null&&tn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){T(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return R(()=>{var t=W;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return T(e,this.#i.parent),null}}))};w(()=>{var t;try{t=this.transform_error(e)}catch(e){T(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>T(e,this.#i&&this.#i.parent)):o(t)})}};function ht(e){var t=2|_,r=V!==null&&V.f&2?V:null;return W!==null&&(W.f|=oe),{ctx:S,deps:null,effects:null,equals:Me,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??W,ac:null}}function gt(e){let t=ht(e);return t.equals=Pe,t}function _t(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)z(t[n])}}function vt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function yt(e){var t,n=W;G(vt(e));try{e.f&=~ce,_t(e),t=hn(e)}finally{G(n)}return t}function bt(e){var t=e.v,n=yt(e);if(!e.equals(n)&&(e.wv=fn(),(!O?.is_fork||e.deps===null)&&(e.v=n,O?.capture(e,t,!0),e.deps===null))){E(e,g);return}B||(k===null?We(e):(Ht()||O?.is_fork)&&k.set(e,n))}function xt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(pe),t.teardown=m,t.ac=null,_n(t,0),Zt(t))}function St(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Q(t)}var Ct=new Set,M=new Map,wt=!1;function Tt(e,t){return{f:0,v:e,reactions:null,equals:Me,rv:0,wv:0}}function N(e,t){let n=Tt(e,t);return cn(n),n}function Et(e,t=!1,n=!0){let r=Tt(e);return t||(r.equals=Pe),Fe&&n&&S!==null&&S.l!==null&&(S.l.s??=[]).push(r),r}function P(e,t,n=!1){return V!==null&&(!H||V.f&131072)&&ze()&&V.f&4325394&&(K===null||!a.call(K,e))&&Ce(),Dt(e,n?F(t):t,$e)}function Dt(e,t,n=null){if(!e.equals(t)){var r=e.v;B?M.set(e,t):M.set(e,r),e.v=t;var i=nt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&yt(t),k===null&&We(t)}e.wv=fn(),At(e,_,n),ze()&&W!==null&&W.f&1024&&!(W.f&96)&&(Y===null?ln([e]):Y.push(e)),!i.is_fork&&Ct.size>0&&!wt&&Ot()}return t}function Ot(){wt=!1;for(let e of Ct)e.f&1024&&E(e,v),pn(e)&&Q(e);Ct.clear()}function kt(e){P(e,e.v+1)}function At(e,t,n){var r=e.reactions;if(r!==null)for(var i=ze(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===W)){var l=(c&_)===0;if(l&&E(s,t),c&2){var u=s;k?.delete(u),c&65536||(c&512&&(s.f|=ce),At(u,v,n))}else if(l){var d=s;c&16&&j!==null&&j.add(d),n===null?ct(d):n.push(d)}}}}function F(e){if(typeof e!=`object`||!e||de in e)return e;let t=f(e);if(t!==u&&t!==d)return e;var i=new Map,a=r(e),o=N(0),s=null,c=Z,p=e=>{if(Z===c)return e();var t=V,n=Z;U(null),dn(c);var r=e();return U(t),dn(n),r};return a&&i.set(`length`,N(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&xe();var r=i.get(t);return r===void 0?p(()=>{var e=N(n.value,s);return i.set(t,e),e}):P(r,n.value,!0),!0},deleteProperty(e,t){var r=i.get(t);if(r===void 0){if(t in e){let e=p(()=>N(n,s));i.set(t,e),kt(o)}}else P(r,n),kt(o);return!0},get(t,r,a){if(r===de)return e;var o=i.get(r),c=r in t;if(o===void 0&&(!c||l(t,r)?.writable)&&(o=p(()=>N(F(c?t[r]:n),s)),i.set(r,o)),o!==void 0){var u=$(o);return u===n?void 0:u}return Reflect.get(t,r,a)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var a=i.get(t);a&&(r.value=$(a))}else if(r===void 0){var o=i.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return r},has(e,t){if(t===de)return!0;var r=i.get(t),a=r!==void 0&&r.v!==n||Reflect.has(e,t);return(r!==void 0||W!==null&&(!a||l(e,t)?.writable))&&(r===void 0&&(r=p(()=>N(a?F(e[t]):n,s)),i.set(t,r)),$(r)===n)?!1:a},set(e,t,r,c){var u=i.get(t),d=t in e;if(a&&t===`length`)for(var f=r;f<u.v;f+=1){var m=i.get(f+``);m===void 0?f in e&&(m=p(()=>N(n,s)),i.set(f+``,m)):P(m,n)}if(u===void 0)(!d||l(e,t)?.writable)&&(u=p(()=>N(void 0,s)),P(u,F(r)),i.set(t,u));else{d=u.v!==n;var h=p(()=>F(r));P(u,h)}var ee=Reflect.getOwnPropertyDescriptor(e,t);if(ee?.set&&ee.set.call(c,r),!d){if(a&&typeof t==`string`){var g=i.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&P(g,_+1)}kt(o)}return!0},ownKeys(e){$(o);var t=Reflect.ownKeys(e).filter(e=>{var t=i.get(e);return t===void 0||t.v!==n});for(var[r,a]of i)a.v!==n&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Se()}})}var jt,Mt,Nt;function Pt(){if(jt===void 0){jt=window,/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Mt=l(t,`firstChild`).get,Nt=l(t,`nextSibling`).get,p(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),p(n)&&(n.__t=void 0)}}function Ft(e=``){return document.createTextNode(e)}function It(e){return Mt.call(e)}function I(e){return Nt.call(e)}function Lt(e){e.textContent=``}function Rt(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function zt(e){var t=V,n=W;U(null),G(null);try{return e()}finally{U(t),G(n)}}function Bt(e){W===null&&(V===null&&_e(e),ge()),B&&he(e)}function Vt(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function L(e,t){var n=W;n!==null&&n.f&8192&&(e|=te);var r={ctx:S,deps:null,nodes:null,f:e|_|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)A===null?nt.ensure().schedule(r):A.push(r);else if(t!==null){try{Q(r)}catch(e){throw z(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ae))}if(i!==null&&(i.parent=n,n!==null&&Vt(i,n),V!==null&&V.f&2&&!(e&64))){var a=V;(a.effects??=[]).push(i)}return r}function Ht(){return V!==null&&!H}function Ut(e){Bt(`$effect`);var t=W.f;if(!V&&t&32&&!(t&32768)){var n=S;(n.e??=[]).push(e)}else return Wt(e)}function Wt(e){return L(4|se,e)}function Gt(e){nt.ensure();let t=L(64|oe,e);return()=>{z(t)}}function Kt(e){nt.ensure();let t=L(64|oe,e);return(e={})=>new Promise(n=>{e.outro?tn(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function qt(e){return L(4,e)}function Jt(e,t=0){return L(8|t,e)}function Yt(e,t=0){return L(16|t,e)}function R(e){return L(32|oe,e)}function Xt(e){var t=e.teardown;if(t!==null){let e=B,n=V;sn(!0),U(null);try{t.call(null)}finally{sn(e),U(n)}}}function Zt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&zt(()=>{e.abort(pe)});var r=n.next;n.f&64?n.parent=null:z(n,t),n=r}}function Qt(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||z(t),t=n}}function z(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&($t(e.nodes.start,e.nodes.end),n=!0),E(e,ie),Zt(e,t&&!n),_n(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Xt(e),e.f^=ie,e.f|=ne;var i=e.parent;i!==null&&i.first!==null&&en(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function $t(e,t){for(;e!==null;){var n=e===t?null:I(e);e.remove(),e=n}}function en(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function tn(e,t,n=!0){var r=[];nn(e,r,!0);var i=()=>{n&&z(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function nn(e,t,n){if(!(e.f&8192)){e.f^=te;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;nn(i,t,o?n:!1),i=a}}}function rn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:I(n);t.append(n),n=i}}var an=null,on=!1,B=!1;function sn(e){B=e}var V=null,H=!1;function U(e){V=e}var W=null;function G(e){W=e}var K=null;function cn(e){V!==null&&(!x||V.f&2)&&(K===null?K=[e]:K.push(e))}var q=null,J=0,Y=null;function ln(e){Y=e}var un=1,X=0,Z=X;function dn(e){Z=e}function fn(){return++un}function pn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(pn(a)&&bt(a),a.wv>e.wv)return!0}t&512&&k===null&&E(e,g)}return!1}function mn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!x&&K!==null&&a.call(K,e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&2?mn(o,t,!1):t===o&&(n?E(o,_):o.f&1024&&E(o,v),ct(o))}}function hn(e){var t=q,n=J,r=Y,i=V,a=K,o=S,s=H,c=Z,l=e.f;q=null,J=0,Y=null,V=l&96?null:e,K=null,Ie(e.ctx),H=!1,Z=++X,e.ac!==null&&(zt(()=>{e.ac.abort(pe)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=re;var f=e.deps,p=O?.is_fork;if(q!==null){var m;if(p||_n(e,J),f!==null&&J>0)for(f.length=J+q.length,m=0;m<q.length;m++)f[J+m]=q[m];else e.deps=f=q;if(Ht()&&e.f&512)for(m=J;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&J<f.length&&(_n(e,J),f.length=J);if(ze()&&Y!==null&&!H&&f!==null&&!(e.f&6146))for(m=0;m<Y.length;m++)mn(Y[m],e);if(i!==null&&i!==e){if(X++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=X;if(t!==null)for(let e of t)e.rv=X;Y!==null&&(r===null?r=Y:r.push(...Y))}return e.f&8388608&&(e.f^=ue),d}catch(e){return He(e)}finally{e.f^=le,q=t,J=n,Y=r,V=i,K=a,Ie(o),H=s,Z=c}}function gn(e,t){let n=t.reactions;if(n!==null){var r=i.call(n,e);if(r!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[r]=n[o],n.pop())}}if(n===null&&t.f&2&&(q===null||!a.call(q,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ce),We(s),xt(s),_n(s,0)}}function _n(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)gn(e,n[r])}function Q(e){var t=e.f;if(!(t&16384)){E(e,g);var n=W,r=on;W=e,on=!0;try{t&16777232?Qt(e):Zt(e),Xt(e);var i=hn(e);e.teardown=typeof i==`function`?i:null,e.wv=un}finally{on=r,W=n}}}function $(e){var t=(e.f&2)!=0;if(an?.add(e),V!==null&&!H&&!(W!==null&&W.f&16384)&&(K===null||!a.call(K,e))){var n=V.deps;if(V.f&2097152)e.rv<X&&(e.rv=X,q===null&&n!==null&&n[J]===e?J++:q===null?q=[e]:q.push(e));else{(V.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[V]:a.call(r,V)||r.push(V)}}if(B&&M.has(e))return M.get(e);if(t){var i=e;if(B){var o=i.v;return(!(i.f&1024)&&i.reactions!==null||yn(i))&&(o=yt(i)),M.set(i,o),o}var s=(i.f&512)==0&&!H&&V!==null&&(on||(V.f&512)!=0),c=(i.f&re)===0;pn(i)&&(s&&(i.f|=512),bt(i)),s&&!c&&(St(i),vn(i))}if(k?.has(e))return k.get(e);if(e.f&8388608)throw e.v;return e.v}function vn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(St(t),vn(t))}function yn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(M.has(t)||t.f&2&&yn(t))return!0;return!1}function bn(e){var t=H;try{return H=!0,e()}finally{H=t}}var xn=Symbol(`events`),Sn=new Set,Cn=new Set,wn=null;function Tn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;wn=e;var o=0,s=wn===e&&e[xn];if(s){var l=i.indexOf(s);if(l!==-1&&(t===document||t===window)){e[xn]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(a=i[o]||e.target,a!==t){c(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=V,f=W;U(null),G(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var ee=a[xn]?.[r];ee!=null&&(!a.disabled||e.target===a)&&ee.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[xn]=t,delete e.currentTarget,U(d),G(f)}}}globalThis?.window?.trustedTypes;function En(e,t){var n=W;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Dn(e,t){if(y){var n=W;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=b),ke();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var On=[`touchstart`,`touchmove`];function kn(e){return On.includes(e)}function An(e,t){return Nn(e,t)}function jn(e,n){Pt(),n.intro=n.intro??!1;let r=n.target,i=y,a=b;try{for(var o=It(r);o&&(o.nodeType!==8||o.data!==`[`);)o=I(o);if(!o)throw t;De(!0),Oe(o);let i=Nn(e,{...n,anchor:o});return De(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&ye(),Pt(),Lt(r),De(!1),An(e,n)}finally{De(i),Oe(a)}}var Mn=new Map;function Nn(e,{target:n,anchor:r,props:i={},events:a,context:s,intro:c=!0,transformError:l}){Pt();var u=void 0,d=Kt(()=>{var c=r??n.appendChild(Ft());pt(c,{pending:()=>{}},n=>{Le({});var r=S;if(s&&(r.c=s),a&&(i.$$events=a),y&&En(n,null),u=e(n,i)||{},y&&(W.nodes.end=b,b===null||b.nodeType!==8||b.data!==`]`))throw Te(),t;Re()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=kn(r);for(let e of[n,document]){var a=Mn.get(e);a===void 0&&(a=new Map,Mn.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Tn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(o(Sn)),Cn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=Mn.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Tn),t.delete(e),t.size===0&&Mn.delete(r)):t.set(e,i)}Cn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return Pn.set(u,d),u}var Pn=new WeakMap;function Fn(e,t){let n=Pn.get(e);return n?(Pn.delete(e),n(t)):Promise.resolve()}function In(e){S===null&&me(`onMount`),Fe&&S.l!==null?Ln(S).m.push(e):Ut(()=>{let t=bn(e);if(typeof t==`function`)return t})}function Ln(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function Rn(e,t){qt(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Rt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function zn(e,t,n,r){var i=!Fe||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,u=()=>(c&&(c=!1,s=o?bn(r):r),s);let d;if(a){var f=de in e||fe in e;d=l(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=Ye(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&be(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?u():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var ee=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||ee||m)&&d(t?h():e),e):h()})}var g=!1,_=(n&1?ht:gt)(()=>(g=!1,h()));a&&$(_);var v=W;return(function(e,t){if(arguments.length>0){let n=t?$(_):i&&a?F(e):e;return P(_,n),g=!0,s!==void 0&&(s=n),e}return B&&g||v.f&16384?_.v:$(_)})}function Bn(e){return new Vn(e)}var Vn=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Et(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:($(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?jn:An)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!x&&(!e?.props?.$$host||e.sync===!1)&&rt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||c(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Fn(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Hn;typeof HTMLElement==`function`&&(Hn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Rt(`slot`);e!==`default`&&(n.name=e),Dn(t,n)}}let t={},n=Wn(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Un(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Bn({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Gt(()=>{Jt(()=>{this.$$r=!0;for(let e of s(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Un(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Un(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return s(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Un(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function Wn(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Gn(e,t,n,r,i,a){let o=class extends Hn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return s(t).map(e=>(t[e].attribute||e).toLowerCase())}};return s(t).forEach(e=>{c(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Un(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(l(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{c(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Kn={hash:`svelte-jp2xil`,code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}`};function qn(e,t){Le(t,!0),Rn(e,Kn);let n=zn(t,`api_key`,7,``),r=zn(t,`get`,7,void 0),i=`recaptchav2`,a=i+`-sdk`,o=i+`-element`,s=N(void 0);function c(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let l=N(!1),u=N(!1),d=N(!1);function f(){if(!$(s))return console.error(`no captcha util loaded`);$(s).render(o,{sitekey:n(),callback:e=>{console.log(`googleRecaptchaV2Response`,e),P(d,!0),c(`googleRecaptchaV2Response`,{response:e})}}),c(`googleRecaptchaRendered`,{render:!0}),P(l,!0)}function p(){if(!$(s))return console.error(`no captcha util loaded`);if(!$(d))return $(s).execute();console.info(`resetting captcha`),$(s).reset(),$(s).execute()}return Ut(()=>{let e=0;console.log(`render `+e,r()),e++,$(l)&&$(u)&&r()!==null?(console.info(`executing recaptcha another time`),p()):$(l)&&P(u,!0)}),In(()=>{if(!document.getElementById(o)&&!$(s)){let e=document.createElement(`div`);e.id=o,e.setAttribute(`data-size`,`invisible`),document.body.appendChild(e)}if(!document.getElementById(a)&&!$(s)){let e=document.createElement(`script`);e.id=a,e.async=!0,e.defer=!0,e.src=`https://www.google.com/recaptcha/api.js?render=explicit`,document.head.appendChild(e)}let e;function t(r){$(s)||(e=setTimeout(()=>{if(n())if(P(s,window.grecaptcha,!0),$(s))try{console.info(`using recaptcha api key:`,n()),f(),p()}catch(e){console.log(`grecaptcha error`,e)}else t(2e3),console.error(`Captcha utils not loaded`);else t(2e3),console.error(`no api key`)},r))}return t(1e3),()=>{e&&clearTimeout(e),document.getElementById(a)&&document.getElementById(a)?.remove(),document.getElementById(o)&&document.getElementById(o)?.remove(),window.grecaptcha=void 0}}),Re({get api_key(){return n()},set api_key(e=``){n(e),rt()},get get(){return r()},set get(e=void 0){r(e),rt()}})}customElements.define(`hb-captcha-google-recaptcha-v2-invisible`,Gn(qn,{api_key:{},get:{}},[],[],{mode:`open`})),e.Component=qn})(this[`captcha-google-recaptcha-v2-invisible`]=this[`captcha-google-recaptcha-v2-invisible`]||{});
3
+ //# sourceMappingURL=main.iife.js.map