@htmlbricks/hb-auth-social-login-button 0.61.51 → 0.61.53

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,5 +1,5 @@
1
- (function(ct){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const vr=2,ht="[",dt="[!",vt="]",ie={},y=Symbol(),_t=!1;var pt=Array.isArray,_r=Array.prototype.indexOf,pr=Array.from,Ae=Object.keys,se=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,gr=Object.prototype,mr=Array.prototype,wr=Object.getPrototypeOf,gt=Object.isExtensible;function mt(e){for(var t=0;t<e.length;t++)e[t]()}function $r(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const S=2,Je=4,yr=8,ae=16,D=32,U=64,wt=128,N=256,Re=512,b=1024,A=2048,Y=4096,V=8192,le=16384,We=32768,Ke=65536,$t=1<<17,kr=1<<18,Ee=1<<19,br=1<<20,Xe=1<<21,yt=1<<22,Ie=1<<23,Qe=Symbol("$state"),Er=Symbol("legacy props"),kt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Cr=3,Fe=8;function xr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Nr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ir(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function De(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let k=!1;function ue(e){k=e}let w;function fe(e){if(e===null)throw De(),ie;return w=e}function Pe(){return fe(ve(w))}function bt(e){if(k){if(ve(w)!==null)throw De(),ie;w=e}}function Fr(){for(var e=0,t=w;;){if(t.nodeType===Fe){var r=t.data;if(r===vt){if(e===0)return t;e-=1}else(r===ht||r===dt)&&(e+=1)}var n=ve(t);t.remove(),t=n}}function Dr(e){if(!e||e.nodeType!==Fe)throw De(),ie;return e.data}function Et(e){return e===this.v}function Pr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Mr(e){return!Pr(e,this.v)}let jr=!1,I=null;function Ct(e){I=e}function xt(e,t=!1,r){I={p:I,c:null,e:null,s:e,x:null,l:null}}function St(e){var t=I,r=t.e;if(r!==null){t.e=null;for(var n of r)Ht(n)}return e!==void 0&&(t.x=e),I=t.p,e??{}}function Tt(){return!0}const qr=new WeakMap;function Br(e){var t=g;if(t===null)return p.f|=Ie,e;if((t.f&We)===0){if((t.f&wt)===0)throw!t.parent&&e instanceof Error&&Lt(e),e;t.b.error(e)}else Ot(e,t)}function Ot(e,t){for(;t!==null;){if((t.f&wt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Lt(e),e}function Lt(e){const t=qr.get(e);t&&(se(e,"message",{value:t.message}),se(e,"stack",{value:t.stack}))}let et=[],tt=[];function Ur(){var e=et;et=[],mt(e)}function Yr(){var e=tt;tt=[],mt(e)}function Vr(){et.length>0&&Ur(),tt.length>0&&Yr()}function zr(e){var t=S|A,r=p!==null&&(p.f&S)!==0?p:null;return g===null||r!==null&&(r.f&N)!==0?t|=N:g.f|=Ee,{ctx:I,deps:null,effects:null,equals:Et,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:r??g,ac:null}}function Nt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Z(t[r])}}function Hr(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return t;t=t.parent}return null}function rt(e){var t,r=g;pe(Hr(e));try{Nt(e),t=sr(e)}finally{pe(r)}return t}function At(e){var t=rt(e);if(e.equals(t)||(e.v=t,e.wv=nr()),!re){var r=(J||(e.f&N)!==0)&&e.deps!==null?Y:b;O(e,r)}}const nt=new Set;let C=null,Rt=new Set,Me=[];function It(){const e=Me.shift();Me.length>0&&queueMicrotask(It),e()}let K=[],je=null,it=!1,qe=!1;class X{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#o=[];#s=[];#n=[];#a=[];#c=[];#h=[];skipped_effects=new Set;process(t){K=[];for(const i of t)this.#v(i);if(this.#i.length===0&&this.#r===0){this.#d();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#a=[],C=null,Dt(r),Dt(n),C===null?C=this:nt.delete(this),this.#u?.resolve()}else this.#l(this.#s),this.#l(this.#n),this.#l(this.#a);for(const i of this.#i)ge(i);for(const i of this.#o)ge(i);this.#i=[],this.#o=[]}#v(t){t.f^=b;for(var r=t.first;r!==null;){var n=r.f,i=(n&(D|U))!==0,s=i&&(n&b)!==0,o=s||(n&V)!==0||this.skipped_effects.has(r);if(!o&&r.fn!==null){if(i)r.f^=b;else if((n&Je)!==0)this.#n.push(r);else if((n&b)===0)if((n&yt)!==0){var a=r.b?.is_pending()?this.#o:this.#i;a.push(r)}else Be(r)&&((r.f&ae)!==0&&this.#a.push(r),ge(r));var l=r.first;if(l!==null){r=l;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#l(t){for(const r of t)((r.f&A)!==0?this.#c:this.#h).push(r),O(r,b);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){C=this}deactivate(){C=null;for(const t of Rt)if(Rt.delete(t),t(),C!==null)break}neuter(){this.#f=!0}flush(){K.length>0?Ft():this.#d(),C===this&&(this.#r===0&&nt.delete(this),this.deactivate())}#d(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)O(t,A),he(t);for(const t of this.#h)O(t,Y),he(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=$r()).promise}static ensure(){if(C===null){const t=C=new X;nt.add(C),qe||X.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Me.length===0&&queueMicrotask(It),Me.unshift(t)}}function ce(e){var t=qe;qe=!0;try{for(var r;;){if(Vr(),K.length===0&&(C?.flush(),K.length===0))return je=null,r;Ft()}}finally{qe=t}}function Ft(){var e=_e;it=!0;try{var t=0;for(Qt(!0);K.length>0;){var r=X.ensure();if(t++>1e3){var n,i;Zr()}r.process(K),z.clear()}}finally{it=!1,Qt(e),je=null}}function Zr(){try{Lr()}catch(e){Ot(e,je)}}let Q=null;function Dt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(le|V))===0&&Be(n)&&(Q=[],ge(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Jt(n):n.fn=null),Q?.length>0)){z.clear();for(const i of Q)ge(i);Q=[]}}Q=null}}function he(e){for(var t=je=e;t.parent!==null;){t=t.parent;var r=t.f;if(it&&t===g&&(r&ae)!==0)return;if((r&(U|D))!==0){if((r&b)===0)return;t.f^=b}}K.push(t)}const z=new Map;function Pt(e,t){var r={f:0,v:e,reactions:null,equals:Et,rv:0,wv:0};return r}function H(e,t){const r=Pt(e);return fn(r),r}function Gr(e,t=!1,r=!0){const n=Pt(e);return t||(n.equals=Mr),n}function P(e,t,r=!1){p!==null&&(!F||(p.f&$t)!==0)&&Tt()&&(p.f&(S|ae|yt|$t))!==0&&!M?.includes(e)&&Ir();let n=r?Ce(t):t;return Jr(e,n)}function Jr(e,t){if(!e.equals(t)){var r=e.v;re?z.set(e,t):z.set(e,r),e.v=t;var n=X.ensure();n.capture(e,r),(e.f&S)!==0&&((e.f&A)!==0&&rt(e),O(e,(e.f&N)===0?b:Y)),e.wv=nr(),Mt(e,A),g!==null&&(g.f&b)!==0&&(g.f&(D|U))===0&&(R===null?cn([e]):R.push(e))}return t}function st(e){P(e,e.v+1)}function Mt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,a=(o&A)===0;a&&O(s,t),(o&S)!==0?Mt(s,Y):a&&((o&ae)!==0&&Q!==null&&Q.push(s),he(s))}}function Ce(e){if(typeof e!="object"||e===null||Qe in e)return e;const t=wr(e);if(t!==gr&&t!==mr)return e;var r=new Map,n=pt(e),i=H(0),s=ne,o=a=>{if(ne===s)return a();var l=p,u=ne;G(null),rr(s);var c=a();return G(l),rr(u),c};return n&&r.set("length",H(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Ar();var c=r.get(l);return c===void 0?c=o(()=>{var _=H(u.value);return r.set(l,_),_}):P(c,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const c=o(()=>H(y));r.set(l,c),st(i)}}else P(u,y),st(i);return!0},get(a,l,u){if(l===Qe)return e;var c=r.get(l),_=l in a;if(c===void 0&&(!_||oe(a,l)?.writable)&&(c=o(()=>{var h=Ce(_?a[l]:y),v=H(h);return v}),r.set(l,c)),c!==void 0){var d=W(c);return d===y?void 0:d}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var c=r.get(l);c&&(u.value=W(c))}else if(u===void 0){var _=r.get(l),d=_?.v;if(_!==void 0&&d!==y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return u},has(a,l){if(l===Qe)return!0;var u=r.get(l),c=u!==void 0&&u.v!==y||Reflect.has(a,l);if(u!==void 0||g!==null&&(!c||oe(a,l)?.writable)){u===void 0&&(u=o(()=>{var d=c?Ce(a[l]):y,h=H(d);return h}),r.set(l,u));var _=W(u);if(_===y)return!1}return c},set(a,l,u,c){var _=r.get(l),d=l in a;if(n&&l==="length")for(var h=u;h<_.v;h+=1){var v=r.get(h+"");v!==void 0?P(v,y):h in a&&(v=o(()=>H(y)),r.set(h+"",v))}if(_===void 0)(!d||oe(a,l)?.writable)&&(_=o(()=>H(void 0)),P(_,Ce(u)),r.set(l,_));else{d=_.v!==y;var f=o(()=>Ce(u));P(_,f)}var m=Reflect.getOwnPropertyDescriptor(a,l);if(m?.set&&m.set.call(c,u),!d){if(n&&typeof l=="string"){var $=r.get("length"),x=Number(l);Number.isInteger(x)&&x>=$.v&&P($,x+1)}st(i)}return!0},ownKeys(a){W(i);var l=Reflect.ownKeys(a).filter(_=>{var d=r.get(_);return d===void 0||d.v!==y});for(var[u,c]of r)c.v!==y&&!(u in a)&&l.push(u);return l},setPrototypeOf(){Rr()}})}var jt,qt,Bt,Ut;function ot(){if(jt===void 0){jt=window,qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Bt=oe(t,"firstChild").get,Ut=oe(t,"nextSibling").get,gt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),gt(r)&&(r.__t=void 0)}}function de(e=""){return document.createTextNode(e)}function ee(e){return Bt.call(e)}function ve(e){return Ut.call(e)}function Yt(e,t){if(!k)return ee(e);var r=ee(w);return r===null&&(r=w.appendChild(de())),fe(r),r}function xe(e,t){if(!k){var r=ee(e);return r instanceof Comment&&r.data===""?ve(r):r}return w}function Wr(e){e.textContent=""}function Kr(){return!1}function Vt(e){var t=p,r=g;G(null),pe(null);try{return e()}finally{G(t),pe(r)}}function Xr(e){g===null&&p===null&&Or(),p!==null&&(p.f&N)!==0&&g===null&&Tr(),re&&Sr()}function Qr(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function te(e,t,r,n=!0){var i=g;i!==null&&(i.f&V)!==0&&(e|=V);var s={ctx:I,deps:null,nodes_start:null,nodes_end:null,f:e|A,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{ge(s),s.f|=We}catch(l){throw Z(s),l}else t!==null&&he(s);if(n){var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&Ee)===0&&(o=o.first),o!==null&&(o.parent=i,i!==null&&Qr(o,i),p!==null&&(p.f&S)!==0&&(e&U)===0)){var a=p;(a.effects??=[]).push(o)}}return s}function zt(e){Xr();var t=g.f,r=!p&&(t&D)!==0&&(t&We)===0;if(r){var n=I;(n.e??=[]).push(e)}else return Ht(e)}function Ht(e){return te(Je|br,e,!1)}function en(e){X.ensure();const t=te(U|Ee,e,!0);return()=>{Z(t)}}function tn(e){X.ensure();const t=te(U|Ee,e,!0);return(r={})=>new Promise(n=>{r.outro?Wt(t,()=>{Z(t),n(void 0)}):(Z(t),n(void 0))})}function rn(e){return te(Je,e,!1)}function nn(e,t=0){return te(yr|t,e,!0)}function sn(e,t=0){var r=te(ae|t,e,!0);return r}function at(e,t=!0){return te(D|Ee,e,!0,t)}function Zt(e){var t=e.teardown;if(t!==null){const r=re,n=p;er(!0),G(null);try{t.call(null)}finally{er(r),G(n)}}}function Gt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Vt(()=>{i.abort(kt)});var n=r.next;(r.f&U)!==0?r.parent=null:Z(r,t),r=n}}function on(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&D)===0&&Z(t),t=r}}function Z(e,t=!0){var r=!1;(t||(e.f&kr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(an(e.nodes_start,e.nodes_end),r=!0),Gt(e,t&&!r),Ue(e,0),O(e,le);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Zt(e);var i=e.parent;i!==null&&i.first!==null&&Jt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function an(e,t){for(;e!==null;){var r=e===t?null:ve(e);e.remove(),e=r}}function Jt(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Wt(e,t){var r=[];Kt(e,r,!0),ln(r,()=>{Z(e),t&&t()})}function ln(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Kt(e,t,r){if((e.f&V)===0){if(e.f^=V,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Ke)!==0||(n.f&D)!==0;Kt(n,t,s?r:!1),n=i}}}function un(e){Xt(e,!0)}function Xt(e,t){if((e.f&V)!==0){e.f^=V,(e.f&b)===0&&(O(e,A),he(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ke)!==0||(r.f&D)!==0;Xt(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let _e=!1;function Qt(e){_e=e}let re=!1;function er(e){re=e}let p=null,F=!1;function G(e){p=e}let g=null;function pe(e){g=e}let M=null;function fn(e){p!==null&&(M===null?M=[e]:M.push(e))}let E=null,T=0,R=null;function cn(e){R=e}let tr=1,Se=0,ne=Se;function rr(e){ne=e}let J=!1;function nr(){return++tr}function Be(e){var t=e.f;if((t&A)!==0)return!0;if((t&Y)!==0){var r=e.deps,n=(t&N)!==0;if(r!==null){var i,s,o=(t&Re)!==0,a=n&&g!==null&&!J,l=r.length;if((o||a)&&(g===null||(g.f&le)===0)){var u=e,c=u.parent;for(i=0;i<l;i++)s=r[i],(o||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);o&&(u.f^=Re),a&&c!==null&&(c.f&N)===0&&(u.f^=N)}for(i=0;i<l;i++)if(s=r[i],Be(s)&&At(s),s.wv>e.wv)return!0}(!n||g!==null&&!J)&&O(e,b)}return!1}function ir(e,t,r=!0){var n=e.reactions;if(n!==null&&!M?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&S)!==0?ir(s,t,!1):t===s&&(r?O(s,A):(s.f&b)!==0&&O(s,Y),he(s))}}function sr(e){var t=E,r=T,n=R,i=p,s=J,o=M,a=I,l=F,u=ne,c=e.f;E=null,T=0,R=null,J=(c&N)!==0&&(F||!_e||p===null),p=(c&(D|U))===0?e:null,M=null,Ct(e.ctx),F=!1,ne=++Se,e.ac!==null&&(Vt(()=>{e.ac.abort(kt)}),e.ac=null);try{e.f|=Xe;var _=e.fn,d=_(),h=e.deps;if(E!==null){var v;if(Ue(e,T),h!==null&&T>0)for(h.length=T+E.length,v=0;v<E.length;v++)h[T+v]=E[v];else e.deps=h=E;if(!J||(c&S)!==0&&e.reactions!==null)for(v=T;v<h.length;v++)(h[v].reactions??=[]).push(e)}else h!==null&&T<h.length&&(Ue(e,T),h.length=T);if(Tt()&&R!==null&&!F&&h!==null&&(e.f&(S|Y|A))===0)for(v=0;v<R.length;v++)ir(R[v],e);return i!==null&&i!==e&&(Se++,R!==null&&(n===null?n=R:n.push(...R))),(e.f&Ie)!==0&&(e.f^=Ie),d}catch(f){return Br(f)}finally{e.f^=Xe,E=t,T=r,R=n,p=i,J=s,M=o,Ct(a),F=l,ne=u}}function hn(e,t){let r=t.reactions;if(r!==null){var n=_r.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&S)!==0&&(E===null||!E.includes(t))&&(O(t,Y),(t.f&(N|Re))===0&&(t.f^=Re),Nt(t),Ue(t,0))}function Ue(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)hn(e,r[n])}function ge(e){var t=e.f;if((t&le)===0){O(e,b);var r=g,n=_e;g=e,_e=!0;try{(t&ae)!==0?on(e):Gt(e),Zt(e);var i=sr(e);e.teardown=typeof i=="function"?i:null,e.wv=tr;var s;_t&&jr&&(e.f&A)!==0&&e.deps}finally{_e=n,g=r}}}function W(e){var t=e.f,r=(t&S)!==0;if(p!==null&&!F){var n=g!==null&&(g.f&le)!==0;if(!n&&!M?.includes(e)){var i=p.deps;if((p.f&Xe)!==0)e.rv<Se&&(e.rv=Se,E===null&&i!==null&&i[T]===e?T++:E===null?E=[e]:(!J||!E.includes(e))&&E.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}else if(r&&e.deps===null&&e.effects===null){var o=e,a=o.parent;a!==null&&(a.f&N)===0&&(o.f^=N)}if(re){if(z.has(e))return z.get(e);if(r){o=e;var l=o.v;return((o.f&b)===0&&o.reactions!==null||or(o))&&(l=rt(o)),z.set(o,l),l}}else r&&(o=e,Be(o)&&At(o));if((e.f&Ie)!==0)throw e.v;return e.v}function or(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(z.has(t)||(t.f&S)!==0&&or(t))return!0;return!1}function dn(e){var t=F;try{return F=!0,e()}finally{F=t}}const vn=-7169;function O(e,t){e.f=e.f&vn|t}const ar=new Set,lt=new Set;function _n(e){for(var t=0;t<e.length;t++)ar.add(e[t]);for(var r of lt)r(e)}let lr=null;function Ye(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;lr=e;var o=0,a=lr===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(s=i[o]||e.target,s!==t){se(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=p,_=g;G(null),pe(null);try{for(var d,h=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var f=s["__"+n];if(f!=null&&(!s.disabled||e.target===s))if(pt(f)){var[m,...$]=f;m.apply(s,[e,...$])}else f.call(s,e)}catch(x){d?h.push(x):d=x}if(e.cancelBubble||v===t||v===null)break;s=v}if(d){for(let x of h)queueMicrotask(()=>{throw x});throw d}}finally{e.__root=t,delete e.currentTarget,G(c),pe(_)}}}function ur(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function j(e,t){var r=g;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function pn(e,t){var r=(t&vr)!==0,n,i=!e.startsWith("<!>");return()=>{if(k)return j(w,null),w;n===void 0&&(n=ur(i?e:"<!>"+e),n=ee(n));var s=r||qt?document.importNode(n,!0):n.cloneNode(!0);return j(s,s),s}}function gn(e,t,r="svg"){var n=!e.startsWith("<!>"),i=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(k)return j(w,null),w;if(!s){var o=ur(i),a=ee(o);s=ee(a)}var l=s.cloneNode(!0);return j(l,l),l}}function Te(e,t){return gn(e,t,"svg")}function mn(e=""){if(!k){var t=de(e+"");return j(t,t),t}var r=w;return r.nodeType!==Cr&&(r.before(r=de()),fe(r)),j(r,r),r}function Oe(){if(k)return j(w,null),w;var e=document.createDocumentFragment(),t=document.createComment(""),r=de();return e.append(t,r),j(t,r),e}function L(e,t){if(k){g.nodes_end=w,Pe();return}e!==null&&e.before(t)}const wn=["touchstart","touchmove"];function $n(e){return wn.includes(e)}function fr(e,t){return cr(e,t)}function yn(e,t){ot(),t.intro=t.intro??!1;const r=t.target,n=k,i=w;try{for(var s=ee(r);s&&(s.nodeType!==Fe||s.data!==ht);)s=ve(s);if(!s)throw ie;ue(!0),fe(s),Pe();const o=cr(e,{...t,anchor:s});if(w===null||w.nodeType!==Fe||w.data!==vt)throw De(),ie;return ue(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==ie&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Nr(),ot(),Wr(r),ue(!1),fr(e,t)}finally{ue(n),fe(i)}}const me=new Map;function cr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){ot();var a=new Set,l=_=>{for(var d=0;d<_.length;d++){var h=_[d];if(!a.has(h)){a.add(h);var v=$n(h);t.addEventListener(h,Ye,{passive:v});var f=me.get(h);f===void 0?(document.addEventListener(h,Ye,{passive:v}),me.set(h,1)):me.set(h,f+1)}}};l(pr(ar)),lt.add(l);var u=void 0,c=tn(()=>{var _=r??t.appendChild(de());return at(()=>{if(s){xt({});var d=I;d.c=s}i&&(n.$$events=i),k&&j(_,null),u=e(_,n)||{},k&&(g.nodes_end=w),s&&St()}),()=>{for(var d of a){t.removeEventListener(d,Ye);var h=me.get(d);--h===0?(document.removeEventListener(d,Ye),me.delete(d)):me.set(d,h)}lt.delete(l),_!==r&&_.parentNode?.removeChild(_)}});return ut.set(u,c),u}let ut=new WeakMap;function kn(e,t){const r=ut.get(e);return r?(ut.delete(e),r(t)):Promise.resolve()}function bn(e){I===null&&xr(),zt(()=>{const t=dn(e);if(typeof t=="function")return t})}function Le(e,t,r=!1){k&&Pe();var n=e,i=null,s=null,o=y,a=r?Ke:0,l=!1;const u=(h,v=!0)=>{l=!0,d(v,h)};var c=null;function _(){c!==null&&(c.lastChild.remove(),n.before(c),c=null);var h=o?i:s,v=o?s:i;h&&un(h),v&&Wt(v,()=>{o?s=null:i=null})}const d=(h,v)=>{if(o===(o=h))return;let f=!1;if(k){const we=Dr(n)===dt;!!o===we&&(n=Fr(),fe(n),ue(!1),f=!0)}var m=Kr(),$=n;if(m&&(c=document.createDocumentFragment(),c.append($=de())),o?i??=v&&at(()=>v($)):s??=v&&at(()=>v($)),m){var x=C,ze=o?i:s,B=o?s:i;ze&&x.skipped_effects.delete(ze),B&&x.skipped_effects.add(B),x.add_callback(_)}else _();f&&ue(!0)};sn(()=>{l=!1,t(u),l||d(null,null)},a),k&&(n=w)}function En(e,t,r,n,i){k&&Pe();var s=t.$$slots?.[r],o=!1;s===!0&&(s=t.children,o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>n:n)}function Cn(e,t){rn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ne(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var d=e[t];return d===void 0?o():(s=!0,d)};var u=!1,c=zr(()=>(u=!1,l())),_=g;return(function(d,h){if(arguments.length>0){const v=h?W(c):d;return P(c,v),u=!0,i!==void 0&&(i=v),d}return re&&u||(_.f&le)!==0?c.v:W(c)})}function xn(e){return new Sn(e)}class Sn{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var a=Gr(o,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return W(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Er?!0:(W(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return P(r.get(o)??n(o,a),a),Reflect.set(s,o,a)}});this.#e=(t.hydrate?yn:fr)(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)&&ce(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||se(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{kn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let hr;typeof HTMLElement=="function"&&(hr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),L(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Tn(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Ve(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=xn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=en(()=>{nn(()=>{this.$$r=!0;for(const n of Ae(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Ve(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ve(e,r,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 Ae(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ve(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 Tn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function On(e,t,r,n,i,s){let o=class extends hr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Ae(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Ae(t).forEach(a=>{se(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Ve(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var c=oe(u,a)?.get;c?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{se(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}class q{constructor(t){this.authUrl=t.authUrl,this.authCookieName=t.authCookieName||"authToken"}async authorizeByToken(t){return q.authByToken(this.authUrl+"/token",t)}async checkLogin(t){return q.checkLogin(this.authUrl+"/token",this.authCookieName,t)}async authorizeSocialLogin(t){return q.authorizeSocialLogin(t,{authUrl:this.authUrl,authCookieName:this.authCookieName})}async socialLoginOauthAnswer(t){return q.socialLoginOauthAnswer(t,{authUrl:this.authUrl,authCookieName:this.authCookieName})}static async authByToken(t,r){const n=await fetch(t,{headers:{Authorization:r,"Content-Type":"application/json"},method:"POST",body:JSON.stringify({token:r})});if(n.ok){const i=await n.json();if(i.error)throw new Error("unauthorized");if(i.token)return i.token;throw console.error("no token on answer"),new Error("no token on answer")}else throw new Error("unauthorized")}static async checkLogin(t,r,n){if(!r)throw new Error("authCookieName is not defined");if(!t)throw new Error("tokenUri is not defined");let i="localStorage",s;if(s=localStorage.getItem(r),s||(s=sessionStorage.getItem(r),i="sessionStorage"),n){console.info("checking auth by token");try{const o=await q.authByToken(t,n);switch(console.info("new token token",o),i){case"localStorage":localStorage.setItem(r,o);break;case"sessionStorage":sessionStorage.setItem(r,o);break}return o}catch{throw new Error("token is not valid")}}if(s){console.info("checking local token",s);try{const o=await q.authByToken(t,s);switch(console.info("new token token",o),i){case"localStorage":localStorage.setItem(r,o);break;case"sessionStorage":sessionStorage.setItem(r,o);break}return o}catch(o){switch(console.error("error on authByToken",o),console.error("not logged"),i){case"localStorage":localStorage.removeItem(r);break;case"sessionStorage":sessionStorage.removeItem(r);break}throw new Error("not logged")}}else throw new Error("not authorized")}static async authorizeSocialLogin(t,r){const n=r.authUrl+"/social/login",i=await fetch(n,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(Object.assign({redirect_uri:t.redirect_uri},t))});if(console.log("server answer with",i),i.ok){const s=await i.json();return r.authCookieName&&localStorage.setItem(r.authCookieName,s.token),console.info("now is logged, token is: "+s.token),s.token}else try{const s=await i.json();throw new Error(JSON.stringify(s))}catch(s){throw s}}static async socialLoginOauthAnswer(t,r){if(console.log("auth socialLoginOauthAnswer",t),!t?.provider)return console.error("auth socialLoginOauthAnswer: no provider");const n={provider:t.provider,token:t.token||t.tmpCode,redirect_uri:t.redirect_uri};return n.token?await q.authorizeSocialLogin(n,r):console.error("auth socialLoginOauthAnswer: no token")}}var Ln=(e,t)=>{t()},Nn=(e,t)=>{(e.key==="Enter"||e.key===" ")&&t()},An=Te('<svg viewBox="-.1 .5 960.2 923.9" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="m958.9 442.4c1.1 26.1-2 52.1-9.2 77.2-7.1 25.1-18.3 48.8-33.1 70.3a240.43 240.43 0 0 1 -53.6 56.2l-.5.4-199.9 149.8-98.3 74.5-59.9 45.2c-3.5 2.7-7.4 4.7-11.5 6.1s-8.5 2.1-12.9 2.1c-4.3 0-8.7-.7-12.8-2.1s-8-3.4-11.5-6.1l-59.9-45.2-98.3-74.5-198.7-148.9-1.2-.8-.4-.4c-20.9-15.7-39-34.7-53.8-56.2s-26-45.3-33.2-70.4c-7.2-25.1-10.3-51.2-9.2-77.3 1.2-26.1 6.5-51.8 15.8-76.2l1.3-3.5 130.7-340.5q1-2.5 2.4-4.8 1.3-2.3 3.1-4.3 1.7-2.1 3.7-3.9 2-1.7 4.2-3.2c3.1-1.9 6.3-3.3 9.8-4.1 3.4-.9 7-1.3 10.5-1.1 3.6.2 7.1.9 10.4 2.2 3.3 1.2 6.5 3 9.3 5.2q2 1.7 3.9 3.6 1.8 2 3.2 4.3 1.5 2.2 2.6 4.7 1.1 2.4 1.8 5l88.1 269.7h356.6l88.1-269.7q.7-2.6 1.9-5 1.1-2.4 2.6-4.7 1.4-2.2 3.2-4.2 1.8-2 3.9-3.7c2.8-2.2 5.9-3.9 9.2-5.2 3.4-1.2 6.9-1.9 10.4-2.1 3.6-.2 7.1.1 10.6 1 3.4.9 6.7 2.3 9.7 4.2q2.3 1.4 4.3 3.2 2 1.7 3.7 3.8 1.7 2.1 3.1 4.4 1.3 2.3 2.3 4.8l130.5 340.6 1.3 3.5c9.3 24.3 14.6 50 15.7 76.1z" fill="#e24329"></path><path d="m959 442.5c1.1 26-2 52.1-9.2 77.2s-18.4 48.9-33.2 70.4-32.9 40.5-53.7 56.2l-.5.4-199.9 149.8s-84.9-64.1-182.5-138l286.5-216.8c12.9-9.7 26.4-18.6 40.3-26.8 13.9-8.3 28.3-15.7 43-22.3 14.8-6.6 29.9-12.5 45.2-17.4 15.4-5 31-9.1 46.9-12.4l1.3 3.5c9.3 24.4 14.6 50.1 15.8 76.2z" fill="#fc6d26"></path><path d="m480 658.5c97.6 73.7 182.6 138 182.6 138l-98.3 74.5-59.9 45.2c-3.5 2.7-7.4 4.7-11.5 6.1s-8.5 2.1-12.9 2.1c-4.3 0-8.7-.7-12.8-2.1s-8-3.4-11.5-6.1l-59.9-45.2-98.3-74.5s84.9-64.3 182.5-138z" fill="#fca326"></path><path d="m480 658.3c-97.7 73.9-182.5 138-182.5 138l-198.7-148.9-1.2-.8-.4-.4c-20.9-15.7-39-34.7-53.8-56.2s-26-45.3-33.2-70.4c-7.2-25.1-10.3-51.2-9.2-77.3 1.2-26.1 6.5-51.8 15.8-76.2l1.3-3.5c15.9 3.3 31.5 7.4 46.9 12.4 15.3 5 30.4 10.8 45.2 17.5 14.7 6.6 29.1 14.1 43 22.3s27.3 17.2 40.3 26.9z" fill="#fc6d26"></path></svg>'),Rn=Te('<svg width="100%" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" transform="scale(64)" fill="#1B1F23"></path></svg>'),In=Te(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 287.56 191"><defs><style>.cls-1 {
1
+ (function(gt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const kr=2,mt="[",it="[!",wt="]",he={},b=Symbol(),yt=!1;var Er=Array.isArray,Cr=Array.prototype.indexOf,xr=Array.from,Be=Object.keys,Ue=Object.defineProperty,de=Object.getOwnPropertyDescriptor,Sr=Object.prototype,Tr=Array.prototype,Or=Object.getPrototypeOf,$t=Object.isExtensible;function Lr(e){for(var t=0;t<e.length;t++)e[t]()}function Ar(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const $=2,st=4,Nr=8,q=16,z=32,Q=64,qe=128,M=512,k=1024,S=2048,Y=4096,P=8192,ie=16384,ot=32768,_e=65536,bt=1<<17,kt=1<<18,ve=1<<19,Rr=1<<20,Ee=32768,at=1<<21,Et=1<<22,Ce=1<<23,lt=Symbol("$state"),Fr=Symbol("legacy props"),Ct=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xt=3,xe=8;function Ir(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Mr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Dr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Pr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function jr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Br(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ur(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function zr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Yr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ze(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function pe(e){w=e}let p;function V(e){if(e===null)throw ze(),he;return p=e}function Ye(){return V(re(p))}function St(e){if(w){if(re(p)!==null)throw ze(),he;p=e}}function Hr(e=1){if(w){for(var t=e,r=p;t--;)r=re(r);p=r}}function Tt(e=!0){for(var t=0,r=p;;){if(r.nodeType===xe){var n=r.data;if(n===wt){if(t===0)return r;t-=1}else(n===mt||n===it)&&(t+=1)}var i=re(r);e&&r.remove(),r=i}}function Zr(e){if(!e||e.nodeType!==xe)throw ze(),he;return e.data}function Ot(e){return e===this.v}function Gr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Jr(e){return!Gr(e,this.v)}let Kr=!1,N=null;function Ve(e){N=e}function Lt(e,t=!1,r){N={p:N,i:!1,c:null,e:null,s:e,x:null,l:null}}function At(e){var t=N,r=t.e;if(r!==null){t.e=null;for(var n of r)Wt(n)}return e!==void 0&&(t.x=e),t.i=!0,N=t.p,e??{}}function Nt(){return!0}let se=[];function Rt(){var e=se;se=[],Lr(e)}function ft(e){if(se.length===0&&!Se){var t=se;queueMicrotask(()=>{t===se&&Rt()})}se.push(e)}function Wr(){for(;se.length>0;)Rt()}function Ft(e){var t=g;if(t===null)return v.f|=Ce,e;if((t.f&ot)===0){if((t.f&qe)===0)throw e;t.b.error(e)}else He(e,t)}function He(e,t){for(;t!==null;){if((t.f&qe)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Ze=new Set;let E=null,O=null,j=[],Ge=null,ut=!1,Se=!1;class D{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#o=[];#a=[];skipped_effects=new Set;is_fork=!1;process(t){j=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#i(n,r);this.is_fork||this.#f(),this.#n>0||this.is_fork?(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects)):(E=null,Mt(r.render_effects),Mt(r.effects),this.#l?.resolve()),O=null}#i(t,r){t.f^=k;for(var n=t.first;n!==null;){var i=n.f,s=(i&(z|Q))!==0,o=s&&(i&k)!==0,a=o||(i&P)!==0||this.skipped_effects.has(n);if((n.f&qe)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){s?n.f^=k:(i&st)!==0?r.effects.push(n):Re(n)&&((n.f&q)!==0&&r.block_effects.push(n),Fe(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#s(t){for(const r of t)((r.f&S)!==0?this.#o:this.#a).push(r),x(r,k)}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Ce)===0&&(this.current.set(t,t.v),O?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E=null,O=null}flush(){if(this.activate(),j.length>0){if(It(),E!==null&&E!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#u()}#u(){if(Ze.size>1){this.previous.clear();var t=O,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Ze){if(i===this){r=!1;continue}const s=[];for(const[a,l]of this.current){if(i.current.has(a))if(r&&l!==i.current.get(a))i.current.set(a,l);else continue;s.push(a)}if(s.length===0)continue;const o=[...i.current.keys()].filter(a=>!this.current.has(a));if(o.length>0){const a=new Set,l=new Map;for(const f of s)Dt(f,o,a,l);if(j.length>0){E=i,i.apply();for(const f of j)i.#i(f,n);j=[],i.deactivate()}}}E=null,O=t}this.committed=!0,Ze.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#o)x(t,S),oe(t);for(const t of this.#a)x(t,Y),oe(t);this.#o=[],this.#a=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Ar()).promise}static ensure(){if(E===null){const t=E=new D;Ze.add(E),Se||D.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){ft(t)}apply(){}}function ge(e){var t=Se;Se=!0;try{for(var r;;){if(Wr(),j.length===0&&(E?.flush(),j.length===0))return Ge=null,r;It()}}finally{Se=t}}function It(){var e=fe;ut=!0;try{var t=0;for(or(!0);j.length>0;){var r=D.ensure();if(t++>1e3){var n,i;Xr()}r.process(j),ee.clear()}}finally{ut=!1,or(e),Ge=null}}function Xr(){try{jr()}catch(e){He(e,Ge)}}let H=null;function Mt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ie|P))===0&&Re(n)&&(H=new Set,Fe(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?rr(n):n.fn=null),H?.size>0)){ee.clear();for(const i of H){if((i.f&(ie|P))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)H.has(o)&&(H.delete(o),s.push(o)),o=o.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(ie|P))===0&&Fe(l)}}H.clear()}}H=null}}function Dt(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&$)!==0?Dt(i,t,r,n):(s&(Et|q))!==0&&(s&S)===0&&Pt(i,t,n)&&(x(i,S),oe(i))}}function Pt(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&$)!==0&&Pt(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function oe(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var r=t.f;if(ut&&t===g&&(r&q)!==0&&(r&kt)===0)return;if((r&(Q|z))!==0){if((r&k)===0)return;t.f^=k}}j.push(t)}function Qr(e){let t=0,r=Je(0),n;return()=>{Ke()&&(U(r),Xt(()=>(t===0&&(n=vr(()=>e(()=>Te(r)))),t+=1,()=>{ft(()=>{t-=1,t===0&&(n?.(),n=void 0,Te(r))})})))}}var en=_e|ve|qe;function tn(e,t,r){new rn(e,t,r)}class rn{parent;#t=!1;#e;#r=w?p:null;#n;#l;#o;#a=null;#i=null;#s=null;#f=null;#u=null;#d=0;#c=0;#_=!1;#h=null;#w=Qr(()=>(this.#h=Je(this.#d),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=g.b,this.#t=!!this.#n.pending,this.#o=Qt(()=>{if(g.b=this,w){const s=this.#r;Ye(),s.nodeType===xe&&s.data===it?this.#$():this.#y()}else{var i=this.#g();try{this.#a=J(()=>n(i))}catch(s){this.error(s)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},en),w&&(this.#e=p)}#y(){try{this.#a=J(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#n.pending;t&&(this.#i=J(()=>t(this.#e)),D.enqueue(()=>{var r=this.#g();this.#a=this.#v(()=>(D.ensure(),J(()=>this.#l(r)))),this.#c>0?this.#p():(Ae(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=G(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(t){var r=g,n=v,i=N;ne(this.#o),R(this.#o),Ve(this.#o.ctx);try{return t()}catch(s){return Ft(s),null}finally{ne(r),R(n),Ve(i)}}#p(){const t=this.#n.pending;this.#a!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),sr(this.#a,this.#f)),this.#i===null&&(this.#i=J(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Ae(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#d+=t,this.#h&&qt(this.#h,this.#d)}get_effect_pending(){return this.#w(),U(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#_||!r&&!n)throw t;this.#a&&(T(this.#a),this.#a=null),this.#i&&(T(this.#i),this.#i=null),this.#s&&(T(this.#s),this.#s=null),w&&(V(this.#r),Hr(),V(Tt()));var i=!1,s=!1;const o=()=>{if(i){Vr();return}i=!0,s&&Yr(),D.ensure(),this.#d=0,this.#s!==null&&Ae(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#a=this.#v(()=>(this.#_=!1,J(()=>this.#l(this.#e)))),this.#c>0?this.#p():this.#t=!1};var a=v;try{R(null),s=!0,r?.(t,o),s=!1}catch(l){He(l,this.#o&&this.#o.parent)}finally{R(a)}n&&ft(()=>{this.#s=this.#v(()=>{D.ensure(),this.#_=!0;try{return J(()=>{n(this.#e,()=>t,()=>o)})}catch(l){return He(l,this.#o.parent),null}finally{this.#_=!1}})})}}function nn(e){var t=$|S,r=v!==null&&(v.f&$)!==0?v:null;return g!==null&&(g.f|=ve),{ctx:N,deps:null,effects:null,equals:Ot,f:t,fn:e,reactions:null,rv:0,v:b,wv:0,parent:r??g,ac:null}}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)T(t[r])}}function sn(e){for(var t=e.parent;t!==null;){if((t.f&$)===0)return t;t=t.parent}return null}function ct(e){var t,r=g;ne(sn(e));try{e.f&=~Ee,jt(e),t=hr(e)}finally{ne(r)}return t}function Bt(e){var t=ct(e);if(e.equals(t)||(e.v=t,e.wv=ur()),!ue)if(O!==null)Ke()&&O.set(e,e.v);else{var r=(e.f&M)===0?Y:k;x(e,r)}}let ht=new Set;const ee=new Map;let Ut=!1;function Je(e,t){var r={f:0,v:e,reactions:null,equals:Ot,rv:0,wv:0};return r}function te(e,t){const r=Je(e);return wn(r),r}function on(e,t=!1,r=!0){const n=Je(e);return t||(n.equals=Jr),n}function Z(e,t,r=!1){v!==null&&(!B||(v.f&bt)!==0)&&Nt()&&(v.f&($|q|Et|bt))!==0&&!K?.includes(e)&&zr();let n=r?Oe(t):t;return qt(e,n)}function qt(e,t){if(!e.equals(t)){var r=e.v;ue?ee.set(e,t):ee.set(e,r),e.v=t;var n=D.ensure();n.capture(e,r),(e.f&$)!==0&&((e.f&S)!==0&&ct(e),x(e,(e.f&M)!==0?k:Y)),e.wv=ur(),zt(e,S),g!==null&&(g.f&k)!==0&&(g.f&(z|Q))===0&&(F===null?yn([e]):F.push(e)),!n.is_fork&&ht.size>0&&!Ut&&an()}return t}function an(){Ut=!1;const e=Array.from(ht);for(const t of e)(t.f&k)!==0&&x(t,Y),Re(t)&&Fe(t);ht.clear()}function Te(e){Z(e,e.v+1)}function zt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,a=(o&S)===0;if(a&&x(s,t),(o&$)!==0){var l=s;O?.delete(l),(o&Ee)===0&&(o&M&&(s.f|=Ee),zt(l,Y))}else a&&((o&q)!==0&&H!==null&&H.add(s),oe(s))}}function Oe(e){if(typeof e!="object"||e===null||lt in e)return e;const t=Or(e);if(t!==Sr&&t!==Tr)return e;var r=new Map,n=Er(e),i=te(0),s=ce,o=a=>{if(ce===s)return a();var l=v,f=ce;R(null),fr(s);var d=a();return R(l),fr(f),d};return n&&r.set("length",te(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ur();var d=r.get(l);return d===void 0?d=o(()=>{var _=te(f.value);return r.set(l,_),_}):Z(d,f.value,!0),!0},deleteProperty(a,l){var f=r.get(l);if(f===void 0){if(l in a){const d=o(()=>te(b));r.set(l,d),Te(i)}}else Z(f,b),Te(i);return!0},get(a,l,f){if(l===lt)return e;var d=r.get(l),_=l in a;if(d===void 0&&(!_||de(a,l)?.writable)&&(d=o(()=>{var h=Oe(_?a[l]:b),y=te(h);return y}),r.set(l,d)),d!==void 0){var c=U(d);return c===b?void 0:c}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var d=r.get(l);d&&(f.value=U(d))}else if(f===void 0){var _=r.get(l),c=_?.v;if(_!==void 0&&c!==b)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,l){if(l===lt)return!0;var f=r.get(l),d=f!==void 0&&f.v!==b||Reflect.has(a,l);if(f!==void 0||g!==null&&(!d||de(a,l)?.writable)){f===void 0&&(f=o(()=>{var c=d?Oe(a[l]):b,h=te(c);return h}),r.set(l,f));var _=U(f);if(_===b)return!1}return d},set(a,l,f,d){var _=r.get(l),c=l in a;if(n&&l==="length")for(var h=f;h<_.v;h+=1){var y=r.get(h+"");y!==void 0?Z(y,b):h in a&&(y=o(()=>te(b)),r.set(h+"",y))}if(_===void 0)(!c||de(a,l)?.writable)&&(_=o(()=>te(void 0)),Z(_,Oe(f)),r.set(l,_));else{c=_.v!==b;var u=o(()=>Oe(f));Z(_,u)}var m=Reflect.getOwnPropertyDescriptor(a,l);if(m?.set&&m.set.call(d,f),!c){if(n&&typeof l=="string"){var I=r.get("length"),je=Number(l);Number.isInteger(je)&&je>=I.v&&Z(I,je+1)}Te(i)}return!0},ownKeys(a){U(i);var l=Reflect.ownKeys(a).filter(_=>{var c=r.get(_);return c===void 0||c.v!==b});for(var[f,d]of r)d.v!==b&&!(f in a)&&l.push(f);return l},setPrototypeOf(){qr()}})}var Yt,Vt,Ht,Zt;function dt(){if(Yt===void 0){Yt=window,Vt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ht=de(t,"firstChild").get,Zt=de(t,"nextSibling").get,$t(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),$t(r)&&(r.__t=void 0)}}function G(e=""){return document.createTextNode(e)}function ae(e){return Ht.call(e)}function re(e){return Zt.call(e)}function Gt(e,t){if(!w)return ae(e);var r=ae(p);return r===null&&(r=p.appendChild(G())),V(r),r}function Le(e,t=!1){if(!w){var r=ae(e);return r instanceof Comment&&r.data===""?re(r):r}if(t&&p?.nodeType!==xt){var n=G();return p?.before(n),V(n),n}return p}function ln(e){e.textContent=""}function fn(){return!1}function Jt(e){var t=v,r=g;R(null),ne(null);try{return e()}finally{R(t),ne(r)}}function un(e){g===null&&(v===null&&Pr(),Dr()),ue&&Mr()}function cn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function le(e,t,r,n=!0){var i=g;i!==null&&(i.f&P)!==0&&(e|=P);var s={ctx:N,deps:null,nodes_start:null,nodes_end:null,f:e|S|M,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Fe(s),s.f|=ot}catch(l){throw T(s),l}else t!==null&&oe(s);if(n){var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&ve)===0&&(o=o.first,(e&q)!==0&&(e&_e)!==0&&o!==null&&(o.f|=_e)),o!==null&&(o.parent=i,i!==null&&cn(o,i),v!==null&&(v.f&$)!==0&&(e&Q)===0)){var a=v;(a.effects??=[]).push(o)}}return s}function Ke(){return v!==null&&!B}function Kt(e){un();var t=g.f,r=!v&&(t&z)!==0&&(t&ot)===0;if(r){var n=N;(n.e??=[]).push(e)}else return Wt(e)}function Wt(e){return le(st|Rr,e,!1)}function hn(e){D.ensure();const t=le(Q|ve,e,!0);return()=>{T(t)}}function dn(e){D.ensure();const t=le(Q|ve,e,!0);return(r={})=>new Promise(n=>{r.outro?Ae(t,()=>{T(t),n(void 0)}):(T(t),n(void 0))})}function _n(e){return le(st,e,!1)}function Xt(e,t=0){return le(Nr|t,e,!0)}function Qt(e,t=0){var r=le(q|t,e,!0);return r}function J(e,t=!0){return le(z|ve,e,!0,t)}function er(e){var t=e.teardown;if(t!==null){const r=ue,n=v;ar(!0),R(null);try{t.call(null)}finally{ar(r),R(n)}}}function tr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Jt(()=>{i.abort(Ct)});var n=r.next;(r.f&Q)!==0?r.parent=null:T(r,t),r=n}}function vn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&z)===0&&T(t),t=r}}function T(e,t=!0){var r=!1;(t||(e.f&kt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(pn(e.nodes_start,e.nodes_end),r=!0),tr(e,t&&!r),We(e,0),x(e,ie);var n=e.transitions;if(n!==null)for(const s of n)s.stop();er(e);var i=e.parent;i!==null&&i.first!==null&&rr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function pn(e,t){for(;e!==null;){var r=e===t?null:re(e);e.remove(),e=r}}function rr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Ae(e,t,r=!0){var n=[];nr(e,n,!0),gn(n,()=>{r&&T(e),t&&t()})}function gn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function nr(e,t,r){if((e.f&P)===0){if(e.f^=P,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&_e)!==0||(n.f&z)!==0&&(e.f&q)!==0;nr(n,t,s?r:!1),n=i}}}function mn(e){ir(e,!0)}function ir(e,t){if((e.f&P)!==0){e.f^=P,(e.f&k)===0&&(x(e,S),oe(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&_e)!==0||(r.f&z)!==0;ir(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function sr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:re(r);t.append(r),r=i}}let fe=!1;function or(e){fe=e}let ue=!1;function ar(e){ue=e}let v=null,B=!1;function R(e){v=e}let g=null;function ne(e){g=e}let K=null;function wn(e){v!==null&&(K===null?K=[e]:K.push(e))}let C=null,L=0,F=null;function yn(e){F=e}let lr=1,Ne=0,ce=Ne;function fr(e){ce=e}function ur(){return++lr}function Re(e){var t=e.f;if((t&S)!==0)return!0;if(t&$&&(e.f&=~Ee),(t&Y)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Re(s)&&Bt(s),s.wv>e.wv)return!0}(t&M)!==0&&O===null&&x(e,k)}return!1}function cr(e,t,r=!0){var n=e.reactions;if(n!==null&&!K?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&$)!==0?cr(s,t,!1):t===s&&(r?x(s,S):(s.f&k)!==0&&x(s,Y),oe(s))}}function hr(e){var t=C,r=L,n=F,i=v,s=K,o=N,a=B,l=ce,f=e.f;C=null,L=0,F=null,v=(f&(z|Q))===0?e:null,K=null,Ve(e.ctx),B=!1,ce=++Ne,e.ac!==null&&(Jt(()=>{e.ac.abort(Ct)}),e.ac=null);try{e.f|=at;var d=e.fn,_=d(),c=e.deps;if(C!==null){var h;if(We(e,L),c!==null&&L>0)for(c.length=L+C.length,h=0;h<C.length;h++)c[L+h]=C[h];else e.deps=c=C;if(fe&&Ke()&&(e.f&M)!==0)for(h=L;h<c.length;h++)(c[h].reactions??=[]).push(e)}else c!==null&&L<c.length&&(We(e,L),c.length=L);if(Nt()&&F!==null&&!B&&c!==null&&(e.f&($|Y|S))===0)for(h=0;h<F.length;h++)cr(F[h],e);return i!==null&&i!==e&&(Ne++,F!==null&&(n===null?n=F:n.push(...F))),(e.f&Ce)!==0&&(e.f^=Ce),_}catch(y){return Ft(y)}finally{e.f^=at,C=t,L=r,F=n,v=i,K=s,Ve(o),B=a,ce=l}}function $n(e,t){let r=t.reactions;if(r!==null){var n=Cr.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&$)!==0&&(C===null||!C.includes(t))&&(x(t,Y),(t.f&M)!==0&&(t.f^=M,t.f&=~Ee),jt(t),We(t,0))}function We(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)$n(e,r[n])}function Fe(e){var t=e.f;if((t&ie)===0){x(e,k);var r=g,n=fe;g=e,fe=!0;try{(t&q)!==0?vn(e):tr(e),er(e);var i=hr(e);e.teardown=typeof i=="function"?i:null,e.wv=lr;var s;yt&&Kr&&(e.f&S)!==0&&e.deps}finally{fe=n,g=r}}}function U(e){var t=e.f,r=(t&$)!==0;if(v!==null&&!B){var n=g!==null&&(g.f&ie)!==0;if(!n&&!K?.includes(e)){var i=v.deps;if((v.f&at)!==0)e.rv<Ne&&(e.rv=Ne,C===null&&i!==null&&i[L]===e?L++:C===null?C=[e]:C.includes(e)||C.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(ue){if(ee.has(e))return ee.get(e);if(r){var o=e,a=o.v;return((o.f&k)===0&&o.reactions!==null||_r(o))&&(a=ct(o)),ee.set(o,a),a}}else if(r){if(o=e,O?.has(o))return O.get(o);Re(o)&&Bt(o),fe&&Ke()&&(o.f&M)===0&&dr(o)}else if(O?.has(e))return O.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function dr(e){if(e.deps!==null){e.f^=M;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&$)!==0&&(t.f&M)===0&&dr(t)}}function _r(e){if(e.v===b)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ee.has(t)||(t.f&$)!==0&&_r(t))return!0;return!1}function vr(e){var t=B;try{return B=!0,e()}finally{B=t}}const bn=-7169;function x(e,t){e.f=e.f&bn|t}const pr=new Set,_t=new Set;function kn(e){for(var t=0;t<e.length;t++)pr.add(e[t]);for(var r of _t)r(e)}let gr=null;function Xe(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;gr=e;var o=0,a=gr===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(o=l)}if(s=i[o]||e.target,s!==t){Ue(e,"currentTarget",{configurable:!0,get(){return s||r}});var d=v,_=g;R(null),ne(null);try{for(var c,h=[];s!==null;){var y=s.assignedSlot||s.parentNode||s.host||null;try{var u=s["__"+n];u!=null&&(!s.disabled||e.target===s)&&u.call(s,e)}catch(m){c?h.push(m):c=m}if(e.cancelBubble||y===t||y===null)break;s=y}if(c){for(let m of h)queueMicrotask(()=>{throw m});throw c}}finally{e.__root=t,delete e.currentTarget,R(d),ne(_)}}}function mr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function W(e,t){var r=g;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function En(e,t){var r=(t&kr)!==0,n,i=!e.startsWith("<!>");return()=>{if(w)return W(p,null),p;n===void 0&&(n=mr(i?e:"<!>"+e),n=ae(n));var s=r||Vt?document.importNode(n,!0):n.cloneNode(!0);return W(s,s),s}}function Cn(e,t,r="svg"){var n=!e.startsWith("<!>"),i=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(w)return W(p,null),p;if(!s){var o=mr(i),a=ae(o);s=ae(a)}var l=s.cloneNode(!0);return W(l,l),l}}function Ie(e,t){return Cn(e,t,"svg")}function xn(e=""){if(!w){var t=G(e+"");return W(t,t),t}var r=p;return r.nodeType!==xt&&(r.before(r=G()),V(r)),W(r,r),r}function Me(){if(w)return W(p,null),p;var e=document.createDocumentFragment(),t=document.createComment(""),r=G();return e.append(t,r),W(t,r),e}function A(e,t){if(w){g.nodes_end=p,Ye();return}e!==null&&e.before(t)}const Sn=["touchstart","touchmove"];function Tn(e){return Sn.includes(e)}function wr(e,t){return yr(e,t)}function On(e,t){dt(),t.intro=t.intro??!1;const r=t.target,n=w,i=p;try{for(var s=ae(r);s&&(s.nodeType!==xe||s.data!==mt);)s=re(s);if(!s)throw he;pe(!0),V(s);const o=yr(e,{...t,anchor:s});return pe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==he&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Br(),dt(),ln(r),pe(!1),wr(e,t)}finally{pe(n),V(i)}}const me=new Map;function yr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){dt();var a=new Set,l=_=>{for(var c=0;c<_.length;c++){var h=_[c];if(!a.has(h)){a.add(h);var y=Tn(h);t.addEventListener(h,Xe,{passive:y});var u=me.get(h);u===void 0?(document.addEventListener(h,Xe,{passive:y}),me.set(h,1)):me.set(h,u+1)}}};l(xr(pr)),_t.add(l);var f=void 0,d=dn(()=>{var _=r??t.appendChild(G());return tn(_,{pending:()=>{}},c=>{if(s){Lt({});var h=N;h.c=s}if(i&&(n.$$events=i),w&&W(c,null),f=e(c,n)||{},w&&(g.nodes_end=p,p===null||p.nodeType!==xe||p.data!==wt))throw ze(),he;s&&At()}),()=>{for(var c of a){t.removeEventListener(c,Xe);var h=me.get(c);--h===0?(document.removeEventListener(c,Xe),me.delete(c)):me.set(c,h)}_t.delete(l),_!==r&&_.parentNode?.removeChild(_)}});return vt.set(f,d),f}let vt=new WeakMap;function Ln(e,t){const r=vt.get(e);return r?(vt.delete(e),r(t)):Promise.resolve()}class An{anchor;#t=new Map;#e=new Map;#r=new Map;#n=!0;constructor(t,r=!0){this.anchor=t,this.#n=r}#l=()=>{var t=E;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)mn(n);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,o]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#r.get(o);a&&(T(a.effect),this.#r.delete(o))}for(const[s,o]of this.#e){if(s===r)continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();sr(o,f),f.append(G()),this.#r.set(s,{effect:o,fragment:f})}else T(o);this.#e.delete(s)};this.#n||!n?Ae(o,a,!1):a()}}};#o=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(T(i.effect),this.#r.delete(n))};ensure(t,r){var n=E,i=fn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),o=G();s.append(o),this.#r.set(t,{effect:J(()=>r(o)),fragment:s})}else this.#e.set(t,J(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#l),n.ondiscard(this.#o)}else w&&(this.anchor=p),this.#l()}}function Nn(e){N===null&&Ir(),Kt(()=>{const t=vr(e);if(typeof t=="function")return t})}function De(e,t,r=!1){w&&Ye();var n=new An(e),i=r?_e:0;function s(o,a){if(w){const f=Zr(e)===it;if(o===f){var l=Tt();V(l),n.anchor=l,pe(!1),n.ensure(o,a),pe(!0);return}}n.ensure(o,a)}Qt(()=>{var o=!1;t((a,l=!0)=>{o=!0,s(l,a)}),o||s(!1,null)},i)}function Rn(e,t,r,n,i){w&&Ye();var s=t.$$slots?.[r],o=!1;s===!0&&(s=t.children,o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>n:n)}function Fn(e,t){_n(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Pe(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var f=!1,d=nn(()=>(f=!1,l())),_=g;return(function(c,h){if(arguments.length>0){const y=h?U(d):c;return Z(d,y),f=!0,i!==void 0&&(i=y),c}return ue&&f||(_.f&ie)!==0?d.v:U(d)})}function In(e){return new Mn(e)}class Mn{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var a=on(o,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return U(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Fr?!0:(U(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return Z(r.get(o)??n(o,a),a),Reflect.set(s,o,a)}});this.#e=(t.hydrate?On:wr)(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)&&ge(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ue(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Ln(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let $r;typeof HTMLElement=="function"&&($r=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),A(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Dn(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Qe(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=In({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=hn(()=>{Xt(()=>{this.$$r=!0;for(const n of Be(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Qe(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qe(e,r,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 Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Qe(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 Dn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Pn(e,t,r,n,i,s){let o=class extends $r{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Be(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Be(t).forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Qe(a,l,t),this.$$d[a]=l;var f=this.$$c;if(f){var d=de(f,a)?.get;d?f[a]=l:f.$set({[a]:l})}}})}),n.forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}class X{constructor(t){this.authUrl=t.authUrl,this.authCookieName=t.authCookieName||"authToken"}async authorizeByToken(t){return X.authByToken(this.authUrl+"/token",t)}async checkLogin(t){return X.checkLogin(this.authUrl+"/token",this.authCookieName,t)}async authorizeSocialLogin(t){return X.authorizeSocialLogin(t,{authUrl:this.authUrl,authCookieName:this.authCookieName})}async socialLoginOauthAnswer(t){return X.socialLoginOauthAnswer(t,{authUrl:this.authUrl,authCookieName:this.authCookieName})}static async authByToken(t,r){const n=await fetch(t,{headers:{Authorization:r,"Content-Type":"application/json"},method:"POST",body:JSON.stringify({token:r})});if(n.ok){const i=await n.json();if(i.error)throw new Error("unauthorized");if(i.token)return i.token;throw console.error("no token on answer"),new Error("no token on answer")}else throw new Error("unauthorized")}static async checkLogin(t,r,n){if(!r)throw new Error("authCookieName is not defined");if(!t)throw new Error("tokenUri is not defined");let i="localStorage",s;if(s=localStorage.getItem(r),s||(s=sessionStorage.getItem(r),i="sessionStorage"),n){console.info("checking auth by token");try{const o=await X.authByToken(t,n);switch(console.info("new token token",o),i){case"localStorage":localStorage.setItem(r,o);break;case"sessionStorage":sessionStorage.setItem(r,o);break}return o}catch{throw new Error("token is not valid")}}if(s){console.info("checking local token",s);try{const o=await X.authByToken(t,s);switch(console.info("new token token",o),i){case"localStorage":localStorage.setItem(r,o);break;case"sessionStorage":sessionStorage.setItem(r,o);break}return o}catch(o){switch(console.error("error on authByToken",o),console.error("not logged"),i){case"localStorage":localStorage.removeItem(r);break;case"sessionStorage":sessionStorage.removeItem(r);break}throw new Error("not logged")}}else throw new Error("not authorized")}static async authorizeSocialLogin(t,r){const n=r.authUrl+"/social/login",i=await fetch(n,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(Object.assign({redirect_uri:t.redirect_uri},t))});if(console.log("server answer with",i),i.ok){const s=await i.json();return r.authCookieName&&localStorage.setItem(r.authCookieName,s.token),console.info("now is logged, token is: "+s.token),s.token}else try{const s=await i.json();throw new Error(JSON.stringify(s))}catch(s){throw s}}static async socialLoginOauthAnswer(t,r){if(console.log("auth socialLoginOauthAnswer",t),!t?.provider)return console.error("auth socialLoginOauthAnswer: no provider");const n={provider:t.provider,token:t.token||t.tmpCode,redirect_uri:t.redirect_uri};return n.token?await X.authorizeSocialLogin(n,r):console.error("auth socialLoginOauthAnswer: no token")}}var jn=Ie('<svg viewBox="-.1 .5 960.2 923.9" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="m958.9 442.4c1.1 26.1-2 52.1-9.2 77.2-7.1 25.1-18.3 48.8-33.1 70.3a240.43 240.43 0 0 1 -53.6 56.2l-.5.4-199.9 149.8-98.3 74.5-59.9 45.2c-3.5 2.7-7.4 4.7-11.5 6.1s-8.5 2.1-12.9 2.1c-4.3 0-8.7-.7-12.8-2.1s-8-3.4-11.5-6.1l-59.9-45.2-98.3-74.5-198.7-148.9-1.2-.8-.4-.4c-20.9-15.7-39-34.7-53.8-56.2s-26-45.3-33.2-70.4c-7.2-25.1-10.3-51.2-9.2-77.3 1.2-26.1 6.5-51.8 15.8-76.2l1.3-3.5 130.7-340.5q1-2.5 2.4-4.8 1.3-2.3 3.1-4.3 1.7-2.1 3.7-3.9 2-1.7 4.2-3.2c3.1-1.9 6.3-3.3 9.8-4.1 3.4-.9 7-1.3 10.5-1.1 3.6.2 7.1.9 10.4 2.2 3.3 1.2 6.5 3 9.3 5.2q2 1.7 3.9 3.6 1.8 2 3.2 4.3 1.5 2.2 2.6 4.7 1.1 2.4 1.8 5l88.1 269.7h356.6l88.1-269.7q.7-2.6 1.9-5 1.1-2.4 2.6-4.7 1.4-2.2 3.2-4.2 1.8-2 3.9-3.7c2.8-2.2 5.9-3.9 9.2-5.2 3.4-1.2 6.9-1.9 10.4-2.1 3.6-.2 7.1.1 10.6 1 3.4.9 6.7 2.3 9.7 4.2q2.3 1.4 4.3 3.2 2 1.7 3.7 3.8 1.7 2.1 3.1 4.4 1.3 2.3 2.3 4.8l130.5 340.6 1.3 3.5c9.3 24.3 14.6 50 15.7 76.1z" fill="#e24329"></path><path d="m959 442.5c1.1 26-2 52.1-9.2 77.2s-18.4 48.9-33.2 70.4-32.9 40.5-53.7 56.2l-.5.4-199.9 149.8s-84.9-64.1-182.5-138l286.5-216.8c12.9-9.7 26.4-18.6 40.3-26.8 13.9-8.3 28.3-15.7 43-22.3 14.8-6.6 29.9-12.5 45.2-17.4 15.4-5 31-9.1 46.9-12.4l1.3 3.5c9.3 24.4 14.6 50.1 15.8 76.2z" fill="#fc6d26"></path><path d="m480 658.5c97.6 73.7 182.6 138 182.6 138l-98.3 74.5-59.9 45.2c-3.5 2.7-7.4 4.7-11.5 6.1s-8.5 2.1-12.9 2.1c-4.3 0-8.7-.7-12.8-2.1s-8-3.4-11.5-6.1l-59.9-45.2-98.3-74.5s84.9-64.3 182.5-138z" fill="#fca326"></path><path d="m480 658.3c-97.7 73.9-182.5 138-182.5 138l-198.7-148.9-1.2-.8-.4-.4c-20.9-15.7-39-34.7-53.8-56.2s-26-45.3-33.2-70.4c-7.2-25.1-10.3-51.2-9.2-77.3 1.2-26.1 6.5-51.8 15.8-76.2l1.3-3.5c15.9 3.3 31.5 7.4 46.9 12.4 15.3 5 30.4 10.8 45.2 17.5 14.7 6.6 29.1 14.1 43 22.3s27.3 17.2 40.3 26.9z" fill="#fc6d26"></path></svg>'),Bn=Ie('<svg width="100%" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" transform="scale(64)" fill="#1B1F23"></path></svg>'),Un=Ie(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 287.56 191"><defs><style>.cls-1 {
3
3
  fill: #0081fb;
4
4
  }
5
5
  .cls-2 {
@@ -7,13 +7,5 @@
7
7
  }
8
8
  .cls-3 {
9
9
  fill: url(#linear-gradient-2);
10
- }</style><linearGradient id="linear-gradient" x1="62.34" y1="101.45" x2="260.34" y2="91.45" gradientTransform="matrix(1, 0, 0, -1, 0, 192)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0064e1"></stop><stop offset="0.4" stop-color="#0064e1"></stop><stop offset="0.83" stop-color="#0073ee"></stop><stop offset="1" stop-color="#0082fb"></stop></linearGradient><linearGradient id="linear-gradient-2" x1="41.42" y1="53" x2="41.42" y2="126" gradientTransform="matrix(1, 0, 0, -1, 0, 192)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0082fb"></stop><stop offset="1" stop-color="#0064e0"></stop></linearGradient></defs><title>facebook-meta</title><path class="cls-1" d="M31.06,126c0,11,2.41,19.41,5.56,24.51A19,19,0,0,0,53.19,160c8.1,0,15.51-2,29.79-21.76,11.44-15.83,24.92-38,34-52l15.36-23.6c10.67-16.39,23-34.61,37.18-47C181.07,5.6,193.54,0,206.09,0c21.07,0,41.14,12.21,56.5,35.11,16.81,25.08,25,56.67,25,89.27,0,19.38-3.82,33.62-10.32,44.87C271,180.13,258.72,191,238.13,191V160c17.63,0,22-16.2,22-34.74,0-26.42-6.16-55.74-19.73-76.69-9.63-14.86-22.11-23.94-35.84-23.94-14.85,0-26.8,11.2-40.23,31.17-7.14,10.61-14.47,23.54-22.7,38.13l-9.06,16c-18.2,32.27-22.81,39.62-31.91,51.75C84.74,183,71.12,191,53.19,191c-21.27,0-34.72-9.21-43-23.09C3.34,156.6,0,141.76,0,124.85Z"></path><path class="cls-2" d="M24.49,37.3C38.73,15.35,59.28,0,82.85,0c13.65,0,27.22,4,41.39,15.61,15.5,12.65,32,33.48,52.63,67.81l7.39,12.32c17.84,29.72,28,45,33.93,52.22,7.64,9.26,13,12,19.94,12,17.63,0,22-16.2,22-34.74l27.4-.86c0,19.38-3.82,33.62-10.32,44.87C271,180.13,258.72,191,238.13,191c-12.8,0-24.14-2.78-36.68-14.61-9.64-9.08-20.91-25.21-29.58-39.71L146.08,93.6c-12.94-21.62-24.81-37.74-31.68-45C107,40.71,97.51,31.23,82.35,31.23c-12.27,0-22.69,8.61-31.41,21.78Z"></path><path class="cls-3" d="M82.35,31.23c-12.27,0-22.69,8.61-31.41,21.78C38.61,71.62,31.06,99.34,31.06,126c0,11,2.41,19.41,5.56,24.51L10.14,167.91C3.34,156.6,0,141.76,0,124.85,0,94.1,8.44,62.05,24.49,37.3,38.73,15.35,59.28,0,82.85,0Z"></path></svg>`),Fn=Te('<svg viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1, 0, 0, 1, 27.009001, -39.238998)"><path fill="#4285F4" d="M -3.264 51.509 C -3.264 50.719 -3.334 49.969 -3.454 49.239 L -14.754 49.239 L -14.754 53.749 L -8.284 53.749 C -8.574 55.229 -9.424 56.479 -10.684 57.329 L -10.684 60.329 L -6.824 60.329 C -4.564 58.239 -3.264 55.159 -3.264 51.509 Z"></path><path fill="#34A853" d="M -14.754 63.239 C -11.514 63.239 -8.804 62.159 -6.824 60.329 L -10.684 57.329 C -11.764 58.049 -13.134 58.489 -14.754 58.489 C -17.884 58.489 -20.534 56.379 -21.484 53.529 L -25.464 53.529 L -25.464 56.619 C -23.494 60.539 -19.444 63.239 -14.754 63.239 Z"></path><path fill="#FBBC05" d="M -21.484 53.529 C -21.734 52.809 -21.864 52.039 -21.864 51.239 C -21.864 50.439 -21.724 49.669 -21.484 48.949 L -21.484 45.859 L -25.464 45.859 C -26.284 47.479 -26.754 49.299 -26.754 51.239 C -26.754 53.179 -26.284 54.999 -25.464 56.619 L -21.484 53.529 Z"></path><path fill="#EA4335" d="M -14.754 43.989 C -12.984 43.989 -11.404 44.599 -10.154 45.789 L -6.734 42.369 C -8.804 40.429 -11.514 39.239 -14.754 39.239 C -19.444 39.239 -23.494 41.939 -25.464 45.859 L -21.484 48.949 C -20.534 46.099 -17.884 43.989 -14.754 43.989 Z"></path></g></svg>'),Dn=Te('<svg viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><desc>Authentik Streamline Icon: https://streamlinehq.com</desc><title>Authentik</title><path d="M13.96 9.01h-0.84V7.492h-1.234v3.663H5.722c0.34 0.517 0.538 0.982 0.538 1.152 0 0.46 -1.445 3.059 -3.197 3.059C0.8 15.427 -0.745 12.8 0.372 10.855a3.062 3.062 0 0 1 2.691 -1.606c1.04 0 1.971 0.915 2.557 1.755V6.577a3.773 3.773 0 0 1 3.77 -3.769h10.84C22.31 2.808 24 4.5 24 6.577v10.845a3.773 3.773 0 0 1 -3.77 3.769h-1.6V17.5h-7.64v3.692h-1.6a3.773 3.773 0 0 1 -3.77 -3.769v-3.41h12.114v-6.52h-1.59v0.893h-0.84v-0.893H13.96v1.516Zm-9.956 1.845c-0.662 -0.703 -1.578 -0.544 -2.209 0 -2.105 2.054 1.338 5.553 3.302 1.447a5.395 5.395 0 0 0 -1.093 -1.447Z" fill="#000000" stroke-width="1"></path></svg>'),Pn=pn('<div id="icon" class="svelte-kq1w1o"><div id="icon-content" role="button" tabindex="0" class="svelte-kq1w1o"><!></div></div>');const Mn={hash:"svelte-kq1w1o",code:"#icon.svelte-kq1w1o {width:100%;height:100%;position:relative;}#icon-content.svelte-kq1w1o {margin:0;position:absolute;top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);}:host {width:40px;height:40px;display:block;padding:10px;}"};function dr(e,t){xt(t,!0),Cn(e,Mn);/**
11
- * Svelte Auth Social Login Button WebComponent
12
- * =====================
13
- *
14
- * @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
15
- *
16
- * @license: MIT License
17
- *
18
- */function r(f,m){t.$$host.dispatchEvent(new CustomEvent(f,{detail:m}))}let n=Ne(t,"provider",7,void 0),i=Ne(t,"auth_cookie_name",7,"hb_session"),s=Ne(t,"social_auth_server_url",7,void 0),o=Ne(t,"redirectonlogin",7,void 0),a=Ne(t,"id",7,"");zt(()=>{if(typeof n()=="string")try{n(JSON.parse(n()))}catch(f){console.error(f)}});async function l(){if(!n()?.name||!n().url&&!n().params)return console.error("Provider not defined");if(n().url)location.href=n().url;else if(n().params?.client_id&&n().params.redirect_url){if(!n().params.client_id||!n().params.redirect_url)return console.error("Missing client_id or redirect_url in oauth2ProvidersObj");let f;switch(n().name){case"google":f=`https://accounts.google.com/o/oauth2/v2/auth?scope=${n().params.scope}&include_granted_scopes=true&response_type=token&state=state_parameter_passthrough_value&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"github":f=`https://github.com/login/oauth/authorize?scope=${n().params.scope}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"gitlab":f=`https://gitlab.com/oauth/authorize?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"facebook":f=`https://gitlab.com/oauth/authorize?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"authentik":f=`${n().params.auth_server_url}/application/o/authorize/?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;default:return console.error("no provider uri composed for "+n().name)}if(f)location.href=f;else return console.error("no provider url obtained!?",n())}else console.warn("no provider uri or params defined for "+n().name),r("oauthFlowCustom",{provider:n().name})}function u(f){i()&&s()&&q.socialLoginOauthAnswer(f,{authUrl:s(),authCookieName:i()}).then(m=>{console.log("auth from client",m),o()?location.href=o():(console.log("oauthFlowSuccess now",{token:m}),r("oauthFlowSuccess",{token:m}))}).catch(m=>{console.error("flowerr",m)})}function c(){if(console.info("detecting by uri",location.href),n()?.name){if(n().name==="google"&&location?.href&&location.href.split("access_token=").length>1&&location.href.includes("google")){console.info("google auth login detected");const f=location.href.split("access_token=")[1].split("&")[0];u({provider:n().name,token:f}),r("oauthFlowInit",{provider:n().name,token:f})}if(n().name==="github"&&location?.href&&location.href.includes("code=")&&location.href.includes("provider=")&&location.href.split("provider=")[1].split("&")[0]==="github"){console.info("github auth login detected");const f=location.href.split("code=")[1].split("&")[0];u({provider:n().name,token:f,tmpCode:f}),r("oauthFlowInit",{provider:n().name,token:f,tmpCode:f})}if(n().name==="facebook"&&location?.href&&location.href.includes("code=")&&location.href.includes("provider=")&&location.href.split("provider=")[1].split("&")[0]==="facebook"){console.info("facebook auth login detected");const f=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],$=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(f,"").replace(m,"");u({provider:n().name,token:f,tmpCode:f,redirect_uri:$}),r("oauthFlowInit",{provider:n().name,token:f,tmpCode:f,redirect_uri:$})}if(n().name==="gitlab"&&location?.href&&location.href.includes("provider=")&&location.href.includes("code=")&&location.href.split("provider=")[1].split("&")[0]==="gitlab"){const f=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],$=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(f,"").replace(m,"");u({provider:n().name,token:f,tmpCode:f,redirect_uri:$}),r("oauthFlowInit",{provider:n().name,token:f,tmpCode:f,redirect_uri:location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(f,"").replace(m,"")})}if(n().name==="authentik"&&location?.href&&location.href.includes("provider=")&&location.href.includes("code=")&&location.href.split("provider=")[1].split("&")[0]==="authentik"){console.info("authentik auth login detected");const f=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],$=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(f,"").replace(m,"");u({provider:n().name,token:f,tmpCode:f,redirect_uri:$}),r("oauthFlowInit",{provider:n().name,token:f,tmpCode:f,redirect_uri:$})}}}bn(()=>{c()});var _={get provider(){return n()},set provider(f=void 0){n(f),ce()},get auth_cookie_name(){return i()},set auth_cookie_name(f="hb_session"){i(f),ce()},get social_auth_server_url(){return s()},set social_auth_server_url(f=void 0){s(f),ce()},get redirectonlogin(){return o()},set redirectonlogin(f=void 0){o(f),ce()},get id(){return a()},set id(f=""){a(f),ce()}},d=Pn(),h=Yt(d);h.__click=[Ln,l],h.__keydown=[Nn,l];var v=Yt(h);return En(v,t,"default",{},f=>{var m=Oe(),$=xe(m);{var x=B=>{var we=An();L(B,we)},ze=B=>{var we=Oe(),jn=xe(we);{var qn=$e=>{var He=Rn();L($e,He)},Bn=$e=>{var He=Oe(),Un=xe(He);{var Yn=ye=>{var Ze=In();L(ye,Ze)},Vn=ye=>{var Ze=Oe(),zn=xe(Ze);{var Hn=ke=>{var Ge=Fn();L(ke,Ge)},Zn=ke=>{var Ge=Oe(),Gn=xe(Ge);{var Jn=be=>{var ft=Dn();L(be,ft)},Wn=be=>{var ft=mn("btn");L(be,ft)};Le(Gn,be=>{n()?.name==="authentik"?be(Jn):be(Wn,!1)},!0)}L(ke,Ge)};Le(zn,ke=>{n()?.name==="google"?ke(Hn):ke(Zn,!1)},!0)}L(ye,Ze)};Le(Un,ye=>{n()?.name==="facebook"?ye(Yn):ye(Vn,!1)},!0)}L($e,He)};Le(jn,$e=>{n()?.name==="github"?$e(qn):$e(Bn,!1)},!0)}L(B,we)};Le($,B=>{n()?.name==="gitlab"?B(x):B(ze,!1)})}L(f,m)}),bt(h),bt(d),L(e,d),St(_)}_n(["click","keydown"]),customElements.define("hb-auth-social-login-button",On(dr,{provider:{},auth_cookie_name:{},social_auth_server_url:{},redirectonlogin:{},id:{}},["default"],[],!0)),ct.Component=dr,Object.defineProperty(ct,Symbol.toStringTag,{value:"Module"})})(this["auth-social-login-button"]=this["auth-social-login-button"]||{});
10
+ }</style><linearGradient id="linear-gradient" x1="62.34" y1="101.45" x2="260.34" y2="91.45" gradientTransform="matrix(1, 0, 0, -1, 0, 192)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0064e1"></stop><stop offset="0.4" stop-color="#0064e1"></stop><stop offset="0.83" stop-color="#0073ee"></stop><stop offset="1" stop-color="#0082fb"></stop></linearGradient><linearGradient id="linear-gradient-2" x1="41.42" y1="53" x2="41.42" y2="126" gradientTransform="matrix(1, 0, 0, -1, 0, 192)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0082fb"></stop><stop offset="1" stop-color="#0064e0"></stop></linearGradient></defs><title>facebook-meta</title><path class="cls-1" d="M31.06,126c0,11,2.41,19.41,5.56,24.51A19,19,0,0,0,53.19,160c8.1,0,15.51-2,29.79-21.76,11.44-15.83,24.92-38,34-52l15.36-23.6c10.67-16.39,23-34.61,37.18-47C181.07,5.6,193.54,0,206.09,0c21.07,0,41.14,12.21,56.5,35.11,16.81,25.08,25,56.67,25,89.27,0,19.38-3.82,33.62-10.32,44.87C271,180.13,258.72,191,238.13,191V160c17.63,0,22-16.2,22-34.74,0-26.42-6.16-55.74-19.73-76.69-9.63-14.86-22.11-23.94-35.84-23.94-14.85,0-26.8,11.2-40.23,31.17-7.14,10.61-14.47,23.54-22.7,38.13l-9.06,16c-18.2,32.27-22.81,39.62-31.91,51.75C84.74,183,71.12,191,53.19,191c-21.27,0-34.72-9.21-43-23.09C3.34,156.6,0,141.76,0,124.85Z"></path><path class="cls-2" d="M24.49,37.3C38.73,15.35,59.28,0,82.85,0c13.65,0,27.22,4,41.39,15.61,15.5,12.65,32,33.48,52.63,67.81l7.39,12.32c17.84,29.72,28,45,33.93,52.22,7.64,9.26,13,12,19.94,12,17.63,0,22-16.2,22-34.74l27.4-.86c0,19.38-3.82,33.62-10.32,44.87C271,180.13,258.72,191,238.13,191c-12.8,0-24.14-2.78-36.68-14.61-9.64-9.08-20.91-25.21-29.58-39.71L146.08,93.6c-12.94-21.62-24.81-37.74-31.68-45C107,40.71,97.51,31.23,82.35,31.23c-12.27,0-22.69,8.61-31.41,21.78Z"></path><path class="cls-3" d="M82.35,31.23c-12.27,0-22.69,8.61-31.41,21.78C38.61,71.62,31.06,99.34,31.06,126c0,11,2.41,19.41,5.56,24.51L10.14,167.91C3.34,156.6,0,141.76,0,124.85,0,94.1,8.44,62.05,24.49,37.3,38.73,15.35,59.28,0,82.85,0Z"></path></svg>`),qn=Ie('<svg viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1, 0, 0, 1, 27.009001, -39.238998)"><path fill="#4285F4" d="M -3.264 51.509 C -3.264 50.719 -3.334 49.969 -3.454 49.239 L -14.754 49.239 L -14.754 53.749 L -8.284 53.749 C -8.574 55.229 -9.424 56.479 -10.684 57.329 L -10.684 60.329 L -6.824 60.329 C -4.564 58.239 -3.264 55.159 -3.264 51.509 Z"></path><path fill="#34A853" d="M -14.754 63.239 C -11.514 63.239 -8.804 62.159 -6.824 60.329 L -10.684 57.329 C -11.764 58.049 -13.134 58.489 -14.754 58.489 C -17.884 58.489 -20.534 56.379 -21.484 53.529 L -25.464 53.529 L -25.464 56.619 C -23.494 60.539 -19.444 63.239 -14.754 63.239 Z"></path><path fill="#FBBC05" d="M -21.484 53.529 C -21.734 52.809 -21.864 52.039 -21.864 51.239 C -21.864 50.439 -21.724 49.669 -21.484 48.949 L -21.484 45.859 L -25.464 45.859 C -26.284 47.479 -26.754 49.299 -26.754 51.239 C -26.754 53.179 -26.284 54.999 -25.464 56.619 L -21.484 53.529 Z"></path><path fill="#EA4335" d="M -14.754 43.989 C -12.984 43.989 -11.404 44.599 -10.154 45.789 L -6.734 42.369 C -8.804 40.429 -11.514 39.239 -14.754 39.239 C -19.444 39.239 -23.494 41.939 -25.464 45.859 L -21.484 48.949 C -20.534 46.099 -17.884 43.989 -14.754 43.989 Z"></path></g></svg>'),zn=Ie('<svg viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><desc>Authentik Streamline Icon: https://streamlinehq.com</desc><title>Authentik</title><path d="M13.96 9.01h-0.84V7.492h-1.234v3.663H5.722c0.34 0.517 0.538 0.982 0.538 1.152 0 0.46 -1.445 3.059 -3.197 3.059C0.8 15.427 -0.745 12.8 0.372 10.855a3.062 3.062 0 0 1 2.691 -1.606c1.04 0 1.971 0.915 2.557 1.755V6.577a3.773 3.773 0 0 1 3.77 -3.769h10.84C22.31 2.808 24 4.5 24 6.577v10.845a3.773 3.773 0 0 1 -3.77 3.769h-1.6V17.5h-7.64v3.692h-1.6a3.773 3.773 0 0 1 -3.77 -3.769v-3.41h12.114v-6.52h-1.59v0.893h-0.84v-0.893H13.96v1.516Zm-9.956 1.845c-0.662 -0.703 -1.578 -0.544 -2.209 0 -2.105 2.054 1.338 5.553 3.302 1.447a5.395 5.395 0 0 0 -1.093 -1.447Z" fill="#000000" stroke-width="1"></path></svg>'),Yn=En('<div id="icon" class="svelte-4zfj79"><div id="icon-content" role="button" tabindex="0" class="svelte-4zfj79"><!></div></div>');const Vn={hash:"svelte-4zfj79",code:"#icon.svelte-4zfj79 {width:100%;height:100%;position:relative;}#icon-content.svelte-4zfj79 {margin:0;position:absolute;top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);}:host {width:40px;height:40px;display:block;padding:10px;}"};function br(e,t){Lt(t,!0),Fn(e,Vn);function r(u,m){t.$$host.dispatchEvent(new CustomEvent(u,{detail:m}))}let n=Pe(t,"provider",7,void 0),i=Pe(t,"auth_cookie_name",7,"hb_session"),s=Pe(t,"social_auth_server_url",7,void 0),o=Pe(t,"redirectonlogin",7,void 0),a=Pe(t,"id",7,"");Kt(()=>{if(typeof n()=="string")try{n(JSON.parse(n()))}catch(u){console.error(u)}});async function l(){if(!n()?.name||!n().url&&!n().params)return console.error("Provider not defined");if(n().url)location.href=n().url;else if(n().params?.client_id&&n().params.redirect_url){if(!n().params.client_id||!n().params.redirect_url)return console.error("Missing client_id or redirect_url in oauth2ProvidersObj");let u;switch(n().name){case"google":u=`https://accounts.google.com/o/oauth2/v2/auth?scope=${n().params.scope}&include_granted_scopes=true&response_type=token&state=state_parameter_passthrough_value&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"github":u=`https://github.com/login/oauth/authorize?scope=${n().params.scope}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"gitlab":u=`https://gitlab.com/oauth/authorize?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"facebook":u=`https://gitlab.com/oauth/authorize?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;case"authentik":u=`${n().params.auth_server_url}/application/o/authorize/?scope=${n().params.scope}&response_type=code&state=${new Date().valueOf()}&client_id=${n().params.client_id}&redirect_uri=${n().params.redirect_url}`;break;default:return console.error("no provider uri composed for "+n().name)}if(u)location.href=u;else return console.error("no provider url obtained!?",n())}else console.warn("no provider uri or params defined for "+n().name),r("oauthFlowCustom",{provider:n().name})}function f(u){i()&&s()&&X.socialLoginOauthAnswer(u,{authUrl:s(),authCookieName:i()}).then(m=>{console.log("auth from client",m),o()?location.href=o():(console.log("oauthFlowSuccess now",{token:m}),r("oauthFlowSuccess",{token:m}))}).catch(m=>{console.error("flowerr",m)})}function d(){if(console.info("detecting by uri",location.href),n()?.name){if(n().name==="google"&&location?.href&&location.href.split("access_token=").length>1&&location.href.includes("google")){console.info("google auth login detected");const u=location.href.split("access_token=")[1].split("&")[0];f({provider:n().name,token:u}),r("oauthFlowInit",{provider:n().name,token:u})}if(n().name==="github"&&location?.href&&location.href.includes("code=")&&location.href.includes("provider=")&&location.href.split("provider=")[1].split("&")[0]==="github"){console.info("github auth login detected");const u=location.href.split("code=")[1].split("&")[0];f({provider:n().name,token:u,tmpCode:u}),r("oauthFlowInit",{provider:n().name,token:u,tmpCode:u})}if(n().name==="facebook"&&location?.href&&location.href.includes("code=")&&location.href.includes("provider=")&&location.href.split("provider=")[1].split("&")[0]==="facebook"){console.info("facebook auth login detected");const u=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],I=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(u,"").replace(m,"");f({provider:n().name,token:u,tmpCode:u,redirect_uri:I}),r("oauthFlowInit",{provider:n().name,token:u,tmpCode:u,redirect_uri:I})}if(n().name==="gitlab"&&location?.href&&location.href.includes("provider=")&&location.href.includes("code=")&&location.href.split("provider=")[1].split("&")[0]==="gitlab"){const u=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],I=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(u,"").replace(m,"");f({provider:n().name,token:u,tmpCode:u,redirect_uri:I}),r("oauthFlowInit",{provider:n().name,token:u,tmpCode:u,redirect_uri:location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(u,"").replace(m,"")})}if(n().name==="authentik"&&location?.href&&location.href.includes("provider=")&&location.href.includes("code=")&&location.href.split("provider=")[1].split("&")[0]==="authentik"){console.info("authentik auth login detected");const u=location.href.split("code=")[1].split("&")[0],m=location.href.split("state=")[1].split("&")[0],I=location.href.replace("&state=","").replace("?state=","").replace("&code=","").replace("?code=","").replace(u,"").replace(m,"");f({provider:n().name,token:u,tmpCode:u,redirect_uri:I}),r("oauthFlowInit",{provider:n().name,token:u,tmpCode:u,redirect_uri:I})}}}Nn(()=>{d()});var _={get provider(){return n()},set provider(u=void 0){n(u),ge()},get auth_cookie_name(){return i()},set auth_cookie_name(u="hb_session"){i(u),ge()},get social_auth_server_url(){return s()},set social_auth_server_url(u=void 0){s(u),ge()},get redirectonlogin(){return o()},set redirectonlogin(u=void 0){o(u),ge()},get id(){return a()},set id(u=""){a(u),ge()}},c=Yn(),h=Gt(c);h.__click=()=>{l()},h.__keydown=u=>{(u.key==="Enter"||u.key===" ")&&l()};var y=Gt(h);return Rn(y,t,"default",{},u=>{var m=Me(),I=Le(m);{var je=we=>{var et=jn();A(we,et)},Hn=we=>{var et=Me(),Zn=Le(et);{var Gn=ye=>{var tt=Bn();A(ye,tt)},Jn=ye=>{var tt=Me(),Kn=Le(tt);{var Wn=$e=>{var rt=Un();A($e,rt)},Xn=$e=>{var rt=Me(),Qn=Le(rt);{var ei=be=>{var nt=qn();A(be,nt)},ti=be=>{var nt=Me(),ri=Le(nt);{var ni=ke=>{var pt=zn();A(ke,pt)},ii=ke=>{var pt=xn("btn");A(ke,pt)};De(ri,ke=>{n()?.name==="authentik"?ke(ni):ke(ii,!1)},!0)}A(be,nt)};De(Qn,be=>{n()?.name==="google"?be(ei):be(ti,!1)},!0)}A($e,rt)};De(Kn,$e=>{n()?.name==="facebook"?$e(Wn):$e(Xn,!1)},!0)}A(ye,tt)};De(Zn,ye=>{n()?.name==="github"?ye(Gn):ye(Jn,!1)},!0)}A(we,et)};De(I,we=>{n()?.name==="gitlab"?we(je):we(Hn,!1)})}A(u,m)}),St(h),St(c),A(e,c),At(_)}kn(["click","keydown"]),customElements.define("hb-auth-social-login-button",Pn(br,{provider:{},auth_cookie_name:{},social_auth_server_url:{},redirectonlogin:{},id:{}},["default"],[],!0)),gt.Component=br,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})})(this["auth-social-login-button"]=this["auth-social-login-button"]||{});
19
11
  //# sourceMappingURL=main.iife.js.map