var kn=Object.defineProperty;var xe=Object.getOwnPropertySymbols;var Mn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable;var be=(t,e,n)=>e in t?kn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mt=(t,e)=>{for(var n in e||(e={}))Mn.call(e,n)&&be(t,n,e[n]);if(xe)for(var n of xe(e))En.call(e,n)&&be(t,n,e[n]);return t};import{S as Ue,i as Xe,s as je,$ as An,e as O,c as z,a as P,d as L,b as T,f as kt,g as Et,F as _,J as Dt,E as Ft,Z as Sn,v as In,O as Cn,w as Je,x as Ye,y as Ge,q as _t,o as Mt,B as qe,k as q,t as V,U as Nn,m as Q,h as W,_ as ke,p as Me,j as Zt,G as Qe,W as Rn,H as Yt,n as Ee}from"../chunks/index-acdcee87.js";import{a as Tn,c as Ln}from"../chunks/Event-d9a33723.js";import{p as Ae}from"../chunks/stores-8e71abee.js";import{g as Gt}from"../chunks/navigation-0e6511d1.js";import{b as Se,l as On}from"../chunks/stores-77ce6fd0.js";import{g as zn}from"../chunks/_commonjsHelpers-c771f69b.js";import"../chunks/Avatar-1e11dff9.js";import"../chunks/Link-3573ed9f.js";import"../chunks/singletons-d1fb5791.js";import"../chunks/index-f786a58f.js";var Pn={value:function(){}};function Ze(){for(var t=0,e=arguments.length,n={},s;t=0&&(s=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:s}})}zt.prototype=Ze.prototype={constructor:zt,on:function(t,e){var n=this._,s=Dn(t+"",n),r,i=-1,o=s.length;if(arguments.length<2){for(;++i0)for(var n=new Array(r),s=0,r,i;s>5,Pt=1<<11,Hn=function(){var t=[256,256],e=Kn,n=Un,s=Xn,r=Ce,i=Ce,o=jn,c=Jn,a=$e,l=[],u=1/0,h=Bn("word","end"),p=null,m=Math.random,f={},v=tr;f.canvas=function(d){return arguments.length?(v=ut(d),f):v},f.start=function(){var d=S(v()),g=$n((t[0]>>5)*t[1]),x=null,E=l.length,A=-1,M=[],N=l.map(function(R,w){return R.text=e.call(this,R,w),R.font=n.call(this,R,w),R.style=r.call(this,R,w),R.weight=i.call(this,R,w),R.rotate=o.call(this,R,w),R.size=~~s.call(this,R,w),R.padding=c.call(this,R,w),R}).sort(function(R,w){return w.size-R.size});return p&&clearInterval(p),p=setInterval(D,0),D(),f;function D(){for(var R=Date.now();Date.now()-R>1,w.y=t[1]*(m()+.5)>>1,Yn(d,w,N,A),w.hasText&&b(g,w,x)&&(M.push(w),h.call("word",f,w),x?qn(x,w):x=[{x:w.x+w.x0,y:w.y+w.y0},{x:w.x+w.x1,y:w.y+w.y1}],w.x-=t[0]>>1,w.y-=t[1]>>1)}A>=E&&(f.stop(),h.call("end",f,M,x))}},f.stop=function(){return p&&(clearInterval(p),p=null),f};function S(d){d.width=d.height=1;var g=Math.sqrt(d.getContext("2d").getImageData(0,0,1,1).data.length>>2);d.width=(Nt<<5)/g,d.height=Pt/g;var x=d.getContext("2d");return x.fillStyle=x.strokeStyle="red",x.textAlign="center",{context:x,ratio:g}}function b(d,g,x){t[0],t[1];for(var E=g.x,A=g.y,M=Math.sqrt(t[0]*t[0]+t[1]*t[1]),N=a(t),D=m()<.5?1:-1,R=-D,w,X,Z;(w=N(R+=D))&&(X=~~w[0],Z=~~w[1],!(Math.min(Math.abs(X),Math.abs(Z))>=M));)if(g.x=E+X,g.y=A+Z,!(g.x+g.x0<0||g.y+g.y0<0||g.x+g.x1>t[0]||g.y+g.y1>t[1])&&(!x||!Gn(g,d,t[0]))&&(!x||Qn(g,x))){for(var y=g.sprite,I=g.width>>5,B=t[0]>>5,ht=g.x-(I<<4),G=ht&127,ot=32-G,J=g.y1-g.y0,vt=(g.y+g.y0)*B+(ht>>5),et,ct=0;ct>>G:0);vt+=B}return delete g.sprite,!0}return!1}return f.timeInterval=function(d){return arguments.length?(u=d==null?1/0:d,f):u},f.words=function(d){return arguments.length?(l=d,f):l},f.size=function(d){return arguments.length?(t=[+d[0],+d[1]],f):t},f.font=function(d){return arguments.length?(n=ut(d),f):n},f.fontStyle=function(d){return arguments.length?(r=ut(d),f):r},f.fontWeight=function(d){return arguments.length?(i=ut(d),f):i},f.rotate=function(d){return arguments.length?(o=ut(d),f):o},f.text=function(d){return arguments.length?(e=ut(d),f):e},f.spiral=function(d){return arguments.length?(a=er[d]||d,f):a},f.fontSize=function(d){return arguments.length?(s=ut(d),f):s},f.padding=function(d){return arguments.length?(c=ut(d),f):c},f.random=function(d){return arguments.length?(m=d,f):m},f.on=function(){var d=h.on.apply(h,arguments);return d===h?f:d},f};function Kn(t){return t.text}function Un(){return"serif"}function Ce(){return"normal"}function Xn(t){return Math.sqrt(t.value)}function jn(){return(~~(Math.random()*6)-3)*30}function Jn(){return 1}function Yn(t,e,n,s){if(!e.sprite){var r=t.context,i=t.ratio;r.clearRect(0,0,(Nt<<5)/i,Pt/i);var o=0,c=0,a=0,l=n.length;for(--s;++s>5<<5,h=~~Math.max(Math.abs(v+S),Math.abs(v-S))}else u=u+31>>5<<5;if(h>a&&(a=h),o+u>=Nt<<5&&(o=0,c+=a,a=0),c+h>=Pt)break;r.translate((o+(u>>1))/i,(c+(h>>1))/i),e.rotate&&r.rotate(e.rotate*qt),r.fillText(e.text,0,0),e.padding&&(r.lineWidth=2*e.padding,r.strokeText(e.text,0,0)),r.restore(),e.width=u,e.height=h,e.xoff=o,e.yoff=c,e.x1=u>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=u}for(var d=r.getImageData(0,0,(Nt<<5)/i,Pt/i).data,g=[];--s>=0;)if(e=n[s],!!e.hasText){for(var u=e.width,x=u>>5,h=e.y1-e.y0,E=0;E>5),R=d[(c+N)*(Nt<<5)+(o+E)<<2]?1<<31-E%32:0;g[D]|=R,A|=R}A?M=N:(e.y0++,h--,N--,c++)}e.y1=e.y0+M,e.sprite=g.slice(0,(e.y1-e.y0)*x)}}}function Gn(t,e,n){n>>=5;for(var s=t.sprite,r=t.width>>5,i=t.x-(r<<4),o=i&127,c=32-o,a=t.y1-t.y0,l=(t.y+t.y0)*n+(i>>5),u,h=0;h>>o:0))&e[l+p])return!0;l+=n}return!1}function qn(t,e){var n=t[0],s=t[1];e.x+e.x0s.x&&(s.x=e.x+e.x1),e.y+e.y1>s.y&&(s.y=e.y+e.y1)}function Qn(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ne.hasOwnProperty(e)?{space:Ne[e],local:t}:t}function nr(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===$t&&e.documentElement.namespaceURI===$t?e.createElement(t):e.createElementNS(n,t)}}function rr(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function en(t){var e=tn(t);return(e.local?rr:nr)(e)}function sr(){}function nn(t){return t==null?sr:function(){return this.querySelector(t)}}function ir(t){typeof t!="function"&&(t=nn(t));for(var e=this._groups,n=e.length,s=new Array(n),r=0;r=g&&(g=d+1);!(E=S[g])&&++g=0;)(o=s[r])&&(i&&o.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(o,i),i=o);return this}function Tr(t){t||(t=Lr);function e(h,p){return h&&p?t(h.__data__,p.__data__):!h-!p}for(var n=this._groups,s=n.length,r=new Array(s),i=0;ie?1:t>=e?0:NaN}function Or(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function zr(){return Array.from(this)}function Pr(){for(var t=this._groups,e=0,n=t.length;e1?this.each((e==null?Jr:typeof e=="function"?Gr:Yr)(t,e,n==null?"":n)):Qr(this.node(),t)}function Qr(t,e){return t.style.getPropertyValue(e)||on(t).getComputedStyle(t,null).getPropertyValue(e)}function Zr(t){return function(){delete this[t]}}function $r(t,e){return function(){this[t]=e}}function ts(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function es(t,e){return arguments.length>1?this.each((e==null?Zr:typeof e=="function"?ts:$r)(t,e)):this.node()[t]}function cn(t){return t.trim().split(/^|\s+/)}function oe(t){return t.classList||new an(t)}function an(t){this._node=t,this._names=cn(t.getAttribute("class")||"")}an.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ln(t,e){for(var n=oe(t),s=-1,r=e.length;++s=0&&(n=e.slice(s+1),e=e.slice(0,s)),{type:e,name:n}})}function Cs(t){return function(){var e=this.__on;if(!!e){for(var n=0,s=-1,r=e.length,i;ny.countc("click",y),x=y=>c("mouseover",y),E=y=>c("mouseout",y),A=y=>c("mousemove",y);let M=null;async function N(){return Hn().size([i,o]).words(u).padding(b).rotate(()=>~~(Math.random()*v)+f).font(p).fontSize(y=>y.count+15)}function D(y){Re("#wordcloud").selectAll("*").remove(),Re("#wordcloud").append("svg").attr("width",M.size()[0]).attr("height",M.size()[1]).append("g").attr("transform","translate("+M.size()[0]/2+","+M.size()[1]/2+")").selectAll("text").data(y).enter().append("text").style("font-size",I=>I.size+"px").style("font-family",p).style("fill","#393F67").style("cursor","pointer").attr("text-anchor","middle").attr("transform",I=>"translate("+[I.x,I.y]+")rotate("+I.rotate+")").text(I=>I.text).on("click",g).on("mouseover",x).on("mouseout",E).on("mousemove",A)}async function R(){M=(await N()).on("end",D),M.start()}let w=!1,X=null;In(async()=>{let y=0;setTimeout(()=>{X=setInterval(()=>{s!==y&&(R(),y=s)},500)},1),setTimeout(()=>{R(),y=s,n(3,w=!0)},0)}),Cn(()=>{clearTimeout(X)});function Z(){n(5,r=window.innerWidth),n(1,s=window.outerWidth)}return t.$$set=y=>{"width"in y&&n(6,l=y.width),"words"in y&&n(7,u=y.words),"height"in y&&n(8,h=y.height),"font"in y&&n(9,p=y.font),"maxFontSize"in y&&n(10,m=y.maxFontSize),"minRotate"in y&&n(11,f=y.minRotate),"maxRotate"in y&&n(12,v=y.maxRotate),"scheme"in y&&n(13,S=y.scheme),"padding"in y&&n(14,b=y.padding),"backgroundColor"in y&&n(0,d=y.backgroundColor)},t.$$.update=()=>{t.$$.dirty&2&&n(2,i=s>1152?1e3:s>500?s-100:s-50),t.$$.dirty&4&&n(4,o=i<800?400:i<500?600:250)},n(1,s=0),n(5,r=0),[d,s,i,w,o,r,l,u,h,p,m,f,v,S,b,Z]}class ti extends Ue{constructor(e){super();Xe(this,e,$s,Zs,je,{width:6,words:7,height:8,font:9,maxFontSize:10,minRotate:11,maxRotate:12,scheme:13,padding:14,backgroundColor:0})}}function it(t){return Array.isArray?Array.isArray(t):gn(t)==="[object Array]"}const ei=1/0;function ni(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-ei?"-0":e}function ri(t){return t==null?"":ni(t)}function st(t){return typeof t=="string"}function dn(t){return typeof t=="number"}function si(t){return t===!0||t===!1||ii(t)&&gn(t)=="[object Boolean]"}function pn(t){return typeof t=="object"}function ii(t){return pn(t)&&t!==null}function j(t){return t!=null}function Qt(t){return!t.trim().length}function gn(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const oi="Incorrect 'index' type",ci=t=>`Invalid value for key ${t}`,ai=t=>`Pattern length exceeds max of ${t}.`,li=t=>`Missing ${t} property in key`,ui=t=>`Property 'weight' in key '${t}' must be a positive integer`,ze=Object.prototype.hasOwnProperty;class fi{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(s=>{let r=mn(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function mn(t){let e=null,n=null,s=null,r=1;if(st(t)||it(t))s=t,e=Pe(t),n=te(t);else{if(!ze.call(t,"name"))throw new Error(li("name"));const i=t.name;if(s=i,ze.call(t,"weight")&&(r=t.weight,r<=0))throw new Error(ui(i));e=Pe(i),n=te(i)}return{path:e,id:n,weight:r,src:s}}function Pe(t){return it(t)?t:t.split(".")}function te(t){return it(t)?t.join("."):t}function hi(t,e){let n=[],s=!1;const r=(i,o,c)=>{if(!!j(i))if(!o[c])n.push(i);else{let a=o[c];const l=i[a];if(!j(l))return;if(c===o.length-1&&(st(l)||dn(l)||si(l)))n.push(ri(l));else if(it(l)){s=!0;for(let u=0,h=l.length;ut.score===e.score?t.idx{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,st(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();st(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,s=this.size();n{let o=this.getFn(e,r.path);if(!!j(o)){if(it(o)){let c=[];const a=[{nestedArrIndex:-1,value:o}];for(;a.length;){const{nestedArrIndex:l,value:u}=a.pop();if(!!j(u))if(st(u)&&!Qt(u)){let h={v:u,i:l,n:this.norm.get(u)};c.push(h)}else it(u)&&u.forEach((h,p)=>{a.push({nestedArrIndex:p,value:h})})}s.$[i]=c}else if(!Qt(o)){let c={v:o,n:this.norm.get(o)};s.$[i]=c}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function _n(t,e,{getFn:n=k.getFn,fieldNormWeight:s=k.fieldNormWeight}={}){const r=new ce({getFn:n,fieldNormWeight:s});return r.setKeys(t.map(mn)),r.setSources(e),r.create(),r}function vi(t,{getFn:e=k.getFn,fieldNormWeight:n=k.fieldNormWeight}={}){const{keys:s,records:r}=t,i=new ce({getFn:e,fieldNormWeight:n});return i.setKeys(s),i.setIndexRecords(r),i}function Ot(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:r=k.distance,ignoreLocation:i=k.ignoreLocation}={}){const o=e/t.length;if(i)return o;const c=Math.abs(s-n);return r?o+c/r:c?1:o}function wi(t=[],e=k.minMatchCharLength){let n=[],s=-1,r=-1,i=0;for(let o=t.length;i=e&&n.push([s,r]),s=-1)}return t[i-1]&&i-s>=e&&n.push([s,i-1]),n}const yt=32;function xi(t,e,n,{location:s=k.location,distance:r=k.distance,threshold:i=k.threshold,findAllMatches:o=k.findAllMatches,minMatchCharLength:c=k.minMatchCharLength,includeMatches:a=k.includeMatches,ignoreLocation:l=k.ignoreLocation}={}){if(e.length>yt)throw new Error(ai(yt));const u=e.length,h=t.length,p=Math.max(0,Math.min(s,h));let m=i,f=p;const v=c>1||a,S=v?Array(h):[];let b;for(;(b=t.indexOf(e,f))>-1;){let M=Ot(e,{currentLocation:b,expectedLocation:p,distance:r,ignoreLocation:l});if(m=Math.min(M,m),f=b+u,v){let N=0;for(;N=R;y-=1){let I=y-1,B=n[t.charAt(I)];if(v&&(S[I]=+!!B),X[y]=(X[y+1]<<1|1)&B,M&&(X[y]|=(d[y+1]|d[y])<<1|1|d[y+1]),X[y]&E&&(g=Ot(e,{errors:M,currentLocation:I,expectedLocation:p,distance:r,ignoreLocation:l}),g<=m)){if(m=g,f=I,f<=p)break;R=Math.max(1,2*p-f)}}if(Ot(e,{errors:M+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:l})>m)break;d=X}const A={isMatch:f>=0,score:Math.max(.001,g)};if(v){const M=wi(S,c);M.length?a&&(A.indices=M):A.isMatch=!1}return A}function bi(t){let e={};for(let n=0,s=t.length;n{this.chunks.push({pattern:p,alphabet:bi(p),startIndex:m})},h=this.pattern.length;if(h>yt){let p=0;const m=h%yt,f=h-m;for(;p{const{isMatch:b,score:d,indices:g}=xi(e,f,v,{location:r+S,distance:i,threshold:o,findAllMatches:c,minMatchCharLength:a,includeMatches:s,ignoreLocation:l});b&&(p=!0),h+=d,b&&g&&(u=[...u,...g])});let m={isMatch:p,score:p?h/this.chunks.length:1};return p&&s&&(m.indices=u),m}}class ft{constructor(e){this.pattern=e}static isMultiMatch(e){return De(e,this.multiRegex)}static isSingleMatch(e){return De(e,this.singleRegex)}search(){}}function De(t,e){const n=t.match(e);return n?n[1]:null}class ki extends ft{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Mi extends ft{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const s=e.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class Ei extends ft{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ai extends ft{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Si extends ft{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Ii extends ft{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class vn extends ft{constructor(e,{location:n=k.location,threshold:s=k.threshold,distance:r=k.distance,includeMatches:i=k.includeMatches,findAllMatches:o=k.findAllMatches,minMatchCharLength:c=k.minMatchCharLength,isCaseSensitive:a=k.isCaseSensitive,ignoreLocation:l=k.ignoreLocation}={}){super(e);this._bitapSearch=new yn(e,{location:n,threshold:s,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:c,isCaseSensitive:a,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class wn extends ft{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,s;const r=[],i=this.pattern.length;for(;(s=e.indexOf(this.pattern,n))>-1;)n=s+i,r.push([s,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const ee=[ki,wn,Ei,Ai,Ii,Si,Mi,vn],Fe=ee.length,Ci=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,Ni="|";function Ri(t,e={}){return t.split(Ni).map(n=>{let s=n.trim().split(Ci).filter(i=>i&&!!i.trim()),r=[];for(let i=0,o=s.length;i!!(t[Wt.AND]||t[Wt.OR]),zi=t=>!!t[se.PATH],Pi=t=>!it(t)&&pn(t)&&!ie(t),Ve=t=>({[Wt.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function xn(t,e,{auto:n=!0}={}){const s=r=>{let i=Object.keys(r);const o=zi(r);if(!o&&i.length>1&&!ie(r))return s(Ve(r));if(Pi(r)){const a=o?r[se.PATH]:i[0],l=o?r[se.PATTERN]:r[a];if(!st(l))throw new Error(ci(a));const u={keyId:te(a),pattern:l};return n&&(u.searcher=re(l,e)),u}let c={children:[],operator:i[0]};return i.forEach(a=>{const l=r[a];it(l)&&l.forEach(u=>{c.children.push(s(u))})}),c};return ie(t)||(t=Ve(t)),s(t)}function Di(t,{ignoreFieldNorm:e=k.ignoreFieldNorm}){t.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:i,score:o})=>{const c=r?r.weight:null;s*=Math.pow(o===0&&c?Number.EPSILON:o,(c||1)*(e?1:i))}),n.score=s})}function Fi(t,e){const n=t.matches;e.matches=[],j(n)&&n.forEach(s=>{if(!j(s.indices)||!s.indices.length)return;const{indices:r,value:i}=s;let o={indices:r,value:i};s.key&&(o.key=s.key.src),s.idx>-1&&(o.refIndex=s.idx),e.matches.push(o)})}function Vi(t,e){e.score=t.score}function Wi(t,e,{includeMatches:n=k.includeMatches,includeScore:s=k.includeScore}={}){const r=[];return n&&r.push(Fi),s&&r.push(Vi),t.map(i=>{const{idx:o}=i,c={item:e[o],refIndex:o};return r.length&&r.forEach(a=>{a(i,c)}),c})}class At{constructor(e,n={},s){this.options=mt(mt({},k),n),this.options.useExtendedSearch,this._keyStore=new fi(this.options.keys),this.setCollection(e,s)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof ce))throw new Error(oi);this._myIndex=n||_n(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){!j(e)||(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let s=0,r=this._docs.length;s-1&&(a=a.slice(0,n)),Wi(a,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(e){const n=re(e,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:i,i:o,n:c})=>{if(!j(i))return;const{isMatch:a,score:l,indices:u}=n.searchIn(i);a&&r.push({item:i,idx:o,matches:[{score:l,value:i,norm:c,indices:u}]})}),r}_searchLogical(e){const n=xn(e,this.options),s=(c,a,l)=>{if(!c.children){const{keyId:h,searcher:p}=c,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(a,h),searcher:p});return m&&m.length?[{idx:l,item:a,matches:m}]:[]}const u=[];for(let h=0,p=c.children.length;h{if(j(c)){let l=s(n,c,a);l.length&&(i[a]||(i[a]={idx:a,item:c,matches:[]},o.push(i[a])),l.forEach(({matches:u})=>{i[a].matches.push(...u)}))}}),o}_searchObjectList(e){const n=re(e,this.options),{keys:s,records:r}=this._myIndex,i=[];return r.forEach(({$:o,i:c})=>{if(!j(o))return;let a=[];s.forEach((l,u)=>{a.push(...this._findMatches({key:l,value:o[u],searcher:n}))}),a.length&&i.push({idx:c,item:o,matches:a})}),i}_findMatches({key:e,value:n,searcher:s}){if(!j(n))return[];let r=[];if(it(n))n.forEach(({v:i,i:o,n:c})=>{if(!j(i))return;const{isMatch:a,score:l,indices:u}=s.searchIn(i);a&&r.push({score:l,key:e,value:i,idx:o,norm:c,indices:u})});else{const{v:i,n:o}=n,{isMatch:c,score:a,indices:l}=s.searchIn(i);c&&r.push({score:a,key:e,value:i,norm:o,indices:l})}return r}}At.version="6.5.3";At.createIndex=_n;At.parseIndex=vi;At.config=k;At.parseQuery=xn;Oi(Li);function We(t,e,n){const s=t.slice();return s[18]=e[n],s}function Be(t,e,n){const s=t.slice();return s[21]=e[n],s}function Bi(t){let e,n,s;return n=new ti({props:{words:t[4]}}),n.$on("click",t[6]),{c(){e=O("div"),Je(n.$$.fragment),this.h()},l(r){e=z(r,"DIV",{class:!0});var i=P(e);Ye(n.$$.fragment,i),i.forEach(L),this.h()},h(){T(e,"class","mt-6 lg:mt-10 flex sm:justify-center overflow-auto")},m(r,i){Et(r,e,i),Ge(n,e,null),s=!0},p(r,i){const o={};i&16&&(o.words=r[4]),n.$set(o)},i(r){s||(_t(n.$$.fragment,r),s=!0)},o(r){Mt(n.$$.fragment,r),s=!1},d(r){r&&L(e),qe(n)}}}function Hi(t){let e,n,s,r,i,o,c,a,l,u,h,p,m=t[0],f=[];for(let v=0;v0?0:C[5].loaded?1:-1}~(I=ue(t))&&(B=lt[I]=le[I](t));let pt=t[3],F=[];for(let C=0;CMt(F[C],1,1,()=>{F[C]=null});return{c(){e=q(),n=O("section"),s=O("h1"),r=V("Program"),i=q(),o=O("div"),c=O("p"),a=V("Program "),l=O("a"),u=V("st\xE1le p\u0159ipravujeme"),h=V(". Aktu\xE1ln\u011B fini\u0161ujeme jeho p\u0159\xEDpravu a "),p=O("span"),m=V("nejpozd\u011Bji r\xE1no v pond\u011Bl\xED 30. kv\u011Btna zde najdete konkr\xE9tn\xED \u010Dasov\xE9 rozpisy jednotliv\xFDch s\xE1l\u016F"),f=V(". T\u011B\u0161\xEDme se na v\xE1s! \u{1F64F}\u2764\uFE0F - "),v=O("span"),S=V("UTXO.22 organiza\u010Dn\xED team"),b=q(),d=O("div"),g=O("span"),x=V("\u{1F525} Chcete kryptokomunit\u011B n\u011Bco \u0159\xEDct? prezentovat sv\u016Fj projekt nebo n\xE1pad? nebo snad prodiskutovat n\u011Bjak\xE9 krypto t\xE9ma? Ka\u017Edop\xE1dn\u011B potkat nov\xE9 lidi?"),E=V(" Uspo\u0159\xE1dejte "),A=O("a"),M=V("Campfire session"),N=V("! Jde o n\xE1\u0161 nov\xFD form\xE1t, kter\xFDm chceme d\xE1t mo\u017Enost doplnit obsah na UTXO.22 i \u0161irok\xE9 komunit\u011B."),D=O("br"),R=V(` Detaily o Campfire form\xE1tu a p\u0159ihl\xE1\u0161ku naleznete `),w=O("a"),X=V("na tomto odkazu"),Z=V("."),y=q(),B&&B.c(),ht=q(),G=O("div"),ot=O("div"),J=O("h1"),vt=V("Seznam ud\xE1lost\xED ("),ct=V(et),nt=V("/"),Rt=V(St),Bt=V(")"),Ht=q(),at=O("div"),wt=O("div"),Kt=V("Hledat:"),Ut=q(),It=O("div"),$=O("input"),Xt=q(),dt=O("div");for(let C=0;C{lt[K]=null}),Me()),~I?(B=lt[I],B?B.p(C,H):(B=lt[I]=le[I](C),B.c()),_t(B,1),B.m(n,ht)):B=null),(!xt||H&8)&&et!==(et=C[3].length+"")&&Zt(ct,et),(!xt||H&2)&&St!==(St=C[1].spec.events.length+"")&&Zt(Rt,St),H&4&&$.value!==C[2]&&ke($,C[2]),H&10){pt=C[3];let U;for(U=0;U{!r.tags||r.tags.forEach(i=>{e[i]||(e[i]={text:i,count:0}),e[i].count+=1})});let n=Object.keys(e).map(r=>e[r]);const s=n.reduce((r,i)=>i.count>r?i.count:r,0);return n=n.map(r=>(r.count=Math.round(r.count/(s/40)),r)),n}function Xi(t,e,n){let s,r,i,o,c,a;Yt(t,Se,g=>n(1,o=g)),Yt(t,Ae,g=>n(9,c=g)),Yt(t,On,g=>n(5,a=g));let l=null,u="";function h(g){return g?g.spec.events.reduce((x,E)=>x+(Ln(E,g)||0),0):null}function p(g){const x=g.detail.path[0].innerHTML;return x&&Gt(`/program?tag=${x}`),!0}function m(g,x){const E=g.url.searchParams;let A=[];if(E.get("tag")&&A.push({type:"tag",title:`Tag: #${E.get("tag")}`,key:E.get("tag")}),E.get("track")){const M=x.spec.tracks.find(N=>N.id===E.get("track"));if(!M)return Gt("/program");A.push({type:"track",title:`Sekce: ${M.name}`,key:M.id})}return u&&A.push({type:"text",title:`Text: "${u}"`,key:u}),A}function f(g,x,E){if(!x||!E)return[];let A=E.spec.events;for(const M of g)if(M.type==="tag"&&(A=A.filter(N=>N.tags&&N.tags.includes(M.key))),M.type==="track"&&(A=A.filter(N=>N.track===M.key)),M.type==="text"){const N=l.search(M.key);N.length>0?A=N.map(D=>A.find(R=>R.id===D.item.id)).filter(D=>D):A=[]}return n(3,i=A.map(M=>M.id)),A}Se.subscribe(g=>{l=new At(g.spec.events,{threshold:.4,keys:[{name:"name",weight:10},{name:"description",weight:7},{name:"speakers",weight:5},{name:"speakersInfo.nickname",weight:5},{name:"speakersInfo.twitter",weight:4},{name:"track",weight:2},{name:"tags",weight:2},{name:"speakersInfo.bio",weight:1},{name:"speakersInfo.orgs",weight:1},{name:"speakersInfo.description",weight:1}]})}),Ae.subscribe(()=>{n(2,u="")});function v(){n(0,r=m(c,o))}function S(){n(2,u=""),n(0,r=m(c,o)),Gt("/program")}function b(){u=this.value,n(2,u)}const d=(g,x)=>x.id===g;return t.$$.update=()=>{t.$$.dirty&2&&n(4,s=Ui(o)),t.$$.dirty&2&&h(o),t.$$.dirty&514&&n(0,r=m(c,o)),t.$$.dirty&515&&f(r,c,o)},n(3,i=[]),[r,o,u,i,s,a,p,v,S,c,b,d]}class so extends Ue{constructor(e){super();Xe(this,e,Xi,Ki,je,{})}}export{so as default,ro as prerender};