@htmlbricks/hb-terms-doc-templates 0.61.47 → 0.61.50
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(Zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const tt=1,it=2,ei=4,dn=8,fn=16,pn=1,hn=2,ti="[",yt="[!",_t="]",Ae={},q=Symbol(),vn="http://www.w3.org/1999/xhtml",ii=!1;var kt=Array.isArray,mn=Array.prototype.indexOf,wt=Array.from,nt=Object.keys,Le=Object.defineProperty,Ne=Object.getOwnPropertyDescriptor,gn=Object.getOwnPropertyDescriptors,yn=Object.prototype,_n=Array.prototype,ni=Object.getPrototypeOf,ai=Object.isExtensible;function ri(e){for(var t=0;t<e.length;t++)e[t]()}function kn(){var e,t,i=new Promise((n,a)=>{e=n,t=a});return{promise:i,resolve:e,reject:t}}const U=2,bt=4,oi=8,De=16,le=32,pe=64,si=128,H=256,at=512,M=1024,V=2048,he=4096,Z=8192,ke=16384,zt=32768,$t=65536,li=1<<17,wn=1<<18,qe=1<<19,bn=1<<20,xt=1<<21,Tt=1<<22,we=1<<23,Et=Symbol("$state"),zn=Symbol("legacy props"),$n=Symbol(""),Pt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},It=3,He=8;function xn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Tn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function En(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Pn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function In(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Cn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sn(){throw new Error("https://svelte.dev/e/hydration_failed")}function An(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let T=!1;function ee(e){T=e}let E;function B(e){if(e===null)throw rt(),Ae;return E=e}function ot(){return B(me(E))}function Re(e){if(T){if(me(E)!==null)throw rt(),Ae;E=e}}function Ct(){for(var e=0,t=E;;){if(t.nodeType===He){var i=t.data;if(i===_t){if(e===0)return t;e-=1}else(i===ti||i===yt)&&(e+=1)}var n=me(t);t.remove(),t=n}}function ci(e){if(!e||e.nodeType!==He)throw rt(),Ae;return e.data}function ui(e){return e===this.v}function Dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function di(e){return!Dn(e,this.v)}let qn=!1,te=null;function st(e){te=e}function fi(e,t=!1,i){te={p:te,c:null,e:null,s:e,x:null,l:null}}function pi(e){var t=te,i=t.e;if(i!==null){t.e=null;for(var n of i)Li(n)}return e!==void 0&&(t.x=e),te=t.p,e??{}}function hi(){return!0}const Rn=new WeakMap;function On(e){var t=b;if(t===null)return z.f|=we,e;if((t.f&zt)===0){if((t.f&si)===0)throw!t.parent&&e instanceof Error&&vi(e),e;t.b.error(e)}else St(e,t)}function St(e,t){for(;t!==null;){if((t.f&si)!==0)try{t.b.error(e);return}catch(i){e=i}t=t.parent}throw e instanceof Error&&vi(e),e}function vi(e){const t=Rn.get(e);t&&(Le(e,"message",{value:t.message}),Le(e,"stack",{value:t.stack}))}let Ve=[],At=[];function mi(){var e=Ve;Ve=[],ri(e)}function Mn(){var e=At;At=[],ri(e)}function Fn(e){Ve.length===0&&queueMicrotask(mi),Ve.push(e)}function jn(){Ve.length>0&&mi(),At.length>0&&Mn()}function Un(){const e=b.b;return e===null&&xn(),e}function Lt(e){var t=U|V,i=z!==null&&(z.f&U)!==0?z:null;return b===null||i!==null&&(i.f&H)!==0?t|=H:b.f|=qe,{ctx:te,deps:null,effects:null,equals:ui,f:t,fn:e,reactions:null,rv:0,v:q,wv:0,parent:i??b,ac:null}}function Gn(e,t){let i=b;i===null&&Tn();var n=i.b,a=void 0,o=Be(q),s=null,l=!z;return ta(()=>{try{var c=e();s&&Promise.resolve(c).catch(()=>{})}catch(f){c=Promise.reject(f)}var u=()=>c;a=s?.then(u,u)??Promise.resolve(c),s=a;var r=L,h=n.is_pending();l&&(n.update_pending_count(1),h||r.increment());const p=(f,d=void 0)=>{s=null,h||r.activate(),d?d!==Pt&&(o.f|=we,Qe(o,d)):((o.f&we)!==0&&(o.f^=we),Qe(o,f)),l&&(n.update_pending_count(-1),h||r.decrement()),_i()};if(a.then(p,f=>p(null,f||"unknown")),r)return()=>{queueMicrotask(()=>r.neuter())}}),new Promise(c=>{function u(r){function h(){r===a?c(o):u(a)}r.then(h,h)}u(a)})}function Wn(e){const t=Lt(e);return t.equals=di,t}function gi(e){var t=e.effects;if(t!==null){e.effects=null;for(var i=0;i<t.length;i+=1)re(t[i])}}function Yn(e){for(var t=e.parent;t!==null;){if((t.f&U)===0)return t;t=t.parent}return null}function Nt(e){var t,i=b;oe(Yn(e));try{gi(e),t=Hi(e)}finally{oe(i)}return t}function yi(e){var t=Nt(e);if(e.equals(t)||(e.v=t,e.wv=Wi()),!Ee){var i=(ge||(e.f&H)!==0)&&e.deps!==null?he:M;Y(e,i)}}function Hn(e,t,i){const n=Lt;if(t.length===0){i(e.map(n));return}var a=L,o=b,s=Vn(),l=Un();Promise.all(t.map(c=>Gn(c))).then(c=>{a?.activate(),s();try{i([...e.map(n),...c])}catch(u){(o.f&ke)===0&&St(u,o)}a?.deactivate(),_i()}).catch(c=>{l.error(c)})}function Vn(){var e=b,t=z,i=te,n=L;return function(){oe(e),Q(t),st(i),n?.activate()}}function _i(){oe(null),Q(null),st(null)}const Dt=new Set;let L=null,ki=new Set,lt=[];function wi(){const e=lt.shift();lt.length>0&&queueMicrotask(wi),e()}let be=[],ct=null,qt=!1,ut=!1;class ze{current=new Map;#t=new Map;#e=new Set;#i=0;#c=null;#u=!1;#a=[];#o=[];#r=[];#n=[];#s=[];#d=[];#f=[];skipped_effects=new Set;process(t){be=[];for(const a of t)this.#h(a);if(this.#a.length===0&&this.#i===0){this.#p();var i=this.#r,n=this.#n;this.#r=[],this.#n=[],this.#s=[],L=null,zi(i),zi(n),L===null?L=this:Dt.delete(this),this.#c?.resolve()}else this.#l(this.#r),this.#l(this.#n),this.#l(this.#s);for(const a of this.#a)Ue(a);for(const a of this.#o)Ue(a);this.#a=[],this.#o=[]}#h(t){t.f^=M;for(var i=t.first;i!==null;){var n=i.f,a=(n&(le|pe))!==0,o=a&&(n&M)!==0,s=o||(n&Z)!==0||this.skipped_effects.has(i);if(!s&&i.fn!==null){if(a)i.f^=M;else if((n&bt)!==0)this.#n.push(i);else if((n&M)===0)if((n&Tt)!==0){var l=i.b?.is_pending()?this.#o:this.#a;l.push(i)}else ft(i)&&((i.f&De)!==0&&this.#s.push(i),Ue(i));var c=i.first;if(c!==null){i=c;continue}}var u=i.parent;for(i=i.next;i===null&&u!==null;)i=u.next,u=u.parent}}#l(t){for(const i of t)((i.f&V)!==0?this.#d:this.#f).push(i),Y(i,M);t.length=0}capture(t,i){this.#t.has(t)||this.#t.set(t,i),this.current.set(t,t.v)}activate(){L=this}deactivate(){L=null;for(const t of ki)if(ki.delete(t),t(),L!==null)break}neuter(){this.#u=!0}flush(){be.length>0?bi():this.#p(),L===this&&(this.#i===0&&Dt.delete(this),this.deactivate())}#p(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#i+=1}decrement(){if(this.#i-=1,this.#i===0){for(const t of this.#d)Y(t,V),Oe(t);for(const t of this.#f)Y(t,he),Oe(t);this.#r=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#c??=kn()).promise}static ensure(){if(L===null){const t=L=new ze;Dt.add(L),ut||ze.enqueue(()=>{L===t&&t.flush()})}return L}static enqueue(t){lt.length===0&&queueMicrotask(wi),lt.unshift(t)}}function dt(e){var t=ut;ut=!0;try{for(var i;;){if(jn(),be.length===0&&(L?.flush(),be.length===0))return ct=null,i;bi()}}finally{ut=t}}function bi(){var e=je;qt=!0;try{var t=0;for(Fi(!0);be.length>0;){var i=ze.ensure();if(t++>1e3){var n,a;Bn()}i.process(be),ve.clear()}}finally{qt=!1,Fi(e),ct=null}}function Bn(){try{Cn()}catch(e){St(e,ct)}}let $e=null;function zi(e){var t=e.length;if(t!==0){for(var i=0;i<t;){var n=e[i++];if((n.f&(ke|Z))===0&&ft(n)&&($e=[],Ue(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Ri(n):n.fn=null),$e?.length>0)){ve.clear();for(const a of $e)Ue(a);$e=[]}}$e=null}}function Oe(e){for(var t=ct=e;t.parent!==null;){t=t.parent;var i=t.f;if(qt&&t===b&&(i&De)!==0)return;if((i&(pe|le))!==0){if((i&M)===0)return;t.f^=M}}be.push(t)}const ve=new Map;function Be(e,t){var i={f:0,v:e,reactions:null,equals:ui,rv:0,wv:0};return i}function ie(e,t){const i=Be(e);return ra(i),i}function $i(e,t=!1,i=!0){const n=Be(e);return t||(n.equals=di),n}function G(e,t,i=!1){z!==null&&(!Pe||(z.f&li)!==0)&&hi()&&(z.f&(U|De|Tt|li))!==0&&!ue?.includes(e)&&Nn();let n=i?Me(t):t;return Qe(e,n)}function Qe(e,t){if(!e.equals(t)){var i=e.v;Ee?ve.set(e,t):ve.set(e,i),e.v=t;var n=ze.ensure();n.capture(e,i),(e.f&U)!==0&&((e.f&V)!==0&&Nt(e),Y(e,(e.f&H)===0?M:he)),e.wv=Wi(),xi(e,V),b!==null&&(b.f&M)!==0&&(b.f&(le|pe))===0&&(X===null?oa([e]):X.push(e))}return t}function Rt(e){G(e,e.v+1)}function xi(e,t){var i=e.reactions;if(i!==null)for(var n=i.length,a=0;a<n;a++){var o=i[a],s=o.f,l=(s&V)===0;l&&Y(o,t),(s&U)!==0?xi(o,he):l&&((s&De)!==0&&$e!==null&&$e.push(o),Oe(o))}}function Me(e){if(typeof e!="object"||e===null||Et in e)return e;const t=ni(e);if(t!==yn&&t!==_n)return e;var i=new Map,n=kt(e),a=ie(0),o=Ie,s=l=>{if(Ie===o)return l();var c=z,u=Ie;Q(null),Gi(o);var r=l();return Q(c),Gi(u),r};return n&&i.set("length",ie(e.length)),new Proxy(e,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&An();var r=i.get(c);return r===void 0?r=s(()=>{var h=ie(u.value);return i.set(c,h),h}):G(r,u.value,!0),!0},deleteProperty(l,c){var u=i.get(c);if(u===void 0){if(c in l){const r=s(()=>ie(q));i.set(c,r),Rt(a)}}else G(u,q),Rt(a);return!0},get(l,c,u){if(c===Et)return e;var r=i.get(c),h=c in l;if(r===void 0&&(!h||Ne(l,c)?.writable)&&(r=s(()=>{var f=Me(h?l[c]:q),d=ie(f);return d}),i.set(c,r)),r!==void 0){var p=x(r);return p===q?void 0:p}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var r=i.get(c);r&&(u.value=x(r))}else if(u===void 0){var h=i.get(c),p=h?.v;if(h!==void 0&&p!==q)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return u},has(l,c){if(c===Et)return!0;var u=i.get(c),r=u!==void 0&&u.v!==q||Reflect.has(l,c);if(u!==void 0||b!==null&&(!r||Ne(l,c)?.writable)){u===void 0&&(u=s(()=>{var p=r?Me(l[c]):q,f=ie(p);return f}),i.set(c,u));var h=x(u);if(h===q)return!1}return r},set(l,c,u,r){var h=i.get(c),p=c in l;if(n&&c==="length")for(var f=u;f<h.v;f+=1){var d=i.get(f+"");d!==void 0?G(d,q):f in l&&(d=s(()=>ie(q)),i.set(f+"",d))}if(h===void 0)(!p||Ne(l,c)?.writable)&&(h=s(()=>ie(void 0)),G(h,Me(u)),i.set(c,h));else{p=h.v!==q;var v=s(()=>Me(u));G(h,v)}var _=Reflect.getOwnPropertyDescriptor(l,c);if(_?.set&&_.set.call(r,u),!p){if(n&&typeof c=="string"){var $=i.get("length"),k=Number(c);Number.isInteger(k)&&k>=$.v&&G($,k+1)}Rt(a)}return!0},ownKeys(l){x(a);var c=Reflect.ownKeys(l).filter(h=>{var p=i.get(h);return p===void 0||p.v!==q});for(var[u,r]of i)r.v!==q&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Ln()}})}var Ti,Ei,Pi,Ii;function Ot(){if(Ti===void 0){Ti=window,Ei=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,i=Text.prototype;Pi=Ne(t,"firstChild").get,Ii=Ne(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(i)&&(i.__t=void 0)}}function ae(e=""){return document.createTextNode(e)}function xe(e){return Pi.call(e)}function me(e){return Ii.call(e)}function Xe(e,t){if(!T)return xe(e);var i=xe(E);if(i===null)i=E.appendChild(ae());else if(t&&i.nodeType!==It){var n=ae();return i?.before(n),B(n),n}return B(i),i}function Je(e,t){if(!T){var i=xe(e);return i instanceof Comment&&i.data===""?me(i):i}return E}function Ke(e,t=1,i=!1){let n=T?E:e;for(var a;t--;)a=n,n=me(n);if(!T)return n;if(i&&n?.nodeType!==It){var o=ae();return n===null?a?.after(o):n.before(o),B(o),o}return B(n),n}function Ci(e){e.textContent=""}function Si(){return!1}function Ai(e){var t=z,i=b;Q(null),oe(null);try{return e()}finally{Q(t),oe(i)}}function Qn(e){b===null&&z===null&&In(),z!==null&&(z.f&H)!==0&&b===null&&Pn(),Ee&&En()}function Xn(e,t){var i=t.last;i===null?t.last=t.first=e:(i.next=e,e.prev=i,t.last=e)}function ce(e,t,i,n=!0){var a=b;a!==null&&(a.f&Z)!==0&&(e|=Z);var o={ctx:te,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:a,b:a&&a.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(i)try{Ue(o),o.f|=zt}catch(c){throw re(o),c}else t!==null&&Oe(o);if(n){var s=o;if(i&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&qe)===0&&(s=s.first),s!==null&&(s.parent=a,a!==null&&Xn(s,a),z!==null&&(z.f&U)!==0&&(e&pe)===0)){var l=z;(l.effects??=[]).push(s)}}return o}function Jn(e){Qn();var t=b.f,i=!z&&(t&le)!==0&&(t&zt)===0;if(i){var n=te;(n.e??=[]).push(e)}else return Li(e)}function Li(e){return ce(bt|bn,e,!1)}function Kn(e){ze.ensure();const t=ce(pe|qe,e,!0);return()=>{re(t)}}function Zn(e){ze.ensure();const t=ce(pe|qe,e,!0);return(i={})=>new Promise(n=>{i.outro?Mt(t,()=>{re(t),n(void 0)}):(re(t),n(void 0))})}function ea(e){return ce(bt,e,!1)}function ta(e){return ce(Tt|qe,e,!0)}function ia(e,t=0){return ce(oi|t,e,!0)}function Te(e,t=[],i=[]){Hn(t,i,n=>{ce(oi,()=>e(...n.map(x)),!0)})}function Ni(e,t=0){var i=ce(De|t,e,!0);return i}function Fe(e,t=!0){return ce(le|qe,e,!0,t)}function Di(e){var t=e.teardown;if(t!==null){const i=Ee,n=z;ji(!0),Q(null);try{t.call(null)}finally{ji(i),Q(n)}}}function qi(e,t=!1){var i=e.first;for(e.first=e.last=null;i!==null;){const a=i.ac;a!==null&&Ai(()=>{a.abort(Pt)});var n=i.next;(i.f&pe)!==0?i.parent=null:re(i,t),i=n}}function na(e){for(var t=e.first;t!==null;){var i=t.next;(t.f&le)===0&&re(t),t=i}}function re(e,t=!0){var i=!1;(t||(e.f&wn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(aa(e.nodes_start,e.nodes_end),i=!0),qi(e,t&&!i),pt(e,0),Y(e,ke);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Di(e);var a=e.parent;a!==null&&a.first!==null&&Ri(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 i=e===t?null:me(e);e.remove(),e=i}}function Ri(e){var t=e.parent,i=e.prev,n=e.next;i!==null&&(i.next=n),n!==null&&(n.prev=i),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=i))}function Mt(e,t){var i=[];Ft(e,i,!0),Oi(i,()=>{re(e),t&&t()})}function Oi(e,t){var i=e.length;if(i>0){var n=()=>--i||t();for(var a of e)a.out(n)}else t()}function Ft(e,t,i){if((e.f&Z)===0){if(e.f^=Z,e.transitions!==null)for(const s of e.transitions)(s.is_global||i)&&t.push(s);for(var n=e.first;n!==null;){var a=n.next,o=(n.f&$t)!==0||(n.f&le)!==0;Ft(n,t,o?i:!1),n=a}}}function jt(e){Mi(e,!0)}function Mi(e,t){if((e.f&Z)!==0){e.f^=Z,(e.f&M)===0&&(Y(e,V),Oe(e));for(var i=e.first;i!==null;){var n=i.next,a=(i.f&$t)!==0||(i.f&le)!==0;Mi(i,a?t:!1),i=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let je=!1;function Fi(e){je=e}let Ee=!1;function ji(e){Ee=e}let z=null,Pe=!1;function Q(e){z=e}let b=null;function oe(e){b=e}let ue=null;function ra(e){z!==null&&(ue===null?ue=[e]:ue.push(e))}let F=null,W=0,X=null;function oa(e){X=e}let Ui=1,Ze=0,Ie=Ze;function Gi(e){Ie=e}let ge=!1;function Wi(){return++Ui}function ft(e){var t=e.f;if((t&V)!==0)return!0;if((t&he)!==0){var i=e.deps,n=(t&H)!==0;if(i!==null){var a,o,s=(t&at)!==0,l=n&&b!==null&&!ge,c=i.length;if((s||l)&&(b===null||(b.f&ke)===0)){var u=e,r=u.parent;for(a=0;a<c;a++)o=i[a],(s||!o?.reactions?.includes(u))&&(o.reactions??=[]).push(u);s&&(u.f^=at),l&&r!==null&&(r.f&H)===0&&(u.f^=H)}for(a=0;a<c;a++)if(o=i[a],ft(o)&&yi(o),o.wv>e.wv)return!0}(!n||b!==null&&!ge)&&Y(e,M)}return!1}function Yi(e,t,i=!0){var n=e.reactions;if(n!==null&&!ue?.includes(e))for(var a=0;a<n.length;a++){var o=n[a];(o.f&U)!==0?Yi(o,t,!1):t===o&&(i?Y(o,V):(o.f&M)!==0&&Y(o,he),Oe(o))}}function Hi(e){var t=F,i=W,n=X,a=z,o=ge,s=ue,l=te,c=Pe,u=Ie,r=e.f;F=null,W=0,X=null,ge=(r&H)!==0&&(Pe||!je||z===null),z=(r&(le|pe))===0?e:null,ue=null,st(e.ctx),Pe=!1,Ie=++Ze,e.ac!==null&&(Ai(()=>{e.ac.abort(Pt)}),e.ac=null);try{e.f|=xt;var h=e.fn,p=h(),f=e.deps;if(F!==null){var d;if(pt(e,W),f!==null&&W>0)for(f.length=W+F.length,d=0;d<F.length;d++)f[W+d]=F[d];else e.deps=f=F;if(!ge||(r&U)!==0&&e.reactions!==null)for(d=W;d<f.length;d++)(f[d].reactions??=[]).push(e)}else f!==null&&W<f.length&&(pt(e,W),f.length=W);if(hi()&&X!==null&&!Pe&&f!==null&&(e.f&(U|he|V))===0)for(d=0;d<X.length;d++)Yi(X[d],e);return a!==null&&a!==e&&(Ze++,X!==null&&(n===null?n=X:n.push(...X))),(e.f&we)!==0&&(e.f^=we),p}catch(v){return On(v)}finally{e.f^=xt,F=t,W=i,X=n,z=a,ge=o,ue=s,st(l),Pe=c,Ie=u}}function sa(e,t){let i=t.reactions;if(i!==null){var n=mn.call(i,e);if(n!==-1){var a=i.length-1;a===0?i=t.reactions=null:(i[n]=i[a],i.pop())}}i===null&&(t.f&U)!==0&&(F===null||!F.includes(t))&&(Y(t,he),(t.f&(H|at))===0&&(t.f^=at),gi(t),pt(t,0))}function pt(e,t){var i=e.deps;if(i!==null)for(var n=t;n<i.length;n++)sa(e,i[n])}function Ue(e){var t=e.f;if((t&ke)===0){Y(e,M);var i=b,n=je;b=e,je=!0;try{(t&De)!==0?na(e):qi(e),Di(e);var a=Hi(e);e.teardown=typeof a=="function"?a:null,e.wv=Ui;var o;ii&&qn&&(e.f&V)!==0&&e.deps}finally{je=n,b=i}}}function x(e){var t=e.f,i=(t&U)!==0;if(z!==null&&!Pe){var n=b!==null&&(b.f&ke)!==0;if(!n&&!ue?.includes(e)){var a=z.deps;if((z.f&xt)!==0)e.rv<Ze&&(e.rv=Ze,F===null&&a!==null&&a[W]===e?W++:F===null?F=[e]:(!ge||!F.includes(e))&&F.push(e));else{(z.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[z]:o.includes(z)||o.push(z)}}}else if(i&&e.deps===null&&e.effects===null){var s=e,l=s.parent;l!==null&&(l.f&H)===0&&(s.f^=H)}if(Ee){if(ve.has(e))return ve.get(e);if(i){s=e;var c=s.v;return((s.f&M)===0&&s.reactions!==null||Vi(s))&&(c=Nt(s)),ve.set(s,c),c}}else i&&(s=e,ft(s)&&yi(s));if((e.f&we)!==0)throw e.v;return e.v}function Vi(e){if(e.v===q)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ve.has(t)||(t.f&U)!==0&&Vi(t))return!0;return!1}const la=-7169;function Y(e,t){e.f=e.f&la|t}const ca=new Set,Bi=new Set;let Qi=null;function ht(e){var t=this,i=t.ownerDocument,n=e.type,a=e.composedPath?.()||[],o=a[0]||e.target;Qi=e;var s=0,l=Qi===e&&e.__root;if(l){var c=a.indexOf(l);if(c!==-1&&(t===document||t===window)){e.__root=t;return}var u=a.indexOf(t);if(u===-1)return;c<=u&&(s=c)}if(o=a[s]||e.target,o!==t){Le(e,"currentTarget",{configurable:!0,get(){return o||i}});var r=z,h=b;Q(null),oe(null);try{for(var p,f=[];o!==null;){var d=o.assignedSlot||o.parentNode||o.host||null;try{var v=o["__"+n];if(v!=null&&(!o.disabled||e.target===o))if(kt(v)){var[_,...$]=v;_.apply(o,[e,...$])}else v.call(o,e)}catch(k){p?f.push(k):p=k}if(e.cancelBubble||d===t||d===null)break;o=d}if(p){for(let k of f)queueMicrotask(()=>{throw k});throw p}}finally{e.__root=t,delete e.currentTarget,Q(r),oe(h)}}}function ua(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ye(e,t){var i=b;i.nodes_start===null&&(i.nodes_start=e,i.nodes_end=t)}function _e(e,t){var i=(t&pn)!==0,n=(t&hn)!==0,a,o=!e.startsWith("<!>");return()=>{if(T)return ye(E,null),E;a===void 0&&(a=ua(o?e:"<!>"+e),i||(a=xe(a)));var s=n||Ei?document.importNode(a,!0):a.cloneNode(!0);if(i){var l=xe(s),c=s.lastChild;ye(l,c)}else ye(s,s);return s}}function da(e=""){if(!T){var t=ae(e+"");return ye(t,t),t}var i=E;return i.nodeType!==It&&(i.before(i=ae()),B(i)),ye(i,i),i}function Xi(){if(T)return ye(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(""),i=ae();return e.append(t,i),ye(t,i),e}function J(e,t){if(T){b.nodes_end=E,ot();return}e!==null&&e.before(t)}const fa=["touchstart","touchmove"];function pa(e){return fa.includes(e)}function et(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??=e.nodeValue)&&(e.__t=i,e.nodeValue=i+"")}function Ji(e,t){return Ki(e,t)}function ha(e,t){Ot(),t.intro=t.intro??!1;const i=t.target,n=T,a=E;try{for(var o=xe(i);o&&(o.nodeType!==He||o.data!==ti);)o=me(o);if(!o)throw Ae;ee(!0),B(o),ot();const s=Ki(e,{...t,anchor:o});if(E===null||E.nodeType!==He||E.data!==_t)throw rt(),Ae;return ee(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==Ae&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Sn(),Ot(),Ci(i),ee(!1),Ji(e,t)}finally{ee(n),B(a)}}const Ge=new Map;function Ki(e,{target:t,anchor:i,props:n={},events:a,context:o,intro:s=!0}){Ot();var l=new Set,c=h=>{for(var p=0;p<h.length;p++){var f=h[p];if(!l.has(f)){l.add(f);var d=pa(f);t.addEventListener(f,ht,{passive:d});var v=Ge.get(f);v===void 0?(document.addEventListener(f,ht,{passive:d}),Ge.set(f,1)):Ge.set(f,v+1)}}};c(wt(ca)),Bi.add(c);var u=void 0,r=Zn(()=>{var h=i??t.appendChild(ae());return Fe(()=>{if(o){fi({});var p=te;p.c=o}a&&(n.$$events=a),T&&ye(h,null),u=e(h,n)||{},T&&(b.nodes_end=E),o&&pi()}),()=>{for(var p of l){t.removeEventListener(p,ht);var f=Ge.get(p);--f===0?(document.removeEventListener(p,ht),Ge.delete(p)):Ge.set(p,f)}Bi.delete(c),h!==i&&h.parentNode?.removeChild(h)}});return Ut.set(u,r),u}let Ut=new WeakMap;function va(e,t){const i=Ut.get(e);return i?(Ut.delete(e),i(t)):Promise.resolve()}function We(e,t,i=!1){T&&ot();var n=e,a=null,o=null,s=q,l=i?$t:0,c=!1;const u=(f,d=!0)=>{c=!0,p(d,f)};var r=null;function h(){r!==null&&(r.lastChild.remove(),n.before(r),r=null);var f=s?a:o,d=s?o:a;f&&jt(f),d&&Mt(d,()=>{s?o=null:a=null})}const p=(f,d)=>{if(s===(s=f))return;let v=!1;if(T){const P=ci(n)===yt;!!s===P&&(n=Ct(),B(n),ee(!1),v=!0)}var _=Si(),$=n;if(_&&(r=document.createDocumentFragment(),r.append($=ae())),s?a??=d&&Fe(()=>d($)):o??=d&&Fe(()=>d($)),_){var k=L,I=s?a:o,N=s?o:a;I&&k.skipped_effects.delete(I),N&&k.skipped_effects.add(N),k.add_callback(h)}else h();v&&ee(!0)};Ni(()=>{c=!1,t(u),c||p(null,null)},l),T&&(n=E)}function ma(e,t,i){for(var n=e.items,a=[],o=t.length,s=0;s<o;s++)Ft(t[s].e,a,!0);var l=o>0&&a.length===0&&i!==null;if(l){var c=i.parentNode;Ci(c),c.append(i),n.clear(),se(e,t[0].prev,t[o-1].next)}Oi(a,()=>{for(var u=0;u<o;u++){var r=t[u];l||(n.delete(r.k),se(e,r.prev,r.next)),re(r.e,!l)}})}function Gt(e,t,i,n,a,o=null){var s=e,l={flags:t,items:new Map,first:null},c=(t&ei)!==0;if(c){var u=e;s=T?B(xe(u)):u.appendChild(ae())}T&&ot();var r=null,h=!1,p=new Map,f=Wn(()=>{var $=i();return kt($)?$:$==null?[]:wt($)}),d,v;function _(){ga(v,d,l,p,s,a,t,n,i),o!==null&&(d.length===0?r?jt(r):r=Fe(()=>o(s)):r!==null&&Mt(r,()=>{r=null}))}Ni(()=>{v??=b,d=x(f);var $=d.length;if(h&&$===0)return;h=$===0;let k=!1;if(T){var I=ci(s)===yt;I!==($===0)&&(s=Ct(),B(s),ee(!1),k=!0)}if(T){for(var N=null,P,m=0;m<$;m++){if(E.nodeType===He&&E.data===_t){s=E,k=!0,ee(!1);break}var w=d[m],C=n(w,m);P=Wt(E,l,N,null,w,C,m,a,t,i),l.items.set(C,P),N=P}$>0&&B(Ct())}if(T)$===0&&o&&(r=Fe(()=>o(s)));else if(Si()){var K=new Set,de=L;for(m=0;m<$;m+=1){w=d[m],C=n(w,m);var ne=l.items.get(C)??p.get(C);ne?(t&(tt|it))!==0&&Zi(ne,w,m,t):(P=Wt(null,l,null,null,w,C,m,a,t,i,!0),p.set(C,P)),K.add(C)}for(const[D,g]of l.items)K.has(D)||de.skipped_effects.add(g.e);de.add_callback(_)}else _();k&&ee(!0),x(f)}),T&&(s=E)}function ga(e,t,i,n,a,o,s,l,c){var u=(s&dn)!==0,r=(s&(tt|it))!==0,h=t.length,p=i.items,f=i.first,d=f,v,_=null,$,k=[],I=[],N,P,m,w;if(u)for(w=0;w<h;w+=1)N=t[w],P=l(N,w),m=p.get(P),m!==void 0&&(m.a?.measure(),($??=new Set).add(m));for(w=0;w<h;w+=1){if(N=t[w],P=l(N,w),m=p.get(P),m===void 0){var C=n.get(P);if(C!==void 0){n.delete(P),p.set(P,C);var K=_?_.next:d;se(i,_,C),se(i,C,K),Yt(C,K,a),_=C}else{var de=d?d.e.nodes_start:a;_=Wt(de,i,_,_===null?i.first:_.next,N,P,w,o,s,c)}p.set(P,_),k=[],I=[],d=_.next;continue}if(r&&Zi(m,N,w,s),(m.e.f&Z)!==0&&(jt(m.e),u&&(m.a?.unfix(),($??=new Set).delete(m))),m!==d){if(v!==void 0&&v.has(m)){if(k.length<I.length){var ne=I[0],D;_=ne.prev;var g=k[0],y=k[k.length-1];for(D=0;D<k.length;D+=1)Yt(k[D],ne,a);for(D=0;D<I.length;D+=1)v.delete(I[D]);se(i,g.prev,y.next),se(i,_,g),se(i,y,ne),d=ne,_=y,w-=1,k=[],I=[]}else v.delete(m),Yt(m,d,a),se(i,m.prev,m.next),se(i,m,_===null?i.first:_.next),se(i,_,m),_=m;continue}for(k=[],I=[];d!==null&&d.k!==P;)(d.e.f&Z)===0&&(v??=new Set).add(d),I.push(d),d=d.next;if(d===null)continue;m=d}k.push(m),_=m,d=m.next}if(d!==null||v!==void 0){for(var S=v===void 0?[]:wt(v);d!==null;)(d.e.f&Z)===0&&S.push(d),d=d.next;var Se=S.length;if(Se>0){var gt=(s&ei)!==0&&h===0?a:null;if(u){for(w=0;w<Se;w+=1)S[w].a?.measure();for(w=0;w<Se;w+=1)S[w].a?.fix()}ma(i,S,gt)}}u&&Fn(()=>{if($!==void 0)for(m of $)m.a?.apply()}),e.first=i.first&&i.first.e,e.last=_&&_.e;for(var Jt of n.values())re(Jt.e);n.clear()}function Zi(e,t,i,n){(n&tt)!==0&&Qe(e.v,t),(n&it)!==0?Qe(e.i,i):e.i=i}function Wt(e,t,i,n,a,o,s,l,c,u,r){var h=(c&tt)!==0,p=(c&fn)===0,f=h?p?$i(a,!1,!1):Be(a):a,d=(c&it)===0?s:Be(s),v={i:d,v:f,k:o,a:null,e:null,prev:i,next:n};try{if(e===null){var _=document.createDocumentFragment();_.append(e=ae())}return v.e=Fe(()=>l(e,f,d,u),T),v.e.prev=i&&i.e,v.e.next=n&&n.e,i===null?r||(t.first=v):(i.next=v,i.e.next=v.e),n!==null&&(n.prev=v,n.e.prev=v.e),v}finally{}}function Yt(e,t,i){for(var n=e.next?e.next.e.nodes_start:i,a=t?t.e.nodes_start:i,o=e.e.nodes_start;o!==null&&o!==n;){var s=me(o);a.before(o),o=s}}function se(e,t,i){t===null?e.first=i:(t.next=i,t.e.next=i&&i.e),i!==null&&(i.prev=t,i.e.prev=t&&t.e)}function ya(e,t){ea(()=>{var i=e.getRootNode(),n=i.host?i:i.head??i.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const a=document.createElement("style");a.id=t.hash,a.textContent=t.code,n.appendChild(a)}})}function _a(e,t,i){var n=""+e;return n}function ka(e,t){return e==null?null:String(e)}function wa(e,t,i,n,a,o){var s=e.__className;if(T||s!==i||s===void 0){var l=_a(i);(!T||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return o}function ba(e,t,i,n){var a=e.__style;if(T||a!==t){var o=ka(t);(!T||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return n}const za=Symbol("is custom element"),$a=Symbol("is html");function xa(e,t,i,n){var a=Ta(e);T&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=i)&&(t==="loading"&&(e[$n]=i),i==null?e.removeAttribute(t):typeof i!="string"&&en(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function vt(e,t,i){var n=z,a=b;let o=T;T&&ee(!1),Q(null),oe(null);try{t!=="style"&&(Ht.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?en(e).includes(t):i&&typeof i=="object")?e[t]=i:xa(e,t,i==null?i:String(i))}finally{Q(n),oe(a),o&&ee(!0)}}function Ta(e){return e.__attributes??={[za]:e.nodeName.includes("-"),[$a]:e.namespaceURI===vn}}var Ht=new Map;function en(e){var t=e.getAttribute("is")||e.nodeName,i=Ht.get(t);if(i)return i;Ht.set(t,i=[]);for(var n,a=e,o=Element.prototype;o!==a;){n=gn(a);for(var s in n)n[s].set&&i.push(s);a=ni(a)}return i}function Vt(e,t,i,n){var a=n,o=!0,s=()=>(o&&(o=!1,a=n),a),l;l=e[t],l===void 0&&n!==void 0&&(l=s());var c;c=()=>{var p=e[t];return p===void 0?s():(o=!0,p)};var u=!1,r=Lt(()=>(u=!1,c())),h=b;return(function(p,f){if(arguments.length>0){const d=f?x(r):p;return G(r,d),u=!0,a!==void 0&&(a=d),p}return Ee&&u||(h.f&ke)!==0?r.v:x(r)})}function Ea(e){return new Pa(e)}class Pa{#t;#e;constructor(t){var i=new Map,n=(o,s)=>{var l=$i(s,!1,!1);return i.set(o,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(o,s){return x(i.get(s)??n(s,Reflect.get(o,s)))},has(o,s){return s===zn?!0:(x(i.get(s)??n(s,Reflect.get(o,s))),Reflect.has(o,s))},set(o,s,l){return G(i.get(s)??n(s,l),l),Reflect.set(o,s,l)}});this.#e=(t.hydrate?ha:Ji)(t.component,{target:t.target,anchor:t.anchor,props:a,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&dt(),this.#t=a.$$events;for(const o of Object.keys(this.#e))o==="$set"||o==="$destroy"||o==="$on"||Le(this,o,{get(){return this.#e[o]},set(s){this.#e[o]=s},enumerable:!0});this.#e.$set=o=>{Object.assign(a,o)},this.#e.$destroy=()=>{va(this.#e)}}$set(t){this.#e.$set(t)}$on(t,i){this.#t[t]=this.#t[t]||[];const n=(...a)=>i.call(this,...a);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(a=>a!==n)}}$destroy(){this.#e.$destroy()}}let tn;typeof HTMLElement=="function"&&(tn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){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,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),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 a=>{const o=document.createElement("slot");n!=="default"&&(o.name=n),J(a,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=Ia(this);for(const n of this.$$s)n in i&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const a=this.$$g_p(n.name);a in this.$$d||(this.$$d[a]=mt(a,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=Ea({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Kn(()=>{ia(()=>{this.$$r=!0;for(const n of nt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const a=mt(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1})});for(const n in this.$$l)for(const a of this.$$l[n]){const o=this.$$c.$on(n,a);this.$$l_u.set(a,o)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=mt(e,i,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 nt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function mt(e,t,i,n){const a=i[e]?.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(a){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(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ia(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function Ca(e,t,i,n,a,o){let s=class extends tn{constructor(){super(e,i,a),this.$$p_d=t}static get observedAttributes(){return nt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return nt(t).forEach(l=>{Le(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){c=mt(l,c,t),this.$$d[l]=c;var u=this.$$c;if(u){var r=Ne(u,l)?.get;r?u[l]=c:u.$set({[l]:c})}}})}),n.forEach(l=>{Le(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const Sa={version:"0.61.47"};function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},Bt,nn;function La(){if(nn)return Bt;nn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==Ae&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Sn(),Ot(),Ci(i),ee(!1),Ji(e,t)}finally{ee(n),B(a)}}const Ge=new Map;function Ki(e,{target:t,anchor:i,props:n={},events:a,context:o,intro:s=!0}){Ot();var l=new Set,c=h=>{for(var p=0;p<h.length;p++){var f=h[p];if(!l.has(f)){l.add(f);var d=pa(f);t.addEventListener(f,ht,{passive:d});var v=Ge.get(f);v===void 0?(document.addEventListener(f,ht,{passive:d}),Ge.set(f,1)):Ge.set(f,v+1)}}};c(wt(ca)),Bi.add(c);var u=void 0,r=Zn(()=>{var h=i??t.appendChild(ae());return Fe(()=>{if(o){fi({});var p=te;p.c=o}a&&(n.$$events=a),T&&ye(h,null),u=e(h,n)||{},T&&(b.nodes_end=E),o&&pi()}),()=>{for(var p of l){t.removeEventListener(p,ht);var f=Ge.get(p);--f===0?(document.removeEventListener(p,ht),Ge.delete(p)):Ge.set(p,f)}Bi.delete(c),h!==i&&h.parentNode?.removeChild(h)}});return Ut.set(u,r),u}let Ut=new WeakMap;function va(e,t){const i=Ut.get(e);return i?(Ut.delete(e),i(t)):Promise.resolve()}function We(e,t,i=!1){T&&ot();var n=e,a=null,o=null,s=q,l=i?$t:0,c=!1;const u=(f,d=!0)=>{c=!0,p(d,f)};var r=null;function h(){r!==null&&(r.lastChild.remove(),n.before(r),r=null);var f=s?a:o,d=s?o:a;f&&jt(f),d&&Mt(d,()=>{s?o=null:a=null})}const p=(f,d)=>{if(s===(s=f))return;let v=!1;if(T){const P=ci(n)===yt;!!s===P&&(n=Ct(),B(n),ee(!1),v=!0)}var _=Si(),$=n;if(_&&(r=document.createDocumentFragment(),r.append($=ae())),s?a??=d&&Fe(()=>d($)):o??=d&&Fe(()=>d($)),_){var k=L,I=s?a:o,N=s?o:a;I&&k.skipped_effects.delete(I),N&&k.skipped_effects.add(N),k.add_callback(h)}else h();v&&ee(!0)};Ni(()=>{c=!1,t(u),c||p(null,null)},l),T&&(n=E)}function ma(e,t,i){for(var n=e.items,a=[],o=t.length,s=0;s<o;s++)Ft(t[s].e,a,!0);var l=o>0&&a.length===0&&i!==null;if(l){var c=i.parentNode;Ci(c),c.append(i),n.clear(),se(e,t[0].prev,t[o-1].next)}Oi(a,()=>{for(var u=0;u<o;u++){var r=t[u];l||(n.delete(r.k),se(e,r.prev,r.next)),re(r.e,!l)}})}function Gt(e,t,i,n,a,o=null){var s=e,l={flags:t,items:new Map,first:null},c=(t&ei)!==0;if(c){var u=e;s=T?B(xe(u)):u.appendChild(ae())}T&&ot();var r=null,h=!1,p=new Map,f=Wn(()=>{var $=i();return kt($)?$:$==null?[]:wt($)}),d,v;function _(){ga(v,d,l,p,s,a,t,n,i),o!==null&&(d.length===0?r?jt(r):r=Fe(()=>o(s)):r!==null&&Mt(r,()=>{r=null}))}Ni(()=>{v??=b,d=x(f);var $=d.length;if(h&&$===0)return;h=$===0;let k=!1;if(T){var I=ci(s)===yt;I!==($===0)&&(s=Ct(),B(s),ee(!1),k=!0)}if(T){for(var N=null,P,m=0;m<$;m++){if(E.nodeType===He&&E.data===_t){s=E,k=!0,ee(!1);break}var w=d[m],C=n(w,m);P=Wt(E,l,N,null,w,C,m,a,t,i),l.items.set(C,P),N=P}$>0&&B(Ct())}if(T)$===0&&o&&(r=Fe(()=>o(s)));else if(Si()){var K=new Set,de=L;for(m=0;m<$;m+=1){w=d[m],C=n(w,m);var ne=l.items.get(C)??p.get(C);ne?(t&(tt|it))!==0&&Zi(ne,w,m,t):(P=Wt(null,l,null,null,w,C,m,a,t,i,!0),p.set(C,P)),K.add(C)}for(const[D,g]of l.items)K.has(D)||de.skipped_effects.add(g.e);de.add_callback(_)}else _();k&&ee(!0),x(f)}),T&&(s=E)}function ga(e,t,i,n,a,o,s,l,c){var u=(s&dn)!==0,r=(s&(tt|it))!==0,h=t.length,p=i.items,f=i.first,d=f,v,_=null,$,k=[],I=[],N,P,m,w;if(u)for(w=0;w<h;w+=1)N=t[w],P=l(N,w),m=p.get(P),m!==void 0&&(m.a?.measure(),($??=new Set).add(m));for(w=0;w<h;w+=1){if(N=t[w],P=l(N,w),m=p.get(P),m===void 0){var C=n.get(P);if(C!==void 0){n.delete(P),p.set(P,C);var K=_?_.next:d;se(i,_,C),se(i,C,K),Yt(C,K,a),_=C}else{var de=d?d.e.nodes_start:a;_=Wt(de,i,_,_===null?i.first:_.next,N,P,w,o,s,c)}p.set(P,_),k=[],I=[],d=_.next;continue}if(r&&Zi(m,N,w,s),(m.e.f&Z)!==0&&(jt(m.e),u&&(m.a?.unfix(),($??=new Set).delete(m))),m!==d){if(v!==void 0&&v.has(m)){if(k.length<I.length){var ne=I[0],D;_=ne.prev;var g=k[0],y=k[k.length-1];for(D=0;D<k.length;D+=1)Yt(k[D],ne,a);for(D=0;D<I.length;D+=1)v.delete(I[D]);se(i,g.prev,y.next),se(i,_,g),se(i,y,ne),d=ne,_=y,w-=1,k=[],I=[]}else v.delete(m),Yt(m,d,a),se(i,m.prev,m.next),se(i,m,_===null?i.first:_.next),se(i,_,m),_=m;continue}for(k=[],I=[];d!==null&&d.k!==P;)(d.e.f&Z)===0&&(v??=new Set).add(d),I.push(d),d=d.next;if(d===null)continue;m=d}k.push(m),_=m,d=m.next}if(d!==null||v!==void 0){for(var S=v===void 0?[]:wt(v);d!==null;)(d.e.f&Z)===0&&S.push(d),d=d.next;var Se=S.length;if(Se>0){var gt=(s&ei)!==0&&h===0?a:null;if(u){for(w=0;w<Se;w+=1)S[w].a?.measure();for(w=0;w<Se;w+=1)S[w].a?.fix()}ma(i,S,gt)}}u&&Fn(()=>{if($!==void 0)for(m of $)m.a?.apply()}),e.first=i.first&&i.first.e,e.last=_&&_.e;for(var Jt of n.values())re(Jt.e);n.clear()}function Zi(e,t,i,n){(n&tt)!==0&&Qe(e.v,t),(n&it)!==0?Qe(e.i,i):e.i=i}function Wt(e,t,i,n,a,o,s,l,c,u,r){var h=(c&tt)!==0,p=(c&fn)===0,f=h?p?$i(a,!1,!1):Be(a):a,d=(c&it)===0?s:Be(s),v={i:d,v:f,k:o,a:null,e:null,prev:i,next:n};try{if(e===null){var _=document.createDocumentFragment();_.append(e=ae())}return v.e=Fe(()=>l(e,f,d,u),T),v.e.prev=i&&i.e,v.e.next=n&&n.e,i===null?r||(t.first=v):(i.next=v,i.e.next=v.e),n!==null&&(n.prev=v,n.e.prev=v.e),v}finally{}}function Yt(e,t,i){for(var n=e.next?e.next.e.nodes_start:i,a=t?t.e.nodes_start:i,o=e.e.nodes_start;o!==null&&o!==n;){var s=me(o);a.before(o),o=s}}function se(e,t,i){t===null?e.first=i:(t.next=i,t.e.next=i&&i.e),i!==null&&(i.prev=t,i.e.prev=t&&t.e)}function ya(e,t){ea(()=>{var i=e.getRootNode(),n=i.host?i:i.head??i.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const a=document.createElement("style");a.id=t.hash,a.textContent=t.code,n.appendChild(a)}})}function _a(e,t,i){var n=""+e;return n}function ka(e,t){return e==null?null:String(e)}function wa(e,t,i,n,a,o){var s=e.__className;if(T||s!==i||s===void 0){var l=_a(i);(!T||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return o}function ba(e,t,i,n){var a=e.__style;if(T||a!==t){var o=ka(t);(!T||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return n}const za=Symbol("is custom element"),$a=Symbol("is html");function xa(e,t,i,n){var a=Ta(e);T&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=i)&&(t==="loading"&&(e[$n]=i),i==null?e.removeAttribute(t):typeof i!="string"&&en(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function vt(e,t,i){var n=z,a=b;let o=T;T&&ee(!1),Q(null),oe(null);try{t!=="style"&&(Ht.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?en(e).includes(t):i&&typeof i=="object")?e[t]=i:xa(e,t,i==null?i:String(i))}finally{Q(n),oe(a),o&&ee(!0)}}function Ta(e){return e.__attributes??={[za]:e.nodeName.includes("-"),[$a]:e.namespaceURI===vn}}var Ht=new Map;function en(e){var t=e.getAttribute("is")||e.nodeName,i=Ht.get(t);if(i)return i;Ht.set(t,i=[]);for(var n,a=e,o=Element.prototype;o!==a;){n=gn(a);for(var s in n)n[s].set&&i.push(s);a=ni(a)}return i}function Vt(e,t,i,n){var a=n,o=!0,s=()=>(o&&(o=!1,a=n),a),l;l=e[t],l===void 0&&n!==void 0&&(l=s());var c;c=()=>{var p=e[t];return p===void 0?s():(o=!0,p)};var u=!1,r=Lt(()=>(u=!1,c())),h=b;return(function(p,f){if(arguments.length>0){const d=f?x(r):p;return G(r,d),u=!0,a!==void 0&&(a=d),p}return Ee&&u||(h.f&ke)!==0?r.v:x(r)})}function Ea(e){return new Pa(e)}class Pa{#t;#e;constructor(t){var i=new Map,n=(o,s)=>{var l=$i(s,!1,!1);return i.set(o,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(o,s){return x(i.get(s)??n(s,Reflect.get(o,s)))},has(o,s){return s===zn?!0:(x(i.get(s)??n(s,Reflect.get(o,s))),Reflect.has(o,s))},set(o,s,l){return G(i.get(s)??n(s,l),l),Reflect.set(o,s,l)}});this.#e=(t.hydrate?ha:Ji)(t.component,{target:t.target,anchor:t.anchor,props:a,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&dt(),this.#t=a.$$events;for(const o of Object.keys(this.#e))o==="$set"||o==="$destroy"||o==="$on"||Le(this,o,{get(){return this.#e[o]},set(s){this.#e[o]=s},enumerable:!0});this.#e.$set=o=>{Object.assign(a,o)},this.#e.$destroy=()=>{va(this.#e)}}$set(t){this.#e.$set(t)}$on(t,i){this.#t[t]=this.#t[t]||[];const n=(...a)=>i.call(this,...a);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(a=>a!==n)}}$destroy(){this.#e.$destroy()}}let tn;typeof HTMLElement=="function"&&(tn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){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,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),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 a=>{const o=document.createElement("slot");n!=="default"&&(o.name=n),J(a,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=Ia(this);for(const n of this.$$s)n in i&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const a=this.$$g_p(n.name);a in this.$$d||(this.$$d[a]=mt(a,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=Ea({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Kn(()=>{ia(()=>{this.$$r=!0;for(const n of nt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const a=mt(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1})});for(const n in this.$$l)for(const a of this.$$l[n]){const o=this.$$c.$on(n,a);this.$$l_u.set(a,o)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=mt(e,i,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 nt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function mt(e,t,i,n){const a=i[e]?.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(a){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(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ia(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function Ca(e,t,i,n,a,o){let s=class extends tn{constructor(){super(e,i,a),this.$$p_d=t}static get observedAttributes(){return nt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return nt(t).forEach(l=>{Le(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){c=mt(l,c,t),this.$$d[l]=c;var u=this.$$c;if(u){var r=Ne(u,l)?.get;r?u[l]=c:u.$set({[l]:c})}}})}),n.forEach(l=>{Le(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const Sa={version:"0.61.50"};function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},Bt,nn;function La(){if(nn)return Bt;nn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
|
|
3
3
|
`,u="/",r="*",h="",p="comment",f="declaration";Bt=function(v,_){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];_=_||{};var $=1,k=1;function I(g){var y=g.match(t);y&&($+=y.length);var S=g.lastIndexOf(c);k=~S?g.length-S:k+g.length}function N(){var g={line:$,column:k};return function(y){return y.position=new P(g),C(),y}}function P(g){this.start=g,this.end={line:$,column:k},this.source=_.source}P.prototype.content=v;function m(g){var y=new Error(_.source+":"+$+":"+k+": "+g);if(y.reason=g,y.filename=_.source,y.line=$,y.column=k,y.source=v,!_.silent)throw y}function w(g){var y=g.exec(v);if(y){var S=y[0];return I(S),v=v.slice(S.length),y}}function C(){w(i)}function K(g){var y;for(g=g||[];y=de();)y!==!1&&g.push(y);return g}function de(){var g=N();if(!(u!=v.charAt(0)||r!=v.charAt(1))){for(var y=2;h!=v.charAt(y)&&(r!=v.charAt(y)||u!=v.charAt(y+1));)++y;if(y+=2,h===v.charAt(y-1))return m("End of comment missing");var S=v.slice(2,y-2);return k+=2,I(S),v=v.slice(y),k+=2,g({type:p,comment:S})}}function ne(){var g=N(),y=w(n);if(y){if(de(),!w(a))return m("property missing ':'");var S=w(o),Se=g({type:f,property:d(y[0].replace(e,h)),value:S?d(S[0].replace(e,h)):h});return w(s),Se}}function D(){var g=[];K(g);for(var y;y=ne();)y!==!1&&(g.push(y),K(g));return g}return C(),D()};function d(v){return v?v.replace(l,h):h}return Bt}var an;function Na(){if(an)return Ye;an=1;var e=Ye&&Ye.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.default=i;var t=e(La());function i(n,a){var o=null;if(!n||typeof n!="string")return o;var s=(0,t.default)(n),l=typeof a=="function";return s.forEach(function(c){if(c.type==="declaration"){var u=c.property,r=c.value;l?a(u,r,c):r&&(o=o||{},o[u]=r)}}),o}return Ye}var Da=Na();const rn=Aa(Da);rn.default;var Ce={},on;function qa(){if(on)return Ce;on=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.LanguageTranslator=void 0,Ce.getChildStyleToPass=e,Ce.addComponent=t;function e(n,a){var o,s,l="";try{if(n&&a?.length&&(!((o=Object.keys(n))===null||o===void 0)&&o.length)&&(!((s=a?.filter(function(p){return Object.keys(n).includes(p.name)}))===null||s===void 0)&&s.length))for(var c=function(p){var f=a?.filter(function(d){return d.name===p&&d.defaultValue!==n[p]});f&&(l+="".concat(p,":").concat(n[p],";"))},u=0,r=Object.keys(n);u<r.length;u++){var h=r[u];c(h)}}catch(p){console.error("error getting child style to pass",p)}finally{return l}}function t(n){var a,o=((a=n?.repoName.split("/"))===null||a===void 0?void 0:a[1])||n?.repoName;if(!o)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var s=n?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var l=document.createElement("script");if(l.id=o+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(s),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var c=o.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(o.replace(c+"-",""),"/").concat(s)}document.head.appendChild(l)}catch(u){console.warn(u)}}var i=(function(){function n(a){if(this.lang="",!a?.dictionary)throw new Error("no dictionary provided");this.dictionary=a.dictionary,this.setLang(a?.lang)}return n.prototype.setLang=function(a){a||(a=n.getDefaultLang()),this.lang=a},n.prototype.translateWord=function(a,o){return n.getDictionaryWord(a,this.dictionary,o||this.lang)},n.prototype.translateDate=function(a,o,s){return n.formatDate(a,o,s||this.lang)},n.getDefaultLang=function(){var a,o,s,l,c,u="en";return navigator?.languages&&(!((s=(o=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||s===void 0)&&s.length)&&(u=(c=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||c===void 0?void 0:c.toLowerCase()),u},n.getDictionaryWord=function(a,o,s){var l;if(!a)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(s&&(!((l=o[s])===null||l===void 0)&&l[a]))return o[s][a];var c="",u=n.getDefaultLang();if(!s||u!==s){var r=o?.[u];r?.[a]&&(c=r[a])}return c},n.formatDate=function(a,o,s){if(!a)throw new Error("no date provided");if(typeof a.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(s||n.getDefaultLang(),o);return l.format(a)},n})();return Ce.LanguageTranslator=i,Ce}var Qt=qa();function Xt(e){let t=1;const i=e.chapters.filter(n=>n).sort((n,a)=>n.index-a.index);for(const n of i){n.index=t,t++;let a=1;const o=n.paragraphs.filter(s=>s).sort((s,l)=>s.index-l.index);for(const s of o){s.index=a,a++;let l=1;if(s.list?.length){const c=s.list.filter(u=>u).sort((u,r)=>u.index-r.index);for(const u of c)u.index=l,l++;s.list=c}}n.paragraphs=o}return e.chapters=i,e}const R=[{key:"name",label:"Nome",nosort:!0},{key:"service",label:"Servizio",nosort:!0},{key:"porpose",label:"Scope",nosort:!0},{key:"details",label:"Tipologie e Durata",nosort:!0}];function O(e){return{_id:e.name,name:e.name,service:e.service,porpose:e.purpose,details:(e.storage==="persistent",""+e.durate)}}function Ra(e){const t={id:e.id,title:"INFORMATIVA PRIVACY",int:{key:"it",flag:""},chapters:[{title:"Informazioni relative alla Privacy del sito",index:0,paragraphs:[{key:"i1",content:`In questa sezione sono contenute le informazioni relative alle modalità di gestione di ${e.site.name}, di
|
|
4
4
|
proprietà di ${e.company.name}, in riferimento al trattamento dei dati degli utenti del sito stesso.`,index:0},{key:"i2",content:`La presente informativa ha valore anche ai fini dell'articolo 13 del Regolamento (UE) n. 2016/679, relativo alla protezione delle persone fisiche con
|
|
5
5
|
riguardo al trattamento dei dati personali nonché alla libera circolazione di tali dati, per i soggetti che interagiscono con ${e.site.name}`,index:1},{key:"i3",content:`L'informativa è resa solo per ${e.site.name} e non anche per altri siti web eventualmente consultati dall'utente tramite
|
package/manifest.json
CHANGED