@htmlbricks/hb-form 0.65.18 → 0.65.20
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 +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(Qn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ei=1,ti=2,ri=4,fs=8,cs=16,ds=1,vs=2,ni="[",Gr="[!",mn="]",fr={},X=Symbol(),hs="http://www.w3.org/1999/xhtml",gn=!1;var ii=Array.isArray,bs=Array.prototype.indexOf,yn=Array.from,Kr=Object.keys,Xr=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,_s=Object.getOwnPropertyDescriptors,ps=Object.prototype,ms=Array.prototype,si=Object.getPrototypeOf,ai=Object.isExtensible;function gs(e){for(var t=0;t<e.length;t++)e[t]()}function oi(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const G=2,wn=4,jn=8,mt=16,gt=32,qt=64,Zr=128,De=512,Z=1024,le=2048,yt=4096,de=8192,wt=16384,Qr=32768,dr=65536,li=1<<17,ui=1<<18,Xt=1<<19,ys=1<<20,Zt=32768,xn=1<<21,En=1<<22,Ct=1<<23,kn=Symbol("$state"),ws=Symbol("legacy props"),js=Symbol(""),vr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Sn=3,hr=8;function xs(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Es(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ks(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ss(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ns(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ts(){throw new Error("https://svelte.dev/e/hydration_failed")}function $s(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function qs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Cs(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Os(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function en(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function As(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let T=!1;function Ve(e){T=e}let R;function ue(e){if(e===null)throw en(),fr;return R=e}function Er(){return ue(nt(R))}function jt(e){if(T){if(nt(R)!==null)throw en(),fr;R=e}}function Rs(e=1){if(T){for(var t=e,r=R;t--;)r=nt(r);R=r}}function tn(e=!0){for(var t=0,r=R;;){if(r.nodeType===hr){var n=r.data;if(n===mn){if(t===0)return r;t-=1}else(n===ni||n===Gr)&&(t+=1)}var i=nt(r);e&&r.remove(),r=i}}function fi(e){if(!e||e.nodeType!==hr)throw en(),fr;return e.data}function ci(e){return e===this.v}function Ms(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function di(e){return!Ms(e,this.v)}let Ls=!1,pe=null;function br(e){pe=e}function vi(e,t=!1,r){pe={p:pe,i:!1,c:null,e:null,s:e,x:null,l:null}}function hi(e){var t=pe,r=t.e;if(r!==null){t.e=null;for(var n of r)Mi(n)}return e!==void 0&&(t.x=e),t.i=!0,pe=t.p,e??{}}function bi(){return!0}let Qt=[];function _i(){var e=Qt;Qt=[],gs(e)}function kr(e){if(Qt.length===0&&!Sr){var t=Qt;queueMicrotask(()=>{t===Qt&&_i()})}Qt.push(e)}function Ds(){for(;Qt.length>0;)_i()}function pi(e){var t=A;if(t===null)return C.f|=Ct,e;if((t.f&Qr)===0){if((t.f&Zr)===0)throw e;t.b.error(e)}else _r(e,t)}function _r(e,t){for(;t!==null;){if((t.f&Zr)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const rn=new Set;let J=null,me=null,ge=[],nn=null,Nn=!1,Sr=!1;class Ie{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){ge=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects)):(J=null,gi(r.render_effects),gi(r.effects),this.#l?.resolve()),me=null}#a(t,r){t.f^=Z;for(var n=t.first;n!==null;){var i=n.f,s=(i&(gt|qt))!==0,a=s&&(i&Z)!==0,l=a||(i&de)!==0||this.skipped_effects.has(n);if((n.f&Zr)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){s?n.f^=Z:(i&wn)!==0?r.effects.push(n):$r(n)&&((n.f&mt)!==0&&r.block_effects.push(n),qr(n));var o=n.first;if(o!==null){n=o;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&le)!==0?this.#s:this.#i).push(r),this.#u(r.deps),ee(r,Z)}#u(t){if(t!==null)for(const r of t)(r.f&G)===0||(r.f&Zt)===0||(r.f^=Zt,this.#u(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Ct)===0&&(this.current.set(t,t.v),me?.set(t,t.v))}activate(){J=this,this.apply()}deactivate(){J===this&&(J=null,me=null)}flush(){if(this.activate(),ge.length>0){if(mi(),J!==null&&J!==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.#c()}#c(){if(rn.size>1){this.previous.clear();var t=me,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of rn){if(s===this){r=!1;continue}const a=[];for(const[o,f]of this.current){if(s.current.has(o))if(r&&f!==s.current.get(o))s.current.set(o,f);else continue;a.push(o)}if(a.length===0)continue;const l=[...s.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var i=ge;ge=[];const o=new Set,f=new Map;for(const d of a)yi(d,l,o,f);if(ge.length>0){J=s,s.apply();for(const d of ge)s.#a(d,n);s.deactivate()}ge=i}}J=null,me=t}this.committed=!0,rn.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.#s)ee(t,le),er(t);for(const t of this.#i)ee(t,yt),er(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=oi()).promise}static ensure(){if(J===null){const t=J=new Ie;rn.add(J),Sr||Ie.enqueue(()=>{J===t&&t.flush()})}return J}static enqueue(t){kr(t)}apply(){}}function Ot(e){var t=Sr;Sr=!0;try{for(var r;;){if(Ds(),ge.length===0&&(J?.flush(),ge.length===0))return nn=null,r;mi()}}finally{Sr=t}}function mi(){var e=Mt;Nn=!0;var t=null;try{var r=0;for(fn(!0);ge.length>0;){var n=Ie.ensure();if(r++>1e3){var i,s;Vs()}n.process(ge),At.clear()}}finally{Nn=!1,fn(e),nn=null}}function Vs(){try{Ns()}catch(e){_r(e,nn)}}let xt=null;function gi(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(wt|de))===0&&$r(n)&&(xt=new Set,qr(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Ii(n):n.fn=null),xt?.size>0)){At.clear();for(const i of xt){if((i.f&(wt|de))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)xt.has(a)&&(xt.delete(a),s.push(a)),a=a.parent;for(let l=s.length-1;l>=0;l--){const o=s[l];(o.f&(wt|de))===0&&qr(o)}}xt.clear()}}xt=null}}function yi(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&G)!==0?yi(i,t,r,n):(s&(En|mt))!==0&&(s&le)===0&&wi(i,t,n)&&(ee(i,le),er(i))}}function wi(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&G)!==0&&wi(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function er(e){for(var t=nn=e;t.parent!==null;){t=t.parent;var r=t.f;if(Nn&&t===A&&(r&mt)!==0&&(r&ui)===0)return;if((r&(qt|gt))!==0){if((r&Z)===0)return;t.f^=Z}}ge.push(t)}function Is(e){let t=0,r=tr(0),n;return()=>{un()&&(u(r),Li(()=>(t===0&&(n=ua(()=>e(()=>Nr(r)))),t+=1,()=>{kr(()=>{t-=1,t===0&&(n?.(),n=void 0,Nr(r))})})))}}var Ps=dr|Xt|Zr;function Fs(e,t,r){new Js(e,t,r)}class Js{parent;#t=!1;#e;#r=T?R:null;#n;#l;#s;#i=null;#a=null;#o=null;#u=null;#f=null;#c=0;#d=0;#h=!1;#v=null;#g=Is(()=>(this.#v=tr(this.#c),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=A.b,this.#t=!!this.#n.pending,this.#s=An(()=>{if(A.b=this,T){const s=this.#r;Er(),s.nodeType===hr&&s.data===Gr?this.#w():this.#y()}else{var i=this.#p();try{this.#i=ye(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#f?.remove()}},Ps),T&&(this.#e=R)}#y(){try{this.#i=ye(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#a=ye(()=>t(this.#e)),Ie.enqueue(()=>{var r=this.#p();this.#i=this.#b(()=>(Ie.ensure(),ye(()=>this.#l(r)))),this.#d>0?this.#_():(mr(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#f=he(),this.#e.before(this.#f),t=this.#f),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=A,n=C,i=pe;we(this.#s),Q(this.#s),br(this.#s.ctx);try{return t()}catch(s){return pi(s),null}finally{we(r),Q(n),br(i)}}#_(){const t=this.#n.pending;this.#i!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#f),Ji(this.#i,this.#u)),this.#a===null&&(this.#a=ye(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&mr(this.#a,()=>{this.#a=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#v&&pr(this.#v,this.#c)}get_effect_pending(){return this.#g(),u(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#i&&(ne(this.#i),this.#i=null),this.#a&&(ne(this.#a),this.#a=null),this.#o&&(ne(this.#o),this.#o=null),T&&(ue(this.#r),Rs(),ue(tn()));var i=!1,s=!1;const a=()=>{if(i){As();return}i=!0,s&&Os(),Ie.ensure(),this.#c=0,this.#o!==null&&mr(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#h=!1,ye(()=>this.#l(this.#e)))),this.#d>0?this.#_():this.#t=!1};var l=C;try{Q(null),s=!0,r?.(t,a),s=!1}catch(o){_r(o,this.#s&&this.#s.parent)}finally{Q(l)}n&&kr(()=>{this.#o=this.#b(()=>{Ie.ensure(),this.#h=!0;try{return ye(()=>{n(this.#e,()=>t,()=>a)})}catch(o){return _r(o,this.#s.parent),null}finally{this.#h=!1}})})}}function Bs(e,t,r){for(var n=[],i=t.length,s=0;s<i;s++)Rn(t[s].e,n,!0);Pi(n,()=>{var a=n.length===0&&r!==null;if(a){var l=r,o=l.parentNode;Oi(o),o.append(l),e.items.clear(),rt(e,t[0].prev,t[i-1].next)}for(var f=0;f<i;f++){var d=t[f];a||(e.items.delete(d.k),rt(e,d.prev,d.next)),ne(d.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function ji(e,t,r,n,i,s=null){var a=e,l=new Map,o=null,f=(t&ri)!==0,d=(t&ei)!==0,g=(t&ti)!==0;if(f){var c=e;a=T?ue(rr(c)):c.appendChild(he())}T&&Er();var v=null,$=Gs(()=>{var q=r();return ii(q)?q:q==null?[]:yn(q)}),F,j=!0;function P(){Hs(Pe,F,a,t,n),v!==null&&(F.length===0?(v.fragment?(a.before(v.fragment),v.fragment=null):Mn(v.effect),B.first=v.effect):mr(v.effect,()=>{v=null}))}var B=An(()=>{F=u($);var q=F.length;let Fe=!1;if(T){var k=fi(a)===Gr;k!==(q===0)&&(a=tn(),ue(a),Ve(!1),Fe=!0)}for(var K=new Set,te=J,St=null,H=Ai(),oe=0;oe<q;oe+=1){T&&R.nodeType===hr&&R.data===mn&&(a=R,Fe=!0,Ve(!1));var S=F[oe],Nt=n(S,oe),fe=j?null:l.get(Nt);fe?(d&&pr(fe.v,S),g?pr(fe.i,oe):fe.i=oe,H&&te.skipped_effects.delete(fe.e)):(fe=Us(j?a:null,St,S,Nt,oe,i,t,r),j&&(fe.o=!0,St===null?o=fe:St.next=fe,St=fe),l.set(Nt,fe)),K.add(Nt)}if(q===0&&s&&!v)if(j)v={fragment:null,effect:ye(()=>s(a))};else{var Or=document.createDocumentFragment(),vn=he();Or.append(vn),v={fragment:Or,effect:ye(()=>s(vn))}}if(T&&q>0&&ue(tn()),!j)if(H){for(const[or,Fn]of l)K.has(or)||te.skipped_effects.add(Fn.e);te.oncommit(P),te.ondiscard(()=>{})}else P();Fe&&Ve(!0),u($)}),Pe={effect:B,items:l,first:o};j=!1,T&&(a=R)}function Hs(e,t,r,n,i){var s=(n&fs)!==0,a=t.length,l=e.items,o=e.first,f,d=null,g,c=[],v=[],$,F,j,P;if(s)for(P=0;P<a;P+=1)$=t[P],F=i($,P),j=l.get(F),j.a?.measure(),(g??=new Set).add(j);for(P=0;P<a;P+=1){if($=t[P],F=i($,P),j=l.get(F),e.first??=j,!j.o){j.o=!0;var B=d?d.next:o;rt(e,d,j),rt(e,j,B),Tn(j,B,r),d=j,c=[],v=[],o=d.next;continue}if((j.e.f&de)!==0&&(Mn(j.e),s&&(j.a?.unfix(),(g??=new Set).delete(j))),j!==o){if(f!==void 0&&f.has(j)){if(c.length<v.length){var Pe=v[0],q;d=Pe.prev;var Fe=c[0],k=c[c.length-1];for(q=0;q<c.length;q+=1)Tn(c[q],Pe,r);for(q=0;q<v.length;q+=1)f.delete(v[q]);rt(e,Fe.prev,k.next),rt(e,d,Fe),rt(e,k,Pe),o=Pe,d=k,P-=1,c=[],v=[]}else f.delete(j),Tn(j,o,r),rt(e,j.prev,j.next),rt(e,j,d===null?e.first:d.next),rt(e,d,j),d=j;continue}for(c=[],v=[];o!==null&&o.k!==F;)(o.e.f&de)===0&&(f??=new Set).add(o),v.push(o),o=o.next;if(o===null)continue;j=o}c.push(j),d=j,o=j.next}if(o!==null||f!==void 0){for(var K=f===void 0?[]:yn(f);o!==null;)(o.e.f&de)===0&&K.push(o),o=o.next;var te=K.length;if(te>0){var St=(n&ri)!==0&&a===0?r:null;if(s){for(P=0;P<te;P+=1)K[P].a?.measure();for(P=0;P<te;P+=1)K[P].a?.fix()}Bs(e,K,St)}}s&&kr(()=>{if(g!==void 0)for(j of g)j.a?.apply()})}function Us(e,t,r,n,i,s,a,l){var o=(a&ei)!==0,f=(a&cs)===0,d=o?f?Si(r,!1,!1):tr(r):r,g=(a&ti)===0?i:tr(i),c={i:g,v:d,k:n,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=he())}return c.e=ye(()=>s(e,d,g,l)),t!==null&&(t.next=c),c}finally{}}function Tn(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=nt(s);i.before(s),s=a}}function rt(e,t,r){t===null?(e.first=r,e.effect.first=r&&r.e):(t.e.next&&(t.e.next.prev=null),t.next=r,t.e.next=r&&r.e),r===null?e.effect.last=t&&t.e:(r.e.prev&&(r.e.prev.next=null),r.prev=t,r.e.prev=t&&t.e)}function Ys(e,t,r,n){const i=an;if(r.length===0&&e.length===0){n(t.map(i));return}var s=J,a=A,l=zs();function o(){Promise.all(r.map(f=>Ws(f))).then(f=>{l();try{n([...t.map(i),...f])}catch(d){(a.f&wt)===0&&_r(d,a)}s?.deactivate(),sn()}).catch(f=>{_r(f,a)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{s?.deactivate(),sn()}}):o()}function zs(){var e=A,t=C,r=pe,n=J;return function(s=!0){we(e),Q(t),br(r),s&&n?.activate()}}function sn(){we(null),Q(null),br(null)}function an(e){var t=G|le,r=C!==null&&(C.f&G)!==0?C:null;return A!==null&&(A.f|=Xt),{ctx:pe,deps:null,effects:null,equals:ci,f:t,fn:e,reactions:null,rv:0,v:X,wv:0,parent:r??A,ac:null}}function Ws(e,t){let r=A;r===null&&xs();var n=r.b,i=void 0,s=tr(X),a=!C,l=new Map;return ia(()=>{var o=oi();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===J&&f.committed&&f.deactivate(),sn()})}catch(c){o.reject(c),sn()}var f=J;if(a){var d=!n.is_pending();n.update_pending_count(1),f.increment(d),l.get(f)?.reject(vr),l.delete(f),l.set(f,o)}const g=(c,v=void 0)=>{if(f.activate(),v)v!==vr&&(s.f|=Ct,pr(s,v));else{(s.f&Ct)!==0&&(s.f^=Ct),pr(s,c);for(const[$,F]of l){if(l.delete($),$===f)break;F.reject(vr)}}a&&(n.update_pending_count(-1),f.decrement(d))};o.promise.then(g,c=>g(null,c||"unknown"))}),Ri(()=>{for(const o of l.values())o.reject(vr)}),new Promise(o=>{function f(d){function g(){d===i?o(s):f(i)}d.then(g,g)}f(i)})}function on(e){const t=an(e);return Hi(t),t}function Gs(e){const t=an(e);return t.equals=di,t}function xi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ne(t[r])}}function Ks(e){for(var t=e.parent;t!==null;){if((t.f&G)===0)return(t.f&wt)===0?t:null;t=t.parent}return null}function $n(e){var t,r=A;we(Ks(e));try{e.f&=~Zt,xi(e),t=Gi(e)}finally{we(r)}return t}function Ei(e){var t=$n(e);if(e.equals(t)||(J?.is_fork||(e.v=t),e.wv=zi()),!nr)if(me!==null)un()&&me.set(e,t);else{var r=(e.f&De)===0?yt:Z;ee(e,r)}}let qn=new Set;const At=new Map;let ki=!1;function tr(e,t){var r={f:0,v:e,reactions:null,equals:ci,rv:0,wv:0};return r}function I(e,t){const r=tr(e);return Hi(r),r}function Si(e,t=!1,r=!0){const n=tr(e);return t||(n.equals=di),n}function ve(e,t,r=!1){C!==null&&(!st||(C.f&li)!==0)&&bi()&&(C.f&(G|mt|En|li))!==0&&!kt?.includes(e)&&Cs();let n=r?Et(t):t;return pr(e,n)}function pr(e,t){if(!e.equals(t)){var r=e.v;nr?At.set(e,t):At.set(e,r),e.v=t;var n=Ie.ensure();n.capture(e,r),(e.f&G)!==0&&((e.f&le)!==0&&$n(e),ee(e,(e.f&De)!==0?Z:yt)),e.wv=zi(),Ni(e,le),A!==null&&(A.f&Z)!==0&&(A.f&(gt|qt))===0&&(je===null?oa([e]):je.push(e)),!n.is_fork&&qn.size>0&&!ki&&Xs()}return t}function Xs(){ki=!1;var e=Mt;fn(!0);const t=Array.from(qn);try{for(const r of t)(r.f&Z)!==0&&ee(r,yt),$r(r)&&qr(r)}finally{fn(e)}qn.clear()}function Nr(e){ve(e,e.v+1)}function Ni(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,l=(a&le)===0;if(l&&ee(s,t),(a&G)!==0){var o=s;me?.delete(o),(a&Zt)===0&&(a&De&&(s.f|=Zt),Ni(o,yt))}else l&&((a&mt)!==0&&xt!==null&&xt.add(s),er(s))}}function Et(e){if(typeof e!="object"||e===null||kn in e)return e;const t=si(e);if(t!==ps&&t!==ms)return e;var r=new Map,n=ii(e),i=I(0),s=ir,a=l=>{if(ir===s)return l();var o=C,f=ir;Q(null),Yi(s);var d=l();return Q(o),Yi(f),d};return n&&r.set("length",I(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&$s();var d=r.get(o);return d===void 0?d=a(()=>{var g=I(f.value);return r.set(o,g),g}):ve(d,f.value,!0),!0},deleteProperty(l,o){var f=r.get(o);if(f===void 0){if(o in l){const d=a(()=>I(X));r.set(o,d),Nr(i)}}else ve(f,X),Nr(i);return!0},get(l,o,f){if(o===kn)return e;var d=r.get(o),g=o in l;if(d===void 0&&(!g||cr(l,o)?.writable)&&(d=a(()=>{var v=Et(g?l[o]:X),$=I(v);return $}),r.set(o,d)),d!==void 0){var c=u(d);return c===X?void 0:c}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var d=r.get(o);d&&(f.value=u(d))}else if(f===void 0){var g=r.get(o),c=g?.v;if(g!==void 0&&c!==X)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(l,o){if(o===kn)return!0;var f=r.get(o),d=f!==void 0&&f.v!==X||Reflect.has(l,o);if(f!==void 0||A!==null&&(!d||cr(l,o)?.writable)){f===void 0&&(f=a(()=>{var c=d?Et(l[o]):X,v=I(c);return v}),r.set(o,f));var g=u(f);if(g===X)return!1}return d},set(l,o,f,d){var g=r.get(o),c=o in l;if(n&&o==="length")for(var v=f;v<g.v;v+=1){var $=r.get(v+"");$!==void 0?ve($,X):v in l&&($=a(()=>I(X)),r.set(v+"",$))}if(g===void 0)(!c||cr(l,o)?.writable)&&(g=a(()=>I(void 0)),ve(g,Et(f)),r.set(o,g));else{c=g.v!==X;var F=a(()=>Et(f));ve(g,F)}var j=Reflect.getOwnPropertyDescriptor(l,o);if(j?.set&&j.set.call(d,f),!c){if(n&&typeof o=="string"){var P=r.get("length"),B=Number(o);Number.isInteger(B)&&B>=P.v&&ve(P,B+1)}Nr(i)}return!0},ownKeys(l){u(i);var o=Reflect.ownKeys(l).filter(g=>{var c=r.get(g);return c===void 0||c.v!==X});for(var[f,d]of r)d.v!==X&&!(f in l)&&o.push(f);return o},setPrototypeOf(){qs()}})}var Ti,$i,qi,Ci;function Cn(){if(Ti===void 0){Ti=window,$i=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;qi=cr(t,"firstChild").get,Ci=cr(t,"nextSibling").get,ai(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ai(r)&&(r.__t=void 0)}}function he(e=""){return document.createTextNode(e)}function rr(e){return qi.call(e)}function nt(e){return Ci.call(e)}function Rt(e,t){if(!T)return rr(e);var r=rr(R);return r===null&&(r=R.appendChild(he())),ue(r),r}function O(e,t=!1){if(!T){var r=rr(e);return r instanceof Comment&&r.data===""?nt(r):r}if(t&&R?.nodeType!==Sn){var n=he();return R?.before(n),ue(n),n}return R}function ln(e,t=1,r=!1){let n=T?R:e;for(var i;t--;)i=n,n=nt(n);if(!T)return n;if(r&&n?.nodeType!==Sn){var s=he();return n===null?i?.after(s):n.before(s),ue(s),s}return ue(n),n}function Oi(e){e.textContent=""}function Ai(){return!1}function On(e){var t=C,r=A;Q(null),we(null);try{return e()}finally{Q(t),we(r)}}function Zs(e){A===null&&(C===null&&Ss(),ks()),nr&&Es()}function Qs(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function it(e,t,r){var n=A;n!==null&&(n.f&de)!==0&&(e|=de);var i={ctx:pe,deps:null,nodes_start:null,nodes_end:null,f:e|le|De,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{qr(i),i.f|=Qr}catch(l){throw ne(i),l}else t!==null&&er(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Xt)===0&&(s=s.first,(e&mt)!==0&&(e&dr)!==0&&s!==null&&(s.f|=dr)),s!==null&&(s.parent=n,n!==null&&Qs(s,n),C!==null&&(C.f&G)!==0&&(e&qt)===0)){var a=C;(a.effects??=[]).push(s)}return i}function un(){return C!==null&&!st}function Ri(e){const t=it(jn,null,!1);return ee(t,Z),t.teardown=e,t}function ea(e){Zs();var t=A.f,r=!C&&(t>)!==0&&(t&Qr)===0;if(r){var n=pe;(n.e??=[]).push(e)}else return Mi(e)}function Mi(e){return it(wn|ys,e,!1)}function ta(e){Ie.ensure();const t=it(qt|Xt,e,!0);return()=>{ne(t)}}function ra(e){Ie.ensure();const t=it(qt|Xt,e,!0);return(r={})=>new Promise(n=>{r.outro?mr(t,()=>{ne(t),n(void 0)}):(ne(t),n(void 0))})}function na(e){return it(wn,e,!1)}function ia(e){return it(En|Xt,e,!0)}function Li(e,t=0){return it(jn|t,e,!0)}function _(e,t=[],r=[],n=[]){Ys(n,t,r,i=>{it(jn,()=>e(...i.map(u)),!0)})}function An(e,t=0){var r=it(mt|t,e,!0);return r}function ye(e){return it(gt|Xt,e,!0)}function Di(e){var t=e.teardown;if(t!==null){const r=nr,n=C;Bi(!0),Q(null);try{t.call(null)}finally{Bi(r),Q(n)}}}function Vi(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&On(()=>{i.abort(vr)});var n=r.next;(r.f&qt)!==0?r.parent=null:ne(r,t),r=n}}function sa(e){for(var t=e.first;t!==null;){var r=t.next;(t.f>)===0&&ne(t),t=r}}function ne(e,t=!0){var r=!1;(t||(e.f&ui)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(aa(e.nodes_start,e.nodes_end),r=!0),Vi(e,t&&!r),cn(e,0),ee(e,wt);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Di(e);var i=e.parent;i!==null&&i.first!==null&&Ii(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function aa(e,t){for(;e!==null;){var r=e===t?null:nt(e);e.remove(),e=r}}function Ii(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 mr(e,t,r=!0){var n=[];Rn(e,n,!0),Pi(n,()=>{r&&ne(e),t&&t()})}function Pi(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Rn(e,t,r){if((e.f&de)===0){if(e.f^=de,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&dr)!==0||(n.f>)!==0&&(e.f&mt)!==0;Rn(n,t,s?r:!1),n=i}}}function Mn(e){Fi(e,!0)}function Fi(e,t){if((e.f&de)!==0){e.f^=de,(e.f&Z)===0&&(ee(e,le),er(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&dr)!==0||(r.f>)!==0;Fi(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Ji(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:nt(r);t.append(r),r=i}}let Mt=!1;function fn(e){Mt=e}let nr=!1;function Bi(e){nr=e}let C=null,st=!1;function Q(e){C=e}let A=null;function we(e){A=e}let kt=null;function Hi(e){C!==null&&(kt===null?kt=[e]:kt.push(e))}let ie=null,be=0,je=null;function oa(e){je=e}let Ui=1,Tr=0,ir=Tr;function Yi(e){ir=e}function zi(){return++Ui}function $r(e){var t=e.f;if((t&le)!==0)return!0;if(t&G&&(e.f&=~Zt),(t&yt)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if($r(s)&&Ei(s),s.wv>e.wv)return!0}(t&De)!==0&&me===null&&ee(e,Z)}return!1}function Wi(e,t,r=!0){var n=e.reactions;if(n!==null&&!kt?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&G)!==0?Wi(s,t,!1):t===s&&(r?ee(s,le):(s.f&Z)!==0&&ee(s,yt),er(s))}}function Gi(e){var t=ie,r=be,n=je,i=C,s=kt,a=pe,l=st,o=ir,f=e.f;ie=null,be=0,je=null,C=(f&(gt|qt))===0?e:null,kt=null,br(e.ctx),st=!1,ir=++Tr,e.ac!==null&&(On(()=>{e.ac.abort(vr)}),e.ac=null);try{e.f|=xn;var d=e.fn,g=d(),c=e.deps;if(ie!==null){var v;if(cn(e,be),c!==null&&be>0)for(c.length=be+ie.length,v=0;v<ie.length;v++)c[be+v]=ie[v];else e.deps=c=ie;if(Mt&&un()&&(e.f&De)!==0)for(v=be;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&be<c.length&&(cn(e,be),c.length=be);if(bi()&&je!==null&&!st&&c!==null&&(e.f&(G|yt|le))===0)for(v=0;v<je.length;v++)Wi(je[v],e);return i!==null&&i!==e&&(Tr++,je!==null&&(n===null?n=je:n.push(...je))),(e.f&Ct)!==0&&(e.f^=Ct),g}catch($){return pi($)}finally{e.f^=xn,ie=t,be=r,je=n,C=i,kt=s,br(a),st=l,ir=o}}function la(e,t){let r=t.reactions;if(r!==null){var n=bs.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&G)!==0&&(ie===null||!ie.includes(t))&&(ee(t,yt),(t.f&De)!==0&&(t.f^=De,t.f&=~Zt),xi(t),cn(t,0))}function cn(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)la(e,r[n])}function qr(e){var t=e.f;if((t&wt)===0){ee(e,Z);var r=A,n=Mt;A=e,Mt=!0;try{(t&mt)!==0?sa(e):Vi(e),Di(e);var i=Gi(e);e.teardown=typeof i=="function"?i:null,e.wv=Ui;var s;gn&&Ls&&(e.f&le)!==0&&e.deps}finally{Mt=n,A=r}}}function u(e){var t=e.f,r=(t&G)!==0;if(C!==null&&!st){var n=A!==null&&(A.f&wt)!==0;if(!n&&!kt?.includes(e)){var i=C.deps;if((C.f&xn)!==0)e.rv<Tr&&(e.rv=Tr,ie===null&&i!==null&&i[be]===e?be++:ie===null?ie=[e]:ie.includes(e)||ie.push(e));else{(C.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[C]:s.includes(C)||s.push(C)}}}if(nr){if(At.has(e))return At.get(e);if(r){var a=e,l=a.v;return((a.f&Z)===0&&a.reactions!==null||Xi(a))&&(l=$n(a)),At.set(a,l),l}}else r&&!me?.has(e)&&(a=e,$r(a)&&Ei(a),Mt&&un()&&(a.f&De)===0&&Ki(a));if(me?.has(e))return me.get(e);if((e.f&Ct)!==0)throw e.v;return e.v}function Ki(e){if(e.deps!==null){e.f^=De;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&G)!==0&&(t.f&De)===0&&Ki(t)}}function Xi(e){if(e.v===X)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(At.has(t)||(t.f&G)!==0&&Xi(t))return!0;return!1}function ua(e){var t=st;try{return st=!0,e()}finally{st=t}}const fa=-7169;function ee(e,t){e.f=e.f&fa|t}const Zi=new Set,Ln=new Set;function ca(e,t,r,n={}){function i(s){if(n.capture||Cr.call(t,s),!s.cancelBubble)return On(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?kr(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function x(e,t,r,n,i){var s={capture:n,passive:i},a=ca(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Ri(()=>{t.removeEventListener(e,a,s)})}function da(e){for(var t=0;t<e.length;t++)Zi.add(e[t]);for(var r of Ln)r(e)}let Qi=null;function Cr(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Qi=e;var a=0,l=Qi===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(a=o)}if(s=i[a]||e.target,s!==t){Xr(e,"currentTarget",{configurable:!0,get(){return s||r}});var d=C,g=A;Q(null),we(null);try{for(var c,v=[];s!==null;){var $=s.assignedSlot||s.parentNode||s.host||null;try{var F=s["__"+n];F!=null&&(!s.disabled||e.target===s)&&F.call(s,e)}catch(j){c?v.push(j):c=j}if(e.cancelBubble||$===t||$===null)break;s=$}if(c){for(let j of v)queueMicrotask(()=>{throw j});throw c}}finally{e.__root=t,delete e.currentTarget,Q(d),we(g)}}}function va(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Lt(e,t){var r=A;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function E(e,t){var r=(t&ds)!==0,n=(t&vs)!==0,i,s=!e.startsWith("<!>");return()=>{if(T)return Lt(R,null),R;i===void 0&&(i=va(s?e:"<!>"+e),r||(i=rr(i)));var a=n||$i?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=rr(a),o=a.lastChild;Lt(l,o)}else Lt(a,a);return a}}function ha(e=""){if(!T){var t=he(e+"");return Lt(t,t),t}var r=R;return r.nodeType!==Sn&&(r.before(r=he()),ue(r)),Lt(r,r),r}function M(){if(T)return Lt(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=he();return e.append(t,r),Lt(t,r),e}function h(e,t){if(T){var r=A;((r.f&Qr)===0||r.nodes_end===null)&&(r.nodes_end=R),Er();return}e!==null&&e.before(t)}const ba=["touchstart","touchmove"];function _a(e){return ba.includes(e)}function es(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function ts(e,t){return rs(e,t)}function pa(e,t){Cn(),t.intro=t.intro??!1;const r=t.target,n=T,i=R;try{for(var s=rr(r);s&&(s.nodeType!==hr||s.data!==ni);)s=nt(s);if(!s)throw fr;Ve(!0),ue(s);const a=rs(e,{...t,anchor:s});return Ve(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==fr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Ts(),Cn(),Oi(r),Ve(!1),ts(e,t)}finally{Ve(n),ue(i)}}const gr=new Map;function rs(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Cn();var l=new Set,o=g=>{for(var c=0;c<g.length;c++){var v=g[c];if(!l.has(v)){l.add(v);var $=_a(v);t.addEventListener(v,Cr,{passive:$});var F=gr.get(v);F===void 0?(document.addEventListener(v,Cr,{passive:$}),gr.set(v,1)):gr.set(v,F+1)}}};o(yn(Zi)),Ln.add(o);var f=void 0,d=ra(()=>{var g=r??t.appendChild(he());return Fs(g,{pending:()=>{}},c=>{if(s){vi({});var v=pe;v.c=s}if(i&&(n.$$events=i),T&&Lt(c,null),f=e(c,n)||{},T&&(A.nodes_end=R,R===null||R.nodeType!==hr||R.data!==mn))throw en(),fr;s&&hi()}),()=>{for(var c of l){t.removeEventListener(c,Cr);var v=gr.get(c);--v===0?(document.removeEventListener(c,Cr),gr.delete(c)):gr.set(c,v)}Ln.delete(o),g!==r&&g.parentNode?.removeChild(g)}});return Dn.set(f,d),f}let Dn=new WeakMap;function ma(e,t){const r=Dn.get(e);return r?(Dn.delete(e),r(t)):Promise.resolve()}class ga{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#s=()=>{var t=J;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Mn(n),this.#n.delete(r);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,a]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#r.get(a);l&&(ne(l.effect),this.#r.delete(a))}for(const[s,a]of this.#e){if(s===r||this.#n.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Ji(a,f),f.append(he()),this.#r.set(s,{effect:a,fragment:f})}else ne(a);this.#n.delete(s),this.#e.delete(s)};this.#l||!n?(this.#n.add(s),mr(a,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(ne(i.effect),this.#r.delete(n))};ensure(t,r){var n=J,i=Ai();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),a=he();s.append(a),this.#r.set(t,{effect:ye(()=>r(a)),fragment:s})}else this.#e.set(t,ye(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[l,o]of this.#e)l===t?n.skipped_effects.delete(o):n.skipped_effects.add(o);for(const[l,o]of this.#r)l===t?n.skipped_effects.delete(o.effect):n.skipped_effects.add(o.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else T&&(this.anchor=R),this.#s()}}function N(e,t,r=!1){T&&Er();var n=new ga(e),i=r?dr:0;function s(a,l){if(T){const f=fi(e)===Gr;if(a===f){var o=tn();ue(o),n.anchor=o,Ve(!1),n.ensure(a,l),Ve(!0);return}}n.ensure(a,l)}An(()=>{var a=!1;t((l,o=!0)=>{a=!0,s(o,l)}),a||s(!1,null)},i)}function Vn(e,t,r,n,i){T&&Er();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r==="default"?"children":r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function ya(e,t){na(()=>{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 wa(e,t,r){var n=e==null?"":""+e;return n===""?null:n}function ja(e,t){return e==null?null:String(e)}function D(e,t,r,n,i,s){var a=e.__className;if(T||a!==r||a===void 0){var l=wa(r);(!T||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return s}function L(e,t,r,n){var i=e.__style;if(T||i!==t){var s=ja(t);(!T||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const xa=Symbol("is custom element"),Ea=Symbol("is html");function In(e,t,r,n){var i=ka(e);T&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[js]=r),r==null?e.removeAttribute(t):typeof r!="string"&&ns(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function p(e,t,r){var n=C,i=A;let s=T;T&&Ve(!1),Q(null),we(null);try{t!=="style"&&(Pn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ns(e).includes(t):r&&typeof r=="object")?e[t]=r:In(e,t,r==null?r:String(r))}finally{Q(n),we(i),s&&Ve(!0)}}function ka(e){return e.__attributes??={[xa]:e.nodeName.includes("-"),[Ea]:e.namespaceURI===hs}}var Pn=new Map;function ns(e){var t=e.getAttribute("is")||e.nodeName,r=Pn.get(t);if(r)return r;Pn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=_s(i);for(var a in n)n[a].set&&r.push(a);i=si(i)}return r}function sr(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var f=!1,d=an(()=>(f=!1,o())),g=A;return(function(c,v){if(arguments.length>0){const $=v?u(d):c;return ve(d,$),f=!0,i!==void 0&&(i=$),c}return nr&&f||(g.f&wt)!==0?d.v:u(d)})}function Sa(e){return new Na(e)}class Na{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=Si(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return u(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===ws?!0:(u(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return ve(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?pa:ts)(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)&&Ot(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Xr(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ma(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 is;typeof HTMLElement=="function"&&(is=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),h(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ta(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]=dn(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=Sa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ta(()=>{Li(()=>{this.$$r=!0;for(const n of Kr(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=dn(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]=dn(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 Kr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function dn(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 Ta(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function $a(e,t,r,n,i,s){let a=class extends is{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Kr(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Kr(t).forEach(l=>{Xr(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=dn(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var d=cr(f,l)?.get;d?f[l]=o:f.$set({[l]:o})}}})}),n.forEach(l=>{Xr(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const se={version:"0.65.18"},qa=(e,t)=>e.reduce((r,n)=>{for(const i of t(n))(r[i]=r[i]||[]).push(n);return r},{});var ar={},ss;function Ca(){if(ss)return ar;ss=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.LanguageTranslator=void 0,ar.getChildStyleToPass=e,ar.addComponent=t;function e(n,i){var s,a,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var o=function(c){var v=i?.filter(function($){return $.name===c&&$.defaultValue!==n[c]});v&&(l+="".concat(c,":").concat(n[c],";"))},f=0,d=Object.keys(n);f<d.length;f++){var g=d[f];o(g)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)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(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(f){console.warn(f)}}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,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,l="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",f=n.getDefaultLang();if(!a||f!==a){var d=s?.[f];d?.[i]&&(o=d[i])}return o},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return l.format(i)},n})();return ar.LanguageTranslator=r,ar}var ae=Ca(),Oa=E('<label class="svelte-yjqjiw"> </label>'),Aa=E("<hb-input-array-objects></hb-input-array-objects>",2),Ra=E("<hb-input-array-tags></hb-input-array-tags>",2),Ma=E("<hb-input-text></hb-input-text>",2),La=E("<hb-input-color></hb-input-color>",2),Da=E("<hb-input-range></hb-input-range>",2),Va=E("<hb-input-file></hb-input-file>",2),Ia=E("<hb-input-email></hb-input-email>",2),Pa=E("<hb-input-date></hb-input-date>",2),Fa=E("<hb-input-datetime></hb-input-datetime>",2),Ja=E("<hb-input-checkbox></hb-input-checkbox>",2),Ba=E("<hb-input-number></hb-input-number>",2),Ha=E("<hb-input-area></hb-input-area>",2),Ua=E("<hb-input-radio></hb-input-radio>",2),Ya=E("<hb-input-select></hb-input-select>",2),za=E("<hb-input-coords></hb-input-coords>",2),Wa=E('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),Ga=E('<div class="row svelte-yjqjiw"></div>'),Ka=E('<label class="svelte-yjqjiw"> </label>'),Xa=E("<hb-input-text></hb-input-text>",2),Za=E("<hb-input-array-objects></hb-input-array-objects>",2),Qa=E("<hb-input-array-tags></hb-input-array-tags>",2),eo=E("<hb-input-color></hb-input-color>",2),to=E("<hb-input-range></hb-input-range>",2),ro=E("<hb-input-file></hb-input-file>",2),no=E("<hb-input-email></hb-input-email>",2),io=E("<hb-input-date></hb-input-date>",2),so=E("<hb-input-datetime></hb-input-datetime>",2),ao=E("<hb-input-checkbox></hb-input-checkbox>",2),oo=E("<hb-input-number></hb-input-number>",2),lo=E("<hb-input-area></hb-input-area>",2),uo=E("<hb-input-radio></hb-input-radio>",2),fo=E("<hb-input-select></hb-input-select>",2),co=E("<hb-input-coords></hb-input-coords>",2),vo=E('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),ho=E('<button part="main_button" type="button" class="btn btn-primary svelte-yjqjiw"><!></button>'),bo=E('<div id="button_container" part="button_container" class="svelte-yjqjiw"><span class="svelte-yjqjiw"><!></span> <!></div>'),_o=E("<!> <!>",1),po=E('<div class="container-fluid svelte-yjqjiw"><!></div>');const mo={hash:"svelte-yjqjiw",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==fr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Ts(),Cn(),Oi(r),Ve(!1),ts(e,t)}finally{Ve(n),ue(i)}}const gr=new Map;function rs(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Cn();var l=new Set,o=g=>{for(var c=0;c<g.length;c++){var v=g[c];if(!l.has(v)){l.add(v);var $=_a(v);t.addEventListener(v,Cr,{passive:$});var F=gr.get(v);F===void 0?(document.addEventListener(v,Cr,{passive:$}),gr.set(v,1)):gr.set(v,F+1)}}};o(yn(Zi)),Ln.add(o);var f=void 0,d=ra(()=>{var g=r??t.appendChild(he());return Fs(g,{pending:()=>{}},c=>{if(s){vi({});var v=pe;v.c=s}if(i&&(n.$$events=i),T&&Lt(c,null),f=e(c,n)||{},T&&(A.nodes_end=R,R===null||R.nodeType!==hr||R.data!==mn))throw en(),fr;s&&hi()}),()=>{for(var c of l){t.removeEventListener(c,Cr);var v=gr.get(c);--v===0?(document.removeEventListener(c,Cr),gr.delete(c)):gr.set(c,v)}Ln.delete(o),g!==r&&g.parentNode?.removeChild(g)}});return Dn.set(f,d),f}let Dn=new WeakMap;function ma(e,t){const r=Dn.get(e);return r?(Dn.delete(e),r(t)):Promise.resolve()}class ga{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#s=()=>{var t=J;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Mn(n),this.#n.delete(r);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,a]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#r.get(a);l&&(ne(l.effect),this.#r.delete(a))}for(const[s,a]of this.#e){if(s===r||this.#n.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Ji(a,f),f.append(he()),this.#r.set(s,{effect:a,fragment:f})}else ne(a);this.#n.delete(s),this.#e.delete(s)};this.#l||!n?(this.#n.add(s),mr(a,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(ne(i.effect),this.#r.delete(n))};ensure(t,r){var n=J,i=Ai();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),a=he();s.append(a),this.#r.set(t,{effect:ye(()=>r(a)),fragment:s})}else this.#e.set(t,ye(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[l,o]of this.#e)l===t?n.skipped_effects.delete(o):n.skipped_effects.add(o);for(const[l,o]of this.#r)l===t?n.skipped_effects.delete(o.effect):n.skipped_effects.add(o.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else T&&(this.anchor=R),this.#s()}}function N(e,t,r=!1){T&&Er();var n=new ga(e),i=r?dr:0;function s(a,l){if(T){const f=fi(e)===Gr;if(a===f){var o=tn();ue(o),n.anchor=o,Ve(!1),n.ensure(a,l),Ve(!0);return}}n.ensure(a,l)}An(()=>{var a=!1;t((l,o=!0)=>{a=!0,s(o,l)}),a||s(!1,null)},i)}function Vn(e,t,r,n,i){T&&Er();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r==="default"?"children":r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function ya(e,t){na(()=>{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 wa(e,t,r){var n=e==null?"":""+e;return n===""?null:n}function ja(e,t){return e==null?null:String(e)}function D(e,t,r,n,i,s){var a=e.__className;if(T||a!==r||a===void 0){var l=wa(r);(!T||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return s}function L(e,t,r,n){var i=e.__style;if(T||i!==t){var s=ja(t);(!T||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const xa=Symbol("is custom element"),Ea=Symbol("is html");function In(e,t,r,n){var i=ka(e);T&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[js]=r),r==null?e.removeAttribute(t):typeof r!="string"&&ns(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function p(e,t,r){var n=C,i=A;let s=T;T&&Ve(!1),Q(null),we(null);try{t!=="style"&&(Pn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ns(e).includes(t):r&&typeof r=="object")?e[t]=r:In(e,t,r==null?r:String(r))}finally{Q(n),we(i),s&&Ve(!0)}}function ka(e){return e.__attributes??={[xa]:e.nodeName.includes("-"),[Ea]:e.namespaceURI===hs}}var Pn=new Map;function ns(e){var t=e.getAttribute("is")||e.nodeName,r=Pn.get(t);if(r)return r;Pn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=_s(i);for(var a in n)n[a].set&&r.push(a);i=si(i)}return r}function sr(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var f=!1,d=an(()=>(f=!1,o())),g=A;return(function(c,v){if(arguments.length>0){const $=v?u(d):c;return ve(d,$),f=!0,i!==void 0&&(i=$),c}return nr&&f||(g.f&wt)!==0?d.v:u(d)})}function Sa(e){return new Na(e)}class Na{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=Si(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return u(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===ws?!0:(u(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return ve(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?pa:ts)(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)&&Ot(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Xr(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ma(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 is;typeof HTMLElement=="function"&&(is=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),h(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ta(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]=dn(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=Sa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ta(()=>{Li(()=>{this.$$r=!0;for(const n of Kr(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=dn(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]=dn(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 Kr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function dn(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 Ta(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function $a(e,t,r,n,i,s){let a=class extends is{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Kr(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Kr(t).forEach(l=>{Xr(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=dn(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var d=cr(f,l)?.get;d?f[l]=o:f.$set({[l]:o})}}})}),n.forEach(l=>{Xr(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const se={version:"0.65.20"},qa=(e,t)=>e.reduce((r,n)=>{for(const i of t(n))(r[i]=r[i]||[]).push(n);return r},{});var ar={},ss;function Ca(){if(ss)return ar;ss=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.LanguageTranslator=void 0,ar.getChildStyleToPass=e,ar.addComponent=t;function e(n,i){var s,a,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var o=function(c){var v=i?.filter(function($){return $.name===c&&$.defaultValue!==n[c]});v&&(l+="".concat(c,":").concat(n[c],";"))},f=0,d=Object.keys(n);f<d.length;f++){var g=d[f];o(g)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)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(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(f){console.warn(f)}}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,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,l="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",f=n.getDefaultLang();if(!a||f!==a){var d=s?.[f];d?.[i]&&(o=d[i])}return o},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return l.format(i)},n})();return ar.LanguageTranslator=r,ar}var ae=Ca(),Oa=E('<label class="svelte-yjqjiw"> </label>'),Aa=E("<hb-input-array-objects></hb-input-array-objects>",2),Ra=E("<hb-input-array-tags></hb-input-array-tags>",2),Ma=E("<hb-input-text></hb-input-text>",2),La=E("<hb-input-color></hb-input-color>",2),Da=E("<hb-input-range></hb-input-range>",2),Va=E("<hb-input-file></hb-input-file>",2),Ia=E("<hb-input-email></hb-input-email>",2),Pa=E("<hb-input-date></hb-input-date>",2),Fa=E("<hb-input-datetime></hb-input-datetime>",2),Ja=E("<hb-input-checkbox></hb-input-checkbox>",2),Ba=E("<hb-input-number></hb-input-number>",2),Ha=E("<hb-input-area></hb-input-area>",2),Ua=E("<hb-input-radio></hb-input-radio>",2),Ya=E("<hb-input-select></hb-input-select>",2),za=E("<hb-input-coords></hb-input-coords>",2),Wa=E('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),Ga=E('<div class="row svelte-yjqjiw"></div>'),Ka=E('<label class="svelte-yjqjiw"> </label>'),Xa=E("<hb-input-text></hb-input-text>",2),Za=E("<hb-input-array-objects></hb-input-array-objects>",2),Qa=E("<hb-input-array-tags></hb-input-array-tags>",2),eo=E("<hb-input-color></hb-input-color>",2),to=E("<hb-input-range></hb-input-range>",2),ro=E("<hb-input-file></hb-input-file>",2),no=E("<hb-input-email></hb-input-email>",2),io=E("<hb-input-date></hb-input-date>",2),so=E("<hb-input-datetime></hb-input-datetime>",2),ao=E("<hb-input-checkbox></hb-input-checkbox>",2),oo=E("<hb-input-number></hb-input-number>",2),lo=E("<hb-input-area></hb-input-area>",2),uo=E("<hb-input-radio></hb-input-radio>",2),fo=E("<hb-input-select></hb-input-select>",2),co=E("<hb-input-coords></hb-input-coords>",2),vo=E('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),ho=E('<button part="main_button" type="button" class="btn btn-primary svelte-yjqjiw"><!></button>'),bo=E('<div id="button_container" part="button_container" class="svelte-yjqjiw"><span class="svelte-yjqjiw"><!></span> <!></div>'),_o=E("<!> <!>",1),po=E('<div class="container-fluid svelte-yjqjiw"><!></div>');const mo={hash:"svelte-yjqjiw",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
3
3
|
/*!
|
|
4
4
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
5
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
package/manifest.json
CHANGED