@sockethub/examples 1.0.0-alpha.19 → 1.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/_app/immutable/assets/0.C4UYQlfe.css +1 -0
- package/build/_app/immutable/chunks/{BWVzoQAP.js → 3J8QMP2Y.js} +1 -1
- package/build/_app/immutable/chunks/{BJa-K1HI.js → B9A0qc9a.js} +1 -1
- package/build/_app/immutable/chunks/{BFggNCH_.js → BYPKMD8u.js} +1 -1
- package/build/_app/immutable/chunks/{Dd3sOYF9.js → BdtHEGL_.js} +1 -1
- package/build/_app/immutable/chunks/{C6XyCGtk.js → C7RIZnpe.js} +1 -1
- package/build/_app/immutable/chunks/{sOXp0zzN.js → CD2k2u89.js} +1 -1
- package/build/_app/immutable/chunks/CbROi3Jn.js +1 -0
- package/build/_app/immutable/chunks/{BxTKoTn_.js → Cj_plMLy.js} +1 -1
- package/build/_app/immutable/chunks/{B4QvvF9v.js → DKx16QfD.js} +1 -1
- package/build/_app/immutable/chunks/{B6vwNo36.js → DRQf9AgU.js} +1 -1
- package/build/_app/immutable/chunks/{DHN3DyXv.js → DhdgPWDb.js} +2 -2
- package/build/_app/immutable/chunks/{Cfa_Aa1G.js → Dm9HHmcs.js} +1 -1
- package/build/_app/immutable/chunks/DwTLqTAf.js +43 -0
- package/build/_app/immutable/chunks/{BkzolYRb.js → M4yGBGmj.js} +1 -1
- package/build/_app/immutable/chunks/{CUJhLo5A.js → XtX2ckS1.js} +1 -1
- package/build/_app/immutable/chunks/hmWg30fU.js +1 -0
- package/build/_app/immutable/entry/app.CJ3NoyW-.js +2 -0
- package/build/_app/immutable/entry/start.tteBvzOb.js +1 -0
- package/build/_app/immutable/nodes/0.BG1tT4ER.js +39 -0
- package/build/_app/immutable/nodes/{1.D3qZV2vo.js → 1.QkdmjIv3.js} +1 -1
- package/build/_app/immutable/nodes/{2.BysUTzcv.js → 2.DHzfe_7I.js} +2 -2
- package/build/_app/immutable/nodes/{8.DQNerIii.js → 3.BgzPo3wO.js} +1 -1
- package/build/_app/immutable/nodes/{4.DB8UnEA8.js → 4.BKsANTJg.js} +1 -1
- package/build/_app/immutable/nodes/{3.DKJ83Cvw.js → 5.BOOK1ims.js} +1 -1
- package/build/_app/immutable/nodes/{5.Cj8bv369.js → 6.Cki5_5wn.js} +1 -1
- package/build/_app/immutable/nodes/7.DPbQKnzj.js +1 -0
- package/build/_app/immutable/nodes/{7.Bi3xoTlo.js → 8.DfIFUyXA.js} +1 -1
- package/build/_app/immutable/nodes/{6.eKf13UwC.js → 9.DG2yRUwB.js} +1 -1
- package/build/_app/version.json +1 -1
- package/build/caldav.html +12 -12
- package/build/carddav.html +38 -0
- package/build/dummy.html +12 -12
- package/build/feeds.html +12 -12
- package/build/index.html +12 -12
- package/build/irc.html +12 -12
- package/build/metadata.html +12 -12
- package/build/xmpp.html +12 -12
- package/package.json +6 -3
- package/build/_app/immutable/assets/0.liGoyvVW.css +0 -1
- package/build/_app/immutable/chunks/BUnlO8zl.js +0 -36
- package/build/_app/immutable/chunks/D0ikSVuC.js +0 -1
- package/build/_app/immutable/chunks/DvphjqsX.js +0 -1
- package/build/_app/immutable/entry/app.DfHa-4d4.js +0 -2
- package/build/_app/immutable/entry/start.Bf_hVfxy.js +0 -1
- package/build/_app/immutable/nodes/0.Cd2_Nfba.js +0 -39
- /package/build/{config.json → examples-config.json} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s;const a=((s=globalThis.__sveltekit_16ffxyt)==null?void 0:s.base)??"";var t;const e=((t=globalThis.__sveltekit_16ffxyt)==null?void 0:t.assets)??a??"";export{e as a,a as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as a}from"./sOXp0zzN.js";a();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Cd2_Nfba.js","../chunks/Cfa_Aa1G.js","../chunks/sOXp0zzN.js","../chunks/CUJhLo5A.js","../chunks/B6vwNo36.js","../chunks/BUnlO8zl.js","../chunks/DvphjqsX.js","../chunks/C6XyCGtk.js","../chunks/BFggNCH_.js","../chunks/BxTKoTn_.js","../assets/sockethub.Bpv0Wt6b.css","../chunks/D0ikSVuC.js","../chunks/Dd3sOYF9.js","../assets/0.liGoyvVW.css","../nodes/1.D3qZV2vo.js","../nodes/2.BysUTzcv.js","../chunks/BkzolYRb.js","../nodes/3.DKJ83Cvw.js","../chunks/BWVzoQAP.js","../chunks/DHN3DyXv.js","../chunks/BJa-K1HI.js","../nodes/4.DB8UnEA8.js","../chunks/B4QvvF9v.js","../nodes/5.Cj8bv369.js","../nodes/6.eKf13UwC.js","../nodes/7.Bi3xoTlo.js","../nodes/8.DQNerIii.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var U=e=>{throw TypeError(e)};var G=(e,t,r)=>t.has(e)||U("Cannot "+r);var f=(e,t,r)=>(G(e,t,"read from private field"),r?r.call(e):t.get(e)),S=(e,t,r)=>t.has(e)?U("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,o)=>(G(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r);import{B as z,Q as H,P as Z,R as $,aj as tt,K as et,e as rt,O as st,ac as at,d as x,ad as nt,g,ak as ot,X as it,Y as ct,p as ut,j as lt,k as ft,b as D,J as mt,f as w,s as dt,a as _t,c as ht,r as vt,u as I,t as gt}from"../chunks/sOXp0zzN.js";import{h as Et,m as yt,u as Pt,f as M,a as A,c as V,t as Rt,s as bt}from"../chunks/Cfa_Aa1G.js";import{o as Ot}from"../chunks/C6XyCGtk.js";import{p as C,i as B}from"../chunks/BFggNCH_.js";import{B as kt}from"../chunks/B6vwNo36.js";function q(e,t,r){z&&H();var o=new kt(e);Z(()=>{var n=t()??null;o.ensure(n,n&&(i=>r(i,n)))},$)}function J(e,t){return e===t||(e==null?void 0:e[at])===t}function Y(e={},t,r,o){return tt(()=>{var n,i;return et(()=>{n=i,i=[],rt(()=>{e!==r(...i)&&(t(e,...i),n&&J(r(...n),e)&&t(null,...n))})}),()=>{st(()=>{i&&J(r(...i),e)&&t(null,...i)})}}),e}function At(e){return class extends Lt{constructor(t){super({component:e,...t})}}}var E,m;class Lt{constructor(t){S(this,E);S(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 g(r.get(s)??o(s,Reflect.get(a,s)))},has(a,s){return s===nt?!0:(g(r.get(s)??o(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,u){return x(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,E,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,E)[t]=f(this,E)[t]||[];const o=(...n)=>r.call(this,...n);return f(this,E)[t].push(o),()=>{f(this,E)[t]=f(this,E)[t].filter(n=>n!==o)}}$destroy(){f(this,m).$destroy()}}E=new WeakMap,m=new WeakMap;const Tt="modulepreload",pt=function(e,t){return new URL(e,t).href},K={},v=function(t,r,o){let n=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(h=>Promise.resolve(h).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),L=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));n=a(r.map(l=>{if(l=pt(l,o),l in K)return;K[l]=!0;const h=l.endsWith(".css"),y=h?'[rel="stylesheet"]':"";if(o)for(let P=s.length-1;P>=0;P--){const c=s[P];if(c.href===l&&(!h||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const _=document.createElement("link");if(_.rel=h?"stylesheet":Tt,h||(_.as="script"),_.crossOrigin="",_.href=l,L&&_.setAttribute("nonce",L),document.head.appendChild(_),h)return new Promise((P,c)=>{_.addEventListener("load",P),_.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 wt=M('<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>'),xt=M("<!> <!>",1);function St(e,t){ut(t,!0);let r=C(t,"components",23,()=>[]),o=C(t,"data_0",3,null),n=C(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=D(!1),a=D(!1),s=D(null);Ot(()=>{const c=t.stores.page.subscribe(()=>{g(i)&&(x(a,!0),mt().then(()=>{x(s,document.title||"untitled page",!0)}))});return x(i,!0),c});const u=I(()=>t.constructors[1]);var L=xt(),l=w(L);{var h=c=>{const R=I(()=>t.constructors[0]);var b=V(),T=w(b);q(T,()=>g(R),(O,k)=>{Y(k(O,{get data(){return o()},get form(){return t.form},get params(){return t.page.params},children:(d,Dt)=>{var F=V(),Q=w(F);q(Q,()=>g(u),(W,X)=>{Y(X(W,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),p=>r()[1]=p,()=>{var p;return(p=r())==null?void 0:p[1]})}),A(d,F)},$$slots:{default:!0}}),d=>r()[0]=d,()=>{var d;return(d=r())==null?void 0:d[0]})}),A(c,b)},y=c=>{const R=I(()=>t.constructors[0]);var b=V(),T=w(b);q(T,()=>g(R),(O,k)=>{Y(k(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]})}),A(c,b)};B(l,c=>{t.constructors[1]?c(h):c(y,!1)})}var _=dt(l,2);{var P=c=>{var R=wt(),b=ht(R);{var T=O=>{var k=Rt();gt(()=>bt(k,g(s))),A(O,k)};B(b,O=>{g(a)&&O(T)})}vt(R),A(c,R)};B(_,c=>{g(i)&&c(P)})}A(e,L),_t()}const Ut=At(St),Gt=[()=>v(()=>import("../nodes/0.Cd2_Nfba.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>v(()=>import("../nodes/1.D3qZV2vo.js"),__vite__mapDeps([14,1,2,6,9,12,7,11]),import.meta.url),()=>v(()=>import("../nodes/2.BysUTzcv.js"),__vite__mapDeps([15,1,2,6,3,4,11,16]),import.meta.url),()=>v(()=>import("../nodes/3.DKJ83Cvw.js"),__vite__mapDeps([17,1,2,8,4,7,3,18,5,6,9,10,16,19,20]),import.meta.url),()=>v(()=>import("../nodes/4.DB8UnEA8.js"),__vite__mapDeps([21,1,2,8,4,7,19,3,18,5,6,9,10,16,22]),import.meta.url),()=>v(()=>import("../nodes/5.Cj8bv369.js"),__vite__mapDeps([23,1,2,8,4,7,19,3,18,5,6,9,10,16,22]),import.meta.url),()=>v(()=>import("../nodes/6.eKf13UwC.js"),__vite__mapDeps([24,1,2,8,4,7,5,6,3,9,10,18,16,22]),import.meta.url),()=>v(()=>import("../nodes/7.Bi3xoTlo.js"),__vite__mapDeps([25,1,2,8,4,7,19,3,18,5,6,9,10,16,20,22]),import.meta.url),()=>v(()=>import("../nodes/8.DQNerIii.js"),__vite__mapDeps([26,1,2,5,6,7,8,4,3,9,10,18,16,22]),import.meta.url)],Jt=[],Kt={"/":[2],"/caldav":[6],"/dummy":[8],"/feeds":[5],"/irc":[7],"/metadata":[4],"/xmpp":[3]},N={handleError:({error:e})=>{console.error(e)},reroute:()=>{},transport:{}},jt=Object.fromEntries(Object.entries(N.transport).map(([e,t])=>[e,t.decode])),Mt=Object.fromEntries(Object.entries(N.transport).map(([e,t])=>[e,t.encode])),Nt=!1,Qt=(e,t)=>jt[e](t);export{Qt as decode,jt as decoders,Kt as dictionary,Mt as encoders,Nt as hash,N as hooks,Ft as matchers,Gt as nodes,Ut as root,Jt as server_loads};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/Dd3sOYF9.js";export{o as load_css,r as start};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{f as x,a as g,s as y,c as R}from"../chunks/Cfa_Aa1G.js";import{t as S,c as t,n as M,r as e,s as m,p as W,a as q,g as f,u as z,ai as E,f as V,G as B}from"../chunks/sOXp0zzN.js";import{a as w,s as k,c as F}from"../chunks/CUJhLo5A.js";import{f as G,e as H,i as N,h as X,g as J}from"../chunks/BUnlO8zl.js";import{b as A}from"../chunks/D0ikSVuC.js";import"../chunks/DvphjqsX.js";import{i as K,s as I,b as T}from"../chunks/BFggNCH_.js";import{i as Q}from"../chunks/BxTKoTn_.js";import{s as U}from"../chunks/Dd3sOYF9.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(G,"$connected",d),[d,h]=I();var o=se(),p=t(o),a=t(p),b=t(a);M(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){W(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"],["📅","CalDAV","/caldav","Calendars and tasks"],["💬","IRC","/irc","Internet Relay Chat • Advanced"],["📨","XMPP","/xmpp","Extensible messaging • Advanced"]];Q();var a=ne();H(a,5,()=>p,N,(b,l)=>{var n=z(()=>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),D=t(_,!0);e(_);var $=m(_,2),L=t($,!0);e($);var C=m($,2),O=t(C);M(),e(C),e(c),S(P=>{w(c,1,`group relative rounded-lg px-3 py-2 font-medium transition-all duration-200 no-underline ${P??""}`),k(c,"href",`${A??""}${i()??""}`),k(c,"title",v()),y(D,u()),y(L,j()),y(O,`${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),q(),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();X("12qhfyh",i=>{var v=R(),c=V(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);F(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};
|
|
File without changes
|