@htmlbricks/hb-form-composer 0.60.0 → 0.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(Gt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const nn=1,ln=2,an=16,sn=1,on=4,un=8,fn=16,cn=1,dn=2,Wt="[",ft="[!",ct="]",Ne={},M=Symbol(),vn="http://www.w3.org/1999/xhtml",Jt=!1;var dt=Array.isArray,hn=Array.prototype.indexOf,vt=Array.from,Ge=Object.keys,Ae=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,_n=Object.getOwnPropertyDescriptors,pn=Object.prototype,mn=Array.prototype,Xt=Object.getPrototypeOf,Kt=Object.isExtensible;function zt(e){for(var t=0;t<e.length;t++)e[t]()}function bn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const H=2,ht=4,_t=8,Oe=16,se=32,ue=64,Zt=128,U=256,We=512,D=1024,V=2048,fe=4096,z=8192,ge=16384,pt=32768,mt=65536,Qt=1<<17,yn=1<<18,Re=1<<19,gn=1<<20,bt=1<<21,yt=1<<22,we=1<<23,Je=Symbol("$state"),er=Symbol("legacy props"),wn=Symbol(""),gt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},tr=3,qe=8;function $n(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function En(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Tn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Sn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Nn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function An(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function On(){throw new Error("https://svelte.dev/e/hydration_failed")}function Rn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Cn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function kn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Pn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let N=!1;function Z(e){N=e}let A;function Q(e){if(e===null)throw Xe(),Ne;return A=e}function Ke(){return Q(he(A))}function rr(e){if(N){if(he(A)!==null)throw Xe(),Ne;A=e}}function wt(){for(var e=0,t=A;;){if(t.nodeType===qe){var r=t.data;if(r===ct){if(e===0)return t;e-=1}else(r===Wt||r===ft)&&(e+=1)}var n=he(t);t.remove(),t=n}}function nr(e){if(!e||e.nodeType!==qe)throw Xe(),Ne;return e.data}function ir(e){return e===this.v}function In(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function lr(e){return!In(e,this.v)}let Mn=!1,G=null;function ze(e){G=e}function ar(e,t=!1,r){G={p:G,c:null,e:null,s:e,x:null,l:null}}function sr(e){var t=G,r=t.e;if(r!==null){t.e=null;for(var n of r)Or(n)}return e!==void 0&&(t.x=e),G=t.p,e??{}}function or(){return!0}const Ln=new WeakMap;function Dn(e){var t=$;if(t===null)return T.f|=we,e;if((t.f&pt)===0){if((t.f&Zt)===0)throw!t.parent&&e instanceof Error&&ur(e),e;t.b.error(e)}else $t(e,t)}function $t(e,t){for(;t!==null;){if((t.f&Zt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&ur(e),e}function ur(e){const t=Ln.get(e);t&&(Ae(e,"message",{value:t.message}),Ae(e,"stack",{value:t.stack}))}let Fe=[],Et=[];function fr(){var e=Fe;Fe=[],zt(e)}function qn(){var e=Et;Et=[],zt(e)}function Fn(e){Fe.length===0&&queueMicrotask(fr),Fe.push(e)}function jn(){Fe.length>0&&fr(),Et.length>0&&qn()}function Bn(){const e=$.b;return e===null&&$n(),e}function Tt(e){var t=H|V,r=T!==null&&(T.f&H)!==0?T:null;return $===null||r!==null&&(r.f&U)!==0?t|=U:$.f|=Re,{ctx:G,deps:null,effects:null,equals:ir,f:t,fn:e,reactions:null,rv:0,v:M,wv:0,parent:r??$,ac:null}}function Hn(e,t){let r=$;r===null&&Tn();var n=r.b,i=void 0,l=je(M),a=null,s=!T;return Qn(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(v){o=Promise.reject(v)}var u=()=>o;i=a?.then(u,u)??Promise.resolve(o),a=i;var f=P,_=n.is_pending();s&&(n.update_pending_count(1),_||f.increment());const c=(v,d=void 0)=>{a=null,_||f.activate(),d?d!==gt&&(l.f|=we,rt(l,d)):((l.f&we)!==0&&(l.f^=we),rt(l,v)),s&&(n.update_pending_count(-1),_||f.decrement()),hr()};if(i.then(c,v=>c(null,v||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(o=>{function u(f){function _(){f===i?o(l):u(i)}f.then(_,_)}u(i)})}function cr(e){const t=Tt(e);return t.equals=lr,t}function dr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)te(t[r])}}function Yn(e){for(var t=e.parent;t!==null;){if((t.f&H)===0)return t;t=t.parent}return null}function St(e){var t,r=$;ne(Yn(e));try{dr(e),t=Hr(e)}finally{ne(r)}return t}function vr(e){var t=St(e);if(e.equals(t)||(e.v=t,e.wv=jr()),!Se){var r=(_e||(e.f&U)!==0)&&e.deps!==null?fe:D;B(e,r)}}function Un(e,t,r){const n=Tt;if(t.length===0){r(e.map(n));return}var i=P,l=$,a=Vn(),s=Bn();Promise.all(t.map(o=>Hn(o))).then(o=>{i?.activate(),a();try{r([...e.map(n),...o])}catch(u){(l.f&ge)===0&&$t(u,l)}i?.deactivate(),hr()}).catch(o=>{s.error(o)})}function Vn(){var e=$,t=T,r=G,n=P;return function(){ne(e),W(t),ze(r),n?.activate()}}function hr(){ne(null),W(null),ze(null)}const xt=new Set;let P=null,_r=new Set,Ze=[];function pr(){const e=Ze.shift();Ze.length>0&&queueMicrotask(pr),e()}let $e=[],Qe=null,Nt=!1,et=!1;class Ee{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#a=[];#l=[];#n=[];#s=[];#c=[];#d=[];skipped_effects=new Set;process(t){$e=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#l,n=this.#n;this.#l=[],this.#n=[],this.#s=[],P=null,br(r),br(n),P===null?P=this:xt.delete(this),this.#u?.resolve()}else this.#o(this.#l),this.#o(this.#n),this.#o(this.#s);for(const i of this.#i)Me(i);for(const i of this.#a)Me(i);this.#i=[],this.#a=[]}#h(t){t.f^=D;for(var r=t.first;r!==null;){var n=r.f,i=(n&(se|ue))!==0,l=i&&(n&D)!==0,a=l||(n&z)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=D;else if((n&ht)!==0)this.#n.push(r);else if((n&D)===0)if((n&yt)!==0){var s=r.b?.is_pending()?this.#a:this.#i;s.push(r)}else it(r)&&((r.f&Oe)!==0&&this.#s.push(r),Me(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#o(t){for(const r of t)((r.f&V)!==0?this.#c:this.#d).push(r),B(r,D);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){P=this}deactivate(){P=null;for(const t of _r)if(_r.delete(t),t(),P!==null)break}neuter(){this.#f=!0}flush(){$e.length>0?mr():this.#v(),P===this&&(this.#r===0&&xt.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)B(t,V),Ce(t);for(const t of this.#d)B(t,fe),Ce(t);this.#l=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=bn()).promise}static ensure(){if(P===null){const t=P=new Ee;xt.add(P),et||Ee.enqueue(()=>{P===t&&t.flush()})}return P}static enqueue(t){Ze.length===0&&queueMicrotask(pr),Ze.unshift(t)}}function tt(e){var t=et;et=!0;try{for(var r;;){if(jn(),$e.length===0&&(P?.flush(),$e.length===0))return Qe=null,r;mr()}}finally{et=t}}function mr(){var e=Ie;Nt=!0;try{var t=0;for(Lr(!0);$e.length>0;){var r=Ee.ensure();if(t++>1e3){var n,i;Gn()}r.process($e),ce.clear()}}finally{Nt=!1,Lr(e),Qe=null}}function Gn(){try{An()}catch(e){$t(e,Qe)}}let Te=null;function br(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ge|z))===0&&it(n)&&(Te=[],Me(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Pr(n):n.fn=null),Te?.length>0)){ce.clear();for(const i of Te)Me(i);Te=[]}}Te=null}}function Ce(e){for(var t=Qe=e;t.parent!==null;){t=t.parent;var r=t.f;if(Nt&&t===$&&(r&Oe)!==0)return;if((r&(ue|se))!==0){if((r&D)===0)return;t.f^=D}}$e.push(t)}const ce=new Map;function je(e,t){var r={f:0,v:e,reactions:null,equals:ir,rv:0,wv:0};return r}function q(e,t){const r=je(e);return ni(r),r}function yr(e,t=!1,r=!0){const n=je(e);return t||(n.equals=lr),n}function I(e,t,r=!1){T!==null&&(!re||(T.f&Qt)!==0)&&or()&&(T.f&(H|Oe|yt|Qt))!==0&&!oe?.includes(e)&&Pn();let n=r?de(t):t;return rt(e,n)}function rt(e,t){if(!e.equals(t)){var r=e.v;Se?ce.set(e,t):ce.set(e,r),e.v=t;var n=Ee.ensure();n.capture(e,r),(e.f&H)!==0&&((e.f&V)!==0&&St(e),B(e,(e.f&U)===0?D:fe)),e.wv=jr(),gr(e,V),$!==null&&($.f&D)!==0&&($.f&(se|ue))===0&&(J===null?ii([e]):J.push(e))}return t}function At(e){I(e,e.v+1)}function gr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var l=r[i],a=l.f,s=(a&V)===0;s&&B(l,t),(a&H)!==0?gr(l,fe):s&&((a&Oe)!==0&&Te!==null&&Te.push(l),Ce(l))}}function de(e){if(typeof e!="object"||e===null||Je in e)return e;const t=Xt(e);if(t!==pn&&t!==mn)return e;var r=new Map,n=dt(e),i=q(0),l=xe,a=s=>{if(xe===l)return s();var o=T,u=xe;W(null),Fr(l);var f=s();return W(o),Fr(u),f};return n&&r.set("length",q(e.length)),new Proxy(e,{defineProperty(s,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Cn();var f=r.get(o);return f===void 0?f=a(()=>{var _=q(u.value);return r.set(o,_),_}):I(f,u.value,!0),!0},deleteProperty(s,o){var u=r.get(o);if(u===void 0){if(o in s){const f=a(()=>q(M));r.set(o,f),At(i)}}else I(u,M),At(i);return!0},get(s,o,u){if(o===Je)return e;var f=r.get(o),_=o in s;if(f===void 0&&(!_||ye(s,o)?.writable)&&(f=a(()=>{var v=de(_?s[o]:M),d=q(v);return d}),r.set(o,f)),f!==void 0){var c=x(f);return c===M?void 0:c}return Reflect.get(s,o,u)},getOwnPropertyDescriptor(s,o){var u=Reflect.getOwnPropertyDescriptor(s,o);if(u&&"value"in u){var f=r.get(o);f&&(u.value=x(f))}else if(u===void 0){var _=r.get(o),c=_?.v;if(_!==void 0&&c!==M)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(s,o){if(o===Je)return!0;var u=r.get(o),f=u!==void 0&&u.v!==M||Reflect.has(s,o);if(u!==void 0||$!==null&&(!f||ye(s,o)?.writable)){u===void 0&&(u=a(()=>{var c=f?de(s[o]):M,v=q(c);return v}),r.set(o,u));var _=x(u);if(_===M)return!1}return f},set(s,o,u,f){var _=r.get(o),c=o in s;if(n&&o==="length")for(var v=u;v<_.v;v+=1){var d=r.get(v+"");d!==void 0?I(d,M):v in s&&(d=a(()=>q(M)),r.set(v+"",d))}if(_===void 0)(!c||ye(s,o)?.writable)&&(_=a(()=>q(void 0)),I(_,de(u)),r.set(o,_));else{c=_.v!==M;var h=a(()=>de(u));I(_,h)}var w=Reflect.getOwnPropertyDescriptor(s,o);if(w?.set&&w.set.call(f,u),!c){if(n&&typeof o=="string"){var O=r.get("length"),b=Number(o);Number.isInteger(b)&&b>=O.v&&I(O,b+1)}At(i)}return!0},ownKeys(s){x(i);var o=Reflect.ownKeys(s).filter(_=>{var c=r.get(_);return c===void 0||c.v!==M});for(var[u,f]of r)f.v!==M&&!(u in s)&&o.push(u);return o},setPrototypeOf(){kn()}})}var wr,$r,Er,Tr;function Ot(){if(wr===void 0){wr=window,$r=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Er=ye(t,"firstChild").get,Tr=ye(t,"nextSibling").get,Kt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Kt(r)&&(r.__t=void 0)}}function ve(e=""){return document.createTextNode(e)}function ke(e){return Er.call(e)}function he(e){return Tr.call(e)}function Sr(e,t){if(!N)return ke(e);var r=ke(A);return r===null&&(r=A.appendChild(ve())),Q(r),r}function nt(e,t){if(!N){var r=ke(e);return r instanceof Comment&&r.data===""?he(r):r}return A}function Rt(e,t=1,r=!1){let n=N?A:e;for(var i;t--;)i=n,n=he(n);if(!N)return n;if(r&&n?.nodeType!==tr){var l=ve();return n===null?i?.after(l):n.before(l),Q(l),l}return Q(n),n}function xr(e){e.textContent=""}function Nr(){return!1}function Ct(e){var t=T,r=$;W(null),ne(null);try{return e()}finally{W(t),ne(r)}}function Wn(e){$===null&&T===null&&Nn(),T!==null&&(T.f&U)!==0&&$===null&&xn(),Se&&Sn()}function Jn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ee(e,t,r,n=!0){var i=$;i!==null&&(i.f&z)!==0&&(e|=z);var l={ctx:G,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Me(l),l.f|=pt}catch(o){throw te(l),o}else t!==null&&Ce(l);if(n){var a=l;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Re)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&Jn(a,i),T!==null&&(T.f&H)!==0&&(e&ue)===0)){var s=T;(s.effects??=[]).push(a)}}return l}function Xn(e){const t=ee(_t,null,!1);return B(t,D),t.teardown=e,t}function Ar(e){Wn();var t=$.f,r=!T&&(t&se)!==0&&(t&pt)===0;if(r){var n=G;(n.e??=[]).push(e)}else return Or(e)}function Or(e){return ee(ht|gn,e,!1)}function Kn(e){Ee.ensure();const t=ee(ue|Re,e,!0);return()=>{te(t)}}function zn(e){Ee.ensure();const t=ee(ue|Re,e,!0);return(r={})=>new Promise(n=>{r.outro?kt(t,()=>{te(t),n(void 0)}):(te(t),n(void 0))})}function Zn(e){return ee(ht,e,!1)}function Qn(e){return ee(yt|Re,e,!0)}function ei(e,t=0){return ee(_t|t,e,!0)}function Be(e,t=[],r=[]){Un(t,r,n=>{ee(_t,()=>e(...n.map(x)),!0)})}function Rr(e,t=0){var r=ee(Oe|t,e,!0);return r}function Pe(e,t=!0){return ee(se|Re,e,!0,t)}function Cr(e){var t=e.teardown;if(t!==null){const r=Se,n=T;Dr(!0),W(null);try{t.call(null)}finally{Dr(r),W(n)}}}function kr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Ct(()=>{i.abort(gt)});var n=r.next;(r.f&ue)!==0?r.parent=null:te(r,t),r=n}}function ti(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&se)===0&&te(t),t=r}}function te(e,t=!0){var r=!1;(t||(e.f&yn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ri(e.nodes_start,e.nodes_end),r=!0),kr(e,t&&!r),lt(e,0),B(e,ge);var n=e.transitions;if(n!==null)for(const l of n)l.stop();Cr(e);var i=e.parent;i!==null&&i.first!==null&&Pr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ri(e,t){for(;e!==null;){var r=e===t?null:he(e);e.remove(),e=r}}function Pr(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 kt(e,t){var r=[];Pt(e,r,!0),Ir(r,()=>{te(e),t&&t()})}function Ir(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Pt(e,t,r){if((e.f&z)===0){if(e.f^=z,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,l=(n.f&mt)!==0||(n.f&se)!==0;Pt(n,t,l?r:!1),n=i}}}function It(e){Mr(e,!0)}function Mr(e,t){if((e.f&z)!==0){e.f^=z,(e.f&D)===0&&(B(e,V),Ce(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&mt)!==0||(r.f&se)!==0;Mr(r,i?t:!1),r=n}if(e.transitions!==null)for(const l of e.transitions)(l.is_global||t)&&l.in()}}let Ie=!1;function Lr(e){Ie=e}let Se=!1;function Dr(e){Se=e}let T=null,re=!1;function W(e){T=e}let $=null;function ne(e){$=e}let oe=null;function ni(e){T!==null&&(oe===null?oe=[e]:oe.push(e))}let j=null,Y=0,J=null;function ii(e){J=e}let qr=1,He=0,xe=He;function Fr(e){xe=e}let _e=!1;function jr(){return++qr}function it(e){var t=e.f;if((t&V)!==0)return!0;if((t&fe)!==0){var r=e.deps,n=(t&U)!==0;if(r!==null){var i,l,a=(t&We)!==0,s=n&&$!==null&&!_e,o=r.length;if((a||s)&&($===null||($.f&ge)===0)){var u=e,f=u.parent;for(i=0;i<o;i++)l=r[i],(a||!l?.reactions?.includes(u))&&(l.reactions??=[]).push(u);a&&(u.f^=We),s&&f!==null&&(f.f&U)===0&&(u.f^=U)}for(i=0;i<o;i++)if(l=r[i],it(l)&&vr(l),l.wv>e.wv)return!0}(!n||$!==null&&!_e)&&B(e,D)}return!1}function Br(e,t,r=!0){var n=e.reactions;if(n!==null&&!oe?.includes(e))for(var i=0;i<n.length;i++){var l=n[i];(l.f&H)!==0?Br(l,t,!1):t===l&&(r?B(l,V):(l.f&D)!==0&&B(l,fe),Ce(l))}}function Hr(e){var t=j,r=Y,n=J,i=T,l=_e,a=oe,s=G,o=re,u=xe,f=e.f;j=null,Y=0,J=null,_e=(f&U)!==0&&(re||!Ie||T===null),T=(f&(se|ue))===0?e:null,oe=null,ze(e.ctx),re=!1,xe=++He,e.ac!==null&&(Ct(()=>{e.ac.abort(gt)}),e.ac=null);try{e.f|=bt;var _=e.fn,c=_(),v=e.deps;if(j!==null){var d;if(lt(e,Y),v!==null&&Y>0)for(v.length=Y+j.length,d=0;d<j.length;d++)v[Y+d]=j[d];else e.deps=v=j;if(!_e||(f&H)!==0&&e.reactions!==null)for(d=Y;d<v.length;d++)(v[d].reactions??=[]).push(e)}else v!==null&&Y<v.length&&(lt(e,Y),v.length=Y);if(or()&&J!==null&&!re&&v!==null&&(e.f&(H|fe|V))===0)for(d=0;d<J.length;d++)Br(J[d],e);return i!==null&&i!==e&&(He++,J!==null&&(n===null?n=J:n.push(...J))),(e.f&we)!==0&&(e.f^=we),c}catch(h){return Dn(h)}finally{e.f^=bt,j=t,Y=r,J=n,T=i,_e=l,oe=a,ze(s),re=o,xe=u}}function li(e,t){let r=t.reactions;if(r!==null){var n=hn.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&H)!==0&&(j===null||!j.includes(t))&&(B(t,fe),(t.f&(U|We))===0&&(t.f^=We),dr(t),lt(t,0))}function lt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)li(e,r[n])}function Me(e){var t=e.f;if((t&ge)===0){B(e,D);var r=$,n=Ie;$=e,Ie=!0;try{(t&Oe)!==0?ti(e):kr(e),Cr(e);var i=Hr(e);e.teardown=typeof i=="function"?i:null,e.wv=qr;var l;Jt&&Mn&&(e.f&V)!==0&&e.deps}finally{Ie=n,$=r}}}function x(e){var t=e.f,r=(t&H)!==0;if(T!==null&&!re){var n=$!==null&&($.f&ge)!==0;if(!n&&!oe?.includes(e)){var i=T.deps;if((T.f&bt)!==0)e.rv<He&&(e.rv=He,j===null&&i!==null&&i[Y]===e?Y++:j===null?j=[e]:(!_e||!j.includes(e))&&j.push(e));else{(T.deps??=[]).push(e);var l=e.reactions;l===null?e.reactions=[T]:l.includes(T)||l.push(T)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,s=a.parent;s!==null&&(s.f&U)===0&&(a.f^=U)}if(Se){if(ce.has(e))return ce.get(e);if(r){a=e;var o=a.v;return((a.f&D)===0&&a.reactions!==null||Yr(a))&&(o=St(a)),ce.set(a,o),o}}else r&&(a=e,it(a)&&vr(a));if((e.f&we)!==0)throw e.v;return e.v}function Yr(e){if(e.v===M)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ce.has(t)||(t.f&H)!==0&&Yr(t))return!0;return!1}function Ur(e){var t=re;try{return re=!0,e()}finally{re=t}}const ai=-7169;function B(e,t){e.f=e.f&ai|t}const Vr=new Set,Mt=new Set;function si(e,t,r,n={}){function i(l){if(n.capture||Ue.call(t,l),!l.cancelBubble)return Ct(()=>r?.call(this,l))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Fn(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Ye(e,t,r,n,i){var l={capture:n,passive:i},a=si(e,t,r,l);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Xn(()=>{t.removeEventListener(e,a,l)})}function oi(e){for(var t=0;t<e.length;t++)Vr.add(e[t]);for(var r of Mt)r(e)}let Gr=null;function Ue(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],l=i[0]||e.target;Gr=e;var a=0,s=Gr===e&&e.__root;if(s){var o=i.indexOf(s);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;o<=u&&(a=o)}if(l=i[a]||e.target,l!==t){Ae(e,"currentTarget",{configurable:!0,get(){return l||r}});var f=T,_=$;W(null),ne(null);try{for(var c,v=[];l!==null;){var d=l.assignedSlot||l.parentNode||l.host||null;try{var h=l["__"+n];if(h!=null&&(!l.disabled||e.target===l))if(dt(h)){var[w,...O]=h;w.apply(l,[e,...O])}else h.call(l,e)}catch(b){c?v.push(b):c=b}if(e.cancelBubble||d===t||d===null)break;l=d}if(c){for(let b of v)queueMicrotask(()=>{throw b});throw c}}finally{e.__root=t,delete e.currentTarget,W(f),ne(_)}}}function ui(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function pe(e,t){var r=$;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function at(e,t){var r=(t&cn)!==0,n=(t&dn)!==0,i,l=!e.startsWith("<!>");return()=>{if(N)return pe(A,null),A;i===void 0&&(i=ui(l?e:"<!>"+e),r||(i=ke(i)));var a=n||$r?document.importNode(i,!0):i.cloneNode(!0);if(r){var s=ke(a),o=a.lastChild;pe(s,o)}else pe(a,a);return a}}function fi(e=""){if(!N){var t=ve(e+"");return pe(t,t),t}var r=A;return r.nodeType!==tr&&(r.before(r=ve()),Q(r)),pe(r,r),r}function Wr(){if(N)return pe(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),r=ve();return e.append(t,r),pe(t,r),e}function me(e,t){if(N){$.nodes_end=A,Ke();return}e!==null&&e.before(t)}const ci=["touchstart","touchmove"];function di(e){return ci.includes(e)}function Jr(e,t){return Xr(e,t)}function vi(e,t){Ot(),t.intro=t.intro??!1;const r=t.target,n=N,i=A;try{for(var l=ke(r);l&&(l.nodeType!==qe||l.data!==Wt);)l=he(l);if(!l)throw Ne;Z(!0),Q(l),Ke();const a=Xr(e,{...t,anchor:l});if(A===null||A.nodeType!==qe||A.data!==ct)throw Xe(),Ne;return Z(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==Ne&&console.warn("Failed to hydrate: ",a),t.recover===!1&&On(),Ot(),xr(r),Z(!1),Jr(e,t)}finally{Z(n),Q(i)}}const Le=new Map;function Xr(e,{target:t,anchor:r,props:n={},events:i,context:l,intro:a=!0}){Ot();var s=new Set,o=_=>{for(var c=0;c<_.length;c++){var v=_[c];if(!s.has(v)){s.add(v);var d=di(v);t.addEventListener(v,Ue,{passive:d});var h=Le.get(v);h===void 0?(document.addEventListener(v,Ue,{passive:d}),Le.set(v,1)):Le.set(v,h+1)}}};o(vt(Vr)),Mt.add(o);var u=void 0,f=zn(()=>{var _=r??t.appendChild(ve());return Pe(()=>{if(l){ar({});var c=G;c.c=l}i&&(n.$$events=i),N&&pe(_,null),u=e(_,n)||{},N&&($.nodes_end=A),l&&sr()}),()=>{for(var c of s){t.removeEventListener(c,Ue);var v=Le.get(c);--v===0?(document.removeEventListener(c,Ue),Le.delete(c)):Le.set(c,v)}Mt.delete(o),_!==r&&_.parentNode?.removeChild(_)}});return Lt.set(u,f),u}let Lt=new WeakMap;function hi(e,t){const r=Lt.get(e);return r?(Lt.delete(e),r(t)):Promise.resolve()}function _i(e){G===null&&En(),Ar(()=>{const t=Ur(e);if(typeof t=="function")return t})}function st(e,t,r=!1){N&&Ke();var n=e,i=null,l=null,a=M,s=r?mt:0,o=!1;const u=(v,d=!0)=>{o=!0,c(d,v)};var f=null;function _(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var v=a?i:l,d=a?l:i;v&&It(v),d&&kt(d,()=>{a?l=null:i=null})}const c=(v,d)=>{if(a===(a=v))return;let h=!1;if(N){const k=nr(n)===ft;!!a===k&&(n=wt(),Q(n),Z(!1),h=!0)}var w=Nr(),O=n;if(w&&(f=document.createDocumentFragment(),f.append(O=ve())),a?i??=d&&Pe(()=>d(O)):l??=d&&Pe(()=>d(O)),w){var b=P,y=a?i:l,S=a?l:i;y&&b.skipped_effects.delete(y),S&&b.skipped_effects.add(S),b.add_callback(_)}else _();h&&Z(!0)};Rr(()=>{o=!1,t(u),o||c(null,null)},s),N&&(n=A)}function pi(e,t,r){for(var n=e.items,i=[],l=t.length,a=0;a<l;a++)Pt(t[a].e,i,!0);var s=l>0&&i.length===0&&r!==null;if(s){var o=r.parentNode;xr(o),o.append(r),n.clear(),ie(e,t[0].prev,t[l-1].next)}Ir(i,()=>{for(var u=0;u<l;u++){var f=t[u];s||(n.delete(f.k),ie(e,f.prev,f.next)),te(f.e,!s)}})}function mi(e,t,r,n,i,l=null){var a=e,s={flags:t,items:new Map,first:null};N&&Ke();var o=null,u=!1,f=new Map,_=cr(()=>{var h=r();return dt(h)?h:h==null?[]:vt(h)}),c,v;function d(){bi(v,c,s,f,a,i,t,n,r),l!==null&&(c.length===0?o?It(o):o=Pe(()=>l(a)):o!==null&&kt(o,()=>{o=null}))}Rr(()=>{v??=$,c=x(_);var h=c.length;if(u&&h===0)return;u=h===0;let w=!1;if(N){var O=nr(a)===ft;O!==(h===0)&&(a=wt(),Q(a),Z(!1),w=!0)}if(N){for(var b=null,y,S=0;S<h;S++){if(A.nodeType===qe&&A.data===ct){a=A,w=!0,Z(!1);break}var k=c[S],L=n(k,S);y=Dt(A,s,b,null,k,L,S,i,t,r),s.items.set(L,y),b=y}h>0&&Q(wt())}if(N)h===0&&l&&(o=Pe(()=>l(a)));else if(Nr()){var X=new Set,K=P;for(S=0;S<h;S+=1){k=c[S],L=n(k,S);var F=s.items.get(L)??f.get(L);F?Kr(F,k,S):(y=Dt(null,s,null,null,k,L,S,i,t,r,!0),f.set(L,y)),X.add(L)}for(const[p,E]of s.items)X.has(p)||K.skipped_effects.add(E.e);K.add_callback(d)}else d();w&&Z(!0),x(_)}),N&&(a=A)}function bi(e,t,r,n,i,l,a,s,o){var u=t.length,f=r.items,_=r.first,c=_,v,d=null,h=[],w=[],O,b,y,S;for(S=0;S<u;S+=1){if(O=t[S],b=s(O,S),y=f.get(b),y===void 0){var k=n.get(b);if(k!==void 0){n.delete(b),f.set(b,k);var L=d?d.next:c;ie(r,d,k),ie(r,k,L),qt(k,L,i),d=k}else{var X=c?c.e.nodes_start:i;d=Dt(X,r,d,d===null?r.first:d.next,O,b,S,l,a,o)}f.set(b,d),h=[],w=[],c=d.next;continue}if(Kr(y,O,S),(y.e.f&z)!==0&&It(y.e),y!==c){if(v!==void 0&&v.has(y)){if(h.length<w.length){var K=w[0],F;d=K.prev;var p=h[0],E=h[h.length-1];for(F=0;F<h.length;F+=1)qt(h[F],K,i);for(F=0;F<w.length;F+=1)v.delete(w[F]);ie(r,p.prev,E.next),ie(r,d,p),ie(r,E,K),c=K,d=E,S-=1,h=[],w=[]}else v.delete(y),qt(y,c,i),ie(r,y.prev,y.next),ie(r,y,d===null?r.first:d.next),ie(r,d,y),d=y;continue}for(h=[],w=[];c!==null&&c.k!==b;)(c.e.f&z)===0&&(v??=new Set).add(c),w.push(c),c=c.next;if(c===null)continue;y=c}h.push(y),d=y,c=y.next}if(c!==null||v!==void 0){for(var C=v===void 0?[]:vt(v);c!==null;)(c.e.f&z)===0&&C.push(c),c=c.next;var g=C.length;if(g>0){var m=null;pi(r,C,m)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var R of n.values())te(R.e);n.clear()}function Kr(e,t,r,n){rt(e.v,t),e.i=r}function Dt(e,t,r,n,i,l,a,s,o,u,f){var _=(o&nn)!==0,c=(o&an)===0,v=_?c?yr(i,!1,!1):je(i):i,d=(o&ln)===0?a:je(a),h={i:d,v,k:l,a:null,e:null,prev:r,next:n};try{if(e===null){var w=document.createDocumentFragment();w.append(e=ve())}return h.e=Pe(()=>s(e,v,d,u),N),h.e.prev=r&&r.e,h.e.next=n&&n.e,r===null?f||(t.first=h):(r.next=h,r.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function qt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,l=e.e.nodes_start;l!==null&&l!==n;){var a=he(l);i.before(l),l=a}}function ie(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function yi(e,t){Zn(()=>{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 gi(e,t){return e==null?null:String(e)}function Ft(e,t,r,n){var i=e.__style;if(N||i!==t){var l=gi(t);(!N||l!==e.getAttribute("style"))&&(l==null?e.removeAttribute("style"):e.style.cssText=l),e.__style=t}return n}const wi=Symbol("is custom element"),$i=Symbol("is html");function Ei(e,t,r,n){var i=Ti(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[wn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&zr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function le(e,t,r){var n=T,i=$;let l=N;N&&Z(!1),W(null),ne(null);try{t!=="style"&&(jt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?zr(e).includes(t):r&&typeof r=="object")?e[t]=r:Ei(e,t,r==null?r:String(r))}finally{W(n),ne(i),l&&Z(!0)}}function Ti(e){return e.__attributes??={[wi]:e.nodeName.includes("-"),[$i]:e.namespaceURI===vn}}var jt=new Map;function zr(e){var t=e.getAttribute("is")||e.nodeName,r=jt.get(t);if(r)return r;jt.set(t,r=[]);for(var n,i=e,l=Element.prototype;l!==i;){n=_n(i);for(var a in n)n[a].set&&r.push(a);i=Xt(i)}return r}let ot=!1;function Si(e){var t=ot;try{return ot=!1,[e(),ot]}finally{ot=t}}function Bt(e,t,r,n){var i=(r&un)!==0,l=(r&fn)!==0,a=n,s=!0,o=()=>(s&&(s=!1,a=l?Ur(n):n),a),u;if(i){var f=Je in e||er in e;u=ye(e,t)?.set??(f&&t in e?b=>e[t]=b:void 0)}var _,c=!1;i?[_,c]=Si(()=>e[t]):_=e[t],_===void 0&&n!==void 0&&(_=o(),u&&(Rn(),u(_)));var v;if(v=()=>{var b=e[t];return b===void 0?o():(s=!0,b)},(r&on)===0)return v;if(u){var d=e.$$legacy;return(function(b,y){return arguments.length>0?((!y||d||c)&&u(y?v():b),b):v()})}var h=!1,w=((r&sn)!==0?Tt:cr)(()=>(h=!1,v()));i&&x(w);var O=$;return(function(b,y){if(arguments.length>0){const S=y?x(w):i?de(b):b;return I(w,S),h=!0,a!==void 0&&(a=S),b}return Se&&h||(O.f&ge)!==0?w.v:x(w)})}function xi(e){return new Ni(e)}class Ni{#t;#e;constructor(t){var r=new Map,n=(l,a)=>{var s=yr(a,!1,!1);return r.set(l,s),s};const i=new Proxy({...t.props||{},$$events:{}},{get(l,a){return x(r.get(a)??n(a,Reflect.get(l,a)))},has(l,a){return a===er?!0:(x(r.get(a)??n(a,Reflect.get(l,a))),Reflect.has(l,a))},set(l,a,s){return I(r.get(a)??n(a,s),s),Reflect.set(l,a,s)}});this.#e=(t.hydrate?vi:Jr)(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)&&tt(),this.#t=i.$$events;for(const l of Object.keys(this.#e))l==="$set"||l==="$destroy"||l==="$on"||Ae(this,l,{get(){return this.#e[l]},set(a){this.#e[l]=a},enumerable:!0});this.#e.$set=l=>{Object.assign(i,l)},this.#e.$destroy=()=>{hi(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 Zr;typeof HTMLElement=="function"&&(Zr=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 l=document.createElement("slot");n!=="default"&&(l.name=n),me(i,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ai(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]=ut(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=xi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Kn(()=>{ei(()=>{this.$$r=!0;for(const n of Ge(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=ut(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 l=this.$$c.$on(n,i);this.$$l_u.set(i,l)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ut(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 Ge(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ut(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 Ai(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Oi(e,t,r,n,i,l){let a=class extends Zr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Ge(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Ge(t).forEach(s=>{Ae(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(o){o=ut(s,o,t),this.$$d[s]=o;var u=this.$$c;if(u){var f=ye(u,s)?.get;f?u[s]=o:u.$set({[s]:o})}}})}),n.forEach(s=>{Ae(a.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=a,a}const Ht={version:"0.60.0"};function Ri(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var De={},Yt,Qr;function Ci(){if(Qr)return Yt;Qr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,o=`
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==Ne&&console.warn("Failed to hydrate: ",a),t.recover===!1&&On(),Ot(),xr(r),Z(!1),Jr(e,t)}finally{Z(n),Q(i)}}const Le=new Map;function Xr(e,{target:t,anchor:r,props:n={},events:i,context:l,intro:a=!0}){Ot();var s=new Set,o=_=>{for(var c=0;c<_.length;c++){var v=_[c];if(!s.has(v)){s.add(v);var d=di(v);t.addEventListener(v,Ue,{passive:d});var h=Le.get(v);h===void 0?(document.addEventListener(v,Ue,{passive:d}),Le.set(v,1)):Le.set(v,h+1)}}};o(vt(Vr)),Mt.add(o);var u=void 0,f=zn(()=>{var _=r??t.appendChild(ve());return Pe(()=>{if(l){ar({});var c=G;c.c=l}i&&(n.$$events=i),N&&pe(_,null),u=e(_,n)||{},N&&($.nodes_end=A),l&&sr()}),()=>{for(var c of s){t.removeEventListener(c,Ue);var v=Le.get(c);--v===0?(document.removeEventListener(c,Ue),Le.delete(c)):Le.set(c,v)}Mt.delete(o),_!==r&&_.parentNode?.removeChild(_)}});return Lt.set(u,f),u}let Lt=new WeakMap;function hi(e,t){const r=Lt.get(e);return r?(Lt.delete(e),r(t)):Promise.resolve()}function _i(e){G===null&&En(),Ar(()=>{const t=Ur(e);if(typeof t=="function")return t})}function st(e,t,r=!1){N&&Ke();var n=e,i=null,l=null,a=M,s=r?mt:0,o=!1;const u=(v,d=!0)=>{o=!0,c(d,v)};var f=null;function _(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var v=a?i:l,d=a?l:i;v&&It(v),d&&kt(d,()=>{a?l=null:i=null})}const c=(v,d)=>{if(a===(a=v))return;let h=!1;if(N){const k=nr(n)===ft;!!a===k&&(n=wt(),Q(n),Z(!1),h=!0)}var w=Nr(),O=n;if(w&&(f=document.createDocumentFragment(),f.append(O=ve())),a?i??=d&&Pe(()=>d(O)):l??=d&&Pe(()=>d(O)),w){var b=P,y=a?i:l,S=a?l:i;y&&b.skipped_effects.delete(y),S&&b.skipped_effects.add(S),b.add_callback(_)}else _();h&&Z(!0)};Rr(()=>{o=!1,t(u),o||c(null,null)},s),N&&(n=A)}function pi(e,t,r){for(var n=e.items,i=[],l=t.length,a=0;a<l;a++)Pt(t[a].e,i,!0);var s=l>0&&i.length===0&&r!==null;if(s){var o=r.parentNode;xr(o),o.append(r),n.clear(),ie(e,t[0].prev,t[l-1].next)}Ir(i,()=>{for(var u=0;u<l;u++){var f=t[u];s||(n.delete(f.k),ie(e,f.prev,f.next)),te(f.e,!s)}})}function mi(e,t,r,n,i,l=null){var a=e,s={flags:t,items:new Map,first:null};N&&Ke();var o=null,u=!1,f=new Map,_=cr(()=>{var h=r();return dt(h)?h:h==null?[]:vt(h)}),c,v;function d(){bi(v,c,s,f,a,i,t,n,r),l!==null&&(c.length===0?o?It(o):o=Pe(()=>l(a)):o!==null&&kt(o,()=>{o=null}))}Rr(()=>{v??=$,c=x(_);var h=c.length;if(u&&h===0)return;u=h===0;let w=!1;if(N){var O=nr(a)===ft;O!==(h===0)&&(a=wt(),Q(a),Z(!1),w=!0)}if(N){for(var b=null,y,S=0;S<h;S++){if(A.nodeType===qe&&A.data===ct){a=A,w=!0,Z(!1);break}var k=c[S],L=n(k,S);y=Dt(A,s,b,null,k,L,S,i,t,r),s.items.set(L,y),b=y}h>0&&Q(wt())}if(N)h===0&&l&&(o=Pe(()=>l(a)));else if(Nr()){var X=new Set,K=P;for(S=0;S<h;S+=1){k=c[S],L=n(k,S);var F=s.items.get(L)??f.get(L);F?Kr(F,k,S):(y=Dt(null,s,null,null,k,L,S,i,t,r,!0),f.set(L,y)),X.add(L)}for(const[p,E]of s.items)X.has(p)||K.skipped_effects.add(E.e);K.add_callback(d)}else d();w&&Z(!0),x(_)}),N&&(a=A)}function bi(e,t,r,n,i,l,a,s,o){var u=t.length,f=r.items,_=r.first,c=_,v,d=null,h=[],w=[],O,b,y,S;for(S=0;S<u;S+=1){if(O=t[S],b=s(O,S),y=f.get(b),y===void 0){var k=n.get(b);if(k!==void 0){n.delete(b),f.set(b,k);var L=d?d.next:c;ie(r,d,k),ie(r,k,L),qt(k,L,i),d=k}else{var X=c?c.e.nodes_start:i;d=Dt(X,r,d,d===null?r.first:d.next,O,b,S,l,a,o)}f.set(b,d),h=[],w=[],c=d.next;continue}if(Kr(y,O,S),(y.e.f&z)!==0&&It(y.e),y!==c){if(v!==void 0&&v.has(y)){if(h.length<w.length){var K=w[0],F;d=K.prev;var p=h[0],E=h[h.length-1];for(F=0;F<h.length;F+=1)qt(h[F],K,i);for(F=0;F<w.length;F+=1)v.delete(w[F]);ie(r,p.prev,E.next),ie(r,d,p),ie(r,E,K),c=K,d=E,S-=1,h=[],w=[]}else v.delete(y),qt(y,c,i),ie(r,y.prev,y.next),ie(r,y,d===null?r.first:d.next),ie(r,d,y),d=y;continue}for(h=[],w=[];c!==null&&c.k!==b;)(c.e.f&z)===0&&(v??=new Set).add(c),w.push(c),c=c.next;if(c===null)continue;y=c}h.push(y),d=y,c=y.next}if(c!==null||v!==void 0){for(var C=v===void 0?[]:vt(v);c!==null;)(c.e.f&z)===0&&C.push(c),c=c.next;var g=C.length;if(g>0){var m=null;pi(r,C,m)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var R of n.values())te(R.e);n.clear()}function Kr(e,t,r,n){rt(e.v,t),e.i=r}function Dt(e,t,r,n,i,l,a,s,o,u,f){var _=(o&nn)!==0,c=(o&an)===0,v=_?c?yr(i,!1,!1):je(i):i,d=(o&ln)===0?a:je(a),h={i:d,v,k:l,a:null,e:null,prev:r,next:n};try{if(e===null){var w=document.createDocumentFragment();w.append(e=ve())}return h.e=Pe(()=>s(e,v,d,u),N),h.e.prev=r&&r.e,h.e.next=n&&n.e,r===null?f||(t.first=h):(r.next=h,r.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function qt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,l=e.e.nodes_start;l!==null&&l!==n;){var a=he(l);i.before(l),l=a}}function ie(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function yi(e,t){Zn(()=>{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 gi(e,t){return e==null?null:String(e)}function Ft(e,t,r,n){var i=e.__style;if(N||i!==t){var l=gi(t);(!N||l!==e.getAttribute("style"))&&(l==null?e.removeAttribute("style"):e.style.cssText=l),e.__style=t}return n}const wi=Symbol("is custom element"),$i=Symbol("is html");function Ei(e,t,r,n){var i=Ti(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[wn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&zr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function le(e,t,r){var n=T,i=$;let l=N;N&&Z(!1),W(null),ne(null);try{t!=="style"&&(jt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?zr(e).includes(t):r&&typeof r=="object")?e[t]=r:Ei(e,t,r==null?r:String(r))}finally{W(n),ne(i),l&&Z(!0)}}function Ti(e){return e.__attributes??={[wi]:e.nodeName.includes("-"),[$i]:e.namespaceURI===vn}}var jt=new Map;function zr(e){var t=e.getAttribute("is")||e.nodeName,r=jt.get(t);if(r)return r;jt.set(t,r=[]);for(var n,i=e,l=Element.prototype;l!==i;){n=_n(i);for(var a in n)n[a].set&&r.push(a);i=Xt(i)}return r}let ot=!1;function Si(e){var t=ot;try{return ot=!1,[e(),ot]}finally{ot=t}}function Bt(e,t,r,n){var i=(r&un)!==0,l=(r&fn)!==0,a=n,s=!0,o=()=>(s&&(s=!1,a=l?Ur(n):n),a),u;if(i){var f=Je in e||er in e;u=ye(e,t)?.set??(f&&t in e?b=>e[t]=b:void 0)}var _,c=!1;i?[_,c]=Si(()=>e[t]):_=e[t],_===void 0&&n!==void 0&&(_=o(),u&&(Rn(),u(_)));var v;if(v=()=>{var b=e[t];return b===void 0?o():(s=!0,b)},(r&on)===0)return v;if(u){var d=e.$$legacy;return(function(b,y){return arguments.length>0?((!y||d||c)&&u(y?v():b),b):v()})}var h=!1,w=((r&sn)!==0?Tt:cr)(()=>(h=!1,v()));i&&x(w);var O=$;return(function(b,y){if(arguments.length>0){const S=y?x(w):i?de(b):b;return I(w,S),h=!0,a!==void 0&&(a=S),b}return Se&&h||(O.f&ge)!==0?w.v:x(w)})}function xi(e){return new Ni(e)}class Ni{#t;#e;constructor(t){var r=new Map,n=(l,a)=>{var s=yr(a,!1,!1);return r.set(l,s),s};const i=new Proxy({...t.props||{},$$events:{}},{get(l,a){return x(r.get(a)??n(a,Reflect.get(l,a)))},has(l,a){return a===er?!0:(x(r.get(a)??n(a,Reflect.get(l,a))),Reflect.has(l,a))},set(l,a,s){return I(r.get(a)??n(a,s),s),Reflect.set(l,a,s)}});this.#e=(t.hydrate?vi:Jr)(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)&&tt(),this.#t=i.$$events;for(const l of Object.keys(this.#e))l==="$set"||l==="$destroy"||l==="$on"||Ae(this,l,{get(){return this.#e[l]},set(a){this.#e[l]=a},enumerable:!0});this.#e.$set=l=>{Object.assign(i,l)},this.#e.$destroy=()=>{hi(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 Zr;typeof HTMLElement=="function"&&(Zr=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 l=document.createElement("slot");n!=="default"&&(l.name=n),me(i,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ai(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]=ut(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=xi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Kn(()=>{ei(()=>{this.$$r=!0;for(const n of Ge(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=ut(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 l=this.$$c.$on(n,i);this.$$l_u.set(i,l)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ut(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 Ge(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ut(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 Ai(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Oi(e,t,r,n,i,l){let a=class extends Zr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Ge(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Ge(t).forEach(s=>{Ae(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(o){o=ut(s,o,t),this.$$d[s]=o;var u=this.$$c;if(u){var f=ye(u,s)?.get;f?u[s]=o:u.$set({[s]:o})}}})}),n.forEach(s=>{Ae(a.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=a,a}const Ht={version:"0.60.2"};function Ri(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var De={},Yt,Qr;function Ci(){if(Qr)return Yt;Qr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,o=`
|
|
3
3
|
`,u="/",f="*",_="",c="comment",v="declaration";Yt=function(h,w){if(typeof h!="string")throw new TypeError("First argument must be a string");if(!h)return[];w=w||{};var O=1,b=1;function y(g){var m=g.match(t);m&&(O+=m.length);var R=g.lastIndexOf(o);b=~R?g.length-R:b+g.length}function S(){var g={line:O,column:b};return function(m){return m.position=new k(g),K(),m}}function k(g){this.start=g,this.end={line:O,column:b},this.source=w.source}k.prototype.content=h;function L(g){var m=new Error(w.source+":"+O+":"+b+": "+g);if(m.reason=g,m.filename=w.source,m.line=O,m.column=b,m.source=h,!w.silent)throw m}function X(g){var m=g.exec(h);if(m){var R=m[0];return y(R),h=h.slice(R.length),m}}function K(){X(r)}function F(g){var m;for(g=g||[];m=p();)m!==!1&&g.push(m);return g}function p(){var g=S();if(!(u!=h.charAt(0)||f!=h.charAt(1))){for(var m=2;_!=h.charAt(m)&&(f!=h.charAt(m)||u!=h.charAt(m+1));)++m;if(m+=2,_===h.charAt(m-1))return L("End of comment missing");var R=h.slice(2,m-2);return b+=2,y(R),h=h.slice(m),b+=2,g({type:c,comment:R})}}function E(){var g=S(),m=X(n);if(m){if(p(),!X(i))return L("property missing ':'");var R=X(l),ae=g({type:v,property:d(m[0].replace(e,_)),value:R?d(R[0].replace(e,_)):_});return X(a),ae}}function C(){var g=[];F(g);for(var m;m=E();)m!==!1&&(g.push(m),F(g));return g}return K(),C()};function d(h){return h?h.replace(s,_):_}return Yt}var en;function ki(){if(en)return De;en=1;var e=De&&De.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(De,"__esModule",{value:!0}),De.default=r;var t=e(Ci());function r(n,i){var l=null;if(!n||typeof n!="string")return l;var a=(0,t.default)(n),s=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var u=o.property,f=o.value;s?i(u,f,o):f&&(l=l||{},l[u]=f)}}),l}return De}var Pi=ki();const tn=Ri(Pi);tn.default;function Ut(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}function Ii(e,t,r,n){const i={schema:t(),id:r()};n("done",i)}var Mi=at("<hb-dialogform></hb-dialogform>",2),Li=at("<hb-form></hb-form>",2),Di=at('<h2 style="margin:60px;text-align:center;color:blue">output</h2> <!>',1),qi=at('<hb-table><span slot="buttons-container"><button class="btn btn-outline-primary btn-sm svelte-1y3d3ob">done</button></span></hb-table> <!> <!>',3);const Fi={hash:"svelte-1y3d3ob",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
package/manifest.json
CHANGED