@htmlbricks/hb-terms-doc-templates 0.50.0-alpha.25 → 0.50.0-alpha.27

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
- var Pa=Object.defineProperty;var Yi=C=>{throw TypeError(C)};var Ia=(C,S,L)=>S in C?Pa(C,S,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[S]=L;var Y=(C,S,L)=>Ia(C,typeof S!="symbol"?S+"":S,L),Wi=(C,S,L)=>S.has(C)||Yi("Cannot "+L);var j=(C,S,L)=>(Wi(C,S,"read from private field"),L?L.call(C):S.get(C)),Yt=(C,S,L)=>S.has(C)?Yi("Cannot add the same private member more than once"):S instanceof WeakSet?S.add(C):S.set(C,L),Wt=(C,S,L,Pe)=>(Wi(C,S,"write to private field"),Pe?Pe.call(C,L):S.set(C,L),L);(function(C){"use strict";var fe,J;const S="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(S);const L=1,Pe=2,Ht=4,Hi=8,Bi=16,Qi=1,Xi=2,Bt="[",gt="[!",yt="]",je={},M=Symbol(),_t=!1,ee=2,Qt=4,kt=8,wt=16,oe=32,Ie=64,Ke=128,W=256,Ze=512,U=1024,se=2048,Ce=4096,le=8192,et=16384,Ji=32768,zt=65536,Ki=1<<19,Xt=1<<20,bt=Symbol("$state"),Zi=Symbol("legacy props"),en=Symbol("");var $t=Array.isArray,tn=Array.prototype.indexOf,xt=Array.from,tt=Object.keys,it=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,nn=Object.getOwnPropertyDescriptors,an=Object.prototype,rn=Array.prototype,Jt=Object.getPrototypeOf;function on(e){for(var t=0;t<e.length;t++)e[t]()}let nt=!1,Tt=[];function Kt(){nt=!1;const e=Tt.slice();Tt=[],on(e)}function Zt(e){nt||(nt=!0,queueMicrotask(Kt)),Tt.push(e)}function sn(){nt&&Kt()}function ei(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 ti(e){return!ln(e,this.v)}function cn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function un(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function dn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function fn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function pn(){throw new Error("https://svelte.dev/e/hydration_failed")}function hn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vn(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function gn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let yn=!1;function H(e,t){var i={f:0,v:e,reactions:null,equals:ei,rv:0,wv:0};return i}function Et(e){return _n(H(e))}function Pt(e,t=!1){const i=H(e);return t||(i.equals=ti),i}function _n(e){return T!==null&&!ne&&T.f&ee&&(ae===null?$n([e]):ae.push(e)),e}function q(e,t){return T!==null&&!ne&&Ii()&&T.f&(ee|wt)&&(ae===null||!ae.includes(e))&&gn(),It(e,t)}function It(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=mi(),ii(e,se),x!==null&&x.f&U&&!(x.f&(oe|Ie))&&(ce===null?xn([e]):ce.push(e))),t}function ii(e,t){var i=e.reactions;if(i!==null)for(var a=i.length,n=0;n<a;n++){var r=i[n],o=r.f;o&se||(ue(r,t),o&(U|W)&&(o&ee?ii(r,Ce):ut(r)))}}function Ct(e){var t=ee|se,i=T!==null&&T.f&ee?T:null;return x===null||i!==null&&i.f&W?t|=W:x.f|=Xt,{ctx:V,deps:null,effects:null,equals:ei,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:i??x}}function kn(e){const t=Ct(e);return t.equals=ti,t}function ni(e){var t=e.effects;if(t!==null){e.effects=null;for(var i=0;i<t.length;i+=1)de(t[i])}}function wn(e){for(var t=e.parent;t!==null;){if(!(t.f&ee))return t;t=t.parent}return null}function zn(e){var t,i=x;ge(wn(e));try{ni(e),t=gi(e)}finally{ge(i)}return t}function ai(e){var t=zn(e),i=(ye||e.f&W)&&e.deps!==null?Ce:U;ue(e,i),e.equals(t)||(e.v=t,e.wv=mi())}function St(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function te(e){E=e}let P;function B(e){if(e===null)throw St(),je;return P=e}function at(){return B(me(P))}function Le(e){if(E){if(me(P)!==null)throw St(),je;P=e}}function Lt(){for(var e=0,t=P;;){if(t.nodeType===8){var i=t.data;if(i===yt){if(e===0)return t;e-=1}else(i===Bt||i===gt)&&(e+=1)}var a=me(t);t.remove(),t=a}}function Q(e,t=null,i){if(typeof e!="object"||e===null||bt in e)return e;const a=Jt(e);if(a!==an&&a!==rn)return e;var n=new Map,r=$t(e),o=H(0);r&&n.set("length",H(e.length));var c;return new Proxy(e,{defineProperty(d,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&hn();var h=n.get(u);return h===void 0?(h=H(f.value),n.set(u,h)):q(h,Q(f.value,c)),!0},deleteProperty(d,u){var f=n.get(u);if(f===void 0)u in d&&n.set(u,H(M));else{if(r&&typeof u=="string"){var h=n.get("length"),l=Number(u);Number.isInteger(l)&&l<h.v&&q(h,l)}q(f,M),ri(o)}return!0},get(d,u,f){var p;if(u===bt)return e;var h=n.get(u),l=u in d;if(h===void 0&&(!l||(p=Se(d,u))!=null&&p.writable)&&(h=H(Q(l?d[u]:M,c)),n.set(u,h)),h!==void 0){var m=z(h);return m===M?void 0:m}return Reflect.get(d,u,f)},getOwnPropertyDescriptor(d,u){var f=Reflect.getOwnPropertyDescriptor(d,u);if(f&&"value"in f){var h=n.get(u);h&&(f.value=z(h))}else if(f===void 0){var l=n.get(u),m=l==null?void 0:l.v;if(l!==void 0&&m!==M)return{enumerable:!0,configurable:!0,value:m,writable:!0}}return f},has(d,u){var m;if(u===bt)return!0;var f=n.get(u),h=f!==void 0&&f.v!==M||Reflect.has(d,u);if(f!==void 0||x!==null&&(!h||(m=Se(d,u))!=null&&m.writable)){f===void 0&&(f=H(h?Q(d[u],c):M),n.set(u,f));var l=z(f);if(l===M)return!1}return h},set(d,u,f,h){var s;var l=n.get(u),m=u in d;if(r&&u==="length")for(var p=f;p<l.v;p+=1){var v=n.get(p+"");v!==void 0?q(v,M):p in d&&(v=H(M),n.set(p+"",v))}l===void 0?(!m||(s=Se(d,u))!=null&&s.writable)&&(l=H(void 0),q(l,Q(f,c)),n.set(u,l)):(m=l.v!==M,q(l,Q(f,c)));var _=Reflect.getOwnPropertyDescriptor(d,u);if(_!=null&&_.set&&_.set.call(h,f),!m){if(r&&typeof u=="string"){var b=n.get("length"),k=Number(u);Number.isInteger(k)&&k>=b.v&&q(b,k+1)}ri(o)}return!0},ownKeys(d){z(o);var u=Reflect.ownKeys(d).filter(l=>{var m=n.get(l);return m===void 0||m.v!==M});for(var[f,h]of n)h.v!==M&&!(f in d)&&u.push(f);return u},setPrototypeOf(){mn()}})}function ri(e,t=1){q(e,e.v+t)}var oi,si,li,ci;function At(){if(oi===void 0){oi=window,si=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;li=Se(t,"firstChild").get,ci=Se(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function he(e=""){return document.createTextNode(e)}function $e(e){return li.call(e)}function me(e){return ci.call(e)}function Ge(e,t){if(!E)return $e(e);var i=$e(P);if(i===null)i=P.appendChild(he());else if(t&&i.nodeType!==3){var a=he();return i==null||i.before(a),B(a),a}return B(i),i}function Ve(e,t){if(!E){var i=$e(e);return i instanceof Comment&&i.data===""?me(i):i}return P}function Ye(e,t=1,i=!1){let a=E?P:e;for(var n;t--;)n=a,a=me(a);if(!E)return a;var r=a==null?void 0:a.nodeType;if(i&&r!==3){var o=he();return a===null?n==null||n.after(o):a.before(o),B(o),o}return B(a),a}function ui(e){e.textContent=""}const di=0,bn=1;let rt=!1,ot=di,We=!1,He=null,Ae=!1,qt=!1;function fi(e){Ae=e}function pi(e){qt=e}let xe=[],qe=0,Ca=[],T=null,ne=!1;function ve(e){T=e}let x=null;function ge(e){x=e}let ae=null;function $n(e){ae=e}let R=null,G=0,ce=null;function xn(e){ce=e}let hi=1,st=0,ye=!1;function mi(){return++hi}function Be(e){var h;var t=e.f;if(t&se)return!0;if(t&Ce){var i=e.deps,a=(t&W)!==0;if(i!==null){var n,r,o=(t&Ze)!==0,c=a&&x!==null&&!ye,d=i.length;if(o||c){var u=e,f=u.parent;for(n=0;n<d;n++)r=i[n],(o||!((h=r==null?void 0:r.reactions)!=null&&h.includes(u)))&&(r.reactions??(r.reactions=[])).push(u);o&&(u.f^=Ze),c&&f!==null&&!(f.f&W)&&(u.f^=W)}for(n=0;n<d;n++)if(r=i[n],Be(r)&&ai(r),r.wv>e.wv)return!0}(!a||x!==null&&!ye)&&ue(e,U)}return!1}function Tn(e,t){for(var i=t;i!==null;){if(i.f&Ke)try{i.fn(e);return}catch{i.f^=Ke}i=i.parent}throw rt=!1,e}function En(e){return(e.f&et)===0&&(e.parent===null||(e.parent.f&Ke)===0)}function lt(e,t,i,a){if(rt){if(i===null&&(rt=!1),En(t))throw e;return}i!==null&&(rt=!0);{Tn(e,t);return}}function vi(e,t,i=!0){var a=e.reactions;if(a!==null)for(var n=0;n<a.length;n++){var r=a[n];r.f&ee?vi(r,t,!1):t===r&&(i?ue(r,se):r.f&U&&ue(r,Ce),ut(r))}}function gi(e){var m;var t=R,i=G,a=ce,n=T,r=ye,o=ae,c=V,d=ne,u=e.f;R=null,G=0,ce=null,T=u&(oe|Ie)?null:e,ye=(u&W)!==0&&(!Ae||n===null||d),ae=null,Ti(e.ctx),ne=!1,st++;try{var f=(0,e.fn)(),h=e.deps;if(R!==null){var l;if(ct(e,G),h!==null&&G>0)for(h.length=G+R.length,l=0;l<R.length;l++)h[G+l]=R[l];else e.deps=h=R;if(!ye)for(l=G;l<h.length;l++)((m=h[l]).reactions??(m.reactions=[])).push(e)}else h!==null&&G<h.length&&(ct(e,G),h.length=G);if(Ii()&&ce!==null&&!ne&&h!==null&&!(e.f&(ee|Ce|se)))for(l=0;l<ce.length;l++)vi(ce[l],e);return n!==null&&st++,f}finally{R=t,G=i,ce=a,T=n,ye=r,ae=o,Ti(c),ne=d}}function Pn(e,t){let i=t.reactions;if(i!==null){var a=tn.call(i,e);if(a!==-1){var n=i.length-1;n===0?i=t.reactions=null:(i[a]=i[n],i.pop())}}i===null&&t.f&ee&&(R===null||!R.includes(t))&&(ue(t,Ce),t.f&(W|Ze)||(t.f^=Ze),ni(t),ct(t,0))}function ct(e,t){var i=e.deps;if(i!==null)for(var a=t;a<i.length;a++)Pn(e,i[a])}function Dt(e){var t=e.f;if(!(t&et)){ue(e,U);var i=x,a=V;x=e;try{t&wt?Mn(e):zi(e),wi(e);var n=gi(e);e.teardown=typeof n=="function"?n:null,e.wv=hi;var r=e.deps,o;_t&&yn&&e.f&se}catch(c){lt(c,e,i,a||e.ctx)}finally{x=i}}}function yi(){if(qe>1e3){qe=0;try{fn()}catch(e){if(He!==null)lt(e,He,null);else throw e}}qe++}function _i(e){var t=e.length;if(t!==0){yi();var i=Ae;Ae=!0;try{for(var a=0;a<t;a++){var n=e[a];n.f&U||(n.f^=U);var r=Sn(n);In(r)}}finally{Ae=i}}}function In(e){var t=e.length;if(t!==0)for(var i=0;i<t;i++){var a=e[i];if(!(a.f&(et|le)))try{Be(a)&&(Dt(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null?bi(a):a.fn=null))}catch(n){lt(n,a,null,a.ctx)}}}function Cn(){if(We=!1,qe>1001)return;const e=xe;xe=[],_i(e),We||(qe=0,He=null)}function ut(e){ot===di&&(We||(We=!0,queueMicrotask(Cn))),He=e;for(var t=e;t.parent!==null;){t=t.parent;var i=t.f;if(i&(Ie|oe)){if(!(i&U))return;t.f^=U}}xe.push(t)}function Sn(e){var t=[],i=e.first;e:for(;i!==null;){var a=i.f,n=(a&oe)!==0,r=n&&(a&U)!==0,o=i.next;if(!r&&!(a&le)){if(a&Qt)t.push(i);else if(n)i.f^=U;else{var c=T;try{T=i,Be(i)&&Dt(i)}catch(f){lt(f,i,null,i.ctx)}finally{T=c}}var d=i.first;if(d!==null){i=d;continue}}if(o===null){let f=i.parent;for(;f!==null;){if(e===f)break e;var u=f.next;if(u!==null){i=u;continue e}f=f.parent}}i=o}return t}function De(e){var t=ot,i=xe;try{yi();const n=[];ot=bn,xe=n,We=!1,_i(i);var a=e==null?void 0:e();return sn(),(xe.length>0||n.length>0)&&De(),qe=0,He=null,a}finally{ot=t,xe=i}}function z(e){var t=e.f,i=(t&ee)!==0;if(T!==null&&!ne){ae!==null&&ae.includes(e)&&vn();var a=T.deps;e.rv<st&&(e.rv=st,R===null&&a!==null&&a[G]===e?G++:R===null?R=[e]:(!ye||!R.includes(e))&&R.push(e))}else if(i&&e.deps===null&&e.effects===null){var n=e,r=n.parent;r!==null&&!(r.f&W)&&(n.f^=W)}return i&&(n=e,Be(n)&&ai(n)),e.v}function Ln(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const An=-7169;function ue(e,t){e.f=e.f&An|t}function qn(e){x===null&&T===null&&dn(),T!==null&&T.f&W&&x===null&&un(),qt&&cn()}function Dn(e,t){var i=t.last;i===null?t.last=t.first=e:(i.next=e,e.prev=i,t.last=e)}function Ne(e,t,i,a=!0){var n=(e&Ie)!==0,r=x,o={ctx:V,deps:null,nodes_start:null,nodes_end:null,f:e|se,first:null,fn:t,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(i){var c=Ae;try{fi(!0),Dt(o),o.f|=Ji}catch(f){throw de(o),f}finally{fi(c)}}else t!==null&&ut(o);var d=i&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(Xt|Ke))===0;if(!d&&!n&&a&&(r!==null&&Dn(o,r),T!==null&&T.f&ee)){var u=T;(u.effects??(u.effects=[])).push(o)}return o}function Nn(e){qn();var t=x!==null&&(x.f&oe)!==0&&V!==null&&!V.m;if(t){var i=V;(i.e??(i.e=[])).push({fn:e,effect:x,reaction:T})}else{var a=ki(e);return a}}function Rn(e){const t=Ne(Ie,e,!0);return()=>{de(t)}}function On(e){const t=Ne(Ie,e,!0);return(i={})=>new Promise(a=>{i.outro?dt(t,()=>{de(t),a(void 0)}):(de(t),a(void 0))})}function ki(e){return Ne(Qt,e,!1)}function Fn(e){return Ne(kt,e,!0)}function _e(e,t=[],i=Ct){const a=t.map(i);return Nt(()=>e(...a.map(z)))}function Nt(e,t=0){return Ne(kt|wt|t,e,!0)}function Qe(e,t=!0){return Ne(kt|oe,e,!0,t)}function wi(e){var t=e.teardown;if(t!==null){const i=qt,a=T;pi(!0),ve(null);try{t.call(null)}finally{pi(i),ve(a)}}}function zi(e,t=!1){var i=e.first;for(e.first=e.last=null;i!==null;){var a=i.next;de(i,t),i=a}}function Mn(e){for(var t=e.first;t!==null;){var i=t.next;t.f&oe||de(t),t=i}}function de(e,t=!0){var i=!1;if((t||e.f&Ki)&&e.nodes_start!==null){for(var a=e.nodes_start,n=e.nodes_end;a!==null;){var r=a===n?null:me(a);a.remove(),a=r}i=!0}zi(e,t&&!i),ct(e,0),ue(e,et);var o=e.transitions;if(o!==null)for(const d of o)d.stop();wi(e);var c=e.parent;c!==null&&c.first!==null&&bi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function bi(e){var t=e.parent,i=e.prev,a=e.next;i!==null&&(i.next=a),a!==null&&(a.prev=i),t!==null&&(t.first===e&&(t.first=a),t.last===e&&(t.last=i))}function dt(e,t){var i=[];Rt(e,i,!0),$i(i,()=>{de(e),t&&t()})}function $i(e,t){var i=e.length;if(i>0){var a=()=>--i||t();for(var n of e)n.out(a)}else t()}function Rt(e,t,i){if(!(e.f&le)){if(e.f^=le,e.transitions!==null)for(const o of e.transitions)(o.is_global||i)&&t.push(o);for(var a=e.first;a!==null;){var n=a.next,r=(a.f&zt)!==0||(a.f&oe)!==0;Rt(a,t,r?i:!1),a=n}}}function ft(e){xi(e,!0)}function xi(e,t){if(e.f&le){e.f^=le,e.f&U||(e.f^=U),Be(e)&&(ue(e,se),ut(e));for(var i=e.first;i!==null;){var a=i.next,n=(i.f&zt)!==0||(i.f&oe)!==0;xi(i,n?t:!1),i=a}if(e.transitions!==null)for(const r of e.transitions)(r.is_global||t)&&r.in()}}let V=null;function Ti(e){V=e}function Ei(e,t=!1,i){V={p:V,c:null,e:null,m:!1,s:e,x:null,l:null}}function Pi(e){const t=V;if(t!==null){e!==void 0&&(t.x=e);const o=t.e;if(o!==null){var i=x,a=T;t.e=null;try{for(var n=0;n<o.length;n++){var r=o[n];ge(r.effect),ve(r.reaction),ki(r.fn)}}finally{ge(i),ve(a)}}V=t.p,t.m=!0}return e||{}}function Ii(){return!0}const Un=["touchstart","touchmove"];function jn(e){return Un.includes(e)}const Gn=new Set,Ci=new Set;function pt(e){var k;var t=this,i=t.ownerDocument,a=e.type,n=((k=e.composedPath)==null?void 0:k.call(e))||[],r=n[0]||e.target,o=0,c=e.__root;if(c){var d=n.indexOf(c);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var u=n.indexOf(t);if(u===-1)return;d<=u&&(o=d)}if(r=n[o]||e.target,r!==t){it(e,"currentTarget",{configurable:!0,get(){return r||i}});var f=T,h=x;ve(null),ge(null);try{for(var l,m=[];r!==null;){var p=r.assignedSlot||r.parentNode||r.host||null;try{var v=r["__"+a];if(v!==void 0&&!r.disabled)if($t(v)){var[_,...b]=v;_.apply(r,[e,...b])}else v.call(r,e)}catch(s){l?m.push(s):l=s}if(e.cancelBubble||p===t||p===null)break;r=p}if(l){for(let s of m)queueMicrotask(()=>{throw s});throw l}}finally{e.__root=t,delete e.currentTarget,ve(f),ge(h)}}}function Vn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function ke(e,t){var i=x;i.nodes_start===null&&(i.nodes_start=e,i.nodes_end=t)}function we(e,t){var i=(t&Qi)!==0,a=(t&Xi)!==0,n,r=!e.startsWith("<!>");return()=>{if(E)return ke(P,null),P;n===void 0&&(n=Vn(r?e:"<!>"+e),i||(n=$e(n)));var o=a||si?document.importNode(n,!0):n.cloneNode(!0);if(i){var c=$e(o),d=o.lastChild;ke(c,d)}else ke(o,o);return o}}function Yn(e=""){if(!E){var t=he(e+"");return ke(t,t),t}var i=P;return i.nodeType!==3&&(i.before(i=he()),B(i)),ke(i,i),i}function Si(){if(E)return ke(P,null),P;var e=document.createDocumentFragment(),t=document.createComment(""),i=he();return e.append(t,i),ke(t,i),e}function X(e,t){if(E){x.nodes_end=P,at();return}e!==null&&e.before(t)}function Xe(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=i,e.nodeValue=i+"")}function Li(e,t){return Ai(e,t)}function Wn(e,t){At(),t.intro=t.intro??!1;const i=t.target,a=E,n=P;try{for(var r=$e(i);r&&(r.nodeType!==8||r.data!==Bt);)r=me(r);if(!r)throw je;te(!0),B(r),at();const o=Ai(e,{...t,anchor:r});if(P===null||P.nodeType!==8||P.data!==yt)throw St(),je;return te(!1),o}catch(o){if(o===je)return t.recover===!1&&pn(),At(),ui(i),te(!1),Li(e,t);throw o}finally{te(a),B(n)}}const Re=new Map;function Ai(e,{target:t,anchor:i,props:a={},events:n,context:r,intro:o=!0}){At();var c=new Set,d=h=>{for(var l=0;l<h.length;l++){var m=h[l];if(!c.has(m)){c.add(m);var p=jn(m);t.addEventListener(m,pt,{passive:p});var v=Re.get(m);v===void 0?(document.addEventListener(m,pt,{passive:p}),Re.set(m,1)):Re.set(m,v+1)}}};d(xt(Gn)),Ci.add(d);var u=void 0,f=On(()=>{var h=i??t.appendChild(he());return Qe(()=>{if(r){Ei({});var l=V;l.c=r}n&&(a.$$events=n),E&&ke(h,null),u=e(h,a)||{},E&&(x.nodes_end=P),r&&Pi()}),()=>{var p;for(var l of c){t.removeEventListener(l,pt);var m=Re.get(l);--m===0?(document.removeEventListener(l,pt),Re.delete(l)):Re.set(l,m)}Ci.delete(d),h!==i&&((p=h.parentNode)==null||p.removeChild(h))}});return Ot.set(u,f),u}let Ot=new WeakMap;function Hn(e,t){const i=Ot.get(e);return i?(Ot.delete(e),i(t)):Promise.resolve()}function Oe(e,t,i=!1){E&&at();var a=e,n=null,r=null,o=M,c=i?zt:0,d=!1;const u=(h,l=!0)=>{d=!0,f(l,h)},f=(h,l)=>{if(o===(o=h))return;let m=!1;if(E){const p=a.data===gt;!!o===p&&(a=Lt(),B(a),te(!1),m=!0)}o?(n?ft(n):l&&(n=Qe(()=>l(a))),r&&dt(r,()=>{r=null})):(r?ft(r):l&&(r=Qe(()=>l(a))),n&&dt(n,()=>{n=null})),m&&te(!0)};Nt(()=>{d=!1,t(u),d||f(null,null)},c),E&&(a=P)}function Bn(e,t,i,a){for(var n=[],r=t.length,o=0;o<r;o++)Rt(t[o].e,n,!0);var c=r>0&&n.length===0&&i!==null;if(c){var d=i.parentNode;ui(d),d.append(i),a.clear(),ze(e,t[0].prev,t[r-1].next)}$i(n,()=>{for(var u=0;u<r;u++){var f=t[u];c||(a.delete(f.k),ze(e,f.prev,f.next)),de(f.e,!c)}})}function Ft(e,t,i,a,n,r=null){var o=e,c={items:new Map,first:null},d=(t&Ht)!==0;if(d){var u=e;o=E?B($e(u)):u.appendChild(he())}E&&at();var f=null,h=!1,l=kn(()=>{var m=i();return $t(m)?m:m==null?[]:xt(m)});Nt(()=>{var m=z(l),p=m.length;if(h&&p===0)return;h=p===0;let v=!1;if(E){var _=o.data===gt;_!==(p===0)&&(o=Lt(),B(o),te(!1),v=!0)}if(E){for(var b=null,k,s=0;s<p;s++){if(P.nodeType===8&&P.data===yt){o=P,v=!0,te(!1);break}var g=m[s],$=a(g,s);k=qi(P,c,b,null,g,$,s,n,t,i),c.items.set($,k),b=k}p>0&&B(Lt())}E||Qn(m,c,o,n,t,a,i),r!==null&&(p===0?f?ft(f):f=Qe(()=>r(o)):f!==null&&dt(f,()=>{f=null})),v&&te(!0),z(l)}),E&&(o=P)}function Qn(e,t,i,a,n,r,o){var y,A,Ee,vt;var c=(n&Hi)!==0,d=(n&(L|Pe))!==0,u=e.length,f=t.items,h=t.first,l=h,m,p=null,v,_=[],b=[],k,s,g,$;if(c)for($=0;$<u;$+=1)k=e[$],s=r(k,$),g=f.get(s),g!==void 0&&((y=g.a)==null||y.measure(),(v??(v=new Set)).add(g));for($=0;$<u;$+=1){if(k=e[$],s=r(k,$),g=f.get(s),g===void 0){var Ue=l?l.e.nodes_start:i;p=qi(Ue,t,p,p===null?t.first:p.next,k,s,$,a,n,o),f.set(s,p),_=[],b=[],l=p.next;continue}if(d&&Xn(g,k,$,n),g.e.f&le&&(ft(g.e),c&&((A=g.a)==null||A.unfix(),(v??(v=new Set)).delete(g))),g!==l){if(m!==void 0&&m.has(g)){if(_.length<b.length){var K=b[0],O;p=K.prev;var ie=_[0],re=_[_.length-1];for(O=0;O<_.length;O+=1)Di(_[O],K,i);for(O=0;O<b.length;O+=1)m.delete(b[O]);ze(t,ie.prev,re.next),ze(t,p,ie),ze(t,re,K),l=K,p=re,$-=1,_=[],b=[]}else m.delete(g),Di(g,l,i),ze(t,g.prev,g.next),ze(t,g,p===null?t.first:p.next),ze(t,p,g),p=g;continue}for(_=[],b=[];l!==null&&l.k!==s;)l.e.f&le||(m??(m=new Set)).add(l),b.push(l),l=l.next;if(l===null)continue;g=l}_.push(g),p=g,l=g.next}if(l!==null||m!==void 0){for(var pe=m===void 0?[]:xt(m);l!==null;)l.e.f&le||pe.push(l),l=l.next;var Te=pe.length;if(Te>0){var w=n&Ht&&u===0?i:null;if(c){for($=0;$<Te;$+=1)(Ee=pe[$].a)==null||Ee.measure();for($=0;$<Te;$+=1)(vt=pe[$].a)==null||vt.fix()}Bn(t,pe,w,f)}}c&&Zt(()=>{var Je;if(v!==void 0)for(g of v)(Je=g.a)==null||Je.apply()}),x.first=t.first&&t.first.e,x.last=p&&p.e}function Xn(e,t,i,a){a&L&&It(e.v,t),a&Pe?It(e.i,i):e.i=i}function qi(e,t,i,a,n,r,o,c,d,u){var f=(d&L)!==0,h=(d&Bi)===0,l=f?h?Pt(n):H(n):n,m=d&Pe?H(o):o,p={i:m,v:l,k:r,a:null,e:null,prev:i,next:a};try{return p.e=Qe(()=>c(e,l,m,u),E),p.e.prev=i&&i.e,p.e.next=a&&a.e,i===null?t.first=p:(i.next=p,i.e.next=p.e),a!==null&&(a.prev=p,a.e.prev=p.e),p}finally{}}function Di(e,t,i){for(var a=e.next?e.next.e.nodes_start:i,n=t?t.e.nodes_start:i,r=e.e.nodes_start;r!==a;){var o=me(r);n.before(r),r=o}}function ze(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 Jn(e,t){Zt(()=>{var i=e.getRootNode(),a=i.host?i:i.head??i.ownerDocument.head;if(!a.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,a.appendChild(n)}})}function Kn(e,t,i,a){var n=e.__attributes??(e.__attributes={});E&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=i)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[en]=i),i==null?e.removeAttribute(t):typeof i!="string"&&Ni(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function Fe(e,t,i){var a=T,n=x;let r=E;E&&te(!1),ve(null),ge(null);try{(Mt.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?Ni(e).includes(t):i&&typeof i=="object")?e[t]=i:Kn(e,t,i==null?i:String(i))}finally{ve(a),ge(n),r&&te(!0)}}var Mt=new Map;function Ni(e){var t=Mt.get(e.nodeName);if(t)return t;Mt.set(e.nodeName,t=[]);for(var i,a=e,n=Element.prototype;n!==a;){i=nn(a);for(var r in i)i[r].set&&t.push(r);a=Jt(a)}return t}function ht(e,t,i,a){var n;n=e[t];var r=a,o=!0,c=!1,d=()=>(c=!0,o&&(o=!1,r=a),r);n===void 0&&a!==void 0&&(n=d());var u;u=()=>{var m=e[t];return m===void 0?d():(o=!0,c=!1,m)};var f=!1,h=Pt(n),l=Ct(()=>{var m=u(),p=z(h);return f?(f=!1,p):h.v=m});return function(m,p){if(arguments.length>0){const v=p?z(l):m;return l.equals(v)||(f=!0,q(h,v),c&&r!==void 0&&(r=v),Ln(()=>z(l))),m}return z(l)}}function Zn(e){return new ea(e)}class ea{constructor(t){Yt(this,fe);Yt(this,J);var r;var i=new Map,a=(o,c)=>{var d=Pt(c);return i.set(o,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(o,c){return z(i.get(c)??a(c,Reflect.get(o,c)))},has(o,c){return c===Zi?!0:(z(i.get(c)??a(c,Reflect.get(o,c))),Reflect.has(o,c))},set(o,c,d){return q(i.get(c)??a(c,d),d),Reflect.set(o,c,d)}});Wt(this,J,(t.hydrate?Wn:Li)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((r=t==null?void 0:t.props)!=null&&r.$$host)||t.sync===!1)&&De(),Wt(this,fe,n.$$events);for(const o of Object.keys(j(this,J)))o==="$set"||o==="$destroy"||o==="$on"||it(this,o,{get(){return j(this,J)[o]},set(c){j(this,J)[o]=c},enumerable:!0});j(this,J).$set=o=>{Object.assign(n,o)},j(this,J).$destroy=()=>{Hn(j(this,J))}}$set(t){j(this,J).$set(t)}$on(t,i){j(this,fe)[t]=j(this,fe)[t]||[];const a=(...n)=>i.call(this,...n);return j(this,fe)[t].push(a),()=>{j(this,fe)[t]=j(this,fe)[t].filter(n=>n!==a)}}$destroy(){j(this,J).$destroy()}}fe=new WeakMap,J=new WeakMap;let Ri;typeof HTMLElement=="function"&&(Ri=class extends HTMLElement{constructor(t,i,a){super();Y(this,"$$ctor");Y(this,"$$s");Y(this,"$$c");Y(this,"$$cn",!1);Y(this,"$$d",{});Y(this,"$$r",!1);Y(this,"$$p_d",{});Y(this,"$$l",{});Y(this,"$$l_u",new Map);Y(this,"$$me");this.$$ctor=t,this.$$s=i,a&&this.attachShadow({mode:"open"})}addEventListener(t,i,a){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,a)}removeEventListener(t,i,a){if(super.removeEventListener(t,i,a),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return r=>{const o=document.createElement("slot");n!=="default"&&(o.name=n),X(r,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const i={},a=ta(this);for(const n of this.$$s)n in a&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),i.default=!0):i[n]=t(n));for(const n of this.attributes){const r=this.$$g_p(n.name);r in this.$$d||(this.$$d[r]=mt(r,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=Zn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$host:this}}),this.$$me=Rn(()=>{Fn(()=>{var n;this.$$r=!0;for(const r of tt(this.$$c)){if(!((n=this.$$p_d[r])!=null&&n.reflect))continue;this.$$d[r]=this.$$c[r];const o=mt(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1})});for(const n in this.$$l)for(const r of this.$$l[n]){const o=this.$$c.$on(n,r);this.$$l_u.set(r,o)}this.$$l={}}}attributeChangedCallback(t,i,a){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mt(t,a,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return tt(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function mt(e,t,i,a){var r;const n=(r=i[e])==null?void 0:r.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!a||!i[e])return t;if(a==="toAttribute")switch(n){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(n){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 ia(e,t,i,a,n,r){let o=class extends Ri{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return tt(t).map(c=>(t[c].attribute||c).toLowerCase())}};return tt(t).forEach(c=>{it(o.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(d){var h;d=mt(c,d,t),this.$$d[c]=d;var u=this.$$c;if(u){var f=(h=Se(u,c))==null?void 0:h.get;f?u[c]=d:u.$set({[c]:d})}}})}),a.forEach(c=>{it(o.prototype,c,{get(){var d;return(d=this.$$c)==null?void 0:d[c]}})}),e.element=o,o}const na={version:"0.50.0-alpha.25"};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Me={},Ut,Oi;function ra(){if(Oi)return Ut;Oi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,d=`
2
- `,u="/",f="*",h="",l="comment",m="declaration";Ut=function(v,_){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];_=_||{};var b=1,k=1;function s(w){var y=w.match(t);y&&(b+=y.length);var A=w.lastIndexOf(d);k=~A?w.length-A:k+w.length}function g(){var w={line:b,column:k};return function(y){return y.position=new $(w),O(),y}}function $(w){this.start=w,this.end={line:b,column:k},this.source=_.source}$.prototype.content=v;function Ue(w){var y=new Error(_.source+":"+b+":"+k+": "+w);if(y.reason=w,y.filename=_.source,y.line=b,y.column=k,y.source=v,!_.silent)throw y}function K(w){var y=w.exec(v);if(y){var A=y[0];return s(A),v=v.slice(A.length),y}}function O(){K(i)}function ie(w){var y;for(w=w||[];y=re();)y!==!1&&w.push(y);return w}function re(){var w=g();if(!(u!=v.charAt(0)||f!=v.charAt(1))){for(var y=2;h!=v.charAt(y)&&(f!=v.charAt(y)||u!=v.charAt(y+1));)++y;if(y+=2,h===v.charAt(y-1))return Ue("End of comment missing");var A=v.slice(2,y-2);return k+=2,s(A),v=v.slice(y),k+=2,w({type:l,comment:A})}}function pe(){var w=g(),y=K(a);if(y){if(re(),!K(n))return Ue("property missing ':'");var A=K(r),Ee=w({type:m,property:p(y[0].replace(e,h)),value:A?p(A[0].replace(e,h)):h});return K(o),Ee}}function Te(){var w=[];ie(w);for(var y;y=pe();)y!==!1&&(w.push(y),ie(w));return w}return O(),Te()};function p(v){return v?v.replace(c,h):h}return Ut}var Fi;function oa(){if(Fi)return Me;Fi=1;var e=Me&&Me.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Me,"__esModule",{value:!0}),Me.default=i;var t=e(ra());function i(a,n){var r=null;if(!a||typeof a!="string")return r;var o=(0,t.default)(a),c=typeof n=="function";return o.forEach(function(d){if(d.type==="declaration"){var u=d.property,f=d.value;c?n(u,f,d):f&&(r=r||{},r[u]=f)}}),r}return Me}var sa=oa();const Mi=aa(sa),la=Mi.default||Mi;function ca(e,t){var a,n;let i="";if(e&&(t!=null&&t.length)&&((a=Object.keys(e))!=null&&a.length)&&((n=t==null?void 0:t.filter(r=>Object.keys(e).includes(r.name)))!=null&&n.length))for(const r of Object.keys(e))(t==null?void 0:t.filter(c=>c.name===r&&c.defaultValue!==e[r]))&&(i+=`${r}:${e[r]};`);return i}function ua(e){var a;const t=((a=e==null?void 0:e.repoName.split("/"))==null?void 0:a[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const i=(e==null?void 0:e.iifePath)||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${i}`,e!=null&&e.local&&location.href.includes("localhost")&&(n.src=`${e.local}`),document.head.appendChild(n)}catch(n){console.warn(n)}}class be{constructor(t){Y(this,"dictionary");Y(this,"lang","");if(!(t!=null&&t.dictionary))throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t==null?void 0:t.lang)}setLang(t){t||(t=be.getDefaultLang()),this.lang=t}translateWord(t,i){return be.getDictionaryWord(t,this.dictionary,i||this.lang)}translateDate(t,i,a){return be.formatDate(t,i,a||this.lang)}static getDefaultLang(){var i,a,n,r,o;let t="en";return navigator!=null&&navigator.languages&&((n=(a=(i=navigator.languages[0])==null?void 0:i.split("-")[0])==null?void 0:a.toLowerCase())!=null&&n.length)&&(t=(o=(r=navigator.languages[0])==null?void 0:r.split("-")[0])==null?void 0:o.toLowerCase()),t}static getDictionaryWord(t,i,a){var o;if(!t)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(a&&((o=i[a])!=null&&o[t]))return i[a][t];let n="";const r=be.getDefaultLang();if(!a||r!==a){const c=i==null?void 0:i[r];c!=null&&c[t]&&(n=c[t])}return n}static formatDate(t,i,a){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(a||be.getDefaultLang(),i).format(t)}}function jt(e){var a;let t=1;const i=e.chapters.filter(n=>n).sort((n,r)=>n.index-r.index);for(const n of i){n.index=t,t++;let r=1;const o=n.paragraphs.filter(c=>c).sort((c,d)=>c.index-d.index);for(const c of o){c.index=r,r++;let d=1;if((a=c.list)!=null&&a.length){const u=c.list.filter(f=>f).sort((f,h)=>f.index-h.index);for(const f of u)f.index=d,d++;c.list=u}}n.paragraphs=o}return e.chapters=i,e}const D=[{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 N(e){return{_id:e.name,name:e.name,service:e.service,porpose:e.purpose,details:(e.storage==="persistent",""+e.durate)}}function da(e){var i,a,n,r,o,c,d,u,f,h;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
1
+ var Pa=Object.defineProperty;var Yi=C=>{throw TypeError(C)};var Ia=(C,S,L)=>S in C?Pa(C,S,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[S]=L;var Y=(C,S,L)=>Ia(C,typeof S!="symbol"?S+"":S,L),Wi=(C,S,L)=>S.has(C)||Yi("Cannot "+L);var j=(C,S,L)=>(Wi(C,S,"read from private field"),L?L.call(C):S.get(C)),Yt=(C,S,L)=>S.has(C)?Yi("Cannot add the same private member more than once"):S instanceof WeakSet?S.add(C):S.set(C,L),Wt=(C,S,L,Pe)=>(Wi(C,S,"write to private field"),Pe?Pe.call(C,L):S.set(C,L),L);(function(C){"use strict";var fe,J;const S="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(S);const L=1,Pe=2,Ht=4,Hi=8,Bi=16,Qi=1,Xi=2,Bt="[",gt="[!",yt="]",je={},M=Symbol(),_t=!1,ee=2,Qt=4,kt=8,wt=16,oe=32,Ie=64,Ke=128,W=256,Ze=512,U=1024,se=2048,Ce=4096,le=8192,et=16384,Ji=32768,zt=65536,Ki=1<<19,Xt=1<<20,bt=Symbol("$state"),Zi=Symbol("legacy props"),en=Symbol("");var $t=Array.isArray,tn=Array.prototype.indexOf,xt=Array.from,tt=Object.keys,it=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,nn=Object.getOwnPropertyDescriptors,an=Object.prototype,rn=Array.prototype,Jt=Object.getPrototypeOf;function on(e){for(var t=0;t<e.length;t++)e[t]()}let nt=!1,Tt=[];function Kt(){nt=!1;const e=Tt.slice();Tt=[],on(e)}function Zt(e){nt||(nt=!0,queueMicrotask(Kt)),Tt.push(e)}function sn(){nt&&Kt()}function ei(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 ti(e){return!ln(e,this.v)}function cn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function un(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function dn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function fn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function pn(){throw new Error("https://svelte.dev/e/hydration_failed")}function hn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vn(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function gn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let yn=!1;function H(e,t){var i={f:0,v:e,reactions:null,equals:ei,rv:0,wv:0};return i}function Et(e){return _n(H(e))}function Pt(e,t=!1){const i=H(e);return t||(i.equals=ti),i}function _n(e){return T!==null&&!ne&&T.f&ee&&(ae===null?$n([e]):ae.push(e)),e}function q(e,t){return T!==null&&!ne&&Ii()&&T.f&(ee|wt)&&(ae===null||!ae.includes(e))&&gn(),It(e,t)}function It(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=mi(),ii(e,se),x!==null&&x.f&U&&!(x.f&(oe|Ie))&&(ce===null?xn([e]):ce.push(e))),t}function ii(e,t){var i=e.reactions;if(i!==null)for(var a=i.length,n=0;n<a;n++){var r=i[n],o=r.f;o&se||(ue(r,t),o&(U|W)&&(o&ee?ii(r,Ce):ut(r)))}}function Ct(e){var t=ee|se,i=T!==null&&T.f&ee?T:null;return x===null||i!==null&&i.f&W?t|=W:x.f|=Xt,{ctx:V,deps:null,effects:null,equals:ei,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:i??x}}function kn(e){const t=Ct(e);return t.equals=ti,t}function ni(e){var t=e.effects;if(t!==null){e.effects=null;for(var i=0;i<t.length;i+=1)de(t[i])}}function wn(e){for(var t=e.parent;t!==null;){if(!(t.f&ee))return t;t=t.parent}return null}function zn(e){var t,i=x;ge(wn(e));try{ni(e),t=gi(e)}finally{ge(i)}return t}function ai(e){var t=zn(e),i=(ye||e.f&W)&&e.deps!==null?Ce:U;ue(e,i),e.equals(t)||(e.v=t,e.wv=mi())}function St(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function te(e){E=e}let P;function B(e){if(e===null)throw St(),je;return P=e}function at(){return B(me(P))}function Le(e){if(E){if(me(P)!==null)throw St(),je;P=e}}function Lt(){for(var e=0,t=P;;){if(t.nodeType===8){var i=t.data;if(i===yt){if(e===0)return t;e-=1}else(i===Bt||i===gt)&&(e+=1)}var a=me(t);t.remove(),t=a}}function Q(e,t=null,i){if(typeof e!="object"||e===null||bt in e)return e;const a=Jt(e);if(a!==an&&a!==rn)return e;var n=new Map,r=$t(e),o=H(0);r&&n.set("length",H(e.length));var c;return new Proxy(e,{defineProperty(d,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&hn();var h=n.get(u);return h===void 0?(h=H(f.value),n.set(u,h)):q(h,Q(f.value,c)),!0},deleteProperty(d,u){var f=n.get(u);if(f===void 0)u in d&&n.set(u,H(M));else{if(r&&typeof u=="string"){var h=n.get("length"),l=Number(u);Number.isInteger(l)&&l<h.v&&q(h,l)}q(f,M),ri(o)}return!0},get(d,u,f){var p;if(u===bt)return e;var h=n.get(u),l=u in d;if(h===void 0&&(!l||(p=Se(d,u))!=null&&p.writable)&&(h=H(Q(l?d[u]:M,c)),n.set(u,h)),h!==void 0){var m=z(h);return m===M?void 0:m}return Reflect.get(d,u,f)},getOwnPropertyDescriptor(d,u){var f=Reflect.getOwnPropertyDescriptor(d,u);if(f&&"value"in f){var h=n.get(u);h&&(f.value=z(h))}else if(f===void 0){var l=n.get(u),m=l==null?void 0:l.v;if(l!==void 0&&m!==M)return{enumerable:!0,configurable:!0,value:m,writable:!0}}return f},has(d,u){var m;if(u===bt)return!0;var f=n.get(u),h=f!==void 0&&f.v!==M||Reflect.has(d,u);if(f!==void 0||x!==null&&(!h||(m=Se(d,u))!=null&&m.writable)){f===void 0&&(f=H(h?Q(d[u],c):M),n.set(u,f));var l=z(f);if(l===M)return!1}return h},set(d,u,f,h){var s;var l=n.get(u),m=u in d;if(r&&u==="length")for(var p=f;p<l.v;p+=1){var v=n.get(p+"");v!==void 0?q(v,M):p in d&&(v=H(M),n.set(p+"",v))}l===void 0?(!m||(s=Se(d,u))!=null&&s.writable)&&(l=H(void 0),q(l,Q(f,c)),n.set(u,l)):(m=l.v!==M,q(l,Q(f,c)));var _=Reflect.getOwnPropertyDescriptor(d,u);if(_!=null&&_.set&&_.set.call(h,f),!m){if(r&&typeof u=="string"){var b=n.get("length"),k=Number(u);Number.isInteger(k)&&k>=b.v&&q(b,k+1)}ri(o)}return!0},ownKeys(d){z(o);var u=Reflect.ownKeys(d).filter(l=>{var m=n.get(l);return m===void 0||m.v!==M});for(var[f,h]of n)h.v!==M&&!(f in d)&&u.push(f);return u},setPrototypeOf(){mn()}})}function ri(e,t=1){q(e,e.v+t)}var oi,si,li,ci;function At(){if(oi===void 0){oi=window,si=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;li=Se(t,"firstChild").get,ci=Se(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function he(e=""){return document.createTextNode(e)}function $e(e){return li.call(e)}function me(e){return ci.call(e)}function Ge(e,t){if(!E)return $e(e);var i=$e(P);if(i===null)i=P.appendChild(he());else if(t&&i.nodeType!==3){var a=he();return i==null||i.before(a),B(a),a}return B(i),i}function Ve(e,t){if(!E){var i=$e(e);return i instanceof Comment&&i.data===""?me(i):i}return P}function Ye(e,t=1,i=!1){let a=E?P:e;for(var n;t--;)n=a,a=me(a);if(!E)return a;var r=a==null?void 0:a.nodeType;if(i&&r!==3){var o=he();return a===null?n==null||n.after(o):a.before(o),B(o),o}return B(a),a}function ui(e){e.textContent=""}const di=0,bn=1;let rt=!1,ot=di,We=!1,He=null,Ae=!1,qt=!1;function fi(e){Ae=e}function pi(e){qt=e}let xe=[],qe=0,Ca=[],T=null,ne=!1;function ve(e){T=e}let x=null;function ge(e){x=e}let ae=null;function $n(e){ae=e}let R=null,G=0,ce=null;function xn(e){ce=e}let hi=1,st=0,ye=!1;function mi(){return++hi}function Be(e){var h;var t=e.f;if(t&se)return!0;if(t&Ce){var i=e.deps,a=(t&W)!==0;if(i!==null){var n,r,o=(t&Ze)!==0,c=a&&x!==null&&!ye,d=i.length;if(o||c){var u=e,f=u.parent;for(n=0;n<d;n++)r=i[n],(o||!((h=r==null?void 0:r.reactions)!=null&&h.includes(u)))&&(r.reactions??(r.reactions=[])).push(u);o&&(u.f^=Ze),c&&f!==null&&!(f.f&W)&&(u.f^=W)}for(n=0;n<d;n++)if(r=i[n],Be(r)&&ai(r),r.wv>e.wv)return!0}(!a||x!==null&&!ye)&&ue(e,U)}return!1}function Tn(e,t){for(var i=t;i!==null;){if(i.f&Ke)try{i.fn(e);return}catch{i.f^=Ke}i=i.parent}throw rt=!1,e}function En(e){return(e.f&et)===0&&(e.parent===null||(e.parent.f&Ke)===0)}function lt(e,t,i,a){if(rt){if(i===null&&(rt=!1),En(t))throw e;return}i!==null&&(rt=!0);{Tn(e,t);return}}function vi(e,t,i=!0){var a=e.reactions;if(a!==null)for(var n=0;n<a.length;n++){var r=a[n];r.f&ee?vi(r,t,!1):t===r&&(i?ue(r,se):r.f&U&&ue(r,Ce),ut(r))}}function gi(e){var m;var t=R,i=G,a=ce,n=T,r=ye,o=ae,c=V,d=ne,u=e.f;R=null,G=0,ce=null,T=u&(oe|Ie)?null:e,ye=(u&W)!==0&&(!Ae||n===null||d),ae=null,Ti(e.ctx),ne=!1,st++;try{var f=(0,e.fn)(),h=e.deps;if(R!==null){var l;if(ct(e,G),h!==null&&G>0)for(h.length=G+R.length,l=0;l<R.length;l++)h[G+l]=R[l];else e.deps=h=R;if(!ye)for(l=G;l<h.length;l++)((m=h[l]).reactions??(m.reactions=[])).push(e)}else h!==null&&G<h.length&&(ct(e,G),h.length=G);if(Ii()&&ce!==null&&!ne&&h!==null&&!(e.f&(ee|Ce|se)))for(l=0;l<ce.length;l++)vi(ce[l],e);return n!==null&&st++,f}finally{R=t,G=i,ce=a,T=n,ye=r,ae=o,Ti(c),ne=d}}function Pn(e,t){let i=t.reactions;if(i!==null){var a=tn.call(i,e);if(a!==-1){var n=i.length-1;n===0?i=t.reactions=null:(i[a]=i[n],i.pop())}}i===null&&t.f&ee&&(R===null||!R.includes(t))&&(ue(t,Ce),t.f&(W|Ze)||(t.f^=Ze),ni(t),ct(t,0))}function ct(e,t){var i=e.deps;if(i!==null)for(var a=t;a<i.length;a++)Pn(e,i[a])}function Dt(e){var t=e.f;if(!(t&et)){ue(e,U);var i=x,a=V;x=e;try{t&wt?Mn(e):zi(e),wi(e);var n=gi(e);e.teardown=typeof n=="function"?n:null,e.wv=hi;var r=e.deps,o;_t&&yn&&e.f&se}catch(c){lt(c,e,i,a||e.ctx)}finally{x=i}}}function yi(){if(qe>1e3){qe=0;try{fn()}catch(e){if(He!==null)lt(e,He,null);else throw e}}qe++}function _i(e){var t=e.length;if(t!==0){yi();var i=Ae;Ae=!0;try{for(var a=0;a<t;a++){var n=e[a];n.f&U||(n.f^=U);var r=Sn(n);In(r)}}finally{Ae=i}}}function In(e){var t=e.length;if(t!==0)for(var i=0;i<t;i++){var a=e[i];if(!(a.f&(et|le)))try{Be(a)&&(Dt(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null?bi(a):a.fn=null))}catch(n){lt(n,a,null,a.ctx)}}}function Cn(){if(We=!1,qe>1001)return;const e=xe;xe=[],_i(e),We||(qe=0,He=null)}function ut(e){ot===di&&(We||(We=!0,queueMicrotask(Cn))),He=e;for(var t=e;t.parent!==null;){t=t.parent;var i=t.f;if(i&(Ie|oe)){if(!(i&U))return;t.f^=U}}xe.push(t)}function Sn(e){var t=[],i=e.first;e:for(;i!==null;){var a=i.f,n=(a&oe)!==0,r=n&&(a&U)!==0,o=i.next;if(!r&&!(a&le)){if(a&Qt)t.push(i);else if(n)i.f^=U;else{var c=T;try{T=i,Be(i)&&Dt(i)}catch(f){lt(f,i,null,i.ctx)}finally{T=c}}var d=i.first;if(d!==null){i=d;continue}}if(o===null){let f=i.parent;for(;f!==null;){if(e===f)break e;var u=f.next;if(u!==null){i=u;continue e}f=f.parent}}i=o}return t}function De(e){var t=ot,i=xe;try{yi();const n=[];ot=bn,xe=n,We=!1,_i(i);var a=e==null?void 0:e();return sn(),(xe.length>0||n.length>0)&&De(),qe=0,He=null,a}finally{ot=t,xe=i}}function z(e){var t=e.f,i=(t&ee)!==0;if(T!==null&&!ne){ae!==null&&ae.includes(e)&&vn();var a=T.deps;e.rv<st&&(e.rv=st,R===null&&a!==null&&a[G]===e?G++:R===null?R=[e]:(!ye||!R.includes(e))&&R.push(e))}else if(i&&e.deps===null&&e.effects===null){var n=e,r=n.parent;r!==null&&!(r.f&W)&&(n.f^=W)}return i&&(n=e,Be(n)&&ai(n)),e.v}function Ln(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const An=-7169;function ue(e,t){e.f=e.f&An|t}function qn(e){x===null&&T===null&&dn(),T!==null&&T.f&W&&x===null&&un(),qt&&cn()}function Dn(e,t){var i=t.last;i===null?t.last=t.first=e:(i.next=e,e.prev=i,t.last=e)}function Ne(e,t,i,a=!0){var n=(e&Ie)!==0,r=x,o={ctx:V,deps:null,nodes_start:null,nodes_end:null,f:e|se,first:null,fn:t,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(i){var c=Ae;try{fi(!0),Dt(o),o.f|=Ji}catch(f){throw de(o),f}finally{fi(c)}}else t!==null&&ut(o);var d=i&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(Xt|Ke))===0;if(!d&&!n&&a&&(r!==null&&Dn(o,r),T!==null&&T.f&ee)){var u=T;(u.effects??(u.effects=[])).push(o)}return o}function Nn(e){qn();var t=x!==null&&(x.f&oe)!==0&&V!==null&&!V.m;if(t){var i=V;(i.e??(i.e=[])).push({fn:e,effect:x,reaction:T})}else{var a=ki(e);return a}}function Rn(e){const t=Ne(Ie,e,!0);return()=>{de(t)}}function On(e){const t=Ne(Ie,e,!0);return(i={})=>new Promise(a=>{i.outro?dt(t,()=>{de(t),a(void 0)}):(de(t),a(void 0))})}function ki(e){return Ne(Qt,e,!1)}function Fn(e){return Ne(kt,e,!0)}function _e(e,t=[],i=Ct){const a=t.map(i);return Nt(()=>e(...a.map(z)))}function Nt(e,t=0){return Ne(kt|wt|t,e,!0)}function Qe(e,t=!0){return Ne(kt|oe,e,!0,t)}function wi(e){var t=e.teardown;if(t!==null){const i=qt,a=T;pi(!0),ve(null);try{t.call(null)}finally{pi(i),ve(a)}}}function zi(e,t=!1){var i=e.first;for(e.first=e.last=null;i!==null;){var a=i.next;de(i,t),i=a}}function Mn(e){for(var t=e.first;t!==null;){var i=t.next;t.f&oe||de(t),t=i}}function de(e,t=!0){var i=!1;if((t||e.f&Ki)&&e.nodes_start!==null){for(var a=e.nodes_start,n=e.nodes_end;a!==null;){var r=a===n?null:me(a);a.remove(),a=r}i=!0}zi(e,t&&!i),ct(e,0),ue(e,et);var o=e.transitions;if(o!==null)for(const d of o)d.stop();wi(e);var c=e.parent;c!==null&&c.first!==null&&bi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function bi(e){var t=e.parent,i=e.prev,a=e.next;i!==null&&(i.next=a),a!==null&&(a.prev=i),t!==null&&(t.first===e&&(t.first=a),t.last===e&&(t.last=i))}function dt(e,t){var i=[];Rt(e,i,!0),$i(i,()=>{de(e),t&&t()})}function $i(e,t){var i=e.length;if(i>0){var a=()=>--i||t();for(var n of e)n.out(a)}else t()}function Rt(e,t,i){if(!(e.f&le)){if(e.f^=le,e.transitions!==null)for(const o of e.transitions)(o.is_global||i)&&t.push(o);for(var a=e.first;a!==null;){var n=a.next,r=(a.f&zt)!==0||(a.f&oe)!==0;Rt(a,t,r?i:!1),a=n}}}function ft(e){xi(e,!0)}function xi(e,t){if(e.f&le){e.f^=le,e.f&U||(e.f^=U),Be(e)&&(ue(e,se),ut(e));for(var i=e.first;i!==null;){var a=i.next,n=(i.f&zt)!==0||(i.f&oe)!==0;xi(i,n?t:!1),i=a}if(e.transitions!==null)for(const r of e.transitions)(r.is_global||t)&&r.in()}}let V=null;function Ti(e){V=e}function Ei(e,t=!1,i){V={p:V,c:null,e:null,m:!1,s:e,x:null,l:null}}function Pi(e){const t=V;if(t!==null){e!==void 0&&(t.x=e);const o=t.e;if(o!==null){var i=x,a=T;t.e=null;try{for(var n=0;n<o.length;n++){var r=o[n];ge(r.effect),ve(r.reaction),ki(r.fn)}}finally{ge(i),ve(a)}}V=t.p,t.m=!0}return e||{}}function Ii(){return!0}const Un=["touchstart","touchmove"];function jn(e){return Un.includes(e)}const Gn=new Set,Ci=new Set;function pt(e){var k;var t=this,i=t.ownerDocument,a=e.type,n=((k=e.composedPath)==null?void 0:k.call(e))||[],r=n[0]||e.target,o=0,c=e.__root;if(c){var d=n.indexOf(c);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var u=n.indexOf(t);if(u===-1)return;d<=u&&(o=d)}if(r=n[o]||e.target,r!==t){it(e,"currentTarget",{configurable:!0,get(){return r||i}});var f=T,h=x;ve(null),ge(null);try{for(var l,m=[];r!==null;){var p=r.assignedSlot||r.parentNode||r.host||null;try{var v=r["__"+a];if(v!==void 0&&!r.disabled)if($t(v)){var[_,...b]=v;_.apply(r,[e,...b])}else v.call(r,e)}catch(s){l?m.push(s):l=s}if(e.cancelBubble||p===t||p===null)break;r=p}if(l){for(let s of m)queueMicrotask(()=>{throw s});throw l}}finally{e.__root=t,delete e.currentTarget,ve(f),ge(h)}}}function Vn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function ke(e,t){var i=x;i.nodes_start===null&&(i.nodes_start=e,i.nodes_end=t)}function we(e,t){var i=(t&Qi)!==0,a=(t&Xi)!==0,n,r=!e.startsWith("<!>");return()=>{if(E)return ke(P,null),P;n===void 0&&(n=Vn(r?e:"<!>"+e),i||(n=$e(n)));var o=a||si?document.importNode(n,!0):n.cloneNode(!0);if(i){var c=$e(o),d=o.lastChild;ke(c,d)}else ke(o,o);return o}}function Yn(e=""){if(!E){var t=he(e+"");return ke(t,t),t}var i=P;return i.nodeType!==3&&(i.before(i=he()),B(i)),ke(i,i),i}function Si(){if(E)return ke(P,null),P;var e=document.createDocumentFragment(),t=document.createComment(""),i=he();return e.append(t,i),ke(t,i),e}function X(e,t){if(E){x.nodes_end=P,at();return}e!==null&&e.before(t)}function Xe(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=i,e.nodeValue=i+"")}function Li(e,t){return Ai(e,t)}function Wn(e,t){At(),t.intro=t.intro??!1;const i=t.target,a=E,n=P;try{for(var r=$e(i);r&&(r.nodeType!==8||r.data!==Bt);)r=me(r);if(!r)throw je;te(!0),B(r),at();const o=Ai(e,{...t,anchor:r});if(P===null||P.nodeType!==8||P.data!==yt)throw St(),je;return te(!1),o}catch(o){if(o===je)return t.recover===!1&&pn(),At(),ui(i),te(!1),Li(e,t);throw o}finally{te(a),B(n)}}const Re=new Map;function Ai(e,{target:t,anchor:i,props:a={},events:n,context:r,intro:o=!0}){At();var c=new Set,d=h=>{for(var l=0;l<h.length;l++){var m=h[l];if(!c.has(m)){c.add(m);var p=jn(m);t.addEventListener(m,pt,{passive:p});var v=Re.get(m);v===void 0?(document.addEventListener(m,pt,{passive:p}),Re.set(m,1)):Re.set(m,v+1)}}};d(xt(Gn)),Ci.add(d);var u=void 0,f=On(()=>{var h=i??t.appendChild(he());return Qe(()=>{if(r){Ei({});var l=V;l.c=r}n&&(a.$$events=n),E&&ke(h,null),u=e(h,a)||{},E&&(x.nodes_end=P),r&&Pi()}),()=>{var p;for(var l of c){t.removeEventListener(l,pt);var m=Re.get(l);--m===0?(document.removeEventListener(l,pt),Re.delete(l)):Re.set(l,m)}Ci.delete(d),h!==i&&((p=h.parentNode)==null||p.removeChild(h))}});return Ot.set(u,f),u}let Ot=new WeakMap;function Hn(e,t){const i=Ot.get(e);return i?(Ot.delete(e),i(t)):Promise.resolve()}function Oe(e,t,i=!1){E&&at();var a=e,n=null,r=null,o=M,c=i?zt:0,d=!1;const u=(h,l=!0)=>{d=!0,f(l,h)},f=(h,l)=>{if(o===(o=h))return;let m=!1;if(E){const p=a.data===gt;!!o===p&&(a=Lt(),B(a),te(!1),m=!0)}o?(n?ft(n):l&&(n=Qe(()=>l(a))),r&&dt(r,()=>{r=null})):(r?ft(r):l&&(r=Qe(()=>l(a))),n&&dt(n,()=>{n=null})),m&&te(!0)};Nt(()=>{d=!1,t(u),d||f(null,null)},c),E&&(a=P)}function Bn(e,t,i,a){for(var n=[],r=t.length,o=0;o<r;o++)Rt(t[o].e,n,!0);var c=r>0&&n.length===0&&i!==null;if(c){var d=i.parentNode;ui(d),d.append(i),a.clear(),ze(e,t[0].prev,t[r-1].next)}$i(n,()=>{for(var u=0;u<r;u++){var f=t[u];c||(a.delete(f.k),ze(e,f.prev,f.next)),de(f.e,!c)}})}function Ft(e,t,i,a,n,r=null){var o=e,c={items:new Map,first:null},d=(t&Ht)!==0;if(d){var u=e;o=E?B($e(u)):u.appendChild(he())}E&&at();var f=null,h=!1,l=kn(()=>{var m=i();return $t(m)?m:m==null?[]:xt(m)});Nt(()=>{var m=z(l),p=m.length;if(h&&p===0)return;h=p===0;let v=!1;if(E){var _=o.data===gt;_!==(p===0)&&(o=Lt(),B(o),te(!1),v=!0)}if(E){for(var b=null,k,s=0;s<p;s++){if(P.nodeType===8&&P.data===yt){o=P,v=!0,te(!1);break}var g=m[s],$=a(g,s);k=qi(P,c,b,null,g,$,s,n,t,i),c.items.set($,k),b=k}p>0&&B(Lt())}E||Qn(m,c,o,n,t,a,i),r!==null&&(p===0?f?ft(f):f=Qe(()=>r(o)):f!==null&&dt(f,()=>{f=null})),v&&te(!0),z(l)}),E&&(o=P)}function Qn(e,t,i,a,n,r,o){var y,A,Ee,vt;var c=(n&Hi)!==0,d=(n&(L|Pe))!==0,u=e.length,f=t.items,h=t.first,l=h,m,p=null,v,_=[],b=[],k,s,g,$;if(c)for($=0;$<u;$+=1)k=e[$],s=r(k,$),g=f.get(s),g!==void 0&&((y=g.a)==null||y.measure(),(v??(v=new Set)).add(g));for($=0;$<u;$+=1){if(k=e[$],s=r(k,$),g=f.get(s),g===void 0){var Ue=l?l.e.nodes_start:i;p=qi(Ue,t,p,p===null?t.first:p.next,k,s,$,a,n,o),f.set(s,p),_=[],b=[],l=p.next;continue}if(d&&Xn(g,k,$,n),g.e.f&le&&(ft(g.e),c&&((A=g.a)==null||A.unfix(),(v??(v=new Set)).delete(g))),g!==l){if(m!==void 0&&m.has(g)){if(_.length<b.length){var K=b[0],O;p=K.prev;var ie=_[0],re=_[_.length-1];for(O=0;O<_.length;O+=1)Di(_[O],K,i);for(O=0;O<b.length;O+=1)m.delete(b[O]);ze(t,ie.prev,re.next),ze(t,p,ie),ze(t,re,K),l=K,p=re,$-=1,_=[],b=[]}else m.delete(g),Di(g,l,i),ze(t,g.prev,g.next),ze(t,g,p===null?t.first:p.next),ze(t,p,g),p=g;continue}for(_=[],b=[];l!==null&&l.k!==s;)l.e.f&le||(m??(m=new Set)).add(l),b.push(l),l=l.next;if(l===null)continue;g=l}_.push(g),p=g,l=g.next}if(l!==null||m!==void 0){for(var pe=m===void 0?[]:xt(m);l!==null;)l.e.f&le||pe.push(l),l=l.next;var Te=pe.length;if(Te>0){var w=n&Ht&&u===0?i:null;if(c){for($=0;$<Te;$+=1)(Ee=pe[$].a)==null||Ee.measure();for($=0;$<Te;$+=1)(vt=pe[$].a)==null||vt.fix()}Bn(t,pe,w,f)}}c&&Zt(()=>{var Je;if(v!==void 0)for(g of v)(Je=g.a)==null||Je.apply()}),x.first=t.first&&t.first.e,x.last=p&&p.e}function Xn(e,t,i,a){a&L&&It(e.v,t),a&Pe?It(e.i,i):e.i=i}function qi(e,t,i,a,n,r,o,c,d,u){var f=(d&L)!==0,h=(d&Bi)===0,l=f?h?Pt(n):H(n):n,m=d&Pe?H(o):o,p={i:m,v:l,k:r,a:null,e:null,prev:i,next:a};try{return p.e=Qe(()=>c(e,l,m,u),E),p.e.prev=i&&i.e,p.e.next=a&&a.e,i===null?t.first=p:(i.next=p,i.e.next=p.e),a!==null&&(a.prev=p,a.e.prev=p.e),p}finally{}}function Di(e,t,i){for(var a=e.next?e.next.e.nodes_start:i,n=t?t.e.nodes_start:i,r=e.e.nodes_start;r!==a;){var o=me(r);n.before(r),r=o}}function ze(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 Jn(e,t){Zt(()=>{var i=e.getRootNode(),a=i.host?i:i.head??i.ownerDocument.head;if(!a.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,a.appendChild(n)}})}function Kn(e,t,i,a){var n=e.__attributes??(e.__attributes={});E&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=i)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[en]=i),i==null?e.removeAttribute(t):typeof i!="string"&&Ni(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function Fe(e,t,i){var a=T,n=x;let r=E;E&&te(!1),ve(null),ge(null);try{(Mt.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?Ni(e).includes(t):i&&typeof i=="object")?e[t]=i:Kn(e,t,i==null?i:String(i))}finally{ve(a),ge(n),r&&te(!0)}}var Mt=new Map;function Ni(e){var t=Mt.get(e.nodeName);if(t)return t;Mt.set(e.nodeName,t=[]);for(var i,a=e,n=Element.prototype;n!==a;){i=nn(a);for(var r in i)i[r].set&&t.push(r);a=Jt(a)}return t}function ht(e,t,i,a){var n;n=e[t];var r=a,o=!0,c=!1,d=()=>(c=!0,o&&(o=!1,r=a),r);n===void 0&&a!==void 0&&(n=d());var u;u=()=>{var m=e[t];return m===void 0?d():(o=!0,c=!1,m)};var f=!1,h=Pt(n),l=Ct(()=>{var m=u(),p=z(h);return f?(f=!1,p):h.v=m});return function(m,p){if(arguments.length>0){const v=p?z(l):m;return l.equals(v)||(f=!0,q(h,v),c&&r!==void 0&&(r=v),Ln(()=>z(l))),m}return z(l)}}function Zn(e){return new ea(e)}class ea{constructor(t){Yt(this,fe);Yt(this,J);var r;var i=new Map,a=(o,c)=>{var d=Pt(c);return i.set(o,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(o,c){return z(i.get(c)??a(c,Reflect.get(o,c)))},has(o,c){return c===Zi?!0:(z(i.get(c)??a(c,Reflect.get(o,c))),Reflect.has(o,c))},set(o,c,d){return q(i.get(c)??a(c,d),d),Reflect.set(o,c,d)}});Wt(this,J,(t.hydrate?Wn:Li)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((r=t==null?void 0:t.props)!=null&&r.$$host)||t.sync===!1)&&De(),Wt(this,fe,n.$$events);for(const o of Object.keys(j(this,J)))o==="$set"||o==="$destroy"||o==="$on"||it(this,o,{get(){return j(this,J)[o]},set(c){j(this,J)[o]=c},enumerable:!0});j(this,J).$set=o=>{Object.assign(n,o)},j(this,J).$destroy=()=>{Hn(j(this,J))}}$set(t){j(this,J).$set(t)}$on(t,i){j(this,fe)[t]=j(this,fe)[t]||[];const a=(...n)=>i.call(this,...n);return j(this,fe)[t].push(a),()=>{j(this,fe)[t]=j(this,fe)[t].filter(n=>n!==a)}}$destroy(){j(this,J).$destroy()}}fe=new WeakMap,J=new WeakMap;let Ri;typeof HTMLElement=="function"&&(Ri=class extends HTMLElement{constructor(t,i,a){super();Y(this,"$$ctor");Y(this,"$$s");Y(this,"$$c");Y(this,"$$cn",!1);Y(this,"$$d",{});Y(this,"$$r",!1);Y(this,"$$p_d",{});Y(this,"$$l",{});Y(this,"$$l_u",new Map);Y(this,"$$me");this.$$ctor=t,this.$$s=i,a&&this.attachShadow({mode:"open"})}addEventListener(t,i,a){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,a)}removeEventListener(t,i,a){if(super.removeEventListener(t,i,a),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return r=>{const o=document.createElement("slot");n!=="default"&&(o.name=n),X(r,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const i={},a=ta(this);for(const n of this.$$s)n in a&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),i.default=!0):i[n]=t(n));for(const n of this.attributes){const r=this.$$g_p(n.name);r in this.$$d||(this.$$d[r]=mt(r,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=Zn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$host:this}}),this.$$me=Rn(()=>{Fn(()=>{var n;this.$$r=!0;for(const r of tt(this.$$c)){if(!((n=this.$$p_d[r])!=null&&n.reflect))continue;this.$$d[r]=this.$$c[r];const o=mt(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1})});for(const n in this.$$l)for(const r of this.$$l[n]){const o=this.$$c.$on(n,r);this.$$l_u.set(r,o)}this.$$l={}}}attributeChangedCallback(t,i,a){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mt(t,a,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return tt(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function mt(e,t,i,a){var r;const n=(r=i[e])==null?void 0:r.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!a||!i[e])return t;if(a==="toAttribute")switch(n){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(n){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 ia(e,t,i,a,n,r){let o=class extends Ri{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return tt(t).map(c=>(t[c].attribute||c).toLowerCase())}};return tt(t).forEach(c=>{it(o.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(d){var h;d=mt(c,d,t),this.$$d[c]=d;var u=this.$$c;if(u){var f=(h=Se(u,c))==null?void 0:h.get;f?u[c]=d:u.$set({[c]:d})}}})}),a.forEach(c=>{it(o.prototype,c,{get(){var d;return(d=this.$$c)==null?void 0:d[c]}})}),e.element=o,o}const na={version:"0.50.0-alpha.27"};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Me={},Ut,Oi;function ra(){if(Oi)return Ut;Oi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,d=`
2
+ `,u="/",f="*",h="",l="comment",m="declaration";Ut=function(v,_){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];_=_||{};var b=1,k=1;function s(w){var y=w.match(t);y&&(b+=y.length);var A=w.lastIndexOf(d);k=~A?w.length-A:k+w.length}function g(){var w={line:b,column:k};return function(y){return y.position=new $(w),O(),y}}function $(w){this.start=w,this.end={line:b,column:k},this.source=_.source}$.prototype.content=v;function Ue(w){var y=new Error(_.source+":"+b+":"+k+": "+w);if(y.reason=w,y.filename=_.source,y.line=b,y.column=k,y.source=v,!_.silent)throw y}function K(w){var y=w.exec(v);if(y){var A=y[0];return s(A),v=v.slice(A.length),y}}function O(){K(i)}function ie(w){var y;for(w=w||[];y=re();)y!==!1&&w.push(y);return w}function re(){var w=g();if(!(u!=v.charAt(0)||f!=v.charAt(1))){for(var y=2;h!=v.charAt(y)&&(f!=v.charAt(y)||u!=v.charAt(y+1));)++y;if(y+=2,h===v.charAt(y-1))return Ue("End of comment missing");var A=v.slice(2,y-2);return k+=2,s(A),v=v.slice(y),k+=2,w({type:l,comment:A})}}function pe(){var w=g(),y=K(a);if(y){if(re(),!K(n))return Ue("property missing ':'");var A=K(r),Ee=w({type:m,property:p(y[0].replace(e,h)),value:A?p(A[0].replace(e,h)):h});return K(o),Ee}}function Te(){var w=[];ie(w);for(var y;y=pe();)y!==!1&&(w.push(y),ie(w));return w}return O(),Te()};function p(v){return v?v.replace(c,h):h}return Ut}var Fi;function oa(){if(Fi)return Me;Fi=1;var e=Me&&Me.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Me,"__esModule",{value:!0}),Me.default=i;var t=e(ra());function i(a,n){var r=null;if(!a||typeof a!="string")return r;var o=(0,t.default)(a),c=typeof n=="function";return o.forEach(function(d){if(d.type==="declaration"){var u=d.property,f=d.value;c?n(u,f,d):f&&(r=r||{},r[u]=f)}}),r}return Me}var sa=oa();const Mi=aa(sa),la=Mi.default||Mi;function ca(e,t){var a,n;let i="";if(e&&(t!=null&&t.length)&&((a=Object.keys(e))!=null&&a.length)&&((n=t==null?void 0:t.filter(r=>Object.keys(e).includes(r.name)))!=null&&n.length))for(const r of Object.keys(e))(t==null?void 0:t.filter(c=>c.name===r&&c.defaultValue!==e[r]))&&(i+=`${r}:${e[r]};`);return i}function ua(e){var a;const t=((a=e==null?void 0:e.repoName.split("/"))==null?void 0:a[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const i=(e==null?void 0: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!=null&&e.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const r=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(r+"-","")}/${i}`}document.head.appendChild(n)}catch(n){console.warn(n)}}class be{constructor(t){Y(this,"dictionary");Y(this,"lang","");if(!(t!=null&&t.dictionary))throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t==null?void 0:t.lang)}setLang(t){t||(t=be.getDefaultLang()),this.lang=t}translateWord(t,i){return be.getDictionaryWord(t,this.dictionary,i||this.lang)}translateDate(t,i,a){return be.formatDate(t,i,a||this.lang)}static getDefaultLang(){var i,a,n,r,o;let t="en";return navigator!=null&&navigator.languages&&((n=(a=(i=navigator.languages[0])==null?void 0:i.split("-")[0])==null?void 0:a.toLowerCase())!=null&&n.length)&&(t=(o=(r=navigator.languages[0])==null?void 0:r.split("-")[0])==null?void 0:o.toLowerCase()),t}static getDictionaryWord(t,i,a){var o;if(!t)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(a&&((o=i[a])!=null&&o[t]))return i[a][t];let n="";const r=be.getDefaultLang();if(!a||r!==a){const c=i==null?void 0:i[r];c!=null&&c[t]&&(n=c[t])}return n}static formatDate(t,i,a){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(a||be.getDefaultLang(),i).format(t)}}function jt(e){var a;let t=1;const i=e.chapters.filter(n=>n).sort((n,r)=>n.index-r.index);for(const n of i){n.index=t,t++;let r=1;const o=n.paragraphs.filter(c=>c).sort((c,d)=>c.index-d.index);for(const c of o){c.index=r,r++;let d=1;if((a=c.list)!=null&&a.length){const u=c.list.filter(f=>f).sort((f,h)=>f.index-h.index);for(const f of u)f.index=d,d++;c.list=u}}n.paragraphs=o}return e.chapters=i,e}const D=[{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 N(e){return{_id:e.name,name:e.name,service:e.service,porpose:e.purpose,details:(e.storage==="persistent",""+e.durate)}}function da(e){var i,a,n,r,o,c,d,u,f,h;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
@@ -64,4 +64,3 @@ var Pa=Object.defineProperty;var Yi=C=>{throw TypeError(C)};var Ia=(C,S,L)=>S in
64
64
  Stripe o simili. Questi servizi possono effettuare invio di messaggi verso l'utente, per esempio email o sms di notifiche del pagamento.`,key:"py2",index:1},{content:`I dati acquisiti e l'utilizzo degli stessi da parte di servizi terzi sono regolamentati dalle rispettive Privacy Policy alle quali si prega di
65
65
  fare riferimento.`,key:"py3",index:2},{content:"Lista dei principalii servizi di terze parti utilizzati per le finalità relative ai pagamenti:",key:"py4",list:p,index:3}],key:"payments"})}return jt(t)}function Ui(e){var i,a,n,r,o,c,d,u,f;const t={id:e.id,title:`Cookie Policy di ${e.site.name}`,int:{key:"it",flag:""},chapters:[{title:"Informazioni generali",index:0,paragraphs:[{key:"i1",content:"Questo documento contiene informazioni in merito alle tecnologie che consentono a questo Sito Web di raggiungere gli scopi descritti di seguito. Tali tecnologie permettono al Titolare di raccogliere e salvare informazioni (per esempio tramite l’utilizzo di Cookie) o di utilizzare risorse (per esempio eseguendo uno script) sul dispositivo dell’Utente quando quest’ultimo interagisce con questo Sito Web.",index:0},{key:"i2",content:"Per semplicità, in questo documento tali tecnologie sono sinteticamente definite “Strumenti di Tracciamento”, salvo vi sia ragione di differenziare. Per esempio, sebbene i Cookie possano essere usati in browser sia web sia mobili, sarebbe fuori luogo parlare di Cookie nel contesto di applicazioni per dispositivi mobili, dal momento che si tratta di Strumenti di Tracciamento che richiedono la presenza di un browser. Per questo motivo, all’interno di questo documento il temine Cookie è utilizzato solo per indicare in modo specifico quel particolare tipo di Strumento di Tracciamento.",index:1},{key:"i3",content:"Alcune delle finalità per le quali vengono impiegati Strumenti di Tracciamento potrebbero, inoltre, a seconda della legge applicabile richiedere il consenso dell’Utente. Se viene prestato il consenso, esso può essere revocato liberamente in qualsiasi momento seguendo le istruzioni contenute in questo documento.",index:2},{key:"i4",content:"Questo Sito Web utilizza Strumenti di Tracciamento gestiti direttamente dal Titolare (comunemente detti Strumenti di Tracciamento “di prima parte”) e Strumenti di Tracciamento che abilitano servizi forniti da terzi (comunemente detti Strumenti di Tracciamento “di terza parte”). Se non diversamente specificato all’interno di questo documento, tali terzi hanno accesso ai rispettivi Strumenti di Tracciamento.",index:3},{key:"i5",content:"Durata e scadenza dei Cookie e degli altri Strumenti di Tracciamento simili possono variare a seconda di quanto impostato dal Titolare o da ciascun fornitore terzo. Alcuni di essi scadono al termine della sessione di navigazione dell’Utente.",index:4},{key:"i6",content:"In aggiunta a quanto specificato nella descrizione di ciascuna delle categorie di seguito riportate, gli Utenti possono ottenere informazioni più dettagliate ed aggiornate sulla durata, così come qualsiasi altra informazione rilevante - quale la presenza di altri Strumenti di Tracciamento - nelle privacy policy dei rispettivi fornitori terzi (tramite i link messi a disposizione) o contattando il Titolare.",index:5}],key:"info"},{title:"Attività strettamente necessarie a garantire il funzionamento di questo Sito Web e la fornitura del Servizio",index:1,paragraphs:[{key:"act1",content:"Questo Sito Web utilizza Cookie comunemente detti “tecnici” o altri Strumenti di Tracciamento analoghi per svolgere attività strettamente necessarie a garantire il funzionamento o la fornitura del Servizio.",index:0}],key:"technicals"},{title:"Attività connesse all'autenticazione degli utenti e alla gestione dei rispettivi dati",index:2,paragraphs:[{key:"auth0",content:`Questi vengono memorizzati quando accedi al sito ${e.site.name}, utilizzando il nostro servizio di autenticazione. Quando lo fai, accetti l'informativa sulla privacy associata.`,index:0}],key:"authentication"},{title:"Attività di analisi dell'utilizzo del Sito Web",index:3,paragraphs:[],key:"analytics"},{title:"Cookies di terze parti",index:4,paragraphs:[{key:"thr1",content:"Alcune delle nostre pagine mostrano contenuti di fornitori esterni, ad es. YouTube, Facebook e Twitter.",index:0},{key:"thr2",content:"Per visualizzare questo contenuto di terze parti, devi prima accettare i loro termini e condizioni specifici. Ciò include le loro politiche sui cookie, su cui non abbiamo alcun controllo.",index:1},{key:"thr3",content:"Se non visualizzi questo contenuto, sul tuo dispositivo non vengono installati cookie di terze parti.",index:2},{key:"thr4",content:"Provider dei sistemi di tracking di terze parti",list:[],index:3},{key:"thr5",content:`Questi servizi di terze parti sono al di fuori del controllo di ${e.company.name}. I fornitori possono, in qualsiasi momento, modificare i propri termini di servizio, finalità e utilizzo dei cookie, ecc.`,index:4}],key:"third-party"},{title:"Come posso gestire i cookies?",index:5,paragraphs:[{key:"mng1",title:"Cancellazione dei cookie dal tuo dispositivo",content:"Puoi eliminare tutti i cookie già presenti sul tuo dispositivo cancellando la cronologia di navigazione del tuo browser. Questo rimuoverà tutti i cookie da tutti i siti web che hai visitato. Tieni presente, tuttavia, che potresti anche perdere alcune informazioni salvate (ad es. dettagli di accesso salvati, preferenze del sito).",index:0},{key:"mng2",title:"Gestione di specifici cookie",content:"Per un controllo più dettagliato sui cookie specifici del sito, controlla le impostazioni sulla privacy e sui cookie nel tuo browser preferito.",index:1},{key:"mng3",title:"Blocco dei cookie",content:"Puoi impostare i browser più moderni in modo da impedire che qualsiasi cookie venga inserito sul tuo dispositivo, ma potresti dover modificare manualmente alcune preferenze ogni volta che visiti un sito/una pagina. Inoltre, alcuni servizi e funzionalità potrebbero non funzionare correttamente (ad es. accesso al profilo).",index:2},{key:"mng4",title:"Gestione dei cookie per analitici",content:`Puoi gestire le tue preferenze relative ai cookie da ${e.site.name} nella pagina dedicata del sito.`,index:3}],key:"managment"}]};if((i=e.cookies)!=null&&i.length){const h=e.cookies.filter(s=>s.type==="technical"&&!s.third).map(s=>N(s)),l=e.cookies.filter(s=>s.type==="technical"&&s.third).map(s=>N(s));(h.length||l.length)&&(h.length&&((a=t.chapters.find(s=>s.key==="technicals"))==null||a.paragraphs.push({content:`I dati tecnici raccolti dagli strumenti di tracking di ${e.site.name} sono:`,table:{headers:D,rows:h},key:"tda2",index:1})),l.length&&((n=t.chapters.find(s=>s.key==="technicals"))==null||n.paragraphs.push({content:"I dati tecnici raccolti dai cookie di terze parti sono:",table:{headers:D,rows:l},key:"tda3",index:2})));const m=e.cookies.filter(s=>s.type==="analytics"&&!s.third).map(s=>N(s)),p=e.cookies.filter(s=>s.type==="analytics"&&s.third).map(s=>N(s));(m.length||p.length)&&(m.length&&((r=t.chapters.find(s=>s.key==="analytics"))==null||r.paragraphs.push({content:`I dati raccolti dagli strumenti di tracking di ${e.site.name} come strumento di analisi sono:`,table:{headers:D,rows:m},key:"ana1",index:0})),p.length&&((o=t.chapters.find(s=>s.key==="analytics"))==null||o.paragraphs.push({content:"I dati analitici raccolti dai cookie di terze parti sono:",table:{headers:D,rows:p},key:"ana2",index:1})));const v=e.cookies.filter(s=>s.type==="authentication"&&!s.third).map(s=>N(s)),_=e.cookies.filter(s=>s.type==="authentication"&&s.third).map(s=>N(s));(v.length||_.length)&&(v.length&&((c=t.chapters.find(s=>s.key==="authentication"))==null||c.paragraphs.push({content:`I dati raccolti dagli strumenti di tracking di ${e.site.name} per l'autenticazione sono:`,table:{headers:D,rows:v},key:"auth1",index:0})),_.length&&((d=t.chapters.find(s=>s.key==="authentication"))==null||d.paragraphs.push({content:"I dati raccolti dai cookie di terze parti per l'autenticazione sono:",table:{headers:D,rows:_},key:"auth2",index:1})));const b=e.cookies.filter(s=>s.type==="advertising").map(s=>N(s));b.length&&((u=t.chapters.find(s=>s.key==="advertising"))==null||u.paragraphs.push({content:"I dati raccolti dai cookie pubblicitari di terze parti sono:",table:{headers:D,rows:b},key:"adv1",index:0}));const k=e.cookies.filter(s=>s.type==="third-party").map(s=>N(s));k.length&&((f=t.chapters.find(s=>s.key==="third-party"))==null||f.paragraphs.push({content:"I dati raccolti dai cookie di terze parti sono:",table:{headers:D,rows:k},key:"th1",index:0}))}return jt(t)}function fa(e){var i,a,n,r,o,c,d,u,f;const t={id:e.id,title:`Cookie Policy of ${e.site.name}`,int:{key:"en",flag:""},chapters:[{title:"General Informations",index:0,paragraphs:[{key:"i1",content:"This document contains information about the technologies that allow this Website to achieve the purposes described below. These technologies allow the Owner to collect and save information (for example through the use of Cookies) or to use resources (for example by running a script) on the User's device when the latter interacts with this Website.",index:0},{key:"i2",content:'For the sake of simplicity, these technologies are briefly referred to in this document as "Tracking Tools", unless there is reason to differentiate. For example, although Cookies can be used in both web and mobile browsers, it would be out of place to speak of Cookies in the context of applications for mobile devices, since they are Tracking Tools that require the presence of a browser. For this reason, within this document the term Cookie is used only to specifically indicate that particular type of Tracking Tool.',index:1},{key:"i3",content:"Some of the purposes for which Tracking Tools are used may also require the User's consent, depending on the applicable law. If consent is given, it can be freely revoked at any time by following the instructions contained in this document.",index:2},{key:"i4",content:'This Website uses Tracking Tools managed directly by the Owner (commonly called "first party" Tracking Tools) and Tracking Tools that enable services provided by third parties (commonly called "third party" Tracking Tools). Unless otherwise specified in this document, these third parties have access to the respective Tracking Tools.',index:3},{key:"i5",content:"Duration and expiration of Cookies and other similar Tracking Tools may vary depending on what is set by the Owner or by each third party provider. Some of them expire at the end of the User's browsing session.",index:4},{key:"i6",content:"In addition to what is specified in the description of each of the categories listed below, Users can obtain more detailed and updated information on the duration, as well as any other relevant information - such as the presence of other Tracking Tools - in the privacy policies of their respective third party suppliers. (through the links made available) or by contacting the Data Controller.",index:5}],key:"info"},{title:"Attività strettamente necessarie a garantire il funzionamento di questo Sito Web e la fornitura del Servizio",index:1,paragraphs:[{key:"act1",content:'This Website uses Cookies commonly called "technical" or other similar Tracking Tools to carry out activities strictly necessary to ensure the functioning or provision of the Service.',index:0}],key:"technicals"},{title:"Activities related to user authentication and management of their data",index:2,paragraphs:[{key:"auth0",content:`These are stored when you log in to a ${e.site.name} site, using our authentication service. When you do this, you accept the associated privacy policy.`,index:0}],key:"authentication"},{title:"Analytics tracking tools",index:3,paragraphs:[],key:"analytics"},{title:"Third-party cookies",index:4,paragraphs:[{key:"thr1",content:"Some of our pages display content from external providers, e.g. YouTube, Facebook and Twitter.",index:0},{key:"thr2",content:"To view this third-party content, you first have to accept their specific terms and conditions. This includes their cookie policies, which we have no control over.",index:1},{key:"thr3",content:"If you do not view this content, no third-party cookies are installed on your device.",index:2},{key:"thr4",content:`Third-party providers on ${e.site.name} websites`,list:[],index:3},{key:"thr5",content:`These third-party services are outside of the control of ${e.company.name}. Providers may, at any time, change their terms of service, purpose and use of cookies, etc.`,index:4}],key:"third-party"},{title:"How can you manage cookies?",index:5,paragraphs:[{key:"mng1",title:"Removing cookies from your device",content:"You can delete all cookies that are already on your device by clearing the browsing history of your browser. This will remove all cookies from all websites you have visited. Be aware though that you may also lose some saved information (e.g. saved login details, site preferences).",index:0},{key:"mng2",title:"Managing site-specific cookies",content:"For more detailed control over site-specific cookies, check the privacy and cookie settings in your preferred browser.",index:1},{key:"mng3",title:"Blocking cookies",content:"You can set most modern browsers to prevent any cookies being placed on your device, but you may then have to manually adjust some preferences every time you visit a site/page. And some services and functionalities may not work properly at all (e.g. profile logging-in).",index:2},{key:"mng4",title:"Managing our analytics cookies",content:`You can manage your preferences concerning cookies from ${e.site.name} on the dedicated website page.`,index:3}],key:"managment"}]};if((i=e.cookies)!=null&&i.length){const h=e.cookies.filter(s=>s.type==="technical"&&!s.third).map(s=>N(s)),l=e.cookies.filter(s=>s.type==="technical"&&s.third).map(s=>N(s));(h.length||l.length)&&(h.length&&((a=t.chapters.find(s=>s.key==="technicals"))==null||a.paragraphs.push({content:`I dati raccolti dagli strumenti di tracking di ${e.site.name} sono:`,table:{headers:D,rows:h},key:"tda2",index:1})),l.length&&((n=t.chapters.find(s=>s.key==="technicals"))==null||n.paragraphs.push({content:"I dati raccolti dai cookie di terze parti sono:",table:{headers:D,rows:l},key:"tda3",index:2})));const m=e.cookies.filter(s=>s.type==="analytics"&&!s.third).map(s=>N(s)),p=e.cookies.filter(s=>s.type==="analytics"&&s.third).map(s=>N(s));(m.length||p.length)&&(m.length&&((r=t.chapters.find(s=>s.key==="analytics"))==null||r.paragraphs.push({content:`Cookies collected from ${e.site.name} for analytics purpose are:`,table:{headers:D,rows:m},key:"ana1",index:0})),p.length&&((o=t.chapters.find(s=>s.key==="analytics"))==null||o.paragraphs.push({content:"Analytics data collected from third party cookies are:",table:{headers:D,rows:p},key:"ana2",index:1})));const v=e.cookies.filter(s=>s.type==="authentication"&&!s.third).map(s=>N(s)),_=e.cookies.filter(s=>s.type==="authentication"&&s.third).map(s=>N(s));(v.length||_.length)&&(v.length&&((c=t.chapters.find(s=>s.key==="authentication"))==null||c.paragraphs.push({content:`Cookies collected from ${e.site.name} for authentication functionality are:`,table:{headers:D,rows:v},key:"auth1",index:0})),_.length&&((d=t.chapters.find(s=>s.key==="authentication"))==null||d.paragraphs.push({content:"Cookies collected from third party for authentication purpose are:",table:{headers:D,rows:_},key:"auth2",index:1})));const b=e.cookies.filter(s=>s.type==="advertising").map(s=>N(s));b.length&&((u=t.chapters.find(s=>s.key==="advertising"))==null||u.paragraphs.push({content:`Third Parties Cookie data for ${e.site.name} advertising are:`,table:{headers:D,rows:b},key:"adv1",index:0}));const k=e.cookies.filter(s=>s.type==="third-party").map(s=>N(s));k.length&&((f=t.chapters.find(s=>s.key==="third-party"))==null||f.paragraphs.push({content:`Third Parties Cookie data for ${e.site.name} are:`,table:{headers:D,rows:k},key:"th1",index:0}))}return jt(t)}const Gt={vars:[{name:"--bs-primary",valueType:"color",theme:"bootstrap",defaultValue:"#07689f"},{name:"--bs-secondary",valueType:"color",theme:"bootstrap",defaultValue:"#c9d6df"},{name:"--bs-success",valueType:"color",theme:"bootstrap",defaultValue:"#11d3bc"},{name:"--bs-info",valueType:"color",theme:"bootstrap",defaultValue:"#a2d5f2"},{name:"--bs-warning",valueType:"color",theme:"bootstrap",defaultValue:"#ffc107"},{name:"--bs-danger",valueType:"color",theme:"bootstrap",defaultValue:"#f67280"}]},ji={en:{accept:"I Agree",decline:"I Decline",learnmore:"Learn more",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Cookie Informations"},it:{accept:"Accetto",decline:"Rifiuto",learnmore:"Approfondisci",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Informativa sui cookie"}};var pa=we('<h3 class="svelte-e5j5fp"> </h3>'),ha=we('<p part="p" class="svelte-e5j5fp"> </p>'),ma=we('<li part="li" class="svelte-e5j5fp"> </li>'),va=we('<ul part="ul"></ul>'),ga=we("<hb-table></hb-table>",2),ya=we("<!> <!> <!> <!>",1),_a=we('<h2 part="h2" class="svelte-e5j5fp"> </h2> <!>',1),ka=we('<h1 part="h1" class="svelte-e5j5fp"> </h1> <!>',1);const wa={hash:"svelte-e5j5fp",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}h3.svelte-e5j5fp,
66
66
  p.svelte-e5j5fp {margin-top:30px;line-height:1.5rem;}h1.svelte-e5j5fp {margin-top:60px;}h2.svelte-e5j5fp {margin-top:50px;}li.svelte-e5j5fp {margin-bottom:15px;line-height:1.5rem;}hb-table.svelte-e5j5fp {margin-bottom:60px;display:block;}`};function Gi(e,t){Ei(t,!0),Jn(e,wa);let i=ht(t,"id",7,""),a=ht(t,"style"),n=ht(t,"i18nlang"),r=ht(t,"data"),o=Et(Q({})),c=Et(""),d,u=Et(void 0);Nn(()=>{if(a()&&(q(o,Q(la(a()))),q(c,Q(ca(z(o),Gt==null?void 0:Gt.vars)))),d?d&&n()&&d.lang&&d.lang!==n()&&(d=new be({dictionary:ji,lang:n()})):d=new be({dictionary:ji,lang:n()}),r()&&typeof r()=="string")try{const p=JSON.parse(r());switch(p.id){case"privacy-doc-italian":q(u,Q(da(p)));break;case"cookie-doc-italian":q(u,Q(Ui(p)));break;case"cookie-doc-english":q(u,Q(fa(p)));break;case"cookie-doc":q(u,Q(Ui(p)));break}}catch(p){console.error("parsing data",p)}}),ua({repoName:"@htmlbricks/hb-table",version:na.version});var f=Si(),h=Ve(f);{var l=p=>{var v=ka(),_=Ve(v),b=Ge(_,!0);Le(_);var k=Ye(_,2);Ft(k,17,()=>z(u).chapters.filter(s=>s.key),s=>s.key,(s,g)=>{var $=Si(),Ue=Ve($);{var K=O=>{var ie=_a(),re=Ve(ie),pe=Ge(re);Le(re);var Te=Ye(re,2);Ft(Te,17,()=>z(g).paragraphs.filter(w=>w.key),w=>w.key,(w,y)=>{var A=ya(),Ee=Ve(A);{var vt=F=>{var I=pa(),Z=Ge(I,!0);Le(I),_e(()=>Xe(Z,z(y).title)),X(F,I)};Oe(Ee,F=>{z(y).title&&F(vt)})}var Je=Ye(Ee,2);{var za=F=>{var I=ha(),Z=Ge(I,!0);Le(I),_e(()=>Xe(Z,z(y).content)),X(F,I)};Oe(Je,F=>{z(y).content&&F(za)})}var Vi=Ye(Je,2);{var ba=F=>{var I=va();Ft(I,21,()=>z(y).list.filter(Z=>Z.key),Z=>Z.key,(Z,Ta)=>{var Vt=ma(),Ea=Ge(Vt,!0);Le(Vt),_e(()=>Xe(Ea,z(Ta).content)),X(Z,Vt)}),Le(I),X(F,I)};Oe(Vi,F=>{var I;(I=z(y).list)!=null&&I.length&&F(ba)})}var $a=Ye(Vi,2);{var xa=F=>{var I=ga();Fe(I,"disablepagination","yes"),Fe(I,"size","1000"),_e(()=>Fe(I,"style",z(c))),_e(()=>Fe(I,"headers",JSON.stringify(z(y).table.headers))),_e(()=>Fe(I,"rows",JSON.stringify(z(y).table.rows))),Fe(I,"class","svelte-e5j5fp"),X(F,I)};Oe($a,F=>{var I,Z;(I=z(y).table)!=null&&I.headers&&((Z=z(y).table.rows)!=null&&Z.length)&&F(xa)})}X(w,A)}),_e(()=>Xe(pe,`${z(g).index??""}. ${z(g).title??""}`)),X(O,ie)};Oe(Ue,O=>{var ie;(ie=z(g).paragraphs)!=null&&ie.length&&O(K)})}X(s,$)}),_e(()=>Xe(b,z(u).title)),X(p,v)},m=p=>{var v=Yn("invalid doc params");X(p,v)};Oe(h,p=>{var v,_;(v=z(u))!=null&&v.title&&((_=z(u).chapters)!=null&&_.length)?p(l):p(m,!1)})}return X(e,f),Pi({get id(){return i()},set id(p=""){i(p),De()},get style(){return a()},set style(p){a(p),De()},get i18nlang(){return n()},set i18nlang(p){n(p),De()},get data(){return r()},set data(p){r(p),De()}})}customElements.define("hb-terms-doc-templates",ia(Gi,{id:{},style:{},i18nlang:{},data:{}},[],[],!0)),C.Component=Gi,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})})(this["terms-doc-templates"]=this["terms-doc-templates"]||{});
67
- //# sourceMappingURL=main.iife.js.map
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.50.0-alpha.25"
693
+ "version": "0.50.0-alpha.27"
694
694
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-terms-doc-templates",
3
- "version": "0.50.0-alpha.25",
3
+ "version": "0.50.0-alpha.27",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [