@htmlbricks/hb-paragraps-around-image 0.61.12 → 0.61.13
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/main.iife.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(Ot){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ir=1,Mr=4,Lr=8,Dr=16,jr=1,qr=2,nt="[",Pt="[!",Ct="]",we={},N=Symbol(),Fr="http://www.w3.org/1999/xhtml",kt=!1;var It=Array.isArray,Yr=Array.prototype.indexOf,Br=Array.from,Fe=Object.keys,Ee=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,Ur=Object.getOwnPropertyDescriptors,Hr=Object.prototype,Gr=Array.prototype,Mt=Object.getPrototypeOf,Lt=Object.isExtensible;function Dt(e){for(var t=0;t<e.length;t++)e[t]()}function Wr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const P=2,it=4,st=8,ye=16,X=32,ee=64,jt=128,k=256,Ye=512,R=1024,I=2048,te=4096,re=8192,fe=16384,at=32768,lt=65536,qt=1<<17,Ft=1<<18,be=1<<19,Vr=1<<20,ut=1<<21,ft=1<<22,oe=1<<23,Be=Symbol("$state"),Yt=Symbol("legacy props"),Xr=Symbol(""),ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Kr=3,Ie=8;function Jr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function zr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Zr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Qr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function en(e){throw new Error("https://svelte.dev/e/effect_orphan")}function tn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function rn(){throw new Error("https://svelte.dev/e/hydration_failed")}function nn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function an(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ue(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let T=!1;function B(e){T=e}let b;function K(e){if(e===null)throw Ue(),we;return b=e}function ct(){return K(Z(b))}function He(e){if(T){if(Z(b)!==null)throw Ue(),we;b=e}}function un(){for(var e=0,t=b;;){if(t.nodeType===Ie){var r=t.data;if(r===Ct){if(e===0)return t;e-=1}else(r===nt||r===Pt)&&(e+=1)}var n=Z(t);t.remove(),t=n}}function fn(e){if(!e||e.nodeType!==Ie)throw Ue(),we;return e.data}function Bt(e){return e===this.v}function on(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ut(e){return!on(e,this.v)}let cn=!1,Y=null;function Ge(e){Y=e}function Ht(e,t=!1,r){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Gt(e){var t=Y,r=t.e;if(r!==null){t.e=null;for(var n of r)lr(n)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function Wt(){return!0}const _n=new WeakMap;function dn(e){var t=m;if(t===null)return w.f|=oe,e;if((t.f&at)===0){if((t.f&jt)===0)throw!t.parent&&e instanceof Error&&Vt(e),e;t.b.error(e)}else _t(e,t)}function _t(e,t){for(;t!==null;){if((t.f&jt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Vt(e),e}function Vt(e){const t=_n.get(e);t&&(Ee(e,"message",{value:t.message}),Ee(e,"stack",{value:t.stack}))}let Me=[],dt=[];function Xt(){var e=Me;Me=[],Dt(e)}function hn(){var e=dt;dt=[],Dt(e)}function vn(e){Me.length===0&&queueMicrotask(Xt),Me.push(e)}function pn(){Me.length>0&&Xt(),dt.length>0&&hn()}function gn(){const e=m.b;return e===null&&Jr(),e}function ht(e){var t=P|I,r=w!==null&&(w.f&P)!==0?w:null;return m===null||r!==null&&(r.f&k)!==0?t|=k:m.f|=be,{ctx:Y,deps:null,effects:null,equals:Bt,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:r??m,ac:null}}function mn(e,t){let r=m;r===null&&zr();var n=r.b,i=void 0,s=mt(N),a=null,u=!w;return Mn(()=>{try{var l=e();a&&Promise.resolve(l).catch(()=>{})}catch(d){l=Promise.reject(d)}var f=()=>l;i=a?.then(f,f)??Promise.resolve(l),a=i;var _=x,o=n.is_pending();u&&(n.update_pending_count(1),o||_.increment());const h=(d,p=void 0)=>{a=null,o||_.activate(),p?p!==ot&&(s.f|=oe,$t(s,p)):((s.f&oe)!==0&&(s.f^=oe),$t(s,d)),u&&(n.update_pending_count(-1),o||_.decrement()),zt()};if(i.then(h,d=>h(null,d||"unknown")),_)return()=>{queueMicrotask(()=>_.neuter())}}),new Promise(l=>{function f(_){function o(){_===i?l(s):f(i)}_.then(o,o)}f(i)})}function $n(e){const t=ht(e);return t.equals=Ut,t}function Kt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ie(t[r])}}function wn(e){for(var t=e.parent;t!==null;){if((t.f&P)===0)return t;t=t.parent}return null}function vt(e){var t,r=m;G(wn(e));try{Kt(e),t=Er(e)}finally{G(r)}return t}function Jt(e){var t=vt(e);if(e.equals(t)||(e.v=t,e.wv=$r()),!ge){var r=(se||(e.f&k)!==0)&&e.deps!==null?te:R;O(e,r)}}function En(e,t,r){const n=ht;if(t.length===0){r(e.map(n));return}var i=x,s=m,a=yn(),u=gn();Promise.all(t.map(l=>mn(l))).then(l=>{i?.activate(),a();try{r([...e.map(n),...l])}catch(f){(s.f&fe)===0&&_t(f,s)}i?.deactivate(),zt()}).catch(l=>{u.error(l)})}function yn(){var e=m,t=w,r=Y,n=x;return function(){G(e),M(t),Ge(r),n?.activate()}}function zt(){G(null),M(null),Ge(null)}const pt=new Set;let x=null,Zt=new Set,We=[];function Qt(){const e=We.shift();We.length>0&&queueMicrotask(Qt),e()}let ce=[],Ve=null,gt=!1,Xe=!1;class _e{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#o=!1;#i=[];#a=[];#s=[];#n=[];#l=[];#c=[];#_=[];skipped_effects=new Set;process(t){ce=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#d();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#l=[],x=null,tr(r),tr(n),x===null?x=this:pt.delete(this),this.#f?.resolve()}else this.#u(this.#s),this.#u(this.#n),this.#u(this.#l);for(const i of this.#i)Re(i);for(const i of this.#a)Re(i);this.#i=[],this.#a=[]}#h(t){t.f^=R;for(var r=t.first;r!==null;){var n=r.f,i=(n&(X|ee))!==0,s=i&&(n&R)!==0,a=s||(n&re)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=R;else if((n&it)!==0)this.#n.push(r);else if((n&R)===0)if((n&ft)!==0){var u=r.b?.is_pending()?this.#a:this.#i;u.push(r)}else ze(r)&&((r.f&ye)!==0&&this.#l.push(r),Re(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#u(t){for(const r of t)((r.f&I)!==0?this.#c:this.#_).push(r),O(r,R);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){x=this}deactivate(){x=null;for(const t of Zt)if(Zt.delete(t),t(),x!==null)break}neuter(){this.#o=!0}flush(){ce.length>0?er():this.#d(),x===this&&(this.#r===0&&pt.delete(this),this.deactivate())}#d(){if(!this.#o)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)O(t,I),Te(t);for(const t of this.#_)O(t,te),Te(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Wr()).promise}static ensure(){if(x===null){const t=x=new _e;pt.add(x),Xe||_e.enqueue(()=>{x===t&&t.flush()})}return x}static enqueue(t){We.length===0&&queueMicrotask(Qt),We.unshift(t)}}function Ke(e){var t=Xe;Xe=!0;try{for(var r;;){if(pn(),ce.length===0&&(x?.flush(),ce.length===0))return Ve=null,r;er()}}finally{Xe=t}}function er(){var e=xe;gt=!0;try{var t=0;for(vr(!0);ce.length>0;){var r=_e.ensure();if(t++>1e3){var n,i;bn()}r.process(ce),ne.clear()}}finally{gt=!1,vr(e),Ve=null}}function bn(){try{tn()}catch(e){_t(e,Ve)}}let de=null;function tr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(fe|re))===0&&ze(n)&&(de=[],Re(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?cr(n):n.fn=null),de?.length>0)){ne.clear();for(const i of de)Re(i);de=[]}}de=null}}function Te(e){for(var t=Ve=e;t.parent!==null;){t=t.parent;var r=t.f;if(gt&&t===m&&(r&ye)!==0)return;if((r&(ee|X))!==0){if((r&R)===0)return;t.f^=R}}ce.push(t)}const ne=new Map;function mt(e,t){var r={f:0,v:e,reactions:null,equals:Bt,rv:0,wv:0};return r}function J(e,t){const r=mt(e);return Yn(r),r}function Tn(e,t=!1,r=!0){const n=mt(e);return t||(n.equals=Ut),n}function z(e,t,r=!1){w!==null&&(!H||(w.f&qt)!==0)&&Wt()&&(w.f&(P|ye|ft|qt))!==0&&!Q?.includes(e)&&ln();let n=r?he(t):t;return $t(e,n)}function $t(e,t){if(!e.equals(t)){var r=e.v;ge?ne.set(e,t):ne.set(e,r),e.v=t;var n=_e.ensure();n.capture(e,r),(e.f&P)!==0&&((e.f&I)!==0&&vt(e),O(e,(e.f&k)===0?R:te)),e.wv=$r(),rr(e,I),m!==null&&(m.f&R)!==0&&(m.f&(X|ee))===0&&(L===null?Bn([e]):L.push(e))}return t}function wt(e){z(e,e.v+1)}function rr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,u=(a&I)===0;u&&O(s,t),(a&P)!==0?rr(s,te):u&&((a&ye)!==0&&de!==null&&de.push(s),Te(s))}}function he(e){if(typeof e!="object"||e===null||Be in e)return e;const t=Mt(e);if(t!==Hr&&t!==Gr)return e;var r=new Map,n=It(e),i=J(0),s=me,a=u=>{if(me===s)return u();var l=w,f=me;M(null),mr(s);var _=u();return M(l),mr(f),_};return n&&r.set("length",J(e.length)),new Proxy(e,{defineProperty(u,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&sn();var _=r.get(l);return _===void 0?_=a(()=>{var o=J(f.value);return r.set(l,o),o}):z(_,f.value,!0),!0},deleteProperty(u,l){var f=r.get(l);if(f===void 0){if(l in u){const _=a(()=>J(N));r.set(l,_),wt(i)}}else z(f,N),wt(i);return!0},get(u,l,f){if(l===Be)return e;var _=r.get(l),o=l in u;if(_===void 0&&(!o||ue(u,l)?.writable)&&(_=a(()=>{var d=he(o?u[l]:N),p=J(d);return p}),r.set(l,_)),_!==void 0){var h=W(_);return h===N?void 0:h}return Reflect.get(u,l,f)},getOwnPropertyDescriptor(u,l){var f=Reflect.getOwnPropertyDescriptor(u,l);if(f&&"value"in f){var _=r.get(l);_&&(f.value=W(_))}else if(f===void 0){var o=r.get(l),h=o?.v;if(o!==void 0&&h!==N)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(u,l){if(l===Be)return!0;var f=r.get(l),_=f!==void 0&&f.v!==N||Reflect.has(u,l);if(f!==void 0||m!==null&&(!_||ue(u,l)?.writable)){f===void 0&&(f=a(()=>{var h=_?he(u[l]):N,d=J(h);return d}),r.set(l,f));var o=W(f);if(o===N)return!1}return _},set(u,l,f,_){var o=r.get(l),h=l in u;if(n&&l==="length")for(var d=f;d<o.v;d+=1){var p=r.get(d+"");p!==void 0?z(p,N):d in u&&(p=a(()=>J(N)),r.set(d+"",p))}if(o===void 0)(!h||ue(u,l)?.writable)&&(o=a(()=>J(void 0)),z(o,he(f)),r.set(l,o));else{h=o.v!==N;var g=a(()=>he(f));z(o,g)}var E=Reflect.getOwnPropertyDescriptor(u,l);if(E?.set&&E.set.call(_,f),!h){if(n&&typeof l=="string"){var S=r.get("length"),$=Number(l);Number.isInteger($)&&$>=S.v&&z(S,$+1)}wt(i)}return!0},ownKeys(u){W(i);var l=Reflect.ownKeys(u).filter(o=>{var h=r.get(o);return h===void 0||h.v!==N});for(var[f,_]of r)_.v!==N&&!(f in u)&&l.push(f);return l},setPrototypeOf(){an()}})}var nr,ir,sr,ar;function Et(){if(nr===void 0){nr=window,ir=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;sr=ue(t,"firstChild").get,ar=ue(t,"nextSibling").get,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(r)&&(r.__t=void 0)}}function Se(e=""){return document.createTextNode(e)}function ve(e){return sr.call(e)}function Z(e){return ar.call(e)}function Je(e,t){if(!T)return ve(e);var r=ve(b);return r===null&&(r=b.appendChild(Se())),K(r),r}function Sn(e,t){if(!T){var r=ve(e);return r instanceof Comment&&r.data===""?Z(r):r}return b}function Ne(e,t=1,r=!1){let n=T?b:e;for(var i;t--;)i=n,n=Z(n);if(!T)return n;if(r&&n?.nodeType!==Kr){var s=Se();return n===null?i?.after(s):n.before(s),K(s),s}return K(n),n}function Nn(e){e.textContent=""}function xn(){return!1}function yt(e){var t=w,r=m;M(null),G(null);try{return e()}finally{M(t),G(r)}}function Rn(e){m===null&&w===null&&en(),w!==null&&(w.f&k)!==0&&m===null&&Qr(),ge&&Zr()}function An(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function U(e,t,r,n=!0){var i=m;i!==null&&(i.f&re)!==0&&(e|=re);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|I,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Re(s),s.f|=at}catch(l){throw ie(s),l}else t!==null&&Te(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&be)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&An(a,i),w!==null&&(w.f&P)!==0&&(e&ee)===0)){var u=w;(u.effects??=[]).push(a)}}return s}function On(e){const t=U(st,null,!1);return O(t,R),t.teardown=e,t}function Pn(e){Rn();var t=m.f,r=!w&&(t&X)!==0&&(t&at)===0;if(r){var n=Y;(n.e??=[]).push(e)}else return lr(e)}function lr(e){return U(it|Vr,e,!1)}function Cn(e){_e.ensure();const t=U(ee|be,e,!0);return()=>{ie(t)}}function kn(e){_e.ensure();const t=U(ee|be,e,!0);return(r={})=>new Promise(n=>{r.outro?_r(t,()=>{ie(t),n(void 0)}):(ie(t),n(void 0))})}function In(e){return U(it,e,!1)}function Mn(e){return U(ft|be,e,!0)}function Ln(e,t=0){return U(st|t,e,!0)}function pe(e,t=[],r=[]){En(t,r,n=>{U(st,()=>e(...n.map(W)),!0)})}function ur(e,t=0){var r=U(ye|t,e,!0);return r}function bt(e,t=!0){return U(X|be,e,!0,t)}function fr(e){var t=e.teardown;if(t!==null){const r=ge,n=w;pr(!0),M(null);try{t.call(null)}finally{pr(r),M(n)}}}function or(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&yt(()=>{i.abort(ot)});var n=r.next;(r.f&ee)!==0?r.parent=null:ie(r,t),r=n}}function Dn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&X)===0&&ie(t),t=r}}function ie(e,t=!0){var r=!1;(t||(e.f&Ft)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(jn(e.nodes_start,e.nodes_end),r=!0),or(e,t&&!r),Ze(e,0),O(e,fe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();fr(e);var i=e.parent;i!==null&&i.first!==null&&cr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function jn(e,t){for(;e!==null;){var r=e===t?null:Z(e);e.remove(),e=r}}function cr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function _r(e,t){var r=[];dr(e,r,!0),qn(r,()=>{ie(e),t&&t()})}function qn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function dr(e,t,r){if((e.f&re)===0){if(e.f^=re,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f<)!==0||(n.f&X)!==0;dr(n,t,s?r:!1),n=i}}}function Fn(e){hr(e,!0)}function hr(e,t){if((e.f&re)!==0){e.f^=re,(e.f&R)===0&&(O(e,I),Te(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f<)!==0||(r.f&X)!==0;hr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let xe=!1;function vr(e){xe=e}let ge=!1;function pr(e){ge=e}let w=null,H=!1;function M(e){w=e}let m=null;function G(e){m=e}let Q=null;function Yn(e){w!==null&&(Q===null?Q=[e]:Q.push(e))}let A=null,C=0,L=null;function Bn(e){L=e}let gr=1,Le=0,me=Le;function mr(e){me=e}let se=!1;function $r(){return++gr}function ze(e){var t=e.f;if((t&I)!==0)return!0;if((t&te)!==0){var r=e.deps,n=(t&k)!==0;if(r!==null){var i,s,a=(t&Ye)!==0,u=n&&m!==null&&!se,l=r.length;if((a||u)&&(m===null||(m.f&fe)===0)){var f=e,_=f.parent;for(i=0;i<l;i++)s=r[i],(a||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);a&&(f.f^=Ye),u&&_!==null&&(_.f&k)===0&&(f.f^=k)}for(i=0;i<l;i++)if(s=r[i],ze(s)&&Jt(s),s.wv>e.wv)return!0}(!n||m!==null&&!se)&&O(e,R)}return!1}function wr(e,t,r=!0){var n=e.reactions;if(n!==null&&!Q?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&P)!==0?wr(s,t,!1):t===s&&(r?O(s,I):(s.f&R)!==0&&O(s,te),Te(s))}}function Er(e){var t=A,r=C,n=L,i=w,s=se,a=Q,u=Y,l=H,f=me,_=e.f;A=null,C=0,L=null,se=(_&k)!==0&&(H||!xe||w===null),w=(_&(X|ee))===0?e:null,Q=null,Ge(e.ctx),H=!1,me=++Le,e.ac!==null&&(yt(()=>{e.ac.abort(ot)}),e.ac=null);try{e.f|=ut;var o=e.fn,h=o(),d=e.deps;if(A!==null){var p;if(Ze(e,C),d!==null&&C>0)for(d.length=C+A.length,p=0;p<A.length;p++)d[C+p]=A[p];else e.deps=d=A;if(!se||(_&P)!==0&&e.reactions!==null)for(p=C;p<d.length;p++)(d[p].reactions??=[]).push(e)}else d!==null&&C<d.length&&(Ze(e,C),d.length=C);if(Wt()&&L!==null&&!H&&d!==null&&(e.f&(P|te|I))===0)for(p=0;p<L.length;p++)wr(L[p],e);return i!==null&&i!==e&&(Le++,L!==null&&(n===null?n=L:n.push(...L))),(e.f&oe)!==0&&(e.f^=oe),h}catch(g){return dn(g)}finally{e.f^=ut,A=t,C=r,L=n,w=i,se=s,Q=a,Ge(u),H=l,me=f}}function Un(e,t){let r=t.reactions;if(r!==null){var n=Yr.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&P)!==0&&(A===null||!A.includes(t))&&(O(t,te),(t.f&(k|Ye))===0&&(t.f^=Ye),Kt(t),Ze(t,0))}function Ze(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Un(e,r[n])}function Re(e){var t=e.f;if((t&fe)===0){O(e,R);var r=m,n=xe;m=e,xe=!0;try{(t&ye)!==0?Dn(e):or(e),fr(e);var i=Er(e);e.teardown=typeof i=="function"?i:null,e.wv=gr;var s;kt&&cn&&(e.f&I)!==0&&e.deps}finally{xe=n,m=r}}}function W(e){var t=e.f,r=(t&P)!==0;if(w!==null&&!H){var n=m!==null&&(m.f&fe)!==0;if(!n&&!Q?.includes(e)){var i=w.deps;if((w.f&ut)!==0)e.rv<Le&&(e.rv=Le,A===null&&i!==null&&i[C]===e?C++:A===null?A=[e]:(!se||!A.includes(e))&&A.push(e));else{(w.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[w]:s.includes(w)||s.push(w)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,u=a.parent;u!==null&&(u.f&k)===0&&(a.f^=k)}if(ge){if(ne.has(e))return ne.get(e);if(r){a=e;var l=a.v;return((a.f&R)===0&&a.reactions!==null||yr(a))&&(l=vt(a)),ne.set(a,l),l}}else r&&(a=e,ze(a)&&Jt(a));if((e.f&oe)!==0)throw e.v;return e.v}function yr(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&P)!==0&&yr(t))return!0;return!1}function Hn(e){var t=H;try{return H=!0,e()}finally{H=t}}const Gn=-7169;function O(e,t){e.f=e.f&Gn|t}const Wn=new Set,br=new Set;function Vn(e,t,r,n={}){function i(s){if(n.capture||De.call(t,s),!s.cancelBubble)return yt(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?vn(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Ae(e,t,r,n,i){var s={capture:n,passive:i},a=Vn(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&On(()=>{t.removeEventListener(e,a,s)})}let Tr=null;function De(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Tr=e;var a=0,u=Tr===e&&e.__root;if(u){var l=i.indexOf(u);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){Ee(e,"currentTarget",{configurable:!0,get(){return s||r}});var _=w,o=m;M(null),G(null);try{for(var h,d=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var g=s["__"+n];if(g!=null&&(!s.disabled||e.target===s))if(It(g)){var[E,...S]=g;E.apply(s,[e,...S])}else g.call(s,e)}catch($){h?d.push($):h=$}if(e.cancelBubble||p===t||p===null)break;s=p}if(h){for(let $ of d)queueMicrotask(()=>{throw $});throw h}}finally{e.__root=t,delete e.currentTarget,M(_),G(o)}}}let D;function Xn(){D=void 0}function Kn(e){let t=null,r=T;var n;if(T){for(t=b,D===void 0&&(D=ve(document.head));D!==null&&(D.nodeType!==Ie||D.data!==nt);)D=Z(D);D===null?B(!1):D=K(Z(D))}T||(n=document.head.appendChild(Se()));try{ur(()=>e(n),Ft)}finally{r&&(B(!0),D=b,K(t))}}function Jn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Oe(e,t){var r=m;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ae(e,t){var r=(t&jr)!==0,n=(t&qr)!==0,i,s=!e.startsWith("<!>");return()=>{if(T)return Oe(b,null),b;i===void 0&&(i=Jn(s?e:"<!>"+e),r||(i=ve(i)));var a=n||ir?document.importNode(i,!0):i.cloneNode(!0);if(r){var u=ve(a),l=a.lastChild;Oe(u,l)}else Oe(a,a);return a}}function zn(){if(T)return Oe(b,null),b;var e=document.createDocumentFragment(),t=document.createComment(""),r=Se();return e.append(t,r),Oe(t,r),e}function V(e,t){if(T){m.nodes_end=b,ct();return}e!==null&&e.before(t)}const Zn=["touchstart","touchmove"];function Qn(e){return Zn.includes(e)}function Sr(e,t){return Nr(e,t)}function ei(e,t){Et(),t.intro=t.intro??!1;const r=t.target,n=T,i=b;try{for(var s=ve(r);s&&(s.nodeType!==Ie||s.data!==nt);)s=Z(s);if(!s)throw we;B(!0),K(s),ct();const a=Nr(e,{...t,anchor:s});if(b===null||b.nodeType!==Ie||b.data!==Ct)throw Ue(),we;return B(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
2
|
`).some(u=>u.startsWith("https://svelte.dev/e/")))throw a;return a!==we&&console.warn("Failed to hydrate: ",a),t.recover===!1&&rn(),Et(),Nn(r),B(!1),Sr(e,t)}finally{B(n),K(i),Xn()}}const Pe=new Map;function Nr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Et();var u=new Set,l=o=>{for(var h=0;h<o.length;h++){var d=o[h];if(!u.has(d)){u.add(d);var p=Qn(d);t.addEventListener(d,De,{passive:p});var g=Pe.get(d);g===void 0?(document.addEventListener(d,De,{passive:p}),Pe.set(d,1)):Pe.set(d,g+1)}}};l(Br(Wn)),br.add(l);var f=void 0,_=kn(()=>{var o=r??t.appendChild(Se());return bt(()=>{if(s){Ht({});var h=Y;h.c=s}i&&(n.$$events=i),T&&Oe(o,null),f=e(o,n)||{},T&&(m.nodes_end=b),s&&Gt()}),()=>{for(var h of u){t.removeEventListener(h,De);var d=Pe.get(h);--d===0?(document.removeEventListener(h,De),Pe.delete(h)):Pe.set(h,d)}br.delete(l),o!==r&&o.parentNode?.removeChild(o)}});return Tt.set(f,_),f}let Tt=new WeakMap;function ti(e,t){const r=Tt.get(e);return r?(Tt.delete(e),r(t)):Promise.resolve()}function $e(e,t,r=!1){T&&ct();var n=e,i=null,s=null,a=N,u=r?lt:0,l=!1;const f=(d,p=!0)=>{l=!0,h(p,d)};var _=null;function o(){_!==null&&(_.lastChild.remove(),n.before(_),_=null);var d=a?i:s,p=a?s:i;d&&Fn(d),p&&_r(p,()=>{a?s=null:i=null})}const h=(d,p)=>{if(a===(a=d))return;let g=!1;if(T){const ke=fn(n)===Pt;!!a===ke&&(n=un(),K(n),B(!1),g=!0)}var E=xn(),S=n;if(E&&(_=document.createDocumentFragment(),_.append(S=Se())),a?i??=p&&bt(()=>p(S)):s??=p&&bt(()=>p(S)),E){var $=x,q=a?i:s,F=a?s:i;q&&$.skipped_effects.delete(q),F&&$.skipped_effects.add(F),$.add_callback(o)}else o();g&&B(!0)};ur(()=>{l=!1,t(f),l||h(null,null)},u),T&&(n=b)}function ri(e,t){In(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const ni=Symbol("is custom element"),ii=Symbol("is html");function xr(e,t,r,n){var i=si(e);T&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Xr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Rr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function j(e,t,r){var n=w,i=m;let s=T;T&&B(!1),M(null),G(null);try{t!=="style"&&(St.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Rr(e).includes(t):r&&typeof r=="object")?e[t]=r:xr(e,t,r==null?r:String(r))}finally{M(n),G(i),s&&B(!0)}}function si(e){return e.__attributes??={[ni]:e.nodeName.includes("-"),[ii]:e.namespaceURI===Fr}}var St=new Map;function Rr(e){var t=e.getAttribute("is")||e.nodeName,r=St.get(t);if(r)return r;St.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Ur(i);for(var a in n)n[a].set&&r.push(a);i=Mt(i)}return r}let Qe=!1;function ai(e){var t=Qe;try{return Qe=!1,[e(),Qe]}finally{Qe=t}}function Nt(e,t,r,n){var i=(r&Lr)!==0,s=(r&Dr)!==0,a=n,u=!0,l=()=>(u&&(u=!1,a=s?Hn(n):n),a),f;if(i){var _=Be in e||Yt in e;f=ue(e,t)?.set??(_&&t in e?$=>e[t]=$:void 0)}var o,h=!1;i?[o,h]=ai(()=>e[t]):o=e[t],o===void 0&&n!==void 0&&(o=l(),f&&(nn(),f(o)));var d;if(d=()=>{var $=e[t];return $===void 0?l():(u=!0,$)},(r&Mr)===0)return d;if(f){var p=e.$$legacy;return(function($,q){return arguments.length>0?((!q||p||h)&&f(q?d():$),$):d()})}var g=!1,E=((r&Ir)!==0?ht:$n)(()=>(g=!1,d()));i&&W(E);var S=m;return(function($,q){if(arguments.length>0){const F=q?W(E):i?he($):$;return z(E,F),g=!0,a!==void 0&&(a=F),$}return ge&&g||(S.f&fe)!==0?E.v:W(E)})}function li(e){return new ui(e)}class ui{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var u=Tn(a,!1,!1);return r.set(s,u),u};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return W(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Yt?!0:(W(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,u){return z(r.get(a)??n(a,u),u),Reflect.set(s,a,u)}});this.#e=(t.hydrate?ei:Sr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ke(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ee(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ti(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Ar;typeof HTMLElement=="function"&&(Ar=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),V(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=fi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=et(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=li({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Cn(()=>{Ln(()=>{this.$$r=!0;for(const n of Fe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=et(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=et(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function et(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function oi(e,t,r,n,i,s){let a=class extends Ar{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Fe(t).forEach(u=>{Ee(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(l){l=et(u,l,t),this.$$d[u]=l;var f=this.$$c;if(f){var _=ue(f,u)?.get;_?f[u]=l:f.$set({[u]:l})}}})}),n.forEach(u=>{Ee(a.prototype,u,{get(){return this.$$c?.[u]}})}),e.element=a,a}function ci(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ce={},xt,Or;function _i(){if(Or)return xt;Or=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,l=`
|
|
3
|
-
`,f="/",_="*",o="",h="comment",d="declaration";xt=function(g,E){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];E=E||{};var S=1,$=1;function q(v){var c=v.match(t);c&&(S+=c.length);var y=v.lastIndexOf(l);$=~y?v.length-y:$+v.length}function F(){var v={line:S,column:$};return function(c){return c.position=new ke(v),tt(),c}}function ke(v){this.start=v,this.end={line:S,column:$},this.source=E.source}ke.prototype.content=g;function je(v){var c=new Error(E.source+":"+S+":"+$+": "+v);if(c.reason=v,c.filename=E.source,c.line=S,c.column=$,c.source=g,!E.silent)throw c}function le(v){var c=v.exec(g);if(c){var y=c[0];return q(y),g=g.slice(y.length),c}}function tt(){le(r)}function qe(v){var c;for(v=v||[];c=rt();)c!==!1&&v.push(c);return v}function rt(){var v=F();if(!(f!=g.charAt(0)||_!=g.charAt(1))){for(var c=2;o!=g.charAt(c)&&(_!=g.charAt(c)||f!=g.charAt(c+1));)++c;if(c+=2,o===g.charAt(c-1))return je("End of comment missing");var y=g.slice(2,c-2);return $+=2,q(y),g=g.slice(c),$+=2,v({type:h,comment:y})}}function Rt(){var v=F(),c=le(n);if(c){if(rt(),!le(i))return je("property missing ':'");var y=le(s),Ni=v({type:d,property:p(c[0].replace(e,o)),value:y?p(y[0].replace(e,o)):o});return le(a),Ni}}function At(){var v=[];qe(v);for(var c;c=Rt();)c!==!1&&(v.push(c),qe(v));return v}return tt(),At()};function p(g){return g?g.replace(u,o):o}return xt}var Pr;function di(){if(Pr)return Ce;Pr=1;var e=Ce&&Ce.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.default=r;var t=e(_i());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),u=typeof i=="function";return a.forEach(function(l){if(l.type==="declaration"){var f=l.property,_=l.value;u?i(f,_,l):_&&(s=s||{},s[f]=_)}}),s}return Ce}var hi=di();const Cr=ci(hi);Cr.default;function vi(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}const pi={version:"0.61.
|
|
3
|
+
`,f="/",_="*",o="",h="comment",d="declaration";xt=function(g,E){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];E=E||{};var S=1,$=1;function q(v){var c=v.match(t);c&&(S+=c.length);var y=v.lastIndexOf(l);$=~y?v.length-y:$+v.length}function F(){var v={line:S,column:$};return function(c){return c.position=new ke(v),tt(),c}}function ke(v){this.start=v,this.end={line:S,column:$},this.source=E.source}ke.prototype.content=g;function je(v){var c=new Error(E.source+":"+S+":"+$+": "+v);if(c.reason=v,c.filename=E.source,c.line=S,c.column=$,c.source=g,!E.silent)throw c}function le(v){var c=v.exec(g);if(c){var y=c[0];return q(y),g=g.slice(y.length),c}}function tt(){le(r)}function qe(v){var c;for(v=v||[];c=rt();)c!==!1&&v.push(c);return v}function rt(){var v=F();if(!(f!=g.charAt(0)||_!=g.charAt(1))){for(var c=2;o!=g.charAt(c)&&(_!=g.charAt(c)||f!=g.charAt(c+1));)++c;if(c+=2,o===g.charAt(c-1))return je("End of comment missing");var y=g.slice(2,c-2);return $+=2,q(y),g=g.slice(c),$+=2,v({type:h,comment:y})}}function Rt(){var v=F(),c=le(n);if(c){if(rt(),!le(i))return je("property missing ':'");var y=le(s),Ni=v({type:d,property:p(c[0].replace(e,o)),value:y?p(y[0].replace(e,o)):o});return le(a),Ni}}function At(){var v=[];qe(v);for(var c;c=Rt();)c!==!1&&(v.push(c),qe(v));return v}return tt(),At()};function p(g){return g?g.replace(u,o):o}return xt}var Pr;function di(){if(Pr)return Ce;Pr=1;var e=Ce&&Ce.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.default=r;var t=e(_i());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),u=typeof i=="function";return a.forEach(function(l){if(l.type==="declaration"){var f=l.property,_=l.value;u?i(f,_,l):_&&(s=s||{},s[f]=_)}}),s}return Ce}var hi=di();const Cr=ci(hi);Cr.default;function vi(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}const pi={version:"0.61.13"};var gi=ae('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),mi=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),$i=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),wi=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),Ei=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),yi=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),bi=ae("<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>",2),Ti=ae('<div id="container" class="svelte-1r2ulql"><div class="col svelte-1r2ulql" id="left"><!> <!> <!></div> <div class="col svelte-1r2ulql" id="center"><img id="center_image" alt="" class="svelte-1r2ulql"/></div> <div class="col svelte-1r2ulql" id="right"><!> <!> <!></div></div>');const Si={hash:"svelte-1r2ulql",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;display:block;}
|
|
5
5
|
@media screen and (min-width: 900px) {#container.svelte-1r2ulql {margin:auto;display:flex;flex-direction:row;}
|
|
6
6
|
}.col.svelte-1r2ulql {flex:1;padding:20px;}#center.svelte-1r2ulql {display:flex;justify-content:center;}#center_image.svelte-1r2ulql {margin:auto;}`};function kr(e,t){Ht(t,!0),ri(e,Si),vi({repoName:"@htmlbricks/hb-paragraps-around-image-cell",version:pi.version});function r(o,h){t.$$host.dispatchEvent(new CustomEvent(o,{detail:h}))}let n=Nt(t,"id",7,""),i=Nt(t,"img",7,""),s=Nt(t,"paragraphs",23,()=>[]);he({}),Pn(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch(o){console.error("error parsing paragraphs",o)}});function a(o){r("paragraphPressed",o.detail)}var u={get id(){return n()},set id(o=""){n(o),Ke()},get img(){return i()},set img(o=""){i(o),Ke()},get paragraphs(){return s()},set paragraphs(o=[]){s(o),Ke()}},l=zn();Kn(o=>{var h=gi();V(o,h)});var f=Sn(l);{var _=o=>{var h=Ti(),d=Je(h),p=Je(d);{var g=v=>{var c=mi();pe(()=>j(c,"paragraph",s()[0])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e(p,v=>{s()[0]&&v(g)})}var E=Ne(p,2);{var S=v=>{var c=$i();pe(()=>j(c,"paragraph",s()[2])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e(E,v=>{s()[2]&&v(S)})}var $=Ne(E,2);{var q=v=>{var c=wi();pe(()=>j(c,"paragraph",s()[4])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e($,v=>{s()[4]&&v(q)})}He(d);var F=Ne(d,2),ke=Je(F);He(F);var je=Ne(F,2),le=Je(je);{var tt=v=>{var c=Ei();pe(()=>j(c,"paragraph",s()[1])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e(le,v=>{s()[1]&&v(tt)})}var qe=Ne(le,2);{var rt=v=>{var c=yi();pe(()=>j(c,"paragraph",s()[3])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e(qe,v=>{s()[3]&&v(rt)})}var Rt=Ne(qe,2);{var At=v=>{var c=bi();pe(()=>j(c,"paragraph",s()[5])),j(c,"max_lines","8"),Ae("paragraphPressed",c,y=>a(y)),V(v,c)};$e(Rt,v=>{s()[5]&&v(At)})}He(je),He(h),pe(()=>xr(ke,"src",i())),V(o,h)};$e(f,o=>{s()?.length&&i()&&o(_)})}return V(e,l),Gt(u)}customElements.define("hb-paragraps-around-image",oi(kr,{id:{},img:{},paragraphs:{}},[],[],!0)),Ot.Component=kr,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})})(this["paragraps-around-image"]=this["paragraps-around-image"]||{});
|
package/manifest.json
CHANGED