schlechtenburg/docs/assets/index.5f371c7e.js

3 lines
20 KiB
JavaScript

var t=Object.assign;import{d as e,r as n,i as r,a as s,c as o,b as l,m as c,s as i,e as a,f as u,g as f,h as p}from"./vendor.adf692d7.js";!function(t=".",e="__import__"){try{self[e]=new Function("u","return import(u)")}catch(n){const r=new URL(t,location),s=t=>{URL.revokeObjectURL(t.src),t.remove()};self[e]=t=>new Promise(((n,o)=>{const l=new URL(t,r);if(self[e].moduleMap[l])return n(self[e].moduleMap[l]);const c=new Blob([`import * as m from '${l}';`,`${e}.moduleMap['${l}']=m;`],{type:"text/javascript"}),i=Object.assign(document.createElement("script"),{type:"module",src:URL.createObjectURL(c),onerror(){o(new Error(`Failed to import: ${t}`)),s(i)},onload(){n(self[e].moduleMap[l]),s(i)}});document.head.appendChild(i)})),self[e].moduleMap={}}}("assets/");const d=Symbol("Schlechtenburg block library");const h=e({name:"sb-block",props:{block:{type:Object,required:!0}},setup(t,e){const i=n(null),a=r(d,s({}));return()=>{var n;const r=(null==(s=t.block.name,n=a[s])?void 0:n.component)||o("span",null,[l("Missing block "),name]);var s;return o("div",{ref:i,class:"sb-block"},[o(r,c({data:t.block.data,blockId:t.block.id},e.attrs),null)])}}});const _=e({name:"sb-main",model:{prop:"block",event:"update"},props:{customBlocks:{type:Array,default:()=>[]},block:{type:Object,required:!0}},setup:e=>(i(t({},e.customBlocks.reduce(((e,n)=>t(t({},e),{[n.name]:n})),{}))),()=>o(h,{block:e.block},null))});let g;const v={};function y(t,e){const n=Object.create(null),r=t.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}const m=y("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function b(t){if(F(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],s=b(A(r)?S(r):r);if(s)for(const t in s)e[t]=s[t]}return e}if(U(t))return t}const w=/;(?![^(]*\))/g,k=/:(.+)/;function S(t){const e={};return t.split(w).forEach((t=>{if(t){const n=t.split(k);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function R(t){let e="";if(A(t))e=t;else if(F(t))for(let n=0;n<t.length;n++){const r=R(t[n]);r&&(e+=r+" ")}else if(U(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const x={},E=()=>{},C=/^on[^a-z]/,O=t=>C.test(t),$=Object.assign,j=Object.prototype.hasOwnProperty,M=(t,e)=>j.call(t,e),F=Array.isArray,P=t=>"[object Map]"===T(t),I=t=>"function"==typeof t,A=t=>"string"==typeof t,N=t=>"symbol"==typeof t,U=t=>null!==t&&"object"==typeof t,L=Object.prototype.toString,T=t=>L.call(t),z=t=>A(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,B=(t,e)=>t!==e&&(t==t||e==e),V=new WeakMap,W=[];let D;const q=Symbol(""),K=Symbol("");function H(t,e=x){(function(t){return t&&!0===t._isEffect})(t)&&(t=t.raw);const n=function(t,e){const n=function(){if(!n.active)return e.scheduler?void 0:t();if(!W.includes(n)){G(n);try{return X.push(Q),Q=!0,W.push(n),D=n,t()}finally{W.pop(),Z(),D=W[W.length-1]}}};return n.id=J++,n.allowRecurse=!!e.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=t,n.deps=[],n.options=e,n}(t,e);return e.lazy||n(),n}let J=0;function G(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let Q=!0;const X=[];function Y(){X.push(Q),Q=!1}function Z(){const t=X.pop();Q=void 0===t||t}function tt(t,e,n){if(!Q||void 0===D)return;let r=V.get(t);r||V.set(t,r=new Map);let s=r.get(n);s||r.set(n,s=new Set),s.has(D)||(s.add(D),D.deps.push(s))}function et(t,e,n,r,s,o){const l=V.get(t);if(!l)return;const c=new Set,i=t=>{t&&t.forEach((t=>{(t!==D||t.allowRecurse)&&c.add(t)}))};if("clear"===e)l.forEach(i);else if("length"===n&&F(t))l.forEach(((t,e)=>{("length"===e||e>=r)&&i(t)}));else switch(void 0!==n&&i(l.get(n)),e){case"add":F(t)?z(n)&&i(l.get("length")):(i(l.get(q)),P(t)&&i(l.get(K)));break;case"delete":F(t)||(i(l.get(q)),P(t)&&i(l.get(K)));break;case"set":P(t)&&i(l.get(q))}c.forEach((t=>{t.options.scheduler?t.options.scheduler(t):t()}))}const nt=y("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(N)),st=at(),ot=at(!1,!0),lt=at(!0),ct=at(!0,!0),it={};function at(t=!1,e=!1){return function(n,r,s){if("__v_isReactive"===r)return!t;if("__v_isReadonly"===r)return t;if("__v_raw"===r&&s===(t?It:Pt).get(n))return n;const o=F(n);if(!t&&o&&M(it,r))return Reflect.get(it,r,s);const l=Reflect.get(n,r,s);if(N(r)?rt.has(r):nt(r))return l;if(t||tt(n,0,r),e)return l;if(Dt(l)){return!o||!z(r)?l.value:l}return U(l)?t?Ut(l):Nt(l):l}}["includes","indexOf","lastIndexOf"].forEach((t=>{const e=Array.prototype[t];it[t]=function(...t){const n=Vt(this);for(let e=0,s=this.length;e<s;e++)tt(n,0,e+"");const r=e.apply(n,t);return-1===r||!1===r?e.apply(n,t.map(Vt)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{const e=Array.prototype[t];it[t]=function(...t){Y();const n=e.apply(this,t);return Z(),n}}));function ut(t=!1){return function(e,n,r,s){const o=e[n];if(!t&&(r=Vt(r),!F(e)&&Dt(o)&&!Dt(r)))return o.value=r,!0;const l=F(e)&&z(n)?Number(n)<e.length:M(e,n),c=Reflect.set(e,n,r,s);return e===Vt(s)&&(l?B(r,o)&&et(e,"set",n,r):et(e,"add",n,r)),c}}const ft={get:st,set:ut(),deleteProperty:function(t,e){const n=M(t,e);t[e];const r=Reflect.deleteProperty(t,e);return r&&n&&et(t,"delete",e,void 0),r},has:function(t,e){const n=Reflect.has(t,e);return N(e)&&rt.has(e)||tt(t,0,e),n},ownKeys:function(t){return tt(t,0,F(t)?"length":q),Reflect.ownKeys(t)}},pt={get:lt,set:(t,e)=>!0,deleteProperty:(t,e)=>!0};$({},ft,{get:ot,set:ut(!0)}),$({},pt,{get:ct});const dt=t=>U(t)?Nt(t):t,ht=t=>U(t)?Ut(t):t,_t=t=>t,gt=t=>Reflect.getPrototypeOf(t);function vt(t,e,n=!1,r=!1){const s=Vt(t=t.__v_raw),o=Vt(e);e!==o&&!n&&tt(s,0,e),!n&&tt(s,0,o);const{has:l}=gt(s),c=n?ht:r?_t:dt;return l.call(s,e)?c(t.get(e)):l.call(s,o)?c(t.get(o)):void 0}function yt(t,e=!1){const n=this.__v_raw,r=Vt(n),s=Vt(t);return t!==s&&!e&&tt(r,0,t),!e&&tt(r,0,s),t===s?n.has(t):n.has(t)||n.has(s)}function mt(t,e=!1){return t=t.__v_raw,!e&&tt(Vt(t),0,q),Reflect.get(t,"size",t)}function bt(t){t=Vt(t);const e=Vt(this);return gt(e).has.call(e,t)||(e.add(t),et(e,"add",t,t)),this}function wt(t,e){e=Vt(e);const n=Vt(this),{has:r,get:s}=gt(n);let o=r.call(n,t);o||(t=Vt(t),o=r.call(n,t));const l=s.call(n,t);return n.set(t,e),o?B(e,l)&&et(n,"set",t,e):et(n,"add",t,e),this}function kt(t){const e=Vt(this),{has:n,get:r}=gt(e);let s=n.call(e,t);s||(t=Vt(t),s=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return s&&et(e,"delete",t,void 0),o}function St(){const t=Vt(this),e=0!==t.size,n=t.clear();return e&&et(t,"clear",void 0,void 0),n}function Rt(t,e){return function(n,r){const s=this,o=s.__v_raw,l=Vt(o),c=t?ht:e?_t:dt;return!t&&tt(l,0,q),o.forEach(((t,e)=>n.call(r,c(t),c(e),s)))}}function xt(t,e,n){return function(...r){const s=this.__v_raw,o=Vt(s),l=P(o),c="entries"===t||t===Symbol.iterator&&l,i="keys"===t&&l,a=s[t](...r),u=e?ht:n?_t:dt;return!e&&tt(o,0,i?K:q),{next(){const{value:t,done:e}=a.next();return e?{value:t,done:e}:{value:c?[u(t[0]),u(t[1])]:u(t),done:e}},[Symbol.iterator](){return this}}}}function Et(t){return function(...e){return"delete"!==t&&this}}const Ct={get(t){return vt(this,t)},get size(){return mt(this)},has:yt,add:bt,set:wt,delete:kt,clear:St,forEach:Rt(!1,!1)},Ot={get(t){return vt(this,t,!1,!0)},get size(){return mt(this)},has:yt,add:bt,set:wt,delete:kt,clear:St,forEach:Rt(!1,!0)},$t={get(t){return vt(this,t,!0)},get size(){return mt(this,!0)},has(t){return yt.call(this,t,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:Rt(!0,!1)};function jt(t,e){const n=e?Ot:t?$t:Ct;return(e,r,s)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(M(n,r)&&r in e?n:e,r,s)}["keys","values","entries",Symbol.iterator].forEach((t=>{Ct[t]=xt(t,!1,!1),$t[t]=xt(t,!0,!1),Ot[t]=xt(t,!1,!0)}));const Mt={get:jt(!1,!1)},Ft={get:jt(!0,!1)},Pt=new WeakMap,It=new WeakMap;function At(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>T(t).slice(8,-1))(t))}function Nt(t){return t&&t.__v_isReadonly?t:Lt(t,!1,ft,Mt)}function Ut(t){return Lt(t,!0,pt,Ft)}function Lt(t,e,n,r){if(!U(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const s=e?It:Pt,o=s.get(t);if(o)return o;const l=At(t);if(0===l)return t;const c=new Proxy(t,2===l?r:n);return s.set(t,c),c}function Tt(t){return zt(t)?Tt(t.__v_raw):!(!t||!t.__v_isReactive)}function zt(t){return!(!t||!t.__v_isReadonly)}function Bt(t){return Tt(t)||zt(t)}function Vt(t){return t&&Vt(t.__v_raw)||t}const Wt=t=>U(t)?Nt(t):t;function Dt(t){return Boolean(t&&!0===t.__v_isRef)}function qt(t){return function(t,e=!1){if(Dt(t))return t;return new Kt(t,e)}(t)}class Kt{constructor(t,e=!1){this._rawValue=t,this._shallow=e,this.__v_isRef=!0,this._value=e?t:Wt(t)}get value(){return tt(Vt(this),0,"value"),this._value}set value(t){B(Vt(t),this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Wt(t),et(Vt(this),"set","value",t))}}class Ht{constructor(t,e,n){this._setter=e,this._dirty=!0,this.__v_isRef=!0,this.effect=H(t,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,et(Vt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),tt(Vt(this),0,"value"),this._value}set value(t){this._setter(t)}}function Jt(t,e,n,r){let s;try{s=r?t(...r):t()}catch(o){Qt(o,e,n)}return s}function Gt(t,e,n,r){if(I(t)){const o=Jt(t,e,n,r);return o&&(U(s=o)&&I(s.then)&&I(s.catch))&&o.catch((t=>{Qt(t,e,n)})),o}var s;const o=[];for(let l=0;l<t.length;l++)o.push(Gt(t[l],e,n,r));return o}function Qt(t,e,n,r=!0){e&&e.vnode;if(e){let r=e.parent;const s=e.proxy,o=n;for(;r;){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,s,o))return;r=r.parent}const l=e.appContext.config.errorHandler;if(l)return void Jt(l,null,10,[t,s,o])}!function(t,e,n,r=!0){console.error(t)}(t,0,0,r)}let Xt=!1,Yt=!1;const Zt=[];let te=0;const ee=[];let ne=null,re=0;const se=[];let oe=null,le=0;const ce=Promise.resolve();let ie=null,ae=null;function ue(t){const e=ie||ce;return t?e.then(this?t.bind(this):t):e}function fe(t){if(!(Zt.length&&Zt.includes(t,Xt&&t.allowRecurse?te+1:te)||t===ae)){const e=function(t){let e=te+1,n=Zt.length;const r=_e(t);for(;e<n;){const t=e+n>>>1;_e(Zt[t])<r?e=t+1:n=t}return e}(t);e>-1?Zt.splice(e,0,t):Zt.push(t),pe()}}function pe(){Xt||Yt||(Yt=!0,ie=ce.then(ge))}function de(t,e,n,r){F(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?r+1:r)||n.push(t),pe()}function he(t,e=null){if(ee.length){for(ae=e,ne=[...new Set(ee)],ee.length=0,re=0;re<ne.length;re++)ne[re]();ne=null,re=0,ae=null,he(t,e)}}const _e=t=>null==t.id?1/0:t.id;function ge(t){Yt=!1,Xt=!0,he(t),Zt.sort(((t,e)=>_e(t)-_e(e)));try{for(te=0;te<Zt.length;te++){const t=Zt[te];t&&Jt(t,null,14)}}finally{te=0,Zt.length=0,function(t){if(se.length){const t=[...new Set(se)];if(se.length=0,oe)return void oe.push(...t);for(oe=t,oe.sort(((t,e)=>_e(t)-_e(e))),le=0;le<oe.length;le++)oe[le]();oe=null,le=0}}(),Xt=!1,ie=null,(Zt.length||se.length)&&ge(t)}}function ve(t){if(I(t)&&(t=t()),F(t)){t=function(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(!Pe(r))return;if(r.type!==Fe||"v-if"===r.children){if(e)return;e=r}}return e}(t)}return Te(t)}let ye=0;const me=t=>ye+=t;const be=(we="m",(t,e=qe)=>function(t,e,n=qe,r=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;Y(),Ke(n);const s=Gt(e,n,t,r);return Ke(null),Z(),s});return r?s.unshift(o):s.push(o),o}}(we,t,e));var we;const ke={};function Se(t,e,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:l}=x,c=qe){let i,a,u=!1;if(Dt(t)?(i=()=>t.value,u=!!t._shallow):Tt(t)?(i=()=>t,r=!0):i=F(t)?()=>t.map((t=>Dt(t)?t.value:Tt(t)?xe(t):I(t)?Jt(t,c,2,[c&&c.proxy]):void 0)):I(t)?e?()=>Jt(t,c,2,[c&&c.proxy]):()=>{if(!c||!c.isUnmounted)return a&&a(),Jt(t,c,3,[f])}:E,e&&r){const t=i;i=()=>xe(t())}const f=t=>{a=_.options.onStop=()=>{Jt(t,c,4)}};let p=F(t)?[]:ke;const d=()=>{if(_.active)if(e){const t=_();(r||u||B(t,p))&&(a&&a(),Gt(e,c,3,[t,p===ke?void 0:p,f]),p=t)}else _()};let h;d.allowRecurse=!!e,h="sync"===s?d:"post"===s?()=>Oe(d,c&&c.suspense):()=>{!c||c.isMounted?function(t){de(t,ne,ee,re)}(d):d()};const _=H(i,{lazy:!0,onTrack:o,onTrigger:l,scheduler:h});return He(_,c),e?n?d():p=_():"post"===s?Oe(_,c&&c.suspense):_(),()=>{var t;(t=_).active&&(G(t),t.options.onStop&&t.options.onStop(),t.active=!1),c&&((t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)})(c.effects,_)}}function Re(t,e,n){const r=this.proxy;return Se(A(t)?()=>r[t]:t.bind(r),e.bind(r),n,this)}function xe(t,e=new Set){if(!U(t)||e.has(t))return t;if(e.add(t),Dt(t))xe(t.value,e);else if(F(t))for(let n=0;n<t.length;n++)xe(t[n],e);else if("[object Set]"===T(t)||P(t))t.forEach((t=>{xe(t,e)}));else for(const n in t)xe(t[n],e);return t}function Ee(t){return I(t)?{setup:t,name:t.name}:t}function Ce(t,{vnode:{ref:e,props:n,children:r}}){const s=Ne(t,n,r);return s.ref=e,s}const Oe=function(t,e){e&&e.pendingBranch?F(t)?e.effects.push(...t):e.effects.push(t):de(t,oe,se,le)},$e=Symbol(),je=Symbol(void 0),Me=Symbol(void 0),Fe=Symbol(void 0);function Pe(t){return!!t&&!0===t.__v_isVNode}const Ie=({key:t})=>null!=t?t:null,Ae=({ref:t})=>null!=t?A(t)||Dt(t)||I(t)?{i:null,r:t}:t:null,Ne=function(t,e=null,n=null,r=0,s=null,o=!1){t&&t!==$e||(t=Fe);if(Pe(t)){const r=Ue(t,e,!0);return n&&ze(r,n),r}l=t,I(l)&&"__vccOpts"in l&&(t=t.__vccOpts);var l;if(e){(Bt(e)||"__vInternal"in e)&&(e=$({},e));let{class:t,style:n}=e;t&&!A(t)&&(e.class=R(t)),U(n)&&(Bt(n)&&!F(n)&&(n=$({},n)),e.style=b(n))}const c=A(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:U(t)?4:I(t)?2:0,i={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ie(e),ref:e&&Ae(e),scopeId:null,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};if(ze(i,n),128&c){const{content:t,fallback:e}=function(t){const{shapeFlag:e,children:n}=t;let r,s;return 32&e?(r=ve(n.default),s=ve(n.fallback)):(r=ve(n),s=Te(null)),{content:r,fallback:s}}(i);i.ssContent=t,i.ssFallback=e}0;return i};function Ue(t,e,n=!1){const{props:r,ref:s,patchFlag:o,children:l}=t,c=e?function(...t){const e=$({},t[0]);for(let n=1;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=R([e.class,r.class]));else if("style"===t)e.style=b([e.style,r.style]);else if(O(t)){const n=e[t],s=r[t];n!==s&&(e[t]=n?[].concat(n,r[t]):s)}else""!==t&&(e[t]=r[t])}return e}(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Ie(c),ref:e&&e.ref?n&&s?F(s)?s.concat(Ae(e)):[s,Ae(e)]:Ae(e):s,scopeId:t.scopeId,children:l,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==je?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ue(t.ssContent),ssFallback:t.ssFallback&&Ue(t.ssFallback),el:t.el,anchor:t.anchor}}function Le(t=" ",e=0){return Ne(Me,null,t,e)}function Te(t){return null==t||"boolean"==typeof t?Ne(Fe):F(t)?Ne(je,null,t):"object"==typeof t?null===t.el?t:Ue(t):Ne(Me,null,String(t))}function ze(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(F(e))n=16;else if("object"==typeof e){if(1&r||64&r){const n=e.default;return void(n&&(n._c&&me(1),ze(t,n()),n._c&&me(-1)))}{n=32;const t=e._;t||"__vInternal"in e||(e._ctx=null)}}else I(e)?(e={default:e,_ctx:null},n=32):(e=String(e),64&r?(n=16,e=[Le(e)]):n=8);t.children=e,t.shapeFlag|=n}function Be(t,e,n){const r=n.appContext.config.optionMergeStrategies,{mixins:s,extends:o}=e;o&&Be(t,o,n),s&&s.forEach((e=>Be(t,e,n)));for(const l in e)r&&M(r,l)?t[l]=r[l](t[l],e[l],n.proxy,l):t[l]=e[l]}const Ve=t=>t?4&t.vnode.shapeFlag?t.exposed?t.exposed:t.proxy:Ve(t.parent):null,We=$(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ve(t.parent),$root:t=>Ve(t.root),$emit:t=>t.emit,$options:t=>function(t){const e=t.type,{__merged:n,mixins:r,extends:s}=e;if(n)return n;const o=t.appContext.mixins;if(!o.length&&!r&&!s)return e;const l={};return o.forEach((e=>Be(l,e,t))),Be(l,e,t),e.__merged=l}(t),$forceUpdate:t=>()=>fe(t.update),$nextTick:t=>ue.bind(t.proxy),$watch:t=>Re.bind(t)}),De={get({_:t},e){const{ctx:n,setupState:r,data:s,props:o,accessCache:l,type:c,appContext:i}=t;if("__v_skip"===e)return!0;let a;if("$"!==e[0]){const c=l[e];if(void 0!==c)switch(c){case 0:return r[e];case 1:return s[e];case 3:return n[e];case 2:return o[e]}else{if(r!==x&&M(r,e))return l[e]=0,r[e];if(s!==x&&M(s,e))return l[e]=1,s[e];if((a=t.propsOptions[0])&&M(a,e))return l[e]=2,o[e];if(n!==x&&M(n,e))return l[e]=3,n[e];l[e]=4}}const u=We[e];let f,p;return u?("$attrs"===e&&tt(t,0,e),u(t)):(f=c.__cssModules)&&(f=f[e])?f:n!==x&&M(n,e)?(l[e]=3,n[e]):(p=i.config.globalProperties,M(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:r,setupState:s,ctx:o}=t;if(s!==x&&M(s,e))s[e]=n;else if(r!==x&&M(r,e))r[e]=n;else if(M(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:s,propsOptions:o}},l){let c;return void 0!==n[l]||t!==x&&M(t,l)||e!==x&&M(e,l)||(c=o[0])&&M(c,l)||M(r,l)||M(We,l)||M(s.config.globalProperties,l)}};$({},De,{get(t,e){if(e!==Symbol.unscopables)return De.get(t,e,t)},has:(t,e)=>"_"!==e[0]&&!m(e)});let qe=null;const Ke=t=>{qe=t};function He(t,e=qe){e&&(e.effects||(e.effects=[])).push(t)}function Je(t){const e=function(t){let e,n;return I(t)?(e=t,n=E):(e=t.get,n=t.set),new Ht(e,n,I(t)||!t.set)}(t);return He(e.effect),e}const Ge=()=>({value:"",align:"left"});var Qe={name:"sb-paragraph",getDefaultData:Ge,component:function(t){I(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:l=!0,onError:c}=t;let i,a=null,u=0;const f=()=>{let t;return a||(t=a=e().catch((t=>{if(t=t instanceof Error?t:new Error(String(t)),c)return new Promise(((e,n)=>{c(t,(()=>e((u++,a=null,f()))),(()=>n(t)),u+1)}));throw t})).then((e=>t!==a&&a?a:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),i=e,e))))};return Ee({__asyncLoader:f,name:"AsyncComponentWrapper",setup(){const t=qe;if(i)return()=>Ce(i,t);const e=e=>{a=null,Qt(e,t,13,!r)};if(l&&t.suspense)return f().then((e=>()=>Ce(e,t))).catch((t=>(e(t),()=>r?Ne(r,{error:t}):null)));const c=qt(!1),u=qt(),p=qt(!!s);return s&&setTimeout((()=>{p.value=!1}),s),null!=o&&setTimeout((()=>{if(!c.value&&!u.value){const t=new Error(`Async component timed out after ${o}ms.`);e(t),u.value=t}}),o),f().then((()=>{c.value=!0})).catch((t=>{e(t),u.value=t})),()=>c.value&&i?Ce(i,t):u.value&&r?Ne(r,{error:u.value}):n&&!p.value?Ne(n):void 0}})}((()=>function(t,e){if(!e)return t();if(void 0===g){const t=document.createElement("link").relList;g=t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(e.map((t=>{if(t in v)return;v[t]=!0;const e=t.endsWith(".css"),n=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${n}`))return;const r=document.createElement("link");return r.rel=e?"stylesheet":g,e||(r.as="script",r.crossOrigin=""),r.href=t,document.head.appendChild(r),e?new Promise(((t,e)=>{r.addEventListener("load",t),r.addEventListener("error",e)})):void 0}))).then((()=>t()))}((()=>__import__("./edit.6974d338.js")),["./assets/edit.6974d338.js","./assets/edit.25b6af76.css","./assets/vendor.adf692d7.js"])))};p(a({name:"App",setup(){const t=u({name:"sb-paragraph",id:"1590592112200",data:{value:"This is the first paragraph<br>",align:"left"}});return()=>f(_,{block:t,customBlocks:[Qe],key:"edit"},null)}})).mount("#app");export{qt as a,Ne as b,Je as c,Ee as d,Ge as g,be as o,Nt as r};
//# sourceMappingURL=index.5f371c7e.js.map