@htmlbricks/hb-terms-doc-templates 0.61.39 → 0.61.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(Kt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const tt=1,it=2,Zt=4,cn=8,un=16,dn=1,fn=2,ei="[",yt="[!",_t="]",Ae={},q=Symbol(),pn="http://www.w3.org/1999/xhtml",ti=!1;var kt=Array.isArray,hn=Array.prototype.indexOf,wt=Array.from,nt=Object.keys,Le=Object.defineProperty,Ne=Object.getOwnPropertyDescriptor,vn=Object.getOwnPropertyDescriptors,mn=Object.prototype,gn=Array.prototype,ii=Object.getPrototypeOf,ni=Object.isExtensible;function ai(e){for(var t=0;t<e.length;t++)e[t]()}function yn(){var e,t,i=new Promise((n,a)=>{e=n,t=a});return{promise:i,resolve:e,reject:t}}const j=2,bt=4,ri=8,De=16,le=32,pe=64,oi=128,H=256,at=512,M=1024,V=2048,he=4096,Z=8192,we=16384,zt=32768,$t=65536,si=1<<17,_n=1<<18,qe=1<<19,kn=1<<20,xt=1<<21,Et=1<<22,be=1<<23,Tt=Symbol("$state"),wn=Symbol("legacy props"),bn=Symbol(""),Pt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},It=3,He=8;function zn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function $n(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function xn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function En(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Tn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function In(){throw new Error("https://svelte.dev/e/hydration_failed")}function Sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Cn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function An(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function ee(e){E=e}let T;function B(e){if(e===null)throw rt(),Ae;return T=e}function ot(){return B(me(T))}function Re(e){if(E){if(me(T)!==null)throw rt(),Ae;T=e}}function St(){for(var e=0,t=T;;){if(t.nodeType===He){var i=t.data;if(i===_t){if(e===0)return t;e-=1}else(i===ei||i===yt)&&(e+=1)}var n=me(t);t.remove(),t=n}}function li(e){if(!e||e.nodeType!==He)throw rt(),Ae;return e.data}function ci(e){return e===this.v}function Ln(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ui(e){return!Ln(e,this.v)}let Nn=!1,te=null;function st(e){te=e}function di(e,t=!1,i){te={p:te,c:null,e:null,s:e,x:null,l:null}}function fi(e){var t=te,i=t.e;if(i!==null){t.e=null;for(var n of i)Ai(n)}return e!==void 0&&(t.x=e),te=t.p,e??{}}function pi(){return!0}const Dn=new WeakMap;function qn(e){var t=b;if(t===null)return z.f|=be,e;if((t.f&zt)===0){if((t.f&oi)===0)throw!t.parent&&e instanceof Error&&hi(e),e;t.b.error(e)}else Ct(e,t)}function Ct(e,t){for(;t!==null;){if((t.f&oi)!==0)try{t.b.error(e);return}catch(i){e=i}t=t.parent}throw e instanceof Error&&hi(e),e}function hi(e){const t=Dn.get(e);t&&(Le(e,"message",{value:t.message}),Le(e,"stack",{value:t.stack}))}let Ve=[],At=[];function vi(){var e=Ve;Ve=[],ai(e)}function Rn(){var e=At;At=[],ai(e)}function On(e){Ve.length===0&&queueMicrotask(vi),Ve.push(e)}function Mn(){Ve.length>0&&vi(),At.length>0&&Rn()}function Fn(){const e=b.b;return e===null&&zn(),e}function Lt(e){var t=j|V,i=z!==null&&(z.f&j)!==0?z:null;return b===null||i!==null&&(i.f&H)!==0?t|=H:b.f|=qe,{ctx:te,deps:null,effects:null,equals:ci,f:t,fn:e,reactions:null,rv:0,v:q,wv:0,parent:i??b,ac:null}}function Un(e,t){let i=b;i===null&&$n();var n=i.b,a=void 0,o=Be(q),s=null,l=!z;return Zn(()=>{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,p=n.is_pending();l&&(n.update_pending_count(1),p||r.increment());const h=(f,d=void 0)=>{s=null,p||r.activate(),d?d!==Pt&&(o.f|=be,Qe(o,d)):((o.f&be)!==0&&(o.f^=be),Qe(o,f)),l&&(n.update_pending_count(-1),p||r.decrement()),yi()};if(a.then(h,f=>h(null,f||"unknown")),r)return()=>{queueMicrotask(()=>r.neuter())}}),new Promise(c=>{function u(r){function p(){r===a?c(o):u(a)}r.then(p,p)}u(a)})}function jn(e){const t=Lt(e);return t.equals=ui,t}function mi(e){var t=e.effects;if(t!==null){e.effects=null;for(var i=0;i<t.length;i+=1)re(t[i])}}function Gn(e){for(var t=e.parent;t!==null;){if((t.f&j)===0)return t;t=t.parent}return null}function Nt(e){var t,i=b;oe(Gn(e));try{mi(e),t=Yi(e)}finally{oe(i)}return t}function gi(e){var t=Nt(e);if(e.equals(t)||(e.v=t,e.wv=Gi()),!Pe){var i=(ge||(e.f&H)!==0)&&e.deps!==null?he:M;Y(e,i)}}function Wn(e,t,i){const n=Lt;if(t.length===0){i(e.map(n));return}var a=L,o=b,s=Yn(),l=Fn();Promise.all(t.map(c=>Un(c))).then(c=>{a?.activate(),s();try{i([...e.map(n),...c])}catch(u){(o.f&we)===0&&Ct(u,o)}a?.deactivate(),yi()}).catch(c=>{l.error(c)})}function Yn(){var e=b,t=z,i=te,n=L;return function(){oe(e),Q(t),st(i),n?.activate()}}function yi(){oe(null),Q(null),st(null)}const Dt=new Set;let L=null,_i=new Set,lt=[];function ki(){const e=lt.shift();lt.length>0&&queueMicrotask(ki),e()}let ze=[],ct=null,qt=!1,ut=!1;class $e{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){ze=[];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,bi(i),bi(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)je(a);for(const a of this.#o)je(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&Et)!==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),je(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 _i)if(_i.delete(t),t(),L!==null)break}neuter(){this.#u=!0}flush(){ze.length>0?wi():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??=yn()).promise}static ensure(){if(L===null){const t=L=new $e;Dt.add(L),ut||$e.enqueue(()=>{L===t&&t.flush()})}return L}static enqueue(t){lt.length===0&&queueMicrotask(ki),lt.unshift(t)}}function dt(e){var t=ut;ut=!0;try{for(var i;;){if(Mn(),ze.length===0&&(L?.flush(),ze.length===0))return ct=null,i;wi()}}finally{ut=t}}function wi(){var e=Ue;qt=!0;try{var t=0;for(Mi(!0);ze.length>0;){var i=$e.ensure();if(t++>1e3){var n,a;Hn()}i.process(ze),ve.clear()}}finally{qt=!1,Mi(e),ct=null}}function Hn(){try{Pn()}catch(e){Ct(e,ct)}}let xe=null;function bi(e){var t=e.length;if(t!==0){for(var i=0;i<t;){var n=e[i++];if((n.f&(we|Z))===0&&ft(n)&&(xe=[],je(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?qi(n):n.fn=null),xe?.length>0)){ve.clear();for(const a of xe)je(a);xe=[]}}xe=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}}ze.push(t)}const ve=new Map;function Be(e,t){var i={f:0,v:e,reactions:null,equals:ci,rv:0,wv:0};return i}function ie(e,t){const i=Be(e);return na(i),i}function zi(e,t=!1,i=!0){const n=Be(e);return t||(n.equals=ui),n}function G(e,t,i=!1){z!==null&&(!Ie||(z.f&si)!==0)&&pi()&&(z.f&(j|De|Et|si))!==0&&!ue?.includes(e)&&An();let n=i?Me(t):t;return Qe(e,n)}function Qe(e,t){if(!e.equals(t)){var i=e.v;Pe?ve.set(e,t):ve.set(e,i),e.v=t;var n=$e.ensure();n.capture(e,i),(e.f&j)!==0&&((e.f&V)!==0&&Nt(e),Y(e,(e.f&H)===0?M:he)),e.wv=Gi(),$i(e,V),b!==null&&(b.f&M)!==0&&(b.f&(le|pe))===0&&(X===null?aa([e]):X.push(e))}return t}function Rt(e){G(e,e.v+1)}function $i(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&j)!==0?$i(o,he):l&&((s&De)!==0&&xe!==null&&xe.push(o),Oe(o))}}function Me(e){if(typeof e!="object"||e===null||Tt in e)return e;const t=ii(e);if(t!==mn&&t!==gn)return e;var i=new Map,n=kt(e),a=ie(0),o=Se,s=l=>{if(Se===o)return l();var c=z,u=Se;Q(null),ji(o);var r=l();return Q(c),ji(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)&&Sn();var r=i.get(c);return r===void 0?r=s(()=>{var p=ie(u.value);return i.set(c,p),p}):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===Tt)return e;var r=i.get(c),p=c in l;if(r===void 0&&(!p||Ne(l,c)?.writable)&&(r=s(()=>{var f=Me(p?l[c]:q),d=ie(f);return d}),i.set(c,r)),r!==void 0){var h=x(r);return h===q?void 0:h}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 p=i.get(c),h=p?.v;if(p!==void 0&&h!==q)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(l,c){if(c===Tt)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 h=r?Me(l[c]):q,f=ie(h);return f}),i.set(c,u));var p=x(u);if(p===q)return!1}return r},set(l,c,u,r){var p=i.get(c),h=c in l;if(n&&c==="length")for(var f=u;f<p.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(p===void 0)(!h||Ne(l,c)?.writable)&&(p=s(()=>ie(void 0)),G(p,Me(u)),i.set(c,p));else{h=p.v!==q;var v=s(()=>Me(u));G(p,v)}var _=Reflect.getOwnPropertyDescriptor(l,c);if(_?.set&&_.set.call(r,u),!h){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(p=>{var h=i.get(p);return h===void 0||h.v!==q});for(var[u,r]of i)r.v!==q&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Cn()}})}var xi,Ei,Ti,Pi;function Ot(){if(xi===void 0){xi=window,Ei=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,i=Text.prototype;Ti=Ne(t,"firstChild").get,Pi=Ne(t,"nextSibling").get,ni(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ni(i)&&(i.__t=void 0)}}function ae(e=""){return document.createTextNode(e)}function Ee(e){return Ti.call(e)}function me(e){return Pi.call(e)}function Xe(e,t){if(!E)return Ee(e);var i=Ee(T);if(i===null)i=T.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(!E){var i=Ee(e);return i instanceof Comment&&i.data===""?me(i):i}return T}function Ke(e,t=1,i=!1){let n=E?T:e;for(var a;t--;)a=n,n=me(n);if(!E)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 Ii(e){e.textContent=""}function Si(){return!1}function Ci(e){var t=z,i=b;Q(null),oe(null);try{return e()}finally{Q(t),oe(i)}}function Vn(e){b===null&&z===null&&Tn(),z!==null&&(z.f&H)!==0&&b===null&&En(),Pe&&xn()}function Bn(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{je(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&&Bn(s,a),z!==null&&(z.f&j)!==0&&(e&pe)===0)){var l=z;(l.effects??=[]).push(s)}}return o}function Qn(e){Vn();var t=b.f,i=!z&&(t&le)!==0&&(t&zt)===0;if(i){var n=te;(n.e??=[]).push(e)}else return Ai(e)}function Ai(e){return ce(bt|kn,e,!1)}function Xn(e){$e.ensure();const t=ce(pe|qe,e,!0);return()=>{re(t)}}function Jn(e){$e.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 Kn(e){return ce(bt,e,!1)}function Zn(e){return ce(Et|qe,e,!0)}function ea(e,t=0){return ce(ri|t,e,!0)}function Te(e,t=[],i=[]){Wn(t,i,n=>{ce(ri,()=>e(...n.map(x)),!0)})}function Li(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 Ni(e){var t=e.teardown;if(t!==null){const i=Pe,n=z;Fi(!0),Q(null);try{t.call(null)}finally{Fi(i),Q(n)}}}function Di(e,t=!1){var i=e.first;for(e.first=e.last=null;i!==null;){const a=i.ac;a!==null&&Ci(()=>{a.abort(Pt)});var n=i.next;(i.f&pe)!==0?i.parent=null:re(i,t),i=n}}function ta(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&_n)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ia(e.nodes_start,e.nodes_end),i=!0),Di(e,t&&!i),pt(e,0),Y(e,we);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Ni(e);var a=e.parent;a!==null&&a.first!==null&&qi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ia(e,t){for(;e!==null;){var i=e===t?null:me(e);e.remove(),e=i}}function qi(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),Ri(i,()=>{re(e),t&&t()})}function Ri(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 Ut(e){Oi(e,!0)}function Oi(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;Oi(i,a?t:!1),i=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let Ue=!1;function Mi(e){Ue=e}let Pe=!1;function Fi(e){Pe=e}let z=null,Ie=!1;function Q(e){z=e}let b=null;function oe(e){b=e}let ue=null;function na(e){z!==null&&(ue===null?ue=[e]:ue.push(e))}let F=null,W=0,X=null;function aa(e){X=e}let Ui=1,Ze=0,Se=Ze;function ji(e){Se=e}let ge=!1;function Gi(){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&we)===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)&&gi(o),o.wv>e.wv)return!0}(!n||b!==null&&!ge)&&Y(e,M)}return!1}function Wi(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&j)!==0?Wi(o,t,!1):t===o&&(i?Y(o,V):(o.f&M)!==0&&Y(o,he),Oe(o))}}function Yi(e){var t=F,i=W,n=X,a=z,o=ge,s=ue,l=te,c=Ie,u=Se,r=e.f;F=null,W=0,X=null,ge=(r&H)!==0&&(Ie||!Ue||z===null),z=(r&(le|pe))===0?e:null,ue=null,st(e.ctx),Ie=!1,Se=++Ze,e.ac!==null&&(Ci(()=>{e.ac.abort(Pt)}),e.ac=null);try{e.f|=xt;var p=e.fn,h=p(),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&j)!==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(pi()&&X!==null&&!Ie&&f!==null&&(e.f&(j|he|V))===0)for(d=0;d<X.length;d++)Wi(X[d],e);return a!==null&&a!==e&&(Ze++,X!==null&&(n===null?n=X:n.push(...X))),(e.f&be)!==0&&(e.f^=be),h}catch(v){return qn(v)}finally{e.f^=xt,F=t,W=i,X=n,z=a,ge=o,ue=s,st(l),Ie=c,Se=u}}function ra(e,t){let i=t.reactions;if(i!==null){var n=hn.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&j)!==0&&(F===null||!F.includes(t))&&(Y(t,he),(t.f&(H|at))===0&&(t.f^=at),mi(t),pt(t,0))}function pt(e,t){var i=e.deps;if(i!==null)for(var n=t;n<i.length;n++)ra(e,i[n])}function je(e){var t=e.f;if((t&we)===0){Y(e,M);var i=b,n=Ue;b=e,Ue=!0;try{(t&De)!==0?ta(e):Di(e),Ni(e);var a=Yi(e);e.teardown=typeof a=="function"?a:null,e.wv=Ui;var o;ti&&Nn&&(e.f&V)!==0&&e.deps}finally{Ue=n,b=i}}}function x(e){var t=e.f,i=(t&j)!==0;if(z!==null&&!Ie){var n=b!==null&&(b.f&we)!==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(Pe){if(ve.has(e))return ve.get(e);if(i){s=e;var c=s.v;return((s.f&M)===0&&s.reactions!==null||Hi(s))&&(c=Nt(s)),ve.set(s,c),c}}else i&&(s=e,ft(s)&&gi(s));if((e.f&be)!==0)throw e.v;return e.v}function Hi(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&j)!==0&&Hi(t))return!0;return!1}const oa=-7169;function Y(e,t){e.f=e.f&oa|t}const sa=new Set,Vi=new Set;let Bi=null;function ht(e){var t=this,i=t.ownerDocument,n=e.type,a=e.composedPath?.()||[],o=a[0]||e.target;Bi=e;var s=0,l=Bi===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,p=b;Q(null),oe(null);try{for(var h,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){h?f.push(k):h=k}if(e.cancelBubble||d===t||d===null)break;o=d}if(h){for(let k of f)queueMicrotask(()=>{throw k});throw h}}finally{e.__root=t,delete e.currentTarget,Q(r),oe(p)}}}function la(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&dn)!==0,n=(t&fn)!==0,a,o=!e.startsWith("<!>");return()=>{if(E)return ye(T,null),T;a===void 0&&(a=la(o?e:"<!>"+e),i||(a=Ee(a)));var s=n||Ei?document.importNode(a,!0):a.cloneNode(!0);if(i){var l=Ee(s),c=s.lastChild;ye(l,c)}else ye(s,s);return s}}function ca(e=""){if(!E){var t=ae(e+"");return ye(t,t),t}var i=T;return i.nodeType!==It&&(i.before(i=ae()),B(i)),ye(i,i),i}function Qi(){if(E)return ye(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(""),i=ae();return e.append(t,i),ye(t,i),e}function J(e,t){if(E){b.nodes_end=T,ot();return}e!==null&&e.before(t)}const ua=["touchstart","touchmove"];function da(e){return ua.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 Xi(e,t){return Ji(e,t)}function fa(e,t){Ot(),t.intro=t.intro??!1;const i=t.target,n=E,a=T;try{for(var o=Ee(i);o&&(o.nodeType!==He||o.data!==ei);)o=me(o);if(!o)throw Ae;ee(!0),B(o),ot();const s=Ji(e,{...t,anchor:o});if(T===null||T.nodeType!==He||T.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&&In(),Ot(),Ii(i),ee(!1),Xi(e,t)}finally{ee(n),B(a)}}const Ge=new Map;function Ji(e,{target:t,anchor:i,props:n={},events:a,context:o,intro:s=!0}){Ot();var l=new Set,c=p=>{for(var h=0;h<p.length;h++){var f=p[h];if(!l.has(f)){l.add(f);var d=da(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(sa)),Vi.add(c);var u=void 0,r=Jn(()=>{var p=i??t.appendChild(ae());return Fe(()=>{if(o){di({});var h=te;h.c=o}a&&(n.$$events=a),E&&ye(p,null),u=e(p,n)||{},E&&(b.nodes_end=T),o&&fi()}),()=>{for(var h of l){t.removeEventListener(h,ht);var f=Ge.get(h);--f===0?(document.removeEventListener(h,ht),Ge.delete(h)):Ge.set(h,f)}Vi.delete(c),p!==i&&p.parentNode?.removeChild(p)}});return jt.set(u,r),u}let jt=new WeakMap;function pa(e,t){const i=jt.get(e);return i?(jt.delete(e),i(t)):Promise.resolve()}function We(e,t,i=!1){E&&ot();var n=e,a=null,o=null,s=q,l=i?$t:0,c=!1;const u=(f,d=!0)=>{c=!0,h(d,f)};var r=null;function p(){r!==null&&(r.lastChild.remove(),n.before(r),r=null);var f=s?a:o,d=s?o:a;f&&Ut(f),d&&Mt(d,()=>{s?o=null:a=null})}const h=(f,d)=>{if(s===(s=f))return;let v=!1;if(E){const P=li(n)===yt;!!s===P&&(n=St(),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(p)}else p();v&&ee(!0)};Li(()=>{c=!1,t(u),c||h(null,null)},l),E&&(n=T)}function ha(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;Ii(c),c.append(i),n.clear(),se(e,t[0].prev,t[o-1].next)}Ri(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&Zt)!==0;if(c){var u=e;s=E?B(Ee(u)):u.appendChild(ae())}E&&ot();var r=null,p=!1,h=new Map,f=jn(()=>{var $=i();return kt($)?$:$==null?[]:wt($)}),d,v;function _(){va(v,d,l,h,s,a,t,n,i),o!==null&&(d.length===0?r?Ut(r):r=Fe(()=>o(s)):r!==null&&Mt(r,()=>{r=null}))}Li(()=>{v??=b,d=x(f);var $=d.length;if(p&&$===0)return;p=$===0;let k=!1;if(E){var I=li(s)===yt;I!==($===0)&&(s=St(),B(s),ee(!1),k=!0)}if(E){for(var N=null,P,m=0;m<$;m++){if(T.nodeType===He&&T.data===_t){s=T,k=!0,ee(!1);break}var w=d[m],S=n(w,m);P=Wt(T,l,N,null,w,S,m,a,t,i),l.items.set(S,P),N=P}$>0&&B(St())}if(E)$===0&&o&&(r=Fe(()=>o(s)));else if(Si()){var K=new Set,de=L;for(m=0;m<$;m+=1){w=d[m],S=n(w,m);var ne=l.items.get(S)??h.get(S);ne?(t&(tt|it))!==0&&Ki(ne,w,m,t):(P=Wt(null,l,null,null,w,S,m,a,t,i,!0),h.set(S,P)),K.add(S)}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)}),E&&(s=T)}function va(e,t,i,n,a,o,s,l,c){var u=(s&cn)!==0,r=(s&(tt|it))!==0,p=t.length,h=i.items,f=i.first,d=f,v,_=null,$,k=[],I=[],N,P,m,w;if(u)for(w=0;w<p;w+=1)N=t[w],P=l(N,w),m=h.get(P),m!==void 0&&(m.a?.measure(),($??=new Set).add(m));for(w=0;w<p;w+=1){if(N=t[w],P=l(N,w),m=h.get(P),m===void 0){var S=n.get(P);if(S!==void 0){n.delete(P),h.set(P,S);var K=_?_.next:d;se(i,_,S),se(i,S,K),Yt(S,K,a),_=S}else{var de=d?d.e.nodes_start:a;_=Wt(de,i,_,_===null?i.first:_.next,N,P,w,o,s,c)}h.set(P,_),k=[],I=[],d=_.next;continue}if(r&&Ki(m,N,w,s),(m.e.f&Z)!==0&&(Ut(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 C=v===void 0?[]:wt(v);d!==null;)(d.e.f&Z)===0&&C.push(d),d=d.next;var Ce=C.length;if(Ce>0){var gt=(s&Zt)!==0&&p===0?a:null;if(u){for(w=0;w<Ce;w+=1)C[w].a?.measure();for(w=0;w<Ce;w+=1)C[w].a?.fix()}ha(i,C,gt)}}u&&On(()=>{if($!==void 0)for(m of $)m.a?.apply()}),e.first=i.first&&i.first.e,e.last=_&&_.e;for(var Xt of n.values())re(Xt.e);n.clear()}function Ki(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 p=(c&tt)!==0,h=(c&un)===0,f=p?h?zi(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),E),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 ma(e,t){Kn(()=>{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 ga(e,t,i){var n=""+e;return n}function ya(e,t){return e==null?null:String(e)}function _a(e,t,i,n,a,o){var s=e.__className;if(E||s!==i||s===void 0){var l=ga(i);(!E||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return o}function ka(e,t,i,n){var a=e.__style;if(E||a!==t){var o=ya(t);(!E||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return n}const wa=Symbol("is custom element"),ba=Symbol("is html");function za(e,t,i,n){var a=$a(e);E&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=i)&&(t==="loading"&&(e[bn]=i),i==null?e.removeAttribute(t):typeof i!="string"&&Zi(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function vt(e,t,i){var n=z,a=b;let o=E;E&&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())?Zi(e).includes(t):i&&typeof i=="object")?e[t]=i:za(e,t,i==null?i:String(i))}finally{Q(n),oe(a),o&&ee(!0)}}function $a(e){return e.__attributes??={[wa]:e.nodeName.includes("-"),[ba]:e.namespaceURI===pn}}var Ht=new Map;function Zi(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=vn(a);for(var s in n)n[s].set&&i.push(s);a=ii(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 h=e[t];return h===void 0?s():(o=!0,h)};var u=!1,r=Lt(()=>(u=!1,c())),p=b;return(function(h,f){if(arguments.length>0){const d=f?x(r):h;return G(r,d),u=!0,a!==void 0&&(a=d),h}return Pe&&u||(p.f&we)!==0?r.v:x(r)})}function xa(e){return new Ea(e)}class Ea{#t;#e;constructor(t){var i=new Map,n=(o,s)=>{var l=zi(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===wn?!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?fa:Xi)(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=()=>{pa(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 en;typeof HTMLElement=="function"&&(en=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=Ta(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=xa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Xn(()=>{ea(()=>{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 Ta(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function Pa(e,t,i,n,a,o){let s=class extends en{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 Ia={version:"0.61.39"};function Sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},Bt,tn;function Ca(){if(tn)return Bt;tn=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&&In(),Ot(),Ii(i),ee(!1),Xi(e,t)}finally{ee(n),B(a)}}const Ge=new Map;function Ji(e,{target:t,anchor:i,props:n={},events:a,context:o,intro:s=!0}){Ot();var l=new Set,c=p=>{for(var h=0;h<p.length;h++){var f=p[h];if(!l.has(f)){l.add(f);var d=da(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(sa)),Vi.add(c);var u=void 0,r=Jn(()=>{var p=i??t.appendChild(ae());return Fe(()=>{if(o){di({});var h=te;h.c=o}a&&(n.$$events=a),E&&ye(p,null),u=e(p,n)||{},E&&(b.nodes_end=T),o&&fi()}),()=>{for(var h of l){t.removeEventListener(h,ht);var f=Ge.get(h);--f===0?(document.removeEventListener(h,ht),Ge.delete(h)):Ge.set(h,f)}Vi.delete(c),p!==i&&p.parentNode?.removeChild(p)}});return jt.set(u,r),u}let jt=new WeakMap;function pa(e,t){const i=jt.get(e);return i?(jt.delete(e),i(t)):Promise.resolve()}function We(e,t,i=!1){E&&ot();var n=e,a=null,o=null,s=q,l=i?$t:0,c=!1;const u=(f,d=!0)=>{c=!0,h(d,f)};var r=null;function p(){r!==null&&(r.lastChild.remove(),n.before(r),r=null);var f=s?a:o,d=s?o:a;f&&Ut(f),d&&Mt(d,()=>{s?o=null:a=null})}const h=(f,d)=>{if(s===(s=f))return;let v=!1;if(E){const P=li(n)===yt;!!s===P&&(n=St(),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(p)}else p();v&&ee(!0)};Li(()=>{c=!1,t(u),c||h(null,null)},l),E&&(n=T)}function ha(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;Ii(c),c.append(i),n.clear(),se(e,t[0].prev,t[o-1].next)}Ri(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&Zt)!==0;if(c){var u=e;s=E?B(Ee(u)):u.appendChild(ae())}E&&ot();var r=null,p=!1,h=new Map,f=jn(()=>{var $=i();return kt($)?$:$==null?[]:wt($)}),d,v;function _(){va(v,d,l,h,s,a,t,n,i),o!==null&&(d.length===0?r?Ut(r):r=Fe(()=>o(s)):r!==null&&Mt(r,()=>{r=null}))}Li(()=>{v??=b,d=x(f);var $=d.length;if(p&&$===0)return;p=$===0;let k=!1;if(E){var I=li(s)===yt;I!==($===0)&&(s=St(),B(s),ee(!1),k=!0)}if(E){for(var N=null,P,m=0;m<$;m++){if(T.nodeType===He&&T.data===_t){s=T,k=!0,ee(!1);break}var w=d[m],S=n(w,m);P=Wt(T,l,N,null,w,S,m,a,t,i),l.items.set(S,P),N=P}$>0&&B(St())}if(E)$===0&&o&&(r=Fe(()=>o(s)));else if(Si()){var K=new Set,de=L;for(m=0;m<$;m+=1){w=d[m],S=n(w,m);var ne=l.items.get(S)??h.get(S);ne?(t&(tt|it))!==0&&Ki(ne,w,m,t):(P=Wt(null,l,null,null,w,S,m,a,t,i,!0),h.set(S,P)),K.add(S)}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)}),E&&(s=T)}function va(e,t,i,n,a,o,s,l,c){var u=(s&cn)!==0,r=(s&(tt|it))!==0,p=t.length,h=i.items,f=i.first,d=f,v,_=null,$,k=[],I=[],N,P,m,w;if(u)for(w=0;w<p;w+=1)N=t[w],P=l(N,w),m=h.get(P),m!==void 0&&(m.a?.measure(),($??=new Set).add(m));for(w=0;w<p;w+=1){if(N=t[w],P=l(N,w),m=h.get(P),m===void 0){var S=n.get(P);if(S!==void 0){n.delete(P),h.set(P,S);var K=_?_.next:d;se(i,_,S),se(i,S,K),Yt(S,K,a),_=S}else{var de=d?d.e.nodes_start:a;_=Wt(de,i,_,_===null?i.first:_.next,N,P,w,o,s,c)}h.set(P,_),k=[],I=[],d=_.next;continue}if(r&&Ki(m,N,w,s),(m.e.f&Z)!==0&&(Ut(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 C=v===void 0?[]:wt(v);d!==null;)(d.e.f&Z)===0&&C.push(d),d=d.next;var Ce=C.length;if(Ce>0){var gt=(s&Zt)!==0&&p===0?a:null;if(u){for(w=0;w<Ce;w+=1)C[w].a?.measure();for(w=0;w<Ce;w+=1)C[w].a?.fix()}ha(i,C,gt)}}u&&On(()=>{if($!==void 0)for(m of $)m.a?.apply()}),e.first=i.first&&i.first.e,e.last=_&&_.e;for(var Xt of n.values())re(Xt.e);n.clear()}function Ki(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 p=(c&tt)!==0,h=(c&un)===0,f=p?h?zi(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),E),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 ma(e,t){Kn(()=>{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 ga(e,t,i){var n=""+e;return n}function ya(e,t){return e==null?null:String(e)}function _a(e,t,i,n,a,o){var s=e.__className;if(E||s!==i||s===void 0){var l=ga(i);(!E||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return o}function ka(e,t,i,n){var a=e.__style;if(E||a!==t){var o=ya(t);(!E||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return n}const wa=Symbol("is custom element"),ba=Symbol("is html");function za(e,t,i,n){var a=$a(e);E&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=i)&&(t==="loading"&&(e[bn]=i),i==null?e.removeAttribute(t):typeof i!="string"&&Zi(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function vt(e,t,i){var n=z,a=b;let o=E;E&&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())?Zi(e).includes(t):i&&typeof i=="object")?e[t]=i:za(e,t,i==null?i:String(i))}finally{Q(n),oe(a),o&&ee(!0)}}function $a(e){return e.__attributes??={[wa]:e.nodeName.includes("-"),[ba]:e.namespaceURI===pn}}var Ht=new Map;function Zi(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=vn(a);for(var s in n)n[s].set&&i.push(s);a=ii(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 h=e[t];return h===void 0?s():(o=!0,h)};var u=!1,r=Lt(()=>(u=!1,c())),p=b;return(function(h,f){if(arguments.length>0){const d=f?x(r):h;return G(r,d),u=!0,a!==void 0&&(a=d),h}return Pe&&u||(p.f&we)!==0?r.v:x(r)})}function xa(e){return new Ea(e)}class Ea{#t;#e;constructor(t){var i=new Map,n=(o,s)=>{var l=zi(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===wn?!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?fa:Xi)(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=()=>{pa(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 en;typeof HTMLElement=="function"&&(en=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=Ta(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=xa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Xn(()=>{ea(()=>{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 Ta(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function Pa(e,t,i,n,a,o){let s=class extends en{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 Ia={version:"0.61.40"};function Sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},Bt,tn;function Ca(){if(tn)return Bt;tn=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="*",p="",h="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 C=g.lastIndexOf(c);k=~C?g.length-C:k+g.length}function N(){var g={line:$,column:k};return function(y){return y.position=new P(g),S(),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 C=y[0];return I(C),v=v.slice(C.length),y}}function S(){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;p!=v.charAt(y)&&(r!=v.charAt(y)||u!=v.charAt(y+1));)++y;if(y+=2,p===v.charAt(y-1))return m("End of comment missing");var C=v.slice(2,y-2);return k+=2,I(C),v=v.slice(y),k+=2,g({type:h,comment:C})}}function ne(){var g=N(),y=w(n);if(y){if(de(),!w(a))return m("property missing ':'");var C=w(o),Ce=g({type:f,property:d(y[0].replace(e,p)),value:C?d(C[0].replace(e,p)):p});return w(s),Ce}}function D(){var g=[];K(g);for(var y;y=ne();)y!==!1&&(g.push(y),K(g));return g}return S(),D()};function d(v){return v?v.replace(l,p):p}return Bt}var nn;function Aa(){if(nn)return Ye;nn=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(Ca());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 La=Aa();const an=Sa(La);an.default;function Na(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 i=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}/${i}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const a=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(a+"-","")}/${i}`}document.head.appendChild(n)}catch(n){console.warn(n)}}class ke{dictionary;lang="";constructor(t){if(!t?.dictionary)throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t?.lang)}setLang(t){t||(t=ke.getDefaultLang()),this.lang=t}translateWord(t,i){return ke.getDictionaryWord(t,this.dictionary,i||this.lang)}translateDate(t,i,n){return ke.formatDate(t,i,n||this.lang)}static getDefaultLang(){let t="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(t=navigator.languages[0]?.split("-")[0]?.toLowerCase()),t}static getDictionaryWord(t,i,n){if(!t)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(n&&i[n]?.[t])return i[n][t];let a="";const o=ke.getDefaultLang();if(!n||o!==n){const s=i?.[o];s?.[t]&&(a=s[t])}return a}static formatDate(t,i,n){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(n||ke.getDefaultLang(),i).format(t)}}function Qt(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 Da(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
@@ -690,5 +690,5 @@
690
690
  "size": {},
691
691
  "iifePath": "main.iife.js",
692
692
  "repoName": "@htmlbricks/hb-terms-doc-templates",
693
- "version": "0.61.39"
693
+ "version": "0.61.40"
694
694
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-terms-doc-templates",
3
- "version": "0.61.39",
3
+ "version": "0.61.40",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [