vue-spear-tip 0.4.8 → 0.4.9
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/dist/.vite/manifest.json +44 -32
- package/dist/{Button-CnYM2y0o.js → Button-Cd8lAvZW.js} +1 -1
- package/dist/{Button-hXfJNn0h.cjs → Button-n3-YShRL.cjs} +1 -1
- package/dist/{CodeHighlight-CMgtiiH3.cjs → CodeHighlight-BR3wChaQ.cjs} +1 -1
- package/dist/{CodeHighlight-Dn58Ec19.js → CodeHighlight-lvIPwEuc.js} +1 -1
- package/dist/{DateField-DWKoIRjr.js → DateField-DF33PCdD.js} +2 -2
- package/dist/{DateField-DTtaRtE3.cjs → DateField-DPyqKSU6.cjs} +1 -1
- package/dist/{FieldComponent.vue_vue_type_script_lang-DY2T-Y0-.js → FieldComponent.vue_vue_type_script_lang-BRJ9IXzq.js} +1 -1
- package/dist/{FieldComponent.vue_vue_type_script_lang-DsCLhLjj.cjs → FieldComponent.vue_vue_type_script_lang-CCmrFk12.cjs} +1 -1
- package/dist/Scrollbar-CxohPr9-.cjs +1 -0
- package/dist/Scrollbar-Vondq9tQ.js +694 -0
- package/dist/{SelectField-BPpe9LHe.js → SelectField-CAsP1JYo.js} +2 -2
- package/dist/{SelectField-D1yblzf9.cjs → SelectField-CXMfrxOS.cjs} +1 -1
- package/dist/{StringField-DhZ65z9j.js → StringField-Cgux2hTy.js} +2 -2
- package/dist/{StringField-DyvKvKhK.cjs → StringField-ChfnJKIe.cjs} +1 -1
- package/dist/{SwitchField-Cu74O10p.cjs → SwitchField-C1qdBwU_.cjs} +1 -1
- package/dist/{SwitchField-j7AHzEIq.js → SwitchField-DVQVcUBr.js} +2 -2
- package/dist/{Tabs-ClxhWkrP.cjs → Tabs-BR1SexzM.cjs} +1 -1
- package/dist/{Tabs-CPjcxmdv.js → Tabs-CpDxtRqa.js} +1 -1
- package/dist/{TextField-DCmeT5Tf.cjs → TextField-BeNkc51P.cjs} +1 -1
- package/dist/{TextField-DJnLViBb.js → TextField-D5QRLxTK.js} +2 -2
- package/dist/components/Elements/Scrollbar/index.d.ts +2 -0
- package/dist/{index-DFNV9hNk.js → index-2BKiG7RA.js} +334 -327
- package/dist/{index-BTXQMtQc.cjs → index-CbyveWgi.cjs} +2 -2
- package/dist/kit/elements/index.d.ts +2 -1
- package/dist/replaceable/BaseComponent.vue +10 -3
- package/dist/vue-spear-tip.cjs.js +1 -1
- package/dist/vue-spear-tip.css +1 -1
- package/dist/vue-spear-tip.es.js +9 -8
- package/docs/index.html +2 -2
- package/docs/static/{Button-CmMMSa6d.js → Button-BoTe9Vpk.js} +1 -1
- package/docs/static/{CodeHighlight-DqcJi6RP.js → CodeHighlight-CfBEbAJZ.js} +1 -1
- package/docs/static/{DateField-Cc7ZMFE6.js → DateField-BcVUBf9P.js} +1 -1
- package/docs/static/{FieldComponent.vue_vue_type_script_lang-B9BnoGSI.js → FieldComponent.vue_vue_type_script_lang-sJQyv5z_.js} +1 -1
- package/docs/static/{NoSymbolIcon-uyJtkpe7.js → NoSymbolIcon-CsOh2Xdt.js} +1 -1
- package/docs/static/Scrollbar-Bf9c7B8K.css +1 -0
- package/docs/static/Scrollbar-D-pW94Uq.js +1 -0
- package/docs/static/{SelectField-DydszTCK.js → SelectField-lc9_YWQP.js} +1 -1
- package/docs/static/{StringField-CMlNaHc_.js → StringField-D9UEigIZ.js} +1 -1
- package/docs/static/{SwitchField-PLGRaUSv.js → SwitchField-DgbVYP7E.js} +1 -1
- package/docs/static/{Tabs-DjEzQX44.js → Tabs-BymSrQzN.js} +1 -1
- package/docs/static/{TextField-BFVUJJiK.js → TextField-EV_LM6v0.js} +1 -1
- package/docs/static/index-Bt679kAL.js +2 -0
- package/docs/static/main-4ec3dGHm.css +1 -0
- package/docs/static/main-B1C9RahP.js +101 -0
- package/package.json +2 -1
- package/docs/static/index-DX-dLB4y.js +0 -2
- package/docs/static/main-CuUCc1ed.js +0 -97
- package/docs/static/main-hpuWh67r.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var z0=Object.defineProperty;var a=(t,e)=>z0(t,"name",{value:e,configurable:!0});import{m as bf,p as yf,q as xf,s as $0,u as kf,x as H0,y as V0,z as wf,A as j0,B as q0,D as W0,E as U0,G as K0,P as ps,W as J0,V as G0,r as Ar,c as Fs,o as Mr,e as lc,f as Ls,H as De,a as G,i as qe,n as at,j as Ps,g as Z0,l as X0,I as Y0,k as Q0,b as em}from"./main-CuUCc1ed.js";import{F as tm}from"./FieldComponent.vue_vue_type_script_lang-B9BnoGSI.js";import{g as nm}from"./_commonjsHelpers-CV2jkJYL.js";import{r as rm}from"./NoSymbolIcon-uyJtkpe7.js";function ue(t){this.content=t}a(ue,"OrderedMap");ue.prototype={constructor:ue,find:a(function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},"find"),get:a(function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},"get"),update:a(function(t,e,n){var r=n&&n!=t?this.remove(n):this,i=r.find(t),o=r.content.slice();return i==-1?o.push(n||t,e):(o[i+1]=e,n&&(o[i]=n)),new ue(o)},"update"),remove:a(function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new ue(n)},"remove"),addToStart:a(function(t,e){return new ue([t,e].concat(this.remove(t).content))},"addToStart"),addToEnd:a(function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new ue(n)},"addToEnd"),addBefore:a(function(t,e,n){var r=this.remove(e),i=r.content.slice(),o=r.find(t);return i.splice(o==-1?i.length:o,0,e,n),new ue(i)},"addBefore"),forEach:a(function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},"forEach"),prepend:a(function(t){return t=ue.from(t),t.size?new ue(t.content.concat(this.subtract(t).content)):this},"prepend"),append:a(function(t){return t=ue.from(t),t.size?new ue(this.subtract(t).content.concat(t.content)):this},"append"),subtract:a(function(t){var e=this;t=ue.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},"subtract"),toObject:a(function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},"toObject"),get size(){return this.content.length>>1}};ue.from=function(t){if(t instanceof ue)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new ue(e)};function Cf(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let s=0;i.text[s]==o.text[s];s++)n++;return n}if(i.content.size||o.content.size){let s=Cf(i.content,o.content,n+1);if(s!=null)return s}n+=i.nodeSize}}a(Cf,"findDiffStart");function Ef(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let s=t.child(--i),u=e.child(--o),l=s.nodeSize;if(s==u){n-=l,r-=l;continue}if(!s.sameMarkup(u))return{a:n,b:r};if(s.isText&&s.text!=u.text){let c=0,d=Math.min(s.text.length,u.text.length);for(;c<d&&s.text[s.text.length-c-1]==u.text[u.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(s.content.size||u.content.size){let c=Ef(s.content,u.content,n-1,r-1);if(c)return c}n-=l,r-=l}}a(Ef,"findDiffEnd");const se=class se{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,i=0,o){for(let s=0,u=0;u<n;s++){let l=this.content[s],c=u+l.nodeSize;if(c>e&&r(l,i+u,o||null,s)!==!1&&l.content.size){let d=u+1;l.nodesBetween(Math.max(0,e-d),Math.min(l.content.size,n-d),r,i+d)}u=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",s=!0;return this.nodesBetween(e,n,(u,l)=>{let c=u.isText?u.text.slice(Math.max(e,l)-l,n-l):u.isLeaf?i?typeof i=="function"?i(u):i:u.type.spec.leafText?u.type.spec.leafText(u):"":"";u.isBlock&&(u.isLeaf&&c||u.isTextblock)&&r&&(s?s=!1:o+=r),o+=c},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new se(i,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],i=0;if(n>e)for(let o=0,s=0;s<n;o++){let u=this.content[o],l=s+u.nodeSize;l>e&&((s<e||l>n)&&(u.isText?u=u.cut(Math.max(0,e-s),Math.min(u.text.length,n-s)):u=u.cut(Math.max(0,e-s-1),Math.min(u.content.size,n-s-1))),r.push(u),i+=u.nodeSize),s=l}return new se(r,i)}cutByIndex(e,n){return e==n?se.empty:e==0&&n==this.content.length?this:new se(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new se(i,o)}addToStart(e){return new se([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new se(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];e(i,r,n),r+=i.nodeSize}}findDiffStart(e,n=0){return Cf(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return Ef(this,e,n,r)}findIndex(e){if(e==0)return Si(0,e);if(e==this.size)return Si(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),o=r+i.nodeSize;if(o>=e)return o==e?Si(n+1,o):Si(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return se.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new se(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return se.empty;let n,r=0;for(let i=0;i<e.length;i++){let o=e[i];r+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(n||(n=e.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new se(n||e,r)}static from(e){if(!e)return se.empty;if(e instanceof se)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new se([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};a(se,"Fragment");let A=se;A.empty=new A([],0);const Bs={index:0,offset:0};function Si(t,e){return Bs.index=t,Bs.offset=e,Bs}a(Si,"retIndex");function Ui(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!Ui(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!Ui(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}a(Ui,"compareDeep");var jt;let B=(jt=class{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))n||(n=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ui(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return jt.none;if(e instanceof jt)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}},a(jt,"Mark"),jt);B.none=[];const Sa=class Sa extends Error{};a(Sa,"ReplaceError");let sr=Sa;const _t=class _t{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=vf(this.content,e+this.openStart,n);return r&&new _t(r,this.openStart,this.openEnd)}removeBetween(e,n){return new _t(Sf(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return _t.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new _t(A.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new _t(e,r,i)}};a(_t,"Slice");let M=_t;M.empty=new M(A.empty,0,0);function Sf(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:s,offset:u}=t.findIndex(n);if(i==e||o.isText){if(u!=n&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(Sf(o.content,e-i-1,n-i-1)))}a(Sf,"removeRange");function vf(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),s=t.maybeChild(i);if(o==e||s.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let u=vf(s.content,e-o-1,n,s);return u&&t.replaceChild(i,s.copy(u))}a(vf,"insertInto");function im(t,e,n){if(n.openStart>t.depth)throw new sr("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new sr("Inconsistent open depths");return Af(t,e,n,0)}a(im,"replace$1");function Af(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let s=Af(t,e,n,r+1);return o.copy(o.content.replaceChild(i,s))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let s=t.parent,u=s.content;return mn(s,u.cut(0,t.parentOffset).append(n.content).append(u.cut(e.parentOffset)))}else{let{start:s,end:u}=om(n,t);return mn(o,Tf(t,s,u,e,r))}else return mn(o,Ki(t,e,r))}a(Af,"replaceOuter");function Mf(t,e){if(!e.type.compatibleContent(t.type))throw new sr("Cannot join "+e.type.name+" onto "+t.type.name)}a(Mf,"checkJoin");function wu(t,e,n){let r=t.node(n);return Mf(r,e.node(n)),r}a(wu,"joinable$1");function pn(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}a(pn,"addNode");function Rr(t,e,n,r){let i=(e||t).node(n),o=0,s=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(pn(t.nodeAfter,r),o++));for(let u=o;u<s;u++)pn(i.child(u),r);e&&e.depth==n&&e.textOffset&&pn(e.nodeBefore,r)}a(Rr,"addRange");function mn(t,e){return t.type.checkContent(e),t.copy(e)}a(mn,"close");function Tf(t,e,n,r,i){let o=t.depth>i&&wu(t,e,i+1),s=r.depth>i&&wu(n,r,i+1),u=[];return Rr(null,t,i,u),o&&s&&e.index(i)==n.index(i)?(Mf(o,s),pn(mn(o,Tf(t,e,n,r,i+1)),u)):(o&&pn(mn(o,Ki(t,e,i+1)),u),Rr(e,n,i,u),s&&pn(mn(s,Ki(n,r,i+1)),u)),Rr(r,null,i,u),new A(u)}a(Tf,"replaceThreeWay");function Ki(t,e,n){let r=[];if(Rr(null,t,n,r),t.depth>n){let i=wu(t,e,n+1);pn(mn(i,Ki(t,e,n+1)),r)}return Rr(e,null,n,r),new A(r)}a(Ki,"replaceTwoWay");function om(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(A.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}a(om,"prepareSliceForReplace");const Wr=class Wr{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return B.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),i=e.maybeChild(n);if(!r){let u=r;r=i,i=u}let o=r.marks;for(var s=0;s<o.length;s++)o[s].type.spec.inclusive===!1&&(!i||!o[s].isInSet(i.marks))&&(o=o[s--].removeFromSet(o));return o}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new ur(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let s=e;;){let{index:u,offset:l}=s.content.findIndex(o),c=o-l;if(r.push(s,u,i+l),!c||(s=s.child(u),s.isText))break;o=c-1,i+=l+1}return new Wr(n,r,o)}static resolveCached(e,n){let r=ac.get(e);if(r)for(let o=0;o<r.elts.length;o++){let s=r.elts[o];if(s.pos==n)return s}else ac.set(e,r=new Cu);let i=r.elts[r.i]=Wr.resolve(e,n);return r.i=(r.i+1)%sm,i}};a(Wr,"ResolvedPos");let Ji=Wr;const va=class va{constructor(){this.elts=[],this.i=0}};a(va,"ResolveCache");let Cu=va;const sm=12,ac=new WeakMap,Aa=class Aa{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}};a(Aa,"NodeRange");let ur=Aa;const um=Object.create(null);var qt;let zt=(qt=class{constructor(e,n,r,i=B.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||A.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,r,i=0){this.content.nodesBetween(e,n,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,n,r,i){return this.content.textBetween(e,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,r){return this.type==e&&Ui(this.attrs,n||e.defaultAttrs||um)&&B.sameSet(this.marks,r||B.none)}copy(e=null){return e==this.content?this:new qt(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new qt(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return M.empty;let i=this.resolve(e),o=this.resolve(n),s=r?0:i.sharedDepth(n),u=i.start(s),c=i.node(s).content.cut(i.pos-u,o.pos-u);return new M(c,i.depth-s,o.depth-s)}replace(e,n,r){return im(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(i==e||n.isText)return n;e-=i+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(e){return Ji.resolveCached(this,e)}resolveNoCache(e){return Ji.resolve(this,e)}rangeHasMark(e,n,r){let i=!1;return n>e&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Df(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=A.empty,i=0,o=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,i,o),u=s&&s.matchFragment(this.content,n);if(!u||!u.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(e,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),s=o&&o.matchFragment(this.content,n);return s?s.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=B.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!B.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=A.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}},a(qt,"Node"),qt);zt.prototype.text=void 0;const Ur=class Ur extends zt{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Df(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ur(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ur(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};a(Ur,"TextNode");let Eu=Ur;function Df(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}a(Df,"wrapMarks");const ns=class ns{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new Su(e,n);if(r.next==null)return ns.empty;let i=Of(r);r.next&&r.err("Unexpected trailing text");let o=pm(hm(i));return mm(o,r),o}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let i=[this];function o(s,u){let l=s.matchFragment(e,r);if(l&&(!n||l.validEnd))return A.from(u.map(c=>c.createAndFill()));for(let c=0;c<s.next.length;c++){let{type:d,next:f}=s.next[c];if(!(d.isText||d.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let p=o(f,u.concat(d));if(p)return p}}return null}return a(o,"search"),o(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(e)){let s=[];for(let u=i;u.type;u=u.via)s.push(u.type);return s.reverse()}for(let s=0;s<o.next.length;s++){let{type:u,next:l}=o.next[s];!u.isLeaf&&!u.hasRequiredAttrs()&&!(u.name in n)&&(!i.type||l.validEnd)&&(r.push({match:u.contentMatch,type:u,via:i}),n[u.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return a(n,"scan"),n(this),e.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)o+=(s?", ":"")+r.next[s].type.name+"->"+e.indexOf(r.next[s].next);return o}).join(`
|
|
1
|
+
var z0=Object.defineProperty;var a=(t,e)=>z0(t,"name",{value:e,configurable:!0});import{m as bf,p as yf,q as xf,s as $0,u as kf,x as H0,y as V0,z as wf,A as j0,B as q0,D as W0,E as U0,G as K0,P as ps,W as J0,V as G0,r as Ar,c as Fs,o as Mr,e as lc,f as Ls,H as De,a as G,i as qe,n as at,j as Ps,g as Z0,l as X0,I as Y0,k as Q0,b as em}from"./main-B1C9RahP.js";import{F as tm}from"./FieldComponent.vue_vue_type_script_lang-sJQyv5z_.js";import{g as nm}from"./_commonjsHelpers-CV2jkJYL.js";import{r as rm}from"./NoSymbolIcon-CsOh2Xdt.js";function ue(t){this.content=t}a(ue,"OrderedMap");ue.prototype={constructor:ue,find:a(function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},"find"),get:a(function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},"get"),update:a(function(t,e,n){var r=n&&n!=t?this.remove(n):this,i=r.find(t),o=r.content.slice();return i==-1?o.push(n||t,e):(o[i+1]=e,n&&(o[i]=n)),new ue(o)},"update"),remove:a(function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new ue(n)},"remove"),addToStart:a(function(t,e){return new ue([t,e].concat(this.remove(t).content))},"addToStart"),addToEnd:a(function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new ue(n)},"addToEnd"),addBefore:a(function(t,e,n){var r=this.remove(e),i=r.content.slice(),o=r.find(t);return i.splice(o==-1?i.length:o,0,e,n),new ue(i)},"addBefore"),forEach:a(function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},"forEach"),prepend:a(function(t){return t=ue.from(t),t.size?new ue(t.content.concat(this.subtract(t).content)):this},"prepend"),append:a(function(t){return t=ue.from(t),t.size?new ue(this.subtract(t).content.concat(t.content)):this},"append"),subtract:a(function(t){var e=this;t=ue.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},"subtract"),toObject:a(function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},"toObject"),get size(){return this.content.length>>1}};ue.from=function(t){if(t instanceof ue)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new ue(e)};function Cf(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let s=0;i.text[s]==o.text[s];s++)n++;return n}if(i.content.size||o.content.size){let s=Cf(i.content,o.content,n+1);if(s!=null)return s}n+=i.nodeSize}}a(Cf,"findDiffStart");function Ef(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let s=t.child(--i),u=e.child(--o),l=s.nodeSize;if(s==u){n-=l,r-=l;continue}if(!s.sameMarkup(u))return{a:n,b:r};if(s.isText&&s.text!=u.text){let c=0,d=Math.min(s.text.length,u.text.length);for(;c<d&&s.text[s.text.length-c-1]==u.text[u.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(s.content.size||u.content.size){let c=Ef(s.content,u.content,n-1,r-1);if(c)return c}n-=l,r-=l}}a(Ef,"findDiffEnd");const se=class se{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,i=0,o){for(let s=0,u=0;u<n;s++){let l=this.content[s],c=u+l.nodeSize;if(c>e&&r(l,i+u,o||null,s)!==!1&&l.content.size){let d=u+1;l.nodesBetween(Math.max(0,e-d),Math.min(l.content.size,n-d),r,i+d)}u=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",s=!0;return this.nodesBetween(e,n,(u,l)=>{let c=u.isText?u.text.slice(Math.max(e,l)-l,n-l):u.isLeaf?i?typeof i=="function"?i(u):i:u.type.spec.leafText?u.type.spec.leafText(u):"":"";u.isBlock&&(u.isLeaf&&c||u.isTextblock)&&r&&(s?s=!1:o+=r),o+=c},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new se(i,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],i=0;if(n>e)for(let o=0,s=0;s<n;o++){let u=this.content[o],l=s+u.nodeSize;l>e&&((s<e||l>n)&&(u.isText?u=u.cut(Math.max(0,e-s),Math.min(u.text.length,n-s)):u=u.cut(Math.max(0,e-s-1),Math.min(u.content.size,n-s-1))),r.push(u),i+=u.nodeSize),s=l}return new se(r,i)}cutByIndex(e,n){return e==n?se.empty:e==0&&n==this.content.length?this:new se(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new se(i,o)}addToStart(e){return new se([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new se(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];e(i,r,n),r+=i.nodeSize}}findDiffStart(e,n=0){return Cf(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return Ef(this,e,n,r)}findIndex(e){if(e==0)return Si(0,e);if(e==this.size)return Si(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),o=r+i.nodeSize;if(o>=e)return o==e?Si(n+1,o):Si(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return se.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new se(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return se.empty;let n,r=0;for(let i=0;i<e.length;i++){let o=e[i];r+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(n||(n=e.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new se(n||e,r)}static from(e){if(!e)return se.empty;if(e instanceof se)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new se([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};a(se,"Fragment");let A=se;A.empty=new A([],0);const Bs={index:0,offset:0};function Si(t,e){return Bs.index=t,Bs.offset=e,Bs}a(Si,"retIndex");function Ui(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!Ui(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!Ui(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}a(Ui,"compareDeep");var jt;let B=(jt=class{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))n||(n=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ui(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return jt.none;if(e instanceof jt)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}},a(jt,"Mark"),jt);B.none=[];const Sa=class Sa extends Error{};a(Sa,"ReplaceError");let sr=Sa;const _t=class _t{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=vf(this.content,e+this.openStart,n);return r&&new _t(r,this.openStart,this.openEnd)}removeBetween(e,n){return new _t(Sf(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return _t.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new _t(A.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new _t(e,r,i)}};a(_t,"Slice");let M=_t;M.empty=new M(A.empty,0,0);function Sf(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:s,offset:u}=t.findIndex(n);if(i==e||o.isText){if(u!=n&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(Sf(o.content,e-i-1,n-i-1)))}a(Sf,"removeRange");function vf(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),s=t.maybeChild(i);if(o==e||s.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let u=vf(s.content,e-o-1,n,s);return u&&t.replaceChild(i,s.copy(u))}a(vf,"insertInto");function im(t,e,n){if(n.openStart>t.depth)throw new sr("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new sr("Inconsistent open depths");return Af(t,e,n,0)}a(im,"replace$1");function Af(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let s=Af(t,e,n,r+1);return o.copy(o.content.replaceChild(i,s))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let s=t.parent,u=s.content;return mn(s,u.cut(0,t.parentOffset).append(n.content).append(u.cut(e.parentOffset)))}else{let{start:s,end:u}=om(n,t);return mn(o,Tf(t,s,u,e,r))}else return mn(o,Ki(t,e,r))}a(Af,"replaceOuter");function Mf(t,e){if(!e.type.compatibleContent(t.type))throw new sr("Cannot join "+e.type.name+" onto "+t.type.name)}a(Mf,"checkJoin");function wu(t,e,n){let r=t.node(n);return Mf(r,e.node(n)),r}a(wu,"joinable$1");function pn(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}a(pn,"addNode");function Rr(t,e,n,r){let i=(e||t).node(n),o=0,s=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(pn(t.nodeAfter,r),o++));for(let u=o;u<s;u++)pn(i.child(u),r);e&&e.depth==n&&e.textOffset&&pn(e.nodeBefore,r)}a(Rr,"addRange");function mn(t,e){return t.type.checkContent(e),t.copy(e)}a(mn,"close");function Tf(t,e,n,r,i){let o=t.depth>i&&wu(t,e,i+1),s=r.depth>i&&wu(n,r,i+1),u=[];return Rr(null,t,i,u),o&&s&&e.index(i)==n.index(i)?(Mf(o,s),pn(mn(o,Tf(t,e,n,r,i+1)),u)):(o&&pn(mn(o,Ki(t,e,i+1)),u),Rr(e,n,i,u),s&&pn(mn(s,Ki(n,r,i+1)),u)),Rr(r,null,i,u),new A(u)}a(Tf,"replaceThreeWay");function Ki(t,e,n){let r=[];if(Rr(null,t,n,r),t.depth>n){let i=wu(t,e,n+1);pn(mn(i,Ki(t,e,n+1)),r)}return Rr(e,null,n,r),new A(r)}a(Ki,"replaceTwoWay");function om(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(A.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}a(om,"prepareSliceForReplace");const Wr=class Wr{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return B.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),i=e.maybeChild(n);if(!r){let u=r;r=i,i=u}let o=r.marks;for(var s=0;s<o.length;s++)o[s].type.spec.inclusive===!1&&(!i||!o[s].isInSet(i.marks))&&(o=o[s--].removeFromSet(o));return o}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new ur(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let s=e;;){let{index:u,offset:l}=s.content.findIndex(o),c=o-l;if(r.push(s,u,i+l),!c||(s=s.child(u),s.isText))break;o=c-1,i+=l+1}return new Wr(n,r,o)}static resolveCached(e,n){let r=ac.get(e);if(r)for(let o=0;o<r.elts.length;o++){let s=r.elts[o];if(s.pos==n)return s}else ac.set(e,r=new Cu);let i=r.elts[r.i]=Wr.resolve(e,n);return r.i=(r.i+1)%sm,i}};a(Wr,"ResolvedPos");let Ji=Wr;const va=class va{constructor(){this.elts=[],this.i=0}};a(va,"ResolveCache");let Cu=va;const sm=12,ac=new WeakMap,Aa=class Aa{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}};a(Aa,"NodeRange");let ur=Aa;const um=Object.create(null);var qt;let zt=(qt=class{constructor(e,n,r,i=B.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||A.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,r,i=0){this.content.nodesBetween(e,n,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,n,r,i){return this.content.textBetween(e,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,r){return this.type==e&&Ui(this.attrs,n||e.defaultAttrs||um)&&B.sameSet(this.marks,r||B.none)}copy(e=null){return e==this.content?this:new qt(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new qt(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return M.empty;let i=this.resolve(e),o=this.resolve(n),s=r?0:i.sharedDepth(n),u=i.start(s),c=i.node(s).content.cut(i.pos-u,o.pos-u);return new M(c,i.depth-s,o.depth-s)}replace(e,n,r){return im(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(i==e||n.isText)return n;e-=i+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(e){return Ji.resolveCached(this,e)}resolveNoCache(e){return Ji.resolve(this,e)}rangeHasMark(e,n,r){let i=!1;return n>e&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Df(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=A.empty,i=0,o=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,i,o),u=s&&s.matchFragment(this.content,n);if(!u||!u.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(e,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),s=o&&o.matchFragment(this.content,n);return s?s.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=B.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!B.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=A.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}},a(qt,"Node"),qt);zt.prototype.text=void 0;const Ur=class Ur extends zt{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Df(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ur(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ur(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};a(Ur,"TextNode");let Eu=Ur;function Df(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}a(Df,"wrapMarks");const ns=class ns{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new Su(e,n);if(r.next==null)return ns.empty;let i=Of(r);r.next&&r.err("Unexpected trailing text");let o=pm(hm(i));return mm(o,r),o}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let i=[this];function o(s,u){let l=s.matchFragment(e,r);if(l&&(!n||l.validEnd))return A.from(u.map(c=>c.createAndFill()));for(let c=0;c<s.next.length;c++){let{type:d,next:f}=s.next[c];if(!(d.isText||d.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let p=o(f,u.concat(d));if(p)return p}}return null}return a(o,"search"),o(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(e)){let s=[];for(let u=i;u.type;u=u.via)s.push(u.type);return s.reverse()}for(let s=0;s<o.next.length;s++){let{type:u,next:l}=o.next[s];!u.isLeaf&&!u.hasRequiredAttrs()&&!(u.name in n)&&(!i.type||l.validEnd)&&(r.push({match:u.contentMatch,type:u,via:i}),n[u.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return a(n,"scan"),n(this),e.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)o+=(s?", ":"")+r.next[s].type.name+"->"+e.indexOf(r.next[s].next);return o}).join(`
|
|
2
2
|
`)}};a(ns,"ContentMatch");let An=ns;An.empty=new An(!0);const Ma=class Ma{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}};a(Ma,"TokenStream");let Su=Ma;function Of(t){let e=[];do e.push(lm(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}a(Of,"parseExpr");function lm(t){let e=[];do e.push(am(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}a(lm,"parseExprSeq");function am(t){let e=fm(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=cm(t,e);else break;return e}a(am,"parseExprSubscript");function cc(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}a(cc,"parseNum");function cm(t,e){let n=cc(t),r=n;return t.eat(",")&&(t.next!="}"?r=cc(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}a(cm,"parseExprRange");function dm(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let s=n[o];s.isInGroup(e)&&i.push(s)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}a(dm,"resolveName");function fm(t){if(t.eat("(")){let e=Of(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=dm(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}a(fm,"parseExprAtom");function hm(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}a(n,"node");function r(s,u,l){let c={term:l,to:u};return e[s].push(c),c}a(r,"edge");function i(s,u){s.forEach(l=>l.to=u)}a(i,"connect");function o(s,u){if(s.type=="choice")return s.exprs.reduce((l,c)=>l.concat(o(c,u)),[]);if(s.type=="seq")for(let l=0;;l++){let c=o(s.exprs[l],u);if(l==s.exprs.length-1)return c;i(c,u=n())}else if(s.type=="star"){let l=n();return r(u,l),i(o(s.expr,l),l),[r(l)]}else if(s.type=="plus"){let l=n();return i(o(s.expr,u),l),i(o(s.expr,l),l),[r(l)]}else{if(s.type=="opt")return[r(u)].concat(o(s.expr,u));if(s.type=="range"){let l=u;for(let c=0;c<s.min;c++){let d=n();i(o(s.expr,l),d),l=d}if(s.max==-1)i(o(s.expr,l),l);else for(let c=s.min;c<s.max;c++){let d=n();r(l,d),i(o(s.expr,l),d),l=d}return[r(l)]}else{if(s.type=="name")return[r(u,void 0,s.value)];throw new Error("Unknown expr type")}}}a(o,"compile")}a(hm,"nfa");function _f(t,e){return e-t}a(_f,"cmp");function dc(t,e){let n=[];return r(e),n.sort(_f);function r(i){let o=t[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let s=0;s<o.length;s++){let{term:u,to:l}=o[s];!u&&n.indexOf(l)==-1&&r(l)}}a(r,"scan")}a(dc,"nullFrom");function pm(t){let e=Object.create(null);return n(dc(t,0));function n(r){let i=[];r.forEach(s=>{t[s].forEach(({term:u,to:l})=>{if(!u)return;let c;for(let d=0;d<i.length;d++)i[d][0]==u&&(c=i[d][1]);dc(t,l).forEach(d=>{c||i.push([u,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let o=e[r.join(",")]=new An(r.indexOf(t.length-1)>-1);for(let s=0;s<i.length;s++){let u=i[s][1].sort(_f);o.next.push({type:i[s][0],next:e[u.join(",")]||n(u)})}return o}}a(pm,"dfa");function mm(t,e){for(let n=0,r=[t];n<r.length;n++){let i=r[n],o=!i.validEnd,s=[];for(let u=0;u<i.next.length;u++){let{type:l,next:c}=i.next[u];s.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(c)==-1&&r.push(c)}o&&e.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}a(mm,"checkForDeadEnds");function Nf(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}a(Nf,"defaultAttrs");function If(t,e){let n=Object.create(null);for(let r in t){let i=e&&e[r];if(i===void 0){let o=t[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}a(If,"computeAttrs");function Rf(t,e,n,r){for(let i in e)if(!(i in t))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in t){let o=t[i];o.validate&&o.validate(e[i])}}a(Rf,"checkAttrs");function Ff(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new vu(t,r,e[r]);return n}a(Ff,"initAttrs");var kn;let fc=(kn=class{constructor(e,n,r){this.name=e,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=Ff(e,r.attrs),this.defaultAttrs=Nf(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==An.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:If(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new zt(this,this.computeAttrs(e),A.from(n),B.setFrom(r))}createChecked(e=null,n,r){return n=A.from(n),this.checkContent(n),new zt(this,this.computeAttrs(e),n,B.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=A.from(n),n.size){let s=this.contentMatch.fillBefore(n);if(!s)return null;n=s.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(A.empty,!0);return o?new zt(this,e,n.append(o),B.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){Rf(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?n&&n.push(e[r]):n||(n=e.slice(0,r));return n?n.length?n:B.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,s)=>r[o]=new kn(o,n,s));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},a(kn,"NodeType"),kn);function gm(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}a(gm,"validateType");const Ta=class Ta{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?gm(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}};a(Ta,"Attribute");let vu=Ta;const rs=class rs{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=Ff(e,i.attrs),this.excluded=null;let o=Nf(this.attrs);this.instance=o?new B(this,o):null}create(e=null){return!e&&this.instance?this.instance:new B(this,If(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,s)=>r[o]=new rs(o,i++,n,s)),r}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}checkAttrs(e){Rf(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}};a(rs,"MarkType");let Gi=rs;const Da=class Da{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=ue.from(e.nodes),n.marks=ue.from(e.marks||{}),this.nodes=fc.compile(this.spec.nodes,this),this.marks=Gi.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],s=o.spec.content||"",u=o.spec.marks;if(o.contentMatch=r[s]||(r[s]=An.parse(s,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=u=="_"?null:u?hc(this,u.split(" ")):u==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],s=o.spec.excludes;o.excluded=s==null?[o]:s==""?[]:hc(this,s.split(" "))}this.nodeFromJSON=i=>zt.fromJSON(this,i),this.markFromJSON=i=>B.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof fc){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new Eu(r,r.defaultAttrs,e,B.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};a(Da,"Schema");let Qr=Da;function hc(t,e){let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t.marks[i],s=o;if(o)n.push(o);else for(let u in t.marks){let l=t.marks[u];(i=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(i)>-1)&&n.push(s=l)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}a(hc,"gatherMarks");function bm(t){return t.tag!=null}a(bm,"isTagRule");function ym(t){return t.style!=null}a(ym,"isStyleRule");const Kr=class Kr{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(bm(i))this.tags.push(i);else if(ym(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new Zi(this,n,!1);return r.addAll(e,B.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new Zi(this,n,!0);return r.addAll(e,B.none,n.from,n.to),M.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(wm(e,o.tag)&&(o.namespace===void 0||e.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let s=o.getAttrs(e);if(s===!1)continue;o.attrs=s||void 0}return o}}}matchStyle(e,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let s=this.styles[o],u=s.style;if(!(u.indexOf(e)!=0||s.context&&!r.matchesContext(s.context)||u.length>e.length&&(u.charCodeAt(e.length)!=61||u.slice(e.length+1)!=n))){if(s.getAttrs){let l=s.getAttrs(n);if(l===!1)continue;s.attrs=l||void 0}return s}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,s=0;for(;s<n.length;s++){let u=n[s];if((u.priority==null?50:u.priority)<o)break}n.splice(s,0,i)}a(r,"insert");for(let i in e.marks){let o=e.marks[i].spec.parseDOM;o&&o.forEach(s=>{r(s=mc(s)),s.mark||s.ignore||s.clearMark||(s.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(s=>{r(s=mc(s)),s.node||s.ignore||s.mark||(s.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Kr(e,Kr.schemaRules(e)))}};a(Kr,"DOMParser");let $t=Kr;const Lf={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},xm={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Pf={ol:!0,ul:!0},ei=1,Au=2,Fr=4;function pc(t,e,n){return e!=null?(e?ei:0)|(e==="full"?Au:0):t&&t.whitespace=="pre"?ei|Au:n&~Fr}a(pc,"wsOptionsFor");const Oa=class Oa{constructor(e,n,r,i,o,s){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=s,this.content=[],this.activeMarks=B.none,this.match=o||(s&Fr?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(A.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&ei)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=A.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(A.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Lf.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}};a(Oa,"NodeContext");let Bn=Oa;const _a=class _a{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=n.topNode,o,s=pc(null,n.preserveWhitespace,0)|(r?Fr:0);i?o=new Bn(i.type,i.attrs,B.none,!0,n.topMatch||i.type.contentMatch,s):r?o=new Bn(null,null,B.none,!0,null,s):o=new Bn(e.schema.topNodeType,null,B.none,!0,null,s),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top,o=i.options&Au?"full":this.localPreserveWS||(i.options&ei)>0,{schema:s}=this.parser;if(o==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(o)if(o==="full")r=r.replace(/\r\n?/g,`
|
|
3
3
|
`);else if(s.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(s.linebreakReplacement.create())){let u=r.split(/\r?\n|\r/);for(let l=0;l<u.length;l++)l&&this.insertNode(s.linebreakReplacement.create(),n,!0),u[l]&&this.insertNode(s.text(u[l]),n,!/\S/.test(u[l]));r=""}else r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let u=i.content[i.content.length-1],l=e.previousSibling;(!u||l&&l.nodeName=="BR"||u.isText&&/[ \t\r\n\u000c]$/.test(u.text))&&(r=r.slice(1))}r&&this.insertNode(s.text(r),n,!/\S/.test(r)),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=this.localPreserveWS,o=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let s=e.nodeName.toLowerCase(),u;Pf.hasOwnProperty(s)&&this.parser.normalizeLists&&km(e);let l=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(u=this.parser.matchTag(e,this,r));e:if(l?l.ignore:xm.hasOwnProperty(s))this.findInside(e),this.ignoreFallback(e,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(e=l.skip);let c,d=this.needsBlock;if(Lf.hasOwnProperty(s))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),c=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let f=l&&l.skip?n:this.readStyles(e,n);f&&this.addAll(e,f),c&&this.sync(o),this.needsBlock=d}else{let c=this.readStyles(e,n);c&&this.addElementByRule(e,l,c,l.consuming===!1?u:void 0)}this.localPreserveWS=i}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
|
4
4
|
`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n,!0)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],s=r.getPropertyValue(o);if(s)for(let u=void 0;;){let l=this.parser.matchStyle(o,s,this,u);if(!l)break;if(l.ignore)return null;if(l.clearMark?n=n.filter(c=>!l.clearMark(c)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)u=l;else break}}return n}addElementByRule(e,n,r,i){let o,s;if(n.node)if(s=this.parser.schema.nodes[n.node],s.isLeaf)this.insertNode(s.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let l=this.enter(s,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.create(n.attrs))}let u=this.top;if(s&&s.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l,r,!1));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l,r),this.findAround(e,l,!1)}o&&this.sync(u)&&this.open--}addAll(e,n,r,i){let o=r||0;for(let s=r?e.childNodes[r]:e.firstChild,u=i==null?null:e.childNodes[i];s!=u;s=s.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(s,n);this.findAtPoint(e,o)}findPlace(e,n,r){let i,o;for(let s=this.open,u=0;s>=0;s--){let l=this.nodes[s],c=l.findWrapping(e);if(c&&(!i||i.length>c.length+u)&&(i=c,o=l,!c.length))break;if(l.solid){if(r)break;u+=2}}if(!i)return null;this.sync(o);for(let s=0;s<i.length;s++)n=this.enterInner(i[s],null,n,!1);return n}insertNode(e,n,r){if(e.isInline&&this.needsBlock&&!this.top.type){let o=this.textblockFromContext();o&&(n=this.enterInner(o,null,n))}let i=this.findPlace(e,n,r);if(i){this.closeExtra();let o=this.top;o.match&&(o.match=o.match.matchType(e.type));let s=B.none;for(let u of i.concat(e.marks))(o.type?o.type.allowsMarkType(u.type):gc(u.type,e.type))&&(s=u.addToSet(s));return o.content.push(e.mark(s)),!0}return!1}enter(e,n,r,i){let o=this.findPlace(e.create(n),r,!1);return o&&(o=this.enterInner(e,n,r,!0,i)),o}enterInner(e,n,r,i=!1,o){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(e);let u=pc(e,o,s.options);s.options&Fr&&s.content.length==0&&(u|=Fr);let l=B.none;return r=r.filter(c=>(s.type?s.type.allowsMarkType(c.type):gc(c.type,e))?(l=c.addToSet(l),!1):!0),this.nodes.push(new Bn(e,n,l,i,null,u)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=ei)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(e,n,r){if(e!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&e.nodeType==1&&e.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&(this.find[n].pos=this.currentPos-(e.nodeValue.length-this.find[n].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),s=a((u,l)=>{for(;u>=0;u--){let c=n[u];if(c==""){if(u==n.length-1||u==0)continue;for(;l>=o;l--)if(s(u-1,l))return!0;return!1}else{let d=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!d||d.name!=c&&!d.isInGroup(c))return!1;l--}}return!0},"match");return s(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}};a(_a,"ParseContext");let Zi=_a;function km(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Pf.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}a(km,"normalizeList");function wm(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}a(wm,"matches");function mc(t){let e={};for(let n in t)e[n]=t[n];return e}a(mc,"copy");function gc(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],s=a(u=>{o.push(u);for(let l=0;l<u.edgeCount;l++){let{type:c,next:d}=u.edge(l);if(c==e||o.indexOf(d)<0&&s(d))return!0}},"scan");if(s(i.contentMatch))return!0}}a(gc,"markMayApply");const is=class is{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=zs(n).createDocumentFragment());let i=r,o=[];return e.forEach(s=>{if(o.length||s.marks.length){let u=0,l=0;for(;u<o.length&&l<s.marks.length;){let c=s.marks[l];if(!this.marks[c.type.name]){l++;continue}if(!c.eq(o[u][0])||c.type.spec.spanning===!1)break;u++,l++}for(;u<o.length;)i=o.pop()[1];for(;l<s.marks.length;){let c=s.marks[l++],d=this.serializeMark(c,s.isInline,n);d&&(o.push([c,i]),i.appendChild(d.dom),i=d.contentDOM||d.dom)}}i.appendChild(this.serializeNodeInner(s,n))}),r}serializeNodeInner(e,n){let{dom:r,contentDOM:i}=$i(zs(n),this.nodes[e.type.name](e),null,e.attrs);if(i){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,n,i)}return r}serializeNode(e,n={}){let r=this.serializeNodeInner(e,n);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&$i(zs(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return $i(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new is(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=bc(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return bc(e.marks)}};a(is,"DOMSerializer");let Mn=is;function bc(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}a(bc,"gatherToDOM");function zs(t){return t.document||window.document}a(zs,"doc$1");const yc=new WeakMap;function Cm(t){let e=yc.get(t);return e===void 0&&yc.set(t,e=Em(t)),e}a(Cm,"suspiciousAttributes");function Em(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return a(n,"scan"),n(t),e}a(Em,"suspiciousAttributesInner");function $i(t,e,n,r){if(typeof e=="string")return{dom:t.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let i=e[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=Cm(r))&&o.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s=i.indexOf(" ");s>0&&(n=i.slice(0,s),i=i.slice(s+1));let u,l=n?t.createElementNS(n,i):t.createElement(i),c=e[1],d=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){d=2;for(let f in c)if(c[f]!=null){let p=f.indexOf(" ");p>0?l.setAttributeNS(f.slice(0,p),f.slice(p+1),c[f]):f=="style"&&l.style?l.style.cssText=c[f]:l.setAttribute(f,c[f])}}for(let f=d;f<e.length;f++){let p=e[f];if(p===0){if(f<e.length-1||f>d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:h,contentDOM:m}=$i(t,p,n,r);if(l.appendChild(h),m){if(u)throw new RangeError("Multiple content holes");u=m}}}return{dom:l,contentDOM:u}}a($i,"renderSpec");const Bf=65535,zf=Math.pow(2,16);function Sm(t,e){return t+e*zf}a(Sm,"makeRecover");function xc(t){return t&Bf}a(xc,"recoverIndex");function vm(t){return(t-(t&Bf))/zf}a(vm,"recoverOffset");const $f=1,Hf=2,Hi=4,Vf=8,Na=class Na{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Vf)>0}get deletedBefore(){return(this.delInfo&($f|Hi))>0}get deletedAfter(){return(this.delInfo&(Hf|Hi))>0}get deletedAcross(){return(this.delInfo&Hi)>0}};a(Na,"MapResult");let ti=Na;const Nt=class Nt{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Nt.empty)return Nt.empty}recover(e){let n=0,r=xc(e);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+vm(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,r){let i=0,o=this.inverted?2:1,s=this.inverted?1:2;for(let u=0;u<this.ranges.length;u+=3){let l=this.ranges[u]-(this.inverted?i:0);if(l>e)break;let c=this.ranges[u+o],d=this.ranges[u+s],f=l+c;if(e<=f){let p=c?e==l?-1:e==f?1:n:n,h=l+i+(p<0?0:d);if(r)return h;let m=e==(n<0?l:f)?null:Sm(u/3,e-l),g=e==l?Hf:e==f?$f:Hi;return(n<0?e!=l:e!=f)&&(g|=Vf),new ti(h,g,m)}i+=d-c}return r?e+i:new ti(e+i,0,null)}touches(e,n){let r=0,i=xc(n),o=this.inverted?2:1,s=this.inverted?1:2;for(let u=0;u<this.ranges.length;u+=3){let l=this.ranges[u]-(this.inverted?r:0);if(l>e)break;let c=this.ranges[u+o],d=l+c;if(e<=d&&u==i*3)return!0;r+=this.ranges[u+s]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let s=this.ranges[i],u=s-(this.inverted?o:0),l=s+(this.inverted?0:o),c=this.ranges[i+n],d=this.ranges[i+r];e(u,u+c,l,l+d),o+=d-c}}invert(){return new Nt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Nt.empty:new Nt(e<0?[0,-e,0]:[0,0,e])}};a(Nt,"StepMap");let wt=Nt;wt.empty=new wt([]);const Jr=class Jr{constructor(e,n,r=0,i=e?e.length:0){this.mirror=n,this.from=r,this.to=i,this._maps=e||[],this.ownData=!(e||n)}get maps(){return this._maps}slice(e=0,n=this.maps.length){return new Jr(this._maps,this.mirror,e,n)}appendMap(e,n){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),n!=null&&this.setMirror(this._maps.length-1,n)}appendMapping(e){for(let n=0,r=this._maps.length;n<e._maps.length;n++){let i=e.getMirror(n);this.appendMap(e._maps[n],i!=null&&i<n?r+i:void 0)}}getMirror(e){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==e)return this.mirror[n+(n%2?-1:1)]}}setMirror(e,n){this.mirror||(this.mirror=[]),this.mirror.push(e,n)}appendMappingInverted(e){for(let n=e.maps.length-1,r=this._maps.length+e._maps.length;n>=0;n--){let i=e.getMirror(n);this.appendMap(e._maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new Jr;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;r<this.to;r++)e=this._maps[r].map(e,n);return e}mapResult(e,n=1){return this._map(e,n,!1)}_map(e,n,r){let i=0;for(let o=this.from;o<this.to;o++){let s=this._maps[o],u=s.mapResult(e,n);if(u.recover!=null){let l=this.getMirror(o);if(l!=null&&l>o&&l<this.to){o=l,e=this._maps[l].recover(u.recover);continue}}i|=u.delInfo,e=u.pos}return r?e:new ti(e,i,null)}};a(Jr,"Mapping");let Xi=Jr;const $s=Object.create(null),Ia=class Ia{getMap(){return wt.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=$s[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in $s)throw new RangeError("Duplicate use of step JSON ID "+e);return $s[e]=n,n.prototype.jsonID=e,n}};a(Ia,"Step");let oe=Ia;const tn=class tn{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new tn(e,null)}static fail(e){return new tn(null,e)}static fromReplace(e,n,r,i){try{return tn.ok(e.replace(n,r,i))}catch(o){if(o instanceof sr)return tn.fail(o.message);throw o}}};a(tn,"StepResult");let ce=tn;function Sl(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(Sl(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return A.fromArray(r)}a(Sl,"mapFragment");const nn=class nn extends oe{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=e.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new M(Sl(n.content,(s,u)=>!s.isAtom||!u.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),i),n.openStart,n.openEnd);return ce.fromReplace(e,this.from,this.to,o)}invert(){return new Wt(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new nn(n.pos,r.pos,this.mark)}merge(e){return e instanceof nn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new nn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new nn(n.from,n.to,e.markFromJSON(n.mark))}};a(nn,"AddMarkStep");let ni=nn;oe.jsonID("addMark",ni);const rn=class rn extends oe{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new M(Sl(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return ce.fromReplace(e,this.from,this.to,r)}invert(){return new ni(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new rn(n.pos,r.pos,this.mark)}merge(e){return e instanceof rn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new rn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new rn(n.from,n.to,e.markFromJSON(n.mark))}};a(rn,"RemoveMarkStep");let Wt=rn;oe.jsonID("removeMark",Wt);const on=class on extends oe{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return ce.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return ce.fromReplace(e,this.pos,this.pos+1,new M(A.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new on(this.pos,n.marks[i]);return new on(this.pos,this.mark)}}return new lr(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new on(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new on(n.pos,e.markFromJSON(n.mark))}};a(on,"AddNodeMarkStep");let ri=on;oe.jsonID("addNodeMark",ri);const Gr=class Gr extends oe{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return ce.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return ce.fromReplace(e,this.pos,this.pos+1,new M(A.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new ri(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Gr(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Gr(n.pos,e.markFromJSON(n.mark))}};a(Gr,"RemoveNodeMarkStep");let lr=Gr;oe.jsonID("removeNodeMark",lr);const mt=class mt extends oe{constructor(e,n,r,i=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=i}apply(e){return this.structure&&Mu(e,this.from,this.to)?ce.fail("Structure replace would overwrite content"):ce.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new wt([this.from,this.to-this.from,this.slice.size])}invert(e){return new mt(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new mt(n.pos,Math.max(n.pos,r.pos),this.slice,this.structure)}merge(e){if(!(e instanceof mt)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?M.empty:new M(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new mt(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?M.empty:new M(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new mt(e.from,this.to,n,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new mt(n.from,n.to,M.fromJSON(e,n.slice),!!n.structure)}};a(mt,"ReplaceStep");let Ae=mt;oe.jsonID("replace",Ae);const zn=class zn extends oe{constructor(e,n,r,i,o,s,u=!1){super(),this.from=e,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=s,this.structure=u}apply(e){if(this.structure&&(Mu(e,this.from,this.gapFrom)||Mu(e,this.gapTo,this.to)))return ce.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return ce.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?ce.fromReplace(e,this.from,this.to,r):ce.fail("Content does not fit in gap")}getMap(){return new wt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new zn(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new zn(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new zn(n.from,n.to,n.gapFrom,n.gapTo,M.fromJSON(e,n.slice),n.insert,!!n.structure)}};a(zn,"ReplaceAroundStep");let he=zn;oe.jsonID("replaceAround",he);function Mu(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let s=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,i--}}return!1}a(Mu,"contentBetween");function Am(t,e,n,r){let i=[],o=[],s,u;t.doc.nodesBetween(e,n,(l,c,d)=>{if(!l.isInline)return;let f=l.marks;if(!r.isInSet(f)&&d.type.allowsMarkType(r.type)){let p=Math.max(c,e),h=Math.min(c+l.nodeSize,n),m=r.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(s&&s.to==p&&s.mark.eq(f[g])?s.to=h:i.push(s=new Wt(p,h,f[g])));u&&u.to==p?u.to=h:o.push(u=new ni(p,h,r))}}),i.forEach(l=>t.step(l)),o.forEach(l=>t.step(l))}a(Am,"addMark");function Mm(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(s,u)=>{if(!s.isInline)return;o++;let l=null;if(r instanceof Gi){let c=s.marks,d;for(;d=r.isInSet(c);)(l||(l=[])).push(d),c=d.removeFromSet(c)}else r?r.isInSet(s.marks)&&(l=[r]):l=s.marks;if(l&&l.length){let c=Math.min(u+s.nodeSize,n);for(let d=0;d<l.length;d++){let f=l[d],p;for(let h=0;h<i.length;h++){let m=i[h];m.step==o-1&&f.eq(i[h].style)&&(p=m)}p?(p.to=c,p.step=o):i.push({style:f,from:Math.max(u,e),to:c,step:o})}}}),i.forEach(s=>t.step(new Wt(s.from,s.to,s.style)))}a(Mm,"removeMark");function vl(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),s=[],u=e+1;for(let l=0;l<o.childCount;l++){let c=o.child(l),d=u+c.nodeSize,f=r.matchType(c.type);if(!f)s.push(new Ae(u,d,M.empty));else{r=f;for(let p=0;p<c.marks.length;p++)n.allowsMarkType(c.marks[p].type)||t.step(new Wt(u,d,c.marks[p]));if(i&&c.isText&&n.whitespace!="pre"){let p,h=/\r?\n|\r/g,m;for(;p=h.exec(c.text);)m||(m=new M(A.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),s.push(new Ae(u+p.index,u+p.index+p[0].length,m))}}u=d}if(!r.validEnd){let l=r.fillBefore(A.empty,!0);t.replace(u,u,new M(l,0,0))}for(let l=s.length-1;l>=0;l--)t.step(s[l])}a(vl,"clearIncompatible");function Tm(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}a(Tm,"canCut");function Cr(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,i=0,o=0;;--r){let s=t.$from.node(r),u=t.$from.index(r)+i,l=t.$to.indexAfter(r)-o;if(r<t.depth&&s.canReplace(u,l,n))return r;if(r==0||s.type.spec.isolating||!Tm(s,u,l))break;u&&(i=1),l<s.childCount&&(o=1)}return null}a(Cr,"liftTarget");function Dm(t,e,n){let{$from:r,$to:i,depth:o}=e,s=r.before(o+1),u=i.after(o+1),l=s,c=u,d=A.empty,f=0;for(let m=o,g=!1;m>n;m--)g||r.index(m)>0?(g=!0,d=A.from(r.node(m).copy(d)),f++):l--;let p=A.empty,h=0;for(let m=o,g=!1;m>n;m--)g||i.after(m+1)<i.end(m)?(g=!0,p=A.from(i.node(m).copy(p)),h++):c++;t.step(new he(l,c,s,u,new M(d.append(p),f,h),d.size-f,!0))}a(Dm,"lift$2");function Al(t,e,n=null,r=t){let i=Om(t,e),o=i&&_m(r,e);return o?i.map(kc).concat({type:e,attrs:n}).concat(o.map(kc)):null}a(Al,"findWrapping");function kc(t){return{type:t,attrs:null}}a(kc,"withAttrs");function Om(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.contentMatchAt(r).findWrapping(e);if(!o)return null;let s=o.length?o[0]:e;return n.canReplaceWith(r,i,s)?o:null}a(Om,"findWrappingOutside");function _m(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.child(r),s=e.contentMatch.findWrapping(o.type);if(!s)return null;let l=(s.length?s[s.length-1]:e).contentMatch;for(let c=r;l&&c<i;c++)l=l.matchType(n.child(c).type);return!l||!l.validEnd?null:s}a(_m,"findWrappingInside");function Nm(t,e,n){let r=A.empty;for(let s=n.length-1;s>=0;s--){if(r.size){let u=n[s].type.contentMatch.matchFragment(r);if(!u||!u.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=A.from(n[s].type.create(n[s].attrs,r))}let i=e.start,o=e.end;t.step(new he(i,o,i,o,new M(r,0,0),n.length,!0))}a(Nm,"wrap");function Im(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(s,u)=>{let l=typeof i=="function"?i(s):i;if(s.isTextblock&&!s.hasMarkup(r,l)&&Rm(t.doc,t.mapping.slice(o).map(u),r)){let c=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!m?c=!1:!h&&m&&(c=!0)}c===!1&&qf(t,s,u,o),vl(t,t.mapping.slice(o).map(u,1),r,void 0,c===null);let d=t.mapping.slice(o),f=d.map(u,1),p=d.map(u+s.nodeSize,1);return t.step(new he(f,p,f+1,p-1,new M(A.from(r.create(l,null,s.marks)),0,0),1,!0)),c===!0&&jf(t,s,u,o),!1}})}a(Im,"setBlockType$1");function jf(t,e,n,r){e.forEach((i,o)=>{if(i.isText){let s,u=/\r?\n|\r/g;for(;s=u.exec(i.text);){let l=t.mapping.slice(r).map(n+1+o+s.index);t.replaceWith(l,l+1,e.type.schema.linebreakReplacement.create())}}})}a(jf,"replaceNewlines");function qf(t,e,n,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let s=t.mapping.slice(r).map(n+1+o);t.replaceWith(s,s+1,e.type.schema.text(`
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/CodeHighlight-CfBEbAJZ.js","static/main-B1C9RahP.js","static/main-4ec3dGHm.css","static/CodeHighlight-CGrGqjhz.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as e,_ as o}from"./main-B1C9RahP.js";const _=e(()=>o(()=>import("./CodeHighlight-CfBEbAJZ.js"),__vite__mapDeps([0,1,2,3])));export{_ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.m-0{margin:0}.p-0{padding:0}.flex-column{flex-direction:column}.d-block{display:block}.d-inline-block{display:inline-block}.d-none{display:none}.bottom-2px{bottom:2px}.l-0{left:0}.l-12px{left:12px}.l-25{left:25px}.l-50\%{left:50%}.r-12px{right:12px}.r-15px\!{right:15px!important}.r-16px\!{right:16px!important}.r-40px\!{right:40px!important}.t-0{top:0}.t-10px{top:10px}.t-11px{top:11px}.t-15px{top:15px}.t-2,.top-2px{top:2px}.t-9px{top:9px}.lh-0\!{line-height:0!important}.lh-17px\!{line-height:17px!important}.lh-25px\!{line-height:25px!important}.lh-27px\!{line-height:27px!important}.fw-bold{font-weight:700}.fw-bold\!{font-weight:700!important}.hover\:fw-bold:hover{font-weight:700}.fs-0\.7rem{font-size:.7rem}.fs-0\.8rem{font-size:.8rem}.fs-1\.05rem{font-size:1.05rem}.fs-10px\!{font-size:10px!important}.fs-13px{font-size:13px}.fs-13px\!{font-size:13px!important}.fs-16px\!{font-size:16px!important}.fs-1rem{font-size:1rem}.fs-1rem\!{font-size:1rem!important}.overflow-hidden\!{overflow:hidden!important}.overflow-y-auto{overflow-y:auto}.user-select-none{-webkit-user-select:none;user-select:none}.user-select-none\!{-webkit-user-select:none!important;user-select:none!important}.border-0{border-width:0}.border-0\!{border-width:0!important}.border-1px,.border-width-1px{border-width:1px}.border-1px\!,.border-width-1px\!{border-width:1px!important}.border-2px{border-width:2px}.border-y-1px{border-top-width:1px;border-bottom-width:1px}.border-y-1px\!{border-top-width:1px!important;border-bottom-width:1px!important}.border-l-0\!{border-left-width:0!important}.border-l-1px\!{border-left-width:1px!important}.border-r-0\!{border-right-width:0!important}.border-r-1px\!{border-right-width:1px!important}.circle{border-radius:50%}.border-solid{border-style:solid}.box-sizing-border-box{box-sizing:border-box}.gap-1{column-gap:1px;row-gap:1px}.gap-1\!{column-gap:1px!important;row-gap:1px!important}.gap-3{column-gap:3px;row-gap:3px}.gap-7{column-gap:7px;row-gap:7px}.color-\#c1c7cf\!,.text-\#c1c7cf\!{color:#c1c7cf!important}.color-black{color:#000}.text-\#c1c7cf{color:#c1c7cf}.text-white{color:#fff}.text-white\!,.hover\:text-white\!:hover{color:#fff!important}.bg-\#282c34{background-color:#282c34}.bg-\#e4e4e4{background-color:#e4e4e4}.bg-white,.hover\:bg-white:hover{background-color:#fff}.focus\:bg-white:focus{background-color:#fff}.border-\#4285f4{border-color:#4285f4}.border-\#c1c7cf,.border-color-\#c1c7cf{border-color:#c1c7cf}.border-\#c1c7cf\!{border-color:#c1c7cf!important}.border-\#D0CCC9FF{border-color:#d0ccc9}.border-\#d6ff63\!{border-color:#d6ff63!important}.border-color-\#ededed\!{border-color:#ededed!important}.hover\:border-\#d6ff63:hover{border-color:#d6ff63}.opacity-60{opacity:.6}.absolute{position:absolute}.absolute\!{position:absolute!important}.fixed{position:fixed}.relative{position:relative}.relative\!{position:relative!important}.bottom--15px{bottom:-15px}.right--9px{right:-9px}.top--8px{top:-8px}.top--9px{top:-9px}.z2{z-index:2}.z-3,.z3{z-index:3}.z3000{z-index:3000}.z3003{z-index:3003}.z4{z-index:4}.z9999\!{z-index:9999!important}.z-10\!{z-index:10!important}.z-999999\!{z-index:999999!important}.grid{display:grid}.grid\!{display:grid!important}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-7\!{grid-template-columns:repeat(7,minmax(0,1fr))!important}.m0{margin:0}.m0\!{margin:0!important}.m10px{margin:10px}.m20px{margin:20px}.m5px{margin:5px}.mx-0\!{margin-left:0!important;margin-right:0!important}.mx-20px{margin-left:20px;margin-right:20px}.mx-auto{margin-left:auto;margin-right:auto}.mx15px{margin-left:15px;margin-right:15px}.mx2px{margin-left:2px;margin-right:2px}.mx40px\!{margin-left:40px!important;margin-right:40px!important}.mx4px{margin-left:4px;margin-right:4px}.mx5px{margin-left:5px;margin-right:5px}.my-1\!{margin-top:.25rem!important;margin-bottom:.25rem!important}.my0{margin-top:0;margin-bottom:0}.my1px{margin-top:1px;margin-bottom:1px}.my2px{margin-top:2px;margin-bottom:2px}.my8px{margin-top:8px;margin-bottom:8px}.mb-1px{margin-bottom:1px}.mb0{margin-bottom:0}.mb0\!{margin-bottom:0!important}.mb10px{margin-bottom:10px}.mb10px\!{margin-bottom:10px!important}.mb20px{margin-bottom:20px}.mb2px{margin-bottom:2px}.mb2px\!{margin-bottom:2px!important}.mb30px\!{margin-bottom:30px!important}.mb35px{margin-bottom:35px}.mb3px{margin-bottom:3px}.mb40px{margin-bottom:40px}.mb50px{margin-bottom:50px}.ml20px{margin-left:20px}.ml2px{margin-left:2px}.ml7px{margin-left:7px}.ml8px{margin-left:8px}.mr20px{margin-right:20px}.mt-0,.mt0{margin-top:0}.mt140px{margin-top:140px}.mt150px{margin-top:150px}.mt20px{margin-top:20px}.mt30px{margin-top:30px}.mt3px{margin-top:3px}.mt3px\!{margin-top:3px!important}.mt4px{margin-top:4px}.mt4px\!{margin-top:4px!important}.mt5px{margin-top:5px}.mt6px\!{margin-top:6px!important}.mt7px{margin-top:7px}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-auto\!{height:auto!important}.h\[calc\(100\%-2px\)\]\!{height:calc(100% - 2px)!important}.h0\!{height:0!important}.h1{height:.25rem}.h100\%{height:100%}.h100\%\!{height:100%!important}.h100px{height:100px}.h11{height:2.75rem}.h12{height:3rem}.h150px{height:150px}.h17px\!{height:17px!important}.h18px{height:18px}.h22px{height:22px}.h24px{height:24px}.h25px{height:25px}.h25px\!{height:25px!important}.h28px\!{height:28px!important}.h3{height:.75rem}.h30px{height:30px}.h34px{height:34px}.h35px{height:35px}.h38px\!{height:38px!important}.h4{height:1rem}.h40px{height:40px}.h44px\!{height:44px!important}.h45px{height:45px}.h470px{height:470px}.h90px{height:90px}.max-h100px{max-height:100px}.max-h60vh{max-height:60vh}.max-w100\%\!{max-width:100%!important}.max-w1024px{max-width:1024px}.max-w1440px{max-width:1440px}.max-w240px\!{max-width:240px!important}.max-w25px\!{max-width:25px!important}.min-h100\%{min-height:100%}.min-h100\%\!{min-height:100%!important}.min-h40px{min-height:40px}.min-h40px\!{min-height:40px!important}.min-h44px{min-height:44px}.min-h44px\!{min-height:44px!important}.min-h45px{min-height:45px}.min-h50px{min-height:50px}.min-h52px\!{min-height:52px!important}.min-w-auto\!{min-width:auto!important}.min-w100px\!{min-width:100px!important}.min-w120px\!{min-width:120px!important}.min-w220px\!{min-width:220px!important}.min-w230px{min-width:230px}.min-w240px{min-width:240px}.min-w64px{min-width:64px}.min-w70px\!{min-width:70px!important}.min-w80px\!{min-width:80px!important}.w-auto{width:auto}.w-full,.w100\%{width:100%}.w\[calc\(100\%-12px\)\]{width:calc(100% - 12px)}.w\[calc\(100\%-260px\)\]{width:calc(100% - 260px)}.w\[calc\(100\%-55px\)\]{width:calc(100% - 55px)}.w\[calc\(100\%-80px\)\]{width:calc(100% - 80px)}.w100\%\!{width:100%!important}.w100px{width:100px}.w200px\!{width:200px!important}.w20px{width:20px}.w20px\!{width:20px!important}.w220px{width:220px}.w22px{width:22px}.w235px\!{width:235px!important}.w240px\!{width:240px!important}.w24px{width:24px}.w25px{width:25px}.w25px\!{width:25px!important}.w320px{width:320px}.w320px\!{width:320px!important}.w80px{width:80px}.flex{display:flex}.flex\!{display:flex!important}.flex-shrink{flex-shrink:1}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.translate-x--50\%{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.hover\:scale-110:hover{--un-scale-x:1.1;--un-scale-y:1.1;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.hover\:scale-130:hover{--un-scale-x:1.3;--un-scale-y:1.3;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.hover\:scale-150:hover{--un-scale-x:1.5;--un-scale-y:1.5;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-no-drop{cursor:no-drop}.select-none\!{-webkit-user-select:none!important;user-select:none!important}.resize{resize:both}.resize-none{resize:none}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-center\!{align-items:center!important}.self-start{align-self:flex-start}.justify-start{justify-content:flex-start}.justify-start\!{justify-content:flex-start!important}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-center\!{justify-content:center!important}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-x-1px{column-gap:1px}.gap-x-3{column-gap:.75rem}.gap-y-25px{row-gap:25px}.gap-y-6px{row-gap:6px}.space-x-10>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(2.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(2.5rem * var(--un-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1rem * var(--un-space-x-reverse))}.space-x-6>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1.5rem * var(--un-space-x-reverse))}.whitespace-nowrap{white-space:nowrap}.b,.border{border-width:1px}.border\!{border-width:1px!important}.border-width-\[1px_0_1px_1px\]\!{border-width:1px 0 1px 1px!important}.border-blue-500{--un-border-opacity:1;border-color:rgb(59 130 246 / var(--un-border-opacity))}.border-color-stone\!{--un-border-opacity:1 !important;border-color:rgb(168 162 158 / var(--un-border-opacity))!important}.border-red-500{--un-border-opacity:1;border-color:rgb(239 68 68 / var(--un-border-opacity))}.border-stone-800\!{--un-border-opacity:1 !important;border-color:rgb(41 37 36 / var(--un-border-opacity))!important}.border-yellow-300{--un-border-opacity:1;border-color:rgb(253 224 71 / var(--un-border-opacity))}.hover\:border-red-200:hover{--un-border-opacity:1;border-color:rgb(254 202 202 / var(--un-border-opacity))}.hover\:border-stone-400\!:hover{--un-border-opacity:1 !important;border-color:rgb(168 162 158 / var(--un-border-opacity))!important}.hover\:border-stone:hover{--un-border-opacity:1;border-color:rgb(168 162 158 / var(--un-border-opacity))}.hover\:border-yellow-400:hover{--un-border-opacity:1;border-color:rgb(250 204 21 / var(--un-border-opacity))}.border-y-\#c1c7cf{--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-color:rgb(193 199 207 / var(--un-border-top-opacity));--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(193 199 207 / var(--un-border-bottom-opacity))}.rounded-15px{border-radius:15px}.rounded-25px{border-radius:25px}.rounded-2px{border-radius:2px}.rounded-3px{border-radius:3px}.rounded-3xl{border-radius:1.5rem}.rounded-3xl\!{border-radius:1.5rem!important}.rounded-5px\!{border-radius:5px!important}.rounded-8px{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-lg\!{border-radius:.5rem!important}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}.rounded-b-3xl{border-bottom-left-radius:1.5rem;border-bottom-right-radius:1.5rem}.rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-l-3xl{border-top-left-radius:1.5rem;border-bottom-left-radius:1.5rem}.rounded-l-none\!{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.rounded-r-3xl{border-top-right-radius:1.5rem;border-bottom-right-radius:1.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-tl-0\!,[rounded-tl-0\!=""]{border-top-left-radius:0!important}.rounded-tl-14px{border-top-left-radius:14px}.rounded-tl-2xl{border-top-left-radius:1rem}.b-solid{border-style:solid}.border-y-solid{border-top-style:solid;border-bottom-style:solid}.border-l-solid{border-left-style:solid}.border-t-solid{border-top-style:solid}.bg-\[\#fcffdfff\]{--un-bg-opacity:1;background-color:rgb(252 255 223 / var(--un-bg-opacity))}.bg-amber-100{--un-bg-opacity:1;background-color:rgb(254 243 199 / var(--un-bg-opacity))}.bg-amber-300{--un-bg-opacity:1;background-color:rgb(252 211 77 / var(--un-bg-opacity))}.bg-amber-50{--un-bg-opacity:1;background-color:rgb(255 251 235 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-lightblue-400{--un-bg-opacity:1;background-color:rgb(56 189 248 / var(--un-bg-opacity))}.bg-red-200\!{--un-bg-opacity:1 !important;background-color:rgb(254 202 202 / var(--un-bg-opacity))!important}.bg-red-400{--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity))}.bg-stone-100{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.bg-stone-200{--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity))}.bg-stone-300{--un-bg-opacity:1;background-color:rgb(214 211 209 / var(--un-bg-opacity))}.bg-stone-700\!{--un-bg-opacity:1 !important;background-color:rgb(68 64 60 / var(--un-bg-opacity))!important}.bg-stone\!{--un-bg-opacity:1 !important;background-color:rgb(168 162 158 / var(--un-bg-opacity))!important}.bg-yellow-100{--un-bg-opacity:1;background-color:rgb(254 249 195 / var(--un-bg-opacity))}.bg-zinc-500{--un-bg-opacity:1;background-color:rgb(113 113 122 / var(--un-bg-opacity))}.hover\:bg-gray-100\!:hover{--un-bg-opacity:1 !important;background-color:rgb(243 244 246 / var(--un-bg-opacity))!important}.hover\:bg-red-500:hover{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.hover\:bg-stone-900\!:hover{--un-bg-opacity:1 !important;background-color:rgb(28 25 23 / var(--un-bg-opacity))!important}.hover\:bg-yellow-200:hover{--un-bg-opacity:1;background-color:rgb(254 240 138 / var(--un-bg-opacity))}.hover\:bg-yellow-400:hover{--un-bg-opacity:1;background-color:rgb(250 204 21 / var(--un-bg-opacity))}.fill-white\!{--un-fill-opacity:1 !important;fill:rgb(255 255 255 / var(--un-fill-opacity))!important}.stroke-stone-300\!{--un-stroke-opacity:1 !important;stroke:rgb(214 211 209 / var(--un-stroke-opacity))!important}.stroke-white\!{--un-stroke-opacity:1 !important;stroke:rgb(255 255 255 / var(--un-stroke-opacity))!important}.p0{padding:0}.p0\!{padding:0!important}.p10px{padding:10px}.p20px{padding:20px}.p40px{padding:40px}.p5px{padding:5px}.px-4{padding-left:1rem;padding-right:1rem}.px-5px,.px5px{padding-left:5px;padding-right:5px}.px-7\!{padding-left:1.75rem!important;padding-right:1.75rem!important}.px10px{padding-left:10px;padding-right:10px}.px11px{padding-left:11px;padding-right:11px}.px12px\!{padding-left:12px!important;padding-right:12px!important}.px13px{padding-left:13px;padding-right:13px}.px14px{padding-left:14px;padding-right:14px}.px15px{padding-left:15px;padding-right:15px}.px18px{padding-left:18px;padding-right:18px}.px20px{padding-left:20px;padding-right:20px}.px25px{padding-left:25px;padding-right:25px}.px30px{padding-left:30px;padding-right:30px}.px4px\!{padding-left:4px!important;padding-right:4px!important}.px7px{padding-left:7px;padding-right:7px}.px8px{padding-left:8px;padding-right:8px}.px9px{padding-left:9px;padding-right:9px}.py-1px\!{padding-top:1px!important;padding-bottom:1px!important}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py0{padding-top:0;padding-bottom:0}.py10px{padding-top:10px;padding-bottom:10px}.py15px{padding-top:15px;padding-bottom:15px}.py2px{padding-top:2px;padding-bottom:2px}.py2px\!{padding-top:2px!important;padding-bottom:2px!important}.py4px{padding-top:4px;padding-bottom:4px}.py5px{padding-top:5px;padding-bottom:5px}.py7px{padding-top:7px;padding-bottom:7px}.py8px{padding-top:8px;padding-bottom:8px}.py8px\!{padding-top:8px!important;padding-bottom:8px!important}.pb-2\!{padding-bottom:.5rem!important}.pb0{padding-bottom:0}.pb0\!{padding-bottom:0!important}.pb3px{padding-bottom:3px}.pb3px\!{padding-bottom:3px!important}.pb4px{padding-bottom:4px}.pb8px{padding-bottom:8px}.pl12px{padding-left:12px}.pl25px{padding-left:25px}.pl5px{padding-left:5px}.pl9px{padding-left:9px}.pr35px{padding-right:35px}.pr5px{padding-right:5px}.pr65px\!{padding-right:65px!important}.pr9px{padding-right:9px}.pt-0\!{padding-top:0!important}.pt1px{padding-top:1px}.pt2px{padding-top:2px}.pt2px\!{padding-top:2px!important}.pt5px{padding-top:5px}.pt6px{padding-top:6px}.text-center{text-align:center}.text-left{text-align:left}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-\[\#b33c62ff\]{--un-text-opacity:1;color:rgb(179 60 98 / var(--un-text-opacity))}.text-amber-500{--un-text-opacity:1;color:rgb(245 158 11 / var(--un-text-opacity))}.text-blue-600{--un-text-opacity:1;color:rgb(37 99 235 / var(--un-text-opacity))}.text-emerald-500{--un-text-opacity:1;color:rgb(16 185 129 / var(--un-text-opacity))}.text-gray-400\!{--un-text-opacity:1 !important;color:rgb(156 163 175 / var(--un-text-opacity))!important}.text-gray-500\!{--un-text-opacity:1 !important;color:rgb(107 114 128 / var(--un-text-opacity))!important}.text-green-600{--un-text-opacity:1;color:rgb(22 163 74 / var(--un-text-opacity))}.text-lightblue-400{--un-text-opacity:1;color:rgb(56 189 248 / var(--un-text-opacity))}.text-lightblue-500{--un-text-opacity:1;color:rgb(14 165 233 / var(--un-text-opacity))}.text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-stone{--un-text-opacity:1;color:rgb(168 162 158 / var(--un-text-opacity))}.text-stone-400\!,.text-stone\!{--un-text-opacity:1 !important;color:rgb(168 162 158 / var(--un-text-opacity))!important}.text-stone-500{--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity))}.text-stone-500\!{--un-text-opacity:1 !important;color:rgb(120 113 108 / var(--un-text-opacity))!important}.text-teal-500{--un-text-opacity:1;color:rgb(20 184 166 / var(--un-text-opacity))}.text-yellow-200{--un-text-opacity:1;color:rgb(254 240 138 / var(--un-text-opacity))}.hover\:text-stone-500:hover{--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity))}.hover\:text-stone-700:hover{--un-text-opacity:1;color:rgb(68 64 60 / var(--un-text-opacity))}.hover\:text-stone:hover{--un-text-opacity:1;color:rgb(168 162 158 / var(--un-text-opacity))}.font-500{font-weight:500}.font-700{font-weight:700}.tracking-tight{letter-spacing:-.025em}.font-inherit{font-family:inherit}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.hover\:decoration-underline\!:hover{text-decoration-line:underline!important}.hover\:underline:hover{text-decoration-line:underline}.underline-amber-200{-webkit-text-decoration-color:rgb(253 230 138 / var(--un-line-opacity));--un-line-opacity:1;text-decoration-color:rgb(253 230 138 / var(--un-line-opacity))}.underline-black{-webkit-text-decoration-color:rgb(0 0 0 / var(--un-line-opacity));--un-line-opacity:1;text-decoration-color:rgb(0 0 0 / var(--un-line-opacity))}.underline-double{text-decoration-style:double}.decoration-none\!{text-decoration:none!important}.op-0{opacity:0}.op-70{opacity:.7}.op-80,.hover\:op-80:hover{opacity:.8}.shadow-\[0px_2px_13px_\#c1c1c1\]\!{--un-shadow:0px 2px 13px var(--un-shadow-color, rgb(193 193 193)) !important;box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)!important}.shadow-amber-200{--un-shadow-opacity:1;--un-shadow-color:rgb(253 230 138 / var(--un-shadow-opacity)) }.shadow-lg\!{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1)) !important;box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)!important}.shadow-none\!{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0)) !important;box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)!important}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-1px{outline-width:1px}.outline-2px{outline-width:2px}.outline-color-\#c1c7cf\!{--un-outline-color-opacity:1 !important;outline-color:rgb(193 199 207 / var(--un-outline-color-opacity))!important}.outline-color-stone\!,.outline-stone-400\!{--un-outline-color-opacity:1 !important;outline-color:rgb(168 162 158 / var(--un-outline-color-opacity))!important}.outline-orange-500\!{--un-outline-color-opacity:1 !important;outline-color:rgb(249 115 22 / var(--un-outline-color-opacity))!important}.outline-stone-400{--un-outline-color-opacity:1;outline-color:rgb(168 162 158 / var(--un-outline-color-opacity))}.outline{outline-style:solid}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-0\!{transition-duration:0s!important}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}a{--un-text-opacity:1;color:rgb(14 165 233 / var(--un-text-opacity));text-decoration:none!important}li{list-style:none}.col-example-block[data-v-141c7546]{margin:5px;margin-bottom:10px!important;border-radius:.5rem;--un-bg-opacity:1;background-color:rgb(254 243 199 / var(--un-bg-opacity));padding:20px;--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-shadow-opacity:1;--un-shadow-color:rgb(253 230 138 / var(--un-shadow-opacity)) }#blockAnimationResize[data-v-141c7546]{flex-shrink:0;width:100%}@media(max-width:767px){#blockAnimationResize[data-v-141c7546]{display:none}}@media(min-width:768px){#blockAnimationResize[data-v-141c7546]{width:0;animation:resizeBlock-141c7546 20s infinite;animation-delay:3s}}@keyframes resizeBlock-141c7546{0%{width:0;animation-timing-function:cubic-bezier(.4,0,1,1)}30%{width:calc(100% - 767px);animation-timing-function:ease-in-out}50%{width:calc(100% - 767px)}80%{width:0;animation-timing-function:cubic-bezier(.4,0,1,1)}to{width:0}}.title[data-v-0f7b38cc]{margin:10px;border-radius:.75rem;--un-bg-opacity:1;background-color:rgb(254 249 195 / var(--un-bg-opacity))}.title[data-v-0f7b38cc]:hover{--un-bg-opacity:1;background-color:rgb(254 240 138 / var(--un-bg-opacity))}body,html{margin:0;padding:0;box-sizing:border-box;font-family:Nunito Sans,sans-serif}a{text-decoration:none!important}a:hover{text-decoration-line:underline!important}.row-wrapper{container-type:inline-size;container-name:grid-container}.row{width:100%;display:grid;grid-template-columns:repeat(12,1fr);align-content:start;grid-auto-rows:auto;align-items:stretch}.row .col-1,.row .col-2,.row .col-3,.row .col-4,.row .col-5,.row .col-6,.row .col-7,.row .col-8,.row .col-9,.row .col-10,.row .col-11,.row .col-12{flex:auto!important;max-width:100%!important;position:relative;grid-column:span 1;align-self:stretch;display:flex;flex-direction:column}.row .col-2{grid-column:span 2}.row .col-3{grid-column:span 3}.row .col-4{grid-column:span 4}.row .col-5{grid-column:span 5}.row .col-6{grid-column:span 6}.row .col-7{grid-column:span 7}.row .col-8{grid-column:span 8}.row .col-9{grid-column:span 9}.row .col-10{grid-column:span 10}.row .col-11{grid-column:span 11}.row .col-12{grid-column:span 12}.row .row-1{grid-row:span 1}.row .row-2{grid-row:span 2}.row .row-3{grid-row:span 3}.row .row-4{grid-row:span 4}.row .row-5{grid-row:span 5}.row .row-6{grid-row:span 6}.row .row-7{grid-row:span 7}.row .row-8{grid-row:span 8}.row .row-9{grid-row:span 9}.row .row-10{grid-row:span 10}.row .row-11{grid-row:span 11}.row .row-12{grid-row:span 12}@media(max-width:767px){.row{grid-template-columns:repeat(2,1fr)}.row .col-1,.row .col-2,.row .col-3,.row .col-4,.row .col-5,.row .col-6,.row .col-7,.row .col-8,.row .col-9,.row .col-10,.row .col-11,.row .col-12{grid-column:span 2}}@media(min-width:768px)and (max-width:1279px){.row{grid-template-columns:repeat(4,1fr)}.row .col-1,.row .col-2,.row .col-3,.row .col-4,.row .col-5,.row .col-6,.row .col-7,.row .col-8{grid-column:span 2}.row .col-9,.row .col-10,.row .col-11,.row .col-12{grid-column:span 4}}@media(min-width:1280px)and (max-width:1366px){.row{grid-template-columns:repeat(12,1fr)}}@media(min-width:1367px){.row{grid-template-columns:repeat(12,1fr)}}@container grid-container (max-width: 767px){.row{grid-template-columns:repeat(2,1fr)}.row .col-1,.row .col-2,.row .col-3,.row .col-4,.row .col-5,.row .col-6,.row .col-7,.row .col-8,.row .col-9,.row .col-10,.row .col-11,.row .col-12{grid-column:span 2}}@container grid-container (min-width: 768px) and (max-width: 1279px){.row{grid-template-columns:repeat(4,1fr)}.row .col-1,.row .col-2,.row .col-3,.row .col-4,.row .col-5,.row .col-6,.row .col-7,.row .col-8{grid-column:span 2}.row .col-9,.row .col-10,.row .col-11,.row .col-12{grid-column:span 4}}@container grid-container (min-width: 1280px) and (max-width: 1366px){.row{grid-template-columns:repeat(12,1fr)}}@container grid-container (min-width: 1367px){.row{grid-template-columns:repeat(12,1fr)}}
|