deploy: 1becc7183d
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{A as y,x as b}from"./state-0428e257.js";function m(n,e){for(var t=0;t<e.length;t++){const r=e[t];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in n)){const l=Object.getOwnPropertyDescriptor(r,a);l&&Object.defineProperty(n,a,l.get?l:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var v={};function _(n,e,t){const r=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||location.protocol==="file:";if(!e.trackLocalhost&&r)return console.warn("[Plausible] Ignoring event because website is running locally");try{if(window.localStorage.plausible_ignore==="true")return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch{}const a={n,u:e.url,d:e.domain,r:e.referrer,w:e.deviceWidth,h:e.hashMode?1:0,p:t&&t.props?JSON.stringify(t.props):void 0},l=new XMLHttpRequest;l.open("POST",`${e.apiHost}/api/event`,!0),l.setRequestHeader("Content-Type","text/plain"),l.send(JSON.stringify(a)),l.onreadystatechange=()=>{l.readyState===4&&t&&t.callback&&t.callback()}}function k(n){const e=()=>({hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...n}),t=(i,s,c)=>{_(i,{...e(),...c},s)},r=(i,s)=>{t("pageview",s,i)};return{trackEvent:t,trackPageview:r,enableAutoPageviews:()=>{const i=()=>r(),s=history.pushState;return s&&(history.pushState=function(c,f,u){s.apply(this,[c,f,u]),i()},addEventListener("popstate",i)),n&&n.hashMode&&addEventListener("hashchange",i),r(),function(){s&&(history.pushState=s,removeEventListener("popstate",i)),n&&n.hashMode&&removeEventListener("hashchange",i)}},enableAutoOutboundTracking:(i=document,s={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function c(o){t("Outbound Link: Click",{props:{url:this.href}}),typeof process<"u"&&process,setTimeout(()=>{location.href=this.href},150),o.preventDefault()}const f=new Set;function u(o){o instanceof HTMLAnchorElement?o.host!==location.host&&(o.addEventListener("click",c),f.add(o)):"querySelectorAll"in o&&o.querySelectorAll("a").forEach(u)}function h(o){o instanceof HTMLAnchorElement?(o.removeEventListener("click",c),f.delete(o)):"querySelectorAll"in o&&o.querySelectorAll("a").forEach(h)}const g=new MutationObserver(o=>{o.forEach(p=>{p.type==="attributes"?(h(p.target),u(p.target)):p.type==="childList"&&(p.addedNodes.forEach(u),p.removedNodes.forEach(h))})});return i.querySelectorAll("a").forEach(u),g.observe(i,s),function(){f.forEach(p=>{p.removeEventListener("click",c)}),f.clear(),g.disconnect()}}}}const S=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"})),E=y(S);var d=b&&b.__assign||function(){return d=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a])}return n},d.apply(this,arguments)},L=b&&b.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(v,"__esModule",{value:!0});var O=L(E),w={enabled:!0};function P(n){var e={plausible:null};return{name:"plausible-analytics",config:d(d({},w),n),initialize:function(t){var r=t.config,a=r.apiHost,l=r.domain,i=r.hashMode,s=r.trackLocalhost,c={apiHost:a,domain:l,hashMode:i,trackLocalhost:s};e.plausible=O.default(Object.keys(c).reduce(function(f,u){var h;return typeof c[u]<"u"?d(d({},f),(h={},h[u]=c[u],h)):f},{}))},loaded:function(){return Boolean(e.plausible)},page:function(t){var r=t.payload;if(!!e.plausible){var a=r.properties;e.plausible.trackPageview({},{props:a})}},track:function(t){var r=t.payload;if(!!e.plausible){var a=r.properties,l=r.event;e.plausible.trackEvent(l,{props:a})}}}}var A=v.default=P;const j=m({__proto__:null,default:A},[v]);export{j as p};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{w as o}from"./preload-helper-23bf4dac.js";import{p as t,a as e,b as r}from"./state-0428e257.js";const l=t(o({isDark:!1}),e(),"themeStore"),i=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],d=s=>{s.includes(" ")&&(s=s.split(" ")[1].trim());const a=i.includes(s);console.log("Setting theme",s),l.set({theme:s,isDark:a}),r("themeChange",{theme:s,isDark:a})};export{d as s,l as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{S as I,i as M,s as N,I as V,l as d,a as E,e as b,m as u,n as _,h as f,c as D,p as h,b as v,J as $,K as T,L as j,f as A,t as L,M as y,o as W,r as q,u as z,N as m,v as B}from"../chunks/index-1530a265.js";import{b as k}from"../chunks/paths-b9644fda.js";import{i as C,t as H,l as J}from"../chunks/state-0428e257.js";import{s as K,t as S}from"../chunks/theme-25d0d25d.js";import"../chunks/preload-helper-23bf4dac.js";function w(n){let i,o,l,r,c,s=n[0].message+"",t;return{c(){i=d("div"),o=d("div"),l=d("div"),r=E(),c=d("div"),t=q(s),this.h()},l(e){i=u(e,"DIV",{class:!0});var a=_(i);o=u(a,"DIV",{class:!0});var p=_(o);l=u(p,"DIV",{class:!0}),_(l).forEach(f),r=D(p),c=u(p,"DIV",{});var g=_(c);t=z(g,s),g.forEach(f),p.forEach(f),a.forEach(f),this.h()},h(){h(l,"class","loader mx-auto svelte-1ub1m40"),h(o,"class","text-indigo-100 text-4xl font-bold my-auto"),h(i,"class","w-screen h-screen z-50 absolute left-0 top-0 bg-gray-600 opacity-50 flex align-middle justify-center")},m(e,a){v(e,i,a),m(i,o),m(o,l),m(o,r),m(o,c),m(c,t)},p(e,a){a&1&&s!==(s=e[0].message+"")&&B(t,s)},d(e){e&&f(i)}}}function R(n){let i,o,l,r;const c=n[2].default,s=V(c,n,n[1],null);let t=n[0].loading&&w(n);return{c(){i=d("main"),s&&s.c(),o=E(),t&&t.c(),l=b(),this.h()},l(e){i=u(e,"MAIN",{class:!0});var a=_(i);s&&s.l(a),a.forEach(f),o=D(e),t&&t.l(e),l=b(),this.h()},h(){h(i,"class","h-screen text-primary-content")},m(e,a){v(e,i,a),s&&s.m(i,null),v(e,o,a),t&&t.m(e,a),v(e,l,a),r=!0},p(e,[a]){s&&s.p&&(!r||a&2)&&$(s,c,e,e[1],r?j(c,e[1],a,null):T(e[1]),null),e[0].loading?t?t.p(e,a):(t=w(e),t.c(),t.m(l.parentNode,l)):t&&(t.d(1),t=null)},i(e){r||(A(s,e),r=!0)},o(e){L(s,e),r=!1},d(e){e&&f(i),s&&s.d(e),e&&f(o),t&&t.d(e),e&&f(l)}}}function x(n,i,o){let l,r;y(n,S,t=>o(3,l=t)),y(n,J,t=>o(0,r=t));let{$$slots:c={},$$scope:s}=i;return W(()=>{window.addEventListener("hashchange",async e=>{await C()}),"serviceWorker"in navigator&&navigator.serviceWorker.register(`${k}/service-worker.js`,{scope:`${k}/`}).then(function(e){console.log("Registration successful, scope is:",e.scope)}).catch(function(e){console.log("Service worker registration failed, error:",e)});const t=window.matchMedia("(prefers-color-scheme: dark)").matches;l.theme===void 0&&K(t?"dark":"light"),S.subscribe(({theme:e,isDark:a})=>{e&&(document.getElementsByTagName("html")[0].setAttribute("data-theme",e),H(a))})}),n.$$set=t=>{"$$scope"in t&&o(1,s=t.$$scope)},[r,s,c]}class U extends I{constructor(i){super(),M(this,i,x,R,N,{})}}export{U as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{S as a,i as s,s as i,w as m,x as c,y as f,E as u,f as p,t as l,B as _,o as $}from"../chunks/index-1530a265.js";import{V as d}from"../chunks/view-51cf7421.js";import{i as g}from"../chunks/state-0428e257.js";import"../chunks/preload-helper-23bf4dac.js";function w(o){let t,e;return t=new d({}),{c(){m(t.$$.fragment)},l(n){c(t.$$.fragment,n)},m(n,r){f(t,n,r),e=!0},p:u,i(n){e||(p(t.$$.fragment,n),e=!0)},o(n){l(t.$$.fragment,n),e=!1},d(n){_(t,n)}}}function x(o){return $(g),[]}class h extends a{constructor(t){super(),s(this,t,x,w,i,{})}}export{h as default};
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
{"version":"1660757986953"}
|
||||
{"version":"1660761536061"}
|
||||
@@ -48,7 +48,7 @@
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"></script>
|
||||
<meta http-equiv="content-security-policy" content="">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-511e1c32.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-35b365f6.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/index-1530a265.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/preload-helper-23bf4dac.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/paths-b9644fda.js">
|
||||
@@ -57,7 +57,7 @@
|
||||
<body>
|
||||
<div id="svelte">
|
||||
<script type="module" data-sveltekit-hydrate="45h">
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-511e1c32.js";
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-35b365f6.js";
|
||||
|
||||
set_public_env({});
|
||||
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"></script>
|
||||
<meta http-equiv="content-security-policy" content="">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-511e1c32.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-35b365f6.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/index-1530a265.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/preload-helper-23bf4dac.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/paths-b9644fda.js">
|
||||
@@ -57,7 +57,7 @@
|
||||
<body>
|
||||
<div id="svelte">
|
||||
<script type="module" data-sveltekit-hydrate="45h">
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-511e1c32.js";
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-35b365f6.js";
|
||||
|
||||
set_public_env({});
|
||||
|
||||
|
||||
+28
-20
@@ -1,6 +1,6 @@
|
||||
{
|
||||
".svelte-kit/runtime/client/start.js": {
|
||||
"file": "_app/immutable/start-511e1c32.js",
|
||||
"file": "_app/immutable/start-35b365f6.js",
|
||||
"src": ".svelte-kit/runtime/client/start.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
@@ -18,15 +18,15 @@
|
||||
]
|
||||
},
|
||||
"src/routes/__layout.svelte": {
|
||||
"file": "_app/immutable/pages/__layout.svelte-788744b2.js",
|
||||
"file": "_app/immutable/pages/__layout.svelte-ce49a648.js",
|
||||
"src": "src/routes/__layout.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-1530a265.js",
|
||||
"_paths-b9644fda.js",
|
||||
"_state-56a55c39.js",
|
||||
"_theme-c2f8016d.js",
|
||||
"_state-0428e257.js",
|
||||
"_theme-25d0d25d.js",
|
||||
"_preload-helper-23bf4dac.js"
|
||||
],
|
||||
"css": [
|
||||
@@ -43,15 +43,15 @@
|
||||
]
|
||||
},
|
||||
"src/routes/edit.svelte": {
|
||||
"file": "_app/immutable/pages/edit.svelte-04d4bde7.js",
|
||||
"file": "_app/immutable/pages/edit.svelte-4370d9c7.js",
|
||||
"src": "src/routes/edit.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-1530a265.js",
|
||||
"_state-56a55c39.js",
|
||||
"_theme-c2f8016d.js",
|
||||
"_view-e5882161.js",
|
||||
"_state-0428e257.js",
|
||||
"_theme-25d0d25d.js",
|
||||
"_view-51cf7421.js",
|
||||
"_paths-b9644fda.js",
|
||||
"_preload-helper-23bf4dac.js"
|
||||
],
|
||||
@@ -71,14 +71,14 @@
|
||||
]
|
||||
},
|
||||
"src/routes/view.svelte": {
|
||||
"file": "_app/immutable/pages/view.svelte-a82c8024.js",
|
||||
"file": "_app/immutable/pages/view.svelte-71e9c34b.js",
|
||||
"src": "src/routes/view.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-1530a265.js",
|
||||
"_view-e5882161.js",
|
||||
"_state-56a55c39.js",
|
||||
"_view-51cf7421.js",
|
||||
"_state-0428e257.js",
|
||||
"_preload-helper-23bf4dac.js"
|
||||
]
|
||||
},
|
||||
@@ -97,29 +97,30 @@
|
||||
"_singletons-eca981c1.js": {
|
||||
"file": "_app/immutable/chunks/singletons-eca981c1.js"
|
||||
},
|
||||
"_state-56a55c39.js": {
|
||||
"file": "_app/immutable/chunks/state-56a55c39.js",
|
||||
"_state-0428e257.js": {
|
||||
"file": "_app/immutable/chunks/state-0428e257.js",
|
||||
"imports": [
|
||||
"_preload-helper-23bf4dac.js",
|
||||
"_index-1530a265.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"node_modules/analytics/lib/analytics.browser.es.js",
|
||||
"node_modules/@analytics/google-analytics/lib/analytics-plugin-ga.browser.es.js"
|
||||
"node_modules/@analytics/google-analytics/lib/analytics-plugin-ga.browser.es.js",
|
||||
"_plausible-1c3c9469.js"
|
||||
]
|
||||
},
|
||||
"_theme-c2f8016d.js": {
|
||||
"file": "_app/immutable/chunks/theme-c2f8016d.js",
|
||||
"_theme-25d0d25d.js": {
|
||||
"file": "_app/immutable/chunks/theme-25d0d25d.js",
|
||||
"imports": [
|
||||
"_preload-helper-23bf4dac.js",
|
||||
"_state-56a55c39.js"
|
||||
"_state-0428e257.js"
|
||||
]
|
||||
},
|
||||
"_view-e5882161.js": {
|
||||
"file": "_app/immutable/chunks/view-e5882161.js",
|
||||
"_view-51cf7421.js": {
|
||||
"file": "_app/immutable/chunks/view-51cf7421.js",
|
||||
"imports": [
|
||||
"_index-1530a265.js",
|
||||
"_state-56a55c39.js"
|
||||
"_state-0428e257.js"
|
||||
],
|
||||
"css": [
|
||||
"_app/immutable/assets/view-0c536ccf.css"
|
||||
@@ -135,6 +136,13 @@
|
||||
"src": "node_modules/@analytics/google-analytics/lib/analytics-plugin-ga.browser.es.js",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"_plausible-1c3c9469.js": {
|
||||
"file": "_app/immutable/chunks/plausible-1c3c9469.js",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_state-0428e257.js"
|
||||
]
|
||||
},
|
||||
"src/routes/edit.css": {
|
||||
"file": "_app/immutable/assets/edit-826332b8.css",
|
||||
"src": "src/routes/edit.css"
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"></script>
|
||||
<meta http-equiv="content-security-policy" content="">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-511e1c32.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/start-35b365f6.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/index-1530a265.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/preload-helper-23bf4dac.js">
|
||||
<link rel="modulepreload" href="/mermaid-live-editor/_app/immutable/chunks/paths-b9644fda.js">
|
||||
@@ -57,7 +57,7 @@
|
||||
<body>
|
||||
<div id="svelte">
|
||||
<script type="module" data-sveltekit-hydrate="45h">
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-511e1c32.js";
|
||||
import { set_public_env, start } from "/mermaid-live-editor/_app/immutable/start-35b365f6.js";
|
||||
|
||||
set_public_env({});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user