@htmlbricks/hb-terms-doc-templates 0.61.57 → 0.61.58

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(ti){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const lt=1,ct=2,ii=4,fn=8,hn=16,pn=1,vn=2,ni="[",ut="[!",It="]",Ne={},I=Symbol(),mn="http://www.w3.org/1999/xhtml",ai=!1;var ri=Array.isArray,gn=Array.prototype.indexOf,St=Array.from,dt=Object.keys,ft=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,yn=Object.getOwnPropertyDescriptors,_n=Object.prototype,kn=Array.prototype,oi=Object.getPrototypeOf,si=Object.isExtensible;function wn(e){for(var t=0;t<e.length;t++)e[t]()}function li(){var e,t,i=new Promise((n,a)=>{e=n,t=a});return{promise:i,resolve:e,reject:t}}const S=2,ht=4,At=8,de=16,fe=32,_e=64,pt=128,ie=512,A=1024,G=2048,he=4096,W=8192,ke=16384,Lt=32768,Oe=65536,ci=1<<17,ui=1<<18,Te=1<<19,bn=1<<20,Ke=32768,qt=1<<21,Dt=1<<22,we=1<<23,Nt=Symbol("$state"),zn=Symbol("legacy props"),$n=Symbol(""),Me=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},vt=3,Fe=8;function xn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Tn(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 Pn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Cn(){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 An(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function qn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function mt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function ne(e){m=e}let b;function M(e){if(e===null)throw mt(),Ne;return b=e}function gt(){return M(se(b))}function Ue(e){if(m){if(se(b)!==null)throw mt(),Ne;b=e}}function Nn(e=1){if(m){for(var t=e,i=b;t--;)i=se(i);b=i}}function yt(e=!0){for(var t=0,i=b;;){if(i.nodeType===Fe){var n=i.data;if(n===It){if(t===0)return i;t-=1}else(n===ni||n===ut)&&(t+=1)}var a=se(i);e&&i.remove(),i=a}}function di(e){if(!e||e.nodeType!==Fe)throw mt(),Ne;return e.data}function fi(e){return e===this.v}function Rn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function hi(e){return!Rn(e,this.v)}let On=!1,J=null;function je(e){J=e}function pi(e,t=!1,i){J={p:J,i:!1,c:null,e:null,s:e,x:null,l:null}}function vi(e){var t=J,i=t.e;if(i!==null){t.e=null;for(var n of i)Di(n)}return e!==void 0&&(t.x=e),t.i=!0,J=t.p,e??{}}function mi(){return!0}let Ee=[];function gi(){var e=Ee;Ee=[],wn(e)}function _t(e){if(Ee.length===0&&!Xe){var t=Ee;queueMicrotask(()=>{t===Ee&&gi()})}Ee.push(e)}function Mn(){for(;Ee.length>0;)gi()}function yi(e){var t=k;if(t===null)return _.f|=we,e;if((t.f&Lt)===0){if((t.f&pt)===0)throw e;t.b.error(e)}else Be(e,t)}function Be(e,t){for(;t!==null;){if((t.f&pt)!==0)try{t.b.error(e);return}catch(i){e=i}t=t.parent}throw e}const kt=new Set;let T=null,Y=null,oe=[],wt=null,Rt=!1,Xe=!1;class ae{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#i=0;#n=0;#l=null;#o=[];#s=[];skipped_effects=new Set;is_fork=!1;process(t){oe=[],this.apply();var i={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,i);this.is_fork||this.#c(),this.#n>0||this.is_fork?(this.#r(i.effects),this.#r(i.render_effects),this.#r(i.block_effects)):(T=null,ki(i.render_effects),ki(i.effects),this.#l?.resolve()),Y=null}#a(t,i){t.f^=A;for(var n=t.first;n!==null;){var a=n.f,r=(a&(fe|_e))!==0,o=r&&(a&A)!==0,l=o||(a&W)!==0||this.skipped_effects.has(n);if((n.f&pt)!==0&&n.b?.is_pending()&&(i={parent:i,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){r?n.f^=A:(a&ht)!==0?i.effects.push(n):at(n)&&((n.f&de)!==0&&i.block_effects.push(n),rt(n));var c=n.first;if(c!==null){n=c;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)u===i.effect&&(this.#r(i.effects),this.#r(i.render_effects),this.#r(i.block_effects),i=i.parent),n=u.next,u=u.parent}}#r(t){for(const i of t)((i.f&G)!==0?this.#o:this.#s).push(i),D(i,A)}capture(t,i){this.previous.has(t)||this.previous.set(t,i),(t.f&we)===0&&(this.current.set(t,t.v),Y?.set(t,t.v))}activate(){T=this,this.apply()}deactivate(){T=null,Y=null}flush(){if(this.activate(),oe.length>0){if(_i(),T!==null&&T!==this)return}else this.#i===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#c(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#i===0&&this.#u()}#u(){if(kt.size>1){this.previous.clear();var t=Y,i=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of kt){if(a===this){i=!1;continue}const r=[];for(const[l,c]of this.current){if(a.current.has(l))if(i&&c!==a.current.get(l))a.current.set(l,c);else continue;r.push(l)}if(r.length===0)continue;const o=[...a.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){const l=new Set,c=new Map;for(const u of r)wi(u,o,l,c);if(oe.length>0){T=a,a.apply();for(const u of oe)a.#a(u,n);oe=[],a.deactivate()}}}T=null,Y=t}this.committed=!0,kt.delete(this)}increment(t){this.#i+=1,t&&(this.#n+=1)}decrement(t){this.#i-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#o)D(t,G),Pe(t);for(const t of this.#s)D(t,he),Pe(t);this.#o=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=li()).promise}static ensure(){if(T===null){const t=T=new ae;kt.add(T),Xe||ae.enqueue(()=>{T===t&&t.flush()})}return T}static enqueue(t){_t(t)}apply(){}}function bt(e){var t=Xe;Xe=!0;try{for(var i;;){if(Mn(),oe.length===0&&(T?.flush(),oe.length===0))return wt=null,i;_i()}}finally{Xe=t}}function _i(){var e=Ae;Rt=!0;try{var t=0;for(Bi(!0);oe.length>0;){var i=ae.ensure();if(t++>1e3){var n,a;Fn()}i.process(oe),be.clear()}}finally{Rt=!1,Bi(e),wt=null}}function Fn(){try{Cn()}catch(e){Be(e,wt)}}let pe=null;function ki(e){var t=e.length;if(t!==0){for(var i=0;i<t;){var n=e[i++];if((n.f&(ke|W))===0&&at(n)&&(pe=new Set,rt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Mi(n):n.fn=null),pe?.size>0)){be.clear();for(const a of pe){if((a.f&(ke|W))!==0)continue;const r=[a];let o=a.parent;for(;o!==null;)pe.has(o)&&(pe.delete(o),r.push(o)),o=o.parent;for(let l=r.length-1;l>=0;l--){const c=r[l];(c.f&(ke|W))===0&&rt(c)}}pe.clear()}}pe=null}}function wi(e,t,i,n){if(!i.has(e)&&(i.add(e),e.reactions!==null))for(const a of e.reactions){const r=a.f;(r&S)!==0?wi(a,t,i,n):(r&(Dt|de))!==0&&(r&G)===0&&bi(a,t,n)&&(D(a,G),Pe(a))}}function bi(e,t,i){const n=i.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const a of e.deps){if(t.includes(a))return!0;if((a.f&S)!==0&&bi(a,t,i))return i.set(a,!0),!0}return i.set(e,!1),!1}function Pe(e){for(var t=wt=e;t.parent!==null;){t=t.parent;var i=t.f;if(Rt&&t===k&&(i&de)!==0&&(i&ui)===0)return;if((i&(_e|fe))!==0){if((i&A)===0)return;t.f^=A}}oe.push(t)}function Un(e){let t=0,i=Ce(0),n;return()=>{$t()&&(w(i),Ni(()=>(t===0&&(n=ua(()=>e(()=>Ze(i)))),t+=1,()=>{_t(()=>{t-=1,t===0&&(n?.(),n=void 0,Ze(i))})})))}}var jn=Oe|Te|pt;function Bn(e,t,i){new Gn(e,t,i)}class Gn{parent;#t=!1;#e;#i=m?b:null;#n;#l;#o;#s=null;#a=null;#r=null;#c=null;#u=null;#h=0;#d=0;#p=!1;#f=null;#_=Un(()=>(this.#f=Ce(this.#h),()=>{this.#f=null}));constructor(t,i,n){this.#e=t,this.#n=i,this.#l=n,this.parent=k.b,this.#t=!!this.#n.pending,this.#o=jt(()=>{if(k.b=this,m){const r=this.#i;gt(),r.nodeType===Fe&&r.data===ut?this.#w():this.#k()}else{var a=this.#g();try{this.#s=K(()=>n(a))}catch(r){this.error(r)}this.#d>0?this.#m():this.#t=!1}return()=>{this.#u?.remove()}},jn),m&&(this.#e=b)}#k(){try{this.#s=K(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#a=K(()=>t(this.#e)),ae.enqueue(()=>{var i=this.#g();this.#s=this.#v(()=>(ae.ensure(),K(()=>this.#l(i)))),this.#d>0?this.#m():(Ye(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=V(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(t){var i=k,n=_,a=J;X(this.#o),q(this.#o),je(this.#o.ctx);try{return t()}catch(r){return yi(r),null}finally{X(i),q(n),je(a)}}#m(){const t=this.#n.pending;this.#s!==null&&(this.#c=document.createDocumentFragment(),this.#c.append(this.#u),ji(this.#s,this.#c)),this.#a===null&&(this.#a=K(()=>t(this.#e)))}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&Ye(this.#a,()=>{this.#a=null}),this.#c&&(this.#e.before(this.#c),this.#c=null))}update_pending_count(t){this.#y(t),this.#h+=t,this.#f&&Ge(this.#f,this.#h)}get_effect_pending(){return this.#_(),w(this.#f)}error(t){var i=this.#n.onerror;let n=this.#n.failed;if(this.#p||!i&&!n)throw t;this.#s&&(L(this.#s),this.#s=null),this.#a&&(L(this.#a),this.#a=null),this.#r&&(L(this.#r),this.#r=null),m&&(M(this.#i),Nn(),M(yt()));var a=!1,r=!1;const o=()=>{if(a){Dn();return}a=!0,r&&qn(),ae.ensure(),this.#h=0,this.#r!==null&&Ye(this.#r,()=>{this.#r=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#p=!1,K(()=>this.#l(this.#e)))),this.#d>0?this.#m():this.#t=!1};var l=_;try{q(null),r=!0,i?.(t,o),r=!1}catch(c){Be(c,this.#o&&this.#o.parent)}finally{q(l)}n&&_t(()=>{this.#r=this.#v(()=>{ae.ensure(),this.#p=!0;try{return K(()=>{n(this.#e,()=>t,()=>o)})}catch(c){return Be(c,this.#o.parent),null}finally{this.#p=!1}})})}}function Wn(e,t,i,n){const a=Ot;if(i.length===0&&e.length===0){n(t.map(a));return}var r=T,o=k,l=Yn();function c(){Promise.all(i.map(u=>Hn(u))).then(u=>{l();try{n([...t.map(a),...u])}catch(s){(o.f&ke)===0&&Be(s,o)}r?.deactivate(),zt()}).catch(u=>{Be(u,o)})}e.length>0?Promise.all(e).then(()=>{l();try{return c()}finally{r?.deactivate(),zt()}}):c()}function Yn(){var e=k,t=_,i=J,n=T;return function(r=!0){X(e),q(t),je(i),r&&n?.activate()}}function zt(){X(null),q(null),je(null)}function Ot(e){var t=S|G,i=_!==null&&(_.f&S)!==0?_:null;return k!==null&&(k.f|=Te),{ctx:J,deps:null,effects:null,equals:fi,f:t,fn:e,reactions:null,rv:0,v:I,wv:0,parent:i??k,ac:null}}function Hn(e,t){let i=k;i===null&&xn();var n=i.b,a=void 0,r=Ce(I),o=!_,l=new Map;return aa(()=>{var c=li();a=c.promise;try{Promise.resolve(e()).then(c.resolve,c.reject).then(()=>{u===T&&u.committed&&u.deactivate(),zt()})}catch(d){c.reject(d),zt()}var u=T;if(o){var s=!n.is_pending();n.update_pending_count(1),u.increment(s),l.get(u)?.reject(Me),l.delete(u),l.set(u,c)}const p=(d,f=void 0)=>{if(u.activate(),f)f!==Me&&(r.f|=we,Ge(r,f));else{(r.f&we)!==0&&(r.f^=we),Ge(r,d);for(const[h,g]of l){if(l.delete(h),h===u)break;g.reject(Me)}}o&&(n.update_pending_count(-1),u.decrement(s))};c.promise.then(p,d=>p(null,d||"unknown"))}),Zn(()=>{for(const c of l.values())c.reject(Me)}),new Promise(c=>{function u(s){function p(){s===a?c(r):u(a)}s.then(p,p)}u(a)})}function Vn(e){const t=Ot(e);return t.equals=hi,t}function zi(e){var t=e.effects;if(t!==null){e.effects=null;for(var i=0;i<t.length;i+=1)L(t[i])}}function Qn(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return t;t=t.parent}return null}function Mt(e){var t,i=k;X(Qn(e));try{e.f&=~Ke,zi(e),t=Qi(e)}finally{X(i)}return t}function $i(e){var t=Mt(e);if(e.equals(t)||(e.v=t,e.wv=Hi()),!Le)if(Y!==null)$t()&&Y.set(e,e.v);else{var i=(e.f&ie)===0?he:A;D(e,i)}}let Ft=new Set;const be=new Map;let xi=!1;function Ce(e,t){var i={f:0,v:e,reactions:null,equals:fi,rv:0,wv:0};return i}function re(e,t){const i=Ce(e);return sa(i),i}function Ti(e,t=!1,i=!0){const n=Ce(e);return t||(n.equals=hi),n}function H(e,t,i=!1){_!==null&&(!ce||(_.f&ci)!==0)&&mi()&&(_.f&(S|de|Dt|ci))!==0&&!ve?.includes(e)&&Ln();let n=i?We(t):t;return Ge(e,n)}function Ge(e,t){if(!e.equals(t)){var i=e.v;Le?be.set(e,t):be.set(e,i),e.v=t;var n=ae.ensure();n.capture(e,i),(e.f&S)!==0&&((e.f&G)!==0&&Mt(e),D(e,(e.f&ie)!==0?A:he)),e.wv=Hi(),Ei(e,G),k!==null&&(k.f&A)!==0&&(k.f&(fe|_e))===0&&(Z===null?la([e]):Z.push(e)),!n.is_fork&&Ft.size>0&&!xi&&Jn()}return t}function Jn(){xi=!1;const e=Array.from(Ft);for(const t of e)(t.f&A)!==0&&D(t,he),at(t)&&rt(t);Ft.clear()}function Ze(e){H(e,e.v+1)}function Ei(e,t){var i=e.reactions;if(i!==null)for(var n=i.length,a=0;a<n;a++){var r=i[a],o=r.f,l=(o&G)===0;if(l&&D(r,t),(o&S)!==0){var c=r;Y?.delete(c),(o&Ke)===0&&(o&ie&&(r.f|=Ke),Ei(c,he))}else l&&((o&de)!==0&&pe!==null&&pe.add(r),Pe(r))}}function We(e){if(typeof e!="object"||e===null||Nt in e)return e;const t=oi(e);if(t!==_n&&t!==kn)return e;var i=new Map,n=ri(e),a=re(0),r=qe,o=l=>{if(qe===r)return l();var c=_,u=qe;q(null),Yi(r);var s=l();return q(c),Yi(u),s};return n&&i.set("length",re(e.length)),new Proxy(e,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Sn();var s=i.get(c);return s===void 0?s=o(()=>{var p=re(u.value);return i.set(c,p),p}):H(s,u.value,!0),!0},deleteProperty(l,c){var u=i.get(c);if(u===void 0){if(c in l){const s=o(()=>re(I));i.set(c,s),Ze(a)}}else H(u,I),Ze(a);return!0},get(l,c,u){if(c===Nt)return e;var s=i.get(c),p=c in l;if(s===void 0&&(!p||Re(l,c)?.writable)&&(s=o(()=>{var f=We(p?l[c]:I),h=re(f);return h}),i.set(c,s)),s!==void 0){var d=w(s);return d===I?void 0:d}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var s=i.get(c);s&&(u.value=w(s))}else if(u===void 0){var p=i.get(c),d=p?.v;if(p!==void 0&&d!==I)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return u},has(l,c){if(c===Nt)return!0;var u=i.get(c),s=u!==void 0&&u.v!==I||Reflect.has(l,c);if(u!==void 0||k!==null&&(!s||Re(l,c)?.writable)){u===void 0&&(u=o(()=>{var d=s?We(l[c]):I,f=re(d);return f}),i.set(c,u));var p=w(u);if(p===I)return!1}return s},set(l,c,u,s){var p=i.get(c),d=c in l;if(n&&c==="length")for(var f=u;f<p.v;f+=1){var h=i.get(f+"");h!==void 0?H(h,I):f in l&&(h=o(()=>re(I)),i.set(f+"",h))}if(p===void 0)(!d||Re(l,c)?.writable)&&(p=o(()=>re(void 0)),H(p,We(u)),i.set(c,p));else{d=p.v!==I;var g=o(()=>We(u));H(p,g)}var y=Reflect.getOwnPropertyDescriptor(l,c);if(y?.set&&y.set.call(s,u),!d){if(n&&typeof c=="string"){var x=i.get("length"),$=Number(c);Number.isInteger($)&&$>=x.v&&H(x,$+1)}Ze(a)}return!0},ownKeys(l){w(a);var c=Reflect.ownKeys(l).filter(p=>{var d=i.get(p);return d===void 0||d.v!==I});for(var[u,s]of i)s.v!==I&&!(u in l)&&c.push(u);return c},setPrototypeOf(){An()}})}var Pi,Ci,Ii,Si;function Ut(){if(Pi===void 0){Pi=window,Ci=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,i=Text.prototype;Ii=Re(t,"firstChild").get,Si=Re(t,"nextSibling").get,si(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),si(i)&&(i.__t=void 0)}}function V(e=""){return document.createTextNode(e)}function Ie(e){return Ii.call(e)}function se(e){return Si.call(e)}function et(e,t){if(!m)return Ie(e);var i=Ie(b);if(i===null)i=b.appendChild(V());else if(t&&i.nodeType!==vt){var n=V();return i?.before(n),M(n),n}return M(i),i}function tt(e,t=!1){if(!m){var i=Ie(e);return i instanceof Comment&&i.data===""?se(i):i}if(t&&b?.nodeType!==vt){var n=V();return b?.before(n),M(n),n}return b}function it(e,t=1,i=!1){let n=m?b:e;for(var a;t--;)a=n,n=se(n);if(!m)return n;if(i&&n?.nodeType!==vt){var r=V();return n===null?a?.after(r):n.before(r),M(r),r}return M(n),n}function Ai(e){e.textContent=""}function Li(){return!1}function qi(e){var t=_,i=k;q(null),X(null);try{return e()}finally{q(t),X(i)}}function Kn(e){k===null&&(_===null&&Pn(),En()),Le&&Tn()}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 le(e,t,i,n=!0){var a=k;a!==null&&(a.f&W)!==0&&(e|=W);var r={ctx:J,deps:null,nodes_start:null,nodes_end:null,f:e|G|ie,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{rt(r),r.f|=Lt}catch(c){throw L(r),c}else t!==null&&Pe(r);if(n){var o=r;if(i&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&Te)===0&&(o=o.first,(e&de)!==0&&(e&Oe)!==0&&o!==null&&(o.f|=Oe)),o!==null&&(o.parent=a,a!==null&&Xn(o,a),_!==null&&(_.f&S)!==0&&(e&_e)===0)){var l=_;(l.effects??=[]).push(o)}}return r}function $t(){return _!==null&&!ce}function Zn(e){const t=le(At,null,!1);return D(t,A),t.teardown=e,t}function ea(e){Kn();var t=k.f,i=!_&&(t&fe)!==0&&(t&Lt)===0;if(i){var n=J;(n.e??=[]).push(e)}else return Di(e)}function Di(e){return le(ht|bn,e,!1)}function ta(e){ae.ensure();const t=le(_e|Te,e,!0);return()=>{L(t)}}function ia(e){ae.ensure();const t=le(_e|Te,e,!0);return(i={})=>new Promise(n=>{i.outro?Ye(t,()=>{L(t),n(void 0)}):(L(t),n(void 0))})}function na(e){return le(ht,e,!1)}function aa(e){return le(Dt|Te,e,!0)}function Ni(e,t=0){return le(At|t,e,!0)}function Se(e,t=[],i=[],n=[],a=!1){Wn(n,t,i,r=>{le(a?ht:At,()=>e(...r.map(w)),!0)})}function jt(e,t=0){var i=le(de|t,e,!0);return i}function K(e,t=!0){return le(fe|Te,e,!0,t)}function Ri(e){var t=e.teardown;if(t!==null){const i=Le,n=_;Gi(!0),q(null);try{t.call(null)}finally{Gi(i),q(n)}}}function Oi(e,t=!1){var i=e.first;for(e.first=e.last=null;i!==null;){const a=i.ac;a!==null&&qi(()=>{a.abort(Me)});var n=i.next;(i.f&_e)!==0?i.parent=null:L(i,t),i=n}}function ra(e){for(var t=e.first;t!==null;){var i=t.next;(t.f&fe)===0&&L(t),t=i}}function L(e,t=!0){var i=!1;(t||(e.f&ui)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(oa(e.nodes_start,e.nodes_end),i=!0),Oi(e,t&&!i),xt(e,0),D(e,ke);var n=e.transitions;if(n!==null)for(const r of n)r.stop();Ri(e);var a=e.parent;a!==null&&a.first!==null&&Mi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function oa(e,t){for(;e!==null;){var i=e===t?null:se(e);e.remove(),e=i}}function Mi(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 Ye(e,t,i=!0){var n=[];Bt(e,n,!0),Fi(n,()=>{i&&L(e),t&&t()})}function Fi(e,t){var i=e.length;if(i>0){var n=()=>--i||t();for(var a of e)a.out(n)}else t()}function Bt(e,t,i){if((e.f&W)===0){if(e.f^=W,e.transitions!==null)for(const o of e.transitions)(o.is_global||i)&&t.push(o);for(var n=e.first;n!==null;){var a=n.next,r=(n.f&Oe)!==0||(n.f&fe)!==0&&(e.f&de)!==0;Bt(n,t,r?i:!1),n=a}}}function Gt(e){Ui(e,!0)}function Ui(e,t){if((e.f&W)!==0){e.f^=W,(e.f&A)===0&&(D(e,G),Pe(e));for(var i=e.first;i!==null;){var n=i.next,a=(i.f&Oe)!==0||(i.f&fe)!==0;Ui(i,a?t:!1),i=n}if(e.transitions!==null)for(const r of e.transitions)(r.is_global||t)&&r.in()}}function ji(e,t){for(var i=e.nodes_start,n=e.nodes_end;i!==null;){var a=i===n?null:se(i);t.append(i),i=a}}let Ae=!1;function Bi(e){Ae=e}let Le=!1;function Gi(e){Le=e}let _=null,ce=!1;function q(e){_=e}let k=null;function X(e){k=e}let ve=null;function sa(e){_!==null&&(ve===null?ve=[e]:ve.push(e))}let F=null,Q=0,Z=null;function la(e){Z=e}let Wi=1,nt=0,qe=nt;function Yi(e){qe=e}function Hi(){return++Wi}function at(e){var t=e.f;if((t&G)!==0)return!0;if(t&S&&(e.f&=~Ke),(t&he)!==0){var i=e.deps;if(i!==null)for(var n=i.length,a=0;a<n;a++){var r=i[a];if(at(r)&&$i(r),r.wv>e.wv)return!0}(t&ie)!==0&&Y===null&&D(e,A)}return!1}function Vi(e,t,i=!0){var n=e.reactions;if(n!==null&&!ve?.includes(e))for(var a=0;a<n.length;a++){var r=n[a];(r.f&S)!==0?Vi(r,t,!1):t===r&&(i?D(r,G):(r.f&A)!==0&&D(r,he),Pe(r))}}function Qi(e){var t=F,i=Q,n=Z,a=_,r=ve,o=J,l=ce,c=qe,u=e.f;F=null,Q=0,Z=null,_=(u&(fe|_e))===0?e:null,ve=null,je(e.ctx),ce=!1,qe=++nt,e.ac!==null&&(qi(()=>{e.ac.abort(Me)}),e.ac=null);try{e.f|=qt;var s=e.fn,p=s(),d=e.deps;if(F!==null){var f;if(xt(e,Q),d!==null&&Q>0)for(d.length=Q+F.length,f=0;f<F.length;f++)d[Q+f]=F[f];else e.deps=d=F;if(Ae&&$t()&&(e.f&ie)!==0)for(f=Q;f<d.length;f++)(d[f].reactions??=[]).push(e)}else d!==null&&Q<d.length&&(xt(e,Q),d.length=Q);if(mi()&&Z!==null&&!ce&&d!==null&&(e.f&(S|he|G))===0)for(f=0;f<Z.length;f++)Vi(Z[f],e);return a!==null&&a!==e&&(nt++,Z!==null&&(n===null?n=Z:n.push(...Z))),(e.f&we)!==0&&(e.f^=we),p}catch(h){return yi(h)}finally{e.f^=qt,F=t,Q=i,Z=n,_=a,ve=r,je(o),ce=l,qe=c}}function ca(e,t){let i=t.reactions;if(i!==null){var n=gn.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&S)!==0&&(F===null||!F.includes(t))&&(D(t,he),(t.f&ie)!==0&&(t.f^=ie,t.f&=~Ke),zi(t),xt(t,0))}function xt(e,t){var i=e.deps;if(i!==null)for(var n=t;n<i.length;n++)ca(e,i[n])}function rt(e){var t=e.f;if((t&ke)===0){D(e,A);var i=k,n=Ae;k=e,Ae=!0;try{(t&de)!==0?ra(e):Oi(e),Ri(e);var a=Qi(e);e.teardown=typeof a=="function"?a:null,e.wv=Wi;var r;ai&&On&&(e.f&G)!==0&&e.deps}finally{Ae=n,k=i}}}function w(e){var t=e.f,i=(t&S)!==0;if(_!==null&&!ce){var n=k!==null&&(k.f&ke)!==0;if(!n&&!ve?.includes(e)){var a=_.deps;if((_.f&qt)!==0)e.rv<nt&&(e.rv=nt,F===null&&a!==null&&a[Q]===e?Q++:F===null?F=[e]:F.includes(e)||F.push(e));else{(_.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[_]:r.includes(_)||r.push(_)}}}if(Le){if(be.has(e))return be.get(e);if(i){var o=e,l=o.v;return((o.f&A)===0&&o.reactions!==null||Ki(o))&&(l=Mt(o)),be.set(o,l),l}}else if(i){if(o=e,Y?.has(o))return Y.get(o);at(o)&&$i(o),Ae&&$t()&&(o.f&ie)===0&&Ji(o)}else if(Y?.has(e))return Y.get(e);if((e.f&we)!==0)throw e.v;return e.v}function Ji(e){if(e.deps!==null){e.f^=ie;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&ie)===0&&Ji(t)}}function Ki(e){if(e.v===I)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(be.has(t)||(t.f&S)!==0&&Ki(t))return!0;return!1}function ua(e){var t=ce;try{return ce=!0,e()}finally{ce=t}}const da=-7169;function D(e,t){e.f=e.f&da|t}const fa=new Set,Xi=new Set;let Zi=null;function Tt(e){var t=this,i=t.ownerDocument,n=e.type,a=e.composedPath?.()||[],r=a[0]||e.target;Zi=e;var o=0,l=Zi===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&&(o=c)}if(r=a[o]||e.target,r!==t){ft(e,"currentTarget",{configurable:!0,get(){return r||i}});var s=_,p=k;q(null),X(null);try{for(var d,f=[];r!==null;){var h=r.assignedSlot||r.parentNode||r.host||null;try{var g=r["__"+n];g!=null&&(!r.disabled||e.target===r)&&g.call(r,e)}catch(y){d?f.push(y):d=y}if(e.cancelBubble||h===t||h===null)break;r=h}if(d){for(let y of f)queueMicrotask(()=>{throw y});throw d}}finally{e.__root=t,delete e.currentTarget,q(s),X(p)}}}function ha(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ze(e,t){var i=k;i.nodes_start===null&&(i.nodes_start=e,i.nodes_end=t)}function $e(e,t){var i=(t&pn)!==0,n=(t&vn)!==0,a,r=!e.startsWith("<!>");return()=>{if(m)return ze(b,null),b;a===void 0&&(a=ha(r?e:"<!>"+e),i||(a=Ie(a)));var o=n||Ci?document.importNode(a,!0):a.cloneNode(!0);if(i){var l=Ie(o),c=o.lastChild;ze(l,c)}else ze(o,o);return o}}function pa(e=""){if(!m){var t=V(e+"");return ze(t,t),t}var i=b;return i.nodeType!==vt&&(i.before(i=V()),M(i)),ze(i,i),i}function en(){if(m)return ze(b,null),b;var e=document.createDocumentFragment(),t=document.createComment(""),i=V();return e.append(t,i),ze(t,i),e}function ee(e,t){if(m){k.nodes_end=b,gt();return}e!==null&&e.before(t)}const va=["touchstart","touchmove"];function ma(e){return va.includes(e)}function ot(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??=e.nodeValue)&&(e.__t=i,e.nodeValue=i+"")}function tn(e,t){return nn(e,t)}function ga(e,t){Ut(),t.intro=t.intro??!1;const i=t.target,n=m,a=b;try{for(var r=Ie(i);r&&(r.nodeType!==Fe||r.data!==ni);)r=se(r);if(!r)throw Ne;ne(!0),M(r);const o=nn(e,{...t,anchor:r});return ne(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Ne&&console.warn("Failed to hydrate: ",o),t.recover===!1&&In(),Ut(),Ai(i),ne(!1),tn(e,t)}finally{ne(n),M(a)}}const He=new Map;function nn(e,{target:t,anchor:i,props:n={},events:a,context:r,intro:o=!0}){Ut();var l=new Set,c=p=>{for(var d=0;d<p.length;d++){var f=p[d];if(!l.has(f)){l.add(f);var h=ma(f);t.addEventListener(f,Tt,{passive:h});var g=He.get(f);g===void 0?(document.addEventListener(f,Tt,{passive:h}),He.set(f,1)):He.set(f,g+1)}}};c(St(fa)),Xi.add(c);var u=void 0,s=ia(()=>{var p=i??t.appendChild(V());return Bn(p,{pending:()=>{}},d=>{if(r){pi({});var f=J;f.c=r}if(a&&(n.$$events=a),m&&ze(d,null),u=e(d,n)||{},m&&(k.nodes_end=b,b===null||b.nodeType!==Fe||b.data!==It))throw mt(),Ne;r&&vi()}),()=>{for(var d of l){t.removeEventListener(d,Tt);var f=He.get(d);--f===0?(document.removeEventListener(d,Tt),He.delete(d)):He.set(d,f)}Xi.delete(c),p!==i&&p.parentNode?.removeChild(p)}});return Wt.set(u,s),u}let Wt=new WeakMap;function ya(e,t){const i=Wt.get(e);return i?(Wt.delete(e),i(t)):Promise.resolve()}class _a{anchor;#t=new Map;#e=new Map;#i=new Map;#n=!0;constructor(t,i=!0){this.anchor=t,this.#n=i}#l=()=>{var t=T;if(this.#t.has(t)){var i=this.#t.get(t),n=this.#e.get(i);if(n)Gt(n);else{var a=this.#i.get(i);a&&(this.#e.set(i,a.effect),this.#i.delete(i),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[r,o]of this.#t){if(this.#t.delete(r),r===t)break;const l=this.#i.get(o);l&&(L(l.effect),this.#i.delete(o))}for(const[r,o]of this.#e){if(r===i)continue;const l=()=>{if(Array.from(this.#t.values()).includes(r)){var u=document.createDocumentFragment();ji(o,u),u.append(V()),this.#i.set(r,{effect:o,fragment:u})}else L(o);this.#e.delete(r)};this.#n||!n?Ye(o,l,!1):l()}}};#o=t=>{this.#t.delete(t);const i=Array.from(this.#t.values());for(const[n,a]of this.#i)i.includes(n)||(L(a.effect),this.#i.delete(n))};ensure(t,i){var n=T,a=Li();if(i&&!this.#e.has(t)&&!this.#i.has(t))if(a){var r=document.createDocumentFragment(),o=V();r.append(o),this.#i.set(t,{effect:K(()=>i(o)),fragment:r})}else this.#e.set(t,K(()=>i(this.anchor)));if(this.#t.set(n,t),a){for(const[l,c]of this.#e)l===t?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of this.#i)l===t?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(this.#l),n.ondiscard(this.#o)}else m&&(this.anchor=b),this.#l()}}function Ve(e,t,i=!1){m&&gt();var n=new _a(e),a=i?Oe:0;function r(o,l){if(m){const u=di(e)===ut;if(o===u){var c=yt();M(c),n.anchor=c,ne(!1),n.ensure(o,l),ne(!0);return}}n.ensure(o,l)}jt(()=>{var o=!1;t((l,c=!0)=>{o=!0,r(c,l)}),o||r(!1,null)},a)}function ka(e,t,i){for(var n=e.items,a=[],r=t.length,o=0;o<r;o++)Bt(t[o].e,a,!0);var l=r>0&&a.length===0&&i!==null;if(l){var c=i.parentNode;Ai(c),c.append(i),n.clear(),ue(e,t[0].prev,t[r-1].next)}Fi(a,()=>{for(var u=0;u<r;u++){var s=t[u];l||(n.delete(s.k),ue(e,s.prev,s.next)),L(s.e,!l)}})}function Yt(e,t,i,n,a,r=null){var o=e,l={flags:t,items:new Map,first:null},c=(t&ii)!==0;if(c){var u=e;o=m?M(Ie(u)):u.appendChild(V())}m&&gt();var s=null,p=!1,d=new Map,f=Vn(()=>{var x=i();return ri(x)?x:x==null?[]:St(x)}),h,g;function y(){wa(g,h,l,d,o,a,t,n,i),r!==null&&(h.length===0?s?Gt(s):s=K(()=>r(o)):s!==null&&Ye(s,()=>{s=null}))}jt(()=>{g??=k,h=w(f);var x=h.length;if(p&&x===0)return;p=x===0;let $=!1;if(m){var U=di(o)===ut;U!==(x===0)&&(o=yt(),M(o),ne(!1),$=!0)}if(m){for(var te=null,P,v=0;v<x;v++){if(b.nodeType===Fe&&b.data===It){o=b,$=!0,ne(!1);break}var z=h[v],C=n(z,v);P=Ht(b,l,te,null,z,C,v,a,t,i),l.items.set(C,P),te=P}x>0&&M(yt())}if(m)x===0&&r&&(s=K(()=>r(o)));else if(Li()){var me=new Set,Qe=T;for(v=0;v<x;v+=1){z=h[v],C=n(z,v);var ge=l.items.get(C)??d.get(C);ge?(t&(lt|ct))!==0&&an(ge,z,v,t):(P=Ht(null,l,null,null,z,C,v,a,t,i,!0),d.set(C,P)),me.add(C)}for(const[O,j]of l.items)me.has(O)||Qe.skipped_effects.add(j.e);Qe.oncommit(y)}else y();$&&ne(!0),w(f)}),m&&(o=b)}function wa(e,t,i,n,a,r,o,l,c){var u=(o&fn)!==0,s=(o&(lt|ct))!==0,p=t.length,d=i.items,f=i.first,h=f,g,y=null,x,$=[],U=[],te,P,v,z;if(u)for(z=0;z<p;z+=1)te=t[z],P=l(te,z),v=d.get(P),v!==void 0&&(v.a?.measure(),(x??=new Set).add(v));for(z=0;z<p;z+=1){if(te=t[z],P=l(te,z),v=d.get(P),v===void 0){var C=n.get(P);if(C!==void 0){n.delete(P),d.set(P,C);var me=y?y.next:h;ue(i,y,C),ue(i,C,me),Vt(C,me,a),y=C}else{var Qe=h?h.e.nodes_start:a;y=Ht(Qe,i,y,y===null?i.first:y.next,te,P,z,r,o,c)}d.set(P,y),$=[],U=[],h=y.next;continue}if(s&&an(v,te,z,o),(v.e.f&W)!==0&&(Gt(v.e),u&&(v.a?.unfix(),(x??=new Set).delete(v))),v!==h){if(g!==void 0&&g.has(v)){if($.length<U.length){var ge=U[0],O;y=ge.prev;var j=$[0],Je=$[$.length-1];for(O=0;O<$.length;O+=1)Vt($[O],ge,a);for(O=0;O<U.length;O+=1)g.delete(U[O]);ue(i,j.prev,Je.next),ue(i,y,j),ue(i,Je,ge),h=ge,y=Je,z-=1,$=[],U=[]}else g.delete(v),Vt(v,h,a),ue(i,v.prev,v.next),ue(i,v,y===null?i.first:y.next),ue(i,y,v),y=v;continue}for($=[],U=[];h!==null&&h.k!==P;)(h.e.f&W)===0&&(g??=new Set).add(h),U.push(h),h=h.next;if(h===null)continue;v=h}$.push(v),y=v,h=v.next}if(h!==null||g!==void 0){for(var xe=g===void 0?[]:St(g);h!==null;)(h.e.f&W)===0&&xe.push(h),h=h.next;var st=xe.length;if(st>0){var Ct=(o&ii)!==0&&p===0?a:null;if(u){for(z=0;z<st;z+=1)xe[z].a?.measure();for(z=0;z<st;z+=1)xe[z].a?.fix()}ka(i,xe,Ct)}}u&&_t(()=>{if(x!==void 0)for(v of x)v.a?.apply()}),e.first=i.first&&i.first.e,e.last=y&&y.e;for(var Zt of n.values())L(Zt.e);n.clear()}function an(e,t,i,n){(n&lt)!==0&&Ge(e.v,t),(n&ct)!==0?Ge(e.i,i):e.i=i}function Ht(e,t,i,n,a,r,o,l,c,u,s){var p=(c&lt)!==0,d=(c&hn)===0,f=p?d?Ti(a,!1,!1):Ce(a):a,h=(c&ct)===0?o:Ce(o),g={i:h,v:f,k:r,a:null,e:null,prev:i,next:n};try{if(e===null){var y=document.createDocumentFragment();y.append(e=V())}return g.e=K(()=>l(e,f,h,u),m),g.e.prev=i&&i.e,g.e.next=n&&n.e,i===null?s||(t.first=g):(i.next=g,i.e.next=g.e),n!==null&&(n.prev=g,n.e.prev=g.e),g}finally{}}function Vt(e,t,i){for(var n=e.next?e.next.e.nodes_start:i,a=t?t.e.nodes_start:i,r=e.e.nodes_start;r!==null&&r!==n;){var o=se(r);a.before(r),r=o}}function ue(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 ba(e,t){na(()=>{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 za(e,t,i){var n=""+e;return n}function $a(e,t){return e==null?null:String(e)}function xa(e,t,i,n,a,r){var o=e.__className;if(m||o!==i||o===void 0){var l=za(i);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return r}function Ta(e,t,i,n){var a=e.__style;if(m||a!==t){var r=$a(t);(!m||r!==e.getAttribute("style"))&&(r==null?e.removeAttribute("style"):e.style.cssText=r),e.__style=t}return n}const Ea=Symbol("is custom element"),Pa=Symbol("is html");function Ca(e,t,i,n){var a=Ia(e);m&&(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"&&rn(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function Et(e,t,i){var n=_,a=k;let r=m;m&&ne(!1),q(null),X(null);try{t!=="style"&&(Qt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?rn(e).includes(t):i&&typeof i=="object")?e[t]=i:Ca(e,t,i==null?i:String(i))}finally{q(n),X(a),r&&ne(!0)}}function Ia(e){return e.__attributes??={[Ea]:e.nodeName.includes("-"),[Pa]:e.namespaceURI===mn}}var Qt=new Map;function rn(e){var t=e.getAttribute("is")||e.nodeName,i=Qt.get(t);if(i)return i;Qt.set(t,i=[]);for(var n,a=e,r=Element.prototype;r!==a;){n=yn(a);for(var o in n)n[o].set&&i.push(o);a=oi(a)}return i}function Jt(e,t,i,n){var a=n,r=!0,o=()=>(r&&(r=!1,a=n),a),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var c;c=()=>{var d=e[t];return d===void 0?o():(r=!0,d)};var u=!1,s=Ot(()=>(u=!1,c())),p=k;return(function(d,f){if(arguments.length>0){const h=f?w(s):d;return H(s,h),u=!0,a!==void 0&&(a=h),d}return Le&&u||(p.f&ke)!==0?s.v:w(s)})}function Sa(e){return new Aa(e)}class Aa{#t;#e;constructor(t){var i=new Map,n=(r,o)=>{var l=Ti(o,!1,!1);return i.set(r,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(r,o){return w(i.get(o)??n(o,Reflect.get(r,o)))},has(r,o){return o===zn?!0:(w(i.get(o)??n(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,l){return H(i.get(o)??n(o,l),l),Reflect.set(r,o,l)}});this.#e=(t.hydrate?ga:tn)(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)&&bt(),this.#t=a.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||ft(this,r,{get(){return this.#e[r]},set(o){this.#e[r]=o},enumerable:!0});this.#e.$set=r=>{Object.assign(a,r)},this.#e.$destroy=()=>{ya(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 on;typeof HTMLElement=="function"&&(on=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 r=document.createElement("slot");n!=="default"&&(r.name=n),ee(a,r)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=La(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]=Pt(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=Sa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ta(()=>{Ni(()=>{this.$$r=!0;for(const n of dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const a=Pt(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 r=this.$$c.$on(n,a);this.$$l_u.set(a,r)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Pt(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 dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Pt(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 La(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function qa(e,t,i,n,a,r){let o=class extends on{constructor(){super(e,i,a),this.$$p_d=t}static get observedAttributes(){return dt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return dt(t).forEach(l=>{ft(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){c=Pt(l,c,t),this.$$d[l]=c;var u=this.$$c;if(u){var s=Re(u,l)?.get;s?u[l]=c:u.$set({[l]:c})}}})}),n.forEach(l=>{ft(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Da={version:"0.61.57"};var De={},sn;function Na(){if(sn)return De;sn=1,Object.defineProperty(De,"__esModule",{value:!0}),De.LanguageTranslator=void 0,De.getChildStyleToPass=e,De.addComponent=t;function e(n,a){var r,o,l="";try{if(n&&a?.length&&(!((r=Object.keys(n))===null||r===void 0)&&r.length)&&(!((o=a?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||o===void 0)&&o.length))for(var c=function(d){var f=a?.filter(function(h){return h.name===d&&h.defaultValue!==n[d]});f&&(l+="".concat(d,":").concat(n[d],";"))},u=0,s=Object.keys(n);u<s.length;u++){var p=s[u];c(p)}}catch(d){console.error("error getting child style to pass",d)}finally{return l}}function t(n){var a,r=((a=n?.repoName.split("/"))===null||a===void 0?void 0:a[1])||n?.repoName;if(!r)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(r+"-script"))try{var l=document.createElement("script");if(l.id=r+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var c=r.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(r.replace(c+"-",""),"/").concat(o)}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,r){return n.getDictionaryWord(a,this.dictionary,r||this.lang)},n.prototype.translateDate=function(a,r,o){return n.formatDate(a,r,o||this.lang)},n.getDefaultLang=function(){var a,r,o,l="en";return navigator?.languages&&(!((o=(r=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||r===void 0?void 0:r.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(a,r,o){var l;if(!a)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(o&&(!((l=r[o])===null||l===void 0)&&l[a]))return r[o][a];var c="",u=n.getDefaultLang();if(!o||u!==o){var s=r?.[u];s?.[a]&&(c=s[a])}return c},n.formatDate=function(a,r,o){if(!a)throw new Error("no date provided");if(typeof a.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||n.getDefaultLang(),r);return l.format(a)},n})();return De.LanguageTranslator=i,De}var Kt=Na();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 r=n.paragraphs.filter(o=>o).sort((o,l)=>o.index-l.index);for(const o of r){o.index=a,a++;let l=1;if(o.list?.length){const c=o.list.filter(u=>u).sort((u,s)=>u.index-s.index);for(const u of c)u.index=l,l++;o.list=c}}n.paragraphs=r}return e.chapters=i,e}const N=[{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 R(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
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Ne&&console.warn("Failed to hydrate: ",o),t.recover===!1&&In(),Ut(),Ai(i),ne(!1),tn(e,t)}finally{ne(n),M(a)}}const He=new Map;function nn(e,{target:t,anchor:i,props:n={},events:a,context:r,intro:o=!0}){Ut();var l=new Set,c=p=>{for(var d=0;d<p.length;d++){var f=p[d];if(!l.has(f)){l.add(f);var h=ma(f);t.addEventListener(f,Tt,{passive:h});var g=He.get(f);g===void 0?(document.addEventListener(f,Tt,{passive:h}),He.set(f,1)):He.set(f,g+1)}}};c(St(fa)),Xi.add(c);var u=void 0,s=ia(()=>{var p=i??t.appendChild(V());return Bn(p,{pending:()=>{}},d=>{if(r){pi({});var f=J;f.c=r}if(a&&(n.$$events=a),m&&ze(d,null),u=e(d,n)||{},m&&(k.nodes_end=b,b===null||b.nodeType!==Fe||b.data!==It))throw mt(),Ne;r&&vi()}),()=>{for(var d of l){t.removeEventListener(d,Tt);var f=He.get(d);--f===0?(document.removeEventListener(d,Tt),He.delete(d)):He.set(d,f)}Xi.delete(c),p!==i&&p.parentNode?.removeChild(p)}});return Wt.set(u,s),u}let Wt=new WeakMap;function ya(e,t){const i=Wt.get(e);return i?(Wt.delete(e),i(t)):Promise.resolve()}class _a{anchor;#t=new Map;#e=new Map;#i=new Map;#n=!0;constructor(t,i=!0){this.anchor=t,this.#n=i}#l=()=>{var t=T;if(this.#t.has(t)){var i=this.#t.get(t),n=this.#e.get(i);if(n)Gt(n);else{var a=this.#i.get(i);a&&(this.#e.set(i,a.effect),this.#i.delete(i),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[r,o]of this.#t){if(this.#t.delete(r),r===t)break;const l=this.#i.get(o);l&&(L(l.effect),this.#i.delete(o))}for(const[r,o]of this.#e){if(r===i)continue;const l=()=>{if(Array.from(this.#t.values()).includes(r)){var u=document.createDocumentFragment();ji(o,u),u.append(V()),this.#i.set(r,{effect:o,fragment:u})}else L(o);this.#e.delete(r)};this.#n||!n?Ye(o,l,!1):l()}}};#o=t=>{this.#t.delete(t);const i=Array.from(this.#t.values());for(const[n,a]of this.#i)i.includes(n)||(L(a.effect),this.#i.delete(n))};ensure(t,i){var n=T,a=Li();if(i&&!this.#e.has(t)&&!this.#i.has(t))if(a){var r=document.createDocumentFragment(),o=V();r.append(o),this.#i.set(t,{effect:K(()=>i(o)),fragment:r})}else this.#e.set(t,K(()=>i(this.anchor)));if(this.#t.set(n,t),a){for(const[l,c]of this.#e)l===t?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of this.#i)l===t?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(this.#l),n.ondiscard(this.#o)}else m&&(this.anchor=b),this.#l()}}function Ve(e,t,i=!1){m&&gt();var n=new _a(e),a=i?Oe:0;function r(o,l){if(m){const u=di(e)===ut;if(o===u){var c=yt();M(c),n.anchor=c,ne(!1),n.ensure(o,l),ne(!0);return}}n.ensure(o,l)}jt(()=>{var o=!1;t((l,c=!0)=>{o=!0,r(c,l)}),o||r(!1,null)},a)}function ka(e,t,i){for(var n=e.items,a=[],r=t.length,o=0;o<r;o++)Bt(t[o].e,a,!0);var l=r>0&&a.length===0&&i!==null;if(l){var c=i.parentNode;Ai(c),c.append(i),n.clear(),ue(e,t[0].prev,t[r-1].next)}Fi(a,()=>{for(var u=0;u<r;u++){var s=t[u];l||(n.delete(s.k),ue(e,s.prev,s.next)),L(s.e,!l)}})}function Yt(e,t,i,n,a,r=null){var o=e,l={flags:t,items:new Map,first:null},c=(t&ii)!==0;if(c){var u=e;o=m?M(Ie(u)):u.appendChild(V())}m&&gt();var s=null,p=!1,d=new Map,f=Vn(()=>{var x=i();return ri(x)?x:x==null?[]:St(x)}),h,g;function y(){wa(g,h,l,d,o,a,t,n,i),r!==null&&(h.length===0?s?Gt(s):s=K(()=>r(o)):s!==null&&Ye(s,()=>{s=null}))}jt(()=>{g??=k,h=w(f);var x=h.length;if(p&&x===0)return;p=x===0;let $=!1;if(m){var U=di(o)===ut;U!==(x===0)&&(o=yt(),M(o),ne(!1),$=!0)}if(m){for(var te=null,P,v=0;v<x;v++){if(b.nodeType===Fe&&b.data===It){o=b,$=!0,ne(!1);break}var z=h[v],C=n(z,v);P=Ht(b,l,te,null,z,C,v,a,t,i),l.items.set(C,P),te=P}x>0&&M(yt())}if(m)x===0&&r&&(s=K(()=>r(o)));else if(Li()){var me=new Set,Qe=T;for(v=0;v<x;v+=1){z=h[v],C=n(z,v);var ge=l.items.get(C)??d.get(C);ge?(t&(lt|ct))!==0&&an(ge,z,v,t):(P=Ht(null,l,null,null,z,C,v,a,t,i,!0),d.set(C,P)),me.add(C)}for(const[O,j]of l.items)me.has(O)||Qe.skipped_effects.add(j.e);Qe.oncommit(y)}else y();$&&ne(!0),w(f)}),m&&(o=b)}function wa(e,t,i,n,a,r,o,l,c){var u=(o&fn)!==0,s=(o&(lt|ct))!==0,p=t.length,d=i.items,f=i.first,h=f,g,y=null,x,$=[],U=[],te,P,v,z;if(u)for(z=0;z<p;z+=1)te=t[z],P=l(te,z),v=d.get(P),v!==void 0&&(v.a?.measure(),(x??=new Set).add(v));for(z=0;z<p;z+=1){if(te=t[z],P=l(te,z),v=d.get(P),v===void 0){var C=n.get(P);if(C!==void 0){n.delete(P),d.set(P,C);var me=y?y.next:h;ue(i,y,C),ue(i,C,me),Vt(C,me,a),y=C}else{var Qe=h?h.e.nodes_start:a;y=Ht(Qe,i,y,y===null?i.first:y.next,te,P,z,r,o,c)}d.set(P,y),$=[],U=[],h=y.next;continue}if(s&&an(v,te,z,o),(v.e.f&W)!==0&&(Gt(v.e),u&&(v.a?.unfix(),(x??=new Set).delete(v))),v!==h){if(g!==void 0&&g.has(v)){if($.length<U.length){var ge=U[0],O;y=ge.prev;var j=$[0],Je=$[$.length-1];for(O=0;O<$.length;O+=1)Vt($[O],ge,a);for(O=0;O<U.length;O+=1)g.delete(U[O]);ue(i,j.prev,Je.next),ue(i,y,j),ue(i,Je,ge),h=ge,y=Je,z-=1,$=[],U=[]}else g.delete(v),Vt(v,h,a),ue(i,v.prev,v.next),ue(i,v,y===null?i.first:y.next),ue(i,y,v),y=v;continue}for($=[],U=[];h!==null&&h.k!==P;)(h.e.f&W)===0&&(g??=new Set).add(h),U.push(h),h=h.next;if(h===null)continue;v=h}$.push(v),y=v,h=v.next}if(h!==null||g!==void 0){for(var xe=g===void 0?[]:St(g);h!==null;)(h.e.f&W)===0&&xe.push(h),h=h.next;var st=xe.length;if(st>0){var Ct=(o&ii)!==0&&p===0?a:null;if(u){for(z=0;z<st;z+=1)xe[z].a?.measure();for(z=0;z<st;z+=1)xe[z].a?.fix()}ka(i,xe,Ct)}}u&&_t(()=>{if(x!==void 0)for(v of x)v.a?.apply()}),e.first=i.first&&i.first.e,e.last=y&&y.e;for(var Zt of n.values())L(Zt.e);n.clear()}function an(e,t,i,n){(n&lt)!==0&&Ge(e.v,t),(n&ct)!==0?Ge(e.i,i):e.i=i}function Ht(e,t,i,n,a,r,o,l,c,u,s){var p=(c&lt)!==0,d=(c&hn)===0,f=p?d?Ti(a,!1,!1):Ce(a):a,h=(c&ct)===0?o:Ce(o),g={i:h,v:f,k:r,a:null,e:null,prev:i,next:n};try{if(e===null){var y=document.createDocumentFragment();y.append(e=V())}return g.e=K(()=>l(e,f,h,u),m),g.e.prev=i&&i.e,g.e.next=n&&n.e,i===null?s||(t.first=g):(i.next=g,i.e.next=g.e),n!==null&&(n.prev=g,n.e.prev=g.e),g}finally{}}function Vt(e,t,i){for(var n=e.next?e.next.e.nodes_start:i,a=t?t.e.nodes_start:i,r=e.e.nodes_start;r!==null&&r!==n;){var o=se(r);a.before(r),r=o}}function ue(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 ba(e,t){na(()=>{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 za(e,t,i){var n=""+e;return n}function $a(e,t){return e==null?null:String(e)}function xa(e,t,i,n,a,r){var o=e.__className;if(m||o!==i||o===void 0){var l=za(i);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=i}return r}function Ta(e,t,i,n){var a=e.__style;if(m||a!==t){var r=$a(t);(!m||r!==e.getAttribute("style"))&&(r==null?e.removeAttribute("style"):e.style.cssText=r),e.__style=t}return n}const Ea=Symbol("is custom element"),Pa=Symbol("is html");function Ca(e,t,i,n){var a=Ia(e);m&&(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"&&rn(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function Et(e,t,i){var n=_,a=k;let r=m;m&&ne(!1),q(null),X(null);try{t!=="style"&&(Qt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?rn(e).includes(t):i&&typeof i=="object")?e[t]=i:Ca(e,t,i==null?i:String(i))}finally{q(n),X(a),r&&ne(!0)}}function Ia(e){return e.__attributes??={[Ea]:e.nodeName.includes("-"),[Pa]:e.namespaceURI===mn}}var Qt=new Map;function rn(e){var t=e.getAttribute("is")||e.nodeName,i=Qt.get(t);if(i)return i;Qt.set(t,i=[]);for(var n,a=e,r=Element.prototype;r!==a;){n=yn(a);for(var o in n)n[o].set&&i.push(o);a=oi(a)}return i}function Jt(e,t,i,n){var a=n,r=!0,o=()=>(r&&(r=!1,a=n),a),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var c;c=()=>{var d=e[t];return d===void 0?o():(r=!0,d)};var u=!1,s=Ot(()=>(u=!1,c())),p=k;return(function(d,f){if(arguments.length>0){const h=f?w(s):d;return H(s,h),u=!0,a!==void 0&&(a=h),d}return Le&&u||(p.f&ke)!==0?s.v:w(s)})}function Sa(e){return new Aa(e)}class Aa{#t;#e;constructor(t){var i=new Map,n=(r,o)=>{var l=Ti(o,!1,!1);return i.set(r,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(r,o){return w(i.get(o)??n(o,Reflect.get(r,o)))},has(r,o){return o===zn?!0:(w(i.get(o)??n(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,l){return H(i.get(o)??n(o,l),l),Reflect.set(r,o,l)}});this.#e=(t.hydrate?ga:tn)(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)&&bt(),this.#t=a.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||ft(this,r,{get(){return this.#e[r]},set(o){this.#e[r]=o},enumerable:!0});this.#e.$set=r=>{Object.assign(a,r)},this.#e.$destroy=()=>{ya(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 on;typeof HTMLElement=="function"&&(on=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 r=document.createElement("slot");n!=="default"&&(r.name=n),ee(a,r)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=La(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]=Pt(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=Sa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ta(()=>{Ni(()=>{this.$$r=!0;for(const n of dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const a=Pt(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 r=this.$$c.$on(n,a);this.$$l_u.set(a,r)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Pt(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 dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Pt(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 La(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}function qa(e,t,i,n,a,r){let o=class extends on{constructor(){super(e,i,a),this.$$p_d=t}static get observedAttributes(){return dt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return dt(t).forEach(l=>{ft(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){c=Pt(l,c,t),this.$$d[l]=c;var u=this.$$c;if(u){var s=Re(u,l)?.get;s?u[l]=c:u.$set({[l]:c})}}})}),n.forEach(l=>{ft(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Da={version:"0.61.58"};var De={},sn;function Na(){if(sn)return De;sn=1,Object.defineProperty(De,"__esModule",{value:!0}),De.LanguageTranslator=void 0,De.getChildStyleToPass=e,De.addComponent=t;function e(n,a){var r,o,l="";try{if(n&&a?.length&&(!((r=Object.keys(n))===null||r===void 0)&&r.length)&&(!((o=a?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||o===void 0)&&o.length))for(var c=function(d){var f=a?.filter(function(h){return h.name===d&&h.defaultValue!==n[d]});f&&(l+="".concat(d,":").concat(n[d],";"))},u=0,s=Object.keys(n);u<s.length;u++){var p=s[u];c(p)}}catch(d){console.error("error getting child style to pass",d)}finally{return l}}function t(n){var a,r=((a=n?.repoName.split("/"))===null||a===void 0?void 0:a[1])||n?.repoName;if(!r)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(r+"-script"))try{var l=document.createElement("script");if(l.id=r+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var c=r.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(r.replace(c+"-",""),"/").concat(o)}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,r){return n.getDictionaryWord(a,this.dictionary,r||this.lang)},n.prototype.translateDate=function(a,r,o){return n.formatDate(a,r,o||this.lang)},n.getDefaultLang=function(){var a,r,o,l="en";return navigator?.languages&&(!((o=(r=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||r===void 0?void 0:r.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(a,r,o){var l;if(!a)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(o&&(!((l=r[o])===null||l===void 0)&&l[a]))return r[o][a];var c="",u=n.getDefaultLang();if(!o||u!==o){var s=r?.[u];s?.[a]&&(c=s[a])}return c},n.formatDate=function(a,r,o){if(!a)throw new Error("no date provided");if(typeof a.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||n.getDefaultLang(),r);return l.format(a)},n})();return De.LanguageTranslator=i,De}var Kt=Na();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 r=n.paragraphs.filter(o=>o).sort((o,l)=>o.index-l.index);for(const o of r){o.index=a,a++;let l=1;if(o.list?.length){const c=o.list.filter(u=>u).sort((u,s)=>u.index-s.index);for(const u of c)u.index=l,l++;o.list=c}}n.paragraphs=r}return e.chapters=i,e}const N=[{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 R(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
3
3
  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
4
4
  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
5
5
  link in esso contenuti.`,index:2},{key:"i4",content:`Scopo del presente documento è fornire indicazioni circa le modalità, i tempi e la natura delle informazioni che i titolari del trattamento devono
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.57"
693
+ "version": "0.61.58"
694
694
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-terms-doc-templates",
3
- "version": "0.61.57",
3
+ "version": "0.61.58",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [