@sockethub/examples 1.0.0-alpha.6 → 1.0.0-alpha.7

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.
Files changed (62) hide show
  1. package/build/_app/immutable/assets/0.JUA-HkH6.css +1 -0
  2. package/build/_app/immutable/assets/{sockethub.CMYouZ3z.css → sockethub.Bpv0Wt6b.css} +1 -1
  3. package/build/_app/immutable/chunks/B-2myMF5.js +1 -0
  4. package/build/_app/immutable/chunks/BBdxXcNs.js +23 -0
  5. package/build/_app/immutable/chunks/BhL0iima.js +4 -0
  6. package/build/_app/immutable/chunks/BnKTx64M.js +1 -0
  7. package/build/_app/immutable/chunks/C1LF9VyP.js +1 -0
  8. package/build/_app/immutable/chunks/CARmnL8B.js +1 -0
  9. package/build/_app/immutable/chunks/CC-fhLYv.js +1 -0
  10. package/build/_app/immutable/chunks/CFHe0i8O.js +1 -0
  11. package/build/_app/immutable/chunks/Cf7Xaqef.js +1 -0
  12. package/build/_app/immutable/chunks/Ciq9INsC.js +1 -0
  13. package/build/_app/immutable/chunks/CoHdmBcD.js +1 -0
  14. package/build/_app/immutable/chunks/D_xw8KSE.js +1 -0
  15. package/build/_app/immutable/chunks/DqdrLdzV.js +2 -0
  16. package/build/_app/immutable/chunks/P3PHXZz3.js +2 -0
  17. package/build/_app/immutable/chunks/cQfhlSyc.js +1 -0
  18. package/build/_app/immutable/chunks/vxbPRLre.js +1 -0
  19. package/build/_app/immutable/entry/app.BIT5JTSi.js +2 -0
  20. package/build/_app/immutable/entry/start.BOhpM5z1.js +1 -0
  21. package/build/_app/immutable/nodes/0.CA-MCZQ5.js +39 -0
  22. package/build/_app/immutable/nodes/1.DB0UAVLK.js +1 -0
  23. package/build/_app/immutable/nodes/{2.C82p4PuU.js → 2.BmvI2Ozc.js} +2 -2
  24. package/build/_app/immutable/nodes/3.1s4AoiT3.js +1 -0
  25. package/build/_app/immutable/nodes/4.Ck-0hor4.js +1 -0
  26. package/build/_app/immutable/nodes/5.BV2I1j0o.js +1 -0
  27. package/build/_app/immutable/nodes/6.PZ-pmrq7.js +1 -0
  28. package/build/_app/immutable/nodes/7.C7IiHO6h.js +1 -0
  29. package/build/_app/version.json +1 -1
  30. package/build/dummy.html +12 -11
  31. package/build/feeds.html +12 -11
  32. package/build/index.html +12 -11
  33. package/build/irc.html +12 -11
  34. package/build/metadata.html +12 -11
  35. package/build/xmpp.html +12 -11
  36. package/package.json +20 -20
  37. package/build/_app/immutable/assets/0.BzjUWlsR.css +0 -1
  38. package/build/_app/immutable/assets/_layout.BzjUWlsR.css +0 -1
  39. package/build/_app/immutable/chunks/B38kwwg4.js +0 -1
  40. package/build/_app/immutable/chunks/B6g3iar1.js +0 -1
  41. package/build/_app/immutable/chunks/BRC80mQd.js +0 -1
  42. package/build/_app/immutable/chunks/BeYzO5Mt.js +0 -1
  43. package/build/_app/immutable/chunks/BoR-lgka.js +0 -1
  44. package/build/_app/immutable/chunks/CLEQVYcW.js +0 -2
  45. package/build/_app/immutable/chunks/CN8LF06-.js +0 -1
  46. package/build/_app/immutable/chunks/CZFJHIMN.js +0 -1
  47. package/build/_app/immutable/chunks/CfqRDpBM.js +0 -1
  48. package/build/_app/immutable/chunks/D3w1dc5i.js +0 -8
  49. package/build/_app/immutable/chunks/DEHNjQUQ.js +0 -1
  50. package/build/_app/immutable/chunks/DOX7w-st.js +0 -4
  51. package/build/_app/immutable/chunks/DPf-AoMq.js +0 -3
  52. package/build/_app/immutable/chunks/Dd_3LBWN.js +0 -1
  53. package/build/_app/immutable/chunks/Dkd6l8cV.js +0 -1
  54. package/build/_app/immutable/entry/app.DyZOSd3E.js +0 -2
  55. package/build/_app/immutable/entry/start.D446A-gj.js +0 -1
  56. package/build/_app/immutable/nodes/0.B3I8sqxJ.js +0 -39
  57. package/build/_app/immutable/nodes/1.T9u7GlsR.js +0 -1
  58. package/build/_app/immutable/nodes/3.BOQ3BB3w.js +0 -1
  59. package/build/_app/immutable/nodes/4.iuW-HqsR.js +0 -1
  60. package/build/_app/immutable/nodes/5.DyVFGAXq.js +0 -1
  61. package/build/_app/immutable/nodes/6.DJAHzi0b.js +0 -1
  62. package/build/_app/immutable/nodes/7.CLSdyL18.js +0 -1
@@ -0,0 +1 @@
1
+ var Jt=t=>{throw TypeError(t)};var Ue=(t,e,n)=>e.has(t)||Jt("Cannot "+n);var w=(t,e,n)=>(Ue(t,e,"read from private field"),n?n.call(t):e.get(t)),L=(t,e,n)=>e.has(t)?Jt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{d as T,g as I,b as O,I as ht,bf as Te}from"./Ciq9INsC.js";import{w as $t,o as Xt}from"./CARmnL8B.js";import{a as Ie,b as U}from"./vxbPRLre.js";class jt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Nt{constructor(e,n){this.status=e,this.location=n}}class Dt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function Oe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Pe(t){return t.split("%25").map(decodeURI).join("%25")}function Ce(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function xt({href:t}){return t.split("#")[0]}function $e(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function je(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n}const Ne=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Vt(t)),Ne(t,e));const Y=new Map;function De(t,e){const n=Vt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=je(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Ve(t,e,n){if(Y.size>0){const r=Vt(t,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(e,n)}function Vt(t,e){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const a=[];e.headers&&a.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&a.push(e.body),r+=`[data-hash="${$e(...a)}"]`}return r}const qe=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Be(t){const e=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${Me(t).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return At(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return At(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=qe.exec(c),[,u,y,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!y,chained:y?l===1&&o[0]==="":!1}),y?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return At(c)}).join("")}).join("")}/?$`),params:e}}function Ke(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function Me(t){return t.slice(1).split("/").filter(Ke)}function Fe(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;i<e.length;i+=1){const c=e[i];let l=a[i-o];if(c.chained&&c.rest&&o&&(l=a.slice(i-o,i+1).filter(d=>d).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function At(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ge({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:y}=Be(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Fe(_,y,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function ce(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Qt(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}const We="1769014035208",le="sveltekit:snapshot",fe="sveltekit:scroll",ue="sveltekit:states",Ye="sveltekit:pageurl",F="sveltekit:history",H="sveltekit:navigation",D={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},qt=location.origin;function de(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function kt(){return{x:pageXOffset,y:pageYOffset}}function M(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const Zt={...D,"":D.hover};function he(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function pe(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=he(t)}}function Tt(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||St(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===qt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function pt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=M(i,"preload-code")),a===null&&(a=M(i,"preload-data")),e===null&&(e=M(i,"keepfocus")),n===null&&(n=M(i,"noscroll")),s===null&&(s=M(i,"reload")),o===null&&(o=M(i,"replacestate")),i=he(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Zt[r??"off"],preload_data:Zt[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function te(t){const e=$t(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const ge={v:()=>{}};function ze(){const{set:t,subscribe:e}=$t(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ie}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==We;return o&&(t(!0),ge.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function St(t,e,n){return t.origin!==qt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Rn(t){}const me=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...me];const He=new Set([...me]);[...He];function Je(t){return t.filter(e=>e!=null)}function Bt(t){return t instanceof jt||t instanceof Dt?t.status:500}function Xe(t){return t instanceof Dt?t.text:"Internal Error"}let R,J,Lt;const Qe=Xt.toString().includes("$$")||/function \w+\(\) \{\}/.test(Xt.toString());var et,nt,at,rt,ot,st,it,ct,oe,lt,se,ft,ie;Qe?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},Lt={current:!1}):(R=new(oe=class{constructor(){L(this,et,T({}));L(this,nt,T(null));L(this,at,T(null));L(this,rt,T({}));L(this,ot,T({id:null}));L(this,st,T({}));L(this,it,T(-1));L(this,ct,T(new URL("https://example.com")))}get data(){return I(w(this,et))}set data(e){O(w(this,et),e)}get form(){return I(w(this,nt))}set form(e){O(w(this,nt),e)}get error(){return I(w(this,at))}set error(e){O(w(this,at),e)}get params(){return I(w(this,rt))}set params(e){O(w(this,rt),e)}get route(){return I(w(this,ot))}set route(e){O(w(this,ot),e)}get state(){return I(w(this,st))}set state(e){O(w(this,st),e)}get status(){return I(w(this,it))}set status(e){O(w(this,it),e)}get url(){return I(w(this,ct))}set url(e){O(w(this,ct),e)}},et=new WeakMap,nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,oe),J=new(se=class{constructor(){L(this,lt,T(null))}get current(){return I(w(this,lt))}set current(e){O(w(this,lt),e)}},lt=new WeakMap,se),Lt=new(ie=class{constructor(){L(this,ft,T(!1))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,ie),ge.v=()=>Lt.current=!0);function Ze(t){Object.assign(R,t)}const tn=new Set(["icon","shortcut icon","apple-touch-icon"]),q=ce(fe)??{},X=ce(le)??{},N={url:te({}),page:te({}),navigating:$t(null),updated:ze()};function Kt(t){q[t]=kt()}function en(t,e){let n=t+1;for(;q[n];)delete q[n],n+=1;for(n=e+1;X[n];)delete X[n],n+=1}function Q(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function _e(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(U||"/");t&&await t.update()}}function ee(){}let Mt,It,gt,C,Ot,b;const mt=[],_t=[];let v=null;function Pt(){var t;(t=v==null?void 0:v.fork)==null||t.then(e=>e==null?void 0:e.discard()),v=null}const dt=new Map,we=new Set,nn=new Set,z=new Set;let m={branch:[],error:null,url:null},ve=!1,wt=!1,ne=!0,Z=!1,W=!1,ye=!1,Ft=!1,be,S,A,V;const vt=new Set,ae=new Map;async function Un(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_13mc7th)!=null&&s.data&&globalThis.__sveltekit_13mc7th.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Mt=Ge(t),C=document.documentElement,Ot=e,It=t.nodes[0],gt=t.nodes[1],It(),gt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[H],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[H]:A},""));const r=q[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await _n(Ot,n)):(await G({type:"enter",url:de(b.hash?yn(new URL(location.href)):location.href),replace_state:!0}),a()),mn()}function an(){mt.length=0,Ft=!1}function ke(t){_t.some(e=>e==null?void 0:e.snapshot)&&(X[t]=_t.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Se(t){var e;(e=X[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=_t[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function re(){Kt(S),Qt(fe,q),ke(A),Qt(le,X)}async function rn(t,e,n,r){let a;e.invalidateAll&&Pt(),await G({type:"goto",url:de(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Ft=!0,a=[...ae.keys()]),e.invalidate&&e.invalidate.forEach(gn)}}),e.invalidateAll&&ht().then(ht).then(()=>{ae.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function on(t){if(t.id!==(v==null?void 0:v.id)){Pt();const e={};vt.add(e),v={id:t.id,token:e,promise:Re({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Pt(),n)),fork:null}}return v.promise}async function Ut(t){var n;const e=(n=await Et(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Ee(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),be=new b.root({target:e,props:{...t.props,stores:N,components:_t},hydrate:n,sync:!1}),await Promise.resolve(),Se(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(o=>o(s))}wt=!0}function yt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(U&&(t.pathname===U||t.pathname===U+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=Oe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:Je(n).map(f=>f.node.component),page:Ht(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;f<Math.max(n.length,m.branch.length);f+=1){const h=n[f],_=m.branch[f];(h==null?void 0:h.data)!==(_==null?void 0:_.data)&&(d=!0),h&&(l={...l,...h.data},d&&(c.props[`data_${u}`]=l),u+=1)}return(!m.url||t.href!==m.url.href||m.error!==a||o!==void 0&&o!==R.form||d)&&(c.props.page={error:a,params:e,route:{id:(s==null?void 0:s.id)??null},state:{},status:r,url:new URL(t),form:o??null,data:d?l:R.data}),c}async function Gt({loader:t,parent:e,url:n,params:r,route:a,server_data_node:s}){var l,d;let o=null;const i={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await t();return{node:c,loader:t,server:s,universal:(l=c.universal)!=null&&l.load?{type:"data",data:o,uses:i}:null,data:o??(s==null?void 0:s.data)??null,slash:((d=c.universal)==null?void 0:d.trailingSlash)??(s==null?void 0:s.slash)}}function sn(t,e,n){let r=t instanceof Request?t.url:t;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=wt?Ve(r,a.href,e):De(r,e);return{resolved:a,promise:s}}function cn(t,e,n,r,a,s){if(Ft)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&n)return!0;for(const o of a.search_params)if(r.has(o))return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(mt.some(i=>i(new URL(o))))return!0;return!1}function Wt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function ln(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function fn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Ht(R),constructors:[]}}}async function Re({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((v==null?void 0:v.id)===t)return vt.delete(v.token),v.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==bt(m.url):!1,u=m.route?a.id!==m.route.id:!1,y=ln(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var $;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!cn(f,u,d,y,($=k.universal)==null?void 0:$.uses,r)?k:(f=!0,Gt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var ut;const P={};for(let B=0;B<p;B+=1)Object.assign(P,(ut=await h[B])==null?void 0:ut.data);return P},server_data_node:Wt(g[0]?{type:"skip"}:null,g[0]?k==null?void 0:k.server:void 0)}))});for(const g of h)g.catch(()=>{});const _=[];for(let g=0;g<l.length;g+=1)if(l[g])try{_.push(await h[g])}catch(p){if(p instanceof Nt)return{type:"redirect",location:p.location};if(vt.has(s))return fn({error:await tt(p,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=Bt(p),x;if(p instanceof jt)x=p.body;else{if(await N.updated.check())return await _e(),await Q(n);x=await tt(p,{params:r,url:n,route:{id:a.id}})}const $=await un(g,_,o);return $?yt({url:n,params:r,branch:_.slice(0,$.idx).concat($.node),status:k,error:x,route:a}):await Ae(n,{id:a.id},x,k)}else _.push(void 0);return yt({url:n,params:r,branch:_,status:200,error:null,route:a,form:e?void 0:null})}async function un(t,e,n){for(;t--;)if(n[t]){let r=t;for(;!e[r];)r-=1;try{return{idx:r+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function Yt({status:t,error:e,url:n,route:r}){const a={};let s=null;try{const o=await Gt({loader:It,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Wt(s)}),i={node:await gt(),loader:gt,universal:null,server:null,data:null};return yt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Nt)return rn(new URL(o.location,location.href),{},0);throw o}}async function dn(t){const e=t.href;if(dt.has(e))return dt.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>sn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();dt.set(e,r),n=await r}catch{dt.delete(e);return}return n}async function Et(t,e){if(t&&!St(t,U,b.hash)){const n=await dn(t);if(!n)return;const r=hn(n);for(const a of Mt){const s=a.exec(r);if(s)return{id:bt(t),invalidating:e,route:a,params:Ce(s),url:t}}}}function hn(t){return Pe(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function bt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function xe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=zt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return Z||we.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=ee,block:d=ee,event:u}){var B;const y=V;V=c;const f=await Et(e,!1),h=t==="enter"?zt(m,f,e,t):xe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),V===c&&(V=y);return}const _=S,g=A;l(),Z=!0,wt&&h.navigation.type!=="enter"&&N.navigating.set(J.current=h.navigation);let p=f&&await Re(f);if(!p){if(St(e,U,b.hash))return await Q(e,s);p=await Ae(e,{id:null},await tt(new Dt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,V!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Yt({status:500,error:await tt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await _e(),await Q(e,s));if(an(),Kt(_),ke(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[H]:A+=E,[ue]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||en(S,A)}const k=f&&(v==null?void 0:v.id)===f.id?v.fork:null;v=null,p.props.page.state=o;let x;if(wt){const E=(await Promise.all(Array.from(nn,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(Rt=>{z.delete(Rt)})};E.push(j),E.forEach(Rt=>{z.add(Rt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(be.$set(p.props),Ze(p.props.page),x=(B=Te)==null?void 0:B()),ye=!0}else await Ee(p,Ot,!1);const{activeElement:$}=document;await x,await ht(),await ht();let P=n?n.scroll:a?kt():null;if(ne){const E=e.hash&&document.getElementById(Le(e));if(P)scrollTo(P.x,P.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();P={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const ut=document.activeElement!==$&&document.activeElement!==document.body;!r&&!ut&&vn(e,P),ne=!0,p.props.page&&Object.assign(R,p.props.page),Z=!1,t==="popstate"&&Se(A),h.fulfil(void 0),z.forEach(E=>E(h.navigation)),N.navigating.set(J.current=null)}async function Ae(t,e,n,r,a){return t.origin===qt&&t.pathname===location.pathname&&!ve?await Yt({status:r,error:n,url:t,route:e}):await Q(t,a)}function pn(){let t,e,n;C.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,D.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],D.tap)}C.addEventListener("mousedown",r),C.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(Ut(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=pe(i,C),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:y,download:f}=Tt(l,U,b.hash);if(y||f)return;const h=pt(l),_=u&&bt(m.url)===bt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=D.tap;const g=await Et(u,!1);if(!g)return;on(g)}else c<=h.preload_code&&(e=l,n=c,Ut(u))}function o(){a.disconnect();for(const i of C.querySelectorAll("a")){const{url:c,external:l,download:d}=Tt(i,U,b.hash);if(l||d)continue;const u=pt(i);u.reload||(u.preload_code===D.viewport&&a.observe(i),u.preload_code===D.eager&&Ut(c))}}z.add(o),o()}function tt(t,e){if(t instanceof jt)return t.body;const n=Bt(t),r=Xe(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function gn(t){if(typeof t=="function")mt.push(t);else{const{href:e}=new URL(t,location.href);mt.push(n=>n.href===e)}}function mn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(re(),!Z){const a=zt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};we.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&re()}),(e=navigator.connection)!=null&&e.saveData||pn(),C.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=pe(n.composedPath()[0],C);if(!r)return;const{url:a,external:s,target:o,download:i}=Tt(r,U,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=pt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=d===xt(location);if(s||c.reload&&(!y||!u)){xe({url:a,type:"link",event:n})?Z=!0:n.preventDefault();return}if(u!==void 0&&y){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,Kt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),C.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(St(i,U,!1))return;const c=n.target,l=pt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!Ct){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(V={},a===S)return;const s=q[a],o=n.state[ue]??{},i=new URL(n.state[Ye]??location.href),c=n.state[H],l=m.url?xt(location)===xt(m.url):!1;if(c===A&&(ye||l)){o!==R.state&&(R.state=o),t(i),q[S]=kt(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:V,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[H]:A},"",location.href))});for(const n of document.querySelectorAll("link"))tn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(J.current=null)});function t(n){m.url=R.url=n,N.page.set(Ht(R)),N.page.notify()}}async function _n(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){ve=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Et(l,!1)||{}),d=Mt.find(({id:f})=>f===s.id);let u,y=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=wn(p.uses)),Gt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x<g;x+=1)Object.assign(k,(await f[x]).data);return k},server_data_node:Wt(p)})}),h=await Promise.all(f);if(d){const _=d.layouts;for(let g=0;g<_.length;g++)_[g]||h.splice(g,0,void 0)}u=yt({url:l,params:a,branch:h,status:e,error:n,form:c,route:d??null})}catch(f){if(f instanceof Nt){await Q(new URL(f.location,location.href));return}u=await Yt({status:Bt(f),error:await tt(f,{url:l,params:a,route:s}),url:l,route:s}),t.textContent="",y=!1}u.props.page&&(u.props.page.state={}),await Ee(u,t,y)}function wn(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}let Ct=!1;function vn(t,e=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=Le(t);if(r&&document.getElementById(r)){const{x:s,y:o}=e??kt();setTimeout(()=>{const i=history.state;Ct=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),Ct=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o<a.rangeCount;o+=1)s.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===s.length){for(let o=0;o<a.rangeCount;o+=1){const i=s[o],c=a.getRangeAt(o);if(i.commonAncestorContainer!==c.commonAncestorContainer||i.startContainer!==c.startContainer||i.endContainer!==c.endContainer||i.startOffset!==c.startOffset||i.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function zt(t,e,n,r){var c,l;let a,s;const o=new Promise((d,u)=>{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Ht(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function yn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Le(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Un as a,Rn as l,R as p,N as s};
@@ -0,0 +1 @@
1
+ var s;const a=((s=globalThis.__sveltekit_13mc7th)==null?void 0:s.base)??"";var t;const e=((t=globalThis.__sveltekit_13mc7th)==null?void 0:t.assets)??a??"";export{e as a,a as b};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CA-MCZQ5.js","../chunks/DqdrLdzV.js","../chunks/Ciq9INsC.js","../chunks/P3PHXZz3.js","../chunks/CC-fhLYv.js","../chunks/BBdxXcNs.js","../chunks/BnKTx64M.js","../chunks/CARmnL8B.js","../chunks/B-2myMF5.js","../chunks/Cf7Xaqef.js","../assets/sockethub.Bpv0Wt6b.css","../chunks/vxbPRLre.js","../chunks/cQfhlSyc.js","../assets/0.JUA-HkH6.css","../nodes/1.DB0UAVLK.js","../nodes/2.BmvI2Ozc.js","../chunks/D_xw8KSE.js","../nodes/3.1s4AoiT3.js","../chunks/BhL0iima.js","../chunks/CFHe0i8O.js","../chunks/CoHdmBcD.js","../chunks/C1LF9VyP.js","../nodes/4.Ck-0hor4.js","../nodes/5.BV2I1j0o.js","../nodes/6.PZ-pmrq7.js","../nodes/7.C7IiHO6h.js"])))=>i.map(i=>d[i]);
2
+ var M=e=>{throw TypeError(e)};var N=(e,t,r)=>t.has(e)||M("Cannot "+r);var f=(e,t,r)=>(N(e,t,"read from private field"),r?r.call(e):t.get(e)),p=(e,t,r)=>t.has(e)?M("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,o)=>(N(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r);import{A as Q,M as X,L as Z,N as $,ah as tt,J as et,e as rt,ai as st,aa as at,b as S,ab as nt,g as v,aj as ot,U as it,V as ct,p as ut,i as lt,j as ft,d as I,I as mt,f as x,s as dt,a as ht,c as _t,r as vt,u as V,t as gt}from"../chunks/Ciq9INsC.js";import{h as Et,m as yt,u as Pt,f as J,a as L,c as C,t as bt,s as Rt}from"../chunks/DqdrLdzV.js";import{o as Ot}from"../chunks/CARmnL8B.js";import{p as D,i as B}from"../chunks/Cf7Xaqef.js";import{B as At}from"../chunks/CC-fhLYv.js";function q(e,t,r){Q&&X();var o=new At(e);Z(()=>{var n=t()??null;o.ensure(n,n&&(i=>r(i,n)))},$)}function Y(e,t){return e===t||(e==null?void 0:e[at])===t}function U(e={},t,r,o){return tt(()=>{var n,i;return et(()=>{n=i,i=[],rt(()=>{e!==r(...i)&&(t(e,...i),n&&Y(r(...n),e)&&t(null,...n))})}),()=>{st(()=>{i&&Y(r(...i),e)&&t(null,...i)})}}),e}function Lt(e){return class extends kt{constructor(t){super({component:e,...t})}}}var g,m;class kt{constructor(t){p(this,g);p(this,m);var i;var r=new Map,o=(a,s)=>{var u=ct(s,!1,!1);return r.set(a,u),u};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return v(r.get(s)??o(s,Reflect.get(a,s)))},has(a,s){return s===nt?!0:(v(r.get(s)??o(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,u){return S(r.get(s)??o(s,u),u),Reflect.set(a,s,u)}});j(this,m,(t.hydrate?Et:yt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((i=t==null?void 0:t.props)!=null&&i.$$host)||t.sync===!1)&&ot(),j(this,g,n.$$events);for(const a of Object.keys(f(this,m)))a==="$set"||a==="$destroy"||a==="$on"||it(this,a,{get(){return f(this,m)[a]},set(s){f(this,m)[a]=s},enumerable:!0});f(this,m).$set=a=>{Object.assign(n,a)},f(this,m).$destroy=()=>{Pt(f(this,m))}}$set(t){f(this,m).$set(t)}$on(t,r){f(this,g)[t]=f(this,g)[t]||[];const o=(...n)=>r.call(this,...n);return f(this,g)[t].push(o),()=>{f(this,g)[t]=f(this,g)[t].filter(n=>n!==o)}}$destroy(){f(this,m).$destroy()}}g=new WeakMap,m=new WeakMap;const Tt="modulepreload",wt=function(e,t){return new URL(e,t).href},G={},E=function(t,r,o){let n=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(_=>Promise.resolve(_).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),k=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));n=a(r.map(l=>{if(l=wt(l,o),l in G)return;G[l]=!0;const _=l.endsWith(".css"),y=_?'[rel="stylesheet"]':"";if(o)for(let P=s.length-1;P>=0;P--){const c=s[P];if(c.href===l&&(!_||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const h=document.createElement("link");if(h.rel=_?"stylesheet":Tt,_||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),_)return new Promise((P,c)=>{h.addEventListener("load",P),h.addEventListener("error",()=>c(Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Ft={};var xt=J('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),St=J("<!> <!>",1);function pt(e,t){ut(t,!0);let r=D(t,"components",23,()=>[]),o=D(t,"data_0",3,null),n=D(t,"data_1",3,null);lt(()=>t.stores.page.set(t.page)),ft(()=>{t.stores,t.page,t.constructors,r(),t.form,o(),n(),t.stores.page.notify()});let i=I(!1),a=I(!1),s=I(null);Ot(()=>{const c=t.stores.page.subscribe(()=>{v(i)&&(S(a,!0),mt().then(()=>{S(s,document.title||"untitled page",!0)}))});return S(i,!0),c});const u=V(()=>t.constructors[1]);var k=St(),l=x(k);{var _=c=>{const b=V(()=>t.constructors[0]);var R=C(),T=x(R);q(T,()=>v(b),(O,A)=>{U(A(O,{get data(){return o()},get form(){return t.form},get params(){return t.page.params},children:(d,It)=>{var F=C(),z=x(F);q(z,()=>v(u),(H,K)=>{U(K(H,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),w=>r()[1]=w,()=>{var w;return(w=r())==null?void 0:w[1]})}),L(d,F)},$$slots:{default:!0}}),d=>r()[0]=d,()=>{var d;return(d=r())==null?void 0:d[0]})}),L(c,R)},y=c=>{const b=V(()=>t.constructors[0]);var R=C(),T=x(R);q(T,()=>v(b),(O,A)=>{U(A(O,{get data(){return o()},get form(){return t.form},get params(){return t.page.params}}),d=>r()[0]=d,()=>{var d;return(d=r())==null?void 0:d[0]})}),L(c,R)};B(l,c=>{t.constructors[1]?c(_):c(y,!1)})}var h=dt(l,2);{var P=c=>{var b=xt(),R=_t(b);{var T=O=>{var A=bt();gt(()=>Rt(A,v(s))),L(O,A)};B(R,O=>{v(a)&&O(T)})}vt(b),L(c,b)};B(h,c=>{v(i)&&c(P)})}L(e,k),ht()}const Mt=Lt(pt),Nt=[()=>E(()=>import("../nodes/0.CA-MCZQ5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>E(()=>import("../nodes/1.DB0UAVLK.js"),__vite__mapDeps([14,1,2,6,8,12,7,11]),import.meta.url),()=>E(()=>import("../nodes/2.BmvI2Ozc.js"),__vite__mapDeps([15,1,2,6,3,4,11,16]),import.meta.url),()=>E(()=>import("../nodes/3.1s4AoiT3.js"),__vite__mapDeps([17,1,2,9,4,7,18,3,19,5,6,8,10,16,20,21]),import.meta.url),()=>E(()=>import("../nodes/4.Ck-0hor4.js"),__vite__mapDeps([22,1,2,7,18,9,4,3,19,5,6,8,10,16,21]),import.meta.url),()=>E(()=>import("../nodes/5.BV2I1j0o.js"),__vite__mapDeps([23,1,2,9,4,7,18,3,19,5,6,8,10,16,20]),import.meta.url),()=>E(()=>import("../nodes/6.PZ-pmrq7.js"),__vite__mapDeps([24,1,2,7,18,9,4,3,19,5,6,8,10,16,21]),import.meta.url),()=>E(()=>import("../nodes/7.C7IiHO6h.js"),__vite__mapDeps([25,1,2,5,6,7,8,9,4,3,10,19,16,21]),import.meta.url)],Yt=[],Gt={"/":[2],"/dummy":[7],"/feeds":[4],"/irc":[3],"/metadata":[6],"/xmpp":[5]},W={handleError:({error:e})=>{console.error(e)},reroute:()=>{},transport:{}},jt=Object.fromEntries(Object.entries(W.transport).map(([e,t])=>[e,t.decode])),Jt=Object.fromEntries(Object.entries(W.transport).map(([e,t])=>[e,t.encode])),Wt=!1,zt=(e,t)=>jt[e](t);export{zt as decode,jt as decoders,Gt as dictionary,Jt as encoders,Wt as hash,W as hooks,Ft as matchers,Nt as nodes,Mt as root,Yt as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/cQfhlSyc.js";export{o as load_css,r as start};
@@ -0,0 +1,39 @@
1
+ import{f as x,a as g,s as y,c as W}from"../chunks/DqdrLdzV.js";import{t as S,c as t,n as C,r as e,s as m,p as q,a as z,g as f,u as D,ag as E,f as F,F as B}from"../chunks/Ciq9INsC.js";import{a as w,s as k,b as H}from"../chunks/P3PHXZz3.js";import{c as N,e as V,i as X,h as G,b as J}from"../chunks/BBdxXcNs.js";import{b as A}from"../chunks/vxbPRLre.js";import"../chunks/BnKTx64M.js";import{i as K,s as I,b as T}from"../chunks/Cf7Xaqef.js";import{i as Q}from"../chunks/B-2myMF5.js";import{s as U}from"../chunks/cQfhlSyc.js";const Y=!0,Z=!1,fe=Object.freeze(Object.defineProperty({__proto__:null,prerender:Y,ssr:Z},Symbol.toStringTag,{value:"Module"})),ee=`<style>/*!
2
+ Theme: Edge Light
3
+ Author: cjayross (https://github.com/cjayross)
4
+ License: ~ MIT (or more permissive) [via base16-schemes-source]
5
+ Maintainer: @highlightjs/core-team
6
+ Version: 2021.09.0
7
+ */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#5e646f;background:#fafafa}.hljs::selection,
8
+ .hljs ::selection{background-color:#d69822;color:#5e646f}.hljs-comment{color:#5e646f}.hljs-tag{color:#6587bf}.hljs-subst,
9
+ .hljs-punctuation,
10
+ .hljs-operator{color:#5e646f}.hljs-operator{opacity:0.7}.hljs-bullet,
11
+ .hljs-variable,
12
+ .hljs-template-variable,
13
+ .hljs-selector-tag,
14
+ .hljs-name,
15
+ .hljs-deletion,.hljs-symbol,
16
+ .hljs-number,
17
+ .hljs-link,
18
+ .hljs-attr,
19
+ .hljs-variable.constant_,
20
+ .hljs-literal{color:#db7070}.hljs-title,
21
+ .hljs-class .hljs-title,
22
+ .hljs-title.class_,.hljs-strong{color:#d69822}.hljs-strong{font-weight:bold}.hljs-code,
23
+ .hljs-addition,
24
+ .hljs-title.class_.inherited__,
25
+ .hljs-string{color:#7c9f4b}.hljs-built_in,
26
+ .hljs-doctag,
27
+ .hljs-quote,
28
+ .hljs-keyword.hljs-atrule,
29
+ .hljs-regexp{color:#509c93}.hljs-function .hljs-title,
30
+ .hljs-attribute,
31
+ .ruby .hljs-property,
32
+ .hljs-title.function_,
33
+ .hljs-section{color:#6587bf}.hljs-type,
34
+ .hljs-template-tag,
35
+ .diff .hljs-meta,
36
+ .hljs-keyword,.hljs-emphasis{color:#b870ce}.hljs-emphasis{font-style:italic}.hljs-meta,
37
+ .hljs-meta .hljs-keyword,
38
+ .hljs-meta .hljs-string{color:#509c93}.hljs-meta .hljs-keyword,
39
+ .hljs-meta-keyword{font-weight:bold}</style>`;var te=x('<p class="text-xs text-gray-500 text-center mt-2">Make sure Sockethub server is running</p>'),se=x('<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm"><div class="flex items-center justify-center space-x-3"><div class="flex items-center space-x-2"><div></div> <span class="text-sm font-medium text-gray-700">Sockethub Connection</span></div> <span> </span></div> <!></div>');function ae(s){const r=()=>T(N,"$connected",d),[d,h]=I();var o=se(),p=t(o),a=t(p),b=t(a);C(2),e(a);var l=m(a,2),n=t(l,!0);e(l),e(p);var u=m(p,2);{var j=i=>{var v=te();g(i,v)};K(u,i=>{r()||i(j)})}e(o),S(()=>{w(b,1,`w-3 h-3 rounded-full ${r()?"bg-green-400 animate-pulse":"bg-gray-300"}`),w(l,1,`px-3 py-1 rounded-full text-xs font-bold uppercase tracking-wide ${r()?"bg-green-100 text-green-800":"bg-gray-100 text-gray-600"}`),y(n,r()?"Connected":"Disconnected")}),g(s,o),h()}const re=()=>{const s=U;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},oe={subscribe(s){return re().page.subscribe(s)}};var le=x('<a><span class="text-sm"> </span> <span class="ml-1"> </span> <div class="absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-2 py-1 bg-gray-800 text-white text-xs rounded opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10"> <div class="absolute top-full left-1/2 transform -translate-x-1/2 border-2 border-transparent border-t-gray-800"></div></div></a>'),ne=x('<nav class="flex justify-center flex-wrap gap-2 p-2"></nav>');function ie(s,r){q(r,!1);const d=()=>T(oe,"$page",h),[h,o]=I(),p=[["🏠","Home","/","Start here to understand Sockethub"],["🔧","Dummy","/dummy","Basic examples • Start here"],["📰","Feeds","/feeds","RSS/ATOM feed parsing"],["🔍","Metadata","/metadata","Web page metadata extraction"],["💬","IRC","/irc","Internet Relay Chat • Advanced"],["📨","XMPP","/xmpp","Extensible messaging • Advanced"]];Q();var a=ne();V(a,5,()=>p,X,(b,l)=>{var n=D(()=>E(f(l),4));let u=()=>f(n)[0],j=()=>f(n)[1],i=()=>f(n)[2],v=()=>f(n)[3];var c=le(),_=t(c),L=t(_,!0);e(_);var $=m(_,2),O=t($,!0);e($);var M=m($,2),P=t(M);C(),e(M),e(c),S(R=>{w(c,1,`group relative rounded-lg px-3 py-2 font-medium transition-all duration-200 no-underline ${R??""}`),k(c,"href",`${A??""}${i()??""}`),k(c,"title",v()),y(L,u()),y(O,j()),y(P,`${v()??""} `)},[()=>d().url.pathname.endsWith(i())?"bg-orange-600 text-blue-50 shadow-md":"text-slate-700 hover:bg-slate-200 hover:shadow-sm"]),g(b,c)}),e(a),g(s,a),z(),o()}var ce=x('<main><div><div><img class="m-auto" alt="Sockethub"/></div> <div class="col-span-2 md:mt-3"><!></div> <div class="w-full text-center"><!></div></div> <div class="pt-5"><!></div></main>');function xe(s,r){var d=ce();G("12qhfyh",i=>{var v=W(),c=F(v);J(c,()=>ee),g(i,v)});var h=t(d),o=t(h),p=t(o);e(o);var a=m(o,2),b=t(a);ie(b,{}),e(a);var l=m(a,2),n=t(l);ae(n),e(l),e(h);var u=m(h,2),j=t(u);H(j,()=>r.children??B),e(u),e(d),S(()=>k(p,"src",`${A??""}/sockethub-logo.svg`)),g(s,d)}export{xe as component,fe as universal};
@@ -0,0 +1 @@
1
+ import{f as h,a as g,s as e}from"../chunks/DqdrLdzV.js";import"../chunks/BnKTx64M.js";import{p as l,f as v,t as d,a as _,c as o,r as p,s as x}from"../chunks/Ciq9INsC.js";import{i as $}from"../chunks/B-2myMF5.js";import{s as k,p as m}from"../chunks/cQfhlSyc.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var E=h("<h1> </h1> <p> </p>",1);function A(f,c){l(c,!1),$();var t=E(),r=v(t),n=o(r,!0);p(r);var s=x(r,2),u=o(s,!0);p(s),d(()=>{var a;e(n,i.status),e(u,(a=i.error)==null?void 0:a.message)}),g(f,t),_()}export{A as component};
@@ -1,5 +1,5 @@
1
- import{t as x,a as f}from"../chunks/Dkd6l8cV.js";import"../chunks/CZFJHIMN.js";import{s as e,f as y,c as t,r as s,n as w}from"../chunks/B6g3iar1.js";import{s as a}from"../chunks/CLEQVYcW.js";import{b as r}from"../chunks/B38kwwg4.js";import{I as S}from"../chunks/Dd_3LBWN.js";var k=x(`<title>Sockethub Examples</title> <div class="space-y-6"><div class="bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-blue-800 mb-2">What is Sockethub?</h2> <p class="text-blue-700 mb-3">Sockethub is a <strong>protocol gateway</strong> that bridges web applications with various internet protocols
1
+ import{f as x,a as f}from"../chunks/DqdrLdzV.js";import"../chunks/BnKTx64M.js";import{s as e,f as y,c as t,r as s,n as w,t as S}from"../chunks/Ciq9INsC.js";import{s as a}from"../chunks/P3PHXZz3.js";import{b as r}from"../chunks/vxbPRLre.js";import{I as k}from"../chunks/D_xw8KSE.js";var P=x(`<title>Sockethub Examples</title> <div class="space-y-6"><div class="bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-blue-800 mb-2">What is Sockethub?</h2> <p class="text-blue-700 mb-3">Sockethub is a <strong>protocol gateway</strong> that bridges web applications with various internet protocols
2
2
  like IRC, XMPP, RSS/ATOM feeds, and more. Instead of implementing each protocol directly in your web app,
3
3
  you send standardized <strong>ActivityStreams</strong> messages to Sockethub, which handles the protocol-specific details.</p> <p class="text-blue-700">Think of it as a universal translator that lets your web application communicate with
4
4
  chat servers, feed readers, and other internet services using a single, consistent API.</p></div> <div class="bg-green-50 border-l-4 border-green-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-green-800 mb-2">Key Concepts</h2> <div class="space-y-3"><div><h3 class="font-semibold text-green-700">🎭 Actor</h3> <p class="text-green-600 text-sm">Your identity on a platform (e.g., IRC nickname, XMPP username, feed URL)</p></div> <div><h3 class="font-semibold text-green-700">🔧 Platform</h3> <p class="text-green-600 text-sm">A protocol handler (IRC, XMPP, Feeds, etc.) that runs as a separate process</p></div> <div><h3 class="font-semibold text-green-700">📝 ActivityStreams</h3> <p class="text-green-600 text-sm">Standardized JSON format for describing activities like "send message", "connect", "fetch"</p></div> <div><h3 class="font-semibold text-green-700">🔐 Credentials</h3> <p class="text-green-600 text-sm">Connection details securely stored per session (servers, passwords, API keys)</p></div></div></div> <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-yellow-800 mb-2">How It Works</h2> <ol class="text-yellow-700 space-y-2 text-sm"><li><span class="font-semibold">1.</span> Your web app connects to Sockethub via WebSocket</li> <li><span class="font-semibold">2.</span> You send ActivityStreams messages describing what you want to do</li> <li><span class="font-semibold">3.</span> Sockethub routes messages to the appropriate platform</li> <li><span class="font-semibold">4.</span> Platform handles protocol-specific communication</li> <li><span class="font-semibold">5.</span> Results are sent back to your web app as ActivityStreams</li></ol></div> <div class="bg-purple-50 border-l-4 border-purple-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-purple-800 mb-2">Explore the Examples</h2> <p class="text-purple-700 mb-3">Each example demonstrates a different platform. Start with <strong>Dummy</strong> to understand
5
- the basic flow, then explore real-world protocols:</p> <div class="grid gap-3 text-sm"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-green-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">🔧 Dummy Platform</div> <div class="text-purple-600">Learn the basics with simple echo/fail examples</div></div> <span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded">Start Here</span></div></a> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">📰 RSS/ATOM Feeds</div> <div class="text-purple-600">Fetch and parse web feeds</div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">🔍 Metadata</div> <div class="text-purple-600">Extract metadata from web pages</div></a></div> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">💬 IRC Chat</div> <div class="text-purple-600">Connect to IRC servers and channels</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">📨 XMPP Messaging</div> <div class="text-purple-600">Send and receive XMPP messages</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a></div></div></div> <div class="text-center text-gray-600 text-sm bg-gray-50 p-4 rounded-lg">💡 <strong>Tip:</strong> Watch the connection status at the top and the activity log at the bottom of each example to understand what's happening behind the scenes.</div></div>`,1);function $(m){S(m,{title:"Sockethub Examples",children:(g,P)=>{var i=k(),l=e(y(i),2),d=e(t(l),6),n=e(t(d),4),p=t(n);a(p,"href",`${r??""}/dummy`);var o=e(p,2),c=t(o);a(c,"href",`${r??""}/feeds`);var h=e(c,2);a(h,"href",`${r??""}/metadata`),s(o);var b=e(o,2),v=t(b);a(v,"href",`${r??""}/irc`);var u=e(v,2);a(u,"href",`${r??""}/xmpp`),s(b),s(n),s(d),w(2),s(l),f(g,i)}})}export{$ as component};
5
+ the basic flow, then explore real-world protocols:</p> <div class="grid gap-3 text-sm"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-green-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">🔧 Dummy Platform</div> <div class="text-purple-600">Learn the basics with simple echo/fail examples</div></div> <span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded">Start Here</span></div></a> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">📰 RSS/ATOM Feeds</div> <div class="text-purple-600">Fetch and parse web feeds</div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">🔍 Metadata</div> <div class="text-purple-600">Extract metadata from web pages</div></a></div> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">💬 IRC Chat</div> <div class="text-purple-600">Connect to IRC servers and channels</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">📨 XMPP Messaging</div> <div class="text-purple-600">Send and receive XMPP messages</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a></div></div></div> <div class="text-center text-gray-600 text-sm bg-gray-50 p-4 rounded-lg">💡 <strong>Tip:</strong> Watch the connection status at the top and the activity log at the bottom of each example to understand what's happening behind the scenes.</div></div>`,1);function E(m){k(m,{title:"Sockethub Examples",children:(g,_)=>{var i=P(),l=e(y(i),2),d=e(t(l),6),n=e(t(d),4),p=t(n),o=e(p,2),c=t(o),h=e(c,2);s(o);var b=e(o,2),v=t(b),u=e(v,2);s(b),s(n),s(d),w(2),s(l),S(()=>{a(p,"href",`${r??""}/dummy`),a(c,"href",`${r??""}/feeds`),a(h,"href",`${r??""}/metadata`),a(v,"href",`${r??""}/irc`),a(u,"href",`${r??""}/xmpp`)}),f(g,i)}})}export{E as component};
@@ -0,0 +1 @@
1
+ import{f as y,a as C}from"../chunks/DqdrLdzV.js";import{p as ee,a as te,s as e,f as re,c as n,g as o,u as q,r as d,b as l,d as S,e as a}from"../chunks/Ciq9INsC.js";import{s as se,a as oe,m as ae,b as z,i as ne,c as v}from"../chunks/Cf7Xaqef.js";import{A as de}from"../chunks/BhL0iima.js";import{A as ce,C as ie,P as le,R as ve,S as me}from"../chunks/CoHdmBcD.js";import{B as ue}from"../chunks/CFHe0i8O.js";import{F as N}from"../chunks/C1LF9VyP.js";import{I as ge,s as pe}from"../chunks/BBdxXcNs.js";import{w as Y}from"../chunks/CARmnL8B.js";var fe=y('<div class="bg-gradient-to-r from-emerald-50 to-green-50 border border-emerald-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-emerald-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-emerald-600 text-white rounded-full flex items-center justify-center text-sm font-bold">4</span> Join Channel and Chat</h4> <div class="space-y-6"><!> <!> <!></div></div>'),be=y('<div class="bg-gradient-to-r from-gray-50 to-slate-50 border border-gray-200 rounded-xl p-6 text-center shadow-sm"><div class="flex items-center justify-center mb-3"><span class="w-8 h-8 bg-gray-400 text-white rounded-full flex items-center justify-center text-sm font-bold">4</span></div> <p class="text-gray-600 font-medium">Connect to the IRC server to access chat features</p> <p class="text-gray-500 text-sm mt-1">Complete steps 1-3 above to unlock this section</p></div>'),he=y('<div class="bg-orange-50 border-l-4 border-orange-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-orange-800 mb-2">💬 IRC Connection Process</h3> <p class="text-orange-700 text-sm mb-3">IRC (Internet Relay Chat) requires several steps to get connected and chatting.</p> <div class="text-orange-700 text-sm space-y-1"><div><strong>1. 🎭 Set Actor:</strong> Choose your IRC nickname</div> <div><strong>2. 🔐 Set Credentials:</strong> Provide server connection details</div> <div><strong>3. 🔌 Connect:</strong> Establish connection to IRC server</div> <div><strong>4. 🏠 Join Room:</strong> Enter a channel to start chatting</div> <div><strong>5. 💬 Send Messages:</strong> Chat with other users</div></div></div> <div class="space-y-6"><div class="bg-gradient-to-r from-green-50 to-emerald-50 border border-green-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-green-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-green-600 text-white rounded-full flex items-center justify-center text-sm font-bold">1</span> Choose Your IRC Nickname</h4> <div class="space-y-4"><!> <!></div></div> <div class="bg-gradient-to-r from-blue-50 to-sky-50 border border-blue-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-blue-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center text-sm font-bold">2</span> Configure Server Connection</h4> <div class="space-y-4"><div class="grid md:grid-cols-2 gap-4"><!> <!></div> <div class="bg-blue-100 border border-blue-200 rounded-lg p-3"><p class="text-blue-800 text-sm">💡 <strong>Popular IRC networks:</strong> irc.libera.chat, irc.oftc.net, irc.rizon.net</p></div> <!></div></div> <div class="bg-gradient-to-r from-purple-50 to-violet-50 border border-purple-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-purple-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-purple-600 text-white rounded-full flex items-center justify-center text-sm font-bold">3</span> Connect to Server</h4> <!></div> <!></div>',1);function $e(D,G){ee(G,!0);const c=()=>z(I,"$actorIdStore",w),r=()=>z(s,"$sockethubState",w),[w,H]=se(),I=Y(`sh-${(Math.random()+1).toString(36).substring(7)}`);let g=S("chat.freenode.net"),p=S(6697),k="#sh-random",m=S(!1);const s=Y({actorSet:!1,credentialsSet:!1,connected:!1,joined:!1});let u=q(()=>({id:c(),type:"person",name:c()})),K=q(()=>({type:"credentials",nick:c(),server:o(g),port:o(p),secure:!0}));function R(){v(s,a(r).actorSet=!1,a(r)),v(s,a(r).credentialsSet=!1,a(r)),v(s,a(r).connected=!1,a(r)),v(s,a(r).joined=!1,a(r)),l(m,!1)}async function L(){l(m,!0),await pe({context:"irc",type:"connect",actor:c()}).catch(()=>{R()}).then(()=>{v(s,a(r).connected=!0,a(r)),l(m,!1)},f=>{console.error(f),R()})}ue(D,{title:"IRC Platform Example",description:"Connect to IRC servers, join channels, and send messages using Sockethub's IRC platform.",children:(f,xe)=>{var j=he(),$=e(re(j),2),b=n($),P=e(n(b),2),A=n(P);ce(A,{get value(){return ae(),c()},set value(t){oe(I,t)}});var O=e(A,2);de(O,{get actor(){return o(u)},get sockethubState(){return s}}),d(P),d(b);var h=e(b,2),E=e(n(h),2),x=n(E),F=n(x);N(F,{label:"IRC Server",id:"server",placeholder:"irc.libera.chat",get value(){return o(g)},set value(t){l(g,t,!0)}});var Q=e(F,2);N(Q,{label:"Port",id:"port",type:"number",placeholder:"6697",get value(){return o(p)},set value(t){l(p,t,!0)}}),d(x);var T=e(x,4);ie(T,{context:"irc",get credentials(){return o(K)},get actor(){return o(u)},get sockethubState(){return s}}),d(E),d(h);var _=e(h,2),U=e(n(_),2);le(U,{get sockethubState(){return s},get connecting(){return o(m)},onConnect:L}),d(_);var V=e(_,2);{var W=t=>{var i=fe(),M=e(n(i),2),B=n(M);ve(B,{get actor(){return o(u)},get sockethubState(){return s},room:k,context:"irc"});var J=e(B,2);ge(J,{});var Z=e(J,2);me(Z,{context:"irc",get actor(){return o(u)},get sockethubState(){return s},room:k}),d(M),d(i),C(t,i)},X=t=>{var i=be();C(t,i)};ne(V,t=>{r().connected?t(W):t(X,!1)})}d($),C(f,j)}}),te(),H()}export{$e as component};
@@ -0,0 +1 @@
1
+ import{f as y,t as w,a as f}from"../chunks/DqdrLdzV.js";import{p as k,a as A,s as o,f as F,c as p,b as R,d as _,g as e,u as T,n as O,r as m}from"../chunks/Ciq9INsC.js";import{w as L}from"../chunks/CARmnL8B.js";import{A as P}from"../chunks/BhL0iima.js";import{B as U,S as $}from"../chunks/CFHe0i8O.js";import{F as M}from"../chunks/C1LF9VyP.js";import{s as j}from"../chunks/BBdxXcNs.js";var B=y('<div class="bg-green-50 border-l-4 border-green-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-green-800 mb-2">📰 How Feed Processing Works</h3> <p class="text-green-700 text-sm mb-3">This example shows how Sockethub can fetch and parse RSS/ATOM feeds from any website.</p> <div class="text-green-700 text-sm space-y-1"><div><strong>🌐 Fetching:</strong> Sockethub downloads the feed content from the URL</div> <div><strong>🔍 Parsing:</strong> Content is parsed from RSS/ATOM format</div> <div><strong>📝 Converting:</strong> Each feed entry becomes an ActivityStreams object</div> <div><strong>📊 Results:</strong> You receive an array of structured feed entries</div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ Try different RSS/ATOM feeds: news sites, blogs, podcasts, etc.</p> <!> <div class="bg-blue-50 border border-blue-200 p-3 rounded-lg"><p class="text-blue-700 text-sm"><strong>💡 What happens when you click Fetch:</strong><br/> The feed URL becomes the "actor" (like a website identity), and Sockethub sends a "fetch" activity to download and parse the feed content.</p></div> <div class="w-full text-right"><!></div></div>',1);function I(h,g){k(g,!0);const v=L({actorSet:!1});let t=_("https://sockethub.org/feed.xml");const a=T(()=>({type:"website",id:e(t)}));function u(s){return{context:"feeds",type:s,actor:e(a)}}async function b(){j(u("fetch"))}U(h,{title:"Feeds Platform Example",description:"The feeds platform takes an RSS/ATOM feed URL, fetches and parses it, and returns an array of Activity Objects for each entry.",children:(s,E)=>{var n=B(),d=o(F(n),2),i=p(d);M(i,{label:"Feed URL",id:"URL",placeholder:"https://example.com/feed.xml",get value(){return e(t)},set value(r){R(t,r,!0)}});var c=o(i,4);P(c,{get actor(){return e(a)},get sockethubState(){return v}});var l=o(c,4),x=p(l);$(x,{buttonAction:b,children:(r,C)=>{O();var S=w("Fetch Feed");f(r,S)}}),m(l),m(d),f(s,n)}}),A()}export{I as component};
@@ -0,0 +1 @@
1
+ import{f as P,a as f}from"../chunks/DqdrLdzV.js";import{p as L,a as N,s as r,f as O,c as n,g as o,u as x,r as c,n as Q,d as T,b as E,e as s}from"../chunks/Ciq9INsC.js";import{s as V,a as W,m as Z,b as I,i as ee,c as d}from"../chunks/Cf7Xaqef.js";import{A as te}from"../chunks/BhL0iima.js";import{A as re,C as se,P as oe,R as ae,S as ne}from"../chunks/CoHdmBcD.js";import{B as ce}from"../chunks/CFHe0i8O.js";import{I as ie,s as de}from"../chunks/BBdxXcNs.js";import{w as j}from"../chunks/CARmnL8B.js";var le=P('<div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 4 & 5: Join Room and Chat</h4> <div class="space-y-4"><!> <!> <!></div></div>'),ge=P('<div class="bg-gray-50 border border-gray-200 rounded-lg p-4 text-center"><p class="text-gray-500">Connect to the XMPP server to access chat features</p></div>'),me=P('<div class="bg-indigo-50 border-l-4 border-indigo-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-indigo-800 mb-2">📨 XMPP Connection Process</h3> <p class="text-indigo-700 text-sm mb-3">XMPP (Extensible Messaging and Presence Protocol) is a real-time communication protocol used by services like Jabber.</p> <div class="text-indigo-700 text-sm space-y-1"><div><strong>1. 🎭 Set Actor:</strong> Your XMPP address (e.g., user@jabber.org)</div> <div><strong>2. 🔐 Set Credentials:</strong> Your XMPP login and password</div> <div><strong>3. 🔌 Connect:</strong> Establish connection to XMPP server</div> <div><strong>4. 🏠 Join Room:</strong> Enter a multi-user chat room</div> <div><strong>5. 💬 Send Messages:</strong> Chat with other users in real-time</div></div></div> <div class="space-y-6"><div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 1: Set Your XMPP Address</h4> <!> <p class="text-gray-600 text-sm mt-2">💡 Format: username@server.com (e.g., user@jabber.org, alice@conversations.im)</p> <!></div> <div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 2: Set Your Credentials</h4> <!> <p class="text-gray-600 text-sm mt-2">🔐 Use your actual XMPP account credentials to connect</p></div> <div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 3: Connect to XMPP Server</h4> <!></div> <!></div>',1);function _e(J,R){L(R,!0);const g=()=>I(_,"$actorIdStore",S),e=()=>I(t,"$sockethubState",S),[S,Y]=V(),_=j("user@jabber.org");let m=T(!1),u=x(()=>`${g()}/SockethubExample`);const y="kosmos-random@kosmos.chat",t=j({actorSet:!1,credentialsSet:!1,connected:!1,joined:!1});let l=x(()=>({id:o(u),type:"person",name:o(u)})),B=x(()=>({type:"credentials",userAddress:g(),password:"123456",resource:"SockethubExample"}));function k(){d(t,s(e).actorSet=!1,s(e)),d(t,s(e).credentialsSet=!1,s(e)),d(t,s(e).connected=!1,s(e)),d(t,s(e).joined=!1,s(e)),E(m,!1)}async function F(){return E(m,!0),await de({context:"xmpp",type:"connect",actor:o(u)}).then(()=>{d(t,s(e).connected=!0,s(e))},v=>{console.error(v),k()}).catch(()=>{k()})}ce(J,{title:"XMPP Platform Example",description:"Connect to XMPP servers (Jabber), join multi-user chats, and exchange messages using Sockethub's XMPP platform.",children:(v,ue)=>{var M=me(),C=r(O(M),2),p=n(C),X=r(n(p),2);re(X,{get value(){return Z(),g()},set value(a){W(_,a)}});var U=r(X,4);te(U,{get actor(){return o(l)},get sockethubState(){return t}}),c(p);var b=r(p,2),q=r(n(b),2);se(q,{context:"xmpp",get credentials(){return o(B)},get actor(){return o(l)},get sockethubState(){return t}}),Q(2),c(b);var h=r(b,2),z=r(n(h),2);oe(z,{get sockethubState(){return t},get connecting(){return o(m)},onConnect:F}),c(h);var D=r(h,2);{var G=a=>{var i=le(),w=r(n(i),2),$=n(w);ae($,{get actor(){return o(l)},get sockethubState(){return t},room:y,context:"xmpp"});var A=r($,2);ie(A,{});var K=r(A,2);ne(K,{context:"xmpp",get actor(){return o(l)},get sockethubState(){return t},room:y}),c(w),c(i),f(a,i)},H=a=>{var i=ge();f(a,i)};ee(D,a=>{e().connected?a(G):a(H,!1)})}c(C),f(v,M)}}),N(),Y()}export{_e as component};
@@ -0,0 +1 @@
1
+ import{f as S,t as k,a as p}from"../chunks/DqdrLdzV.js";import{p as y,a as _,s as r,f as F,c as m,b as A,d as E,g as t,u as L,n as P,r as u}from"../chunks/Ciq9INsC.js";import{w as R}from"../chunks/CARmnL8B.js";import{A as $}from"../chunks/BhL0iima.js";import{B as T,S as U}from"../chunks/CFHe0i8O.js";import{F as B}from"../chunks/C1LF9VyP.js";import{s as M}from"../chunks/BBdxXcNs.js";var O=S('<div class="bg-purple-50 border-l-4 border-purple-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-purple-800 mb-2">🔍 How Metadata Extraction Works</h3> <p class="text-purple-700 text-sm mb-3">This example shows how Sockethub can extract structured metadata from any web page.</p> <div class="text-purple-700 text-sm space-y-1"><div><strong>🌐 Fetching:</strong> Sockethub downloads the web page content</div> <div><strong>🔍 Scanning:</strong> Searches for Open Graph, Twitter Cards, JSON-LD, and meta tags</div> <div><strong>📊 Extracting:</strong> Pulls out titles, descriptions, images, and other metadata</div> <div><strong>📋 Returning:</strong> Provides structured data about the page</div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ Try different websites: news articles, social media posts, product pages, etc.</p> <!> <div class="bg-blue-50 border border-blue-200 p-3 rounded-lg"><p class="text-blue-700 text-sm"><strong>💡 What happens when you click Fetch:</strong><br/> The website URL becomes the "actor", and Sockethub sends a "fetch" activity to download the page and extract all available metadata like page titles, descriptions, and social media preview data.</p></div> <div class="w-full text-right"><!></div></div>',1);function z(h,g){y(g,!0);const b=R({actorSet:!1});let e=E("https://sockethub.org"),o=L(()=>({id:t(e),type:"website"}));function v(a){return{context:"metadata",type:a,actor:t(o)}}async function f(){M(v("fetch"))}T(h,{title:"Metadata Platform Example",description:"Sockethub's metadata platform takes a URL, fetches and parses it for any metadata.",children:(a,W)=>{var i=O(),d=r(F(i),2),n=m(d);B(n,{label:"Website URL",id:"URL",placeholder:"https://example.com",get value(){return t(e)},set value(s){A(e,s,!0)}});var c=r(n,4);$(c,{get actor(){return t(o)},get sockethubState(){return b}});var l=r(c,4),x=m(l);U(x,{buttonAction:f,children:(s,j)=>{P();var w=k("Extract Metadata");p(s,w)}}),u(l),u(d),p(a,i)}}),_()}export{z as component};
@@ -0,0 +1 @@
1
+ import{f as L,t as o,a as r}from"../chunks/DqdrLdzV.js";import{p as M,a as O,s,f as W,c as e,b as z,d as J,g as E,n as l,r as t}from"../chunks/Ciq9INsC.js";import{s as n}from"../chunks/BBdxXcNs.js";import{B as K,S as c}from"../chunks/CFHe0i8O.js";import{F as N}from"../chunks/C1LF9VyP.js";var Q=L(`<div class="bg-gradient-to-r from-blue-50 to-blue-100 border border-blue-200 rounded-xl p-6 shadow-sm"><h3 class="text-xl font-bold text-blue-900 mb-3 flex items-center"><span class="mr-2">💡</span> What You'll Learn</h3> <p class="text-blue-800 mb-4 leading-relaxed">This example demonstrates the core Sockethub workflow with a test platform that doesn't require external connections.</p> <div class="grid md:grid-cols-2 gap-3 text-blue-800"><div class="flex items-start space-x-2"><span class="text-lg">📤</span> <div><div class="font-semibold">Sending</div> <div class="text-sm text-blue-700">How to create and send ActivityStreams messages</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">📥</span> <div><div class="font-semibold">Receiving</div> <div class="text-sm text-blue-700">How Sockethub responds with results or errors</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">🎯</span> <div><div class="font-semibold">Actor</div> <div class="text-sm text-blue-700">How your identity is represented</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">🔄</span> <div><div class="font-semibold">Types</div> <div class="text-sm text-blue-700">Different activity types (echo, greet, fail, throw)</div></div></div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ This text will be included in the <code>object.content</code> field of your ActivityStreams message.</p> <div class="bg-gradient-to-r from-amber-50 to-yellow-50 border border-amber-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-amber-900 mb-3 flex items-center"><span class="mr-2">🚀</span> Try Different Activity Types</h4> <p class="text-amber-800 mb-4 leading-relaxed">Each button sends the same basic message structure but with a different <code class="bg-amber-100 px-1 rounded text-sm">type</code> field:</p> <div class="grid md:grid-cols-2 gap-4"><div class="space-y-4"><div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Echo</div> <p class="text-amber-700 text-sm">Returns your message back unchanged</p></div> <!></div></div> <div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Greet</div> <p class="text-amber-700 text-sm">Returns a friendly greeting</p></div> <!></div></div></div> <div class="space-y-4"><div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Fail</div> <p class="text-amber-700 text-sm">Returns an error message (for testing error handling)</p></div> <!></div></div> <div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Throw</div> <p class="text-amber-700 text-sm">Throws an exception (for testing exception handling)</p></div> <!></div></div></div></div></div></div>`,1);function se(F,P){M(P,!0);const H="https://sockethub.org/examples/dummy";let v=J("");function d(m){return{context:"dummy",type:m,actor:{type:"person",id:H},object:{type:"message",content:E(v)}}}async function R(){n(d("echo"))}async function B(){n(d("fail"))}async function D(){n(d("throw"))}async function G(){n(d("greet"))}K(F,{title:"Dummy Platform Example",description:"The dummy platform is the most basic test to communicate via Sockethub to a platform, and receive a response back. You can use either the echo or fail types on your Activity Stream object.",children:(m,U)=>{var f=Q(),h=s(W(f),2),g=e(h);N(g,{label:"Message Content",id:"objectContent",placeholder:"Hello from Sockethub",get value(){return E(v)},set value(a){z(v,a,!0)}});var y=s(g,4),w=s(e(y),4),b=e(w),p=e(b),_=e(p),C=s(e(_),2);c(C,{buttonAction:R,children:(a,u)=>{l();var i=o("Echo");r(a,i)}}),t(_),t(p);var S=s(p,2),$=e(S),Y=s(e($),2);c(Y,{buttonAction:G,children:(a,u)=>{l();var i=o("Greet");r(a,i)}}),t($),t(S),t(b);var A=s(b,2),x=e(A),T=e(x),q=s(e(T),2);c(q,{buttonAction:B,children:(a,u)=>{l();var i=o("Fail");r(a,i)}}),t(T),t(x);var j=s(x,2),k=e(j),I=s(e(k),2);c(I,{buttonAction:D,children:(a,u)=>{l();var i=o("Throw");r(a,i)}}),t(k),t(j),t(A),t(w),t(y),t(h),r(m,f)}}),O()}export{se as component};
@@ -1 +1 @@
1
- {"version":"1768862543412"}
1
+ {"version":"1769014035208"}
package/build/dummy.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("./_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/feeds.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("./_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/index.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="/favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="/_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="/_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="/_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="/_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="/_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="/_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="/_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="/_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="/_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="/_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="/_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="/_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="/_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="/_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="/_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="/_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="/_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: ""
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("/_app/immutable/entry/start.D446A-gj.js"),
29
- import("/_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("/_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("/_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/irc.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("./_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("./_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/xmpp.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.BOhpM5z1.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/cQfhlSyc.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/vxbPRLre.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.BIT5JTSi.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_13mc7th = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.BOhpM5z1.js"),
30
+ import("./_app/immutable/entry/app.BIT5JTSi.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sockethub/examples",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "build"
@@ -39,25 +39,25 @@
39
39
  "check:watch": "bunx --bun svelte-kit sync && bunx --bun svelte-check --tsconfig ./tsconfig.json --watch"
40
40
  },
41
41
  "devDependencies": {
42
- "@playwright/test": "^1.50.1",
43
- "@sockethub/client": "^5.0.0-alpha.6",
44
- "@sveltejs/adapter-static": "^3.0.8",
45
- "@sveltejs/kit": "^2.16.1",
46
- "@sveltejs/vite-plugin-svelte": "^5.0.3",
47
- "@tailwindcss/postcss": "^4.0.3",
48
- "autoprefixer": "^10.4.20",
49
- "globals": "^15.14.0",
42
+ "@playwright/test": "^1.57.0",
43
+ "@sockethub/client": "^5.0.0-alpha.7",
44
+ "@sveltejs/adapter-static": "^3.0.10",
45
+ "@sveltejs/kit": "^2.50.0",
46
+ "@sveltejs/vite-plugin-svelte": "^5.1.1",
47
+ "@tailwindcss/postcss": "^4.1.18",
48
+ "autoprefixer": "^10.4.23",
49
+ "globals": "^15.15.0",
50
50
  "highlight.js": "^11.11.1",
51
- "postcss": "^8.5.1",
52
- "socket.io-client": "4.8.1",
53
- "svelte": "^5.19.6",
54
- "svelte-check": "^4.1.4",
55
- "svelte-highlight": "^7.8.2",
56
- "tailwindcss": "^4.0.3",
57
- "typescript": "^5.7.3",
58
- "update-browserslist-db": "^1.1.3",
59
- "vite": "^6.3.6",
60
- "vitest": "^3.0.4"
51
+ "postcss": "^8.5.6",
52
+ "socket.io-client": "^4.8.3",
53
+ "svelte": "^5.47.1",
54
+ "svelte-check": "^4.3.5",
55
+ "svelte-highlight": "^7.9.0",
56
+ "tailwindcss": "^4.1.18",
57
+ "typescript": "^5.9.3",
58
+ "update-browserslist-db": "^1.2.3",
59
+ "vite": "^6.4.1",
60
+ "vitest": "^3.2.4"
61
61
  },
62
- "gitHead": "f8a937e071e7a209f94b94f63e68faa27784e00e"
62
+ "gitHead": "38927776c210a22bc54ceb86ccc7276c5f27b463"
63
63
  }