@htmlbricks/hb-auth 0.66.1 → 0.66.3
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
1
|
(function(Lr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ni=1,ii=2,oi=16,si=1,ai=2,Dr="[",or="[!",Fr="[?",sr="]",bt={},Q=Symbol(),Ir="http://www.w3.org/1999/xhtml",li=!1;var jr=Array.isArray,fi=Array.prototype.indexOf,pt=Array.prototype.includes,zt=Array.from,Wt=Object.keys,Bt=Object.defineProperty,gt=Object.getOwnPropertyDescriptor,ui=Object.getOwnPropertyDescriptors,ci=Object.prototype,di=Array.prototype,qr=Object.getPrototypeOf,zr=Object.isExtensible;const vi=()=>{};function hi(e){for(var t=0;t<e.length;t++)e[t]()}function Wr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const X=2,mt=4,Vt=8,Br=1<<24,Be=16,Ne=32,Ve=64,ar=128,_e=512,G=1024,re=2048,Me=4096,he=8192,we=16384,He=32768,Vr=1<<25,_t=65536,Hr=1<<17,Ur=1<<18,Ue=1<<19,bi=1<<20,Ie=1<<25,it=65536,lr=1<<21,fr=1<<22,Ye=1<<23,ur=Symbol("$state"),pi=Symbol("legacy props"),gi=Symbol(""),je=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},mi=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),St=3,wt=8;function _i(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function wi(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function yi(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xi(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ki(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ei(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function $i(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ti(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Si(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ci(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ai(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ht(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ni(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let k=!1;function be(e){k=e}let S;function ee(e){if(e===null)throw Ht(),bt;return S=e}function Ct(){return ee(xe(S))}function T(e){if(k){if(xe(S)!==null)throw Ht(),bt;S=e}}function At(e=1){if(k){for(var t=e,r=S;t--;)r=xe(r);S=r}}function Ut(e=!0){for(var t=0,r=S;;){if(r.nodeType===wt){var n=r.data;if(n===sr){if(t===0)return r;t-=1}else(n===Dr||n===or||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=xe(r);e&&r.remove(),r=i}}function Yr(e){if(!e||e.nodeType!==wt)throw Ht(),bt;return e.data}function Jr(e){return e===this.v}function Ri(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Gr(e){return!Ri(e,this.v)}let Pi=!1,ye=null;function yt(e){ye=e}function Xr(e,t=!1,r){ye={p:ye,i:!1,c:null,e:null,s:e,x:null,r:$,l:null}}function Kr(e){var t=ye,r=t.e;if(r!==null){t.e=null;for(var n of r)Tn(n)}return e!==void 0&&(t.x=e),t.i=!0,ye=t.p,e??{}}function Zr(){return!0}let ot=[];function Qr(){var e=ot;ot=[],hi(e)}function Je(e){if(ot.length===0&&!Nt){var t=ot;queueMicrotask(()=>{t===ot&&Qr()})}ot.push(e)}function Oi(){for(;ot.length>0;)Qr()}function en(e){var t=$;if(t===null)return E.f|=Ye,e;if((t.f&He)===0&&(t.f&mt)===0)throw e;Ge(e,t)}function Ge(e,t){for(;t!==null;){if((t.f&ar)!==0){if((t.f&He)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const Mi=-7169;function H(e,t){e.f=e.f&Mi|t}function cr(e){(e.f&_e)!==0||e.deps===null?H(e,G):H(e,Me)}function tn(e){if(e!==null)for(const t of e)(t.f&X)===0||(t.f&it)===0||(t.f^=it,tn(t.deps))}function rn(e,t,r){(e.f&re)!==0?t.add(e):(e.f&Me)!==0&&r.add(e),tn(e.deps),H(e,G)}const Xe=new Set;let A=null,Re=null,dr=null,Nt=!1,vr=!1,xt=null,Yt=null;var nn=0;let Li=1;class qe{id=Li++;current=new Map;previous=new Map;#e=new Set;#r=new Set;#t=new Map;#i=new Map;#o=null;#n=[];#s=new Set;#a=new Set;#l=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#h(){for(const n of this.#f)for(const i of n.#i.keys()){for(var t=!1,r=i;r.parent!==null;){if(this.#l.has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1}skip_effect(t){this.#l.has(t)||this.#l.set(t,{d:[],m:[]})}unskip_effect(t){var r=this.#l.get(t);if(r){this.#l.delete(t);for(var n of r.d)H(n,re),this.schedule(n);for(n of r.m)H(n,Me),this.schedule(n)}}#v(){if(nn++>1e3&&(Xe.delete(this),Di()),!this.#d()){for(const s of this.#s)this.#a.delete(s),H(s,re),this.schedule(s);for(const s of this.#a)H(s,Me),this.schedule(s)}const t=this.#n;this.#n=[],this.apply();var r=xt=[],n=[],i=Yt=[];for(const s of t)try{this.#u(s,r,n)}catch(f){throw fn(s),f}if(A=null,i.length>0){var o=qe.ensure();for(const s of i)o.schedule(s)}if(xt=null,Yt=null,this.#d()||this.#h()){this.#b(n),this.#b(r);for(const[s,f]of this.#l)ln(s,f)}else{this.#t.size===0&&Xe.delete(this),this.#s.clear(),this.#a.clear();for(const s of this.#e)s(this);this.#e.clear(),on(n),on(r),this.#o?.resolve()}var a=A;if(this.#n.length>0){const s=a??=this;s.#n.push(...this.#n.filter(f=>!s.#n.includes(f)))}a!==null&&(Xe.add(a),a.#v()),Xe.has(this)||this.#p()}#u(t,r,n){t.f^=G;for(var i=t.first;i!==null;){var o=i.f,a=(o&(Ne|Ve))!==0,s=a&&(o&G)!==0,f=s||(o&he)!==0||this.#l.has(i);if(!f&&i.fn!==null){a?i.f^=G:(o&mt)!==0?r.push(i):Pt(i)&&((o&Be)!==0&&this.#a.add(i),$t(i));var l=i.first;if(l!==null){i=l;continue}}for(;i!==null;){var c=i.next;if(c!==null){i=c;break}i=i.parent}}}#b(t){for(var r=0;r<t.length;r+=1)rn(t[r],this.#s,this.#a)}capture(t,r,n=!1){r!==Q&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&Ye)===0&&(this.current.set(t,[t.v,n]),Re?.set(t,t.v))}activate(){A=this}deactivate(){A=null,Re=null}flush(){try{vr=!0,A=this,this.#v()}finally{nn=0,dr=null,xt=null,Yt=null,vr=!1,A=null,Re=null,Ke.clear()}}discard(){for(const t of this.#r)t(this);this.#r.clear(),Xe.delete(this)}#p(){for(const l of Xe){var t=l.id<this.id,r=[];for(const[c,[h,v]]of this.current){if(l.current.has(c)){var n=l.current.get(c)[0];if(t&&h!==n)l.current.set(c,[h,v]);else continue}r.push(c)}var i=[...l.current.keys()].filter(c=>!this.current.has(c));if(i.length===0)t&&l.discard();else if(r.length>0){l.activate();var o=new Set,a=new Map;for(var s of r)sn(s,i,o,a);if(l.#n.length>0){l.apply();for(var f of l.#n)l.#u(f,[],[]);l.#n=[]}l.deactivate()}}for(const l of Xe)l.#f.has(this)&&(l.#f.delete(this),l.#f.size===0&&!l.#d()&&(l.activate(),l.#v()))}increment(t,r){let n=this.#t.get(r)??0;if(this.#t.set(r,n+1),t){let i=this.#i.get(r)??0;this.#i.set(r,i+1)}}decrement(t,r,n){let i=this.#t.get(r)??0;if(i===1?this.#t.delete(r):this.#t.set(r,i-1),t){let o=this.#i.get(r)??0;o===1?this.#i.delete(r):this.#i.set(r,o-1)}this.#c||n||(this.#c=!0,Je(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,r){for(const n of t)this.#s.add(n);for(const n of r)this.#a.add(n);t.clear(),r.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#o??=Wr()).promise}static ensure(){if(A===null){const t=A=new qe;vr||(Xe.add(A),Nt||Je(()=>{A===t&&t.flush()}))}return A}apply(){{Re=null;return}}schedule(t){if(dr=t,t.b?.is_pending&&(t.f&(mt|Vt|Br))!==0&&(t.f&He)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(xt!==null&&r===$&&(E===null||(E.f&X)===0))return;if((n&(Ve|Ne))!==0){if((n&G)===0)return;r.f^=G}}this.#n.push(r)}}function D(e){var t=Nt;Nt=!0;try{for(var r;;){if(Oi(),A===null)return r;A.flush()}}finally{Nt=t}}function Di(){try{Ei()}catch(e){Ge(e,dr)}}let ze=null;function on(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(we|he))===0&&Pt(n)&&(ze=new Set,$t(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&Cn(n),ze?.size>0)){Ke.clear();for(const i of ze){if((i.f&(we|he))!==0)continue;const o=[i];let a=i.parent;for(;a!==null;)ze.has(a)&&(ze.delete(a),o.push(a)),a=a.parent;for(let s=o.length-1;s>=0;s--){const f=o[s];(f.f&(we|he))===0&&$t(f)}}ze.clear()}}ze=null}}function sn(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;(o&X)!==0?sn(i,t,r,n):(o&(fr|Be))!==0&&(o&re)===0&&an(i,t,n)&&(H(i,re),hr(i))}}function an(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(pt.call(t,i))return!0;if((i.f&X)!==0&&an(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function hr(e){A.schedule(e)}function ln(e,t){if(!((e.f&Ne)!==0&&(e.f&G)!==0)){(e.f&re)!==0?t.d.push(e):(e.f&Me)!==0&&t.m.push(e),H(e,G);for(var r=e.first;r!==null;)ln(r,t),r=r.next}}function fn(e){H(e,G);for(var t=e.first;t!==null;)fn(t),t=t.next}function Fi(e){let t=0,r=st(0),n;return()=>{wr()&&(b(r),Kt(()=>(t===0&&(n=Er(()=>e(()=>Rt(r)))),t+=1,()=>{Je(()=>{t-=1,t===0&&(n?.(),n=void 0,Rt(r))})})))}}var Ii=_t|Ue;function ji(e,t,r,n){new qi(e,t,r,n)}class qi{parent;is_pending=!1;transform_error;#e;#r=k?S:null;#t;#i;#o;#n=null;#s=null;#a=null;#l=null;#c=0;#f=0;#d=!1;#h=new Set;#v=new Set;#u=null;#b=Fi(()=>(this.#u=st(this.#c),()=>{this.#u=null}));constructor(t,r,n,i){this.#e=t,this.#t=r,this.#i=o=>{var a=$;a.b=this,a.f|=ar,n(o)},this.parent=$.b,this.transform_error=i??this.parent?.transform_error??(o=>o),this.#o=Zt(()=>{if(k){const o=this.#r;Ct();const a=o.data===or;if(o.data.startsWith(Fr)){const f=JSON.parse(o.data.slice(Fr.length));this.#y(f)}else a?this.#x():this.#p()}else this.#_()},Ii),k&&(this.#e=S)}#p(){try{this.#n=ke(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const r=this.#t.failed;r&&(this.#a=ke(()=>{r(this.#e,()=>t,()=>()=>{})}))}#x(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#s=ke(()=>t(this.#e)),Je(()=>{var r=this.#l=document.createDocumentFragment(),n=ie();r.append(n),this.#n=this.#m(()=>ke(()=>this.#i(n))),this.#f===0&&(this.#e.before(r),this.#l=null,at(this.#s,()=>{this.#s=null}),this.#g(A))}))}#_(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#n=ke(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#l=document.createDocumentFragment();kr(this.#n,t);const r=this.#t.pending;this.#s=ke(()=>r(this.#e))}else this.#g(A)}catch(r){this.error(r)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#v)}defer_effect(t){rn(t,this.#h,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var r=$,n=E,i=ye;Ee(this.#o),ce(this.#o),yt(this.#o.ctx);try{return qe.ensure(),t()}catch(o){return en(o),null}finally{Ee(r),ce(n),yt(i)}}#w(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,r);return}this.#f+=t,this.#f===0&&(this.#g(r),this.#s&&at(this.#s,()=>{this.#s=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t,r){this.#w(t,r),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Je(()=>{this.#d=!1,this.#u&&kt(this.#u,this.#c)}))}get_effect_pending(){return this.#b(),b(this.#u)}error(t){var r=this.#t.onerror;let n=this.#t.failed;if(!r&&!n)throw t;this.#n&&(oe(this.#n),this.#n=null),this.#s&&(oe(this.#s),this.#s=null),this.#a&&(oe(this.#a),this.#a=null),k&&(ee(this.#r),At(),ee(Ut()));var i=!1,o=!1;const a=()=>{if(i){Ni();return}i=!0,o&&Ai(),this.#a!==null&&at(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#_()})},s=f=>{try{o=!0,r?.(f,a),o=!1}catch(l){Ge(l,this.#o&&this.#o.parent)}n&&(this.#a=this.#m(()=>{try{return ke(()=>{var l=$;l.b=this,l.f|=ar,n(this.#e,()=>f,()=>a)})}catch(l){return Ge(l,this.#o.parent),null}}))};Je(()=>{var f;try{f=this.transform_error(t)}catch(l){Ge(l,this.#o&&this.#o.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(s,l=>Ge(l,this.#o&&this.#o.parent)):s(f)})}}function zi(e,t,r,n){const i=br;var o=e.filter(v=>!v.settled);if(r.length===0&&o.length===0){n(t.map(i));return}var a=$,s=Wi(),f=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(v=>v.promise)):null;function l(v){s();try{n(v)}catch(m){(a.f&we)===0&&Ge(m,a)}Jt()}if(r.length===0){f.then(()=>l(t.map(i)));return}var c=un();function h(){Promise.all(r.map(v=>Bi(v))).then(v=>l([...t.map(i),...v])).catch(v=>Ge(v,a)).finally(()=>c())}f?f.then(()=>{s(),h(),Jt()}):h()}function Wi(){var e=$,t=E,r=ye,n=A;return function(o=!0){Ee(e),ce(t),yt(r),o&&(e.f&we)===0&&(n?.activate(),n?.apply())}}function Jt(e=!0){Ee(null),ce(null),yt(null),e&&A?.deactivate()}function un(){var e=$,t=e.b,r=A,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(i=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,i)}}function br(e){var t=X|re,r=E!==null&&(E.f&X)!==0?E:null;return $!==null&&($.f|=Ue),{ctx:ye,deps:null,effects:null,equals:Jr,f:t,fn:e,reactions:null,rv:0,v:Q,wv:0,parent:r??$,ac:null}}function Bi(e,t,r){let n=$;n===null&&_i();var i=void 0,o=st(Q),a=!E,s=new Map;return to(()=>{var f=$,l=Wr();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).finally(Jt)}catch(m){l.reject(m),Jt()}var c=A;if(a){if((f.f&He)!==0)var h=un();if(n.b.is_rendered())s.get(c)?.reject(je),s.delete(c);else{for(const m of s.values())m.reject(je);s.clear()}s.set(c,l)}const v=(m,d=void 0)=>{if(h){var _=d===je;h(_)}if(!(d===je||(f.f&we)!==0)){if(c.activate(),d)o.f|=Ye,kt(o,d);else{(o.f&Ye)!==0&&(o.f^=Ye),kt(o,m);for(const[R,P]of s){if(s.delete(R),R===c)break;P.reject(je)}}c.deactivate()}};l.promise.then(v,m=>v(null,m||"unknown"))}),$n(()=>{for(const f of s.values())f.reject(je)}),new Promise(f=>{function l(c){function h(){c===i?f(o):l(i)}c.then(h,h)}l(i)})}function Vi(e){const t=br(e);return t.equals=Gr,t}function Hi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)oe(t[r])}}function Ui(e){for(var t=e.parent;t!==null;){if((t.f&X)===0)return(t.f&we)===0?t:null;t=t.parent}return null}function pr(e){var t,r=$;Ee(Ui(e));try{e.f&=~it,Hi(e),t=Dn(e)}finally{Ee(r)}return t}function cn(e){var t=e.v,r=pr(e);if(!e.equals(r)&&(e.wv=Mn(),(!A?.is_fork||e.deps===null)&&(e.v=r,A?.capture(e,t,!0),e.deps===null))){H(e,G);return}et||(Re!==null?(wr()||A?.is_fork)&&Re.set(e,r):cr(e))}function Yi(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(je),t.teardown=vi,t.ac=null,Ot(t,0),yr(t))}function dn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&$t(t)}let gr=new Set;const Ke=new Map;let vn=!1;function st(e,t){var r={f:0,v:e,reactions:null,equals:Jr,rv:0,wv:0};return r}function ue(e,t){const r=st(e);return io(r),r}function hn(e,t=!1,r=!0){const n=st(e);return t||(n.equals=Gr),n}function I(e,t,r=!1){E!==null&&(!Pe||(E.f&Hr)!==0)&&Zr()&&(E.f&(X|Be|fr|Hr))!==0&&($e===null||!pt.call($e,e))&&Ci();let n=r?Et(t):t;return kt(e,n,Yt)}function kt(e,t,r=null){if(!e.equals(t)){var n=e.v;et?Ke.set(e,t):Ke.set(e,n),e.v=t;var i=qe.ensure();if(i.capture(e,n),(e.f&X)!==0){const o=e;(e.f&re)!==0&&pr(o),Re===null&&cr(o)}e.wv=Mn(),bn(e,re,r),$!==null&&($.f&G)!==0&&($.f&(Ne|Ve))===0&&(Te===null?oo([e]):Te.push(e)),!i.is_fork&&gr.size>0&&!vn&&Ji()}return t}function Ji(){vn=!1;for(const e of gr)(e.f&G)!==0&&H(e,Me),Pt(e)&&$t(e);gr.clear()}function Rt(e){I(e,e.v+1)}function bn(e,t,r){var n=e.reactions;if(n!==null)for(var i=n.length,o=0;o<i;o++){var a=n[o],s=a.f,f=(s&re)===0;if(f&&H(a,t),(s&X)!==0){var l=a;Re?.delete(l),(s&it)===0&&(s&_e&&(a.f|=it),bn(l,Me,r))}else if(f){var c=a;(s&Be)!==0&&ze!==null&&ze.add(c),r!==null?r.push(c):hr(c)}}}function Et(e){if(typeof e!="object"||e===null||ur in e)return e;const t=qr(e);if(t!==ci&&t!==di)return e;var r=new Map,n=jr(e),i=ue(0),o=ft,a=s=>{if(ft===o)return s();var f=E,l=ft;ce(null),On(o);var c=s();return ce(f),On(l),c};return n&&r.set("length",ue(e.length)),new Proxy(e,{defineProperty(s,f,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&Ti();var c=r.get(f);return c===void 0?a(()=>{var h=ue(l.value);return r.set(f,h),h}):I(c,l.value,!0),!0},deleteProperty(s,f){var l=r.get(f);if(l===void 0){if(f in s){const c=a(()=>ue(Q));r.set(f,c),Rt(i)}}else I(l,Q),Rt(i);return!0},get(s,f,l){if(f===ur)return e;var c=r.get(f),h=f in s;if(c===void 0&&(!h||gt(s,f)?.writable)&&(c=a(()=>{var m=Et(h?s[f]:Q),d=ue(m);return d}),r.set(f,c)),c!==void 0){var v=b(c);return v===Q?void 0:v}return Reflect.get(s,f,l)},getOwnPropertyDescriptor(s,f){var l=Reflect.getOwnPropertyDescriptor(s,f);if(l&&"value"in l){var c=r.get(f);c&&(l.value=b(c))}else if(l===void 0){var h=r.get(f),v=h?.v;if(h!==void 0&&v!==Q)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return l},has(s,f){if(f===ur)return!0;var l=r.get(f),c=l!==void 0&&l.v!==Q||Reflect.has(s,f);if(l!==void 0||$!==null&&(!c||gt(s,f)?.writable)){l===void 0&&(l=a(()=>{var v=c?Et(s[f]):Q,m=ue(v);return m}),r.set(f,l));var h=b(l);if(h===Q)return!1}return c},set(s,f,l,c){var h=r.get(f),v=f in s;if(n&&f==="length")for(var m=l;m<h.v;m+=1){var d=r.get(m+"");d!==void 0?I(d,Q):m in s&&(d=a(()=>ue(Q)),r.set(m+"",d))}if(h===void 0)(!v||gt(s,f)?.writable)&&(h=a(()=>ue(void 0)),I(h,Et(l)),r.set(f,h));else{v=h.v!==Q;var _=a(()=>Et(l));I(h,_)}var R=Reflect.getOwnPropertyDescriptor(s,f);if(R?.set&&R.set.call(c,l),!v){if(n&&typeof f=="string"){var P=r.get("length"),w=Number(f);Number.isInteger(w)&&w>=P.v&&I(P,w+1)}Rt(i)}return!0},ownKeys(s){b(i);var f=Reflect.ownKeys(s).filter(h=>{var v=r.get(h);return v===void 0||v.v!==Q});for(var[l,c]of r)c.v!==Q&&!(l in s)&&f.push(l);return f},setPrototypeOf(){Si()}})}var pn,gn,mn,_n;function mr(){if(pn===void 0){pn=window,gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;mn=gt(t,"firstChild").get,_n=gt(t,"nextSibling").get,zr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),zr(r)&&(r.__t=void 0)}}function ie(e=""){return document.createTextNode(e)}function Ze(e){return mn.call(e)}function xe(e){return _n.call(e)}function C(e,t){if(!k)return Ze(e);var r=Ze(S);if(r===null)r=S.appendChild(ie());else if(t&&r.nodeType!==St){var n=ie();return r?.before(n),ee(n),n}return t&&Gt(r),ee(r),r}function Qe(e,t=!1){if(!k){var r=Ze(e);return r instanceof Comment&&r.data===""?xe(r):r}if(t){if(S?.nodeType!==St){var n=ie();return S?.before(n),ee(n),n}Gt(S)}return S}function z(e,t=1,r=!1){let n=k?S:e;for(var i;t--;)i=n,n=xe(n);if(!k)return n;if(r){if(n?.nodeType!==St){var o=ie();return n===null?i?.after(o):n.before(o),ee(o),o}Gt(n)}return ee(n),n}function wn(e){e.textContent=""}function yn(){return!1}function _r(e,t,r){return document.createElementNS(Ir,e,void 0)}function Gt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===St;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}let xn=!1;function kn(){xn||(xn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Xt(e){var t=E,r=$;ce(null),Ee(null);try{return e()}finally{ce(t),Ee(r)}}function En(e,t,r,n=r){e.addEventListener(t,()=>Xt(r));const i=e.__on_r;i?e.__on_r=()=>{i(),n(!0)}:e.__on_r=()=>n(!0),kn()}function Gi(e){$===null&&(E===null&&ki(),xi()),et&&yi()}function Xi(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){var r=$;r!==null&&(r.f&he)!==0&&(e|=he);var n={ctx:ye,deps:null,nodes:null,f:e|re|_e,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},i=n;if((e&mt)!==0)xt!==null?xt.push(n):qe.ensure().schedule(n);else if(t!==null){try{$t(n)}catch(a){throw oe(n),a}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ue)===0&&(i=i.first,(e&Be)!==0&&(e&_t)!==0&&i!==null&&(i.f|=_t))}if(i!==null&&(i.parent=r,r!==null&&Xi(i,r),E!==null&&(E.f&X)!==0&&(e&Ve)===0)){var o=E;(o.effects??=[]).push(i)}return n}function wr(){return E!==null&&!Pe}function $n(e){const t=Le(Vt,null);return H(t,G),t.teardown=e,t}function Ki(e){Gi();var t=$.f,r=!E&&(t&Ne)!==0&&(t&He)===0;if(r){var n=ye;(n.e??=[]).push(e)}else return Tn(e)}function Tn(e){return Le(mt|bi,e)}function Zi(e){qe.ensure();const t=Le(Ve|Ue,e);return()=>{oe(t)}}function Qi(e){qe.ensure();const t=Le(Ve|Ue,e);return(r={})=>new Promise(n=>{r.outro?at(t,()=>{oe(t),n(void 0)}):(oe(t),n(void 0))})}function eo(e){return Le(mt,e)}function to(e){return Le(fr|Ue,e)}function Kt(e,t=0){return Le(Vt|t,e)}function W(e,t=[],r=[],n=[]){zi(n,t,r,i=>{Le(Vt,()=>e(...i.map(b)))})}function Zt(e,t=0){var r=Le(Be|t,e);return r}function ke(e){return Le(Ne|Ue,e)}function Sn(e){var t=e.teardown;if(t!==null){const r=et,n=E;Rn(!0),ce(null);try{t.call(null)}finally{Rn(r),ce(n)}}}function yr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Xt(()=>{i.abort(je)});var n=r.next;(r.f&Ve)!==0?r.parent=null:oe(r,t),r=n}}function ro(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ne)===0&&oe(t),t=r}}function oe(e,t=!0){var r=!1;(t||(e.f&Ur)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(no(e.nodes.start,e.nodes.end),r=!0),H(e,Vr),yr(e,t&&!r),Ot(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const o of n)o.stop();Sn(e),e.f^=Vr,e.f|=we;var i=e.parent;i!==null&&i.first!==null&&Cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function no(e,t){for(;e!==null;){var r=e===t?null:xe(e);e.remove(),e=r}}function Cn(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 at(e,t,r=!0){var n=[];An(e,n,!0);var i=()=>{r&&oe(e),t&&t()},o=n.length;if(o>0){var a=()=>--o||i();for(var s of n)s.out(a)}else i()}function An(e,t,r){if((e.f&he)===0){e.f^=he;var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)(s.is_global||r)&&t.push(s);for(var i=e.first;i!==null;){var o=i.next,a=(i.f&_t)!==0||(i.f&Ne)!==0&&(e.f&Be)!==0;An(i,t,a?r:!1),i=o}}}function xr(e){Nn(e,!0)}function Nn(e,t){if((e.f&he)!==0){e.f^=he,(e.f&G)===0&&(H(e,re),qe.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&_t)!==0||(r.f&Ne)!==0;Nn(r,i?t:!1),r=n}var o=e.nodes&&e.nodes.t;if(o!==null)for(const a of o)(a.is_global||t)&&a.in()}}function kr(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:xe(r);t.append(r),r=i}}let Qt=!1,et=!1;function Rn(e){et=e}let E=null,Pe=!1;function ce(e){E=e}let $=null;function Ee(e){$=e}let $e=null;function io(e){E!==null&&($e===null?$e=[e]:$e.push(e))}let de=null,pe=0,Te=null;function oo(e){Te=e}let Pn=1,lt=0,ft=lt;function On(e){ft=e}function Mn(){return++Pn}function Pt(e){var t=e.f;if((t&re)!==0)return!0;if(t&X&&(e.f&=~it),(t&Me)!==0){for(var r=e.deps,n=r.length,i=0;i<n;i++){var o=r[i];if(Pt(o)&&cn(o),o.wv>e.wv)return!0}(t&_e)!==0&&Re===null&&H(e,G)}return!1}function Ln(e,t,r=!0){var n=e.reactions;if(n!==null&&!($e!==null&&pt.call($e,e)))for(var i=0;i<n.length;i++){var o=n[i];(o.f&X)!==0?Ln(o,t,!1):t===o&&(r?H(o,re):(o.f&G)!==0&&H(o,Me),hr(o))}}function Dn(e){var t=de,r=pe,n=Te,i=E,o=$e,a=ye,s=Pe,f=ft,l=e.f;de=null,pe=0,Te=null,E=(l&(Ne|Ve))===0?e:null,$e=null,yt(e.ctx),Pe=!1,ft=++lt,e.ac!==null&&(Xt(()=>{e.ac.abort(je)}),e.ac=null);try{e.f|=lr;var c=e.fn,h=c();e.f|=He;var v=e.deps,m=A?.is_fork;if(de!==null){var d;if(m||Ot(e,pe),v!==null&&pe>0)for(v.length=pe+de.length,d=0;d<de.length;d++)v[pe+d]=de[d];else e.deps=v=de;if(wr()&&(e.f&_e)!==0)for(d=pe;d<v.length;d++)(v[d].reactions??=[]).push(e)}else!m&&v!==null&&pe<v.length&&(Ot(e,pe),v.length=pe);if(Zr()&&Te!==null&&!Pe&&v!==null&&(e.f&(X|Me|re))===0)for(d=0;d<Te.length;d++)Ln(Te[d],e);if(i!==null&&i!==e){if(lt++,i.deps!==null)for(let _=0;_<r;_+=1)i.deps[_].rv=lt;if(t!==null)for(const _ of t)_.rv=lt;Te!==null&&(n===null?n=Te:n.push(...Te))}return(e.f&Ye)!==0&&(e.f^=Ye),h}catch(_){return en(_)}finally{e.f^=lr,de=t,pe=r,Te=n,E=i,$e=o,yt(a),Pe=s,ft=f}}function so(e,t){let r=t.reactions;if(r!==null){var n=fi.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&(t.f&X)!==0&&(de===null||!pt.call(de,t))){var o=t;(o.f&_e)!==0&&(o.f^=_e,o.f&=~it),cr(o),Yi(o),Ot(o,0)}}function Ot(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)so(e,r[n])}function $t(e){var t=e.f;if((t&we)===0){H(e,G);var r=$,n=Qt;$=e,Qt=!0;try{(t&(Be|Br))!==0?ro(e):yr(e),Sn(e);var i=Dn(e);e.teardown=typeof i=="function"?i:null,e.wv=Pn;var o;li&&Pi&&(e.f&re)!==0&&e.deps}finally{Qt=n,$=r}}}async function ao(){await Promise.resolve(),D()}function b(e){var t=e.f,r=(t&X)!==0;if(E!==null&&!Pe){var n=$!==null&&($.f&we)!==0;if(!n&&($e===null||!pt.call($e,e))){var i=E.deps;if((E.f&lr)!==0)e.rv<lt&&(e.rv=lt,de===null&&i!==null&&i[pe]===e?pe++:de===null?de=[e]:de.push(e));else{(E.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[E]:pt.call(o,E)||o.push(E)}}}if(et&&Ke.has(e))return Ke.get(e);if(r){var a=e;if(et){var s=a.v;return((a.f&G)===0&&a.reactions!==null||In(a))&&(s=pr(a)),Ke.set(a,s),s}var f=(a.f&_e)===0&&!Pe&&E!==null&&(Qt||(E.f&_e)!==0),l=(a.f&He)===0;Pt(a)&&(f&&(a.f|=_e),cn(a)),f&&!l&&(dn(a),Fn(a))}if(Re?.has(e))return Re.get(e);if((e.f&Ye)!==0)throw e.v;return e.v}function Fn(e){if(e.f|=_e,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&X)!==0&&(t.f&_e)===0&&(dn(t),Fn(t))}function In(e){if(e.v===Q)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ke.has(t)||(t.f&X)!==0&&In(t))return!0;return!1}function Er(e){var t=Pe;try{return Pe=!0,e()}finally{Pe=t}}const Mt=Symbol("events"),jn=new Set,$r=new Set;function lo(e,t,r,n={}){function i(o){if(n.capture||Sr.call(t,o),!o.cancelBubble)return Xt(()=>r?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Je(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Tr(e,t,r,n,i){var o={capture:n,passive:i},a=lo(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&$n(()=>{t.removeEventListener(e,a,o)})}function De(e,t,r){(t[Mt]??={})[e]=r}function fo(e){for(var t=0;t<e.length;t++)jn.add(e[t]);for(var r of $r)r(e)}let qn=null;function Sr(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],o=i[0]||e.target;qn=e;var a=0,s=qn===e&&e[Mt];if(s){var f=i.indexOf(s);if(f!==-1&&(t===document||t===window)){e[Mt]=t;return}var l=i.indexOf(t);if(l===-1)return;f<=l&&(a=f)}if(o=i[a]||e.target,o!==t){Bt(e,"currentTarget",{configurable:!0,get(){return o||r}});var c=E,h=$;ce(null),Ee(null);try{for(var v,m=[];o!==null;){var d=o.assignedSlot||o.parentNode||o.host||null;try{var _=o[Mt]?.[n];_!=null&&(!o.disabled||e.target===o)&&_.call(o,e)}catch(R){v?m.push(R):v=R}if(e.cancelBubble||d===t||d===null)break;o=d}if(v){for(let R of m)queueMicrotask(()=>{throw R});throw v}}finally{e[Mt]=t,delete e.currentTarget,ce(c),Ee(h)}}}const uo=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function co(e){return uo?.createHTML(e)??e}function vo(e){var t=_r("template");return t.innerHTML=co(e.replaceAll("<!>","<!---->")),t.content}function tt(e,t){var r=$;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function M(e,t){var r=(t&si)!==0,n=(t&ai)!==0,i,o=!e.startsWith("<!>");return()=>{if(k)return tt(S,null),S;i===void 0&&(i=vo(o?e:"<!>"+e),r||(i=Ze(i)));var a=n||gn?document.importNode(i,!0):i.cloneNode(!0);if(r){var s=Ze(a),f=a.lastChild;tt(s,f)}else tt(a,a);return a}}function ho(e=""){if(!k){var t=ie(e+"");return tt(t,t),t}var r=S;return r.nodeType!==St?(r.before(r=ie()),ee(r)):Gt(r),tt(r,r),r}function bo(){if(k)return tt(S,null),S;var e=document.createDocumentFragment(),t=document.createComment(""),r=ie();return e.append(t,r),tt(t,r),e}function N(e,t){if(k){var r=$;((r.f&He)===0||r.nodes.end===null)&&(r.nodes.end=S),Ct();return}e!==null&&e.before(t)}const po=["touchstart","touchmove"];function go(e){return po.includes(e)}function K(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function zn(e,t){return Wn(e,t)}function mo(e,t){mr(),t.intro=t.intro??!1;const r=t.target,n=k,i=S;try{for(var o=Ze(r);o&&(o.nodeType!==wt||o.data!==Dr);)o=xe(o);if(!o)throw bt;be(!0),ee(o);const a=Wn(e,{...t,anchor:o});return be(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==bt&&console.warn("Failed to hydrate: ",a),t.recover===!1&&$i(),mr(),wn(r),be(!1),zn(e,t)}finally{be(n),ee(i)}}const er=new Map;function Wn(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:a=!0,transformError:s}){mr();var f=void 0,l=Qi(()=>{var c=r??t.appendChild(ie());ji(c,{pending:()=>{}},m=>{Xr({});var d=ye;if(o&&(d.c=o),i&&(n.$$events=i),k&&tt(m,null),f=e(m,n)||{},k&&($.nodes.end=S,S===null||S.nodeType!==wt||S.data!==sr))throw Ht(),bt;Kr()},s);var h=new Set,v=m=>{for(var d=0;d<m.length;d++){var _=m[d];if(!h.has(_)){h.add(_);var R=go(_);for(const U of[t,document]){var P=er.get(U);P===void 0&&(P=new Map,er.set(U,P));var w=P.get(_);w===void 0?(U.addEventListener(_,Sr,{passive:R}),P.set(_,1)):P.set(_,w+1)}}}};return v(zt(jn)),$r.add(v),()=>{for(var m of h)for(const R of[t,document]){var d=er.get(R),_=d.get(m);--_==0?(R.removeEventListener(m,Sr),d.delete(m),d.size===0&&er.delete(R)):d.set(m,_)}$r.delete(v),c!==r&&c.parentNode?.removeChild(c)}});return Cr.set(f,l),f}let Cr=new WeakMap;function _o(e,t){const r=Cr.get(e);return r?(Cr.delete(e),r(t)):Promise.resolve()}class wo{anchor;#e=new Map;#r=new Map;#t=new Map;#i=new Set;#o=!0;constructor(t,r=!0){this.anchor=t,this.#o=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)xr(n),this.#i.delete(r);else{var i=this.#t.get(r);i&&(this.#r.set(r,i.effect),this.#t.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[o,a]of this.#e){if(this.#e.delete(o),o===t)break;const s=this.#t.get(a);s&&(oe(s.effect),this.#t.delete(a))}for(const[o,a]of this.#r){if(o===r||this.#i.has(o))continue;const s=()=>{if(Array.from(this.#e.values()).includes(o)){var l=document.createDocumentFragment();kr(a,l),l.append(ie()),this.#t.set(o,{effect:a,fragment:l})}else oe(a);this.#i.delete(o),this.#r.delete(o)};this.#o||!n?(this.#i.add(o),at(a,s,!1)):s()}}};#s=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,i]of this.#t)r.includes(n)||(oe(i.effect),this.#t.delete(n))};ensure(t,r){var n=A,i=yn();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(i){var o=document.createDocumentFragment(),a=ie();o.append(a),this.#t.set(t,{effect:ke(()=>r(a)),fragment:o})}else this.#r.set(t,ke(()=>r(this.anchor)));if(this.#e.set(n,t),i){for(const[s,f]of this.#r)s===t?n.unskip_effect(f):n.skip_effect(f);for(const[s,f]of this.#t)s===t?n.unskip_effect(f.effect):n.skip_effect(f.effect);n.oncommit(this.#n),n.ondiscard(this.#s)}else k&&(this.anchor=S),this.#n(n)}}function Se(e,t,r=!1){var n;k&&(n=S,Ct());var i=new wo(e),o=r?_t:0;function a(s,f){if(k){var l=Yr(n);if(s!==parseInt(l.substring(1))){var c=Ut();ee(c),i.anchor=c,be(!1),i.ensure(s,f),be(!0);return}}i.ensure(s,f)}Zt(()=>{var s=!1;t((f,l=0)=>{s=!0,a(l,f)}),s||a(-1,null)},o)}function yo(e,t,r){for(var n=[],i=t.length,o,a=t.length,s=0;s<i;s++){let h=t[s];at(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var v=e.outrogroups;Ar(e,zt(o.done)),v.delete(o),v.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var f=n.length===0&&r!==null;if(f){var l=r,c=l.parentNode;wn(c),c.append(l),e.items.clear()}Ar(e,t,!f)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Ar(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const a of e.pending.values())for(const s of a)n.add(e.items.get(s).e)}for(var i=0;i<t.length;i++){var o=t[i];if(n?.has(o)){o.f|=Ie;const a=document.createDocumentFragment();kr(o,a)}else oe(t[i],r)}}var Bn;function xo(e,t,r,n,i,o=null){var a=e,s=new Map;{var f=e;a=k?ee(Ze(f)):f.appendChild(ie())}k&&Ct();var l=null,c=Vi(()=>{var w=r();return jr(w)?w:w==null?[]:zt(w)}),h,v=new Map,m=!0;function d(w){(P.effect.f&we)===0&&(P.pending.delete(w),P.fallback=l,ko(P,h,a,t,n),l!==null&&(h.length===0?(l.f&Ie)===0?xr(l):(l.f^=Ie,Dt(l,null,a)):at(l,()=>{l=null})))}function _(w){P.pending.delete(w)}var R=Zt(()=>{h=b(c);var w=h.length;let U=!1;if(k){var Ce=Yr(a)===or;Ce!==(w===0)&&(a=Ut(),ee(a),be(!1),U=!0)}for(var Z=new Set,Y=A,te=yn(),y=0;y<w;y+=1){k&&S.nodeType===wt&&S.data===sr&&(a=S,U=!0,be(!1));var ne=h[y],ge=n(ne,y),se=m?null:s.get(ge);se?(se.v&&kt(se.v,ne),se.i&&kt(se.i,y),te&&Y.unskip_effect(se.e)):(se=Eo(s,m?a:Bn??=ie(),ne,ge,y,i,t,r),m||(se.e.f|=Ie),s.set(ge,se)),Z.add(ge)}if(w===0&&o&&!l&&(m?l=ke(()=>o(a)):(l=ke(()=>o(Bn??=ie())),l.f|=Ie)),w>Z.size&&wi(),k&&w>0&&ee(Ut()),!m)if(v.set(Y,Z),te){for(const[F,Ft]of s)Z.has(F)||Y.skip_effect(Ft.e);Y.oncommit(d),Y.ondiscard(_)}else d(Y);U&&be(!0),b(c)}),P={effect:R,items:s,pending:v,outrogroups:null,fallback:l};m=!1,k&&(a=S)}function Lt(e){for(;e!==null&&(e.f&Ne)===0;)e=e.next;return e}function ko(e,t,r,n,i){var o=t.length,a=e.items,s=Lt(e.effect.first),f,l=null,c=[],h=[],v,m,d,_;for(_=0;_<o;_+=1){if(v=t[_],m=i(v,_),d=a.get(m).e,e.outrogroups!==null)for(const y of e.outrogroups)y.pending.delete(d),y.done.delete(d);if((d.f&he)!==0&&xr(d),(d.f&Ie)!==0)if(d.f^=Ie,d===s)Dt(d,null,r);else{var R=l?l.next:s;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),rt(e,l,d),rt(e,d,R),Dt(d,R,r),l=d,c=[],h=[],s=Lt(l.next);continue}if(d!==s){if(f!==void 0&&f.has(d)){if(c.length<h.length){var P=h[0],w;l=P.prev;var U=c[0],Ce=c[c.length-1];for(w=0;w<c.length;w+=1)Dt(c[w],P,r);for(w=0;w<h.length;w+=1)f.delete(h[w]);rt(e,U.prev,Ce.next),rt(e,l,U),rt(e,Ce,P),s=P,l=Ce,_-=1,c=[],h=[]}else f.delete(d),Dt(d,s,r),rt(e,d.prev,d.next),rt(e,d,l===null?e.effect.first:l.next),rt(e,l,d),l=d;continue}for(c=[],h=[];s!==null&&s!==d;)(f??=new Set).add(s),h.push(s),s=Lt(s.next);if(s===null)continue}(d.f&Ie)===0&&c.push(d),l=d,s=Lt(d.next)}if(e.outrogroups!==null){for(const y of e.outrogroups)y.pending.size===0&&(Ar(e,zt(y.done)),e.outrogroups?.delete(y));e.outrogroups.size===0&&(e.outrogroups=null)}if(s!==null||f!==void 0){var Z=[];if(f!==void 0)for(d of f)(d.f&he)===0&&Z.push(d);for(;s!==null;)(s.f&he)===0&&s!==e.fallback&&Z.push(s),s=Lt(s.next);var Y=Z.length;if(Y>0){var te=o===0?r:null;yo(e,Z,te)}}}function Eo(e,t,r,n,i,o,a,s){var f=(a&ni)!==0?(a&oi)===0?hn(r,!1,!1):st(r):null,l=(a&ii)!==0?st(i):null;return{v:f,i:l,e:ke(()=>(o(t,f??r,l??i,s),()=>{e.delete(n)}))}}function Dt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,o=t&&(t.f&Ie)===0?t.nodes.start:r;n!==null;){var a=xe(n);if(o.before(n),n===i)return;n=a}}function rt(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function $o(e,t,r,n,i){k&&Ct();var o=t.$$slots?.[r],a=!1;o===!0&&(o=t[r],a=!0),o===void 0?i!==null&&i(e):o(e,a?()=>n:n)}function To(e,t){let r=null,n=k;var i;if(k){r=S;for(var o=Ze(document.head);o!==null&&(o.nodeType!==wt||o.data!==e);)o=xe(o);if(o===null)be(!1);else{var a=xe(o);o.remove(),ee(a)}}k||(i=document.head.appendChild(ie()));try{Zt(()=>t(i),Ur|Ue)}finally{n&&(be(!0),ee(r))}}function So(e,t){eo(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=_r("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Co(e,t,r){var n=e==null?"":""+e;return t&&(n=n?n+" "+t:t),n===""?null:n}function nt(e,t,r,n,i,o){var a=e.__className;if(k||a!==r||a===void 0){var s=Co(r,n);(!k||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=r}return o}const Ao=Symbol("is custom element"),No=Symbol("is html"),Ro=mi?"link":"LINK";function Fe(e){if(k){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;ut(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var i=e.checked;ut(e,"checked",null),e.checked=i}}};e.__on_r=r,Je(r),kn()}}function ut(e,t,r,n){var i=Po(e);k&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Ro)||i[t]!==(i[t]=r)&&(t==="loading"&&(e[gi]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Vn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function tr(e,t,r){var n=E,i=$;let o=k;k&&be(!1),ce(null),Ee(null);try{t!=="style"&&(Nr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Vn(e).includes(t):r&&typeof r=="object")?e[t]=r:ut(e,t,r==null?r:String(r))}finally{ce(n),Ee(i),o&&be(!0)}}function Po(e){return e.__attributes??={[Ao]:e.nodeName.includes("-"),[No]:e.namespaceURI===Ir}}var Nr=new Map;function Vn(e){var t=e.getAttribute("is")||e.nodeName,r=Nr.get(t);if(r)return r;Nr.set(t,r=[]);for(var n,i=e,o=Element.prototype;o!==i;){n=ui(i);for(var a in n)n[a].set&&r.push(a);i=qr(i)}return r}function We(e,t,r=t){var n=new WeakSet;En(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=Rr(e)?Pr(o):o,r(o),A!==null&&n.add(A),await ao(),o!==(o=t())){var a=e.selectionStart,s=e.selectionEnd,f=e.value.length;if(e.value=o??"",s!==null){var l=e.value.length;a===s&&s===f&&l>f?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=a,e.selectionEnd=Math.min(s,l))}}}),(k&&e.defaultValue!==e.value||Er(t)==null&&e.value)&&(r(Rr(e)?Pr(e.value):e.value),A!==null&&n.add(A)),Kt(()=>{var i=t();if(e===document.activeElement){var o=A;if(n.has(o))return}Rr(e)&&i===Pr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Oo(e,t,r=t){En(e,"change",n=>{var i=n?e.defaultChecked:e.checked;r(i)}),(k&&e.defaultChecked!==e.checked||Er(t)==null)&&r(e.checked),Kt(()=>{var n=t();e.checked=!!n})}function Rr(e){var t=e.type;return t==="number"||t==="range"}function Pr(e){return e===""?null:+e}function B(e,t,r,n){var i=n,o=!0,a=()=>(o&&(o=!1,i=n),i),s;s=e[t],s===void 0&&n!==void 0&&(s=a());var f;f=()=>{var v=e[t];return v===void 0?a():(o=!0,v)};var l=!1,c=br(()=>(l=!1,f())),h=$;return(function(v,m){if(arguments.length>0){const d=m?b(c):v;return I(c,d),l=!0,i!==void 0&&(i=d),v}return et&&l||(h.f&we)!==0?c.v:b(c)})}function Mo(e){return new Lo(e)}class Lo{#e;#r;constructor(t){var r=new Map,n=(o,a)=>{var s=hn(a,!1,!1);return r.set(o,s),s};const i=new Proxy({...t.props||{},$$events:{}},{get(o,a){return b(r.get(a)??n(a,Reflect.get(o,a)))},has(o,a){return a===pi?!0:(b(r.get(a)??n(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,s){return I(r.get(a)??n(a,s),s),Reflect.set(o,a,s)}});this.#r=(t.hydrate?mo:zn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&D(),this.#e=i.$$events;for(const o of Object.keys(this.#r))o==="$set"||o==="$destroy"||o==="$on"||Bt(this,o,{get(){return this.#r[o]},set(a){this.#r[o]=a},enumerable:!0});this.#r.$set=o=>{Object.assign(i,o)},this.#r.$destroy=()=>{_o(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let Hn;typeof HTMLElement=="function"&&(Hn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}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 o=_r("slot");n!=="default"&&(o.name=n),N(i,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Do(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]=rr(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=Mo({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Zi(()=>{Kt(()=>{this.$$r=!0;for(const n of Wt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=rr(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 o=this.$$c.$on(n,i);this.$$l_u.set(i,o)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rr(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 Wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rr(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 Do(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Fo(e,t,r,n,i,o){let a=class extends Hn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Wt(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Wt(t).forEach(s=>{Bt(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(f){f=rr(s,f,t),this.$$d[s]=f;var l=this.$$c;if(l){var c=gt(l,s)?.get;c?l[s]=f:l.$set({[s]:f})}}})}),n.forEach(s=>{Bt(a.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=a,a}var ct={},Un;function Io(){if(Un)return ct;Un=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.LanguageTranslator=void 0,ct.getChildStyleToPass=e,ct.addComponent=t;function e(n,i){var o,a,s="";try{if(n&&i?.length&&(!((o=Object.keys(n))===null||o===void 0)&&o.length)&&(!((a=i?.filter(function(v){return Object.keys(n).includes(v.name)}))===null||a===void 0)&&a.length))for(var f=function(v){var m=i?.filter(function(d){return d.name===v&&d.defaultValue!==n[v]});m&&(s+="".concat(v,":").concat(n[v],";"))},l=0,c=Object.keys(n);l<c.length;l++){var h=c[l];f(h)}}catch(v){console.error("error getting child style to pass",v)}finally{return s}}function t(n){var i,o=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!o)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)s.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var f=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(f+"-",""),"/").concat(a)}document.head.appendChild(s)}catch(l){console.warn(l)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,o){return n.getDictionaryWord(i,this.dictionary,o||this.lang)},n.prototype.translateDate=function(i,o,a){return n.formatDate(i,o,a||this.lang)},n.getDefaultLang=function(){var i,o,a,s="en";return navigator?.languages&&(!((a=(o=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||a===void 0)&&a.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},n.getDictionaryWord=function(i,o,a){var s;if(!i)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(a&&(!((s=o[a])===null||s===void 0)&&s[i]))return o[a][i];var f="",l=n.getDefaultLang();if(!a||l!==a){var c=o?.[l];c?.[i]&&(f=c[i])}return f},n.formatDate=function(i,o,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(a||n.getDefaultLang(),o);return s.format(i)},n})();return ct.LanguageTranslator=r,ct}var Or=Io();const jo={version:"0.66.1"},Yn={en:{registerTitle:"Please create account",loginTitle:"Please sign in",loginSwitch:"go to login page",loginButton:"login",registerButton:"register",rememberMe:"Remember me",forgotPasswordButton:"Forget password?",recoverTitle:"Update password",ForgotTitle:"Recover password",temporaryCode:"Temporary code",recoverEmailText:"Retrieve your account by following the instructions that you will receive shortly at the indicated email",newPassword:"New password",repeatPassword:"Repeat password",recoverWord:"Recover",memo:"Save"},it:{registerTitle:"Crea un account",loginTitle:"Accedi al tuo account",loginSwitch:"vai al login",loginButton:"Accedi",registerButton:"Registrati",rememberMe:"Ricordami",forgotPasswordButton:"Password dimenticata?",recoverTitle:"Aggiorna la password",ForgotTitle:"Recupera la password",temporaryCode:"Codice temporaneo",recoverEmailText:"Recupera il tuo account seguendo le istruzioni che riceverai a breve presso l'email indicata",newPassword:"Nuova password",repeatPassword:"Ripeti la password",recoverWord:"Recupera",memo:"Memorizza"}};var qo=M('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1b1f8f4"/>'),zo=M('<div class="mb-4 text-center svelte-1b1f8f4"><img id="logoimg" alt="" class="svelte-1b1f8f4"/></div>'),Wo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Bo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Vo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Ho=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Uo=M('<li class="svelte-1b1f8f4"><hb-auth-social-login-button></hb-auth-social-login-button></li>',2),Yo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4">Credenziali</h1>'),Jo=M('<div class="d-flex justify-content-center mt-1 svelte-1b1f8f4"><ul class="social-icons svelte-1b1f8f4"></ul></div> <!>',1),Go=M('<div class="form-floating svelte-1b1f8f4"><input type="text" placeholder="name@example.com" required=""/> <label for="floatingInput" class="svelte-1b1f8f4">Email</label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Password" required=""/> <label for="floatingPassword" class="svelte-1b1f8f4">Password</label></div>',1),Xo=M('<div class="form-floating svelte-1b1f8f4"><input type="text" placeholder="name@example.com" required=""/> <label for="floatingInput" class="svelte-1b1f8f4">Email</label></div>'),Ko=M('<div class="form-floating svelte-1b1f8f4"><div class="svelte-1b1f8f4"> </div></div>'),Zo=M('<input type="text" class="form-control svelte-1b1f8f4" placeholder="Codice temporaneo" required=""/>'),Qo=M('<input type="text" class="form-control svelte-1b1f8f4" placeholder="Codice temporaneo" disabled=""/>'),es=M('<input type="text" placeholder="name@example.com" required=""/>'),ts=M('<input type="text" placeholder="name@example.com" disabled=""/>'),rs=M('<div class="form-floating svelte-1b1f8f4"><!> <label for="floatingCode" class="svelte-1b1f8f4"> </label></div> <div class="form-floating svelte-1b1f8f4"><!> <label for="floatingEmail" class="svelte-1b1f8f4">Email</label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Password" required=""/> <label for="floatingPassword" class="svelte-1b1f8f4"> </label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Ripteti Password" required=""/> <label for="floatingPassword2" class="svelte-1b1f8f4"> </label></div>',1),ns=M('<button class="btn btn-link svelte-1b1f8f4"> </button>'),is=M('<button class="btn btn-link svelte-1b1f8f4"> </button>'),os=M('<p style="margin-bottom:0px" class="svelte-1b1f8f4"><!> <!> <!></p>'),ss=M('<div class="checkbox mb-3 svelte-1b1f8f4"><label class="svelte-1b1f8f4"><input type="checkbox" class="svelte-1b1f8f4"/> </label></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <!>',1),as=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <p style="margin-bottom:0px" class="svelte-1b1f8f4"><button class="btn btn-link svelte-1b1f8f4"> </button></p>',1),ls=M('<p style="margin-bottom:0px" class="svelte-1b1f8f4"><button class="btn btn-link svelte-1b1f8f4"> </button></p>'),fs=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <button class="btn btn-link svelte-1b1f8f4"> </button>',1),us=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button>',1),cs=M('<main class="form-signin svelte-1b1f8f4"><!> <!> <!> <!> <!></main>');const ds={hash:"svelte-1b1f8f4",code:`@charset "UTF-8";
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==bt&&console.warn("Failed to hydrate: ",a),t.recover===!1&&$i(),mr(),wn(r),be(!1),zn(e,t)}finally{be(n),ee(i)}}const er=new Map;function Wn(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:a=!0,transformError:s}){mr();var f=void 0,l=Qi(()=>{var c=r??t.appendChild(ie());ji(c,{pending:()=>{}},m=>{Xr({});var d=ye;if(o&&(d.c=o),i&&(n.$$events=i),k&&tt(m,null),f=e(m,n)||{},k&&($.nodes.end=S,S===null||S.nodeType!==wt||S.data!==sr))throw Ht(),bt;Kr()},s);var h=new Set,v=m=>{for(var d=0;d<m.length;d++){var _=m[d];if(!h.has(_)){h.add(_);var R=go(_);for(const U of[t,document]){var P=er.get(U);P===void 0&&(P=new Map,er.set(U,P));var w=P.get(_);w===void 0?(U.addEventListener(_,Sr,{passive:R}),P.set(_,1)):P.set(_,w+1)}}}};return v(zt(jn)),$r.add(v),()=>{for(var m of h)for(const R of[t,document]){var d=er.get(R),_=d.get(m);--_==0?(R.removeEventListener(m,Sr),d.delete(m),d.size===0&&er.delete(R)):d.set(m,_)}$r.delete(v),c!==r&&c.parentNode?.removeChild(c)}});return Cr.set(f,l),f}let Cr=new WeakMap;function _o(e,t){const r=Cr.get(e);return r?(Cr.delete(e),r(t)):Promise.resolve()}class wo{anchor;#e=new Map;#r=new Map;#t=new Map;#i=new Set;#o=!0;constructor(t,r=!0){this.anchor=t,this.#o=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)xr(n),this.#i.delete(r);else{var i=this.#t.get(r);i&&(this.#r.set(r,i.effect),this.#t.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[o,a]of this.#e){if(this.#e.delete(o),o===t)break;const s=this.#t.get(a);s&&(oe(s.effect),this.#t.delete(a))}for(const[o,a]of this.#r){if(o===r||this.#i.has(o))continue;const s=()=>{if(Array.from(this.#e.values()).includes(o)){var l=document.createDocumentFragment();kr(a,l),l.append(ie()),this.#t.set(o,{effect:a,fragment:l})}else oe(a);this.#i.delete(o),this.#r.delete(o)};this.#o||!n?(this.#i.add(o),at(a,s,!1)):s()}}};#s=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,i]of this.#t)r.includes(n)||(oe(i.effect),this.#t.delete(n))};ensure(t,r){var n=A,i=yn();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(i){var o=document.createDocumentFragment(),a=ie();o.append(a),this.#t.set(t,{effect:ke(()=>r(a)),fragment:o})}else this.#r.set(t,ke(()=>r(this.anchor)));if(this.#e.set(n,t),i){for(const[s,f]of this.#r)s===t?n.unskip_effect(f):n.skip_effect(f);for(const[s,f]of this.#t)s===t?n.unskip_effect(f.effect):n.skip_effect(f.effect);n.oncommit(this.#n),n.ondiscard(this.#s)}else k&&(this.anchor=S),this.#n(n)}}function Se(e,t,r=!1){var n;k&&(n=S,Ct());var i=new wo(e),o=r?_t:0;function a(s,f){if(k){var l=Yr(n);if(s!==parseInt(l.substring(1))){var c=Ut();ee(c),i.anchor=c,be(!1),i.ensure(s,f),be(!0);return}}i.ensure(s,f)}Zt(()=>{var s=!1;t((f,l=0)=>{s=!0,a(l,f)}),s||a(-1,null)},o)}function yo(e,t,r){for(var n=[],i=t.length,o,a=t.length,s=0;s<i;s++){let h=t[s];at(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var v=e.outrogroups;Ar(e,zt(o.done)),v.delete(o),v.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var f=n.length===0&&r!==null;if(f){var l=r,c=l.parentNode;wn(c),c.append(l),e.items.clear()}Ar(e,t,!f)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Ar(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const a of e.pending.values())for(const s of a)n.add(e.items.get(s).e)}for(var i=0;i<t.length;i++){var o=t[i];if(n?.has(o)){o.f|=Ie;const a=document.createDocumentFragment();kr(o,a)}else oe(t[i],r)}}var Bn;function xo(e,t,r,n,i,o=null){var a=e,s=new Map;{var f=e;a=k?ee(Ze(f)):f.appendChild(ie())}k&&Ct();var l=null,c=Vi(()=>{var w=r();return jr(w)?w:w==null?[]:zt(w)}),h,v=new Map,m=!0;function d(w){(P.effect.f&we)===0&&(P.pending.delete(w),P.fallback=l,ko(P,h,a,t,n),l!==null&&(h.length===0?(l.f&Ie)===0?xr(l):(l.f^=Ie,Dt(l,null,a)):at(l,()=>{l=null})))}function _(w){P.pending.delete(w)}var R=Zt(()=>{h=b(c);var w=h.length;let U=!1;if(k){var Ce=Yr(a)===or;Ce!==(w===0)&&(a=Ut(),ee(a),be(!1),U=!0)}for(var Z=new Set,Y=A,te=yn(),y=0;y<w;y+=1){k&&S.nodeType===wt&&S.data===sr&&(a=S,U=!0,be(!1));var ne=h[y],ge=n(ne,y),se=m?null:s.get(ge);se?(se.v&&kt(se.v,ne),se.i&&kt(se.i,y),te&&Y.unskip_effect(se.e)):(se=Eo(s,m?a:Bn??=ie(),ne,ge,y,i,t,r),m||(se.e.f|=Ie),s.set(ge,se)),Z.add(ge)}if(w===0&&o&&!l&&(m?l=ke(()=>o(a)):(l=ke(()=>o(Bn??=ie())),l.f|=Ie)),w>Z.size&&wi(),k&&w>0&&ee(Ut()),!m)if(v.set(Y,Z),te){for(const[F,Ft]of s)Z.has(F)||Y.skip_effect(Ft.e);Y.oncommit(d),Y.ondiscard(_)}else d(Y);U&&be(!0),b(c)}),P={effect:R,items:s,pending:v,outrogroups:null,fallback:l};m=!1,k&&(a=S)}function Lt(e){for(;e!==null&&(e.f&Ne)===0;)e=e.next;return e}function ko(e,t,r,n,i){var o=t.length,a=e.items,s=Lt(e.effect.first),f,l=null,c=[],h=[],v,m,d,_;for(_=0;_<o;_+=1){if(v=t[_],m=i(v,_),d=a.get(m).e,e.outrogroups!==null)for(const y of e.outrogroups)y.pending.delete(d),y.done.delete(d);if((d.f&he)!==0&&xr(d),(d.f&Ie)!==0)if(d.f^=Ie,d===s)Dt(d,null,r);else{var R=l?l.next:s;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),rt(e,l,d),rt(e,d,R),Dt(d,R,r),l=d,c=[],h=[],s=Lt(l.next);continue}if(d!==s){if(f!==void 0&&f.has(d)){if(c.length<h.length){var P=h[0],w;l=P.prev;var U=c[0],Ce=c[c.length-1];for(w=0;w<c.length;w+=1)Dt(c[w],P,r);for(w=0;w<h.length;w+=1)f.delete(h[w]);rt(e,U.prev,Ce.next),rt(e,l,U),rt(e,Ce,P),s=P,l=Ce,_-=1,c=[],h=[]}else f.delete(d),Dt(d,s,r),rt(e,d.prev,d.next),rt(e,d,l===null?e.effect.first:l.next),rt(e,l,d),l=d;continue}for(c=[],h=[];s!==null&&s!==d;)(f??=new Set).add(s),h.push(s),s=Lt(s.next);if(s===null)continue}(d.f&Ie)===0&&c.push(d),l=d,s=Lt(d.next)}if(e.outrogroups!==null){for(const y of e.outrogroups)y.pending.size===0&&(Ar(e,zt(y.done)),e.outrogroups?.delete(y));e.outrogroups.size===0&&(e.outrogroups=null)}if(s!==null||f!==void 0){var Z=[];if(f!==void 0)for(d of f)(d.f&he)===0&&Z.push(d);for(;s!==null;)(s.f&he)===0&&s!==e.fallback&&Z.push(s),s=Lt(s.next);var Y=Z.length;if(Y>0){var te=o===0?r:null;yo(e,Z,te)}}}function Eo(e,t,r,n,i,o,a,s){var f=(a&ni)!==0?(a&oi)===0?hn(r,!1,!1):st(r):null,l=(a&ii)!==0?st(i):null;return{v:f,i:l,e:ke(()=>(o(t,f??r,l??i,s),()=>{e.delete(n)}))}}function Dt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,o=t&&(t.f&Ie)===0?t.nodes.start:r;n!==null;){var a=xe(n);if(o.before(n),n===i)return;n=a}}function rt(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function $o(e,t,r,n,i){k&&Ct();var o=t.$$slots?.[r],a=!1;o===!0&&(o=t[r],a=!0),o===void 0?i!==null&&i(e):o(e,a?()=>n:n)}function To(e,t){let r=null,n=k;var i;if(k){r=S;for(var o=Ze(document.head);o!==null&&(o.nodeType!==wt||o.data!==e);)o=xe(o);if(o===null)be(!1);else{var a=xe(o);o.remove(),ee(a)}}k||(i=document.head.appendChild(ie()));try{Zt(()=>t(i),Ur|Ue)}finally{n&&(be(!0),ee(r))}}function So(e,t){eo(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=_r("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Co(e,t,r){var n=e==null?"":""+e;return t&&(n=n?n+" "+t:t),n===""?null:n}function nt(e,t,r,n,i,o){var a=e.__className;if(k||a!==r||a===void 0){var s=Co(r,n);(!k||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=r}return o}const Ao=Symbol("is custom element"),No=Symbol("is html"),Ro=mi?"link":"LINK";function Fe(e){if(k){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;ut(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var i=e.checked;ut(e,"checked",null),e.checked=i}}};e.__on_r=r,Je(r),kn()}}function ut(e,t,r,n){var i=Po(e);k&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Ro)||i[t]!==(i[t]=r)&&(t==="loading"&&(e[gi]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Vn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function tr(e,t,r){var n=E,i=$;let o=k;k&&be(!1),ce(null),Ee(null);try{t!=="style"&&(Nr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Vn(e).includes(t):r&&typeof r=="object")?e[t]=r:ut(e,t,r==null?r:String(r))}finally{ce(n),Ee(i),o&&be(!0)}}function Po(e){return e.__attributes??={[Ao]:e.nodeName.includes("-"),[No]:e.namespaceURI===Ir}}var Nr=new Map;function Vn(e){var t=e.getAttribute("is")||e.nodeName,r=Nr.get(t);if(r)return r;Nr.set(t,r=[]);for(var n,i=e,o=Element.prototype;o!==i;){n=ui(i);for(var a in n)n[a].set&&r.push(a);i=qr(i)}return r}function We(e,t,r=t){var n=new WeakSet;En(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=Rr(e)?Pr(o):o,r(o),A!==null&&n.add(A),await ao(),o!==(o=t())){var a=e.selectionStart,s=e.selectionEnd,f=e.value.length;if(e.value=o??"",s!==null){var l=e.value.length;a===s&&s===f&&l>f?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=a,e.selectionEnd=Math.min(s,l))}}}),(k&&e.defaultValue!==e.value||Er(t)==null&&e.value)&&(r(Rr(e)?Pr(e.value):e.value),A!==null&&n.add(A)),Kt(()=>{var i=t();if(e===document.activeElement){var o=A;if(n.has(o))return}Rr(e)&&i===Pr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Oo(e,t,r=t){En(e,"change",n=>{var i=n?e.defaultChecked:e.checked;r(i)}),(k&&e.defaultChecked!==e.checked||Er(t)==null)&&r(e.checked),Kt(()=>{var n=t();e.checked=!!n})}function Rr(e){var t=e.type;return t==="number"||t==="range"}function Pr(e){return e===""?null:+e}function B(e,t,r,n){var i=n,o=!0,a=()=>(o&&(o=!1,i=n),i),s;s=e[t],s===void 0&&n!==void 0&&(s=a());var f;f=()=>{var v=e[t];return v===void 0?a():(o=!0,v)};var l=!1,c=br(()=>(l=!1,f())),h=$;return(function(v,m){if(arguments.length>0){const d=m?b(c):v;return I(c,d),l=!0,i!==void 0&&(i=d),v}return et&&l||(h.f&we)!==0?c.v:b(c)})}function Mo(e){return new Lo(e)}class Lo{#e;#r;constructor(t){var r=new Map,n=(o,a)=>{var s=hn(a,!1,!1);return r.set(o,s),s};const i=new Proxy({...t.props||{},$$events:{}},{get(o,a){return b(r.get(a)??n(a,Reflect.get(o,a)))},has(o,a){return a===pi?!0:(b(r.get(a)??n(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,s){return I(r.get(a)??n(a,s),s),Reflect.set(o,a,s)}});this.#r=(t.hydrate?mo:zn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&D(),this.#e=i.$$events;for(const o of Object.keys(this.#r))o==="$set"||o==="$destroy"||o==="$on"||Bt(this,o,{get(){return this.#r[o]},set(a){this.#r[o]=a},enumerable:!0});this.#r.$set=o=>{Object.assign(i,o)},this.#r.$destroy=()=>{_o(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let Hn;typeof HTMLElement=="function"&&(Hn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}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 o=_r("slot");n!=="default"&&(o.name=n),N(i,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Do(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]=rr(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=Mo({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Zi(()=>{Kt(()=>{this.$$r=!0;for(const n of Wt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=rr(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 o=this.$$c.$on(n,i);this.$$l_u.set(i,o)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rr(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 Wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rr(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 Do(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Fo(e,t,r,n,i,o){let a=class extends Hn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Wt(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Wt(t).forEach(s=>{Bt(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(f){f=rr(s,f,t),this.$$d[s]=f;var l=this.$$c;if(l){var c=gt(l,s)?.get;c?l[s]=f:l.$set({[s]:f})}}})}),n.forEach(s=>{Bt(a.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=a,a}var ct={},Un;function Io(){if(Un)return ct;Un=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.LanguageTranslator=void 0,ct.getChildStyleToPass=e,ct.addComponent=t;function e(n,i){var o,a,s="";try{if(n&&i?.length&&(!((o=Object.keys(n))===null||o===void 0)&&o.length)&&(!((a=i?.filter(function(v){return Object.keys(n).includes(v.name)}))===null||a===void 0)&&a.length))for(var f=function(v){var m=i?.filter(function(d){return d.name===v&&d.defaultValue!==n[v]});m&&(s+="".concat(v,":").concat(n[v],";"))},l=0,c=Object.keys(n);l<c.length;l++){var h=c[l];f(h)}}catch(v){console.error("error getting child style to pass",v)}finally{return s}}function t(n){var i,o=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!o)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)s.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var f=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(f+"-",""),"/").concat(a)}document.head.appendChild(s)}catch(l){console.warn(l)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,o){return n.getDictionaryWord(i,this.dictionary,o||this.lang)},n.prototype.translateDate=function(i,o,a){return n.formatDate(i,o,a||this.lang)},n.getDefaultLang=function(){var i,o,a,s="en";return navigator?.languages&&(!((a=(o=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||a===void 0)&&a.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},n.getDictionaryWord=function(i,o,a){var s;if(!i)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(a&&(!((s=o[a])===null||s===void 0)&&s[i]))return o[a][i];var f="",l=n.getDefaultLang();if(!a||l!==a){var c=o?.[l];c?.[i]&&(f=c[i])}return f},n.formatDate=function(i,o,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(a||n.getDefaultLang(),o);return s.format(i)},n})();return ct.LanguageTranslator=r,ct}var Or=Io();const jo={version:"0.66.3"},Yn={en:{registerTitle:"Please create account",loginTitle:"Please sign in",loginSwitch:"go to login page",loginButton:"login",registerButton:"register",rememberMe:"Remember me",forgotPasswordButton:"Forget password?",recoverTitle:"Update password",ForgotTitle:"Recover password",temporaryCode:"Temporary code",recoverEmailText:"Retrieve your account by following the instructions that you will receive shortly at the indicated email",newPassword:"New password",repeatPassword:"Repeat password",recoverWord:"Recover",memo:"Save"},it:{registerTitle:"Crea un account",loginTitle:"Accedi al tuo account",loginSwitch:"vai al login",loginButton:"Accedi",registerButton:"Registrati",rememberMe:"Ricordami",forgotPasswordButton:"Password dimenticata?",recoverTitle:"Aggiorna la password",ForgotTitle:"Recupera la password",temporaryCode:"Codice temporaneo",recoverEmailText:"Recupera il tuo account seguendo le istruzioni che riceverai a breve presso l'email indicata",newPassword:"Nuova password",repeatPassword:"Ripeti la password",recoverWord:"Recupera",memo:"Memorizza"}};var qo=M('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1b1f8f4"/>'),zo=M('<div class="mb-4 text-center svelte-1b1f8f4"><img id="logoimg" alt="" class="svelte-1b1f8f4"/></div>'),Wo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Bo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Vo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Ho=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4"> </h1>'),Uo=M('<li class="svelte-1b1f8f4"><hb-auth-social-login-button></hb-auth-social-login-button></li>',2),Yo=M('<h1 class="h3 mb-3 fw-normal svelte-1b1f8f4">Credenziali</h1>'),Jo=M('<div class="d-flex justify-content-center mt-1 svelte-1b1f8f4"><ul class="social-icons svelte-1b1f8f4"></ul></div> <!>',1),Go=M('<div class="form-floating svelte-1b1f8f4"><input type="text" placeholder="name@example.com" required=""/> <label for="floatingInput" class="svelte-1b1f8f4">Email</label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Password" required=""/> <label for="floatingPassword" class="svelte-1b1f8f4">Password</label></div>',1),Xo=M('<div class="form-floating svelte-1b1f8f4"><input type="text" placeholder="name@example.com" required=""/> <label for="floatingInput" class="svelte-1b1f8f4">Email</label></div>'),Ko=M('<div class="form-floating svelte-1b1f8f4"><div class="svelte-1b1f8f4"> </div></div>'),Zo=M('<input type="text" class="form-control svelte-1b1f8f4" placeholder="Codice temporaneo" required=""/>'),Qo=M('<input type="text" class="form-control svelte-1b1f8f4" placeholder="Codice temporaneo" disabled=""/>'),es=M('<input type="text" placeholder="name@example.com" required=""/>'),ts=M('<input type="text" placeholder="name@example.com" disabled=""/>'),rs=M('<div class="form-floating svelte-1b1f8f4"><!> <label for="floatingCode" class="svelte-1b1f8f4"> </label></div> <div class="form-floating svelte-1b1f8f4"><!> <label for="floatingEmail" class="svelte-1b1f8f4">Email</label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Password" required=""/> <label for="floatingPassword" class="svelte-1b1f8f4"> </label></div> <div class="form-floating svelte-1b1f8f4"><input type="password" placeholder="Ripteti Password" required=""/> <label for="floatingPassword2" class="svelte-1b1f8f4"> </label></div>',1),ns=M('<button class="btn btn-link svelte-1b1f8f4"> </button>'),is=M('<button class="btn btn-link svelte-1b1f8f4"> </button>'),os=M('<p style="margin-bottom:0px" class="svelte-1b1f8f4"><!> <!> <!></p>'),ss=M('<div class="checkbox mb-3 svelte-1b1f8f4"><label class="svelte-1b1f8f4"><input type="checkbox" class="svelte-1b1f8f4"/> </label></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <!>',1),as=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <p style="margin-bottom:0px" class="svelte-1b1f8f4"><button class="btn btn-link svelte-1b1f8f4"> </button></p>',1),ls=M('<p style="margin-bottom:0px" class="svelte-1b1f8f4"><button class="btn btn-link svelte-1b1f8f4"> </button></p>'),fs=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button> <button class="btn btn-link svelte-1b1f8f4"> </button>',1),us=M('<div class="checkbox mb-3 svelte-1b1f8f4"></div> <button class="w-100 btn btn-lg btn-primary svelte-1b1f8f4"> </button>',1),cs=M('<main class="form-signin svelte-1b1f8f4"><!> <!> <!> <!> <!></main>');const ds={hash:"svelte-1b1f8f4",code:`@charset "UTF-8";
|
|
3
3
|
@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");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-auth",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.3",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Full authentication UI driven by the `type` attribute: local login and registration (with optional “remember me”), email activation, password recovery and related notices, OTP and two-factor setup/verification. Supports OAuth2 social providers via embedded social-login buttons, configurable backend URIs and HTTP options, optional i18n, and dispatches events for login, registration, recovery/activation, and OAuth flow steps.",
|
|
6
6
|
"licenses": [
|