@htmlbricks/hb-captcha-google-recaptcha-v2-invisible 0.62.0 → 0.62.2

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(Ke){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ze="[",Ge="[!",We="]",ye={},m=Symbol(),Ze=!1;var Gt=Array.isArray,Wt=Array.prototype.indexOf,Zt=Array.from,we=Object.keys,me=Object.defineProperty,se=Object.getOwnPropertyDescriptor,Qt=Object.prototype,Xt=Array.prototype,en=Object.getPrototypeOf,Qe=Object.isExtensible;function tn(e){for(var t=0;t<e.length;t++)e[t]()}function nn(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const y=2,Fe=4,rn=8,Y=16,J=32,K=64,be=128,F=512,E=1024,k=2048,V=4096,z=8192,Z=16384,Le=32768,Ee=65536,Xe=1<<17,et=1<<18,ie=1<<19,sn=1<<20,oe=32768,Me=1<<21,tt=1<<22,ae=1<<23,je=Symbol("$state"),ln=Symbol("legacy props"),nt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xe=8;function fn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function un(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function on(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function an(e){throw new Error("https://svelte.dev/e/effect_orphan")}function cn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function hn(){throw new Error("https://svelte.dev/e/hydration_failed")}function dn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function _n(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function pn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function gn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let j=!1;function ke(e){j=e}let R;function ce(e){if(e===null)throw rt(),ye;return R=e}function st(){return ce(fe(R))}function $n(e=1){if(j){for(var t=e,n=R;t--;)n=fe(n);R=n}}function yn(e=!0){for(var t=0,n=R;;){if(n.nodeType===xe){var r=n.data;if(r===We){if(t===0)return n;t-=1}else(r===ze||r===Ge)&&(t+=1)}var s=fe(n);e&&n.remove(),n=s}}function it(e){return e===this.v}function wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function mn(e){return!wn(e,this.v)}let bn=!1,N=null;function Re(e){N=e}function lt(e,t=!1,n){N={p:N,i:!1,c:null,e:null,s:e,x:null,l:null}}function ft(e){var t=N,n=t.e;if(n!==null){t.e=null;for(var r of n)Rt(r)}return e!==void 0&&(t.x=e),t.i=!0,N=t.p,e??{}}function ut(){return!0}let Q=[];function ot(){var e=Q;Q=[],tn(e)}function Be(e){if(Q.length===0&&!he){var t=Q;queueMicrotask(()=>{t===Q&&ot()})}Q.push(e)}function En(){for(;Q.length>0;)ot()}function at(e){var t=v;if(t===null)return _.f|=ae,e;if((t.f&Le)===0){if((t.f&be)===0)throw e;t.b.error(e)}else Te(e,t)}function Te(e,t){for(;t!==null;){if((t.f&be)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Se=new Set;let T=null,S=null,B=[],Ce=null,qe=!1,he=!1;class L{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#u=0;#i=0;#o=null;#l=[];#s=[];skipped_effects=new Set;is_fork=!1;process(t){B=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#n(r,n);this.is_fork||this.#f(),this.#i>0||this.is_fork?(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects)):(T=null,ht(n.render_effects),ht(n.effects),this.#o?.resolve()),S=null}#n(t,n){t.f^=E;for(var r=t.first;r!==null;){var s=r.f,i=(s&(J|K))!==0,l=i&&(s&E)!==0,f=l||(s&z)!==0||this.skipped_effects.has(r);if((r.f&be)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){i?r.f^=E:(s&Fe)!==0?n.effects.push(r):pe(r)&&((r.f&Y)!==0&&n.block_effects.push(r),ge(r));var u=r.first;if(u!==null){r=u;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#r(t){for(const n of t)((n.f&k)!==0?this.#l:this.#s).push(n),x(n,E)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),S?.set(t,t.v))}activate(){T=this,this.apply()}deactivate(){T=null,S=null}flush(){if(this.activate(),B.length>0){if(ct(),T!==null&&T!==this)return}else this.#u===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#i===0){for(const t of this.#t)t();this.#t.clear()}this.#u===0&&this.#a()}#a(){if(Se.size>1){this.previous.clear();var t=S,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Se){if(s===this){n=!1;continue}const i=[];for(const[f,u]of this.current){if(s.current.has(f))if(n&&u!==s.current.get(f))s.current.set(f,u);else continue;i.push(f)}if(i.length===0)continue;const l=[...s.current.keys()].filter(f=>!this.current.has(f));if(l.length>0){const f=new Set,u=new Map;for(const o of i)dt(o,l,f,u);if(B.length>0){T=s,s.apply();for(const o of B)s.#n(o,r);B=[],s.deactivate()}}}T=null,S=t}this.committed=!0,Se.delete(this)}increment(t){this.#u+=1,t&&(this.#i+=1)}decrement(t){this.#u-=1,t&&(this.#i-=1),this.revive()}revive(){for(const t of this.#l)x(t,k),le(t);for(const t of this.#s)x(t,V),le(t);this.#l=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=nn()).promise}static ensure(){if(T===null){const t=T=new L;Se.add(T),he||L.enqueue(()=>{T===t&&t.flush()})}return T}static enqueue(t){Be(t)}apply(){}}function Ye(e){var t=he;he=!0;try{for(var n;;){if(En(),B.length===0&&(T?.flush(),B.length===0))return Ce=null,n;ct()}}finally{he=t}}function ct(){var e=te;qe=!0;try{var t=0;for(Nt(!0);B.length>0;){var n=L.ensure();if(t++>1e3){var r,s;xn()}n.process(B),G.clear()}}finally{qe=!1,Nt(e),Ce=null}}function xn(){try{cn()}catch(e){Te(e,Ce)}}let H=null;function ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Z|z))===0&&pe(r)&&(H=new Set,ge(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?At(r):r.fn=null),H?.size>0)){G.clear();for(const s of H){if((s.f&(Z|z))!==0)continue;const i=[s];let l=s.parent;for(;l!==null;)H.has(l)&&(H.delete(l),i.push(l)),l=l.parent;for(let f=i.length-1;f>=0;f--){const u=i[f];(u.f&(Z|z))===0&&ge(u)}}H.clear()}}H=null}}function dt(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&y)!==0?dt(s,t,n,r):(i&(tt|Y))!==0&&(i&k)===0&&_t(s,t,r)&&(x(s,k),le(s))}}function _t(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(t.includes(s))return!0;if((s.f&y)!==0&&_t(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function le(e){for(var t=Ce=e;t.parent!==null;){t=t.parent;var n=t.f;if(qe&&t===v&&(n&Y)!==0&&(n&et)===0)return;if((n&(K|J))!==0){if((n&E)===0)return;t.f^=E}}B.push(t)}function kn(e){let t=0,n=Ae(0),r;return()=>{Oe()&&(p(n),Tt(()=>(t===0&&(r=qt(()=>e(()=>de(n)))),t+=1,()=>{Be(()=>{t-=1,t===0&&(r?.(),r=void 0,de(n))})})))}}var Rn=Ee|ie|be;function Tn(e,t,n){new Sn(e,t,n)}class Sn{parent;#t=!1;#e;#u=j?R:null;#i;#o;#l;#s=null;#n=null;#r=null;#f=null;#a=null;#d=0;#c=0;#_=!1;#h=null;#y=kn(()=>(this.#h=Ae(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#i=n,this.#o=r,this.parent=v.b,this.#t=!!this.#i.pending,this.#l=Bn(()=>{if(v.b=this,j){const i=this.#u;st(),i.nodeType===xe&&i.data===Ge?this.#m():this.#w()}else{var s=this.#g();try{this.#s=ee(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#a?.remove()}},Rn),j&&(this.#e=R)}#w(){try{this.#s=ee(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#m(){const t=this.#i.pending;t&&(this.#n=ee(()=>t(this.#e)),L.enqueue(()=>{var n=this.#g();this.#s=this.#v(()=>(L.ensure(),ee(()=>this.#o(n)))),this.#c>0?this.#p():(Ne(this.#n,()=>{this.#n=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#a=Et(),this.#e.before(this.#a),t=this.#a),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#v(t){var n=v,r=_,s=N;W(this.#l),D(this.#l),Re(this.#l.ctx);try{return t()}catch(i){return at(i),null}finally{W(n),D(r),Re(s)}}#p(){const t=this.#i.pending;this.#s!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#a),Hn(this.#s,this.#f)),this.#n===null&&(this.#n=ee(()=>t(this.#e)))}#$(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#$(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#n&&Ne(this.#n,()=>{this.#n=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#$(t),this.#d+=t,this.#h&&$t(this.#h,this.#d)}get_effect_pending(){return this.#y(),p(this.#h)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(this.#_||!n&&!r)throw t;this.#s&&(M(this.#s),this.#s=null),this.#n&&(M(this.#n),this.#n=null),this.#r&&(M(this.#r),this.#r=null),j&&(ce(this.#u),$n(),ce(yn()));var s=!1,i=!1;const l=()=>{if(s){gn();return}s=!0,i&&pn(),L.ensure(),this.#d=0,this.#r!==null&&Ne(this.#r,()=>{this.#r=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,ee(()=>this.#o(this.#e)))),this.#c>0?this.#p():this.#t=!1};var f=_;try{D(null),i=!0,n?.(t,l),i=!1}catch(u){Te(u,this.#l&&this.#l.parent)}finally{D(f)}r&&Be(()=>{this.#r=this.#v(()=>{L.ensure(),this.#_=!0;try{return ee(()=>{r(this.#e,()=>t,()=>l)})}catch(u){return Te(u,this.#l.parent),null}finally{this.#_=!1}})})}}function Cn(e){var t=y|k,n=_!==null&&(_.f&y)!==0?_:null;return v!==null&&(v.f|=ie),{ctx:N,deps:null,effects:null,equals:it,f:t,fn:e,reactions:null,rv:0,v:m,wv:0,parent:n??v,ac:null}}function vt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)M(t[n])}}function An(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return t;t=t.parent}return null}function Ve(e){var t,n=v;W(An(e));try{e.f&=~oe,vt(e),t=Mt(e)}finally{W(n)}return t}function pt(e){var t=Ve(e);if(e.equals(t)||(e.v=t,e.wv=Ft()),!ne)if(S!==null)Oe()&&S.set(e,e.v);else{var n=(e.f&F)===0?V:E;x(e,n)}}let He=new Set;const G=new Map;let gt=!1;function Ae(e,t){var n={f:0,v:e,reactions:null,equals:it,rv:0,wv:0};return n}function I(e,t){const n=Ae(e);return Un(n),n}function On(e,t=!1,n=!0){const r=Ae(e);return t||(r.equals=mn),r}function C(e,t,n=!1){_!==null&&(!q||(_.f&Xe)!==0)&&ut()&&(_.f&(y|Y|tt|Xe))!==0&&!U?.includes(e)&&vn();let r=n?_e(t):t;return $t(e,r)}function $t(e,t){if(!e.equals(t)){var n=e.v;ne?G.set(e,t):G.set(e,n),e.v=t;var r=L.ensure();r.capture(e,n),(e.f&y)!==0&&((e.f&k)!==0&&Ve(e),x(e,(e.f&F)!==0?E:V)),e.wv=Ft(),yt(e,k),v!==null&&(v.f&E)!==0&&(v.f&(J|K))===0&&(P===null?Jn([e]):P.push(e)),!r.is_fork&&He.size>0&&!gt&&Nn()}return t}function Nn(){gt=!1;const e=Array.from(He);for(const t of e)(t.f&E)!==0&&x(t,V),pe(t)&&ge(t);He.clear()}function de(e){C(e,e.v+1)}function yt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],l=i.f,f=(l&k)===0;if(f&&x(i,t),(l&y)!==0){var u=i;S?.delete(u),(l&oe)===0&&(l&F&&(i.f|=oe),yt(u,V))}else f&&((l&Y)!==0&&H!==null&&H.add(i),le(i))}}function _e(e){if(typeof e!="object"||e===null||je in e)return e;const t=en(e);if(t!==Qt&&t!==Xt)return e;var n=new Map,r=Gt(e),s=I(0),i=re,l=f=>{if(re===i)return f();var u=_,o=re;D(null),Pt(i);var h=f();return D(u),Pt(o),h};return r&&n.set("length",I(e.length)),new Proxy(e,{defineProperty(f,u,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&dn();var h=n.get(u);return h===void 0?h=l(()=>{var d=I(o.value);return n.set(u,d),d}):C(h,o.value,!0),!0},deleteProperty(f,u){var o=n.get(u);if(o===void 0){if(u in f){const h=l(()=>I(m));n.set(u,h),de(s)}}else C(o,m),de(s);return!0},get(f,u,o){if(u===je)return e;var h=n.get(u),d=u in f;if(h===void 0&&(!d||se(f,u)?.writable)&&(h=l(()=>{var c=_e(d?f[u]:m),$=I(c);return $}),n.set(u,h)),h!==void 0){var a=p(h);return a===m?void 0:a}return Reflect.get(f,u,o)},getOwnPropertyDescriptor(f,u){var o=Reflect.getOwnPropertyDescriptor(f,u);if(o&&"value"in o){var h=n.get(u);h&&(o.value=p(h))}else if(o===void 0){var d=n.get(u),a=d?.v;if(d!==void 0&&a!==m)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return o},has(f,u){if(u===je)return!0;var o=n.get(u),h=o!==void 0&&o.v!==m||Reflect.has(f,u);if(o!==void 0||v!==null&&(!h||se(f,u)?.writable)){o===void 0&&(o=l(()=>{var a=h?_e(f[u]):m,c=I(a);return c}),n.set(u,o));var d=p(o);if(d===m)return!1}return h},set(f,u,o,h){var d=n.get(u),a=u in f;if(r&&u==="length")for(var c=o;c<d.v;c+=1){var $=n.get(c+"");$!==void 0?C($,m):c in f&&($=l(()=>I(m)),n.set(c+"",$))}if(d===void 0)(!a||se(f,u)?.writable)&&(d=l(()=>I(void 0)),C(d,_e(o)),n.set(u,d));else{a=d.v!==m;var g=l(()=>_e(o));C(d,g)}var O=Reflect.getOwnPropertyDescriptor(f,u);if(O?.set&&O.set.call(h,o),!a){if(r&&typeof u=="string"){var w=n.get("length"),$e=Number(u);Number.isInteger($e)&&$e>=w.v&&C(w,$e+1)}de(s)}return!0},ownKeys(f){p(s);var u=Reflect.ownKeys(f).filter(d=>{var a=n.get(d);return a===void 0||a.v!==m});for(var[o,h]of n)h.v!==m&&!(o in f)&&u.push(o);return u},setPrototypeOf(){_n()}})}var wt,mt,bt;function Ue(){if(wt===void 0){wt=window;var e=Element.prototype,t=Node.prototype,n=Text.prototype;mt=se(t,"firstChild").get,bt=se(t,"nextSibling").get,Qe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Qe(n)&&(n.__t=void 0)}}function Et(e=""){return document.createTextNode(e)}function In(e){return mt.call(e)}function fe(e){return bt.call(e)}function Dn(e){e.textContent=""}function xt(e){var t=_,n=v;D(null),W(null);try{return e()}finally{D(t),W(n)}}function Pn(e){v===null&&(_===null&&an(),on()),ne&&un()}function Fn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function X(e,t,n,r=!0){var s=v;s!==null&&(s.f&z)!==0&&(e|=z);var i={ctx:N,deps:null,nodes_start:null,nodes_end:null,f:e|k|F,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ge(i),i.f|=Le}catch(u){throw M(i),u}else t!==null&&le(i);if(r){var l=i;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ie)===0&&(l=l.first,(e&Y)!==0&&(e&Ee)!==0&&l!==null&&(l.f|=Ee)),l!==null&&(l.parent=s,s!==null&&Fn(l,s),_!==null&&(_.f&y)!==0&&(e&K)===0)){var f=_;(f.effects??=[]).push(l)}}return i}function Oe(){return _!==null&&!q}function kt(e){Pn();var t=v.f,n=!_&&(t&J)!==0&&(t&Le)===0;if(n){var r=N;(r.e??=[]).push(e)}else return Rt(e)}function Rt(e){return X(Fe|sn,e,!1)}function Ln(e){L.ensure();const t=X(K|ie,e,!0);return()=>{M(t)}}function Mn(e){L.ensure();const t=X(K|ie,e,!0);return(n={})=>new Promise(r=>{n.outro?Ne(t,()=>{M(t),r(void 0)}):(M(t),r(void 0))})}function jn(e){return X(Fe,e,!1)}function Tt(e,t=0){return X(rn|t,e,!0)}function Bn(e,t=0){var n=X(Y|t,e,!0);return n}function ee(e,t=!0){return X(J|ie,e,!0,t)}function St(e){var t=e.teardown;if(t!==null){const n=ne,r=_;It(!0),D(null);try{t.call(null)}finally{It(n),D(r)}}}function Ct(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&xt(()=>{s.abort(nt)});var r=n.next;(n.f&K)!==0?n.parent=null:M(n,t),n=r}}function qn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&J)===0&&M(t),t=n}}function M(e,t=!0){var n=!1;(t||(e.f&et)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Yn(e.nodes_start,e.nodes_end),n=!0),Ct(e,t&&!n),Ie(e,0),x(e,Z);var r=e.transitions;if(r!==null)for(const i of r)i.stop();St(e);var s=e.parent;s!==null&&s.first!==null&&At(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Yn(e,t){for(;e!==null;){var n=e===t?null:fe(e);e.remove(),e=n}}function At(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 Ne(e,t,n=!0){var r=[];Ot(e,r,!0),Vn(r,()=>{n&&M(e),t&&t()})}function Vn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function Ot(e,t,n){if((e.f&z)===0){if(e.f^=z,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&Ee)!==0||(r.f&J)!==0&&(e.f&Y)!==0;Ot(r,t,i?n:!1),r=s}}}function Hn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:fe(n);t.append(n),n=s}}let te=!1;function Nt(e){te=e}let ne=!1;function It(e){ne=e}let _=null,q=!1;function D(e){_=e}let v=null;function W(e){v=e}let U=null;function Un(e){_!==null&&(U===null?U=[e]:U.push(e))}let b=null,A=0,P=null;function Jn(e){P=e}let Dt=1,ve=0,re=ve;function Pt(e){re=e}function Ft(){return++Dt}function pe(e){var t=e.f;if((t&k)!==0)return!0;if(t&y&&(e.f&=~oe),(t&V)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(pe(i)&&pt(i),i.wv>e.wv)return!0}(t&F)!==0&&S===null&&x(e,E)}return!1}function Lt(e,t,n=!0){var r=e.reactions;if(r!==null&&!U?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&y)!==0?Lt(i,t,!1):t===i&&(n?x(i,k):(i.f&E)!==0&&x(i,V),le(i))}}function Mt(e){var t=b,n=A,r=P,s=_,i=U,l=N,f=q,u=re,o=e.f;b=null,A=0,P=null,_=(o&(J|K))===0?e:null,U=null,Re(e.ctx),q=!1,re=++ve,e.ac!==null&&(xt(()=>{e.ac.abort(nt)}),e.ac=null);try{e.f|=Me;var h=e.fn,d=h(),a=e.deps;if(b!==null){var c;if(Ie(e,A),a!==null&&A>0)for(a.length=A+b.length,c=0;c<b.length;c++)a[A+c]=b[c];else e.deps=a=b;if(te&&Oe()&&(e.f&F)!==0)for(c=A;c<a.length;c++)(a[c].reactions??=[]).push(e)}else a!==null&&A<a.length&&(Ie(e,A),a.length=A);if(ut()&&P!==null&&!q&&a!==null&&(e.f&(y|V|k))===0)for(c=0;c<P.length;c++)Lt(P[c],e);return s!==null&&s!==e&&(ve++,P!==null&&(r===null?r=P:r.push(...P))),(e.f&ae)!==0&&(e.f^=ae),d}catch($){return at($)}finally{e.f^=Me,b=t,A=n,P=r,_=s,U=i,Re(l),q=f,re=u}}function Kn(e,t){let n=t.reactions;if(n!==null){var r=Wt.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&y)!==0&&(b===null||!b.includes(t))&&(x(t,V),(t.f&F)!==0&&(t.f^=F,t.f&=~oe),vt(t),Ie(t,0))}function Ie(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Kn(e,n[r])}function ge(e){var t=e.f;if((t&Z)===0){x(e,E);var n=v,r=te;v=e,te=!0;try{(t&Y)!==0?qn(e):Ct(e),St(e);var s=Mt(e);e.teardown=typeof s=="function"?s:null,e.wv=Dt;var i;Ze&&bn&&(e.f&k)!==0&&e.deps}finally{te=r,v=n}}}function p(e){var t=e.f,n=(t&y)!==0;if(_!==null&&!q){var r=v!==null&&(v.f&Z)!==0;if(!r&&!U?.includes(e)){var s=_.deps;if((_.f&Me)!==0)e.rv<ve&&(e.rv=ve,b===null&&s!==null&&s[A]===e?A++:b===null?b=[e]:b.includes(e)||b.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:i.includes(_)||i.push(_)}}}if(ne){if(G.has(e))return G.get(e);if(n){var l=e,f=l.v;return((l.f&E)===0&&l.reactions!==null||Bt(l))&&(f=Ve(l)),G.set(l,f),f}}else if(n){if(l=e,S?.has(l))return S.get(l);pe(l)&&pt(l),te&&Oe()&&(l.f&F)===0&&jt(l)}else if(S?.has(e))return S.get(e);if((e.f&ae)!==0)throw e.v;return e.v}function jt(e){if(e.deps!==null){e.f^=F;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&F)===0&&jt(t)}}function Bt(e){if(e.v===m)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(G.has(t)||(t.f&y)!==0&&Bt(t))return!0;return!1}function qt(e){var t=q;try{return q=!0,e()}finally{q=t}}const zn=-7169;function x(e,t){e.f=e.f&zn|t}const Gn=new Set,Yt=new Set;let Vt=null;function De(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Vt=e;var l=0,f=Vt===e&&e.__root;if(f){var u=s.indexOf(f);if(u!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;u<=o&&(l=u)}if(i=s[l]||e.target,i!==t){me(e,"currentTarget",{configurable:!0,get(){return i||n}});var h=_,d=v;D(null),W(null);try{for(var a,c=[];i!==null;){var $=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+r];g!=null&&(!i.disabled||e.target===i)&&g.call(i,e)}catch(O){a?c.push(O):a=O}if(e.cancelBubble||$===t||$===null)break;i=$}if(a){for(let O of c)queueMicrotask(()=>{throw O});throw a}}finally{e.__root=t,delete e.currentTarget,D(h),W(d)}}}function Wn(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Zn(e,t){if(j){v.nodes_end=R,st();return}e!==null&&e.before(t)}const Qn=["touchstart","touchmove"];function Xn(e){return Qn.includes(e)}function Ht(e,t){return Ut(e,t)}function er(e,t){Ue(),t.intro=t.intro??!1;const n=t.target,r=j,s=R;try{for(var i=In(n);i&&(i.nodeType!==xe||i.data!==ze);)i=fe(i);if(!i)throw ye;ke(!0),ce(i);const l=Ut(e,{...t,anchor:i});return ke(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==ye&&console.warn("Failed to hydrate: ",l),t.recover===!1&&hn(),Ue(),Dn(n),ke(!1),Ht(e,t)}finally{ke(r),ce(s)}}const ue=new Map;function Ut(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:l=!0}){Ue();var f=new Set,u=d=>{for(var a=0;a<d.length;a++){var c=d[a];if(!f.has(c)){f.add(c);var $=Xn(c);t.addEventListener(c,De,{passive:$});var g=ue.get(c);g===void 0?(document.addEventListener(c,De,{passive:$}),ue.set(c,1)):ue.set(c,g+1)}}};u(Zt(Gn)),Yt.add(u);var o=void 0,h=Mn(()=>{var d=n??t.appendChild(Et());return Tn(d,{pending:()=>{}},a=>{if(i){lt({});var c=N;c.c=i}if(s&&(r.$$events=s),j&&Wn(a,null),o=e(a,r)||{},j&&(v.nodes_end=R,R===null||R.nodeType!==xe||R.data!==We))throw rt(),ye;i&&ft()}),()=>{for(var a of f){t.removeEventListener(a,De);var c=ue.get(a);--c===0?(document.removeEventListener(a,De),ue.delete(a)):ue.set(a,c)}Yt.delete(u),d!==n&&d.parentNode?.removeChild(d)}});return Je.set(o,h),o}let Je=new WeakMap;function tr(e,t){const n=Je.get(e);return n?(Je.delete(e),n(t)):Promise.resolve()}function nr(e){N===null&&fn(),kt(()=>{const t=qt(e);if(typeof t=="function")return t})}function rr(e,t){jn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function Jt(e,t,n,r){var s=r,i=!0,l=()=>(i&&(i=!1,s=r),s),f;f=e[t],f===void 0&&r!==void 0&&(f=l());var u;u=()=>{var a=e[t];return a===void 0?l():(i=!0,a)};var o=!1,h=Cn(()=>(o=!1,u())),d=v;return(function(a,c){if(arguments.length>0){const $=c?p(h):a;return C(h,$),o=!0,s!==void 0&&(s=$),a}return ne&&o||(d.f&Z)!==0?h.v:p(h)})}function sr(e){return new ir(e)}class ir{#t;#e;constructor(t){var n=new Map,r=(i,l)=>{var f=On(l,!1,!1);return n.set(i,f),f};const s=new Proxy({...t.props||{},$$events:{}},{get(i,l){return p(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===ln?!0:(p(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,f){return C(n.get(l)??r(l,f),f),Reflect.set(i,l,f)}});this.#e=(t.hydrate?er:Ht)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ye(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||me(this,i,{get(){return this.#e[i]},set(l){this.#e[i]=l},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{tr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==r)}}$destroy(){this.#e.$destroy()}}let Kt;typeof HTMLElement=="function"&&(Kt=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(i.name=r),Zn(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=lr(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=sr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ln(()=>{Tt(()=>{this.$$r=!0;for(const r of we(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 we(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 lr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function fr(e,t,n,r,s,i){let l=class extends Kt{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return we(t).map(f=>(t[f].attribute||f).toLowerCase())}};return we(t).forEach(f=>{me(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(u){u=Pe(f,u,t),this.$$d[f]=u;var o=this.$$c;if(o){var h=se(o,f)?.get;h?o[f]=u:o.$set({[f]:u})}}})}),r.forEach(f=>{me(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}const ur={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 zt(e,t){lt(t,!0),rr(e,ur);let n=Jt(t,"api_key",7,""),r=Jt(t,"get",7,void 0);const s="recaptchav2",i=s+"-sdk",l=s+"-element";let f=I(void 0);function u(g,O){t.$$host.dispatchEvent(new CustomEvent(g,{detail:O}))}let o=I(!1),h=I(!1),d=I(!1);function a(){if(!p(f))return console.error("no captcha util loaded");p(f).render(l,{sitekey:n(),callback:g=>{console.log("googleRecaptchaV2Response",g),C(d,!0),u("googleRecaptchaV2Response",{response:g})}}),u("googleRecaptchaRendered",{render:!0}),C(o,!0)}function c(){if(!p(f))return console.error("no captcha util loaded");if(!p(d))return p(f).execute();console.info("resetting captcha"),p(f).reset(),p(f).execute()}kt(()=>{let g=0;console.log("render "+g,r()),g++,p(o)&&p(h)&&r()!==null?(console.info("executing recaptcha another time"),c()):p(o)&&C(h,!0)}),nr(()=>{if(!document.getElementById(l)&&!p(f)){const w=document.createElement("div");w.id=l,w.setAttribute("data-size","invisible"),document.body.appendChild(w)}if(!document.getElementById(i)&&!p(f)){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 g;function O(w){p(f)||(g=setTimeout(()=>{if(n())if(C(f,window.grecaptcha,!0),p(f))try{console.info("using recaptcha api key:",n()),a(),c()}catch($e){console.log("grecaptcha error",$e)}else O(2e3),console.error("Captcha utils not loaded");else O(2e3),console.error("no api key")},w))}return O(1e3),()=>{g&&clearTimeout(g),document.getElementById(i)&&document.getElementById(i)?.remove(),document.getElementById(l)&&document.getElementById(l)?.remove(),window.grecaptcha=void 0}});var $={get api_key(){return n()},set api_key(g=""){n(g),Ye()},get get(){return r()},set get(g=void 0){r(g),Ye()}};return ft($)}customElements.define("hb-captcha-google-recaptcha-v2-invisible",fr(zt,{api_key:{},get:{}},[],[],!0)),Ke.Component=zt,Object.defineProperty(Ke,Symbol.toStringTag,{value:"Module"})})(this["captcha-google-recaptcha-v2-invisible"]=this["captcha-google-recaptcha-v2-invisible"]||{});
1
+ (function(Ge){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const We="[",Ze="[!",Qe="]",ye={},m=Symbol(),Me=!1;var Gt=Array.isArray,Wt=Array.prototype.indexOf,Zt=Array.from,we=Object.keys,me=Object.defineProperty,ie=Object.getOwnPropertyDescriptor,Qt=Object.prototype,Xt=Array.prototype,en=Object.getPrototypeOf,Xe=Object.isExtensible;function tn(e){for(var t=0;t<e.length;t++)e[t]()}function nn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,je=4,rn=8,Y=16,J=32,K=64,be=128,L=512,k=1024,R=2048,V=4096,z=8192,G=16384,Ee=32768,ke=65536,et=1<<17,tt=1<<18,fe=1<<19,sn=1<<20,X=32768,Be=1<<21,nt=1<<22,ae=1<<23,qe=Symbol("$state"),fn=Symbol("legacy props"),rt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xe=8;function ln(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function un(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function on(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function an(e){throw new Error("https://svelte.dev/e/effect_orphan")}function cn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function hn(){throw new Error("https://svelte.dev/e/hydration_failed")}function dn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function _n(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function pn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function st(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function gn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let B=!1;function Re(e){B=e}let T;function ce(e){if(e===null)throw st(),ye;return T=e}function it(){return ce(ue(T))}function $n(e=1){if(B){for(var t=e,n=T;t--;)n=ue(n);T=n}}function yn(e=!0){for(var t=0,n=T;;){if(n.nodeType===xe){var r=n.data;if(r===Qe){if(t===0)return n;t-=1}else(r===We||r===Ze)&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function ft(e){return e===this.v}function wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function mn(e){return!wn(e,this.v)}let bn=!1,O=null;function Te(e){O=e}function lt(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,l:null}}function ut(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)Tt(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function ot(){return!0}let ee=[];function at(){var e=ee;ee=[],tn(e)}function Ye(e){if(ee.length===0&&!he){var t=ee;queueMicrotask(()=>{t===ee&&at()})}ee.push(e)}function En(){for(;ee.length>0;)at()}function ct(e){var t=v;if(t===null)return _.f|=ae,e;if((t.f&Ee)===0){if((t.f&be)===0)throw e;t.b.error(e)}else Se(e,t)}function Se(e,t){for(;t!==null;){if((t.f&be)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ce=new Set;let b=null,N=null,I=[],Ae=null,Ve=!1,he=!1;class M{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#u=0;#i=0;#o=null;#f=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#i>0}process(t){I=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#n(r,n);this.is_fork||this.#a(),this.is_deferred()?(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects)):(b=null,dt(n.render_effects),dt(n.effects),this.#o?.resolve()),N=null}#n(t,n){t.f^=k;for(var r=t.first;r!==null;){var i=r.f,s=(i&(J|K))!==0,l=s&&(i&k)!==0,f=l||(i&z)!==0||this.skipped_effects.has(r);if((r.f&be)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){s?r.f^=k:(i&je)!==0?n.effects.push(r):pe(r)&&((r.f&Y)!==0&&n.block_effects.push(r),ge(r));var u=r.first;if(u!==null){r=u;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#r(t){for(const n of t)((n.f&R)!==0?this.#f:this.#s).push(n),this.#l(n.deps),x(n,k)}#l(t){if(t!==null)for(const n of t)(n.f&y)===0||(n.f&X)===0||(n.f^=X,this.#l(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),N?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,N=null)}flush(){if(this.activate(),I.length>0){if(ht(),b!==null&&b!==this)return}else this.#u===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#a(){if(this.#i===0){for(const t of this.#t)t();this.#t.clear()}this.#u===0&&this.#c()}#c(){if(Ce.size>1){this.previous.clear();var t=N,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ce){if(s===this){n=!1;continue}const l=[];for(const[u,o]of this.current){if(s.current.has(u))if(n&&o!==s.current.get(u))s.current.set(u,o);else continue;l.push(u)}if(l.length===0)continue;const f=[...s.current.keys()].filter(u=>!this.current.has(u));if(f.length>0){var i=I;I=[];const u=new Set,o=new Map;for(const h of l)_t(h,f,u,o);if(I.length>0){b=s,s.apply();for(const h of I)s.#n(h,r);s.deactivate()}I=i}}b=null,N=t}this.committed=!0,Ce.delete(this)}increment(t){this.#u+=1,t&&(this.#i+=1)}decrement(t){this.#u-=1,t&&(this.#i-=1),this.revive()}revive(){for(const t of this.#f)x(t,R),le(t);for(const t of this.#s)x(t,V),le(t);this.#f=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=nn()).promise}static ensure(){if(b===null){const t=b=new M;Ce.add(b),he||M.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){Ye(t)}apply(){}}function He(e){var t=he;he=!0;try{for(var n;;){if(En(),I.length===0&&(b?.flush(),I.length===0))return Ae=null,n;ht()}}finally{he=t}}function ht(){var e=Z;Ve=!0;var t=null;try{var n=0;for(De(!0);I.length>0;){var r=M.ensure();if(n++>1e3){var i,s;kn()}r.process(I),W.clear()}}finally{Ve=!1,De(e),Ae=null}}function kn(){try{cn()}catch(e){Se(e,Ae)}}let H=null;function dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(G|z))===0&&pe(r)&&(H=new Set,ge(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Ot(r):r.fn=null),H?.size>0)){W.clear();for(const i of H){if((i.f&(G|z))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)H.has(l)&&(H.delete(l),s.push(l)),l=l.parent;for(let f=s.length-1;f>=0;f--){const u=s[f];(u.f&(G|z))===0&&ge(u)}}H.clear()}}H=null}}function _t(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?_t(i,t,n,r):(s&(nt|Y))!==0&&(s&R)===0&&vt(i,t,r)&&(x(i,R),le(i))}}function vt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&y)!==0&&vt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function le(e){for(var t=Ae=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ve&&t===v&&(n&Y)!==0&&(n&tt)===0)return;if((n&(K|J))!==0){if((n&k)===0)return;t.f^=k}}I.push(t)}function xn(e){let t=0,n=Oe(0),r;return()=>{Ne()&&(p(n),St(()=>(t===0&&(r=qt(()=>e(()=>de(n)))),t+=1,()=>{Ye(()=>{t-=1,t===0&&(r?.(),r=void 0,de(n))})})))}}var Rn=ke|fe|be;function Tn(e,t,n){new Sn(e,t,n)}class Sn{parent;#t=!1;#e;#u=B?T:null;#i;#o;#f;#s=null;#n=null;#r=null;#l=null;#a=null;#c=0;#h=0;#_=!1;#d=null;#y=xn(()=>(this.#d=Oe(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#i=n,this.#o=r,this.parent=v.b,this.#t=!!this.#i.pending,this.#f=Bn(()=>{if(v.b=this,B){const s=this.#u;it(),s.nodeType===xe&&s.data===Ze?this.#m():this.#w()}else{var i=this.#g();try{this.#s=ne(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#a?.remove()}},Rn),B&&(this.#e=T)}#w(){try{this.#s=ne(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#m(){const t=this.#i.pending;t&&(this.#n=ne(()=>t(this.#e)),M.enqueue(()=>{var n=this.#g();this.#s=this.#v(()=>(M.ensure(),ne(()=>this.#o(n)))),this.#h>0?this.#p():(Ie(this.#n,()=>{this.#n=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#a=kt(),this.#e.before(this.#a),t=this.#a),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#v(t){var n=v,r=_,i=O;Q(this.#f),P(this.#f),Te(this.#f.ctx);try{return t()}catch(s){return ct(s),null}finally{Q(n),P(r),Te(i)}}#p(){const t=this.#i.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#a),Hn(this.#s,this.#l)),this.#n===null&&(this.#n=ne(()=>t(this.#e)))}#$(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#$(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#n&&Ie(this.#n,()=>{this.#n=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t){this.#$(t),this.#c+=t,this.#d&&yt(this.#d,this.#c)}get_effect_pending(){return this.#y(),p(this.#d)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(this.#_||!n&&!r)throw t;this.#s&&(j(this.#s),this.#s=null),this.#n&&(j(this.#n),this.#n=null),this.#r&&(j(this.#r),this.#r=null),B&&(ce(this.#u),$n(),ce(yn()));var i=!1,s=!1;const l=()=>{if(i){gn();return}i=!0,s&&pn(),M.ensure(),this.#c=0,this.#r!==null&&Ie(this.#r,()=>{this.#r=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,ne(()=>this.#o(this.#e)))),this.#h>0?this.#p():this.#t=!1};var f=_;try{P(null),s=!0,n?.(t,l),s=!1}catch(u){Se(u,this.#f&&this.#f.parent)}finally{P(f)}r&&Ye(()=>{this.#r=this.#v(()=>{M.ensure(),this.#_=!0;try{return ne(()=>{r(this.#e,()=>t,()=>l)})}catch(u){return Se(u,this.#f.parent),null}finally{this.#_=!1}})})}}function Cn(e){var t=y|R,n=_!==null&&(_.f&y)!==0?_:null;return v!==null&&(v.f|=fe),{ctx:O,deps:null,effects:null,equals:ft,f:t,fn:e,reactions:null,rv:0,v:m,wv:0,parent:n??v,ac:null}}function pt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function An(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&G)===0?t:null;t=t.parent}return null}function Ue(e){var t,n=v;Q(An(e));try{e.f&=~X,pt(e),t=Mt(e)}finally{Q(n)}return t}function gt(e){var t=Ue(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=Ft()),!re)if(N!==null)Ne()&&N.set(e,t);else{var n=(e.f&L)===0?V:k;x(e,n)}}let Je=new Set;const W=new Map;let $t=!1;function Oe(e,t){var n={f:0,v:e,reactions:null,equals:ft,rv:0,wv:0};return n}function D(e,t){const n=Oe(e);return Un(n),n}function On(e,t=!1,n=!0){const r=Oe(e);return t||(r.equals=mn),r}function S(e,t,n=!1){_!==null&&(!q||(_.f&et)!==0)&&ot()&&(_.f&(y|Y|nt|et))!==0&&!U?.includes(e)&&vn();let r=n?_e(t):t;return yt(e,r)}function yt(e,t){if(!e.equals(t)){var n=e.v;re?W.set(e,t):W.set(e,n),e.v=t;var r=M.ensure();r.capture(e,n),(e.f&y)!==0&&((e.f&R)!==0&&Ue(e),x(e,(e.f&L)!==0?k:V)),e.wv=Ft(),wt(e,R),v!==null&&(v.f&k)!==0&&(v.f&(J|K))===0&&(F===null?Jn([e]):F.push(e)),!r.is_fork&&Je.size>0&&!$t&&Nn()}return t}function Nn(){$t=!1;var e=Z;De(!0);const t=Array.from(Je);try{for(const n of t)(n.f&k)!==0&&x(n,V),pe(n)&&ge(n)}finally{De(e)}Je.clear()}function de(e){S(e,e.v+1)}function wt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,f=(l&R)===0;if(f&&x(s,t),(l&y)!==0){var u=s;N?.delete(u),(l&X)===0&&(l&L&&(s.f|=X),wt(u,V))}else f&&((l&Y)!==0&&H!==null&&H.add(s),le(s))}}function _e(e){if(typeof e!="object"||e===null||qe in e)return e;const t=en(e);if(t!==Qt&&t!==Xt)return e;var n=new Map,r=Gt(e),i=D(0),s=se,l=f=>{if(se===s)return f();var u=_,o=se;P(null),Pt(s);var h=f();return P(u),Pt(o),h};return r&&n.set("length",D(e.length)),new Proxy(e,{defineProperty(f,u,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&dn();var h=n.get(u);return h===void 0?h=l(()=>{var d=D(o.value);return n.set(u,d),d}):S(h,o.value,!0),!0},deleteProperty(f,u){var o=n.get(u);if(o===void 0){if(u in f){const h=l(()=>D(m));n.set(u,h),de(i)}}else S(o,m),de(i);return!0},get(f,u,o){if(u===qe)return e;var h=n.get(u),d=u in f;if(h===void 0&&(!d||ie(f,u)?.writable)&&(h=l(()=>{var c=_e(d?f[u]:m),$=D(c);return $}),n.set(u,h)),h!==void 0){var a=p(h);return a===m?void 0:a}return Reflect.get(f,u,o)},getOwnPropertyDescriptor(f,u){var o=Reflect.getOwnPropertyDescriptor(f,u);if(o&&"value"in o){var h=n.get(u);h&&(o.value=p(h))}else if(o===void 0){var d=n.get(u),a=d?.v;if(d!==void 0&&a!==m)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return o},has(f,u){if(u===qe)return!0;var o=n.get(u),h=o!==void 0&&o.v!==m||Reflect.has(f,u);if(o!==void 0||v!==null&&(!h||ie(f,u)?.writable)){o===void 0&&(o=l(()=>{var a=h?_e(f[u]):m,c=D(a);return c}),n.set(u,o));var d=p(o);if(d===m)return!1}return h},set(f,u,o,h){var d=n.get(u),a=u in f;if(r&&u==="length")for(var c=o;c<d.v;c+=1){var $=n.get(c+"");$!==void 0?S($,m):c in f&&($=l(()=>D(m)),n.set(c+"",$))}if(d===void 0)(!a||ie(f,u)?.writable)&&(d=l(()=>D(void 0)),S(d,_e(o)),n.set(u,d));else{a=d.v!==m;var g=l(()=>_e(o));S(d,g)}var A=Reflect.getOwnPropertyDescriptor(f,u);if(A?.set&&A.set.call(h,o),!a){if(r&&typeof u=="string"){var w=n.get("length"),$e=Number(u);Number.isInteger($e)&&$e>=w.v&&S(w,$e+1)}de(i)}return!0},ownKeys(f){p(i);var u=Reflect.ownKeys(f).filter(d=>{var a=n.get(d);return a===void 0||a.v!==m});for(var[o,h]of n)h.v!==m&&!(o in f)&&u.push(o);return u},setPrototypeOf(){_n()}})}var mt,bt,Et;function Ke(){if(mt===void 0){mt=window;var e=Element.prototype,t=Node.prototype,n=Text.prototype;bt=ie(t,"firstChild").get,Et=ie(t,"nextSibling").get,Xe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Xe(n)&&(n.__t=void 0)}}function kt(e=""){return document.createTextNode(e)}function In(e){return bt.call(e)}function ue(e){return Et.call(e)}function Dn(e){e.textContent=""}function xt(e){var t=_,n=v;P(null),Q(null);try{return e()}finally{P(t),Q(n)}}function Pn(e){v===null&&(_===null&&an(),on()),re&&un()}function Fn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n){var r=v;r!==null&&(r.f&z)!==0&&(e|=z);var i={ctx:O,deps:null,nodes_start:null,nodes_end:null,f:e|R|L,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ge(i),i.f|=Ee}catch(f){throw j(i),f}else t!==null&&le(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&fe)===0&&(s=s.first,(e&Y)!==0&&(e&ke)!==0&&s!==null&&(s.f|=ke)),s!==null&&(s.parent=r,r!==null&&Fn(s,r),_!==null&&(_.f&y)!==0&&(e&K)===0)){var l=_;(l.effects??=[]).push(s)}return i}function Ne(){return _!==null&&!q}function Rt(e){Pn();var t=v.f,n=!_&&(t&J)!==0&&(t&Ee)===0;if(n){var r=O;(r.e??=[]).push(e)}else return Tt(e)}function Tt(e){return te(je|sn,e,!1)}function Ln(e){M.ensure();const t=te(K|fe,e,!0);return()=>{j(t)}}function Mn(e){M.ensure();const t=te(K|fe,e,!0);return(n={})=>new Promise(r=>{n.outro?Ie(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function jn(e){return te(je,e,!1)}function St(e,t=0){return te(rn|t,e,!0)}function Bn(e,t=0){var n=te(Y|t,e,!0);return n}function ne(e){return te(J|fe,e,!0)}function Ct(e){var t=e.teardown;if(t!==null){const n=re,r=_;It(!0),P(null);try{t.call(null)}finally{It(n),P(r)}}}function At(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&xt(()=>{i.abort(rt)});var r=n.next;(n.f&K)!==0?n.parent=null:j(n,t),n=r}}function qn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&J)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&tt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Yn(e.nodes_start,e.nodes_end),n=!0),At(e,t&&!n),Pe(e,0),x(e,G);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Ct(e);var i=e.parent;i!==null&&i.first!==null&&Ot(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Yn(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function Ot(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 Ie(e,t,n=!0){var r=[];Nt(e,r,!0),Vn(r,()=>{n&&j(e),t&&t()})}function Vn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Nt(e,t,n){if((e.f&z)===0){if(e.f^=z,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ke)!==0||(r.f&J)!==0&&(e.f&Y)!==0;Nt(r,t,s?n:!1),r=i}}}function Hn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let Z=!1;function De(e){Z=e}let re=!1;function It(e){re=e}let _=null,q=!1;function P(e){_=e}let v=null;function Q(e){v=e}let U=null;function Un(e){_!==null&&(U===null?U=[e]:U.push(e))}let E=null,C=0,F=null;function Jn(e){F=e}let Dt=1,ve=0,se=ve;function Pt(e){se=e}function Ft(){return++Dt}function pe(e){var t=e.f;if((t&R)!==0)return!0;if(t&y&&(e.f&=~X),(t&V)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(pe(s)&&gt(s),s.wv>e.wv)return!0}(t&L)!==0&&N===null&&x(e,k)}return!1}function Lt(e,t,n=!0){var r=e.reactions;if(r!==null&&!U?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?Lt(s,t,!1):t===s&&(n?x(s,R):(s.f&k)!==0&&x(s,V),le(s))}}function Mt(e){var t=E,n=C,r=F,i=_,s=U,l=O,f=q,u=se,o=e.f;E=null,C=0,F=null,_=(o&(J|K))===0?e:null,U=null,Te(e.ctx),q=!1,se=++ve,e.ac!==null&&(xt(()=>{e.ac.abort(rt)}),e.ac=null);try{e.f|=Be;var h=e.fn,d=h(),a=e.deps;if(E!==null){var c;if(Pe(e,C),a!==null&&C>0)for(a.length=C+E.length,c=0;c<E.length;c++)a[C+c]=E[c];else e.deps=a=E;if(Z&&Ne()&&(e.f&L)!==0)for(c=C;c<a.length;c++)(a[c].reactions??=[]).push(e)}else a!==null&&C<a.length&&(Pe(e,C),a.length=C);if(ot()&&F!==null&&!q&&a!==null&&(e.f&(y|V|R))===0)for(c=0;c<F.length;c++)Lt(F[c],e);return i!==null&&i!==e&&(ve++,F!==null&&(r===null?r=F:r.push(...F))),(e.f&ae)!==0&&(e.f^=ae),d}catch($){return ct($)}finally{e.f^=Be,E=t,C=n,F=r,_=i,U=s,Te(l),q=f,se=u}}function Kn(e,t){let n=t.reactions;if(n!==null){var r=Wt.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&y)!==0&&(E===null||!E.includes(t))&&(x(t,V),(t.f&L)!==0&&(t.f^=L,t.f&=~X),pt(t),Pe(t,0))}function Pe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Kn(e,n[r])}function ge(e){var t=e.f;if((t&G)===0){x(e,k);var n=v,r=Z;v=e,Z=!0;try{(t&Y)!==0?qn(e):At(e),Ct(e);var i=Mt(e);e.teardown=typeof i=="function"?i:null,e.wv=Dt;var s;Me&&bn&&(e.f&R)!==0&&e.deps}finally{Z=r,v=n}}}function p(e){var t=e.f,n=(t&y)!==0;if(_!==null&&!q){var r=v!==null&&(v.f&G)!==0;if(!r&&!U?.includes(e)){var i=_.deps;if((_.f&Be)!==0)e.rv<ve&&(e.rv=ve,E===null&&i!==null&&i[C]===e?C++:E===null?E=[e]:E.includes(e)||E.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(re){if(W.has(e))return W.get(e);if(n){var l=e,f=l.v;return((l.f&k)===0&&l.reactions!==null||Bt(l))&&(f=Ue(l)),W.set(l,f),f}}else n&&!N?.has(e)&&(l=e,pe(l)&&gt(l),Z&&Ne()&&(l.f&L)===0&&jt(l));if(N?.has(e))return N.get(e);if((e.f&ae)!==0)throw e.v;return e.v}function jt(e){if(e.deps!==null){e.f^=L;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&L)===0&&jt(t)}}function Bt(e){if(e.v===m)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(W.has(t)||(t.f&y)!==0&&Bt(t))return!0;return!1}function qt(e){var t=q;try{return q=!0,e()}finally{q=t}}const zn=-7169;function x(e,t){e.f=e.f&zn|t}const Gn=new Set,Yt=new Set;let Vt=null;function Fe(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Vt=e;var l=0,f=Vt===e&&e.__root;if(f){var u=i.indexOf(f);if(u!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;u<=o&&(l=u)}if(s=i[l]||e.target,s!==t){me(e,"currentTarget",{configurable:!0,get(){return s||n}});var h=_,d=v;P(null),Q(null);try{for(var a,c=[];s!==null;){var $=s.assignedSlot||s.parentNode||s.host||null;try{var g=s["__"+r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(A){a?c.push(A):a=A}if(e.cancelBubble||$===t||$===null)break;s=$}if(a){for(let A of c)queueMicrotask(()=>{throw A});throw a}}finally{e.__root=t,delete e.currentTarget,P(h),Q(d)}}}function Wn(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Zn(e,t){if(B){var n=v;((n.f&Ee)===0||n.nodes_end===null)&&(n.nodes_end=T),it();return}e!==null&&e.before(t)}const Qn=["touchstart","touchmove"];function Xn(e){return Qn.includes(e)}function Ht(e,t){return Ut(e,t)}function er(e,t){Ke(),t.intro=t.intro??!1;const n=t.target,r=B,i=T;try{for(var s=In(n);s&&(s.nodeType!==xe||s.data!==We);)s=ue(s);if(!s)throw ye;Re(!0),ce(s);const l=Ut(e,{...t,anchor:s});return Re(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==ye&&console.warn("Failed to hydrate: ",l),t.recover===!1&&hn(),Ke(),Dn(n),Re(!1),Ht(e,t)}finally{Re(r),ce(i)}}const oe=new Map;function Ut(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){Ke();var f=new Set,u=d=>{for(var a=0;a<d.length;a++){var c=d[a];if(!f.has(c)){f.add(c);var $=Xn(c);t.addEventListener(c,Fe,{passive:$});var g=oe.get(c);g===void 0?(document.addEventListener(c,Fe,{passive:$}),oe.set(c,1)):oe.set(c,g+1)}}};u(Zt(Gn)),Yt.add(u);var o=void 0,h=Mn(()=>{var d=n??t.appendChild(kt());return Tn(d,{pending:()=>{}},a=>{if(s){lt({});var c=O;c.c=s}if(i&&(r.$$events=i),B&&Wn(a,null),o=e(a,r)||{},B&&(v.nodes_end=T,T===null||T.nodeType!==xe||T.data!==Qe))throw st(),ye;s&&ut()}),()=>{for(var a of f){t.removeEventListener(a,Fe);var c=oe.get(a);--c===0?(document.removeEventListener(a,Fe),oe.delete(a)):oe.set(a,c)}Yt.delete(u),d!==n&&d.parentNode?.removeChild(d)}});return ze.set(o,h),o}let ze=new WeakMap;function tr(e,t){const n=ze.get(e);return n?(ze.delete(e),n(t)):Promise.resolve()}function nr(e){O===null&&ln(),Rt(()=>{const t=qt(e);if(typeof t=="function")return t})}function rr(e,t){jn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Jt(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),f;f=e[t],f===void 0&&r!==void 0&&(f=l());var u;u=()=>{var a=e[t];return a===void 0?l():(s=!0,a)};var o=!1,h=Cn(()=>(o=!1,u())),d=v;return(function(a,c){if(arguments.length>0){const $=c?p(h):a;return S(h,$),o=!0,i!==void 0&&(i=$),a}return re&&o||(d.f&G)!==0?h.v:p(h)})}function sr(e){return new ir(e)}class ir{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var f=On(l,!1,!1);return n.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return p(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===fn?!0:(p(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,f){return S(n.get(l)??r(l,f),f),Reflect.set(s,l,f)}});this.#e=(t.hydrate?er:Ht)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&He(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||me(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{tr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Kt;typeof HTMLElement=="function"&&(Kt=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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 i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),Zn(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=fr(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 i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Le(i,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=sr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ln(()=>{St(()=>{this.$$r=!0;for(const r of we(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Le(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Le(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 we(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Le(e,t,n,r){const 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 fr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function lr(e,t,n,r,i,s){let l=class extends Kt{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return we(t).map(f=>(t[f].attribute||f).toLowerCase())}};return we(t).forEach(f=>{me(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(u){u=Le(f,u,t),this.$$d[f]=u;var o=this.$$c;if(o){var h=ie(o,f)?.get;h?o[f]=u:o.$set({[f]:u})}}})}),r.forEach(f=>{me(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}const ur={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 zt(e,t){lt(t,!0),rr(e,ur);let n=Jt(t,"api_key",7,""),r=Jt(t,"get",7,void 0);const i="recaptchav2",s=i+"-sdk",l=i+"-element";let f=D(void 0);function u(g,A){t.$$host.dispatchEvent(new CustomEvent(g,{detail:A}))}let o=D(!1),h=D(!1),d=D(!1);function a(){if(!p(f))return console.error("no captcha util loaded");p(f).render(l,{sitekey:n(),callback:g=>{console.log("googleRecaptchaV2Response",g),S(d,!0),u("googleRecaptchaV2Response",{response:g})}}),u("googleRecaptchaRendered",{render:!0}),S(o,!0)}function c(){if(!p(f))return console.error("no captcha util loaded");if(!p(d))return p(f).execute();console.info("resetting captcha"),p(f).reset(),p(f).execute()}Rt(()=>{let g=0;console.log("render "+g,r()),g++,p(o)&&p(h)&&r()!==null?(console.info("executing recaptcha another time"),c()):p(o)&&S(h,!0)}),nr(()=>{if(!document.getElementById(l)&&!p(f)){const w=document.createElement("div");w.id=l,w.setAttribute("data-size","invisible"),document.body.appendChild(w)}if(!document.getElementById(s)&&!p(f)){const w=document.createElement("script");w.id=s,w.async=!0,w.defer=!0,w.src="https://www.google.com/recaptcha/api.js?render=explicit",document.head.appendChild(w)}let g;function A(w){p(f)||(g=setTimeout(()=>{if(n())if(S(f,window.grecaptcha,!0),p(f))try{console.info("using recaptcha api key:",n()),a(),c()}catch($e){console.log("grecaptcha error",$e)}else A(2e3),console.error("Captcha utils not loaded");else A(2e3),console.error("no api key")},w))}return A(1e3),()=>{g&&clearTimeout(g),document.getElementById(s)&&document.getElementById(s)?.remove(),document.getElementById(l)&&document.getElementById(l)?.remove(),window.grecaptcha=void 0}});var $={get api_key(){return n()},set api_key(g=""){n(g),He()},get get(){return r()},set get(g=void 0){r(g),He()}};return ut($)}customElements.define("hb-captcha-google-recaptcha-v2-invisible",lr(zt,{api_key:{},get:{}},[],[],!0)),Ge.Component=zt,Object.defineProperty(Ge,Symbol.toStringTag,{value:"Module"})})(this["captcha-google-recaptcha-v2-invisible"]=this["captcha-google-recaptcha-v2-invisible"]||{});
3
3
  //# sourceMappingURL=main.iife.js.map